[INFO] fetching crate eventastic_postgres 0.5.0... [INFO] testing eventastic_postgres-0.5.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate eventastic_postgres 0.5.0 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate eventastic_postgres 0.5.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate eventastic_postgres 0.5.0 [INFO] tweaked toml for crates.io crate eventastic_postgres 0.5.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate eventastic_postgres 0.5.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate eventastic_postgres 0.5.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 233da2d7b8a9c438264a63214bc3c22eea3e63810abb36e9ae11b7324769d1dd [INFO] running `Command { std: "docker" "start" "-a" "233da2d7b8a9c438264a63214bc3c22eea3e63810abb36e9ae11b7324769d1dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "233da2d7b8a9c438264a63214bc3c22eea3e63810abb36e9ae11b7324769d1dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "233da2d7b8a9c438264a63214bc3c22eea3e63810abb36e9ae11b7324769d1dd", kill_on_drop: false }` [INFO] [stdout] 233da2d7b8a9c438264a63214bc3c22eea3e63810abb36e9ae11b7324769d1dd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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" "RUSTDOCFLAGS=--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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 27265f1bf9c7be4b46780a44b13b3388449fcc553ade2a729b25eaab9424d1f2 [INFO] running `Command { std: "docker" "start" "-a" "27265f1bf9c7be4b46780a44b13b3388449fcc553ade2a729b25eaab9424d1f2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling serde_core v1.0.226 [INFO] [stderr] Compiling serde v1.0.226 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling find-msvc-tools v0.1.2 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling rustls v0.23.32 [INFO] [stderr] Compiling cc v1.2.38 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Compiling crc v3.3.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling webpki-roots v1.0.2 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling indexmap v2.11.4 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling whoami v1.6.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling eventastic_postgres v0.5.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling rustls-webpki v0.103.6 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling serde_derive v1.0.226 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling eventastic v0.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Compiling sqlx-postgres v0.8.6 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Compiling sqlx v0.8.6 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 57.11s [INFO] running `Command { std: "docker" "inspect" "27265f1bf9c7be4b46780a44b13b3388449fcc553ade2a729b25eaab9424d1f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27265f1bf9c7be4b46780a44b13b3388449fcc553ade2a729b25eaab9424d1f2", kill_on_drop: false }` [INFO] [stdout] 27265f1bf9c7be4b46780a44b13b3388449fcc553ade2a729b25eaab9424d1f2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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" "RUSTDOCFLAGS=--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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c28c86dd8273fd1e88ce07409f8b54ee868daac46ffd097d24b4de6f71126f06 [INFO] running `Command { std: "docker" "start" "-a" "c28c86dd8273fd1e88ce07409f8b54ee868daac46ffd097d24b4de6f71126f06", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Compiling sqlx-postgres v0.8.6 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Compiling sqlx v0.8.6 [INFO] [stderr] Compiling eventastic_postgres v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `eventastic_outbox_postgres` [INFO] [stdout] --> tests/common/helpers.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use eventastic_outbox_postgres::TableOutbox; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `eventastic_outbox_postgres` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 5 - use eventastic_outbox_postgres::TableOutbox; [INFO] [stdout] 5 + use eventastic_postgres::TableOutbox; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> tests/common/test_aggregate.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde::Deserialize; [INFO] [stdout] | ^^^^^ help: a similar path exists: `uuid::serde` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> tests/common/test_aggregate.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde::Serialize; [INFO] [stdout] | ^^^^^ help: a similar path exists: `uuid::serde` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> tests/common/test_order_aggregate.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde::Deserialize; [INFO] [stdout] | ^^^^^ help: a similar path exists: `uuid::serde` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> tests/common/test_order_aggregate.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde::Serialize; [INFO] [stdout] | ^^^^^ help: a similar path exists: `uuid::serde` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `eventastic_outbox_postgres` [INFO] [stdout] --> tests/common/helpers.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use eventastic_outbox_postgres::TableOutbox; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `eventastic_outbox_postgres` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 5 - use eventastic_outbox_postgres::TableOutbox; [INFO] [stdout] 5 + use eventastic_postgres::TableOutbox; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> tests/common/test_aggregate.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde::Deserialize; [INFO] [stdout] | ^^^^^ help: a similar path exists: `uuid::serde` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> tests/common/test_aggregate.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde::Serialize; [INFO] [stdout] | ^^^^^ help: a similar path exists: `uuid::serde` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> tests/common/test_order_aggregate.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde::Deserialize; [INFO] [stdout] | ^^^^^ help: a similar path exists: `uuid::serde` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> tests/common/test_order_aggregate.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde::Serialize; [INFO] [stdout] | ^^^^^ help: a similar path exists: `uuid::serde` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `eventastic_outbox_postgres` [INFO] [stdout] --> tests/common/helpers.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use eventastic_outbox_postgres::TableOutbox; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `eventastic_outbox_postgres` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 5 - use eventastic_outbox_postgres::TableOutbox; [INFO] [stdout] 5 + use eventastic_postgres::TableOutbox; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `eventastic_outbox_postgres` [INFO] [stdout] --> tests/multi_aggregate.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use eventastic_outbox_postgres::TableOutbox; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `eventastic_outbox_postgres` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 7 - use eventastic_outbox_postgres::TableOutbox; [INFO] [stdout] 7 + use eventastic_postgres::TableOutbox; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> tests/common/test_aggregate.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde::Deserialize; [INFO] [stdout] | ^^^^^ help: a similar path exists: `uuid::serde` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> tests/common/test_aggregate.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde::Serialize; [INFO] [stdout] | ^^^^^ help: a similar path exists: `uuid::serde` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> tests/common/test_order_aggregate.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde::Deserialize; [INFO] [stdout] | ^^^^^ help: a similar path exists: `uuid::serde` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> tests/common/test_order_aggregate.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde::Serialize; [INFO] [stdout] | ^^^^^ help: a similar path exists: `uuid::serde` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:23:16 [INFO] [stdout] | [INFO] [stdout] 23 | let repo = PostgresRepository::new( [INFO] [stdout] | ________________^ [INFO] [stdout] 24 | | connection_options, [INFO] [stdout] 25 | | pool_options, [INFO] [stdout] 26 | | TableConfig::new("events", "snapshots"), [INFO] [stdout] ... | [INFO] [stdout] 30 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | / repo.run_migrations() [INFO] [stdout] 33 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:47:16 [INFO] [stdout] | [INFO] [stdout] 47 | let repo = PostgresRepository::new( [INFO] [stdout] | ________________^ [INFO] [stdout] 48 | | connection_options, [INFO] [stdout] 49 | | pool_options, [INFO] [stdout] 50 | | TableConfig::new("events", "snapshots"), [INFO] [stdout] ... | [INFO] [stdout] 54 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | / repo.run_migrations() [INFO] [stdout] 57 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | let repository = get_repository().await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 71 | [INFO] [stdout] 72 | let transaction = repository [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `repository` an explicit type [INFO] [stdout] | [INFO] [stdout] 70 | let repository: /* Type */ = get_repository().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:72:23 [INFO] [stdout] | [INFO] [stdout] 72 | let transaction = repository [INFO] [stdout] | _______________________^ [INFO] [stdout] 73 | | .begin_transaction() [INFO] [stdout] 74 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `eventastic_outbox_postgres` [INFO] [stdout] --> tests/common/helpers.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use eventastic_outbox_postgres::TableOutbox; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `eventastic_outbox_postgres` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 5 - use eventastic_outbox_postgres::TableOutbox; [INFO] [stdout] 5 + use eventastic_postgres::TableOutbox; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> tests/common/test_aggregate.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde::Deserialize; [INFO] [stdout] | ^^^^^ help: a similar path exists: `uuid::serde` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> tests/common/test_aggregate.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde::Serialize; [INFO] [stdout] | ^^^^^ help: a similar path exists: `uuid::serde` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> tests/common/test_order_aggregate.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde::Deserialize; [INFO] [stdout] | ^^^^^ help: a similar path exists: `uuid::serde` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> tests/common/test_order_aggregate.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde::Serialize; [INFO] [stdout] | ^^^^^ help: a similar path exists: `uuid::serde` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `eventastic_outbox_postgres` [INFO] [stdout] --> tests/common/helpers.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use eventastic_outbox_postgres::TableOutbox; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `eventastic_outbox_postgres` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 5 - use eventastic_outbox_postgres::TableOutbox; [INFO] [stdout] 5 + use eventastic_postgres::TableOutbox; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> tests/common/test_aggregate.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde::Deserialize; [INFO] [stdout] | ^^^^^ help: a similar path exists: `uuid::serde` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> tests/common/test_aggregate.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde::Serialize; [INFO] [stdout] | ^^^^^ help: a similar path exists: `uuid::serde` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> tests/common/test_order_aggregate.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde::Deserialize; [INFO] [stdout] | ^^^^^ help: a similar path exists: `uuid::serde` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> tests/common/test_order_aggregate.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde::Serialize; [INFO] [stdout] | ^^^^^ help: a similar path exists: `uuid::serde` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:23:16 [INFO] [stdout] | [INFO] [stdout] 23 | let repo = PostgresRepository::new( [INFO] [stdout] | ________________^ [INFO] [stdout] 24 | | connection_options, [INFO] [stdout] 25 | | pool_options, [INFO] [stdout] 26 | | TableConfig::new("events", "snapshots"), [INFO] [stdout] ... | [INFO] [stdout] 30 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:77:15 [INFO] [stdout] | [INFO] [stdout] 77 | let row = sqlx::query( [INFO] [stdout] | _______________^ [INFO] [stdout] 78 | | "SELECT aggregate, version, snapshot_version FROM snapshots where aggregate_id = $1", [INFO] [stdout] 79 | | ) [INFO] [stdout] 80 | | .bind(account_id) [INFO] [stdout] 81 | | .fetch_optional(&mut *transaction.into_inner()) [INFO] [stdout] 82 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:85:14 [INFO] [stdout] | [INFO] [stdout] 85 | row.map(|row| { [INFO] [stdout] | ^^^ [INFO] [stdout] 86 | let aggregate_bytes: Result, _> = row.try_get("aggregate"); [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 85 | row.map(|row: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | / repo.run_migrations() [INFO] [stdout] 33 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:47:16 [INFO] [stdout] | [INFO] [stdout] 47 | let repo = PostgresRepository::new( [INFO] [stdout] | ________________^ [INFO] [stdout] 48 | | connection_options, [INFO] [stdout] 49 | | pool_options, [INFO] [stdout] 50 | | TableConfig::new("events", "snapshots"), [INFO] [stdout] ... | [INFO] [stdout] 54 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | / repo.run_migrations() [INFO] [stdout] 57 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | let repository = get_repository().await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 71 | [INFO] [stdout] 72 | let transaction = repository [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `repository` an explicit type [INFO] [stdout] | [INFO] [stdout] 70 | let repository: /* Type */ = get_repository().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:72:23 [INFO] [stdout] | [INFO] [stdout] 72 | let transaction = repository [INFO] [stdout] | _______________________^ [INFO] [stdout] 73 | | .begin_transaction() [INFO] [stdout] 74 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:77:15 [INFO] [stdout] | [INFO] [stdout] 77 | let row = sqlx::query( [INFO] [stdout] | _______________^ [INFO] [stdout] 78 | | "SELECT aggregate, version, snapshot_version FROM snapshots where aggregate_id = $1", [INFO] [stdout] 79 | | ) [INFO] [stdout] 80 | | .bind(account_id) [INFO] [stdout] 81 | | .fetch_optional(&mut *transaction.into_inner()) [INFO] [stdout] 82 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:85:14 [INFO] [stdout] | [INFO] [stdout] 85 | row.map(|row| { [INFO] [stdout] | ^^^ [INFO] [stdout] 86 | let aggregate_bytes: Result, _> = row.try_get("aggregate"); [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 85 | row.map(|row: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:23:16 [INFO] [stdout] | [INFO] [stdout] 23 | let repo = PostgresRepository::new( [INFO] [stdout] | ________________^ [INFO] [stdout] 24 | | connection_options, [INFO] [stdout] 25 | | pool_options, [INFO] [stdout] 26 | | TableConfig::new("events", "snapshots"), [INFO] [stdout] ... | [INFO] [stdout] 30 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | / repo.run_migrations() [INFO] [stdout] 33 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:47:16 [INFO] [stdout] | [INFO] [stdout] 47 | let repo = PostgresRepository::new( [INFO] [stdout] | ________________^ [INFO] [stdout] 48 | | connection_options, [INFO] [stdout] 49 | | pool_options, [INFO] [stdout] 50 | | TableConfig::new("events", "snapshots"), [INFO] [stdout] ... | [INFO] [stdout] 54 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | / repo.run_migrations() [INFO] [stdout] 57 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | let repository = get_repository().await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 71 | [INFO] [stdout] 72 | let transaction = repository [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `repository` an explicit type [INFO] [stdout] | [INFO] [stdout] 70 | let repository: /* Type */ = get_repository().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:72:23 [INFO] [stdout] | [INFO] [stdout] 72 | let transaction = repository [INFO] [stdout] | _______________________^ [INFO] [stdout] 73 | | .begin_transaction() [INFO] [stdout] 74 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:77:15 [INFO] [stdout] | [INFO] [stdout] 77 | let row = sqlx::query( [INFO] [stdout] | _______________^ [INFO] [stdout] 78 | | "SELECT aggregate, version, snapshot_version FROM snapshots where aggregate_id = $1", [INFO] [stdout] 79 | | ) [INFO] [stdout] 80 | | .bind(account_id) [INFO] [stdout] 81 | | .fetch_optional(&mut *transaction.into_inner()) [INFO] [stdout] 82 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:85:14 [INFO] [stdout] | [INFO] [stdout] 85 | row.map(|row| { [INFO] [stdout] | ^^^ [INFO] [stdout] 86 | let aggregate_bytes: Result, _> = row.try_get("aggregate"); [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 85 | row.map(|row: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `unpickle` found for struct `Account` in the current scope [INFO] [stdout] --> tests/common/helpers.rs:91:33 [INFO] [stdout] | [INFO] [stdout] 91 | aggregate: Account::unpickle(&aggregate_bytes.unwrap()).unwrap(), [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `Account` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/test_aggregate.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Account { [INFO] [stdout] | ------------------ function or associated item `unpickle` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `unpickle`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Pickle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `unpickle` found for struct `Account` in the current scope [INFO] [stdout] --> tests/common/helpers.rs:91:33 [INFO] [stdout] | [INFO] [stdout] 91 | aggregate: Account::unpickle(&aggregate_bytes.unwrap()).unwrap(), [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `Account` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/test_aggregate.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Account { [INFO] [stdout] | ------------------ function or associated item `unpickle` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `unpickle`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Pickle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:23:16 [INFO] [stdout] | [INFO] [stdout] 23 | let repo = PostgresRepository::new( [INFO] [stdout] | ________________^ [INFO] [stdout] 24 | | connection_options, [INFO] [stdout] 25 | | pool_options, [INFO] [stdout] 26 | | TableConfig::new("events", "snapshots"), [INFO] [stdout] ... | [INFO] [stdout] 30 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | / repo.run_migrations() [INFO] [stdout] 33 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:23:16 [INFO] [stdout] | [INFO] [stdout] 23 | let repo = PostgresRepository::new( [INFO] [stdout] | ________________^ [INFO] [stdout] 24 | | connection_options, [INFO] [stdout] 25 | | pool_options, [INFO] [stdout] 26 | | TableConfig::new("events", "snapshots"), [INFO] [stdout] ... | [INFO] [stdout] 30 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | / repo.run_migrations() [INFO] [stdout] 33 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:47:16 [INFO] [stdout] | [INFO] [stdout] 47 | let repo = PostgresRepository::new( [INFO] [stdout] | ________________^ [INFO] [stdout] 48 | | connection_options, [INFO] [stdout] 49 | | pool_options, [INFO] [stdout] 50 | | TableConfig::new("events", "snapshots"), [INFO] [stdout] ... | [INFO] [stdout] 54 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | / repo.run_migrations() [INFO] [stdout] 57 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | let repository = get_repository().await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 103 | [INFO] [stdout] 104 | let transaction = repository [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `repository` an explicit type [INFO] [stdout] | [INFO] [stdout] 102 | let repository: /* Type */ = get_repository().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:104:23 [INFO] [stdout] | [INFO] [stdout] 104 | let transaction = repository [INFO] [stdout] | _______________________^ [INFO] [stdout] 105 | | .begin_transaction() [INFO] [stdout] 106 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | let repository = get_repository().await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 71 | [INFO] [stdout] 72 | let transaction = repository [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `repository` an explicit type [INFO] [stdout] | [INFO] [stdout] 70 | let repository: /* Type */ = get_repository().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:72:23 [INFO] [stdout] | [INFO] [stdout] 72 | let transaction = repository [INFO] [stdout] | _______________________^ [INFO] [stdout] 73 | | .begin_transaction() [INFO] [stdout] 74 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:47:16 [INFO] [stdout] | [INFO] [stdout] 47 | let repo = PostgresRepository::new( [INFO] [stdout] | ________________^ [INFO] [stdout] 48 | | connection_options, [INFO] [stdout] 49 | | pool_options, [INFO] [stdout] 50 | | TableConfig::new("events", "snapshots"), [INFO] [stdout] ... | [INFO] [stdout] 54 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | let repository = get_repository().await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 103 | [INFO] [stdout] 104 | let transaction = repository [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `repository` an explicit type [INFO] [stdout] | [INFO] [stdout] 102 | let repository: /* Type */ = get_repository().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:104:23 [INFO] [stdout] | [INFO] [stdout] 104 | let transaction = repository [INFO] [stdout] | _______________________^ [INFO] [stdout] 105 | | .begin_transaction() [INFO] [stdout] 106 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:109:15 [INFO] [stdout] | [INFO] [stdout] 109 | let row = sqlx::query( [INFO] [stdout] | _______________^ [INFO] [stdout] 110 | | "SELECT aggregate, version, snapshot_version FROM snapshots WHERE aggregate_id = $1 AND snapshot_version = $2", [INFO] [stdout] 111 | | ) [INFO] [stdout] 112 | | .bind(account_id) [INFO] [stdout] 113 | | .bind(snapshot_version) [INFO] [stdout] 114 | | .fetch_optional(&mut *transaction.into_inner()) [INFO] [stdout] 115 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:118:14 [INFO] [stdout] | [INFO] [stdout] 118 | row.map(|row| { [INFO] [stdout] | ^^^ [INFO] [stdout] 119 | let aggregate_bytes: Result, _> = row.try_get("aggregate"); [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 118 | row.map(|row: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | / repo.run_migrations() [INFO] [stdout] 57 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:109:15 [INFO] [stdout] | [INFO] [stdout] 109 | let row = sqlx::query( [INFO] [stdout] | _______________^ [INFO] [stdout] 110 | | "SELECT aggregate, version, snapshot_version FROM snapshots WHERE aggregate_id = $1 AND snapshot_version = $2", [INFO] [stdout] 111 | | ) [INFO] [stdout] 112 | | .bind(account_id) [INFO] [stdout] 113 | | .bind(snapshot_version) [INFO] [stdout] 114 | | .fetch_optional(&mut *transaction.into_inner()) [INFO] [stdout] 115 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:118:14 [INFO] [stdout] | [INFO] [stdout] 118 | row.map(|row| { [INFO] [stdout] | ^^^ [INFO] [stdout] 119 | let aggregate_bytes: Result, _> = row.try_get("aggregate"); [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 118 | row.map(|row: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:77:15 [INFO] [stdout] | [INFO] [stdout] 77 | let row = sqlx::query( [INFO] [stdout] | _______________^ [INFO] [stdout] 78 | | "SELECT aggregate, version, snapshot_version FROM snapshots where aggregate_id = $1", [INFO] [stdout] 79 | | ) [INFO] [stdout] 80 | | .bind(account_id) [INFO] [stdout] 81 | | .fetch_optional(&mut *transaction.into_inner()) [INFO] [stdout] 82 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:85:14 [INFO] [stdout] | [INFO] [stdout] 85 | row.map(|row| { [INFO] [stdout] | ^^^ [INFO] [stdout] 86 | let aggregate_bytes: Result, _> = row.try_get("aggregate"); [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 85 | row.map(|row: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | let repository = get_repository().await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 71 | [INFO] [stdout] 72 | let transaction = repository [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `repository` an explicit type [INFO] [stdout] | [INFO] [stdout] 70 | let repository: /* Type */ = get_repository().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:72:23 [INFO] [stdout] | [INFO] [stdout] 72 | let transaction = repository [INFO] [stdout] | _______________________^ [INFO] [stdout] 73 | | .begin_transaction() [INFO] [stdout] 74 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:77:15 [INFO] [stdout] | [INFO] [stdout] 77 | let row = sqlx::query( [INFO] [stdout] | _______________^ [INFO] [stdout] 78 | | "SELECT aggregate, version, snapshot_version FROM snapshots where aggregate_id = $1", [INFO] [stdout] 79 | | ) [INFO] [stdout] 80 | | .bind(account_id) [INFO] [stdout] 81 | | .fetch_optional(&mut *transaction.into_inner()) [INFO] [stdout] 82 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:85:14 [INFO] [stdout] | [INFO] [stdout] 85 | row.map(|row| { [INFO] [stdout] | ^^^ [INFO] [stdout] 86 | let aggregate_bytes: Result, _> = row.try_get("aggregate"); [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 85 | row.map(|row: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `unpickle` found for struct `Account` in the current scope [INFO] [stdout] --> tests/common/helpers.rs:91:33 [INFO] [stdout] | [INFO] [stdout] 91 | aggregate: Account::unpickle(&aggregate_bytes.unwrap()).unwrap(), [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `Account` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/test_aggregate.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Account { [INFO] [stdout] | ------------------ function or associated item `unpickle` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `unpickle`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Pickle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | let repository = get_repository().await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 103 | [INFO] [stdout] 104 | let transaction = repository [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `repository` an explicit type [INFO] [stdout] | [INFO] [stdout] 102 | let repository: /* Type */ = get_repository().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:104:23 [INFO] [stdout] | [INFO] [stdout] 104 | let transaction = repository [INFO] [stdout] | _______________________^ [INFO] [stdout] 105 | | .begin_transaction() [INFO] [stdout] 106 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `unpickle` found for struct `Account` in the current scope [INFO] [stdout] --> tests/common/helpers.rs:124:33 [INFO] [stdout] | [INFO] [stdout] 124 | aggregate: Account::unpickle(&aggregate_bytes.unwrap()).unwrap(), [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `Account` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/test_aggregate.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Account { [INFO] [stdout] | ------------------ function or associated item `unpickle` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `unpickle`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Pickle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `unpickle` found for struct `Account` in the current scope [INFO] [stdout] --> tests/common/helpers.rs:124:33 [INFO] [stdout] | [INFO] [stdout] 124 | aggregate: Account::unpickle(&aggregate_bytes.unwrap()).unwrap(), [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `Account` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/test_aggregate.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Account { [INFO] [stdout] | ------------------ function or associated item `unpickle` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `unpickle`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Pickle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:109:15 [INFO] [stdout] | [INFO] [stdout] 109 | let row = sqlx::query( [INFO] [stdout] | _______________^ [INFO] [stdout] 110 | | "SELECT aggregate, version, snapshot_version FROM snapshots WHERE aggregate_id = $1 AND snapshot_version = $2", [INFO] [stdout] 111 | | ) [INFO] [stdout] 112 | | .bind(account_id) [INFO] [stdout] 113 | | .bind(snapshot_version) [INFO] [stdout] 114 | | .fetch_optional(&mut *transaction.into_inner()) [INFO] [stdout] 115 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:118:14 [INFO] [stdout] | [INFO] [stdout] 118 | row.map(|row| { [INFO] [stdout] | ^^^ [INFO] [stdout] 119 | let aggregate_bytes: Result, _> = row.try_get("aggregate"); [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 118 | row.map(|row: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | let repository = get_repository().await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 133 | [INFO] [stdout] 134 | let transaction = repository [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `repository` an explicit type [INFO] [stdout] | [INFO] [stdout] 132 | let repository: /* Type */ = get_repository().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:134:23 [INFO] [stdout] | [INFO] [stdout] 134 | let transaction = repository [INFO] [stdout] | _______________________^ [INFO] [stdout] 135 | | .begin_transaction() [INFO] [stdout] 136 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | let repository = get_repository().await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 133 | [INFO] [stdout] 134 | let transaction = repository [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `repository` an explicit type [INFO] [stdout] | [INFO] [stdout] 132 | let repository: /* Type */ = get_repository().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:134:23 [INFO] [stdout] | [INFO] [stdout] 134 | let transaction = repository [INFO] [stdout] | _______________________^ [INFO] [stdout] 135 | | .begin_transaction() [INFO] [stdout] 136 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:139:16 [INFO] [stdout] | [INFO] [stdout] 139 | let rows = sqlx::query( [INFO] [stdout] | ________________^ [INFO] [stdout] 140 | | "SELECT aggregate, version, snapshot_version FROM snapshots WHERE aggregate_id = $1 ORDER BY snapshot_version ASC", [INFO] [stdout] 141 | | ) [INFO] [stdout] 142 | | .bind(account_id) [INFO] [stdout] 143 | | .fetch_all(&mut *transaction.into_inner()) [INFO] [stdout] 144 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:139:16 [INFO] [stdout] | [INFO] [stdout] 139 | let rows = sqlx::query( [INFO] [stdout] | ________________^ [INFO] [stdout] 140 | | "SELECT aggregate, version, snapshot_version FROM snapshots WHERE aggregate_id = $1 ORDER BY snapshot_version ASC", [INFO] [stdout] 141 | | ) [INFO] [stdout] 142 | | .bind(account_id) [INFO] [stdout] 143 | | .fetch_all(&mut *transaction.into_inner()) [INFO] [stdout] 144 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:148:15 [INFO] [stdout] | [INFO] [stdout] 148 | .map(|row| { [INFO] [stdout] | ^^^ [INFO] [stdout] 149 | let aggregate_bytes: Result, _> = row.try_get("aggregate"); [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 148 | .map(|row: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `eventastic_outbox_postgres` [INFO] [stdout] --> tests/encryption.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use eventastic_outbox_postgres::TableOutbox; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `eventastic_outbox_postgres` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 8 - use eventastic_outbox_postgres::TableOutbox; [INFO] [stdout] 8 + use eventastic_postgres::TableOutbox; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `eventastic_outbox_postgres` [INFO] [stdout] --> tests/common/helpers.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use eventastic_outbox_postgres::TableOutbox; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `eventastic_outbox_postgres` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 5 - use eventastic_outbox_postgres::TableOutbox; [INFO] [stdout] 5 + use eventastic_postgres::TableOutbox; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> tests/common/test_aggregate.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde::Deserialize; [INFO] [stdout] | ^^^^^ help: a similar path exists: `uuid::serde` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> tests/common/test_aggregate.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde::Serialize; [INFO] [stdout] | ^^^^^ help: a similar path exists: `uuid::serde` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> tests/common/test_order_aggregate.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde::Deserialize; [INFO] [stdout] | ^^^^^ help: a similar path exists: `uuid::serde` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> tests/common/test_order_aggregate.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde::Serialize; [INFO] [stdout] | ^^^^^ help: a similar path exists: `uuid::serde` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `unpickle` found for struct `Account` in the current scope [INFO] [stdout] --> tests/common/helpers.rs:124:33 [INFO] [stdout] | [INFO] [stdout] 124 | aggregate: Account::unpickle(&aggregate_bytes.unwrap()).unwrap(), [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `Account` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/test_aggregate.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Account { [INFO] [stdout] | ------------------ function or associated item `unpickle` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `unpickle`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Pickle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:148:15 [INFO] [stdout] | [INFO] [stdout] 148 | .map(|row| { [INFO] [stdout] | ^^^ [INFO] [stdout] 149 | let aggregate_bytes: Result, _> = row.try_get("aggregate"); [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 148 | .map(|row: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | let repository = get_repository().await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 133 | [INFO] [stdout] 134 | let transaction = repository [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `repository` an explicit type [INFO] [stdout] | [INFO] [stdout] 132 | let repository: /* Type */ = get_repository().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:134:23 [INFO] [stdout] | [INFO] [stdout] 134 | let transaction = repository [INFO] [stdout] | _______________________^ [INFO] [stdout] 135 | | .begin_transaction() [INFO] [stdout] 136 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `unpickle` found for struct `Account` in the current scope [INFO] [stdout] --> tests/common/helpers.rs:91:33 [INFO] [stdout] | [INFO] [stdout] 91 | aggregate: Account::unpickle(&aggregate_bytes.unwrap()).unwrap(), [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `Account` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/test_aggregate.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Account { [INFO] [stdout] | ------------------ function or associated item `unpickle` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `unpickle`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Pickle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | let repository = get_repository().await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 103 | [INFO] [stdout] 104 | let transaction = repository [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `repository` an explicit type [INFO] [stdout] | [INFO] [stdout] 102 | let repository: /* Type */ = get_repository().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:104:23 [INFO] [stdout] | [INFO] [stdout] 104 | let transaction = repository [INFO] [stdout] | _______________________^ [INFO] [stdout] 105 | | .begin_transaction() [INFO] [stdout] 106 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:109:15 [INFO] [stdout] | [INFO] [stdout] 109 | let row = sqlx::query( [INFO] [stdout] | _______________^ [INFO] [stdout] 110 | | "SELECT aggregate, version, snapshot_version FROM snapshots WHERE aggregate_id = $1 AND snapshot_version = $2", [INFO] [stdout] 111 | | ) [INFO] [stdout] 112 | | .bind(account_id) [INFO] [stdout] 113 | | .bind(snapshot_version) [INFO] [stdout] 114 | | .fetch_optional(&mut *transaction.into_inner()) [INFO] [stdout] 115 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:118:14 [INFO] [stdout] | [INFO] [stdout] 118 | row.map(|row| { [INFO] [stdout] | ^^^ [INFO] [stdout] 119 | let aggregate_bytes: Result, _> = row.try_get("aggregate"); [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 118 | row.map(|row: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:139:16 [INFO] [stdout] | [INFO] [stdout] 139 | let rows = sqlx::query( [INFO] [stdout] | ________________^ [INFO] [stdout] 140 | | "SELECT aggregate, version, snapshot_version FROM snapshots WHERE aggregate_id = $1 ORDER BY snapshot_version ASC", [INFO] [stdout] 141 | | ) [INFO] [stdout] 142 | | .bind(account_id) [INFO] [stdout] 143 | | .fetch_all(&mut *transaction.into_inner()) [INFO] [stdout] 144 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:148:15 [INFO] [stdout] | [INFO] [stdout] 148 | .map(|row| { [INFO] [stdout] | ^^^ [INFO] [stdout] 149 | let aggregate_bytes: Result, _> = row.try_get("aggregate"); [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 148 | .map(|row: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `unpickle` found for struct `Account` in the current scope [INFO] [stdout] --> tests/common/helpers.rs:154:37 [INFO] [stdout] | [INFO] [stdout] 154 | aggregate: Account::unpickle(&aggregate_bytes.unwrap()).unwrap(), [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `Account` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/test_aggregate.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Account { [INFO] [stdout] | ------------------ function or associated item `unpickle` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `unpickle`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Pickle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `unpickle` found for struct `Account` in the current scope [INFO] [stdout] --> tests/common/helpers.rs:154:37 [INFO] [stdout] | [INFO] [stdout] 154 | aggregate: Account::unpickle(&aggregate_bytes.unwrap()).unwrap(), [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `Account` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/test_aggregate.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Account { [INFO] [stdout] | ------------------ function or associated item `unpickle` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `unpickle`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Pickle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `unpickle` found for struct `Account` in the current scope [INFO] [stdout] --> tests/common/helpers.rs:124:33 [INFO] [stdout] | [INFO] [stdout] 124 | aggregate: Account::unpickle(&aggregate_bytes.unwrap()).unwrap(), [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `Account` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/test_aggregate.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Account { [INFO] [stdout] | ------------------ function or associated item `unpickle` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `unpickle`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Pickle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `unpickle` found for struct `Account` in the current scope [INFO] [stdout] --> tests/common/helpers.rs:154:37 [INFO] [stdout] | [INFO] [stdout] 154 | aggregate: Account::unpickle(&aggregate_bytes.unwrap()).unwrap(), [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `Account` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/test_aggregate.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Account { [INFO] [stdout] | ------------------ function or associated item `unpickle` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `unpickle`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Pickle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 163 | let repository = get_repository().await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 164 | [INFO] [stdout] 165 | let transaction = repository [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `repository` an explicit type [INFO] [stdout] | [INFO] [stdout] 163 | let repository: /* Type */ = get_repository().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | let repository = get_repository().await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 133 | [INFO] [stdout] 134 | let transaction = repository [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `repository` an explicit type [INFO] [stdout] | [INFO] [stdout] 132 | let repository: /* Type */ = get_repository().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:134:23 [INFO] [stdout] | [INFO] [stdout] 134 | let transaction = repository [INFO] [stdout] | _______________________^ [INFO] [stdout] 135 | | .begin_transaction() [INFO] [stdout] 136 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 163 | let repository = get_repository().await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 164 | [INFO] [stdout] 165 | let transaction = repository [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `repository` an explicit type [INFO] [stdout] | [INFO] [stdout] 163 | let repository: /* Type */ = get_repository().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:165:23 [INFO] [stdout] | [INFO] [stdout] 165 | let transaction = repository [INFO] [stdout] | _______________________^ [INFO] [stdout] 166 | | .begin_transaction() [INFO] [stdout] 167 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 163 | let repository = get_repository().await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 164 | [INFO] [stdout] 165 | let transaction = repository [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `repository` an explicit type [INFO] [stdout] | [INFO] [stdout] 163 | let repository: /* Type */ = get_repository().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:165:23 [INFO] [stdout] | [INFO] [stdout] 165 | let transaction = repository [INFO] [stdout] | _______________________^ [INFO] [stdout] 166 | | .begin_transaction() [INFO] [stdout] 167 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:139:16 [INFO] [stdout] | [INFO] [stdout] 139 | let rows = sqlx::query( [INFO] [stdout] | ________________^ [INFO] [stdout] 140 | | "SELECT aggregate, version, snapshot_version FROM snapshots WHERE aggregate_id = $1 ORDER BY snapshot_version ASC", [INFO] [stdout] 141 | | ) [INFO] [stdout] 142 | | .bind(account_id) [INFO] [stdout] 143 | | .fetch_all(&mut *transaction.into_inner()) [INFO] [stdout] 144 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:148:15 [INFO] [stdout] | [INFO] [stdout] 148 | .map(|row| { [INFO] [stdout] | ^^^ [INFO] [stdout] 149 | let aggregate_bytes: Result, _> = row.try_get("aggregate"); [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 148 | .map(|row: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:170:15 [INFO] [stdout] | [INFO] [stdout] 170 | let row = sqlx::query("SELECT COUNT(*) as count FROM snapshots WHERE aggregate_id = $1") [INFO] [stdout] | _______________^ [INFO] [stdout] 171 | | .bind(account_id) [INFO] [stdout] 172 | | .fetch_one(&mut *transaction.into_inner()) [INFO] [stdout] 173 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:165:23 [INFO] [stdout] | [INFO] [stdout] 165 | let transaction = repository [INFO] [stdout] | _______________________^ [INFO] [stdout] 166 | | .begin_transaction() [INFO] [stdout] 167 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 181 | let repository = get_repository().await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 182 | [INFO] [stdout] 183 | let transaction = repository [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `repository` an explicit type [INFO] [stdout] | [INFO] [stdout] 181 | let repository: /* Type */ = get_repository().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:170:15 [INFO] [stdout] | [INFO] [stdout] 170 | let row = sqlx::query("SELECT COUNT(*) as count FROM snapshots WHERE aggregate_id = $1") [INFO] [stdout] | _______________^ [INFO] [stdout] 171 | | .bind(account_id) [INFO] [stdout] 172 | | .fetch_one(&mut *transaction.into_inner()) [INFO] [stdout] 173 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:183:23 [INFO] [stdout] | [INFO] [stdout] 183 | let transaction = repository [INFO] [stdout] | _______________________^ [INFO] [stdout] 184 | | .begin_transaction() [INFO] [stdout] 185 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 181 | let repository = get_repository().await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 182 | [INFO] [stdout] 183 | let transaction = repository [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `repository` an explicit type [INFO] [stdout] | [INFO] [stdout] 181 | let repository: /* Type */ = get_repository().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:170:15 [INFO] [stdout] | [INFO] [stdout] 170 | let row = sqlx::query("SELECT COUNT(*) as count FROM snapshots WHERE aggregate_id = $1") [INFO] [stdout] | _______________^ [INFO] [stdout] 171 | | .bind(account_id) [INFO] [stdout] 172 | | .fetch_one(&mut *transaction.into_inner()) [INFO] [stdout] 173 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 181 | let repository = get_repository().await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 182 | [INFO] [stdout] 183 | let transaction = repository [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `repository` an explicit type [INFO] [stdout] | [INFO] [stdout] 181 | let repository: /* Type */ = get_repository().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:183:23 [INFO] [stdout] | [INFO] [stdout] 183 | let transaction = repository [INFO] [stdout] | _______________________^ [INFO] [stdout] 184 | | .begin_transaction() [INFO] [stdout] 185 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `unpickle` found for struct `Account` in the current scope [INFO] [stdout] --> tests/common/helpers.rs:154:37 [INFO] [stdout] | [INFO] [stdout] 154 | aggregate: Account::unpickle(&aggregate_bytes.unwrap()).unwrap(), [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `Account` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/test_aggregate.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Account { [INFO] [stdout] | ------------------ function or associated item `unpickle` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `unpickle`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Pickle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 163 | let repository = get_repository().await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 164 | [INFO] [stdout] 165 | let transaction = repository [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `repository` an explicit type [INFO] [stdout] | [INFO] [stdout] 163 | let repository: /* Type */ = get_repository().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:183:23 [INFO] [stdout] | [INFO] [stdout] 183 | let transaction = repository [INFO] [stdout] | _______________________^ [INFO] [stdout] 184 | | .begin_transaction() [INFO] [stdout] 185 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:165:23 [INFO] [stdout] | [INFO] [stdout] 165 | let transaction = repository [INFO] [stdout] | _______________________^ [INFO] [stdout] 166 | | .begin_transaction() [INFO] [stdout] 167 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:170:15 [INFO] [stdout] | [INFO] [stdout] 170 | let row = sqlx::query("SELECT COUNT(*) as count FROM snapshots WHERE aggregate_id = $1") [INFO] [stdout] | _______________^ [INFO] [stdout] 171 | | .bind(account_id) [INFO] [stdout] 172 | | .fetch_one(&mut *transaction.into_inner()) [INFO] [stdout] 173 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 181 | let repository = get_repository().await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 182 | [INFO] [stdout] 183 | let transaction = repository [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `repository` an explicit type [INFO] [stdout] | [INFO] [stdout] 181 | let repository: /* Type */ = get_repository().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:183:23 [INFO] [stdout] | [INFO] [stdout] 183 | let transaction = repository [INFO] [stdout] | _______________________^ [INFO] [stdout] 184 | | .begin_transaction() [INFO] [stdout] 185 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `unpickle` found for struct `Account` in the current scope [INFO] [stdout] --> tests/common/helpers.rs:91:33 [INFO] [stdout] | [INFO] [stdout] 91 | aggregate: Account::unpickle(&aggregate_bytes.unwrap()).unwrap(), [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `Account` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/test_aggregate.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Account { [INFO] [stdout] | ------------------ function or associated item `unpickle` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `unpickle`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Pickle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | let repository = get_repository().await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 103 | [INFO] [stdout] 104 | let transaction = repository [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `repository` an explicit type [INFO] [stdout] | [INFO] [stdout] 102 | let repository: /* Type */ = get_repository().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:104:23 [INFO] [stdout] | [INFO] [stdout] 104 | let transaction = repository [INFO] [stdout] | _______________________^ [INFO] [stdout] 105 | | .begin_transaction() [INFO] [stdout] 106 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:109:15 [INFO] [stdout] | [INFO] [stdout] 109 | let row = sqlx::query( [INFO] [stdout] | _______________^ [INFO] [stdout] 110 | | "SELECT aggregate, version, snapshot_version FROM snapshots WHERE aggregate_id = $1 AND snapshot_version = $2", [INFO] [stdout] 111 | | ) [INFO] [stdout] 112 | | .bind(account_id) [INFO] [stdout] 113 | | .bind(snapshot_version) [INFO] [stdout] 114 | | .fetch_optional(&mut *transaction.into_inner()) [INFO] [stdout] 115 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:118:14 [INFO] [stdout] | [INFO] [stdout] 118 | row.map(|row| { [INFO] [stdout] | ^^^ [INFO] [stdout] 119 | let aggregate_bytes: Result, _> = row.try_get("aggregate"); [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 118 | row.map(|row: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `pickle` found for struct `Account` in the current scope [INFO] [stdout] --> tests/common/helpers.rs:191:34 [INFO] [stdout] | [INFO] [stdout] 191 | .bind(snapshot.aggregate.pickle().expect("Failed to serialize snapshot")) [INFO] [stdout] | ^^^^^^ method not found in `Account` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/test_aggregate.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Account { [INFO] [stdout] | ------------------ method `pickle` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `pickle`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Pickle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `pickle` found for struct `Account` in the current scope [INFO] [stdout] --> tests/common/helpers.rs:191:34 [INFO] [stdout] | [INFO] [stdout] 191 | .bind(snapshot.aggregate.pickle().expect("Failed to serialize snapshot")) [INFO] [stdout] | ^^^^^^ method not found in `Account` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/test_aggregate.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Account { [INFO] [stdout] | ------------------ method `pickle` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `pickle`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Pickle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `pickle` found for struct `Account` in the current scope [INFO] [stdout] --> tests/common/helpers.rs:191:34 [INFO] [stdout] | [INFO] [stdout] 191 | .bind(snapshot.aggregate.pickle().expect("Failed to serialize snapshot")) [INFO] [stdout] | ^^^^^^ method not found in `Account` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/test_aggregate.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Account { [INFO] [stdout] | ------------------ method `pickle` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `pickle`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Pickle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `unpickle` found for struct `Account` in the current scope [INFO] [stdout] --> tests/common/helpers.rs:124:33 [INFO] [stdout] | [INFO] [stdout] 124 | aggregate: Account::unpickle(&aggregate_bytes.unwrap()).unwrap(), [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `Account` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/test_aggregate.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Account { [INFO] [stdout] | ------------------ function or associated item `unpickle` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `unpickle`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Pickle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:190:15 [INFO] [stdout] | [INFO] [stdout] 190 | let row = sqlx::query("UPDATE snapshots set aggregate = $1, snapshot_version = $2, version = $3 where aggregate_id = $4") [INFO] [stdout] | _______________^ [INFO] [stdout] 191 | | .bind(snapshot.aggregate.pickle().expect("Failed to serialize snapshot")) [INFO] [stdout] 192 | | .bind(snapshot.snapshot_version) [INFO] [stdout] 193 | | .bind(snapshot.version) [INFO] [stdout] 194 | | .bind(account_id) [INFO] [stdout] 195 | | .execute(&mut *pg_transaction) [INFO] [stdout] 196 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:190:15 [INFO] [stdout] | [INFO] [stdout] 190 | let row = sqlx::query("UPDATE snapshots set aggregate = $1, snapshot_version = $2, version = $3 where aggregate_id = $4") [INFO] [stdout] | _______________^ [INFO] [stdout] 191 | | .bind(snapshot.aggregate.pickle().expect("Failed to serialize snapshot")) [INFO] [stdout] 192 | | .bind(snapshot.snapshot_version) [INFO] [stdout] 193 | | .bind(snapshot.version) [INFO] [stdout] 194 | | .bind(account_id) [INFO] [stdout] 195 | | .execute(&mut *pg_transaction) [INFO] [stdout] 196 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:200:5 [INFO] [stdout] | [INFO] [stdout] 200 | / pg_transaction [INFO] [stdout] 201 | | .commit() [INFO] [stdout] 202 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:207:9 [INFO] [stdout] | [INFO] [stdout] 207 | let repository = get_repository().await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 208 | [INFO] [stdout] 209 | let mut transaction = repository [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `repository` an explicit type [INFO] [stdout] | [INFO] [stdout] 207 | let repository: /* Type */ = get_repository().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:209:27 [INFO] [stdout] | [INFO] [stdout] 209 | let mut transaction = repository [INFO] [stdout] | ___________________________^ [INFO] [stdout] 210 | | .begin_transaction() [INFO] [stdout] 211 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:215:5 [INFO] [stdout] | [INFO] [stdout] 215 | / sqlx::query("DELETE FROM snapshots WHERE aggregate_id = $1") [INFO] [stdout] 216 | | .bind(account_id) [INFO] [stdout] 217 | | .execute(&mut *transaction) [INFO] [stdout] 218 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:221:5 [INFO] [stdout] | [INFO] [stdout] 221 | / transaction [INFO] [stdout] 222 | | .commit() [INFO] [stdout] 223 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:228:9 [INFO] [stdout] | [INFO] [stdout] 228 | let repository = get_repository().await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 229 | [INFO] [stdout] 230 | let mut transaction = repository [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `repository` an explicit type [INFO] [stdout] | [INFO] [stdout] 228 | let repository: /* Type */ = get_repository().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:190:15 [INFO] [stdout] | [INFO] [stdout] 190 | let row = sqlx::query("UPDATE snapshots set aggregate = $1, snapshot_version = $2, version = $3 where aggregate_id = $4") [INFO] [stdout] | _______________^ [INFO] [stdout] 191 | | .bind(snapshot.aggregate.pickle().expect("Failed to serialize snapshot")) [INFO] [stdout] 192 | | .bind(snapshot.snapshot_version) [INFO] [stdout] 193 | | .bind(snapshot.version) [INFO] [stdout] 194 | | .bind(account_id) [INFO] [stdout] 195 | | .execute(&mut *pg_transaction) [INFO] [stdout] 196 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:200:5 [INFO] [stdout] | [INFO] [stdout] 200 | / pg_transaction [INFO] [stdout] 201 | | .commit() [INFO] [stdout] 202 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:230:27 [INFO] [stdout] | [INFO] [stdout] 230 | let mut transaction = repository [INFO] [stdout] | ___________________________^ [INFO] [stdout] 231 | | .begin_transaction() [INFO] [stdout] 232 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | let repository = get_repository().await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 133 | [INFO] [stdout] 134 | let transaction = repository [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `repository` an explicit type [INFO] [stdout] | [INFO] [stdout] 132 | let repository: /* Type */ = get_repository().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:134:23 [INFO] [stdout] | [INFO] [stdout] 134 | let transaction = repository [INFO] [stdout] | _______________________^ [INFO] [stdout] 135 | | .begin_transaction() [INFO] [stdout] 136 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:200:5 [INFO] [stdout] | [INFO] [stdout] 200 | / pg_transaction [INFO] [stdout] 201 | | .commit() [INFO] [stdout] 202 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:207:9 [INFO] [stdout] | [INFO] [stdout] 207 | let repository = get_repository().await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 208 | [INFO] [stdout] 209 | let mut transaction = repository [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `repository` an explicit type [INFO] [stdout] | [INFO] [stdout] 207 | let repository: /* Type */ = get_repository().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:209:27 [INFO] [stdout] | [INFO] [stdout] 209 | let mut transaction = repository [INFO] [stdout] | ___________________________^ [INFO] [stdout] 210 | | .begin_transaction() [INFO] [stdout] 211 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:207:9 [INFO] [stdout] | [INFO] [stdout] 207 | let repository = get_repository().await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 208 | [INFO] [stdout] 209 | let mut transaction = repository [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `repository` an explicit type [INFO] [stdout] | [INFO] [stdout] 207 | let repository: /* Type */ = get_repository().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:139:16 [INFO] [stdout] | [INFO] [stdout] 139 | let rows = sqlx::query( [INFO] [stdout] | ________________^ [INFO] [stdout] 140 | | "SELECT aggregate, version, snapshot_version FROM snapshots WHERE aggregate_id = $1 ORDER BY snapshot_version ASC", [INFO] [stdout] 141 | | ) [INFO] [stdout] 142 | | .bind(account_id) [INFO] [stdout] 143 | | .fetch_all(&mut *transaction.into_inner()) [INFO] [stdout] 144 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:148:15 [INFO] [stdout] | [INFO] [stdout] 148 | .map(|row| { [INFO] [stdout] | ^^^ [INFO] [stdout] 149 | let aggregate_bytes: Result, _> = row.try_get("aggregate"); [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 148 | .map(|row: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:209:27 [INFO] [stdout] | [INFO] [stdout] 209 | let mut transaction = repository [INFO] [stdout] | ___________________________^ [INFO] [stdout] 210 | | .begin_transaction() [INFO] [stdout] 211 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:215:5 [INFO] [stdout] | [INFO] [stdout] 215 | / sqlx::query("DELETE FROM snapshots WHERE aggregate_id = $1") [INFO] [stdout] 216 | | .bind(account_id) [INFO] [stdout] 217 | | .execute(&mut *transaction) [INFO] [stdout] 218 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:221:5 [INFO] [stdout] | [INFO] [stdout] 221 | / transaction [INFO] [stdout] 222 | | .commit() [INFO] [stdout] 223 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:215:5 [INFO] [stdout] | [INFO] [stdout] 215 | / sqlx::query("DELETE FROM snapshots WHERE aggregate_id = $1") [INFO] [stdout] 216 | | .bind(account_id) [INFO] [stdout] 217 | | .execute(&mut *transaction) [INFO] [stdout] 218 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:221:5 [INFO] [stdout] | [INFO] [stdout] 221 | / transaction [INFO] [stdout] 222 | | .commit() [INFO] [stdout] 223 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:228:9 [INFO] [stdout] | [INFO] [stdout] 228 | let repository = get_repository().await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 229 | [INFO] [stdout] 230 | let mut transaction = repository [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `repository` an explicit type [INFO] [stdout] | [INFO] [stdout] 228 | let repository: /* Type */ = get_repository().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:230:27 [INFO] [stdout] | [INFO] [stdout] 230 | let mut transaction = repository [INFO] [stdout] | ___________________________^ [INFO] [stdout] 231 | | .begin_transaction() [INFO] [stdout] 232 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:228:9 [INFO] [stdout] | [INFO] [stdout] 228 | let repository = get_repository().await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 229 | [INFO] [stdout] 230 | let mut transaction = repository [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `repository` an explicit type [INFO] [stdout] | [INFO] [stdout] 228 | let repository: /* Type */ = get_repository().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:230:27 [INFO] [stdout] | [INFO] [stdout] 230 | let mut transaction = repository [INFO] [stdout] | ___________________________^ [INFO] [stdout] 231 | | .begin_transaction() [INFO] [stdout] 232 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `unpickle` found for struct `Account` in the current scope [INFO] [stdout] --> tests/common/helpers.rs:154:37 [INFO] [stdout] | [INFO] [stdout] 154 | aggregate: Account::unpickle(&aggregate_bytes.unwrap()).unwrap(), [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `Account` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/test_aggregate.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Account { [INFO] [stdout] | ------------------ function or associated item `unpickle` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `unpickle`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Pickle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 163 | let repository = get_repository().await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 164 | [INFO] [stdout] 165 | let transaction = repository [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `repository` an explicit type [INFO] [stdout] | [INFO] [stdout] 163 | let repository: /* Type */ = get_repository().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:165:23 [INFO] [stdout] | [INFO] [stdout] 165 | let transaction = repository [INFO] [stdout] | _______________________^ [INFO] [stdout] 166 | | .begin_transaction() [INFO] [stdout] 167 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:170:15 [INFO] [stdout] | [INFO] [stdout] 170 | let row = sqlx::query("SELECT COUNT(*) as count FROM snapshots WHERE aggregate_id = $1") [INFO] [stdout] | _______________^ [INFO] [stdout] 171 | | .bind(account_id) [INFO] [stdout] 172 | | .fetch_one(&mut *transaction.into_inner()) [INFO] [stdout] 173 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 181 | let repository = get_repository().await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 182 | [INFO] [stdout] 183 | let transaction = repository [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `repository` an explicit type [INFO] [stdout] | [INFO] [stdout] 181 | let repository: /* Type */ = get_repository().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:183:23 [INFO] [stdout] | [INFO] [stdout] 183 | let transaction = repository [INFO] [stdout] | _______________________^ [INFO] [stdout] 184 | | .begin_transaction() [INFO] [stdout] 185 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `pickle` found for struct `Account` in the current scope [INFO] [stdout] --> tests/common/helpers.rs:238:34 [INFO] [stdout] | [INFO] [stdout] 238 | .bind(snapshot.aggregate.pickle().expect("Failed to serialize snapshot")) [INFO] [stdout] | ^^^^^^ method not found in `Account` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/test_aggregate.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Account { [INFO] [stdout] | ------------------ method `pickle` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `pickle`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Pickle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:236:5 [INFO] [stdout] | [INFO] [stdout] 236 | / sqlx::query("INSERT INTO snapshots (aggregate_id, aggregate, version, snapshot_version, created_at) VALUES ($1, $2, $3, $4, N... [INFO] [stdout] 237 | | .bind(account_id) [INFO] [stdout] 238 | | .bind(snapshot.aggregate.pickle().expect("Failed to serialize snapshot")) [INFO] [stdout] 239 | | .bind(snapshot.version) [INFO] [stdout] 240 | | .bind(version) [INFO] [stdout] 241 | | .execute(&mut *transaction) [INFO] [stdout] 242 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:245:5 [INFO] [stdout] | [INFO] [stdout] 245 | / transaction [INFO] [stdout] 246 | | .commit() [INFO] [stdout] 247 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:252:9 [INFO] [stdout] | [INFO] [stdout] 252 | let repository = get_repository().await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 253 | [INFO] [stdout] 254 | let mut transaction = repository [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `repository` an explicit type [INFO] [stdout] | [INFO] [stdout] 252 | let repository: /* Type */ = get_repository().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:254:27 [INFO] [stdout] | [INFO] [stdout] 254 | let mut transaction = repository [INFO] [stdout] | ___________________________^ [INFO] [stdout] 255 | | .begin_transaction() [INFO] [stdout] 256 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:259:37 [INFO] [stdout] | [INFO] [stdout] 259 | let context: Context = transaction [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 260 | | .get(&account_id) [INFO] [stdout] 261 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `pickle` found for struct `Account` in the current scope [INFO] [stdout] --> tests/common/helpers.rs:191:34 [INFO] [stdout] | [INFO] [stdout] 191 | .bind(snapshot.aggregate.pickle().expect("Failed to serialize snapshot")) [INFO] [stdout] | ^^^^^^ method not found in `Account` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/test_aggregate.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Account { [INFO] [stdout] | ------------------ method `pickle` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `pickle`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Pickle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:268:9 [INFO] [stdout] | [INFO] [stdout] 268 | let repository = get_repository().await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 269 | [INFO] [stdout] 270 | let transaction = repository [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `repository` an explicit type [INFO] [stdout] | [INFO] [stdout] 268 | let repository: /* Type */ = get_repository().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:270:23 [INFO] [stdout] | [INFO] [stdout] 270 | let transaction = repository [INFO] [stdout] | _______________________^ [INFO] [stdout] 271 | | .begin_transaction() [INFO] [stdout] 272 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:276:9 [INFO] [stdout] | [INFO] [stdout] 276 | / sqlx::query("SELECT MAX(created_at) as created_at FROM events where aggregate_id = $1") [INFO] [stdout] 277 | | .bind(account_id) [INFO] [stdout] 278 | | .fetch_one(&mut *transaction.into_inner()) [INFO] [stdout] 279 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `pickle` found for struct `Account` in the current scope [INFO] [stdout] --> tests/common/helpers.rs:238:34 [INFO] [stdout] | [INFO] [stdout] 238 | .bind(snapshot.aggregate.pickle().expect("Failed to serialize snapshot")) [INFO] [stdout] | ^^^^^^ method not found in `Account` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/test_aggregate.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Account { [INFO] [stdout] | ------------------ method `pickle` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `pickle`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Pickle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:190:15 [INFO] [stdout] | [INFO] [stdout] 190 | let row = sqlx::query("UPDATE snapshots set aggregate = $1, snapshot_version = $2, version = $3 where aggregate_id = $4") [INFO] [stdout] | _______________^ [INFO] [stdout] 191 | | .bind(snapshot.aggregate.pickle().expect("Failed to serialize snapshot")) [INFO] [stdout] 192 | | .bind(snapshot.snapshot_version) [INFO] [stdout] 193 | | .bind(snapshot.version) [INFO] [stdout] 194 | | .bind(account_id) [INFO] [stdout] 195 | | .execute(&mut *pg_transaction) [INFO] [stdout] 196 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `pickle` found for struct `Account` in the current scope [INFO] [stdout] --> tests/common/helpers.rs:238:34 [INFO] [stdout] | [INFO] [stdout] 238 | .bind(snapshot.aggregate.pickle().expect("Failed to serialize snapshot")) [INFO] [stdout] | ^^^^^^ method not found in `Account` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/test_aggregate.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Account { [INFO] [stdout] | ------------------ method `pickle` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `pickle`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Pickle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:364:13 [INFO] [stdout] | [INFO] [stdout] 364 | let repository = get_repository().await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 367 | let mut transaction = repository [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `repository` an explicit type [INFO] [stdout] | [INFO] [stdout] 364 | let repository: /* Type */ = get_repository().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:367:31 [INFO] [stdout] | [INFO] [stdout] 367 | let mut transaction = repository [INFO] [stdout] | _______________________________^ [INFO] [stdout] 368 | | .begin_transaction() [INFO] [stdout] 369 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:200:5 [INFO] [stdout] | [INFO] [stdout] 200 | / pg_transaction [INFO] [stdout] 201 | | .commit() [INFO] [stdout] 202 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:236:5 [INFO] [stdout] | [INFO] [stdout] 236 | / sqlx::query("INSERT INTO snapshots (aggregate_id, aggregate, version, snapshot_version, created_at) VALUES ($1, $2, $3, $4, N... [INFO] [stdout] 237 | | .bind(account_id) [INFO] [stdout] 238 | | .bind(snapshot.aggregate.pickle().expect("Failed to serialize snapshot")) [INFO] [stdout] 239 | | .bind(snapshot.version) [INFO] [stdout] 240 | | .bind(version) [INFO] [stdout] 241 | | .execute(&mut *transaction) [INFO] [stdout] 242 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:372:9 [INFO] [stdout] | [INFO] [stdout] 372 | / transaction [INFO] [stdout] 373 | | .store(&mut account) [INFO] [stdout] 374 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:236:5 [INFO] [stdout] | [INFO] [stdout] 236 | / sqlx::query("INSERT INTO snapshots (aggregate_id, aggregate, version, snapshot_version, created_at) VALUES ($1, $2, $3, $4, N... [INFO] [stdout] 237 | | .bind(account_id) [INFO] [stdout] 238 | | .bind(snapshot.aggregate.pickle().expect("Failed to serialize snapshot")) [INFO] [stdout] 239 | | .bind(snapshot.version) [INFO] [stdout] 240 | | .bind(version) [INFO] [stdout] 241 | | .execute(&mut *transaction) [INFO] [stdout] 242 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:245:5 [INFO] [stdout] | [INFO] [stdout] 245 | / transaction [INFO] [stdout] 246 | | .commit() [INFO] [stdout] 247 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:245:5 [INFO] [stdout] | [INFO] [stdout] 245 | / transaction [INFO] [stdout] 246 | | .commit() [INFO] [stdout] 247 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:207:9 [INFO] [stdout] | [INFO] [stdout] 207 | let repository = get_repository().await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 208 | [INFO] [stdout] 209 | let mut transaction = repository [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `repository` an explicit type [INFO] [stdout] | [INFO] [stdout] 207 | let repository: /* Type */ = get_repository().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:252:9 [INFO] [stdout] | [INFO] [stdout] 252 | let repository = get_repository().await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 253 | [INFO] [stdout] 254 | let mut transaction = repository [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `repository` an explicit type [INFO] [stdout] | [INFO] [stdout] 252 | let repository: /* Type */ = get_repository().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:209:27 [INFO] [stdout] | [INFO] [stdout] 209 | let mut transaction = repository [INFO] [stdout] | ___________________________^ [INFO] [stdout] 210 | | .begin_transaction() [INFO] [stdout] 211 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:254:27 [INFO] [stdout] | [INFO] [stdout] 254 | let mut transaction = repository [INFO] [stdout] | ___________________________^ [INFO] [stdout] 255 | | .begin_transaction() [INFO] [stdout] 256 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:252:9 [INFO] [stdout] | [INFO] [stdout] 252 | let repository = get_repository().await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 253 | [INFO] [stdout] 254 | let mut transaction = repository [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `repository` an explicit type [INFO] [stdout] | [INFO] [stdout] 252 | let repository: /* Type */ = get_repository().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:254:27 [INFO] [stdout] | [INFO] [stdout] 254 | let mut transaction = repository [INFO] [stdout] | ___________________________^ [INFO] [stdout] 255 | | .begin_transaction() [INFO] [stdout] 256 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:259:37 [INFO] [stdout] | [INFO] [stdout] 259 | let context: Context = transaction [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 260 | | .get(&account_id) [INFO] [stdout] 261 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:259:37 [INFO] [stdout] | [INFO] [stdout] 259 | let context: Context = transaction [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 260 | | .get(&account_id) [INFO] [stdout] 261 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:215:5 [INFO] [stdout] | [INFO] [stdout] 215 | / sqlx::query("DELETE FROM snapshots WHERE aggregate_id = $1") [INFO] [stdout] 216 | | .bind(account_id) [INFO] [stdout] 217 | | .execute(&mut *transaction) [INFO] [stdout] 218 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:268:9 [INFO] [stdout] | [INFO] [stdout] 268 | let repository = get_repository().await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 269 | [INFO] [stdout] 270 | let transaction = repository [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `repository` an explicit type [INFO] [stdout] | [INFO] [stdout] 268 | let repository: /* Type */ = get_repository().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:221:5 [INFO] [stdout] | [INFO] [stdout] 221 | / transaction [INFO] [stdout] 222 | | .commit() [INFO] [stdout] 223 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:270:23 [INFO] [stdout] | [INFO] [stdout] 270 | let transaction = repository [INFO] [stdout] | _______________________^ [INFO] [stdout] 271 | | .begin_transaction() [INFO] [stdout] 272 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:268:9 [INFO] [stdout] | [INFO] [stdout] 268 | let repository = get_repository().await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 269 | [INFO] [stdout] 270 | let transaction = repository [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `repository` an explicit type [INFO] [stdout] | [INFO] [stdout] 268 | let repository: /* Type */ = get_repository().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:270:23 [INFO] [stdout] | [INFO] [stdout] 270 | let transaction = repository [INFO] [stdout] | _______________________^ [INFO] [stdout] 271 | | .begin_transaction() [INFO] [stdout] 272 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:228:9 [INFO] [stdout] | [INFO] [stdout] 228 | let repository = get_repository().await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 229 | [INFO] [stdout] 230 | let mut transaction = repository [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `repository` an explicit type [INFO] [stdout] | [INFO] [stdout] 228 | let repository: /* Type */ = get_repository().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:230:27 [INFO] [stdout] | [INFO] [stdout] 230 | let mut transaction = repository [INFO] [stdout] | ___________________________^ [INFO] [stdout] 231 | | .begin_transaction() [INFO] [stdout] 232 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:276:9 [INFO] [stdout] | [INFO] [stdout] 276 | / sqlx::query("SELECT MAX(created_at) as created_at FROM events where aggregate_id = $1") [INFO] [stdout] 277 | | .bind(account_id) [INFO] [stdout] 278 | | .fetch_one(&mut *transaction.into_inner()) [INFO] [stdout] 279 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:276:9 [INFO] [stdout] | [INFO] [stdout] 276 | / sqlx::query("SELECT MAX(created_at) as created_at FROM events where aggregate_id = $1") [INFO] [stdout] 277 | | .bind(account_id) [INFO] [stdout] 278 | | .fetch_one(&mut *transaction.into_inner()) [INFO] [stdout] 279 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:377:9 [INFO] [stdout] | [INFO] [stdout] 377 | / transaction [INFO] [stdout] 378 | | .commit() [INFO] [stdout] 379 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:390:9 [INFO] [stdout] | [INFO] [stdout] 390 | let repository = get_repository().await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 391 | let transaction = repository [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `repository` an explicit type [INFO] [stdout] | [INFO] [stdout] 390 | let repository: /* Type */ = get_repository().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:391:23 [INFO] [stdout] | [INFO] [stdout] 391 | let transaction = repository [INFO] [stdout] | _______________________^ [INFO] [stdout] 392 | | .begin_transaction() [INFO] [stdout] 393 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:364:13 [INFO] [stdout] | [INFO] [stdout] 364 | let repository = get_repository().await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 367 | let mut transaction = repository [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `repository` an explicit type [INFO] [stdout] | [INFO] [stdout] 364 | let repository: /* Type */ = get_repository().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:364:13 [INFO] [stdout] | [INFO] [stdout] 364 | let repository = get_repository().await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 367 | let mut transaction = repository [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `repository` an explicit type [INFO] [stdout] | [INFO] [stdout] 364 | let repository: /* Type */ = get_repository().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:367:31 [INFO] [stdout] | [INFO] [stdout] 367 | let mut transaction = repository [INFO] [stdout] | _______________________________^ [INFO] [stdout] 368 | | .begin_transaction() [INFO] [stdout] 369 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:367:31 [INFO] [stdout] | [INFO] [stdout] 367 | let mut transaction = repository [INFO] [stdout] | _______________________________^ [INFO] [stdout] 368 | | .begin_transaction() [INFO] [stdout] 369 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:372:9 [INFO] [stdout] | [INFO] [stdout] 372 | / transaction [INFO] [stdout] 373 | | .store(&mut account) [INFO] [stdout] 374 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:372:9 [INFO] [stdout] | [INFO] [stdout] 372 | / transaction [INFO] [stdout] 373 | | .store(&mut account) [INFO] [stdout] 374 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:377:9 [INFO] [stdout] | [INFO] [stdout] 377 | / transaction [INFO] [stdout] 378 | | .commit() [INFO] [stdout] 379 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:377:9 [INFO] [stdout] | [INFO] [stdout] 377 | / transaction [INFO] [stdout] 378 | | .commit() [INFO] [stdout] 379 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:390:9 [INFO] [stdout] | [INFO] [stdout] 390 | let repository = get_repository().await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 391 | let transaction = repository [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `repository` an explicit type [INFO] [stdout] | [INFO] [stdout] 390 | let repository: /* Type */ = get_repository().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:390:9 [INFO] [stdout] | [INFO] [stdout] 390 | let repository = get_repository().await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 391 | let transaction = repository [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `repository` an explicit type [INFO] [stdout] | [INFO] [stdout] 390 | let repository: /* Type */ = get_repository().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `pickle` found for struct `Account` in the current scope [INFO] [stdout] --> tests/common/helpers.rs:191:34 [INFO] [stdout] | [INFO] [stdout] 191 | .bind(snapshot.aggregate.pickle().expect("Failed to serialize snapshot")) [INFO] [stdout] | ^^^^^^ method not found in `Account` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/test_aggregate.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Account { [INFO] [stdout] | ------------------ method `pickle` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `pickle`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Pickle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:391:23 [INFO] [stdout] | [INFO] [stdout] 391 | let transaction = repository [INFO] [stdout] | _______________________^ [INFO] [stdout] 392 | | .begin_transaction() [INFO] [stdout] 393 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:391:23 [INFO] [stdout] | [INFO] [stdout] 391 | let transaction = repository [INFO] [stdout] | _______________________^ [INFO] [stdout] 392 | | .begin_transaction() [INFO] [stdout] 393 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:190:15 [INFO] [stdout] | [INFO] [stdout] 190 | let row = sqlx::query("UPDATE snapshots set aggregate = $1, snapshot_version = $2, version = $3 where aggregate_id = $4") [INFO] [stdout] | _______________^ [INFO] [stdout] 191 | | .bind(snapshot.aggregate.pickle().expect("Failed to serialize snapshot")) [INFO] [stdout] 192 | | .bind(snapshot.snapshot_version) [INFO] [stdout] 193 | | .bind(snapshot.version) [INFO] [stdout] 194 | | .bind(account_id) [INFO] [stdout] 195 | | .execute(&mut *pg_transaction) [INFO] [stdout] 196 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:396:15 [INFO] [stdout] | [INFO] [stdout] 396 | let row = sqlx::query("SELECT id, message, retries, requeue FROM outbox WHERE id = $1") [INFO] [stdout] | _______________^ [INFO] [stdout] 397 | | .bind(id) [INFO] [stdout] 398 | | .fetch_optional(&mut *transaction.into_inner()) [INFO] [stdout] 399 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:403:38 [INFO] [stdout] | [INFO] [stdout] 403 | let message_bytes: Vec = row [INFO] [stdout] | ^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:396:15 [INFO] [stdout] | [INFO] [stdout] 396 | let row = sqlx::query("SELECT id, message, retries, requeue FROM outbox WHERE id = $1") [INFO] [stdout] | _______________^ [INFO] [stdout] 397 | | .bind(id) [INFO] [stdout] 398 | | .fetch_optional(&mut *transaction.into_inner()) [INFO] [stdout] 399 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:403:38 [INFO] [stdout] | [INFO] [stdout] 403 | let message_bytes: Vec = row [INFO] [stdout] | ^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:396:15 [INFO] [stdout] | [INFO] [stdout] 396 | let row = sqlx::query("SELECT id, message, retries, requeue FROM outbox WHERE id = $1") [INFO] [stdout] | _______________^ [INFO] [stdout] 397 | | .bind(id) [INFO] [stdout] 398 | | .fetch_optional(&mut *transaction.into_inner()) [INFO] [stdout] 399 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:403:38 [INFO] [stdout] | [INFO] [stdout] 403 | let message_bytes: Vec = row [INFO] [stdout] | ^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:200:5 [INFO] [stdout] | [INFO] [stdout] 200 | / pg_transaction [INFO] [stdout] 201 | | .commit() [INFO] [stdout] 202 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:207:9 [INFO] [stdout] | [INFO] [stdout] 207 | let repository = get_repository().await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 208 | [INFO] [stdout] 209 | let mut transaction = repository [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `repository` an explicit type [INFO] [stdout] | [INFO] [stdout] 207 | let repository: /* Type */ = get_repository().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:209:27 [INFO] [stdout] | [INFO] [stdout] 209 | let mut transaction = repository [INFO] [stdout] | ___________________________^ [INFO] [stdout] 210 | | .begin_transaction() [INFO] [stdout] 211 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:215:5 [INFO] [stdout] | [INFO] [stdout] 215 | / sqlx::query("DELETE FROM snapshots WHERE aggregate_id = $1") [INFO] [stdout] 216 | | .bind(account_id) [INFO] [stdout] 217 | | .execute(&mut *transaction) [INFO] [stdout] 218 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:221:5 [INFO] [stdout] | [INFO] [stdout] 221 | / transaction [INFO] [stdout] 222 | | .commit() [INFO] [stdout] 223 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:228:9 [INFO] [stdout] | [INFO] [stdout] 228 | let repository = get_repository().await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 229 | [INFO] [stdout] 230 | let mut transaction = repository [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `repository` an explicit type [INFO] [stdout] | [INFO] [stdout] 228 | let repository: /* Type */ = get_repository().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:230:27 [INFO] [stdout] | [INFO] [stdout] 230 | let mut transaction = repository [INFO] [stdout] | ___________________________^ [INFO] [stdout] 231 | | .begin_transaction() [INFO] [stdout] 232 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `pickle` found for struct `Account` in the current scope [INFO] [stdout] --> tests/common/helpers.rs:238:34 [INFO] [stdout] | [INFO] [stdout] 238 | .bind(snapshot.aggregate.pickle().expect("Failed to serialize snapshot")) [INFO] [stdout] | ^^^^^^ method not found in `Account` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/test_aggregate.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Account { [INFO] [stdout] | ------------------ method `pickle` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `pickle`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Pickle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `unpickle` found for enum `SideEffects` in the current scope [INFO] [stdout] --> tests/common/helpers.rs:420:49 [INFO] [stdout] | [INFO] [stdout] 420 | super::test_aggregate::SideEffects::unpickle(plain) [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `SideEffects` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/test_aggregate.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | pub enum SideEffects { [INFO] [stdout] | -------------------- variant or associated item `unpickle` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `unpickle`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Pickle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `unpickle` found for enum `SideEffects` in the current scope [INFO] [stdout] --> tests/common/helpers.rs:420:49 [INFO] [stdout] | [INFO] [stdout] 420 | super::test_aggregate::SideEffects::unpickle(plain) [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `SideEffects` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/test_aggregate.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | pub enum SideEffects { [INFO] [stdout] | -------------------- variant or associated item `unpickle` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `unpickle`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Pickle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:236:5 [INFO] [stdout] | [INFO] [stdout] 236 | / sqlx::query("INSERT INTO snapshots (aggregate_id, aggregate, version, snapshot_version, created_at) VALUES ($1, $2, $3, $4, N... [INFO] [stdout] 237 | | .bind(account_id) [INFO] [stdout] 238 | | .bind(snapshot.aggregate.pickle().expect("Failed to serialize snapshot")) [INFO] [stdout] 239 | | .bind(snapshot.version) [INFO] [stdout] 240 | | .bind(version) [INFO] [stdout] 241 | | .execute(&mut *transaction) [INFO] [stdout] 242 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:245:5 [INFO] [stdout] | [INFO] [stdout] 245 | / transaction [INFO] [stdout] 246 | | .commit() [INFO] [stdout] 247 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:252:9 [INFO] [stdout] | [INFO] [stdout] 252 | let repository = get_repository().await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 253 | [INFO] [stdout] 254 | let mut transaction = repository [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `repository` an explicit type [INFO] [stdout] | [INFO] [stdout] 252 | let repository: /* Type */ = get_repository().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:254:27 [INFO] [stdout] | [INFO] [stdout] 254 | let mut transaction = repository [INFO] [stdout] | ___________________________^ [INFO] [stdout] 255 | | .begin_transaction() [INFO] [stdout] 256 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:259:37 [INFO] [stdout] | [INFO] [stdout] 259 | let context: Context = transaction [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 260 | | .get(&account_id) [INFO] [stdout] 261 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `unpickle` found for enum `SideEffects` in the current scope [INFO] [stdout] --> tests/common/helpers.rs:420:49 [INFO] [stdout] | [INFO] [stdout] 420 | super::test_aggregate::SideEffects::unpickle(plain) [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `SideEffects` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/test_aggregate.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | pub enum SideEffects { [INFO] [stdout] | -------------------- variant or associated item `unpickle` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `unpickle`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Pickle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `pickle` found for struct `Account` in the current scope [INFO] [stdout] --> tests/common/helpers.rs:238:34 [INFO] [stdout] | [INFO] [stdout] 238 | .bind(snapshot.aggregate.pickle().expect("Failed to serialize snapshot")) [INFO] [stdout] | ^^^^^^ method not found in `Account` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/test_aggregate.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Account { [INFO] [stdout] | ------------------ method `pickle` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `pickle`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Pickle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:236:5 [INFO] [stdout] | [INFO] [stdout] 236 | / sqlx::query("INSERT INTO snapshots (aggregate_id, aggregate, version, snapshot_version, created_at) VALUES ($1, $2, $3, $4, N... [INFO] [stdout] 237 | | .bind(account_id) [INFO] [stdout] 238 | | .bind(snapshot.aggregate.pickle().expect("Failed to serialize snapshot")) [INFO] [stdout] 239 | | .bind(snapshot.version) [INFO] [stdout] 240 | | .bind(version) [INFO] [stdout] 241 | | .execute(&mut *transaction) [INFO] [stdout] 242 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:245:5 [INFO] [stdout] | [INFO] [stdout] 245 | / transaction [INFO] [stdout] 246 | | .commit() [INFO] [stdout] 247 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:252:9 [INFO] [stdout] | [INFO] [stdout] 252 | let repository = get_repository().await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 253 | [INFO] [stdout] 254 | let mut transaction = repository [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `repository` an explicit type [INFO] [stdout] | [INFO] [stdout] 252 | let repository: /* Type */ = get_repository().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:254:27 [INFO] [stdout] | [INFO] [stdout] 254 | let mut transaction = repository [INFO] [stdout] | ___________________________^ [INFO] [stdout] 255 | | .begin_transaction() [INFO] [stdout] 256 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:259:37 [INFO] [stdout] | [INFO] [stdout] 259 | let context: Context = transaction [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 260 | | .get(&account_id) [INFO] [stdout] 261 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:268:9 [INFO] [stdout] | [INFO] [stdout] 268 | let repository = get_repository().await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 269 | [INFO] [stdout] 270 | let transaction = repository [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `repository` an explicit type [INFO] [stdout] | [INFO] [stdout] 268 | let repository: /* Type */ = get_repository().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:270:23 [INFO] [stdout] | [INFO] [stdout] 270 | let transaction = repository [INFO] [stdout] | _______________________^ [INFO] [stdout] 271 | | .begin_transaction() [INFO] [stdout] 272 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:276:9 [INFO] [stdout] | [INFO] [stdout] 276 | / sqlx::query("SELECT MAX(created_at) as created_at FROM events where aggregate_id = $1") [INFO] [stdout] 277 | | .bind(account_id) [INFO] [stdout] 278 | | .fetch_one(&mut *transaction.into_inner()) [INFO] [stdout] 279 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:364:13 [INFO] [stdout] | [INFO] [stdout] 364 | let repository = get_repository().await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 367 | let mut transaction = repository [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `repository` an explicit type [INFO] [stdout] | [INFO] [stdout] 364 | let repository: /* Type */ = get_repository().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:367:31 [INFO] [stdout] | [INFO] [stdout] 367 | let mut transaction = repository [INFO] [stdout] | _______________________________^ [INFO] [stdout] 368 | | .begin_transaction() [INFO] [stdout] 369 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:372:9 [INFO] [stdout] | [INFO] [stdout] 372 | / transaction [INFO] [stdout] 373 | | .store(&mut account) [INFO] [stdout] 374 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:377:9 [INFO] [stdout] | [INFO] [stdout] 377 | / transaction [INFO] [stdout] 378 | | .commit() [INFO] [stdout] 379 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:390:9 [INFO] [stdout] | [INFO] [stdout] 390 | let repository = get_repository().await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 391 | let transaction = repository [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `repository` an explicit type [INFO] [stdout] | [INFO] [stdout] 390 | let repository: /* Type */ = get_repository().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:391:23 [INFO] [stdout] | [INFO] [stdout] 391 | let transaction = repository [INFO] [stdout] | _______________________^ [INFO] [stdout] 392 | | .begin_transaction() [INFO] [stdout] 393 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:396:15 [INFO] [stdout] | [INFO] [stdout] 396 | let row = sqlx::query("SELECT id, message, retries, requeue FROM outbox WHERE id = $1") [INFO] [stdout] | _______________^ [INFO] [stdout] 397 | | .bind(id) [INFO] [stdout] 398 | | .fetch_optional(&mut *transaction.into_inner()) [INFO] [stdout] 399 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:403:38 [INFO] [stdout] | [INFO] [stdout] 403 | let message_bytes: Vec = row [INFO] [stdout] | ^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:268:9 [INFO] [stdout] | [INFO] [stdout] 268 | let repository = get_repository().await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 269 | [INFO] [stdout] 270 | let transaction = repository [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `repository` an explicit type [INFO] [stdout] | [INFO] [stdout] 268 | let repository: /* Type */ = get_repository().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:270:23 [INFO] [stdout] | [INFO] [stdout] 270 | let transaction = repository [INFO] [stdout] | _______________________^ [INFO] [stdout] 271 | | .begin_transaction() [INFO] [stdout] 272 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:276:9 [INFO] [stdout] | [INFO] [stdout] 276 | / sqlx::query("SELECT MAX(created_at) as created_at FROM events where aggregate_id = $1") [INFO] [stdout] 277 | | .bind(account_id) [INFO] [stdout] 278 | | .fetch_one(&mut *transaction.into_inner()) [INFO] [stdout] 279 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:364:13 [INFO] [stdout] | [INFO] [stdout] 364 | let repository = get_repository().await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 367 | let mut transaction = repository [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `repository` an explicit type [INFO] [stdout] | [INFO] [stdout] 364 | let repository: /* Type */ = get_repository().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:367:31 [INFO] [stdout] | [INFO] [stdout] 367 | let mut transaction = repository [INFO] [stdout] | _______________________________^ [INFO] [stdout] 368 | | .begin_transaction() [INFO] [stdout] 369 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:372:9 [INFO] [stdout] | [INFO] [stdout] 372 | / transaction [INFO] [stdout] 373 | | .store(&mut account) [INFO] [stdout] 374 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:377:9 [INFO] [stdout] | [INFO] [stdout] 377 | / transaction [INFO] [stdout] 378 | | .commit() [INFO] [stdout] 379 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:390:9 [INFO] [stdout] | [INFO] [stdout] 390 | let repository = get_repository().await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 391 | let transaction = repository [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `repository` an explicit type [INFO] [stdout] | [INFO] [stdout] 390 | let repository: /* Type */ = get_repository().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:391:23 [INFO] [stdout] | [INFO] [stdout] 391 | let transaction = repository [INFO] [stdout] | _______________________^ [INFO] [stdout] 392 | | .begin_transaction() [INFO] [stdout] 393 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:396:15 [INFO] [stdout] | [INFO] [stdout] 396 | let row = sqlx::query("SELECT id, message, retries, requeue FROM outbox WHERE id = $1") [INFO] [stdout] | _______________^ [INFO] [stdout] 397 | | .bind(id) [INFO] [stdout] 398 | | .fetch_optional(&mut *transaction.into_inner()) [INFO] [stdout] 399 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:403:38 [INFO] [stdout] | [INFO] [stdout] 403 | let message_bytes: Vec = row [INFO] [stdout] | ^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `unpickle` found for enum `SideEffects` in the current scope [INFO] [stdout] --> tests/common/helpers.rs:420:49 [INFO] [stdout] | [INFO] [stdout] 420 | super::test_aggregate::SideEffects::unpickle(plain) [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `SideEffects` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/test_aggregate.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | pub enum SideEffects { [INFO] [stdout] | -------------------- variant or associated item `unpickle` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `unpickle`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Pickle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `unpickle` found for enum `SideEffects` in the current scope [INFO] [stdout] --> tests/common/helpers.rs:420:49 [INFO] [stdout] | [INFO] [stdout] 420 | super::test_aggregate::SideEffects::unpickle(plain) [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `SideEffects` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/test_aggregate.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | pub enum SideEffects { [INFO] [stdout] | -------------------- variant or associated item `unpickle` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `unpickle`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Pickle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/multi_aggregate.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | / PostgresRepository::new( [INFO] [stdout] 26 | | connection_options, [INFO] [stdout] 27 | | pool_options, [INFO] [stdout] 28 | | TableConfig::new("events", "snapshots"), [INFO] [stdout] ... | [INFO] [stdout] 32 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:23:16 [INFO] [stdout] | [INFO] [stdout] 23 | let repo = PostgresRepository::new( [INFO] [stdout] | ________________^ [INFO] [stdout] 24 | | connection_options, [INFO] [stdout] 25 | | pool_options, [INFO] [stdout] 26 | | TableConfig::new("events", "snapshots"), [INFO] [stdout] ... | [INFO] [stdout] 30 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | / repo.run_migrations() [INFO] [stdout] 33 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:47:16 [INFO] [stdout] | [INFO] [stdout] 47 | let repo = PostgresRepository::new( [INFO] [stdout] | ________________^ [INFO] [stdout] 48 | | connection_options, [INFO] [stdout] 49 | | pool_options, [INFO] [stdout] 50 | | TableConfig::new("events", "snapshots"), [INFO] [stdout] ... | [INFO] [stdout] 54 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | / repo.run_migrations() [INFO] [stdout] 57 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | let repository = get_repository().await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 71 | [INFO] [stdout] 72 | let transaction = repository [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `repository` an explicit type [INFO] [stdout] | [INFO] [stdout] 70 | let repository: /* Type */ = get_repository().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:72:23 [INFO] [stdout] | [INFO] [stdout] 72 | let transaction = repository [INFO] [stdout] | _______________________^ [INFO] [stdout] 73 | | .begin_transaction() [INFO] [stdout] 74 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:77:15 [INFO] [stdout] | [INFO] [stdout] 77 | let row = sqlx::query( [INFO] [stdout] | _______________^ [INFO] [stdout] 78 | | "SELECT aggregate, version, snapshot_version FROM snapshots where aggregate_id = $1", [INFO] [stdout] 79 | | ) [INFO] [stdout] 80 | | .bind(account_id) [INFO] [stdout] 81 | | .fetch_optional(&mut *transaction.into_inner()) [INFO] [stdout] 82 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:85:14 [INFO] [stdout] | [INFO] [stdout] 85 | row.map(|row| { [INFO] [stdout] | ^^^ [INFO] [stdout] 86 | let aggregate_bytes: Result, _> = row.try_get("aggregate"); [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 85 | row.map(|row: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `unpickle` found for struct `Account` in the current scope [INFO] [stdout] --> tests/common/helpers.rs:91:33 [INFO] [stdout] | [INFO] [stdout] 91 | aggregate: Account::unpickle(&aggregate_bytes.unwrap()).unwrap(), [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `Account` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/test_aggregate.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Account { [INFO] [stdout] | ------------------ function or associated item `unpickle` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `unpickle`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Pickle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | let repository = get_repository().await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 103 | [INFO] [stdout] 104 | let transaction = repository [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `repository` an explicit type [INFO] [stdout] | [INFO] [stdout] 102 | let repository: /* Type */ = get_repository().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:104:23 [INFO] [stdout] | [INFO] [stdout] 104 | let transaction = repository [INFO] [stdout] | _______________________^ [INFO] [stdout] 105 | | .begin_transaction() [INFO] [stdout] 106 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:109:15 [INFO] [stdout] | [INFO] [stdout] 109 | let row = sqlx::query( [INFO] [stdout] | _______________^ [INFO] [stdout] 110 | | "SELECT aggregate, version, snapshot_version FROM snapshots WHERE aggregate_id = $1 AND snapshot_version = $2", [INFO] [stdout] 111 | | ) [INFO] [stdout] 112 | | .bind(account_id) [INFO] [stdout] 113 | | .bind(snapshot_version) [INFO] [stdout] 114 | | .fetch_optional(&mut *transaction.into_inner()) [INFO] [stdout] 115 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:118:14 [INFO] [stdout] | [INFO] [stdout] 118 | row.map(|row| { [INFO] [stdout] | ^^^ [INFO] [stdout] 119 | let aggregate_bytes: Result, _> = row.try_get("aggregate"); [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 118 | row.map(|row: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `unpickle` found for struct `Account` in the current scope [INFO] [stdout] --> tests/common/helpers.rs:124:33 [INFO] [stdout] | [INFO] [stdout] 124 | aggregate: Account::unpickle(&aggregate_bytes.unwrap()).unwrap(), [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `Account` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/test_aggregate.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Account { [INFO] [stdout] | ------------------ function or associated item `unpickle` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `unpickle`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Pickle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | let repository = get_repository().await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 133 | [INFO] [stdout] 134 | let transaction = repository [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `repository` an explicit type [INFO] [stdout] | [INFO] [stdout] 132 | let repository: /* Type */ = get_repository().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:134:23 [INFO] [stdout] | [INFO] [stdout] 134 | let transaction = repository [INFO] [stdout] | _______________________^ [INFO] [stdout] 135 | | .begin_transaction() [INFO] [stdout] 136 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:139:16 [INFO] [stdout] | [INFO] [stdout] 139 | let rows = sqlx::query( [INFO] [stdout] | ________________^ [INFO] [stdout] 140 | | "SELECT aggregate, version, snapshot_version FROM snapshots WHERE aggregate_id = $1 ORDER BY snapshot_version ASC", [INFO] [stdout] 141 | | ) [INFO] [stdout] 142 | | .bind(account_id) [INFO] [stdout] 143 | | .fetch_all(&mut *transaction.into_inner()) [INFO] [stdout] 144 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:148:15 [INFO] [stdout] | [INFO] [stdout] 148 | .map(|row| { [INFO] [stdout] | ^^^ [INFO] [stdout] 149 | let aggregate_bytes: Result, _> = row.try_get("aggregate"); [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 148 | .map(|row: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `unpickle` found for struct `Account` in the current scope [INFO] [stdout] --> tests/common/helpers.rs:154:37 [INFO] [stdout] | [INFO] [stdout] 154 | aggregate: Account::unpickle(&aggregate_bytes.unwrap()).unwrap(), [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `Account` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/test_aggregate.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Account { [INFO] [stdout] | ------------------ function or associated item `unpickle` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `unpickle`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Pickle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 163 | let repository = get_repository().await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 164 | [INFO] [stdout] 165 | let transaction = repository [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `repository` an explicit type [INFO] [stdout] | [INFO] [stdout] 163 | let repository: /* Type */ = get_repository().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:165:23 [INFO] [stdout] | [INFO] [stdout] 165 | let transaction = repository [INFO] [stdout] | _______________________^ [INFO] [stdout] 166 | | .begin_transaction() [INFO] [stdout] 167 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/postgres.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let repository = get_repository().await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | let mut transaction = repository [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `repository` an explicit type [INFO] [stdout] | [INFO] [stdout] 16 | let repository: /* Type */ = get_repository().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/postgres.rs:20:27 [INFO] [stdout] | [INFO] [stdout] 20 | let mut transaction = repository [INFO] [stdout] | ___________________________^ [INFO] [stdout] 21 | | .begin_transaction() [INFO] [stdout] 22 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/validation.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | let repository = get_repository().await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | let mut transaction = repository [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `repository` an explicit type [INFO] [stdout] | [INFO] [stdout] 15 | let repository: /* Type */ = get_repository().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:170:15 [INFO] [stdout] | [INFO] [stdout] 170 | let row = sqlx::query("SELECT COUNT(*) as count FROM snapshots WHERE aggregate_id = $1") [INFO] [stdout] | _______________^ [INFO] [stdout] 171 | | .bind(account_id) [INFO] [stdout] 172 | | .fetch_one(&mut *transaction.into_inner()) [INFO] [stdout] 173 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 181 | let repository = get_repository().await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 182 | [INFO] [stdout] 183 | let transaction = repository [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `repository` an explicit type [INFO] [stdout] | [INFO] [stdout] 181 | let repository: /* Type */ = get_repository().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:183:23 [INFO] [stdout] | [INFO] [stdout] 183 | let transaction = repository [INFO] [stdout] | _______________________^ [INFO] [stdout] 184 | | .begin_transaction() [INFO] [stdout] 185 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/validation.rs:33:27 [INFO] [stdout] | [INFO] [stdout] 33 | let mut transaction = repository [INFO] [stdout] | ___________________________^ [INFO] [stdout] 34 | | .begin_transaction() [INFO] [stdout] 35 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/side_effect.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | let repository = get_repository().await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | let mut transaction = repository [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `repository` an explicit type [INFO] [stdout] | [INFO] [stdout] 12 | let repository: /* Type */ = get_repository().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/validation.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | / transaction [INFO] [stdout] 46 | | .commit() [INFO] [stdout] 47 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/postgres.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | / transaction [INFO] [stdout] 33 | | .commit() [INFO] [stdout] 34 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/side_effect.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 31 | let mut transaction = repository [INFO] [stdout] | ___________________________^ [INFO] [stdout] 32 | | .begin_transaction() [INFO] [stdout] 33 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/snapshots.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let repository = get_repository().await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | let mut transaction = repository [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `repository` an explicit type [INFO] [stdout] | [INFO] [stdout] 14 | let repository: /* Type */ = get_repository().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/validation.rs:64:27 [INFO] [stdout] | [INFO] [stdout] 64 | let mut transaction = repository [INFO] [stdout] | ___________________________^ [INFO] [stdout] 65 | | .begin_transaction() [INFO] [stdout] 66 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/side_effect.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | / transaction [INFO] [stdout] 42 | | .commit() [INFO] [stdout] 43 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/postgres.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | let repository = get_repository().await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | let mut transaction = repository [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `repository` an explicit type [INFO] [stdout] | [INFO] [stdout] 48 | let repository: /* Type */ = get_repository().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `pickle` found for struct `Account` in the current scope [INFO] [stdout] --> tests/common/helpers.rs:191:34 [INFO] [stdout] | [INFO] [stdout] 191 | .bind(snapshot.aggregate.pickle().expect("Failed to serialize snapshot")) [INFO] [stdout] | ^^^^^^ method not found in `Account` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/test_aggregate.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Account { [INFO] [stdout] | ------------------ method `pickle` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `pickle`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Pickle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/snapshots.rs:18:27 [INFO] [stdout] | [INFO] [stdout] 18 | let mut transaction = repository [INFO] [stdout] | ___________________________^ [INFO] [stdout] 19 | | .begin_transaction() [INFO] [stdout] 20 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/snapshots.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | / transaction [INFO] [stdout] 31 | | .commit() [INFO] [stdout] 32 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:190:15 [INFO] [stdout] | [INFO] [stdout] 190 | let row = sqlx::query("UPDATE snapshots set aggregate = $1, snapshot_version = $2, version = $3 where aggregate_id = $4") [INFO] [stdout] | _______________^ [INFO] [stdout] 191 | | .bind(snapshot.aggregate.pickle().expect("Failed to serialize snapshot")) [INFO] [stdout] 192 | | .bind(snapshot.snapshot_version) [INFO] [stdout] 193 | | .bind(snapshot.version) [INFO] [stdout] 194 | | .bind(account_id) [INFO] [stdout] 195 | | .execute(&mut *pg_transaction) [INFO] [stdout] 196 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/postgres.rs:54:27 [INFO] [stdout] | [INFO] [stdout] 54 | let mut transaction = repository [INFO] [stdout] | ___________________________^ [INFO] [stdout] 55 | | .begin_transaction() [INFO] [stdout] 56 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:200:5 [INFO] [stdout] | [INFO] [stdout] 200 | / pg_transaction [INFO] [stdout] 201 | | .commit() [INFO] [stdout] 202 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/validation.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | let repository = get_repository().await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | let mut transaction = repository [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `repository` an explicit type [INFO] [stdout] | [INFO] [stdout] 95 | let repository: /* Type */ = get_repository().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:207:9 [INFO] [stdout] | [INFO] [stdout] 207 | let repository = get_repository().await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 208 | [INFO] [stdout] 209 | let mut transaction = repository [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `repository` an explicit type [INFO] [stdout] | [INFO] [stdout] 207 | let repository: /* Type */ = get_repository().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:209:27 [INFO] [stdout] | [INFO] [stdout] 209 | let mut transaction = repository [INFO] [stdout] | ___________________________^ [INFO] [stdout] 210 | | .begin_transaction() [INFO] [stdout] 211 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/postgres.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | / transaction [INFO] [stdout] 66 | | .commit() [INFO] [stdout] 67 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:215:5 [INFO] [stdout] | [INFO] [stdout] 215 | / sqlx::query("DELETE FROM snapshots WHERE aggregate_id = $1") [INFO] [stdout] 216 | | .bind(account_id) [INFO] [stdout] 217 | | .execute(&mut *transaction) [INFO] [stdout] 218 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:221:5 [INFO] [stdout] | [INFO] [stdout] 221 | / transaction [INFO] [stdout] 222 | | .commit() [INFO] [stdout] 223 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:228:9 [INFO] [stdout] | [INFO] [stdout] 228 | let repository = get_repository().await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 229 | [INFO] [stdout] 230 | let mut transaction = repository [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `repository` an explicit type [INFO] [stdout] | [INFO] [stdout] 228 | let repository: /* Type */ = get_repository().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:230:27 [INFO] [stdout] | [INFO] [stdout] 230 | let mut transaction = repository [INFO] [stdout] | ___________________________^ [INFO] [stdout] 231 | | .begin_transaction() [INFO] [stdout] 232 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/validation.rs:113:27 [INFO] [stdout] | [INFO] [stdout] 113 | let mut transaction = repository [INFO] [stdout] | ___________________________^ [INFO] [stdout] 114 | | .begin_transaction() [INFO] [stdout] 115 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/validation.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | / transaction [INFO] [stdout] 126 | | .commit() [INFO] [stdout] 127 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/side_effect.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | let repository = get_repository().await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | let mut transaction = repository [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `repository` an explicit type [INFO] [stdout] | [INFO] [stdout] 74 | let repository: /* Type */ = get_repository().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/side_effect.rs:104:27 [INFO] [stdout] | [INFO] [stdout] 104 | let mut transaction = repository [INFO] [stdout] | ___________________________^ [INFO] [stdout] 105 | | .begin_transaction() [INFO] [stdout] 106 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/validation.rs:138:27 [INFO] [stdout] | [INFO] [stdout] 138 | let mut transaction = repository [INFO] [stdout] | ___________________________^ [INFO] [stdout] 139 | | .begin_transaction() [INFO] [stdout] 140 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/postgres.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | let repository = get_repository().await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | let mut transaction = repository [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `repository` an explicit type [INFO] [stdout] | [INFO] [stdout] 81 | let repository: /* Type */ = get_repository().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/validation.rs:149:5 [INFO] [stdout] | [INFO] [stdout] 149 | / transaction [INFO] [stdout] 150 | | .commit() [INFO] [stdout] 151 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/postgres.rs:85:27 [INFO] [stdout] | [INFO] [stdout] 85 | let mut transaction = repository [INFO] [stdout] | ___________________________^ [INFO] [stdout] 86 | | .begin_transaction() [INFO] [stdout] 87 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/side_effect.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | / transaction [INFO] [stdout] 115 | | .commit() [INFO] [stdout] 116 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/postgres.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | / transaction [INFO] [stdout] 105 | | .rollback() [INFO] [stdout] 106 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/postgres.rs:111:32 [INFO] [stdout] | [INFO] [stdout] 111 | let mut load_transaction = repository [INFO] [stdout] | ________________________________^ [INFO] [stdout] 112 | | .begin_transaction() [INFO] [stdout] 113 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/validation.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | let repository = get_repository().await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | let mut transaction = repository [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `repository` an explicit type [INFO] [stdout] | [INFO] [stdout] 178 | let repository: /* Type */ = get_repository().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/postgres.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | / load_transaction [INFO] [stdout] 126 | | .commit() [INFO] [stdout] 127 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/validation.rs:181:27 [INFO] [stdout] | [INFO] [stdout] 181 | let mut transaction = repository [INFO] [stdout] | ___________________________^ [INFO] [stdout] 182 | | .begin_transaction() [INFO] [stdout] 183 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `pickle` found for struct `Account` in the current scope [INFO] [stdout] --> tests/common/helpers.rs:238:34 [INFO] [stdout] | [INFO] [stdout] 238 | .bind(snapshot.aggregate.pickle().expect("Failed to serialize snapshot")) [INFO] [stdout] | ^^^^^^ method not found in `Account` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/test_aggregate.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Account { [INFO] [stdout] | ------------------ method `pickle` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `pickle`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Pickle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:236:5 [INFO] [stdout] | [INFO] [stdout] 236 | / sqlx::query("INSERT INTO snapshots (aggregate_id, aggregate, version, snapshot_version, created_at) VALUES ($1, $2, $3, $4, N... [INFO] [stdout] 237 | | .bind(account_id) [INFO] [stdout] 238 | | .bind(snapshot.aggregate.pickle().expect("Failed to serialize snapshot")) [INFO] [stdout] 239 | | .bind(snapshot.version) [INFO] [stdout] 240 | | .bind(version) [INFO] [stdout] 241 | | .execute(&mut *transaction) [INFO] [stdout] 242 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:245:5 [INFO] [stdout] | [INFO] [stdout] 245 | / transaction [INFO] [stdout] 246 | | .commit() [INFO] [stdout] 247 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:252:9 [INFO] [stdout] | [INFO] [stdout] 252 | let repository = get_repository().await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 253 | [INFO] [stdout] 254 | let mut transaction = repository [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `repository` an explicit type [INFO] [stdout] | [INFO] [stdout] 252 | let repository: /* Type */ = get_repository().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/side_effect.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | let repository = get_repository().await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 180 | let mut transaction = repository [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `repository` an explicit type [INFO] [stdout] | [INFO] [stdout] 145 | let repository: /* Type */ = get_repository().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:254:27 [INFO] [stdout] | [INFO] [stdout] 254 | let mut transaction = repository [INFO] [stdout] | ___________________________^ [INFO] [stdout] 255 | | .begin_transaction() [INFO] [stdout] 256 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/postgres.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | let repository = get_repository().await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | let mut transaction = repository [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `repository` an explicit type [INFO] [stdout] | [INFO] [stdout] 134 | let repository: /* Type */ = get_repository().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/validation.rs:193:5 [INFO] [stdout] | [INFO] [stdout] 193 | / transaction [INFO] [stdout] 194 | | .commit() [INFO] [stdout] 195 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:259:37 [INFO] [stdout] | [INFO] [stdout] 259 | let context: Context = transaction [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 260 | | .get(&account_id) [INFO] [stdout] 261 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/side_effect.rs:180:27 [INFO] [stdout] | [INFO] [stdout] 180 | let mut transaction = repository [INFO] [stdout] | ___________________________^ [INFO] [stdout] 181 | | .begin_transaction() [INFO] [stdout] 182 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:268:9 [INFO] [stdout] | [INFO] [stdout] 268 | let repository = get_repository().await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 269 | [INFO] [stdout] 270 | let transaction = repository [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `repository` an explicit type [INFO] [stdout] | [INFO] [stdout] 268 | let repository: /* Type */ = get_repository().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:270:23 [INFO] [stdout] | [INFO] [stdout] 270 | let transaction = repository [INFO] [stdout] | _______________________^ [INFO] [stdout] 271 | | .begin_transaction() [INFO] [stdout] 272 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:276:9 [INFO] [stdout] | [INFO] [stdout] 276 | / sqlx::query("SELECT MAX(created_at) as created_at FROM events where aggregate_id = $1") [INFO] [stdout] 277 | | .bind(account_id) [INFO] [stdout] 278 | | .fetch_one(&mut *transaction.into_inner()) [INFO] [stdout] 279 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:364:13 [INFO] [stdout] | [INFO] [stdout] 364 | let repository = get_repository().await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 367 | let mut transaction = repository [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `repository` an explicit type [INFO] [stdout] | [INFO] [stdout] 364 | let repository: /* Type */ = get_repository().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:367:31 [INFO] [stdout] | [INFO] [stdout] 367 | let mut transaction = repository [INFO] [stdout] | _______________________________^ [INFO] [stdout] 368 | | .begin_transaction() [INFO] [stdout] 369 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/snapshots.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | let repository = get_repository().await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | let mut transaction = repository [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `repository` an explicit type [INFO] [stdout] | [INFO] [stdout] 75 | let repository: /* Type */ = get_repository().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/snapshots.rs:97:27 [INFO] [stdout] | [INFO] [stdout] 97 | let mut transaction = repository [INFO] [stdout] | ___________________________^ [INFO] [stdout] 98 | | .begin_transaction() [INFO] [stdout] 99 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/snapshots.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 105 | / transaction [INFO] [stdout] 106 | | .commit() [INFO] [stdout] 107 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:372:9 [INFO] [stdout] | [INFO] [stdout] 372 | / transaction [INFO] [stdout] 373 | | .store(&mut account) [INFO] [stdout] 374 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/validation.rs:211:27 [INFO] [stdout] | [INFO] [stdout] 211 | let mut transaction = repository [INFO] [stdout] | ___________________________^ [INFO] [stdout] 212 | | .begin_transaction() [INFO] [stdout] 213 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:377:9 [INFO] [stdout] | [INFO] [stdout] 377 | / transaction [INFO] [stdout] 378 | | .commit() [INFO] [stdout] 379 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:390:9 [INFO] [stdout] | [INFO] [stdout] 390 | let repository = get_repository().await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 391 | let transaction = repository [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `repository` an explicit type [INFO] [stdout] | [INFO] [stdout] 390 | let repository: /* Type */ = get_repository().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:391:23 [INFO] [stdout] | [INFO] [stdout] 391 | let transaction = repository [INFO] [stdout] | _______________________^ [INFO] [stdout] 392 | | .begin_transaction() [INFO] [stdout] 393 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:396:15 [INFO] [stdout] | [INFO] [stdout] 396 | let row = sqlx::query("SELECT id, message, retries, requeue FROM outbox WHERE id = $1") [INFO] [stdout] | _______________^ [INFO] [stdout] 397 | | .bind(id) [INFO] [stdout] 398 | | .fetch_optional(&mut *transaction.into_inner()) [INFO] [stdout] 399 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/postgres.rs:149:27 [INFO] [stdout] | [INFO] [stdout] 149 | let mut transaction = repository [INFO] [stdout] | ___________________________^ [INFO] [stdout] 150 | | .begin_transaction() [INFO] [stdout] 151 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/helpers.rs:403:38 [INFO] [stdout] | [INFO] [stdout] 403 | let message_bytes: Vec = row [INFO] [stdout] | ^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/postgres.rs:161:38 [INFO] [stdout] | [INFO] [stdout] 161 | let mut concurrent_transaction = repository [INFO] [stdout] | ______________________________________^ [INFO] [stdout] 162 | | .begin_transaction() [INFO] [stdout] 163 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/postgres.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 177 | / concurrent_transaction [INFO] [stdout] 178 | | .commit() [INFO] [stdout] 179 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/multi_aggregate.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | let account_repo = get_repository().await; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | let mut account_tx = account_repo [INFO] [stdout] | ------------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `account_repo` an explicit type [INFO] [stdout] | [INFO] [stdout] 39 | let account_repo: /* Type */ = get_repository().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/postgres.rs:183:5 [INFO] [stdout] | [INFO] [stdout] 183 | / transaction [INFO] [stdout] 184 | | .commit() [INFO] [stdout] 185 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/multi_aggregate.rs:47:26 [INFO] [stdout] | [INFO] [stdout] 47 | let mut account_tx = account_repo [INFO] [stdout] | __________________________^ [INFO] [stdout] 48 | | .begin_transaction() [INFO] [stdout] 49 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/postgres.rs:189:40 [INFO] [stdout] | [INFO] [stdout] 189 | let mut verification_transaction = repository [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 190 | | .begin_transaction() [INFO] [stdout] 191 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/postgres.rs:203:5 [INFO] [stdout] | [INFO] [stdout] 203 | / verification_transaction [INFO] [stdout] 204 | | .commit() [INFO] [stdout] 205 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/multi_aggregate.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | / account_tx [INFO] [stdout] 61 | | .store(&mut account) [INFO] [stdout] 62 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/multi_aggregate.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | let order_repo = get_order_repository().await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | let mut order_tx = order_repo.transaction_from(raw_tx); [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `order_repo` an explicit type [INFO] [stdout] | [INFO] [stdout] 40 | let order_repo: /* Type */ = get_order_repository().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/side_effect.rs:188:5 [INFO] [stdout] | [INFO] [stdout] 188 | / transaction [INFO] [stdout] 189 | | .commit() [INFO] [stdout] 190 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/postgres.rs:212:9 [INFO] [stdout] | [INFO] [stdout] 212 | let repository = get_repository().await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 219 | let mut transaction = repository [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `repository` an explicit type [INFO] [stdout] | [INFO] [stdout] 212 | let repository: /* Type */ = get_repository().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/postgres.rs:219:27 [INFO] [stdout] | [INFO] [stdout] 219 | let mut transaction = repository [INFO] [stdout] | ___________________________^ [INFO] [stdout] 220 | | .begin_transaction() [INFO] [stdout] 221 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/multi_aggregate.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | / order_tx [INFO] [stdout] 78 | | .store(&mut order) [INFO] [stdout] 79 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/postgres.rs:241:5 [INFO] [stdout] | [INFO] [stdout] 241 | / transaction [INFO] [stdout] 242 | | .commit() [INFO] [stdout] 243 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/multi_aggregate.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | / order_tx [INFO] [stdout] 84 | | .commit() [INFO] [stdout] 85 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/multi_aggregate.rs:89:31 [INFO] [stdout] | [INFO] [stdout] 89 | let mut account_load_tx = account_repo [INFO] [stdout] | _______________________________^ [INFO] [stdout] 90 | | .begin_transaction() [INFO] [stdout] 91 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/postgres.rs:254:9 [INFO] [stdout] | [INFO] [stdout] 254 | let repository = get_repository().await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 262 | let mut transaction = repository [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `repository` an explicit type [INFO] [stdout] | [INFO] [stdout] 254 | let repository: /* Type */ = get_repository().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `unpickle` found for enum `SideEffects` in the current scope [INFO] [stdout] --> tests/common/helpers.rs:420:49 [INFO] [stdout] | [INFO] [stdout] 420 | super::test_aggregate::SideEffects::unpickle(plain) [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `SideEffects` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/test_aggregate.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | pub enum SideEffects { [INFO] [stdout] | -------------------- variant or associated item `unpickle` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `unpickle`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Pickle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/postgres.rs:262:27 [INFO] [stdout] | [INFO] [stdout] 262 | let mut transaction = repository [INFO] [stdout] | ___________________________^ [INFO] [stdout] 263 | | .begin_transaction() [INFO] [stdout] 264 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/snapshots.rs:202:9 [INFO] [stdout] | [INFO] [stdout] 202 | let repository = get_repository().await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 208 | let mut transaction = repository [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `repository` an explicit type [INFO] [stdout] | [INFO] [stdout] 202 | let repository: /* Type */ = get_repository().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/multi_aggregate.rs:93:26 [INFO] [stdout] | [INFO] [stdout] 93 | let loaded_account = account_load_tx [INFO] [stdout] | __________________________^ [INFO] [stdout] 94 | | .get(&account_id) [INFO] [stdout] 95 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/multi_aggregate.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | / account_load_tx [INFO] [stdout] 100 | | .commit() [INFO] [stdout] 101 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/postgres.rs:296:5 [INFO] [stdout] | [INFO] [stdout] 296 | / transaction [INFO] [stdout] 297 | | .commit() [INFO] [stdout] 298 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/snapshots.rs:208:27 [INFO] [stdout] | [INFO] [stdout] 208 | let mut transaction = repository [INFO] [stdout] | ___________________________^ [INFO] [stdout] 209 | | .begin_transaction() [INFO] [stdout] 210 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/multi_aggregate.rs:104:29 [INFO] [stdout] | [INFO] [stdout] 104 | let mut order_load_tx = order_repo [INFO] [stdout] | _____________________________^ [INFO] [stdout] 105 | | .begin_transaction() [INFO] [stdout] 106 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/multi_aggregate.rs:108:24 [INFO] [stdout] | [INFO] [stdout] 108 | let loaded_order = order_load_tx [INFO] [stdout] | ________________________^ [INFO] [stdout] 109 | | .get(&order_id) [INFO] [stdout] 110 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/snapshots.rs:216:5 [INFO] [stdout] | [INFO] [stdout] 216 | / transaction [INFO] [stdout] 217 | | .commit() [INFO] [stdout] 218 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/encryption.rs:293:9 [INFO] [stdout] | [INFO] [stdout] 293 | let repository = get_encrypted_repository().await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 294 | [INFO] [stdout] 295 | let mut transaction = repository [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `repository` an explicit type [INFO] [stdout] | [INFO] [stdout] 293 | let repository: /* Type */ = get_encrypted_repository().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/multi_aggregate.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 115 | / order_load_tx [INFO] [stdout] 116 | | .commit() [INFO] [stdout] 117 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/encryption.rs:295:27 [INFO] [stdout] | [INFO] [stdout] 295 | let mut transaction = repository [INFO] [stdout] | ___________________________^ [INFO] [stdout] 296 | | .begin_transaction() [INFO] [stdout] 297 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/encryption.rs:300:5 [INFO] [stdout] | [INFO] [stdout] 300 | / transaction [INFO] [stdout] 301 | | .get(&account_id) [INFO] [stdout] 302 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/postgres.rs:313:9 [INFO] [stdout] | [INFO] [stdout] 313 | let repository = get_repository().await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 323 | let mut transaction = repository [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `repository` an explicit type [INFO] [stdout] | [INFO] [stdout] 313 | let repository: /* Type */ = get_repository().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/postgres.rs:323:27 [INFO] [stdout] | [INFO] [stdout] 323 | let mut transaction = repository [INFO] [stdout] | ___________________________^ [INFO] [stdout] 324 | | .begin_transaction() [INFO] [stdout] 325 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/postgres.rs:355:5 [INFO] [stdout] | [INFO] [stdout] 355 | / transaction [INFO] [stdout] 356 | | .commit() [INFO] [stdout] 357 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/snapshots.rs:236:27 [INFO] [stdout] | [INFO] [stdout] 236 | let mut transaction = repository [INFO] [stdout] | ___________________________^ [INFO] [stdout] 237 | | .begin_transaction() [INFO] [stdout] 238 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/snapshots.rs:244:5 [INFO] [stdout] | [INFO] [stdout] 244 | / transaction [INFO] [stdout] 245 | | .commit() [INFO] [stdout] 246 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/postgres.rs:371:9 [INFO] [stdout] | [INFO] [stdout] 371 | let repository = get_repository().await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 379 | let mut transaction = repository [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `repository` an explicit type [INFO] [stdout] | [INFO] [stdout] 371 | let repository: /* Type */ = get_repository().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/postgres.rs:379:27 [INFO] [stdout] | [INFO] [stdout] 379 | let mut transaction = repository [INFO] [stdout] | ___________________________^ [INFO] [stdout] 380 | | .begin_transaction() [INFO] [stdout] 381 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/postgres.rs:399:5 [INFO] [stdout] | [INFO] [stdout] 399 | / transaction [INFO] [stdout] 400 | | .rollback() [INFO] [stdout] 401 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/postgres.rs:405:36 [INFO] [stdout] | [INFO] [stdout] 405 | let mut recovery_transaction = repository [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 406 | | .begin_transaction() [INFO] [stdout] 407 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/postgres.rs:432:5 [INFO] [stdout] | [INFO] [stdout] 432 | / recovery_transaction [INFO] [stdout] 433 | | .commit() [INFO] [stdout] 434 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/postgres.rs:452:9 [INFO] [stdout] | [INFO] [stdout] 452 | let repository = get_repository().await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 462 | let loaded_account: Context = repository [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `repository` an explicit type [INFO] [stdout] | [INFO] [stdout] 452 | let repository: /* Type */ = get_repository().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/postgres.rs:462:44 [INFO] [stdout] | [INFO] [stdout] 462 | let loaded_account: Context = repository [INFO] [stdout] | ____________________________________________^ [INFO] [stdout] 463 | | .load(&account_id) [INFO] [stdout] 464 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/postgres.rs:478:9 [INFO] [stdout] | [INFO] [stdout] 478 | let repository = get_repository().await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 485 | let mut transaction = repository [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `repository` an explicit type [INFO] [stdout] | [INFO] [stdout] 478 | let repository: /* Type */ = get_repository().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/postgres.rs:485:27 [INFO] [stdout] | [INFO] [stdout] 485 | let mut transaction = repository [INFO] [stdout] | ___________________________^ [INFO] [stdout] 486 | | .begin_transaction() [INFO] [stdout] 487 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/postgres.rs:489:5 [INFO] [stdout] | [INFO] [stdout] 489 | / transaction [INFO] [stdout] 490 | | .store(&mut account) [INFO] [stdout] 491 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/postgres.rs:493:5 [INFO] [stdout] | [INFO] [stdout] 493 | / transaction [INFO] [stdout] 494 | | .commit() [INFO] [stdout] 495 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/postgres.rs:498:27 [INFO] [stdout] | [INFO] [stdout] 498 | let mut transaction = repository [INFO] [stdout] | ___________________________^ [INFO] [stdout] 499 | | .begin_transaction() [INFO] [stdout] 500 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/postgres.rs:505:9 [INFO] [stdout] | [INFO] [stdout] 505 | let mut events_stream = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 509 | while let Some(event_result) = events_stream.next().await { [INFO] [stdout] | ------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `events_stream` an explicit type [INFO] [stdout] | [INFO] [stdout] 505 | let mut events_stream: /* Type */ = [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/postgres.rs:510:21 [INFO] [stdout] | [INFO] [stdout] 510 | let event = event_result.expect("Failed to get event from stream"); [INFO] [stdout] | ^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/encryption.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let repository = get_encrypted_repository().await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | let mut transaction = repository [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `repository` an explicit type [INFO] [stdout] | [INFO] [stdout] 18 | let repository: /* Type */ = get_encrypted_repository().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/encryption.rs:22:27 [INFO] [stdout] | [INFO] [stdout] 22 | let mut transaction = repository [INFO] [stdout] | ___________________________^ [INFO] [stdout] 23 | | .begin_transaction() [INFO] [stdout] 24 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/encryption.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | / transaction [INFO] [stdout] 34 | | .commit() [INFO] [stdout] 35 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/encryption.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | let repository = get_encrypted_repository().await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | let mut transaction = repository [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `repository` an explicit type [INFO] [stdout] | [INFO] [stdout] 48 | let repository: /* Type */ = get_encrypted_repository().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/encryption.rs:63:27 [INFO] [stdout] | [INFO] [stdout] 63 | let mut transaction = repository [INFO] [stdout] | ___________________________^ [INFO] [stdout] 64 | | .begin_transaction() [INFO] [stdout] 65 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/encryption.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | / transaction [INFO] [stdout] 74 | | .commit() [INFO] [stdout] 75 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/encryption.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | let repository = get_encrypted_repository().await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | let mut transaction = repository [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `repository` an explicit type [INFO] [stdout] | [INFO] [stdout] 94 | let repository: /* Type */ = get_encrypted_repository().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/encryption.rs:109:27 [INFO] [stdout] | [INFO] [stdout] 109 | let mut transaction = repository [INFO] [stdout] | ___________________________^ [INFO] [stdout] 110 | | .begin_transaction() [INFO] [stdout] 111 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/encryption.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | / transaction [INFO] [stdout] 120 | | .commit() [INFO] [stdout] 121 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/encryption.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | let repository = get_encrypted_repository().await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | let mut transaction = repository [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `repository` an explicit type [INFO] [stdout] | [INFO] [stdout] 137 | let repository: /* Type */ = get_encrypted_repository().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/encryption.rs:141:27 [INFO] [stdout] | [INFO] [stdout] 141 | let mut transaction = repository [INFO] [stdout] | ___________________________^ [INFO] [stdout] 142 | | .begin_transaction() [INFO] [stdout] 143 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/encryption.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 151 | / transaction [INFO] [stdout] 152 | | .commit() [INFO] [stdout] 153 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/encryption.rs:166:17 [INFO] [stdout] | [INFO] [stdout] 166 | assert!(event.is_ok()); [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/multi_aggregate.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | let account_repo = get_repository().await; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | let mut account_tx = account_repo [INFO] [stdout] | ------------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `account_repo` an explicit type [INFO] [stdout] | [INFO] [stdout] 124 | let account_repo: /* Type */ = get_repository().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/multi_aggregate.rs:132:26 [INFO] [stdout] | [INFO] [stdout] 132 | let mut account_tx = account_repo [INFO] [stdout] | __________________________^ [INFO] [stdout] 133 | | .begin_transaction() [INFO] [stdout] 134 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/multi_aggregate.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 145 | / account_tx [INFO] [stdout] 146 | | .store(&mut account) [INFO] [stdout] 147 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/multi_aggregate.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | let order_repo = get_order_repository().await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 152 | let mut order_tx = order_repo.transaction_from(raw_tx); [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `order_repo` an explicit type [INFO] [stdout] | [INFO] [stdout] 125 | let order_repo: /* Type */ = get_order_repository().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/multi_aggregate.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 162 | / order_tx [INFO] [stdout] 163 | | .store(&mut order) [INFO] [stdout] 164 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/multi_aggregate.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 168 | / order_tx [INFO] [stdout] 169 | | .rollback() [INFO] [stdout] 170 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/encryption.rs:173:9 [INFO] [stdout] | [INFO] [stdout] 173 | let repository = get_encrypted_repository().await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | let mut transaction = repository [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `repository` an explicit type [INFO] [stdout] | [INFO] [stdout] 173 | let repository: /* Type */ = get_encrypted_repository().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/multi_aggregate.rs:174:31 [INFO] [stdout] | [INFO] [stdout] 174 | let mut account_load_tx = account_repo [INFO] [stdout] | _______________________________^ [INFO] [stdout] 175 | | .begin_transaction() [INFO] [stdout] 176 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/multi_aggregate.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | let account_result = account_load_tx.get(&account_id).await; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 179 | assert!( [INFO] [stdout] 180 | account_result.is_err(), [INFO] [stdout] | -------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `account_result` an explicit type [INFO] [stdout] | [INFO] [stdout] 178 | let account_result: /* Type */ = account_load_tx.get(&account_id).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/multi_aggregate.rs:183:5 [INFO] [stdout] | [INFO] [stdout] 183 | / account_load_tx [INFO] [stdout] 184 | | .rollback() [INFO] [stdout] 185 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/multi_aggregate.rs:188:29 [INFO] [stdout] | [INFO] [stdout] 188 | let mut order_load_tx = order_repo [INFO] [stdout] | _____________________________^ [INFO] [stdout] 189 | | .begin_transaction() [INFO] [stdout] 190 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/multi_aggregate.rs:192:9 [INFO] [stdout] | [INFO] [stdout] 192 | let order_result = order_load_tx.get(&order_id).await; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 193 | assert!( [INFO] [stdout] 194 | order_result.is_err(), [INFO] [stdout] | ------------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `order_result` an explicit type [INFO] [stdout] | [INFO] [stdout] 192 | let order_result: /* Type */ = order_load_tx.get(&order_id).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/multi_aggregate.rs:197:5 [INFO] [stdout] | [INFO] [stdout] 197 | / order_load_tx [INFO] [stdout] 198 | | .rollback() [INFO] [stdout] 199 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/multi_aggregate.rs:206:9 [INFO] [stdout] | [INFO] [stdout] 206 | let account_repo = get_repository().await; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 214 | let mut account_tx = account_repo [INFO] [stdout] | ------------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `account_repo` an explicit type [INFO] [stdout] | [INFO] [stdout] 206 | let account_repo: /* Type */ = get_repository().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/encryption.rs:177:27 [INFO] [stdout] | [INFO] [stdout] 177 | let mut transaction = repository [INFO] [stdout] | ___________________________^ [INFO] [stdout] 178 | | .begin_transaction() [INFO] [stdout] 179 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/multi_aggregate.rs:214:26 [INFO] [stdout] | [INFO] [stdout] 214 | let mut account_tx = account_repo [INFO] [stdout] | __________________________^ [INFO] [stdout] 215 | | .begin_transaction() [INFO] [stdout] 216 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/multi_aggregate.rs:236:5 [INFO] [stdout] | [INFO] [stdout] 236 | / account_tx [INFO] [stdout] 237 | | .store(&mut account) [INFO] [stdout] 238 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/multi_aggregate.rs:207:9 [INFO] [stdout] | [INFO] [stdout] 207 | let order_repo = get_order_repository().await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 243 | let mut order_tx = order_repo.transaction_from(raw_tx); [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `order_repo` an explicit type [INFO] [stdout] | [INFO] [stdout] 207 | let order_repo: /* Type */ = get_order_repository().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/encryption.rs:187:5 [INFO] [stdout] | [INFO] [stdout] 187 | / transaction [INFO] [stdout] 188 | | .commit() [INFO] [stdout] 189 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/multi_aggregate.rs:261:5 [INFO] [stdout] | [INFO] [stdout] 261 | / order_tx [INFO] [stdout] 262 | | .store(&mut order) [INFO] [stdout] 263 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/encryption.rs:209:9 [INFO] [stdout] | [INFO] [stdout] 209 | let repository = get_encrypted_repository().await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 213 | let mut transaction = repository [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `repository` an explicit type [INFO] [stdout] | [INFO] [stdout] 209 | let repository: /* Type */ = get_encrypted_repository().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/multi_aggregate.rs:267:5 [INFO] [stdout] | [INFO] [stdout] 267 | / order_tx [INFO] [stdout] 268 | | .commit() [INFO] [stdout] 269 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/multi_aggregate.rs:273:31 [INFO] [stdout] | [INFO] [stdout] 273 | let mut account_load_tx = account_repo [INFO] [stdout] | _______________________________^ [INFO] [stdout] 274 | | .begin_transaction() [INFO] [stdout] 275 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/encryption.rs:213:27 [INFO] [stdout] | [INFO] [stdout] 213 | let mut transaction = repository [INFO] [stdout] | ___________________________^ [INFO] [stdout] 214 | | .begin_transaction() [INFO] [stdout] 215 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/multi_aggregate.rs:277:26 [INFO] [stdout] | [INFO] [stdout] 277 | let loaded_account = account_load_tx [INFO] [stdout] | __________________________^ [INFO] [stdout] 278 | | .get(&account_id) [INFO] [stdout] 279 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/encryption.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | / transaction [INFO] [stdout] 224 | | .commit() [INFO] [stdout] 225 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/encryption.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 229 | let repository = get_repository().await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 230 | let mut transaction = repository.begin_transaction().await.unwrap(); [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `repository` an explicit type [INFO] [stdout] | [INFO] [stdout] 229 | let repository: /* Type */ = get_repository().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/encryption.rs:230:27 [INFO] [stdout] | [INFO] [stdout] 230 | let mut transaction = repository.begin_transaction().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/encryption.rs:243:9 [INFO] [stdout] | [INFO] [stdout] 243 | let repository = get_encrypted_repository().await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 258 | let mut transaction = repository [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `repository` an explicit type [INFO] [stdout] | [INFO] [stdout] 243 | let repository: /* Type */ = get_encrypted_repository().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/encryption.rs:258:27 [INFO] [stdout] | [INFO] [stdout] 258 | let mut transaction = repository [INFO] [stdout] | ___________________________^ [INFO] [stdout] 259 | | .begin_transaction() [INFO] [stdout] 260 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/encryption.rs:268:5 [INFO] [stdout] | [INFO] [stdout] 268 | / transaction [INFO] [stdout] 269 | | .commit() [INFO] [stdout] 270 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/multi_aggregate.rs:282:5 [INFO] [stdout] | [INFO] [stdout] 282 | / account_load_tx [INFO] [stdout] 283 | | .commit() [INFO] [stdout] 284 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/multi_aggregate.rs:287:29 [INFO] [stdout] | [INFO] [stdout] 287 | let mut order_load_tx = order_repo [INFO] [stdout] | _____________________________^ [INFO] [stdout] 288 | | .begin_transaction() [INFO] [stdout] 289 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/multi_aggregate.rs:291:24 [INFO] [stdout] | [INFO] [stdout] 291 | let loaded_order = order_load_tx [INFO] [stdout] | ________________________^ [INFO] [stdout] 292 | | .get(&order_id) [INFO] [stdout] 293 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/multi_aggregate.rs:296:5 [INFO] [stdout] | [INFO] [stdout] 296 | / order_load_tx [INFO] [stdout] 297 | | .commit() [INFO] [stdout] 298 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `eventastic_postgres` (test "postgres") due to 97 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `eventastic_postgres` (test "validation") due to 69 previous errors [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `eventastic_postgres` (test "snapshots") due to 67 previous errors [INFO] [stderr] error: could not compile `eventastic_postgres` (test "encryption") due to 84 previous errors [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0599. [INFO] [stdout] [INFO] [stderr] error: could not compile `eventastic_postgres` (test "side_effect") due to 65 previous errors [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `eventastic_postgres` (test "multi_aggregate") due to 94 previous errors [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c28c86dd8273fd1e88ce07409f8b54ee868daac46ffd097d24b4de6f71126f06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c28c86dd8273fd1e88ce07409f8b54ee868daac46ffd097d24b4de6f71126f06", kill_on_drop: false }` [INFO] [stdout] c28c86dd8273fd1e88ce07409f8b54ee868daac46ffd097d24b4de6f71126f06