[INFO] fetching crate esrs 0.3.0... [INFO] testing esrs-0.3.0 against try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] extracting crate esrs 0.3.0 into /workspace/builds/worker-15/source [INFO] validating manifest of crates.io crate esrs 0.3.0 on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate esrs 0.3.0 [INFO] removed 1 missing examples [INFO] finished tweaking crates.io crate esrs 0.3.0 [INFO] tweaked toml for crates.io crate esrs 0.3.0 written to /workspace/builds/worker-15/source/Cargo.toml [INFO] crate crates.io crate esrs 0.3.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sqlx-core v0.4.2 [INFO] [stderr] Downloaded sqlx-rt v0.2.0 [INFO] [stderr] Downloaded tokio-native-tls v0.1.0 [INFO] [stderr] Downloaded sqlx v0.4.2 [INFO] [stderr] Downloaded sqlx-macros v0.4.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aec13243a54218547d0baa6f714dcaee6d513489e71b3fc7becceff16bd6520a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "aec13243a54218547d0baa6f714dcaee6d513489e71b3fc7becceff16bd6520a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aec13243a54218547d0baa6f714dcaee6d513489e71b3fc7becceff16bd6520a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aec13243a54218547d0baa6f714dcaee6d513489e71b3fc7becceff16bd6520a", kill_on_drop: false }` [INFO] [stdout] aec13243a54218547d0baa6f714dcaee6d513489e71b3fc7becceff16bd6520a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a4c8f30d0e8d2a11857958cc0ec4b169865956c8590f69a9ef9a4bdbc84deb33 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "a4c8f30d0e8d2a11857958cc0ec4b169865956c8590f69a9ef9a4bdbc84deb33", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.86 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.67 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling serde_derive v1.0.124 [INFO] [stderr] Compiling serde v1.0.124 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling futures-sink v0.3.15 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling funty v1.1.0 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling wyz v0.2.0 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling build_const v0.2.2 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-io v0.3.15 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling whoami v1.1.2 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling async-trait v0.1.50 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling lock_api v0.4.2 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Compiling unicode-normalization v0.1.17 [INFO] [stderr] Compiling bitvec v0.19.5 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling openssl-sys v0.9.63 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling hashlink v0.6.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 idna v0.2.3 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling openssl v0.10.34 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling crossbeam-queue v0.3.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling atoi v0.4.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.10.0 [INFO] [stderr] Compiling sha-1 v0.9.6 [INFO] [stderr] Compiling sha2 v0.9.5 [INFO] [stderr] Compiling md-5 v0.9.1 [INFO] [stderr] Compiling hmac v0.10.1 [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 chrono v0.4.19 [INFO] [stderr] Compiling cargo-platform v0.1.1 [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.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 58.31s [INFO] running `Command { std: "docker" "inspect" "a4c8f30d0e8d2a11857958cc0ec4b169865956c8590f69a9ef9a4bdbc84deb33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4c8f30d0e8d2a11857958cc0ec4b169865956c8590f69a9ef9a4bdbc84deb33", kill_on_drop: false }` [INFO] [stdout] a4c8f30d0e8d2a11857958cc0ec4b169865956c8590f69a9ef9a4bdbc84deb33 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2b2f634c31704e27f63d62975cc21414e052a5ca1ff27469d3a49872fb843982 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "2b2f634c31704e27f63d62975cc21414e052a5ca1ff27469d3a49872fb843982", kill_on_drop: false }` [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling copyless v0.1.5 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling actix-macros v0.1.3 [INFO] [stderr] Compiling derive_more v0.99.14 [INFO] [stderr] Compiling actix-threadpool v0.3.3 [INFO] [stderr] Compiling actix-rt v1.1.1 [INFO] [stderr] Compiling esrs v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] error: No such file or directory (os error 2) [INFO] [stdout] --> tests/credit_card_test.rs:31:14 [INFO] [stdout] | [INFO] [stdout] 31 | let () = sqlx::migrate!("examples/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: use of undeclared crate or module `payments` [INFO] [stdout] --> tests/credit_card_test.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use payments::bank_account::aggregate::BankAccountAggregate; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `payments` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `payments` [INFO] [stdout] --> tests/credit_card_test.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use payments::bank_account::command::BankAccountCommand; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `payments` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `payments` [INFO] [stdout] --> tests/credit_card_test.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use payments::bank_account::error::BankAccountError; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `payments` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `payments` [INFO] [stdout] --> tests/credit_card_test.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use payments::bank_account::event::BankAccountEvent; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `payments` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `payments` [INFO] [stdout] --> tests/credit_card_test.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use payments::bank_account::state::BankAccountState; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `payments` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `payments` [INFO] [stdout] --> tests/credit_card_test.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use payments::bank_account::store::BankAccountStore; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `payments` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `payments` [INFO] [stdout] --> tests/credit_card_test.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use payments::credit_card::aggregate::CreditCardAggregate; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `payments` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `payments` [INFO] [stdout] --> tests/credit_card_test.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use payments::credit_card::command::CreditCardCommand; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `payments` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `payments` [INFO] [stdout] --> tests/credit_card_test.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use payments::credit_card::error::CreditCardError; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `payments` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `payments` [INFO] [stdout] --> tests/credit_card_test.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use payments::credit_card::event::CreditCardEvent; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `payments` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `payments` [INFO] [stdout] --> tests/credit_card_test.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use payments::credit_card::projector::CreditCard; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `payments` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `payments` [INFO] [stdout] --> tests/credit_card_test.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use payments::credit_card::state::CreditCardState; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `payments` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `payments` [INFO] [stdout] --> tests/credit_card_test.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use payments::credit_card::store::CreditCardStore; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `payments` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: No such file or directory (os error 2) [INFO] [stdout] --> tests/credit_card_test.rs:31:14 [INFO] [stdout] | [INFO] [stdout] 31 | let () = sqlx::migrate!("examples/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: use of undeclared crate or module `payments` [INFO] [stdout] --> tests/credit_card_test.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use payments::bank_account::aggregate::BankAccountAggregate; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `payments` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `payments` [INFO] [stdout] --> tests/credit_card_test.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use payments::bank_account::command::BankAccountCommand; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `payments` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `payments` [INFO] [stdout] --> tests/credit_card_test.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use payments::bank_account::error::BankAccountError; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `payments` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `payments` [INFO] [stdout] --> tests/credit_card_test.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use payments::bank_account::event::BankAccountEvent; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `payments` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `payments` [INFO] [stdout] --> tests/credit_card_test.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use payments::bank_account::state::BankAccountState; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `payments` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `payments` [INFO] [stdout] --> tests/credit_card_test.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use payments::bank_account::store::BankAccountStore; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `payments` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `payments` [INFO] [stdout] --> tests/credit_card_test.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use payments::credit_card::aggregate::CreditCardAggregate; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `payments` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `payments` [INFO] [stdout] --> tests/credit_card_test.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use payments::credit_card::command::CreditCardCommand; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `payments` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `payments` [INFO] [stdout] --> tests/credit_card_test.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use payments::credit_card::error::CreditCardError; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `payments` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `payments` [INFO] [stdout] --> tests/credit_card_test.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use payments::credit_card::event::CreditCardEvent; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `payments` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `payments` [INFO] [stdout] --> tests/credit_card_test.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use payments::credit_card::projector::CreditCard; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `payments` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `payments` [INFO] [stdout] --> tests/credit_card_test.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use payments::credit_card::state::CreditCardState; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `payments` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `payments` [INFO] [stdout] --> tests/credit_card_test.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use payments::credit_card::store::CreditCardStore; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `payments` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CreditCardStore` [INFO] [stdout] --> tests/credit_card_test.rs:37:72 [INFO] [stdout] | [INFO] [stdout] 37 | 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 `CreditCardAggregate` [INFO] [stdout] --> tests/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/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/credit_card_test.rs:49:75 [INFO] [stdout] | [INFO] [stdout] 49 | 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 `BankAccountAggregate` [INFO] [stdout] --> tests/credit_card_test.rs:50:56 [INFO] [stdout] | [INFO] [stdout] 50 | 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/credit_card_test.rs:54:45 [INFO] [stdout] | [INFO] [stdout] 54 | .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/credit_card_test.rs:70:52 [INFO] [stdout] | [INFO] [stdout] 70 | .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 `CreditCardStore` [INFO] [stdout] --> tests/credit_card_test.rs:37:72 [INFO] [stdout] | [INFO] [stdout] 37 | 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 `CreditCardError` [INFO] [stdout] --> tests/credit_card_test.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | 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/credit_card_test.rs:80:52 [INFO] [stdout] | [INFO] [stdout] 80 | .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/credit_card_test.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | 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/credit_card_test.rs:90:44 [INFO] [stdout] | [INFO] [stdout] 90 | .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/credit_card_test.rs:98:52 [INFO] [stdout] | [INFO] [stdout] 98 | .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/credit_card_test.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | 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 `CreditCardAggregate` [INFO] [stdout] --> tests/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 `BankAccountCommand` [INFO] [stdout] --> tests/credit_card_test.rs:112:45 [INFO] [stdout] | [INFO] [stdout] 112 | .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 `BankAccountState` [INFO] [stdout] --> tests/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 `CreditCardCommand` [INFO] [stdout] --> tests/credit_card_test.rs:120:44 [INFO] [stdout] | [INFO] [stdout] 120 | .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/credit_card_test.rs:128:52 [INFO] [stdout] | [INFO] [stdout] 128 | .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/credit_card_test.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | 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/credit_card_test.rs:138:44 [INFO] [stdout] | [INFO] [stdout] 138 | .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 `BankAccountStore` [INFO] [stdout] --> tests/credit_card_test.rs:49:75 [INFO] [stdout] | [INFO] [stdout] 49 | 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 `CreditCard` [INFO] [stdout] --> tests/credit_card_test.rs:154:49 [INFO] [stdout] | [INFO] [stdout] 154 | 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 `CreditCardEvent` in this scope [INFO] [stdout] --> tests/credit_card_test.rs:37: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] 37 | 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/credit_card_test.rs:37: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] 37 | 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 `CreditCardAggregate` in this scope [INFO] [stdout] --> tests/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/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/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/credit_card_test.rs:49: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] 49 | 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/credit_card_test.rs:49: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] 49 | 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/credit_card_test.rs:50:33 [INFO] [stdout] | [INFO] [stdout] 50 | 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/credit_card_test.rs:53: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] 53 | 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/credit_card_test.rs:89: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] 89 | 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/credit_card_test.rs:108: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] 108 | 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/credit_card_test.rs:111: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] 111 | 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/credit_card_test.rs:117: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] 117 | let credit_card_state: AggregateState = [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BankAccountAggregate` [INFO] [stdout] --> tests/credit_card_test.rs:50:56 [INFO] [stdout] | [INFO] [stdout] 50 | let bank_account_aggregate: BankAccountAggregate = BankAccountAggregate::new(bank_account_store); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `BankAccountAggregate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CreditCardState` in this scope [INFO] [stdout] --> tests/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 = 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/credit_card_test.rs:137: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] 137 | 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/credit_card_test.rs:154: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] 154 | 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[E0433]: failed to resolve: use of undeclared type `BankAccountCommand` [INFO] [stdout] --> tests/credit_card_test.rs:54:45 [INFO] [stdout] | [INFO] [stdout] 54 | .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/credit_card_test.rs:70:52 [INFO] [stdout] | [INFO] [stdout] 70 | .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/credit_card_test.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | 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/credit_card_test.rs:80:52 [INFO] [stdout] | [INFO] [stdout] 80 | .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/credit_card_test.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | 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/credit_card_test.rs:90:44 [INFO] [stdout] | [INFO] [stdout] 90 | .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/credit_card_test.rs:98:52 [INFO] [stdout] | [INFO] [stdout] 98 | .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/credit_card_test.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | 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/credit_card_test.rs:112:45 [INFO] [stdout] | [INFO] [stdout] 112 | .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/credit_card_test.rs:120:44 [INFO] [stdout] | [INFO] [stdout] 120 | .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/credit_card_test.rs:128:52 [INFO] [stdout] | [INFO] [stdout] 128 | .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/credit_card_test.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | 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/credit_card_test.rs:138:44 [INFO] [stdout] | [INFO] [stdout] 138 | .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/credit_card_test.rs:154:49 [INFO] [stdout] | [INFO] [stdout] 154 | 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 `CreditCardEvent` in this scope [INFO] [stdout] --> tests/credit_card_test.rs:37: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] 37 | 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/credit_card_test.rs:37: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] 37 | 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 `CreditCardAggregate` in this scope [INFO] [stdout] --> tests/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/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/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/credit_card_test.rs:49: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] 49 | 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/credit_card_test.rs:49: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] 49 | 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/credit_card_test.rs:50:33 [INFO] [stdout] | [INFO] [stdout] 50 | 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/credit_card_test.rs:53: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] 53 | 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/credit_card_test.rs:89: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] 89 | 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/credit_card_test.rs:108: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] 108 | 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/credit_card_test.rs:111: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] 111 | 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/credit_card_test.rs:117: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] 117 | 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/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 = 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/credit_card_test.rs:137: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] 137 | 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/credit_card_test.rs:154: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] 154 | 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/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 49 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] warning: unused import: `Aggregate` [INFO] [stdout] --> tests/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] [stderr] error: could not compile `esrs` [INFO] [stdout] error: aborting due to 49 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "2b2f634c31704e27f63d62975cc21414e052a5ca1ff27469d3a49872fb843982", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b2f634c31704e27f63d62975cc21414e052a5ca1ff27469d3a49872fb843982", kill_on_drop: false }` [INFO] [stdout] 2b2f634c31704e27f63d62975cc21414e052a5ca1ff27469d3a49872fb843982