[INFO] cloning repository https://github.com/Acidic9/esrs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Acidic9/esrs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAcidic9%2Fesrs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAcidic9%2Fesrs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5dd48d695119f10a0e93c22feb1660c476c1087e [INFO] testing Acidic9/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%2FAcidic9%2Fesrs" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Acidic9/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/Acidic9/esrs [INFO] removed 0 missing examples [INFO] finished tweaking git repo https://github.com/Acidic9/esrs [INFO] tweaked toml for git repo https://github.com/Acidic9/esrs written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/Acidic9/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] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 35aaf1203f4f11e51b9b85cded9d6a1d29d451fe564a1ca4bd59df0e98fb2522 [INFO] running `Command { std: "docker" "start" "-a" "35aaf1203f4f11e51b9b85cded9d6a1d29d451fe564a1ca4bd59df0e98fb2522", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "35aaf1203f4f11e51b9b85cded9d6a1d29d451fe564a1ca4bd59df0e98fb2522", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35aaf1203f4f11e51b9b85cded9d6a1d29d451fe564a1ca4bd59df0e98fb2522", kill_on_drop: false }` [INFO] [stdout] 35aaf1203f4f11e51b9b85cded9d6a1d29d451fe564a1ca4bd59df0e98fb2522 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 65a6a93f21aa24956577b89fd95cc15dfb8deb96e229d3f0e77c87212ec460c3 [INFO] running `Command { std: "docker" "start" "-a" "65a6a93f21aa24956577b89fd95cc15dfb8deb96e229d3f0e77c87212ec460c3", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.95 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Compiling openssl v0.10.34 [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling futures-sink v0.3.15 [INFO] [stderr] Compiling funty v1.1.0 [INFO] [stderr] Compiling futures-io v0.3.15 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling wyz v0.2.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.2 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling whoami v1.1.2 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling cpufeatures v0.1.4 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling async-trait v0.1.50 [INFO] [stderr] Compiling tokio v1.6.1 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling tinyvec v1.2.0 [INFO] [stderr] Compiling ahash v0.7.4 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling unicode-bidi v0.3.5 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling atoi v0.4.0 [INFO] [stderr] Compiling sha2 v0.9.5 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling bitvec v0.19.5 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling openssl-sys v0.9.63 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling mio v0.7.11 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling hashlink v0.7.0 [INFO] [stderr] Compiling sqlformat v0.1.6 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling tokio-macros v1.2.0 [INFO] [stderr] Compiling thiserror-impl v1.0.25 [INFO] [stderr] Compiling thiserror v1.0.25 [INFO] [stderr] Compiling futures-executor v0.3.15 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling tokio-stream v0.1.6 [INFO] [stderr] Compiling sqlx-rt v0.5.5 [INFO] [stderr] Compiling futures v0.3.15 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling sqlx-core v0.5.5 [INFO] [stderr] Compiling sqlx-macros v0.5.5 [INFO] [stderr] Compiling sqlx v0.5.5 [INFO] [stderr] Compiling esrs v0.5.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 33.19s [INFO] running `Command { std: "docker" "inspect" "65a6a93f21aa24956577b89fd95cc15dfb8deb96e229d3f0e77c87212ec460c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65a6a93f21aa24956577b89fd95cc15dfb8deb96e229d3f0e77c87212ec460c3", kill_on_drop: false }` [INFO] [stdout] 65a6a93f21aa24956577b89fd95cc15dfb8deb96e229d3f0e77c87212ec460c3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1c881c4a368d23edb28aed47d643f787b37abbabc949e78fdc33cca901ff566a [INFO] running `Command { std: "docker" "start" "-a" "1c881c4a368d23edb28aed47d643f787b37abbabc949e78fdc33cca901ff566a", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling esrs v0.5.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sqlite_payments` [INFO] [stdout] --> examples/sqlite_payments.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | 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] --> examples/sqlite_payments.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | 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] --> examples/sqlite_payments.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | 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] --> examples/sqlite_payments.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | 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] --> examples/sqlite_payments.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | 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] --> examples/sqlite_payments.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use sqlite_payments::credit_card::state::CreditCardState; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `sqlite_payments` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sqlx::Sqlite` [INFO] [stdout] --> examples/sqlite_payments.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | use sqlx::{Pool, Sqlite}; [INFO] [stdout] | ^^^^^^ no `Sqlite` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CreditCardAggregate` [INFO] [stdout] --> examples/sqlite_payments.rs:36:54 [INFO] [stdout] | [INFO] [stdout] 36 | let credit_card_aggregate: CreditCardAggregate = CreditCardAggregate::new(&pool) [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] --> examples/sqlite_payments.rs:41:56 [INFO] [stdout] | [INFO] [stdout] 41 | let bank_account_aggregate: BankAccountAggregate = BankAccountAggregate::new(&pool) [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] --> examples/sqlite_payments.rs:45:57 [INFO] [stdout] | [INFO] [stdout] 45 | 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] --> examples/sqlite_payments.rs:49:45 [INFO] [stdout] | [INFO] [stdout] 49 | .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] --> examples/sqlite_payments.rs:65:44 [INFO] [stdout] | [INFO] [stdout] 65 | .handle_command(credit_card_state, CreditCardCommand::Pay { amount: tv_price }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `CreditCardCommand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CreditCardAggregate` in this scope [INFO] [stdout] --> examples/sqlite_payments.rs:36:32 [INFO] [stdout] | [INFO] [stdout] 36 | let credit_card_aggregate: CreditCardAggregate = CreditCardAggregate::new(&pool) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CreditCardState` in this scope [INFO] [stdout] --> examples/sqlite_payments.rs:39:43 [INFO] [stdout] | [INFO] [stdout] 39 | 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 `BankAccountAggregate` in this scope [INFO] [stdout] --> examples/sqlite_payments.rs:41:33 [INFO] [stdout] | [INFO] [stdout] 41 | let bank_account_aggregate: BankAccountAggregate = BankAccountAggregate::new(&pool) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BankAccountState` in this scope [INFO] [stdout] --> examples/sqlite_payments.rs:44:44 [INFO] [stdout] | [INFO] [stdout] 44 | 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] --> examples/sqlite_payments.rs:48:44 [INFO] [stdout] | [INFO] [stdout] 48 | 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] --> examples/sqlite_payments.rs:64:44 [INFO] [stdout] | [INFO] [stdout] 64 | 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] --> examples/sqlite_payments.rs:69:44 [INFO] [stdout] | [INFO] [stdout] 69 | 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 crate or module `postgres_payments` [INFO] [stdout] --> examples/postgres_payments.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | 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] --> examples/postgres_payments.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | 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] --> examples/postgres_payments.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | 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] --> examples/postgres_payments.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | 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] --> examples/postgres_payments.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | 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] --> examples/postgres_payments.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use postgres_payments::credit_card::state::CreditCardState; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `postgres_payments` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sqlx::Postgres` [INFO] [stdout] --> examples/postgres_payments.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | use sqlx::{Pool, Postgres}; [INFO] [stdout] | ^^^^^^^^ no `Postgres` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CreditCardAggregate` [INFO] [stdout] --> examples/postgres_payments.rs:40:54 [INFO] [stdout] | [INFO] [stdout] 40 | let credit_card_aggregate: CreditCardAggregate = CreditCardAggregate::new(&pool) [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] --> examples/postgres_payments.rs:45:56 [INFO] [stdout] | [INFO] [stdout] 45 | let bank_account_aggregate: BankAccountAggregate = BankAccountAggregate::new(&pool) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `BankAccountAggregate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Aggregate` [INFO] [stdout] --> examples/sqlite_payments.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | 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[E0433]: failed to resolve: use of undeclared type `BankAccountState` [INFO] [stdout] --> examples/postgres_payments.rs:49:57 [INFO] [stdout] | [INFO] [stdout] 49 | 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] --> examples/postgres_payments.rs:53:45 [INFO] [stdout] | [INFO] [stdout] 53 | .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] --> examples/postgres_payments.rs:69:44 [INFO] [stdout] | [INFO] [stdout] 69 | .handle_command(credit_card_state, CreditCardCommand::Pay { amount: tv_price }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `CreditCardCommand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CreditCardAggregate` in this scope [INFO] [stdout] --> examples/postgres_payments.rs:40:32 [INFO] [stdout] | [INFO] [stdout] 40 | let credit_card_aggregate: CreditCardAggregate = CreditCardAggregate::new(&pool) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CreditCardState` in this scope [INFO] [stdout] --> examples/postgres_payments.rs:43:43 [INFO] [stdout] | [INFO] [stdout] 43 | 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 `BankAccountAggregate` in this scope [INFO] [stdout] --> examples/postgres_payments.rs:45:33 [INFO] [stdout] | [INFO] [stdout] 45 | let bank_account_aggregate: BankAccountAggregate = BankAccountAggregate::new(&pool) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BankAccountState` in this scope [INFO] [stdout] --> examples/postgres_payments.rs:48:44 [INFO] [stdout] | [INFO] [stdout] 48 | 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] --> examples/postgres_payments.rs:52:44 [INFO] [stdout] | [INFO] [stdout] 52 | 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] --> examples/postgres_payments.rs:68:44 [INFO] [stdout] | [INFO] [stdout] 68 | 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] --> examples/postgres_payments.rs:73:44 [INFO] [stdout] | [INFO] [stdout] 73 | let bank_account_state: AggregateState = bank_account_aggregate [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 19 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 20 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `Aggregate` [INFO] [stdout] --> examples/postgres_payments.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 19 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: build failed [INFO] running `Command { std: "docker" "inspect" "1c881c4a368d23edb28aed47d643f787b37abbabc949e78fdc33cca901ff566a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c881c4a368d23edb28aed47d643f787b37abbabc949e78fdc33cca901ff566a", kill_on_drop: false }` [INFO] [stdout] 1c881c4a368d23edb28aed47d643f787b37abbabc949e78fdc33cca901ff566a