[INFO] fetching crate momento 0.57.0... [INFO] testing momento-0.57.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8 [INFO] extracting crate momento 0.57.0 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate momento 0.57.0 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate momento 0.57.0 [INFO] tweaked toml for crates.io crate momento 0.57.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate momento 0.57.0 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate momento 0.57.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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded atomic-wait v1.1.0 [INFO] [stderr] Downloaded base64-url v3.0.0 [INFO] [stderr] Downloaded protosocket-prost v0.11.0 [INFO] [stderr] Downloaded protosocket-rpc v0.11.0 [INFO] [stderr] Downloaded momento-protos v0.127.3 [INFO] [stderr] Downloaded convert_case v0.7.1 [INFO] [stderr] Downloaded k-lock v0.2.5 [INFO] [stderr] Downloaded protosocket v0.11.0 [INFO] [stderr] Downloaded aws-lc-rs v1.14.0 [INFO] [stderr] Downloaded rustls v0.23.28 [INFO] [stderr] Downloaded aws-lc-sys v0.31.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d2e52ec08b49e73be46cf28c7068ed03cd88d8ca446fba55686e6ce311292b0d [INFO] running `Command { std: "docker" "start" "-a" "d2e52ec08b49e73be46cf28c7068ed03cd88d8ca446fba55686e6ce311292b0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d2e52ec08b49e73be46cf28c7068ed03cd88d8ca446fba55686e6ce311292b0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2e52ec08b49e73be46cf28c7068ed03cd88d8ca446fba55686e6ce311292b0d", kill_on_drop: false }` [INFO] [stdout] d2e52ec08b49e73be46cf28c7068ed03cd88d8ca446fba55686e6ce311292b0d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 315e8ce08b5803737e171e191c77f878d00fc6be10b4819022efaa6d2e4317c6 [INFO] running `Command { std: "docker" "start" "-a" "315e8ce08b5803737e171e191c77f878d00fc6be10b4819022efaa6d2e4317c6", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling aws-lc-rs v1.14.0 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling rustls v0.23.28 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling readme-rustdocifier v0.1.1 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling axum-core v0.5.2 [INFO] [stderr] Compiling atomic-wait v1.1.0 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling matchit v0.8.4 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Compiling k-lock v0.2.5 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling webpki-roots v1.0.1 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling rustls-native-certs v0.8.1 [INFO] [stderr] Compiling convert_case v0.7.1 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling aws-lc-sys v0.31.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling prost-derive v0.13.5 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling tokio v1.46.0 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling prost v0.13.5 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling h2 v0.4.11 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling protosocket v0.11.0 [INFO] [stderr] Compiling protosocket-prost v0.11.0 [INFO] [stderr] Compiling axum v0.8.4 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling rustls-webpki v0.103.3 [INFO] [stderr] Compiling hyper-util v0.1.15 [INFO] [stderr] Compiling hyper-timeout v0.5.2 [INFO] [stderr] Compiling tokio-rustls v0.26.2 [INFO] [stderr] Compiling protosocket-rpc v0.11.0 [INFO] [stderr] Compiling tonic v0.13.1 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling reqwest v0.12.23 [INFO] [stderr] Compiling momento-protos v0.127.3 [INFO] [stderr] Compiling momento v0.57.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 19s [INFO] running `Command { std: "docker" "inspect" "315e8ce08b5803737e171e191c77f878d00fc6be10b4819022efaa6d2e4317c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "315e8ce08b5803737e171e191c77f878d00fc6be10b4819022efaa6d2e4317c6", kill_on_drop: false }` [INFO] [stdout] 315e8ce08b5803737e171e191c77f878d00fc6be10b4819022efaa6d2e4317c6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] af496c9c8f5fb7d6025c8de787df3ffd2470e793a67cd3a1ed4252e20e17508c [INFO] running `Command { std: "docker" "start" "-a" "af496c9c8f5fb7d6025c8de787df3ffd2470e793a67cd3a1ed4252e20e17508c", kill_on_drop: false }` [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling anstyle-query v1.1.3 [INFO] [stderr] Compiling jiff v0.2.15 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling base64-url v3.0.0 [INFO] [stderr] Compiling anstream v0.6.19 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling tokio-test v0.4.4 [INFO] [stderr] Compiling prost-derive v0.13.5 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling prost v0.13.5 [INFO] [stderr] Compiling tonic v0.13.1 [INFO] [stderr] Compiling protosocket-prost v0.11.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling momento-protos v0.127.3 [INFO] [stderr] Compiling momento v0.57.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `momento_test_util` [INFO] [stdout] --> scripts/test-setup.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use momento_test_util::{get_test_cache_name, get_test_credential_provider}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `momento_test_util` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `momento_test_util`, use `cargo add momento_test_util` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `momento_test_util` [INFO] [stdout] --> scripts/test-teardown.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use momento_test_util::{get_test_cache_name, get_test_credential_provider}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `momento_test_util` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `momento_test_util`, use `cargo add momento_test_util` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> scripts/test-teardown.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | / cache_client [INFO] [stdout] 23 | | .delete_cache(cache_name.clone()) [INFO] [stdout] 24 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [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 `momento` (example "test-setup") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `momento` (example "test-teardown") due to 2 previous errors [INFO] [stdout] error[E0432]: unresolved import `momento_test_util` [INFO] [stdout] --> tests/auth/disposable_tokens.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use momento_test_util::{unique_key, TestScalar, CACHE_TEST_STATE}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `momento_test_util` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `momento_test_util`, use `cargo add momento_test_util` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `momento_test_util` [INFO] [stdout] --> tests/cache/batch.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use momento_test_util::{unique_cache_name, unique_key, TestScalar, CACHE_TEST_STATE}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `momento_test_util` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `momento_test_util`, use `cargo add momento_test_util` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `momento_test_util` [INFO] [stdout] --> tests/cache/control.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use momento_test_util::CACHE_TEST_STATE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `momento_test_util` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `momento_test_util`, use `cargo add momento_test_util` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `momento_test_util` [INFO] [stdout] --> tests/cache/control.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use momento_test_util::{unique_cache_name, TestScalar}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `momento_test_util` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `momento_test_util`, use `cargo add momento_test_util` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `momento_test_util` [INFO] [stdout] --> tests/cache/dictionary.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use momento_test_util::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `momento_test_util` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `momento_test_util`, use `cargo add momento_test_util` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `momento_test_util` [INFO] [stdout] --> tests/cache/item.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use momento_test_util::{unique_cache_name, TestScalar, TestSet, TestSortedSet, CACHE_TEST_STATE}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `momento_test_util` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `momento_test_util`, use `cargo add momento_test_util` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `momento_test_util` [INFO] [stdout] --> tests/cache/key_existence.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use momento_test_util::{unique_cache_name, TestScalar, CACHE_TEST_STATE}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `momento_test_util` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `momento_test_util`, use `cargo add momento_test_util` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `momento_test_util` [INFO] [stdout] --> tests/cache/list.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use momento_test_util::{unique_cache_name, TestList, CACHE_TEST_STATE}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `momento_test_util` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `momento_test_util`, use `cargo add momento_test_util` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `momento_test_util` [INFO] [stdout] --> tests/cache/scalar.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use momento_test_util::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `momento_test_util` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `momento_test_util`, use `cargo add momento_test_util` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `momento_test_util` [INFO] [stdout] --> tests/cache/set.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use momento_test_util::{unique_cache_name, unique_value, TestSet, CACHE_TEST_STATE}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `momento_test_util` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `momento_test_util`, use `cargo add momento_test_util` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `momento_test_util` [INFO] [stdout] --> tests/cache/sorted_set.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use momento_test_util::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `momento_test_util` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `momento_test_util`, use `cargo add momento_test_util` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `momento_test_util` [INFO] [stdout] --> tests/cache/ttl.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use momento_test_util::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `momento_test_util` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `momento_test_util`, use `cargo add momento_test_util` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `momento_test_util` [INFO] [stdout] --> tests/leaderboard/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use momento_test_util::{unique_leaderboard_name, TestLeaderboard, CACHE_TEST_STATE}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `momento_test_util` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `momento_test_util`, use `cargo add momento_test_util` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `momento_test_util` [INFO] [stdout] --> tests/topics/pubsub.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use momento_test_util::CACHE_TEST_STATE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `momento_test_util` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `momento_test_util`, use `cargo add momento_test_util` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `momento_test_util` [INFO] [stdout] --> tests/topics/pubsub.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use momento_test_util::{unique_cache_name, unique_topic_name}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `momento_test_util` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `momento_test_util`, use `cargo add momento_test_util` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `momento_test_util` [INFO] [stdout] --> tests/cache/key_existence.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | use momento_test_util::{unique_cache_name, TestScalar}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `momento_test_util` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `momento_test_util`, use `cargo add momento_test_util` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/auth/disposable_tokens.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let response = CACHE_TEST_STATE [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | assert!(!response.clone().auth_token().is_empty()); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 21 | let response: /* Type */ = CACHE_TEST_STATE [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/auth/disposable_tokens.rs:1474:13 [INFO] [stdout] | [INFO] [stdout] 1474 | let response = CACHE_TEST_STATE [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1480 | let auth_token = response.clone().auth_token(); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 1474 | let response: /* Type */ = CACHE_TEST_STATE [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/batch.rs:17:22 [INFO] [stdout] | [INFO] [stdout] 17 | let result = client.get_batch(" ", keys).await.unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/batch.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | let result = client.get_batch(cache_name, keys).await.unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/batch.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | let response = client.get_batch(cache_name, keys.clone()).await?; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | let byte_keys_get_responses: HashMap, GetResponse> = response.clone().into(); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 37 | let response: /* Type */ = client.get_batch(cache_name, keys.clone()).await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/batch.rs:44:28 [INFO] [stdout] | [INFO] [stdout] 44 | let byte_key = key.as_bytes(); [INFO] [stdout] | ^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/batch.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | let set_batch_response = client.set_batch(cache_name, items_map.clone()).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | set_batch_response.clone().into(); [INFO] [stdout] | ------------------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `set_batch_response` an explicit type [INFO] [stdout] | [INFO] [stdout] 95 | let set_batch_response: /* Type */ = client.set_batch(cache_name, items_map.clone()).await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/batch.rs:103:57 [INFO] [stdout] | [INFO] [stdout] 103 | let set_value = byte_keys_set_responses.get(item.key().as_bytes()).unwrap(); [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/batch.rs:111:56 [INFO] [stdout] | [INFO] [stdout] 111 | let set_value = str_keys_set_responses.get(item.key()).unwrap(); [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/batch.rs:120:31 [INFO] [stdout] | [INFO] [stdout] 120 | items.iter().map(|item| item.key().to_string()).collect(), [INFO] [stdout] | ^^^^ ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 120 | items.iter().map(|item: /* Type */| item.key().to_string()).collect(), [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/batch.rs:123:13 [INFO] [stdout] | [INFO] [stdout] 123 | let response = client.get_batch(cache_name, all_keys.clone()).await?; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | let byte_keys_get_responses: HashMap, GetResponse> = response.clone().into(); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 123 | let response: /* Type */ = client.get_batch(cache_name, all_keys.clone()).await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/batch.rs:130:28 [INFO] [stdout] | [INFO] [stdout] 130 | let byte_key = key.as_bytes(); [INFO] [stdout] | ^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/batch.rs:136:24 [INFO] [stdout] | [INFO] [stdout] 136 | if item.key() == key { [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/batch.rs:152:24 [INFO] [stdout] | [INFO] [stdout] 152 | if item.key() == key { [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/batch.rs:162:28 [INFO] [stdout] | [INFO] [stdout] 162 | let byte_key = item.key().as_bytes(); [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/batch.rs:172:59 [INFO] [stdout] | [INFO] [stdout] 172 | let retrieved_value = str_keys_hit_values.get(item.key()).unwrap(); [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/batch.rs:180:28 [INFO] [stdout] | [INFO] [stdout] 180 | let byte_key = item.key().as_bytes(); [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/batch.rs:189:58 [INFO] [stdout] | [INFO] [stdout] 189 | let retrieved_value = str_keys_hit_bytes.get(item.key()).unwrap(); [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/batch.rs:196:28 [INFO] [stdout] | [INFO] [stdout] 196 | let byte_key = item.key().as_bytes(); [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/batch.rs:207:60 [INFO] [stdout] | [INFO] [stdout] 207 | let retrieved_value = str_keys_hit_strings.get(item.key()).unwrap(); [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/batch.rs:218:22 [INFO] [stdout] | [INFO] [stdout] 218 | let result = client.set_batch(" ", items).await.unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/batch.rs:228:22 [INFO] [stdout] | [INFO] [stdout] 228 | let result = client.set_batch(cache_name, items).await.unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/batch.rs:247:13 [INFO] [stdout] | [INFO] [stdout] 247 | let set_batch_response = client.send_request(set_batch_request).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 252 | set_batch_response.clone().into(); [INFO] [stdout] | ------------------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `set_batch_response` an explicit type [INFO] [stdout] | [INFO] [stdout] 247 | let set_batch_response: /* Type */ = client.send_request(set_batch_request).await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/batch.rs:255:57 [INFO] [stdout] | [INFO] [stdout] 255 | let set_value = byte_keys_set_responses.get(item.key().as_bytes()).unwrap(); [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/batch.rs:263:56 [INFO] [stdout] | [INFO] [stdout] 263 | let set_value = str_keys_set_responses.get(item.key()).unwrap(); [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/control.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 14 | let result = client.delete_cache(cache_name).await.unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/control.rs:57:22 [INFO] [stdout] | [INFO] [stdout] 57 | let result = client.flush_cache(cache_name).await.unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/dictionary.rs:51:22 [INFO] [stdout] | [INFO] [stdout] 51 | let result = client.dictionary_fetch(" ", "key").await.unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/dictionary.rs:60:22 [INFO] [stdout] | [INFO] [stdout] 60 | let result = client [INFO] [stdout] | ______________________^ [INFO] [stdout] 61 | | .dictionary_fetch(cache_name, "my-dictionary") [INFO] [stdout] 62 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/dictionary.rs:89:60 [INFO] [stdout] | [INFO] [stdout] 89 | .dictionary_get_field(cache_name, item.name(), field.clone()) [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/dictionary.rs:106:22 [INFO] [stdout] | [INFO] [stdout] 106 | let result = client [INFO] [stdout] | ______________________^ [INFO] [stdout] 107 | | .dictionary_get_field(" ", "my-dictionary", "my-field") [INFO] [stdout] 108 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/dictionary.rs:118:22 [INFO] [stdout] | [INFO] [stdout] 118 | let result = client [INFO] [stdout] | ______________________^ [INFO] [stdout] 119 | | .dictionary_get_field(cache_name, "my-dictionary", "my-field") [INFO] [stdout] 120 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/dictionary.rs:170:22 [INFO] [stdout] | [INFO] [stdout] 170 | let result = client [INFO] [stdout] | ______________________^ [INFO] [stdout] 171 | | .dictionary_get_fields(" ", "my-dictionary", vec!["my-field".to_string()]) [INFO] [stdout] 172 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/dictionary.rs:182:22 [INFO] [stdout] | [INFO] [stdout] 182 | let result = client [INFO] [stdout] | ______________________^ [INFO] [stdout] 183 | | .dictionary_get_fields(cache_name, "my-dictionary", vec!["my-field".to_string()]) [INFO] [stdout] 184 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/dictionary.rs:216:60 [INFO] [stdout] | [INFO] [stdout] 216 | .dictionary_increment(cache_name, item.name(), field.clone(), 1) [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/dictionary.rs:215:24 [INFO] [stdout] | [INFO] [stdout] 215 | let response = client [INFO] [stdout] | ________________________^ [INFO] [stdout] 216 | | .dictionary_increment(cache_name, item.name(), field.clone(), 1) [INFO] [stdout] 217 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/dictionary.rs:230:22 [INFO] [stdout] | [INFO] [stdout] 230 | let result = client [INFO] [stdout] | ______________________^ [INFO] [stdout] 231 | | .dictionary_increment(" ", "my-dictionary", "my-field", 1) [INFO] [stdout] 232 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/dictionary.rs:242:22 [INFO] [stdout] | [INFO] [stdout] 242 | let result = client [INFO] [stdout] | ______________________^ [INFO] [stdout] 243 | | .dictionary_increment(cache_name, "my-dictionary", "my-field", 1) [INFO] [stdout] 244 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/dictionary.rs:290:22 [INFO] [stdout] | [INFO] [stdout] 290 | let result = client [INFO] [stdout] | ______________________^ [INFO] [stdout] 291 | | .dictionary_remove_field(" ", "my-dictionary", "my-field") [INFO] [stdout] 292 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/dictionary.rs:302:22 [INFO] [stdout] | [INFO] [stdout] 302 | let result = client [INFO] [stdout] | ______________________^ [INFO] [stdout] 303 | | .dictionary_remove_field(cache_name, "my-dictionary", "my-field") [INFO] [stdout] 304 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/dictionary.rs:349:22 [INFO] [stdout] | [INFO] [stdout] 349 | let result = client [INFO] [stdout] | ______________________^ [INFO] [stdout] 350 | | .dictionary_remove_fields(" ", "my-dictionary", vec!["my-field".to_string()]) [INFO] [stdout] 351 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/dictionary.rs:361:22 [INFO] [stdout] | [INFO] [stdout] 361 | let result = client [INFO] [stdout] | ______________________^ [INFO] [stdout] 362 | | .dictionary_remove_fields(cache_name, "my-dictionary", vec!["my-field".to_string()]) [INFO] [stdout] 363 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/dictionary.rs:398:22 [INFO] [stdout] | [INFO] [stdout] 398 | let result = client [INFO] [stdout] | ______________________^ [INFO] [stdout] 399 | | .dictionary_set_field(" ", "my-dictionary", "my-field", "my-value") [INFO] [stdout] 400 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/dictionary.rs:410:22 [INFO] [stdout] | [INFO] [stdout] 410 | let result = client [INFO] [stdout] | ______________________^ [INFO] [stdout] 411 | | .dictionary_set_field(cache_name, "my-dictionary", "my-field", "my-value") [INFO] [stdout] 412 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/dictionary.rs:442:22 [INFO] [stdout] | [INFO] [stdout] 442 | let result = client [INFO] [stdout] | ______________________^ [INFO] [stdout] 443 | | .dictionary_set_fields( [INFO] [stdout] 444 | | " ", [INFO] [stdout] 445 | | "my-dictionary", [INFO] [stdout] ... | [INFO] [stdout] 448 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/dictionary.rs:458:22 [INFO] [stdout] | [INFO] [stdout] 458 | let result = client [INFO] [stdout] | ______________________^ [INFO] [stdout] 459 | | .dictionary_set_fields( [INFO] [stdout] 460 | | cache_name, [INFO] [stdout] 461 | | "my-dictionary", [INFO] [stdout] ... | [INFO] [stdout] 464 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/dictionary.rs:525:22 [INFO] [stdout] | [INFO] [stdout] 525 | let result = client [INFO] [stdout] | ______________________^ [INFO] [stdout] 526 | | .dictionary_length(" ", "my-dictionary") [INFO] [stdout] 527 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/dictionary.rs:537:22 [INFO] [stdout] | [INFO] [stdout] 537 | let result = client [INFO] [stdout] | ______________________^ [INFO] [stdout] 538 | | .dictionary_length(cache_name, "my-dictionary") [INFO] [stdout] 539 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/item.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | let result = client.item_get_type(" ", "key").await.unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/item.rs:24:22 [INFO] [stdout] | [INFO] [stdout] 24 | let result = client.item_get_type(cache_name, "key").await.unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/item.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | let result = client.item_get_type(cache_name, item.key()).await?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 42 | let item_type: ItemType = result.try_into().expect("Expected ItemType, got Miss"); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 41 | let result: /* Type */ = client.item_get_type(cache_name, item.key()).await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/item.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | let result = client.item_get_type(cache_name, item.name()).await?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 62 | let item_type: ItemType = result.try_into().expect("Expected ItemType, got Miss"); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 61 | let result: /* Type */ = client.item_get_type(cache_name, item.name()).await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/item.rs:77:13 [INFO] [stdout] | [INFO] [stdout] 77 | let result = client.item_get_type(cache_name, item.name()).await?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 78 | let item_type: ItemType = result.try_into().expect("Expected ItemType, got Miss"); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 77 | let result: /* Type */ = client.item_get_type(cache_name, item.name()).await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/key_existence.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 14 | let result = client.key_exists(" ", "key").await.unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/key_existence.rs:23:22 [INFO] [stdout] | [INFO] [stdout] 23 | let result = client.key_exists(cache_name, "key").await.unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/key_existence.rs:63:22 [INFO] [stdout] | [INFO] [stdout] 63 | let result = client.keys_exist(" ", vec!["key"]).await.unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/key_existence.rs:72:22 [INFO] [stdout] | [INFO] [stdout] 72 | let result = client [INFO] [stdout] | ______________________^ [INFO] [stdout] 73 | | .keys_exist(cache_name, vec!["key"]) [INFO] [stdout] 74 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/key_existence.rs:87:40 [INFO] [stdout] | [INFO] [stdout] 87 | let keys_received: Vec = client.keys_exist(cache_name, empty_vector).await?.into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/key_existence.rs:111:27 [INFO] [stdout] | [INFO] [stdout] 111 | .map(|item| item.key().to_string()) [INFO] [stdout] | ^^^^ ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 111 | .map(|item: /* Type */| item.key().to_string()) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/key_existence.rs:106:13 [INFO] [stdout] | [INFO] [stdout] 106 | let result = client [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | let keys_list: Vec = result.clone().into(); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 106 | let result: /* Type */ = client [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/list.rs:34:22 [INFO] [stdout] | [INFO] [stdout] 34 | let result = client [INFO] [stdout] | ______________________^ [INFO] [stdout] 35 | | .list_concatenate_back(cache_name, "list", vec!["value1", "value2"]) [INFO] [stdout] 36 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/list.rs:103:22 [INFO] [stdout] | [INFO] [stdout] 103 | let result = client [INFO] [stdout] | ______________________^ [INFO] [stdout] 104 | | .list_concatenate_front(cache_name, "list", vec!["value1", "value2"]) [INFO] [stdout] 105 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/list.rs:173:22 [INFO] [stdout] | [INFO] [stdout] 173 | let result = client.list_length(cache_name, "list").await.unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/list.rs:223:22 [INFO] [stdout] | [INFO] [stdout] 223 | let result = client.list_fetch(cache_name, "list").await.unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/list.rs:288:22 [INFO] [stdout] | [INFO] [stdout] 288 | let result = client.list_pop_back(cache_name, "list").await.unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/list.rs:321:36 [INFO] [stdout] | [INFO] [stdout] 321 | let popped_first: String = client [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 322 | | .list_pop_back(cache_name, test_list.name()) [INFO] [stdout] 323 | | .await? [INFO] [stdout] | |___________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/list.rs:329:37 [INFO] [stdout] | [INFO] [stdout] 329 | let popped_second: String = client [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 330 | | .list_pop_back(cache_name, test_list.name()) [INFO] [stdout] 331 | | .await? [INFO] [stdout] | |___________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/list.rs:351:22 [INFO] [stdout] | [INFO] [stdout] 351 | let result = client.list_pop_front(cache_name, "list").await.unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/list.rs:384:36 [INFO] [stdout] | [INFO] [stdout] 384 | let popped_first: String = client [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 385 | | .list_pop_front(cache_name, test_list.name()) [INFO] [stdout] 386 | | .await? [INFO] [stdout] | |___________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/list.rs:395:37 [INFO] [stdout] | [INFO] [stdout] 395 | let popped_second: String = client [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 396 | | .list_pop_front(cache_name, test_list.name()) [INFO] [stdout] 397 | | .await? [INFO] [stdout] | |___________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/list.rs:417:22 [INFO] [stdout] | [INFO] [stdout] 417 | let result = client [INFO] [stdout] | ______________________^ [INFO] [stdout] 418 | | .list_push_back(cache_name, "list", "value") [INFO] [stdout] 419 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/list.rs:496:22 [INFO] [stdout] | [INFO] [stdout] 496 | let result = client [INFO] [stdout] | ______________________^ [INFO] [stdout] 497 | | .list_push_front(cache_name, "list", "value") [INFO] [stdout] 498 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/list.rs:575:22 [INFO] [stdout] | [INFO] [stdout] 575 | let result = client [INFO] [stdout] | ______________________^ [INFO] [stdout] 576 | | .list_remove_value(cache_name, "list", "value") [INFO] [stdout] 577 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/scalar.rs:103:22 [INFO] [stdout] | [INFO] [stdout] 103 | let result = client.delete(" ", "key").await.unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/scalar.rs:112:22 [INFO] [stdout] | [INFO] [stdout] 112 | let result = client.delete(cache_name, "key").await.unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/scalar.rs:158:22 [INFO] [stdout] | [INFO] [stdout] 158 | let result = client.increment(" ", "key", 1).await.unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/scalar.rs:167:22 [INFO] [stdout] | [INFO] [stdout] 167 | let result = client.increment(cache_name, "key", 1).await.unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/scalar.rs:204:22 [INFO] [stdout] | [INFO] [stdout] 204 | let result = client [INFO] [stdout] | ______________________^ [INFO] [stdout] 205 | | .increment(cache_name, item.key(), 1) [INFO] [stdout] 206 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/scalar.rs:220:22 [INFO] [stdout] | [INFO] [stdout] 220 | let result = client [INFO] [stdout] | ______________________^ [INFO] [stdout] 221 | | .set_if_absent(" ", "key", "value") [INFO] [stdout] 222 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/scalar.rs:232:22 [INFO] [stdout] | [INFO] [stdout] 232 | let result = client [INFO] [stdout] | ______________________^ [INFO] [stdout] 233 | | .set_if_absent(cache_name, "key", "value") [INFO] [stdout] 234 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/scalar.rs:279:36 [INFO] [stdout] | [INFO] [stdout] 279 | let result_ttl: Duration = client [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 280 | | .item_get_ttl(cache_name, item.key()) [INFO] [stdout] 281 | | .await? [INFO] [stdout] | |___________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/scalar.rs:307:22 [INFO] [stdout] | [INFO] [stdout] 307 | let result = client [INFO] [stdout] | ______________________^ [INFO] [stdout] 308 | | .set_if_present(" ", "key", "value") [INFO] [stdout] 309 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/scalar.rs:319:22 [INFO] [stdout] | [INFO] [stdout] 319 | let result = client [INFO] [stdout] | ______________________^ [INFO] [stdout] 320 | | .set_if_present(cache_name, "key", "value") [INFO] [stdout] 321 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/scalar.rs:370:36 [INFO] [stdout] | [INFO] [stdout] 370 | let result_ttl: Duration = client [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 371 | | .item_get_ttl(cache_name, item.key()) [INFO] [stdout] 372 | | .await? [INFO] [stdout] | |___________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/scalar.rs:398:22 [INFO] [stdout] | [INFO] [stdout] 398 | let result = client [INFO] [stdout] | ______________________^ [INFO] [stdout] 399 | | .set_if_equal(" ", "key", "value", "equal") [INFO] [stdout] 400 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/scalar.rs:410:22 [INFO] [stdout] | [INFO] [stdout] 410 | let result = client [INFO] [stdout] | ______________________^ [INFO] [stdout] 411 | | .set_if_equal(cache_name, "key", "value", "equal") [INFO] [stdout] 412 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/scalar.rs:470:36 [INFO] [stdout] | [INFO] [stdout] 470 | let result_ttl: Duration = client [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 471 | | .item_get_ttl(cache_name, key) [INFO] [stdout] 472 | | .await? [INFO] [stdout] | |___________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/scalar.rs:498:22 [INFO] [stdout] | [INFO] [stdout] 498 | let result = client [INFO] [stdout] | ______________________^ [INFO] [stdout] 499 | | .set_if_not_equal(" ", "key", "value", "not-equal") [INFO] [stdout] 500 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/scalar.rs:510:22 [INFO] [stdout] | [INFO] [stdout] 510 | let result = client [INFO] [stdout] | ______________________^ [INFO] [stdout] 511 | | .set_if_not_equal(cache_name, "key", "value", "not-equal") [INFO] [stdout] 512 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/scalar.rs:570:36 [INFO] [stdout] | [INFO] [stdout] 570 | let result_ttl: Duration = client [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 571 | | .item_get_ttl(cache_name, item.key()) [INFO] [stdout] 572 | | .await? [INFO] [stdout] | |___________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/scalar.rs:598:22 [INFO] [stdout] | [INFO] [stdout] 598 | let result = client [INFO] [stdout] | ______________________^ [INFO] [stdout] 599 | | .set_if_present_and_not_equal(" ", "key", "value", "not-equal") [INFO] [stdout] 600 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/scalar.rs:610:22 [INFO] [stdout] | [INFO] [stdout] 610 | let result = client [INFO] [stdout] | ______________________^ [INFO] [stdout] 611 | | .set_if_present_and_not_equal(cache_name, "key", "value", "not-equal") [INFO] [stdout] 612 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/scalar.rs:671:36 [INFO] [stdout] | [INFO] [stdout] 671 | let result_ttl: Duration = client [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 672 | | .item_get_ttl(cache_name, key) [INFO] [stdout] 673 | | .await? [INFO] [stdout] | |___________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/scalar.rs:699:22 [INFO] [stdout] | [INFO] [stdout] 699 | let result = client [INFO] [stdout] | ______________________^ [INFO] [stdout] 700 | | .set_if_absent_or_equal(" ", "key", "value", "equal") [INFO] [stdout] 701 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/scalar.rs:711:22 [INFO] [stdout] | [INFO] [stdout] 711 | let result = client [INFO] [stdout] | ______________________^ [INFO] [stdout] 712 | | .set_if_absent_or_equal(cache_name, "key", "value", "equal") [INFO] [stdout] 713 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/scalar.rs:769:36 [INFO] [stdout] | [INFO] [stdout] 769 | let result_ttl: Duration = client [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 770 | | .item_get_ttl(cache_name, key) [INFO] [stdout] 771 | | .await? [INFO] [stdout] | |___________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/set.rs:60:22 [INFO] [stdout] | [INFO] [stdout] 60 | let result = client [INFO] [stdout] | ______________________^ [INFO] [stdout] 61 | | .set_add_elements(cache_name, "set", vec!["value1", "value2"]) [INFO] [stdout] 62 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/set.rs:125:22 [INFO] [stdout] | [INFO] [stdout] 125 | let result = client.set_fetch(cache_name, "set").await.unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/set.rs:168:22 [INFO] [stdout] | [INFO] [stdout] 168 | let result = client [INFO] [stdout] | ______________________^ [INFO] [stdout] 169 | | .set_remove_elements(cache_name, "set", vec!["value1", "value2"]) [INFO] [stdout] 170 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/sorted_set.rs:146:22 [INFO] [stdout] | [INFO] [stdout] 146 | let result = client [INFO] [stdout] | ______________________^ [INFO] [stdout] 147 | | .sorted_set_fetch_by_rank(cache_name, "sorted-set", Ascending, None, None) [INFO] [stdout] 148 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/sorted_set.rs:281:22 [INFO] [stdout] | [INFO] [stdout] 281 | let result = client [INFO] [stdout] | ______________________^ [INFO] [stdout] 282 | | .sorted_set_fetch_by_score(cache_name, sorted_set_name, Ascending) [INFO] [stdout] 283 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/sorted_set.rs:396:22 [INFO] [stdout] | [INFO] [stdout] 396 | let result = client [INFO] [stdout] | ______________________^ [INFO] [stdout] 397 | | .sorted_set_get_rank(cache_name, sorted_set_name, "element1") [INFO] [stdout] 398 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/sorted_set.rs:454:22 [INFO] [stdout] | [INFO] [stdout] 454 | let result = client [INFO] [stdout] | ______________________^ [INFO] [stdout] 455 | | .sorted_set_get_score(cache_name, sorted_set_name, "element1") [INFO] [stdout] 456 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/sorted_set.rs:494:53 [INFO] [stdout] | [INFO] [stdout] 494 | let result: Vec> = client [INFO] [stdout] | _____________________________________________________^ [INFO] [stdout] 495 | | .sorted_set_get_scores( [INFO] [stdout] 496 | | cache_name, [INFO] [stdout] 497 | | item.name(), [INFO] [stdout] ... | [INFO] [stdout] 500 | | .await? [INFO] [stdout] | |___________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/sorted_set.rs:609:22 [INFO] [stdout] | [INFO] [stdout] 609 | let result = client [INFO] [stdout] | ______________________^ [INFO] [stdout] 610 | | .sorted_set_remove_elements(cache_name, sorted_set_name, vec!["element1", "element2"]) [INFO] [stdout] 611 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/sorted_set.rs:669:22 [INFO] [stdout] | [INFO] [stdout] 669 | let result = client [INFO] [stdout] | ______________________^ [INFO] [stdout] 670 | | .sorted_set_put_element(cache_name, sorted_set_name, "value", 1.0) [INFO] [stdout] 671 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/sorted_set.rs:748:22 [INFO] [stdout] | [INFO] [stdout] 748 | let result = client [INFO] [stdout] | ______________________^ [INFO] [stdout] 749 | | .sorted_set_put_elements( [INFO] [stdout] 750 | | cache_name, [INFO] [stdout] 751 | | sorted_set_name, [INFO] [stdout] ... | [INFO] [stdout] 754 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/sorted_set.rs:793:22 [INFO] [stdout] | [INFO] [stdout] 793 | let result = client [INFO] [stdout] | ______________________^ [INFO] [stdout] 794 | | .sorted_set_length(cache_name, sorted_set_name) [INFO] [stdout] 795 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/sorted_set.rs:852:22 [INFO] [stdout] | [INFO] [stdout] 852 | let result = client [INFO] [stdout] | ______________________^ [INFO] [stdout] 853 | | .sorted_set_length_by_score(cache_name, sorted_set_name) [INFO] [stdout] 854 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/sorted_set.rs:1238:22 [INFO] [stdout] | [INFO] [stdout] 1238 | let result = client [INFO] [stdout] | ______________________^ [INFO] [stdout] 1239 | | .sorted_set_union_store(cache_name, sorted_set_name, empty_sources) [INFO] [stdout] 1240 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/sorted_set.rs:1257:22 [INFO] [stdout] | [INFO] [stdout] 1257 | let result = client [INFO] [stdout] | ______________________^ [INFO] [stdout] 1258 | | .sorted_set_union_store(cache_name, sorted_set_name, sources) [INFO] [stdout] 1259 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/ttl.rs:21:22 [INFO] [stdout] | [INFO] [stdout] 21 | let result = client.item_get_ttl(" ", "key").await.unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/ttl.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | let result = client.item_get_ttl(cache_name, "key").await.unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/ttl.rs:58:29 [INFO] [stdout] | [INFO] [stdout] 58 | let ttl: Duration = client [INFO] [stdout] | _____________________________^ [INFO] [stdout] 59 | | .item_get_ttl(cache_name, item.key()) [INFO] [stdout] 60 | | .await? [INFO] [stdout] | |___________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/ttl.rs:93:29 [INFO] [stdout] | [INFO] [stdout] 93 | let ttl: Duration = client [INFO] [stdout] | _____________________________^ [INFO] [stdout] 94 | | .item_get_ttl(cache_name, item.name()) [INFO] [stdout] 95 | | .await? [INFO] [stdout] | |___________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/ttl.rs:120:22 [INFO] [stdout] | [INFO] [stdout] 120 | let result = client [INFO] [stdout] | ______________________^ [INFO] [stdout] 121 | | .increase_ttl(" ", "key", Duration::from_secs(5)) [INFO] [stdout] 122 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/ttl.rs:132:22 [INFO] [stdout] | [INFO] [stdout] 132 | let result = client [INFO] [stdout] | ______________________^ [INFO] [stdout] 133 | | .increase_ttl(cache_name, "key", Duration::from_secs(5)) [INFO] [stdout] 134 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/ttl.rs:166:36 [INFO] [stdout] | [INFO] [stdout] 166 | let ttl_before: Duration = client [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 167 | | .item_get_ttl(cache_name, item.key()) [INFO] [stdout] 168 | | .await? [INFO] [stdout] | |___________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/ttl.rs:183:35 [INFO] [stdout] | [INFO] [stdout] 183 | let ttl_after: Duration = client [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 184 | | .item_get_ttl(cache_name, item.key()) [INFO] [stdout] 185 | | .await? [INFO] [stdout] | |___________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/ttl.rs:200:35 [INFO] [stdout] | [INFO] [stdout] 200 | let ttl_lower: Duration = client [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 201 | | .item_get_ttl(cache_name, item.key()) [INFO] [stdout] 202 | | .await? [INFO] [stdout] | |___________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/ttl.rs:220:22 [INFO] [stdout] | [INFO] [stdout] 220 | let result = client [INFO] [stdout] | ______________________^ [INFO] [stdout] 221 | | .decrease_ttl(" ", "key", Duration::from_secs(5)) [INFO] [stdout] 222 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/ttl.rs:232:22 [INFO] [stdout] | [INFO] [stdout] 232 | let result = client [INFO] [stdout] | ______________________^ [INFO] [stdout] 233 | | .decrease_ttl(cache_name, "key", Duration::from_secs(5)) [INFO] [stdout] 234 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/ttl.rs:265:36 [INFO] [stdout] | [INFO] [stdout] 265 | let ttl_before: Duration = client [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 266 | | .item_get_ttl(cache_name, item.key()) [INFO] [stdout] 267 | | .await? [INFO] [stdout] | |___________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/ttl.rs:282:35 [INFO] [stdout] | [INFO] [stdout] 282 | let ttl_after: Duration = client [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 283 | | .item_get_ttl(cache_name, item.key()) [INFO] [stdout] 284 | | .await? [INFO] [stdout] | |___________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/ttl.rs:299:35 [INFO] [stdout] | [INFO] [stdout] 299 | let ttl_lower: Duration = client [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 300 | | .item_get_ttl(cache_name, item.key()) [INFO] [stdout] 301 | | .await? [INFO] [stdout] | |___________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/ttl.rs:319:22 [INFO] [stdout] | [INFO] [stdout] 319 | let result = client [INFO] [stdout] | ______________________^ [INFO] [stdout] 320 | | .update_ttl(" ", "key", Duration::from_secs(5)) [INFO] [stdout] 321 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/ttl.rs:331:22 [INFO] [stdout] | [INFO] [stdout] 331 | let result = client [INFO] [stdout] | ______________________^ [INFO] [stdout] 332 | | .update_ttl(cache_name, "key", Duration::from_secs(5)) [INFO] [stdout] 333 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/ttl.rs:363:36 [INFO] [stdout] | [INFO] [stdout] 363 | let ttl_before: Duration = client [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 364 | | .item_get_ttl(cache_name, item.key()) [INFO] [stdout] 365 | | .await? [INFO] [stdout] | |___________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache/ttl.rs:378:35 [INFO] [stdout] | [INFO] [stdout] 378 | let ttl_after: Duration = client [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 379 | | .item_get_ttl(cache_name, item.key()) [INFO] [stdout] 380 | | .await? [INFO] [stdout] | |___________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/leaderboard/mod.rs:146:13 [INFO] [stdout] | [INFO] [stdout] 146 | let response = leaderboard.get_rank(test_leaderboard.ids()).await?; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | response.elements(), [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 146 | let response: /* Type */ = leaderboard.get_rank(test_leaderboard.ids()).await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/topics/pubsub.rs:17:22 [INFO] [stdout] | [INFO] [stdout] 17 | let result = client [INFO] [stdout] | ______________________^ [INFO] [stdout] 18 | | .publish(&cache_name, "topic", "value") [INFO] [stdout] 19 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/topics/pubsub.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | / client [INFO] [stdout] 28 | | .subscribe(&cache_name, "topic") [INFO] [stdout] 29 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/topics/pubsub.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | let mut subscription = client.subscribe(cache_name, &topic_name).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 44 | let subscription_handle = tokio::spawn(async move { [INFO] [stdout] 45 | while let Some(message) = subscription.next().await { [INFO] [stdout] | ------------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `subscription` an explicit type [INFO] [stdout] | [INFO] [stdout] 43 | let mut subscription: /* Type */ = client.subscribe(cache_name, &topic_name).await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/topics/pubsub.rs:47:21 [INFO] [stdout] | [INFO] [stdout] 47 | message.try_into().expect("Expected to receive a string"); [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/topics/pubsub.rs:69:17 [INFO] [stdout] | [INFO] [stdout] 69 | let mut subscriber = client.subscribe(cache_name, &topic_name).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 70 | let subscription_handle = tokio::spawn(async move { [INFO] [stdout] 71 | let message = subscriber.next().await; [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `subscriber` an explicit type [INFO] [stdout] | [INFO] [stdout] 69 | let mut subscriber: /* Type */ = client.subscribe(cache_name, &topic_name).await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `Option<_>` [INFO] [stdout] --> tests/topics/pubsub.rs:71:21 [INFO] [stdout] | [INFO] [stdout] 71 | let message = subscriber.next().await; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | message.try_into().expect("Expected to receive a string"); [INFO] [stdout] | ------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `message` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 71 | let message: Option<_> = subscriber.next().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 `momento` (test "mod") due to 152 previous errors [INFO] running `Command { std: "docker" "inspect" "af496c9c8f5fb7d6025c8de787df3ffd2470e793a67cd3a1ed4252e20e17508c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af496c9c8f5fb7d6025c8de787df3ffd2470e793a67cd3a1ed4252e20e17508c", kill_on_drop: false }` [INFO] [stdout] af496c9c8f5fb7d6025c8de787df3ffd2470e793a67cd3a1ed4252e20e17508c