[INFO] fetching crate eventsourcingdb 1.0.0... [INFO] testing eventsourcingdb-1.0.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate eventsourcingdb 1.0.0 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate eventsourcingdb 1.0.0 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate eventsourcingdb 1.0.0 [INFO] tweaked toml for crates.io crate eventsourcingdb 1.0.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate eventsourcingdb 1.0.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 eventsourcingdb 1.0.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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 83d238ad8e36a876b70fe22b88440eecf70bc6c94ec52c050e3219606a619a9a [INFO] running `Command { std: "docker" "start" "-a" "83d238ad8e36a876b70fe22b88440eecf70bc6c94ec52c050e3219606a619a9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "83d238ad8e36a876b70fe22b88440eecf70bc6c94ec52c050e3219606a619a9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83d238ad8e36a876b70fe22b88440eecf70bc6c94ec52c050e3219606a619a9a", kill_on_drop: false }` [INFO] [stdout] 83d238ad8e36a876b70fe22b88440eecf70bc6c94ec52c050e3219606a619a9a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 6cde0d036a0629bb1f36dc510eb47a7d0f1849aa5bd1c08c3e6d56ccc9eb1495 [INFO] running `Command { std: "docker" "start" "-a" "6cde0d036a0629bb1f36dc510eb47a7d0f1849aa5bd1c08c3e6d56ccc9eb1495", kill_on_drop: false }` [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling cc v1.2.21 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling ref-cast v1.0.24 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling ref-cast-impl v1.0.24 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling borrow-or-share v0.2.2 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling bit-vec v0.8.0 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling bit-set v0.8.0 [INFO] [stderr] Compiling uuid v1.16.0 [INFO] [stderr] Compiling openssl-sys v0.9.108 [INFO] [stderr] Compiling vsimd v0.8.0 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling outref v0.5.2 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling uuid-simd v0.8.0 [INFO] [stderr] Compiling typed-builder-macro v0.23.0 [INFO] [stderr] Compiling num-cmp v0.1.0 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling fraction v0.15.3 [INFO] [stderr] Compiling bytecount v0.6.8 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling typed-builder v0.23.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling ed25519-dalek v2.2.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling fluent-uri v0.3.2 [INFO] [stderr] Compiling email_address v0.2.9 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling fancy-regex v0.16.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling referencing v0.33.0 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling h2 v0.4.10 [INFO] [stderr] Compiling tower-http v0.6.5 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.13 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.24 [INFO] [stderr] Compiling jsonschema v0.33.0 [INFO] [stderr] Compiling eventsourcingdb v1.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 48.17s [INFO] running `Command { std: "docker" "inspect" "6cde0d036a0629bb1f36dc510eb47a7d0f1849aa5bd1c08c3e6d56ccc9eb1495", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6cde0d036a0629bb1f36dc510eb47a7d0f1849aa5bd1c08c3e6d56ccc9eb1495", kill_on_drop: false }` [INFO] [stdout] 6cde0d036a0629bb1f36dc510eb47a7d0f1849aa5bd1c08c3e6d56ccc9eb1495 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] a67756ea717f11b1bcd3c62b04d2818bbfa71cabcd66ba46eba0b9f5a97a4b9f [INFO] running `Command { std: "docker" "start" "-a" "a67756ea717f11b1bcd3c62b04d2818bbfa71cabcd66ba46eba0b9f5a97a4b9f", kill_on_drop: false }` [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Compiling critical-section v1.2.0 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rustls v0.23.27 [INFO] [stderr] Compiling webpki-roots v1.0.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling moka v0.12.10 [INFO] [stderr] Compiling axum-core v0.5.2 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling rustls-native-certs v0.8.1 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling tagptr v0.2.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling resolv-conf v0.7.3 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling uuid v1.16.0 [INFO] [stderr] Compiling bollard-buildkit-proto v0.6.1 [INFO] [stderr] Compiling fraction v0.15.3 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling etcetera v0.10.0 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling uuid-simd v0.8.0 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling ulid v1.2.1 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling xattr v1.5.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling rustls-webpki v0.103.2 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling prost-derive v0.13.5 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling enum-as-inner v0.6.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling ref-cast-impl v1.0.24 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling ref-cast v1.0.24 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling structmeta-derive v0.3.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling typed-builder-macro v0.23.0 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling prost v0.13.5 [INFO] [stderr] Compiling structmeta v0.3.0 [INFO] [stderr] Compiling parse-display-derive v0.9.1 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling serde_with_macros v3.12.0 [INFO] [stderr] Compiling prost-types v0.13.5 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling typed-builder v0.23.0 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling parse-display v0.9.1 [INFO] [stderr] Compiling ed25519-dalek v2.2.0 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling serde_with v3.12.0 [INFO] [stderr] Compiling fluent-uri v0.3.2 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling email_address v0.2.9 [INFO] [stderr] Compiling docker_credential v1.3.2 [INFO] [stderr] Compiling referencing v0.33.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling tokio-rustls v0.26.2 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling h2 v0.4.10 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-tar v0.3.1 [INFO] [stderr] Compiling tokio-test v0.4.4 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling axum v0.8.4 [INFO] [stderr] Compiling tower-http v0.6.5 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling hickory-proto v0.25.2 [INFO] [stderr] Compiling ureq v2.12.1 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hickory-resolver v0.25.2 [INFO] [stderr] Compiling hyper-util v0.1.13 [INFO] [stderr] Compiling hyper-timeout v0.5.2 [INFO] [stderr] Compiling hyper-rustls v0.27.5 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling hyperlocal v0.9.1 [INFO] [stderr] Compiling reqwest v0.12.24 [INFO] [stderr] Compiling tonic v0.13.1 [INFO] [stderr] Compiling jsonschema v0.33.0 [INFO] [stderr] Compiling eventsourcingdb v1.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling bollard-stubs v1.48.3-rc.28.0.4 [INFO] [stderr] Compiling bollard v0.19.1 [INFO] [stderr] Compiling testcontainers v0.25.0 [INFO] [stdout] error[E0432]: unresolved import `eventsourcingdb::container` [INFO] [stdout] --> tests/testcontainer.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use eventsourcingdb::container::Container; [INFO] [stdout] | ^^^^^^^^^ could not find `container` in `eventsourcingdb` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 51 | #[cfg(feature = "testcontainer")] [INFO] [stdout] | ------------------------- the item is gated behind the `testcontainer` feature [INFO] [stdout] 52 | pub mod container; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `eventsourcingdb::container` [INFO] [stdout] --> examples/verify_api_token.rs:1:39 [INFO] [stdout] | [INFO] [stdout] 1 | use eventsourcingdb::{client::Client, container::Container}; [INFO] [stdout] | ^^^^^^^^^ could not find `container` in `eventsourcingdb` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 51 | #[cfg(feature = "testcontainer")] [INFO] [stdout] | ------------------------- the item is gated behind the `testcontainer` feature [INFO] [stdout] 52 | pub mod container; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/verify_api_token.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | let db = Container::start_preview().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/verify_api_token.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | let base_url = db.get_base_url().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `eventsourcingdb::container` [INFO] [stdout] --> examples/ping.rs:1:39 [INFO] [stdout] | [INFO] [stdout] 1 | use eventsourcingdb::{client::Client, container::Container}; [INFO] [stdout] | ^^^^^^^^^ could not find `container` in `eventsourcingdb` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 51 | #[cfg(feature = "testcontainer")] [INFO] [stdout] | ------------------------- the item is gated behind the `testcontainer` feature [INFO] [stdout] 52 | pub mod container; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/ping.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | let db = Container::start_preview().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/ping.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | let base_url = db.get_base_url().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [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. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/testcontainer.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | let c = Container::start_preview().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/testcontainer.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | c.stop().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `eventsourcingdb` (example "verify_api_token") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/testcontainer.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | let c = Container::start_preview().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/testcontainer.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | let base_url = c.get_base_url().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/testcontainer.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | let host = c.get_host().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/testcontainer.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | let port = c.get_mapped_port().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/testcontainer.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | let c = Container::start_preview().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/testcontainer.rs:21:20 [INFO] [stdout] | [INFO] [stdout] 21 | let base_url = c.get_base_url().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `eventsourcingdb` (example "ping") due to 3 previous errors [INFO] [stdout] error[E0432]: unresolved import `eventsourcingdb::container` [INFO] [stdout] --> examples/write_events.rs:1:39 [INFO] [stdout] | [INFO] [stdout] 1 | use eventsourcingdb::{client::Client, container::Container, event::EventCandidate}; [INFO] [stdout] | ^^^^^^^^^ could not find `container` in `eventsourcingdb` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 51 | #[cfg(feature = "testcontainer")] [INFO] [stdout] | ------------------------- the item is gated behind the `testcontainer` feature [INFO] [stdout] 52 | pub mod container; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/testcontainer.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | let c = Container::start_preview().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/testcontainer.rs:31:28 [INFO] [stdout] | [INFO] [stdout] 31 | let generated_client = c.get_client().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/testcontainer.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | let base_url = c.get_base_url().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/write_events.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | let db = Container::start_preview().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/write_events.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | let base_url = db.get_base_url().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `eventsourcingdb` (test "testcontainer") due to 12 previous errors [INFO] [stdout] error[E0432]: unresolved import `eventsourcingdb::container` [INFO] [stdout] --> examples/registering_event_schema.rs:1:39 [INFO] [stdout] | [INFO] [stdout] 1 | use eventsourcingdb::{client::Client, container::Container}; [INFO] [stdout] | ^^^^^^^^^ could not find `container` in `eventsourcingdb` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 51 | #[cfg(feature = "testcontainer")] [INFO] [stdout] | ------------------------- the item is gated behind the `testcontainer` feature [INFO] [stdout] 52 | pub mod container; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `eventsourcingdb::container` [INFO] [stdout] --> tests/utils/mod.rs:2:46 [INFO] [stdout] | [INFO] [stdout] 2 | use eventsourcingdb::{Event, EventCandidate, container::Container}; [INFO] [stdout] | ^^^^^^^^^ could not find `container` in `eventsourcingdb` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 51 | #[cfg(feature = "testcontainer")] [INFO] [stdout] | ------------------------- the item is gated behind the `testcontainer` feature [INFO] [stdout] 52 | pub mod container; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/registering_event_schema.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | let db = Container::start_preview().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/registering_event_schema.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | let base_url = db.get_base_url().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `eventsourcingdb::container` [INFO] [stdout] --> tests/utils/mod.rs:2:46 [INFO] [stdout] | [INFO] [stdout] 2 | use eventsourcingdb::{Event, EventCandidate, container::Container}; [INFO] [stdout] | ^^^^^^^^^ could not find `container` in `eventsourcingdb` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 51 | #[cfg(feature = "testcontainer")] [INFO] [stdout] | ------------------------- the item is gated behind the `testcontainer` feature [INFO] [stdout] 52 | pub mod container; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/utils/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | / Container::builder() [INFO] [stdout] 7 | | .with_image_tag("preview") [INFO] [stdout] 8 | | .start() [INFO] [stdout] 9 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `eventsourcingdb::container` [INFO] [stdout] --> tests/utils/mod.rs:2:46 [INFO] [stdout] | [INFO] [stdout] 2 | use eventsourcingdb::{Event, EventCandidate, container::Container}; [INFO] [stdout] | ^^^^^^^^^ could not find `container` in `eventsourcingdb` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 51 | #[cfg(feature = "testcontainer")] [INFO] [stdout] | ------------------------- the item is gated behind the `testcontainer` feature [INFO] [stdout] 52 | pub mod container; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/utils/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | / Container::builder() [INFO] [stdout] 7 | | .with_image_tag("preview") [INFO] [stdout] 8 | | .start() [INFO] [stdout] 9 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `eventsourcingdb::container` [INFO] [stdout] --> examples/event_types.rs:1:39 [INFO] [stdout] | [INFO] [stdout] 1 | use eventsourcingdb::{client::Client, container::Container}; [INFO] [stdout] | ^^^^^^^^^ could not find `container` in `eventsourcingdb` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 51 | #[cfg(feature = "testcontainer")] [INFO] [stdout] | ------------------------- the item is gated behind the `testcontainer` feature [INFO] [stdout] 52 | pub mod container; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `eventsourcingdb` (example "write_events") due to 3 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/utils/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | / Container::builder() [INFO] [stdout] 7 | | .with_image_tag("preview") [INFO] [stdout] 8 | | .start() [INFO] [stdout] 9 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `eventsourcingdb::container` [INFO] [stdout] --> tests/utils/mod.rs:2:46 [INFO] [stdout] | [INFO] [stdout] 2 | use eventsourcingdb::{Event, EventCandidate, container::Container}; [INFO] [stdout] | ^^^^^^^^^ could not find `container` in `eventsourcingdb` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 51 | #[cfg(feature = "testcontainer")] [INFO] [stdout] | ------------------------- the item is gated behind the `testcontainer` feature [INFO] [stdout] 52 | pub mod container; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `eventsourcingdb` (example "registering_event_schema") due to 3 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/event_types.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | let db = Container::start_preview().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/event_types.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | let base_url = db.get_base_url().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `eventsourcingdb::container` [INFO] [stdout] --> tests/utils/mod.rs:2:46 [INFO] [stdout] | [INFO] [stdout] 2 | use eventsourcingdb::{Event, EventCandidate, container::Container}; [INFO] [stdout] | ^^^^^^^^^ could not find `container` in `eventsourcingdb` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 51 | #[cfg(feature = "testcontainer")] [INFO] [stdout] | ------------------------- the item is gated behind the `testcontainer` feature [INFO] [stdout] 52 | pub mod container; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/read_events.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | let container = create_test_container().await; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 16 | let client = container.get_client().await.unwrap(); [INFO] [stdout] | --------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `container` an explicit type [INFO] [stdout] | [INFO] [stdout] 15 | let container: /* Type */ = create_test_container().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/read_events.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | let client = container.get_client().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/read_events.rs:17:25 [INFO] [stdout] | [INFO] [stdout] 17 | let events_stream = client [INFO] [stdout] | _________________________^ [INFO] [stdout] 18 | | .read_events("/", None) [INFO] [stdout] 19 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/utils/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | / Container::builder() [INFO] [stdout] 7 | | .with_image_tag("preview") [INFO] [stdout] 8 | | .start() [INFO] [stdout] 9 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/read_events.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | let container = create_test_container().await; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 30 | let client = container.get_client().await.unwrap(); [INFO] [stdout] | --------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `container` an explicit type [INFO] [stdout] | [INFO] [stdout] 29 | let container: /* Type */ = create_test_container().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/read_events.rs:30:18 [INFO] [stdout] | [INFO] [stdout] 30 | let client = container.get_client().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/essentials.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | let container = create_test_container().await; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 8 | let client = container.get_client().await.unwrap(); [INFO] [stdout] | --------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `container` an explicit type [INFO] [stdout] | [INFO] [stdout] 7 | let container: /* Type */ = create_test_container().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/essentials.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | let client = container.get_client().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/essentials.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | client.ping().await.expect("Failed to ping"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `eventsourcingdb::container` [INFO] [stdout] --> examples/reading_events.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | container::Container, [INFO] [stdout] | ^^^^^^^^^ could not find `container` in `eventsourcingdb` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 51 | #[cfg(feature = "testcontainer")] [INFO] [stdout] | ------------------------- the item is gated behind the `testcontainer` feature [INFO] [stdout] 52 | pub mod container; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/read_events.rs:32:19 [INFO] [stdout] | [INFO] [stdout] 32 | let written = client [INFO] [stdout] | ___________________^ [INFO] [stdout] 33 | | .write_events(vec![event_candidate.clone()], vec![]) [INFO] [stdout] 34 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/read_events.rs:37:25 [INFO] [stdout] | [INFO] [stdout] 37 | let events_stream = client [INFO] [stdout] | _________________________^ [INFO] [stdout] 38 | | .read_events("/test", None) [INFO] [stdout] 39 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/read_events.rs:41:26 [INFO] [stdout] | [INFO] [stdout] 41 | let events: Vec<_> = events_stream [INFO] [stdout] | __________________________^ [INFO] [stdout] 42 | | .try_collect() [INFO] [stdout] 43 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/reading_events.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | let db = Container::start_preview().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/reading_events.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | let base_url = db.get_base_url().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/essentials.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let container = create_test_container().await; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 22 | let client = container.get_client().await.unwrap(); [INFO] [stdout] | --------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `container` an explicit type [INFO] [stdout] | [INFO] [stdout] 21 | let container: /* Type */ = create_test_container().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/read_events.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | let container = create_test_container().await; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 52 | let client = container.get_client().await.unwrap(); [INFO] [stdout] | --------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `container` an explicit type [INFO] [stdout] | [INFO] [stdout] 51 | let container: /* Type */ = create_test_container().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/essentials.rs:22:18 [INFO] [stdout] | [INFO] [stdout] 22 | let client = container.get_client().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/essentials.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | / client [INFO] [stdout] 24 | | .verify_api_token() [INFO] [stdout] 25 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/read_events.rs:52:18 [INFO] [stdout] | [INFO] [stdout] 52 | let client = container.get_client().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/observe_events.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | let container = create_test_container().await; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 10 | let client = container.get_client().await.unwrap(); [INFO] [stdout] | --------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `container` an explicit type [INFO] [stdout] | [INFO] [stdout] 9 | let container: /* Type */ = create_test_container().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/observe_events.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | let client = container.get_client().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `eventsourcingdb::container` [INFO] [stdout] --> tests/utils/mod.rs:2:46 [INFO] [stdout] | [INFO] [stdout] 2 | use eventsourcingdb::{Event, EventCandidate, container::Container}; [INFO] [stdout] | ^^^^^^^^^ could not find `container` in `eventsourcingdb` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 51 | #[cfg(feature = "testcontainer")] [INFO] [stdout] | ------------------------- the item is gated behind the `testcontainer` feature [INFO] [stdout] 52 | pub mod container; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `eventsourcingdb::container` [INFO] [stdout] --> tests/metadata_and_discovery.rs:2:30 [INFO] [stdout] | [INFO] [stdout] 2 | use eventsourcingdb::{Event, container::Container}; [INFO] [stdout] | ^^^^^^^^^ could not find `container` in `eventsourcingdb` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 51 | #[cfg(feature = "testcontainer")] [INFO] [stdout] | ------------------------- the item is gated behind the `testcontainer` feature [INFO] [stdout] 52 | pub mod container; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/read_events.rs:54:19 [INFO] [stdout] | [INFO] [stdout] 54 | let written = client [INFO] [stdout] | ___________________^ [INFO] [stdout] 55 | | .write_events(event_candidates.clone(), vec![]) [INFO] [stdout] 56 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/read_events.rs:59:25 [INFO] [stdout] | [INFO] [stdout] 59 | let events_stream = client [INFO] [stdout] | _________________________^ [INFO] [stdout] 60 | | .read_events("/test", None) [INFO] [stdout] 61 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/read_events.rs:63:26 [INFO] [stdout] | [INFO] [stdout] 63 | let events: Vec<_> = events_stream [INFO] [stdout] | __________________________^ [INFO] [stdout] 64 | | .try_collect() [INFO] [stdout] 65 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/essentials.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | let container = create_test_container().await; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 39 | let client = container.get_client().await.unwrap(); [INFO] [stdout] | --------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `container` an explicit type [INFO] [stdout] | [INFO] [stdout] 38 | let container: /* Type */ = create_test_container().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/observe_events.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | let written = client [INFO] [stdout] | ___________________^ [INFO] [stdout] 13 | | .write_events(vec![event_candidate.clone()], vec![]) [INFO] [stdout] 14 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/essentials.rs:39:18 [INFO] [stdout] | [INFO] [stdout] 39 | let client = container.get_client().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/observe_events.rs:17:29 [INFO] [stdout] | [INFO] [stdout] 17 | let mut events_stream = client [INFO] [stdout] | _____________________________^ [INFO] [stdout] 18 | | .observe_events("/test", None) [INFO] [stdout] 19 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/observe_events.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 21 | let events = events_stream [INFO] [stdout] | __________________^ [INFO] [stdout] 22 | | .next() [INFO] [stdout] 23 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/read_events.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | let container = create_test_container().await; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 74 | let client = container.get_client().await.unwrap(); [INFO] [stdout] | --------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `container` an explicit type [INFO] [stdout] | [INFO] [stdout] 73 | let container: /* Type */ = create_test_container().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/read_events.rs:74:18 [INFO] [stdout] | [INFO] [stdout] 74 | let client = container.get_client().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/read_events.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | / client [INFO] [stdout] 77 | | .write_events(vec![event_candidate.clone()], vec![]) [INFO] [stdout] 78 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/read_events.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | / client [INFO] [stdout] 81 | | .write_events( [INFO] [stdout] 82 | | vec![create_test_eventcandidate("/wrong", json!({"value": 1}))], [INFO] [stdout] 83 | | vec![], [INFO] [stdout] 84 | | ) [INFO] [stdout] 85 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `eventsourcingdb` (example "event_types") due to 3 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/read_events.rs:88:25 [INFO] [stdout] | [INFO] [stdout] 88 | let events_stream = client [INFO] [stdout] | _________________________^ [INFO] [stdout] 89 | | .read_events("/test", None) [INFO] [stdout] 90 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/read_events.rs:92:26 [INFO] [stdout] | [INFO] [stdout] 92 | let events: Vec<_> = events_stream [INFO] [stdout] | __________________________^ [INFO] [stdout] 93 | | .try_collect() [INFO] [stdout] 94 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `eventsourcingdb::container` [INFO] [stdout] --> examples/listing_subjects.rs:1:39 [INFO] [stdout] | [INFO] [stdout] 1 | use eventsourcingdb::{client::Client, container::Container}; [INFO] [stdout] | ^^^^^^^^^ could not find `container` in `eventsourcingdb` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 51 | #[cfg(feature = "testcontainer")] [INFO] [stdout] | ------------------------- the item is gated behind the `testcontainer` feature [INFO] [stdout] 52 | pub mod container; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/observe_events.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | let container = create_test_container().await; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 33 | let client = container.get_client().await.unwrap(); [INFO] [stdout] | --------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `container` an explicit type [INFO] [stdout] | [INFO] [stdout] 32 | let container: /* Type */ = create_test_container().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/read_events.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | let container = create_test_container().await; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 104 | let client = container.get_client().await.unwrap(); [INFO] [stdout] | --------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `container` an explicit type [INFO] [stdout] | [INFO] [stdout] 103 | let container: /* Type */ = create_test_container().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/read_events.rs:104:18 [INFO] [stdout] | [INFO] [stdout] 104 | let client = container.get_client().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/read_events.rs:107:19 [INFO] [stdout] | [INFO] [stdout] 107 | let written = client [INFO] [stdout] | ___________________^ [INFO] [stdout] 108 | | .write_events( [INFO] [stdout] 109 | | vec![ [INFO] [stdout] 110 | | event_candidate_parent.clone(), [INFO] [stdout] ... | [INFO] [stdout] 115 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/utils/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | / Container::builder() [INFO] [stdout] 7 | | .with_image_tag("preview") [INFO] [stdout] 8 | | .start() [INFO] [stdout] 9 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/observe_events.rs:33:18 [INFO] [stdout] | [INFO] [stdout] 33 | let client = container.get_client().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/read_events.rs:118:25 [INFO] [stdout] | [INFO] [stdout] 118 | let events_stream = client [INFO] [stdout] | _________________________^ [INFO] [stdout] 119 | | .read_events( [INFO] [stdout] 120 | | "/test", [INFO] [stdout] 121 | | Some(ReadEventsOptions { [INFO] [stdout] ... | [INFO] [stdout] 126 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/read_events.rs:128:26 [INFO] [stdout] | [INFO] [stdout] 128 | let events: Vec<_> = events_stream [INFO] [stdout] | __________________________^ [INFO] [stdout] 129 | | .try_collect() [INFO] [stdout] 130 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/read_events.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | let container = create_test_container().await; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 139 | let client = container.get_client().await.unwrap(); [INFO] [stdout] | --------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `container` an explicit type [INFO] [stdout] | [INFO] [stdout] 138 | let container: /* Type */ = create_test_container().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/observe_events.rs:35:29 [INFO] [stdout] | [INFO] [stdout] 35 | let mut events_stream = client [INFO] [stdout] | _____________________________^ [INFO] [stdout] 36 | | .observe_events("/test", None) [INFO] [stdout] 37 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/read_events.rs:139:18 [INFO] [stdout] | [INFO] [stdout] 139 | let client = container.get_client().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/read_events.rs:142:5 [INFO] [stdout] | [INFO] [stdout] 142 | / client [INFO] [stdout] 143 | | .write_events( [INFO] [stdout] 144 | | vec![ [INFO] [stdout] 145 | | event_candidate_parent.clone(), [INFO] [stdout] ... | [INFO] [stdout] 150 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/observe_events.rs:40:19 [INFO] [stdout] | [INFO] [stdout] 40 | let written = client [INFO] [stdout] | ___________________^ [INFO] [stdout] 41 | | .write_events(vec![event_candidate.clone()], vec![]) [INFO] [stdout] 42 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/read_events.rs:153:25 [INFO] [stdout] | [INFO] [stdout] 153 | let events_stream = client [INFO] [stdout] | _________________________^ [INFO] [stdout] 154 | | .read_events( [INFO] [stdout] 155 | | "/test", [INFO] [stdout] 156 | | Some(ReadEventsOptions { [INFO] [stdout] ... | [INFO] [stdout] 161 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/observe_events.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | let event = events_stream [INFO] [stdout] | _________________^ [INFO] [stdout] 46 | | .next() [INFO] [stdout] 47 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/read_events.rs:163:26 [INFO] [stdout] | [INFO] [stdout] 163 | let events: Vec<_> = events_stream [INFO] [stdout] | __________________________^ [INFO] [stdout] 164 | | .try_collect() [INFO] [stdout] 165 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/utils/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | / Container::builder() [INFO] [stdout] 7 | | .with_image_tag("preview") [INFO] [stdout] 8 | | .start() [INFO] [stdout] 9 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/read_events.rs:173:9 [INFO] [stdout] | [INFO] [stdout] 173 | let container = create_test_container().await; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 174 | let client = container.get_client().await.unwrap(); [INFO] [stdout] | --------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `container` an explicit type [INFO] [stdout] | [INFO] [stdout] 173 | let container: /* Type */ = create_test_container().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/read_events.rs:174:18 [INFO] [stdout] | [INFO] [stdout] 174 | let client = container.get_client().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/read_events.rs:176:19 [INFO] [stdout] | [INFO] [stdout] 176 | let written = client [INFO] [stdout] | ___________________^ [INFO] [stdout] 177 | | .write_events(event_candidates.clone(), vec![]) [INFO] [stdout] 178 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/listing_subjects.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | let db = Container::start_preview().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/listing_subjects.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | let base_url = db.get_base_url().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/read_events.rs:181:25 [INFO] [stdout] | [INFO] [stdout] 181 | let events_stream = client [INFO] [stdout] | _________________________^ [INFO] [stdout] 182 | | .read_events( [INFO] [stdout] 183 | | "/test", [INFO] [stdout] 184 | | Some(ReadEventsOptions { [INFO] [stdout] ... | [INFO] [stdout] 189 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/read_events.rs:191:26 [INFO] [stdout] | [INFO] [stdout] 191 | let events: Vec<_> = events_stream [INFO] [stdout] | __________________________^ [INFO] [stdout] 192 | | .try_collect() [INFO] [stdout] 193 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/read_events.rs:201:9 [INFO] [stdout] | [INFO] [stdout] 201 | let container = create_test_container().await; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 202 | let client = container.get_client().await.unwrap(); [INFO] [stdout] | --------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `container` an explicit type [INFO] [stdout] | [INFO] [stdout] 201 | let container: /* Type */ = create_test_container().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/read_events.rs:202:18 [INFO] [stdout] | [INFO] [stdout] 202 | let client = container.get_client().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/read_events.rs:204:19 [INFO] [stdout] | [INFO] [stdout] 204 | let written = client [INFO] [stdout] | ___________________^ [INFO] [stdout] 205 | | .write_events(event_candidates.clone(), vec![]) [INFO] [stdout] 206 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/read_events.rs:209:25 [INFO] [stdout] | [INFO] [stdout] 209 | let events_stream = client [INFO] [stdout] | _________________________^ [INFO] [stdout] 210 | | .read_events( [INFO] [stdout] 211 | | "/test", [INFO] [stdout] 212 | | Some(ReadEventsOptions { [INFO] [stdout] ... | [INFO] [stdout] 217 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/read_events.rs:219:26 [INFO] [stdout] | [INFO] [stdout] 219 | let events: Vec<_> = events_stream [INFO] [stdout] | __________________________^ [INFO] [stdout] 220 | | .try_collect() [INFO] [stdout] 221 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/read_events.rs:231:9 [INFO] [stdout] | [INFO] [stdout] 231 | let container = create_test_container().await; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 232 | let client = container.get_client().await.unwrap(); [INFO] [stdout] | --------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `container` an explicit type [INFO] [stdout] | [INFO] [stdout] 231 | let container: /* Type */ = create_test_container().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/read_events.rs:232:18 [INFO] [stdout] | [INFO] [stdout] 232 | let client = container.get_client().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/read_events.rs:234:19 [INFO] [stdout] | [INFO] [stdout] 234 | let written = client [INFO] [stdout] | ___________________^ [INFO] [stdout] 235 | | .write_events(event_candidates.clone(), vec![]) [INFO] [stdout] 236 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/read_events.rs:239:25 [INFO] [stdout] | [INFO] [stdout] 239 | let events_stream = client [INFO] [stdout] | _________________________^ [INFO] [stdout] 240 | | .read_events( [INFO] [stdout] 241 | | "/test", [INFO] [stdout] 242 | | Some(ReadEventsOptions { [INFO] [stdout] ... | [INFO] [stdout] 251 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/read_events.rs:253:26 [INFO] [stdout] | [INFO] [stdout] 253 | let events: Vec<_> = events_stream [INFO] [stdout] | __________________________^ [INFO] [stdout] 254 | | .try_collect() [INFO] [stdout] 255 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/read_events.rs:263:9 [INFO] [stdout] | [INFO] [stdout] 263 | let container = create_test_container().await; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 264 | let client = container.get_client().await.unwrap(); [INFO] [stdout] | --------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `container` an explicit type [INFO] [stdout] | [INFO] [stdout] 263 | let container: /* Type */ = create_test_container().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/read_events.rs:264:18 [INFO] [stdout] | [INFO] [stdout] 264 | let client = container.get_client().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/read_events.rs:266:5 [INFO] [stdout] | [INFO] [stdout] 266 | / client [INFO] [stdout] 267 | | .write_events(event_candidates.clone(), vec![]) [INFO] [stdout] 268 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/read_events.rs:271:25 [INFO] [stdout] | [INFO] [stdout] 271 | let events_stream = client [INFO] [stdout] | _________________________^ [INFO] [stdout] 272 | | .read_events( [INFO] [stdout] 273 | | "/test", [INFO] [stdout] 274 | | Some(ReadEventsOptions { [INFO] [stdout] ... | [INFO] [stdout] 283 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/read_events.rs:285:26 [INFO] [stdout] | [INFO] [stdout] 285 | let events: Vec<_> = events_stream [INFO] [stdout] | __________________________^ [INFO] [stdout] 286 | | .try_collect() [INFO] [stdout] 287 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/read_events.rs:295:9 [INFO] [stdout] | [INFO] [stdout] 295 | let container = create_test_container().await; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 296 | let client = container.get_client().await.unwrap(); [INFO] [stdout] | --------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `container` an explicit type [INFO] [stdout] | [INFO] [stdout] 295 | let container: /* Type */ = create_test_container().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `eventsourcingdb` (example "listing_subjects") due to 3 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/run_eventql_query.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | let container = create_test_container().await; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 8 | let client = container.get_client().await.unwrap(); [INFO] [stdout] | --------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `container` an explicit type [INFO] [stdout] | [INFO] [stdout] 7 | let container: /* Type */ = create_test_container().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `eventsourcingdb` (example "reading_events") due to 3 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/run_eventql_query.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | let client = container.get_client().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `eventsourcingdb` (test "observe_events") due to 12 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/metadata_and_discovery.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let container = create_test_container().await; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 11 | let client = container.get_client().await.unwrap(); [INFO] [stdout] | --------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `container` an explicit type [INFO] [stdout] | [INFO] [stdout] 10 | let container: /* Type */ = create_test_container().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/metadata_and_discovery.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | let client = container.get_client().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/read_events.rs:296:18 [INFO] [stdout] | [INFO] [stdout] 296 | let client = container.get_client().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/read_events.rs:298:5 [INFO] [stdout] | [INFO] [stdout] 298 | / client [INFO] [stdout] 299 | | .write_events(event_candidates.clone(), vec![]) [INFO] [stdout] 300 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/read_events.rs:302:5 [INFO] [stdout] | [INFO] [stdout] 302 | / client [INFO] [stdout] 303 | | .write_events( [INFO] [stdout] 304 | | vec![create_test_eventcandidate("/marker", json!({"value": 1}))], [INFO] [stdout] 305 | | vec![], [INFO] [stdout] 306 | | ) [INFO] [stdout] 307 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/read_events.rs:309:19 [INFO] [stdout] | [INFO] [stdout] 309 | let written = client [INFO] [stdout] | ___________________^ [INFO] [stdout] 310 | | .write_events(event_candidates.clone(), vec![]) [INFO] [stdout] 311 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/read_events.rs:314:25 [INFO] [stdout] | [INFO] [stdout] 314 | let events_stream = client [INFO] [stdout] | _________________________^ [INFO] [stdout] 315 | | .read_events( [INFO] [stdout] 316 | | "/test", [INFO] [stdout] 317 | | Some(ReadEventsOptions { [INFO] [stdout] ... | [INFO] [stdout] 326 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/metadata_and_discovery.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | / client [INFO] [stdout] 13 | | .register_event_schema( [INFO] [stdout] 14 | | "io.eventsourcingdb.test", [INFO] [stdout] 15 | | &json!({ [INFO] [stdout] ... | [INFO] [stdout] 28 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/read_events.rs:328:26 [INFO] [stdout] | [INFO] [stdout] 328 | let events: Vec<_> = events_stream [INFO] [stdout] | __________________________^ [INFO] [stdout] 329 | | .try_collect() [INFO] [stdout] 330 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/run_eventql_query.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | let rows = client [INFO] [stdout] | ________________^ [INFO] [stdout] 10 | | .run_eventql_query("FROM e IN events ORDER BY e.time DESC TOP 100 PROJECT INTO e") [INFO] [stdout] 11 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/metadata_and_discovery.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | let container = create_test_container().await; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 35 | let client = container.get_client().await.unwrap(); [INFO] [stdout] | --------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `container` an explicit type [INFO] [stdout] | [INFO] [stdout] 34 | let container: /* Type */ = create_test_container().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/metadata_and_discovery.rs:35:18 [INFO] [stdout] | [INFO] [stdout] 35 | let client = container.get_client().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/metadata_and_discovery.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | let res = client [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | assert!(res.is_err(), "Expected an error, but got: {res:?}"); [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `res` an explicit type [INFO] [stdout] | [INFO] [stdout] 36 | let res: /* Type */ = client [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `eventsourcingdb::container` [INFO] [stdout] --> examples/observing_events.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | container::Container, [INFO] [stdout] | ^^^^^^^^^ could not find `container` in `eventsourcingdb` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 51 | #[cfg(feature = "testcontainer")] [INFO] [stdout] | ------------------------- the item is gated behind the `testcontainer` feature [INFO] [stdout] 52 | pub mod container; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/metadata_and_discovery.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | let container = create_test_container().await; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 50 | let client = container.get_client().await.unwrap(); [INFO] [stdout] | --------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `container` an explicit type [INFO] [stdout] | [INFO] [stdout] 49 | let container: /* Type */ = create_test_container().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/metadata_and_discovery.rs:50:18 [INFO] [stdout] | [INFO] [stdout] 50 | let client = container.get_client().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/observing_events.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | let db = Container::start_preview().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/observing_events.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | let base_url = db.get_base_url().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `Result<_, _>` [INFO] [stdout] --> tests/metadata_and_discovery.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | let res = client.list_subjects(None).await; [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | let subjects = subjects.collect::>().await; [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `res` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 51 | let res: Result<_, E> = client.list_subjects(None).await; [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/metadata_and_discovery.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | let subjects = subjects.collect::>().await; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 55 | assert!( [INFO] [stdout] 56 | subjects.is_empty(), [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `subjects` an explicit type [INFO] [stdout] | [INFO] [stdout] 54 | let subjects: /* Type */ = subjects.collect::>().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/metadata_and_discovery.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | let container = create_test_container().await; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 71 | let client = container.get_client().await.unwrap(); [INFO] [stdout] | --------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `container` an explicit type [INFO] [stdout] | [INFO] [stdout] 70 | let container: /* Type */ = create_test_container().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/metadata_and_discovery.rs:71:18 [INFO] [stdout] | [INFO] [stdout] 71 | let client = container.get_client().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/metadata_and_discovery.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | / client [INFO] [stdout] 86 | | .register_event_schema(test_event_type, &schema) [INFO] [stdout] 87 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `Result<_, _>` [INFO] [stdout] --> tests/metadata_and_discovery.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | let res = client.list_event_types().await; [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | let mut event_types = event_types.collect::>().await; [INFO] [stdout] | ----------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `res` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 89 | let res: Result<_, E> = client.list_event_types().await; [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/metadata_and_discovery.rs:92:17 [INFO] [stdout] | [INFO] [stdout] 92 | let mut event_types = event_types.collect::>().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 93 | assert!( [INFO] [stdout] 94 | event_types.len() == 1, [INFO] [stdout] | ----------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `event_types` an explicit type [INFO] [stdout] | [INFO] [stdout] 92 | let mut event_types: /* Type */ = event_types.collect::>().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/metadata_and_discovery.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | let container = create_test_container().await; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 124 | let client = container.get_client().await.unwrap(); [INFO] [stdout] | --------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `container` an explicit type [INFO] [stdout] | [INFO] [stdout] 123 | let container: /* Type */ = create_test_container().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/metadata_and_discovery.rs:124:18 [INFO] [stdout] | [INFO] [stdout] 124 | let client = container.get_client().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/write_events.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | let container = create_test_container().await; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 13 | let client = container.get_client().await.unwrap(); [INFO] [stdout] | --------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `container` an explicit type [INFO] [stdout] | [INFO] [stdout] 12 | let container: /* Type */ = create_test_container().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/metadata_and_discovery.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | / client [INFO] [stdout] 139 | | .register_event_schema(test_event_type, &schema) [INFO] [stdout] 140 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/write_events.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | let client = container.get_client().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/metadata_and_discovery.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | let container = create_test_container().await; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 170 | let client = container.get_client().await.unwrap(); [INFO] [stdout] | --------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `container` an explicit type [INFO] [stdout] | [INFO] [stdout] 169 | let container: /* Type */ = create_test_container().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/metadata_and_discovery.rs:170:18 [INFO] [stdout] | [INFO] [stdout] 170 | let client = container.get_client().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/metadata_and_discovery.rs:172:19 [INFO] [stdout] | [INFO] [stdout] 172 | let written = client [INFO] [stdout] | ___________________^ [INFO] [stdout] 173 | | .write_events(vec![event_candidate], vec![]) [INFO] [stdout] 174 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/metadata_and_discovery.rs:182:9 [INFO] [stdout] | [INFO] [stdout] 182 | let container = create_test_container().await; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 183 | let client = container.get_client().await.unwrap(); [INFO] [stdout] | --------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `container` an explicit type [INFO] [stdout] | [INFO] [stdout] 182 | let container: /* Type */ = create_test_container().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/metadata_and_discovery.rs:183:18 [INFO] [stdout] | [INFO] [stdout] 183 | let client = container.get_client().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/metadata_and_discovery.rs:185:19 [INFO] [stdout] | [INFO] [stdout] 185 | let written = client [INFO] [stdout] | ___________________^ [INFO] [stdout] 186 | | .write_events(vec![event_candidate], vec![]) [INFO] [stdout] 187 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/metadata_and_discovery.rs:201:21 [INFO] [stdout] | [INFO] [stdout] 201 | let container = Container::builder() [INFO] [stdout] | _____________________^ [INFO] [stdout] 202 | | .with_image_tag("preview") [INFO] [stdout] 203 | | .with_signing_key() [INFO] [stdout] 204 | | .start() [INFO] [stdout] 205 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/metadata_and_discovery.rs:208:18 [INFO] [stdout] | [INFO] [stdout] 208 | let client = container.get_client().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/metadata_and_discovery.rs:210:19 [INFO] [stdout] | [INFO] [stdout] 210 | let written = client [INFO] [stdout] | ___________________^ [INFO] [stdout] 211 | | .write_events(vec![event_candidate], vec![]) [INFO] [stdout] 212 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/metadata_and_discovery.rs:222:21 [INFO] [stdout] | [INFO] [stdout] 222 | let container = Container::builder() [INFO] [stdout] | _____________________^ [INFO] [stdout] 223 | | .with_image_tag("preview") [INFO] [stdout] 224 | | .with_signing_key() [INFO] [stdout] 225 | | .start() [INFO] [stdout] 226 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/metadata_and_discovery.rs:229:18 [INFO] [stdout] | [INFO] [stdout] 229 | let client = container.get_client().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/metadata_and_discovery.rs:231:19 [INFO] [stdout] | [INFO] [stdout] 231 | let written = client [INFO] [stdout] | ___________________^ [INFO] [stdout] 232 | | .write_events(vec![event_candidate], vec![]) [INFO] [stdout] 233 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/write_events.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | let result = client.write_events(vec![event.clone()], vec![]).await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 16 | assert!(result.is_ok(), "Failed to write events: {result:?}"); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 15 | let result: /* Type */ = client.write_events(vec![event.clone()], vec![]).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `eventsourcingdb` (test "metadata_and_discovery") due to 33 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/write_events.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | let container = create_test_container().await; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 27 | let client = container.get_client().await.unwrap(); [INFO] [stdout] | --------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `container` an explicit type [INFO] [stdout] | [INFO] [stdout] 26 | let container: /* Type */ = create_test_container().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/write_events.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | let client = container.get_client().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/write_events.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let result = client.write_events(event_candidates.clone(), vec![]).await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 32 | assert!(result.is_ok(), "Failed to write events: {result:?}"); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 31 | let result: /* Type */ = client.write_events(event_candidates.clone(), vec![]).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `eventsourcingdb` (test "run_eventql_query") due to 5 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/write_events.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | let container = create_test_container().await; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 41 | let client = container.get_client().await.unwrap(); [INFO] [stdout] | --------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `container` an explicit type [INFO] [stdout] | [INFO] [stdout] 40 | let container: /* Type */ = create_test_container().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/write_events.rs:41:18 [INFO] [stdout] | [INFO] [stdout] 41 | let client = container.get_client().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/write_events.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | let result = client [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | assert!(result.is_ok(), "Failed to write events: {result:?}"); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 44 | let result: /* Type */ = client [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/write_events.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | let container = create_test_container().await; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 63 | let client = container.get_client().await.unwrap(); [INFO] [stdout] | --------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `container` an explicit type [INFO] [stdout] | [INFO] [stdout] 62 | let container: /* Type */ = create_test_container().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/write_events.rs:63:18 [INFO] [stdout] | [INFO] [stdout] 63 | let client = container.get_client().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/write_events.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | / client [INFO] [stdout] 67 | | .write_events(vec![event_candidate.clone()], vec![]) [INFO] [stdout] 68 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/write_events.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | let result = client [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | assert!(result.is_err(), "Expected an error, but got: {result:?}"); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 70 | let result: /* Type */ = client [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/write_events.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | let container = create_test_container().await; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 84 | let client = container.get_client().await.unwrap(); [INFO] [stdout] | --------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `container` an explicit type [INFO] [stdout] | [INFO] [stdout] 83 | let container: /* Type */ = create_test_container().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/write_events.rs:84:18 [INFO] [stdout] | [INFO] [stdout] 84 | let client = container.get_client().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/write_events.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | let result = client [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | assert!(result.is_err(), "Expected an error, but got: {result:?}"); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 87 | let result: /* Type */ = client [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/write_events.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | let container = create_test_container().await; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 101 | let client = container.get_client().await.unwrap(); [INFO] [stdout] | --------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `container` an explicit type [INFO] [stdout] | [INFO] [stdout] 100 | let container: /* Type */ = create_test_container().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/write_events.rs:101:18 [INFO] [stdout] | [INFO] [stdout] 101 | let client = container.get_client().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/write_events.rs:104:32 [INFO] [stdout] | [INFO] [stdout] 104 | let mut initial_response = client [INFO] [stdout] | ________________________________^ [INFO] [stdout] 105 | | .write_events(vec![first_event.clone()], vec![]) [INFO] [stdout] 106 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/write_events.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | let result = client [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | assert!(result.is_ok(), "Writing the event failed: {result:?}"); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 119 | let result: /* Type */ = client [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/write_events.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | let container = create_test_container().await; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 142 | let client = container.get_client().await.unwrap(); [INFO] [stdout] | --------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `container` an explicit type [INFO] [stdout] | [INFO] [stdout] 141 | let container: /* Type */ = create_test_container().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/write_events.rs:142:18 [INFO] [stdout] | [INFO] [stdout] 142 | let client = container.get_client().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `eventsourcingdb` (example "observing_events") due to 3 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/write_events.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | let result = client [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | assert!(result.is_ok(), "Failed to write events: {result:?}"); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 148 | let result: /* Type */ = client [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/write_events.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 163 | let container = create_test_container().await; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 164 | let client = container.get_client().await.unwrap(); [INFO] [stdout] | --------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `container` an explicit type [INFO] [stdout] | [INFO] [stdout] 163 | let container: /* Type */ = create_test_container().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/write_events.rs:164:18 [INFO] [stdout] | [INFO] [stdout] 164 | let client = container.get_client().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/write_events.rs:167:5 [INFO] [stdout] | [INFO] [stdout] 167 | / client [INFO] [stdout] 168 | | .write_events(vec![fill_event_candidate.clone()], vec![]) [INFO] [stdout] 169 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/write_events.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 175 | let result = client [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 183 | assert!(result.is_err(), "Expected an error, but got: {result:?}"); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 175 | let result: /* Type */ = client [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/write_events.rs:188:9 [INFO] [stdout] | [INFO] [stdout] 188 | let container = create_test_container().await; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 189 | let client = container.get_client().await.unwrap(); [INFO] [stdout] | --------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `container` an explicit type [INFO] [stdout] | [INFO] [stdout] 188 | let container: /* Type */ = create_test_container().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/write_events.rs:189:18 [INFO] [stdout] | [INFO] [stdout] 189 | let client = container.get_client().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/write_events.rs:192:9 [INFO] [stdout] | [INFO] [stdout] 192 | let result = client [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 201 | assert!(result.is_err(), "Expected an error, but got: {result:?}"); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 192 | let result: /* Type */ = client [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/write_events.rs:206:9 [INFO] [stdout] | [INFO] [stdout] 206 | let container = create_test_container().await; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 207 | let client = container.get_client().await.unwrap(); [INFO] [stdout] | --------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `container` an explicit type [INFO] [stdout] | [INFO] [stdout] 206 | let container: /* Type */ = create_test_container().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/write_events.rs:207:18 [INFO] [stdout] | [INFO] [stdout] 207 | let client = container.get_client().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/write_events.rs:210:19 [INFO] [stdout] | [INFO] [stdout] 210 | let written = client [INFO] [stdout] | ___________________^ [INFO] [stdout] 211 | | .write_events(vec![event_candidate.clone()], vec![]) [INFO] [stdout] 212 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/write_events.rs:216:9 [INFO] [stdout] | [INFO] [stdout] 216 | let result = client [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 225 | assert!(result.is_ok(), "Writing the event failed: {result:?}"); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 216 | let result: /* Type */ = client [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/write_events.rs:230:9 [INFO] [stdout] | [INFO] [stdout] 230 | let container = create_test_container().await; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 231 | let client = container.get_client().await.unwrap(); [INFO] [stdout] | --------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `container` an explicit type [INFO] [stdout] | [INFO] [stdout] 230 | let container: /* Type */ = create_test_container().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/write_events.rs:231:18 [INFO] [stdout] | [INFO] [stdout] 231 | let client = container.get_client().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/write_events.rs:234:5 [INFO] [stdout] | [INFO] [stdout] 234 | / client [INFO] [stdout] 235 | | .write_events(vec![event_candidate.clone()], vec![]) [INFO] [stdout] 236 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/write_events.rs:240:9 [INFO] [stdout] | [INFO] [stdout] 240 | let result = client [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 249 | assert!(result.is_err(), "Expected an error, but got: {result:?}"); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 240 | let result: /* Type */ = client [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/write_events.rs:254:9 [INFO] [stdout] | [INFO] [stdout] 254 | let container = create_test_container().await; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 255 | let client = container.get_client().await.unwrap(); [INFO] [stdout] | --------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `container` an explicit type [INFO] [stdout] | [INFO] [stdout] 254 | let container: /* Type */ = create_test_container().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/write_events.rs:255:18 [INFO] [stdout] | [INFO] [stdout] 255 | let client = container.get_client().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/write_events.rs:261:9 [INFO] [stdout] | [INFO] [stdout] 261 | let result = client [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 270 | assert!(result.is_err(), "Expected an error, but got: {result:?}"); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 261 | let result: /* Type */ = client [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/write_events.rs:275:9 [INFO] [stdout] | [INFO] [stdout] 275 | let container = create_test_container().await; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 276 | let client = container.get_client().await.unwrap(); [INFO] [stdout] | --------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `container` an explicit type [INFO] [stdout] | [INFO] [stdout] 275 | let container: /* Type */ = create_test_container().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/write_events.rs:276:18 [INFO] [stdout] | [INFO] [stdout] 276 | let client = container.get_client().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/write_events.rs:282:9 [INFO] [stdout] | [INFO] [stdout] 282 | let result = client [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 290 | assert!(result.is_ok(), "Expected an ok, but got: {result:?}"); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 282 | let result: /* Type */ = client [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/write_events.rs:295:9 [INFO] [stdout] | [INFO] [stdout] 295 | let container = create_test_container().await; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 296 | let client = container.get_client().await.unwrap(); [INFO] [stdout] | --------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `container` an explicit type [INFO] [stdout] | [INFO] [stdout] 295 | let container: /* Type */ = create_test_container().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `eventsourcingdb` (test "read_events") due to 58 previous errors [INFO] [stderr] error: could not compile `eventsourcingdb` (test "essentials") due to 10 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/write_events.rs:296:18 [INFO] [stdout] | [INFO] [stdout] 296 | let client = container.get_client().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/write_events.rs:299:19 [INFO] [stdout] | [INFO] [stdout] 299 | let written = client [INFO] [stdout] | ___________________^ [INFO] [stdout] 300 | | .write_events(vec![fill_event_candidate.clone()], vec![]) [INFO] [stdout] 301 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/write_events.rs:309:9 [INFO] [stdout] | [INFO] [stdout] 309 | let result = client [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 318 | assert!(result.is_ok(), "Writing the events failed: {result:?}"); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 309 | let result: /* Type */ = client [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/write_events.rs:323:9 [INFO] [stdout] | [INFO] [stdout] 323 | let container = create_test_container().await; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 324 | let client = container.get_client().await.unwrap(); [INFO] [stdout] | --------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `container` an explicit type [INFO] [stdout] | [INFO] [stdout] 323 | let container: /* Type */ = create_test_container().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/write_events.rs:324:18 [INFO] [stdout] | [INFO] [stdout] 324 | let client = container.get_client().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/write_events.rs:327:5 [INFO] [stdout] | [INFO] [stdout] 327 | / client [INFO] [stdout] 328 | | .write_events(vec![fill_event_candidate.clone()], vec![]) [INFO] [stdout] 329 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/write_events.rs:337:9 [INFO] [stdout] | [INFO] [stdout] 337 | let result = client [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 346 | assert!(result.is_err(), "Expected an error, but got: {result:?}"); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 337 | let result: /* Type */ = client [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/write_events.rs:351:9 [INFO] [stdout] | [INFO] [stdout] 351 | let container = create_test_container().await; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 352 | let client = container.get_client().await.unwrap(); [INFO] [stdout] | --------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `container` an explicit type [INFO] [stdout] | [INFO] [stdout] 351 | let container: /* Type */ = create_test_container().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/write_events.rs:352:18 [INFO] [stdout] | [INFO] [stdout] 352 | let client = container.get_client().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/write_events.rs:362:9 [INFO] [stdout] | [INFO] [stdout] 362 | let result = client.write_events(vec![event.clone()], vec![]).await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 363 | assert!(result.is_ok(), "Failed to write events: {result:?}"); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 362 | let result: /* Type */ = client.write_events(vec![event.clone()], vec![]).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/write_events.rs:373:9 [INFO] [stdout] | [INFO] [stdout] 373 | let container = create_test_container().await; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 374 | let client = container.get_client().await.unwrap(); [INFO] [stdout] | --------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `container` an explicit type [INFO] [stdout] | [INFO] [stdout] 373 | let container: /* Type */ = create_test_container().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/write_events.rs:374:18 [INFO] [stdout] | [INFO] [stdout] 374 | let client = container.get_client().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/write_events.rs:385:9 [INFO] [stdout] | [INFO] [stdout] 385 | let result = client.write_events(vec![event.clone()], vec![]).await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 386 | assert!(result.is_ok(), "Failed to write events: {result:?}"); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 385 | let result: /* Type */ = client.write_events(vec![event.clone()], vec![]).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `eventsourcingdb` (test "write_events") due to 60 previous errors [INFO] running `Command { std: "docker" "inspect" "a67756ea717f11b1bcd3c62b04d2818bbfa71cabcd66ba46eba0b9f5a97a4b9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a67756ea717f11b1bcd3c62b04d2818bbfa71cabcd66ba46eba0b9f5a97a4b9f", kill_on_drop: false }` [INFO] [stdout] a67756ea717f11b1bcd3c62b04d2818bbfa71cabcd66ba46eba0b9f5a97a4b9f