[INFO] fetching crate esrs 0.5.0... [INFO] checking esrs-0.5.0 against try#8552849d5ae3b6c66b89a0ac2e9c1e3ef5cde346 for pr-86194 [INFO] extracting crate esrs 0.5.0 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate esrs 0.5.0 on toolchain 8552849d5ae3b6c66b89a0ac2e9c1e3ef5cde346 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8552849d5ae3b6c66b89a0ac2e9c1e3ef5cde346" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate esrs 0.5.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate esrs 0.5.0 [INFO] tweaked toml for crates.io crate esrs 0.5.0 written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate crates.io crate esrs 0.5.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8552849d5ae3b6c66b89a0ac2e9c1e3ef5cde346" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "+8552849d5ae3b6c66b89a0ac2e9c1e3ef5cde346" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0149713ff2c4beb1f4006d083338703c5734b229c4c66bb011d66f5e7ff50671 [INFO] running `Command { std: "docker" "start" "-a" "0149713ff2c4beb1f4006d083338703c5734b229c4c66bb011d66f5e7ff50671", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0149713ff2c4beb1f4006d083338703c5734b229c4c66bb011d66f5e7ff50671", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0149713ff2c4beb1f4006d083338703c5734b229c4c66bb011d66f5e7ff50671", kill_on_drop: false }` [INFO] [stdout] 0149713ff2c4beb1f4006d083338703c5734b229c4c66bb011d66f5e7ff50671 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "+8552849d5ae3b6c66b89a0ac2e9c1e3ef5cde346" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9718b6406be892435be972bb573ad03c9da83bd419c0aabc405e43b3975a5298 [INFO] running `Command { std: "docker" "start" "-a" "9718b6406be892435be972bb573ad03c9da83bd419c0aabc405e43b3975a5298", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling pin-project-lite v0.2.6 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling build_const v0.2.2 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.2 [INFO] [stderr] Compiling whoami v1.1.2 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling futures-sink v0.3.15 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling wyz v0.2.0 [INFO] [stderr] Compiling funty v1.1.0 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling futures-io v0.3.15 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling cpufeatures v0.1.4 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling hex v0.4.3 [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 instant v0.1.9 [INFO] [stderr] Compiling unicode-bidi v0.3.5 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Checking tinyvec v1.2.0 [INFO] [stderr] Compiling lock_api v0.4.4 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling libc v0.2.95 [INFO] [stderr] Checking memchr v2.4.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling ahash v0.7.4 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Compiling openssl-sys v0.9.63 [INFO] [stderr] Compiling tokio v1.6.1 [INFO] [stderr] Compiling num-traits v0.2.14 [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 num-integer v0.1.44 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking mio v0.7.11 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling bitvec v0.19.5 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling hashlink v0.7.0 [INFO] [stderr] Compiling openssl v0.10.34 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking sha2 v0.9.5 [INFO] [stderr] Checking atoi v0.4.0 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking sqlformat v0.1.6 [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] Checking futures v0.3.15 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking tokio-stream v0.1.6 [INFO] [stderr] Checking sqlx-rt v0.5.5 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking sqlx-core v0.5.5 [INFO] [stderr] Compiling sqlx-macros v0.5.5 [INFO] [stderr] Checking sqlx v0.5.5 [INFO] [stderr] Checking esrs v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `sqlx::postgres` [INFO] [stdout] --> src/esrs/pool.rs:111:15 [INFO] [stdout] | [INFO] [stdout] 111 | use sqlx::postgres::PgRow; [INFO] [stdout] | ^^^^^^^^ could not find `postgres` in `sqlx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sqlx::Postgres` [INFO] [stdout] --> src/esrs/pool.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | use sqlx::Postgres; [INFO] [stdout] | ^^^^^^^^^^^^^^ no `Postgres` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `pg_test_pool` found for struct `esrs::pool::Pool<_>` in the current scope [INFO] [stdout] --> src/esrs/pool.rs:117:54 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Pool { [INFO] [stdout] | ---------------------------- function or associated item `pg_test_pool` not found for this [INFO] [stdout] ... [INFO] [stdout] 117 | let transaction_pool: Pool = Pool::pg_test_pool(database_url.as_str()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `esrs::pool::Pool<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/esrs/pool.rs:126:19 [INFO] [stdout] | [INFO] [stdout] 126 | .bind("Pippo") [INFO] [stdout] | ^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: required because of the requirements on the impl of `Encode<'_, _>` for `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `str: Encode<'_, _>` is not satisfied [INFO] [stdout] --> src/esrs/pool.rs:126:19 [INFO] [stdout] | [INFO] [stdout] 126 | .bind("Pippo") [INFO] [stdout] | ^^^^^^^ the trait `Encode<'_, _>` is not implemented for `str` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Encode<'_, _>` for `&str` [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: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:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use sqlx::Sqlite; [INFO] [stdout] | ^^^^^^^^^^^^ no `Sqlite` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `str: Type<_>` is not satisfied [INFO] [stdout] --> src/esrs/pool.rs:126:19 [INFO] [stdout] | [INFO] [stdout] 126 | .bind("Pippo") [INFO] [stdout] | ^^^^^^^ the trait `Type<_>` is not implemented for `str` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Type<_>` for `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/esrs/pool.rs:134:19 [INFO] [stdout] | [INFO] [stdout] 134 | .bind("Gino") [INFO] [stdout] | ^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: required because of the requirements on the impl of `Encode<'_, _>` for `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `str: Encode<'_, _>` is not satisfied [INFO] [stdout] --> src/esrs/pool.rs:134:19 [INFO] [stdout] | [INFO] [stdout] 134 | .bind("Gino") [INFO] [stdout] | ^^^^^^ the trait `Encode<'_, _>` is not implemented for `str` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Encode<'_, _>` for `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CreditCardAggregate` [INFO] [stdout] --> examples/sqlite_payments.rs:33:54 [INFO] [stdout] | [INFO] [stdout] 33 | 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:38:56 [INFO] [stdout] | [INFO] [stdout] 38 | let bank_account_aggregate: BankAccountAggregate = BankAccountAggregate::new(&pool) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `BankAccountAggregate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `str: Type<_>` is not satisfied [INFO] [stdout] --> src/esrs/pool.rs:134:19 [INFO] [stdout] | [INFO] [stdout] 134 | .bind("Gino") [INFO] [stdout] | ^^^^^^ the trait `Type<_>` is not implemented for `str` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Type<_>` for `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BankAccountState` [INFO] [stdout] --> examples/sqlite_payments.rs:42:57 [INFO] [stdout] | [INFO] [stdout] 42 | 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:46:45 [INFO] [stdout] | [INFO] [stdout] 46 | .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:62:44 [INFO] [stdout] | [INFO] [stdout] 62 | .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:33:32 [INFO] [stdout] | [INFO] [stdout] 33 | 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:36:43 [INFO] [stdout] | [INFO] [stdout] 36 | 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:38:33 [INFO] [stdout] | [INFO] [stdout] 38 | 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:41:44 [INFO] [stdout] | [INFO] [stdout] 41 | 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:45:44 [INFO] [stdout] | [INFO] [stdout] 45 | 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:61:44 [INFO] [stdout] | [INFO] [stdout] 61 | 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:66:44 [INFO] [stdout] | [INFO] [stdout] 66 | 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 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `esrs` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] 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::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:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | 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:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | 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:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | 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:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | 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:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | 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:5 [INFO] [stdout] | [INFO] [stdout] 1 | use sqlx::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:37:54 [INFO] [stdout] | [INFO] [stdout] 37 | 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:42:56 [INFO] [stdout] | [INFO] [stdout] 42 | 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/postgres_payments.rs:46:57 [INFO] [stdout] | [INFO] [stdout] 46 | 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:50:45 [INFO] [stdout] | [INFO] [stdout] 50 | .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:66:44 [INFO] [stdout] | [INFO] [stdout] 66 | .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:37:32 [INFO] [stdout] | [INFO] [stdout] 37 | 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:40:43 [INFO] [stdout] | [INFO] [stdout] 40 | 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:42:33 [INFO] [stdout] | [INFO] [stdout] 42 | 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:45:44 [INFO] [stdout] | [INFO] [stdout] 45 | 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:49:44 [INFO] [stdout] | [INFO] [stdout] 49 | 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:65:44 [INFO] [stdout] | [INFO] [stdout] 65 | 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:70:44 [INFO] [stdout] | [INFO] [stdout] 70 | let bank_account_state: AggregateState = bank_account_aggregate [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Aggregate` [INFO] [stdout] --> examples/sqlite_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] [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" "9718b6406be892435be972bb573ad03c9da83bd419c0aabc405e43b3975a5298", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9718b6406be892435be972bb573ad03c9da83bd419c0aabc405e43b3975a5298", kill_on_drop: false }` [INFO] [stdout] 9718b6406be892435be972bb573ad03c9da83bd419c0aabc405e43b3975a5298