[INFO] fetching crate pavex_session_sqlx 0.2.7... [INFO] building pavex_session_sqlx-0.2.7 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate pavex_session_sqlx 0.2.7 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate pavex_session_sqlx 0.2.7 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate pavex_session_sqlx 0.2.7 [INFO] tweaked toml for crates.io crate pavex_session_sqlx 0.2.7 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate pavex_session_sqlx 0.2.7 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate pavex_session_sqlx 0.2.7 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded fs-err v3.1.1 [INFO] [stderr] Downloaded pavex_session v0.2.7 [INFO] [stderr] Downloaded pavex_bp_schema v0.2.7 [INFO] [stderr] Downloaded pavex_reflection v0.2.7 [INFO] [stderr] Downloaded persist_if_changed v0.2.7 [INFO] [stderr] Downloaded convert_case v0.8.0 [INFO] [stderr] Downloaded jiff-sqlx v0.1.1 [INFO] [stderr] Downloaded biscotti v0.4.3 [INFO] [stderr] Downloaded pavex v0.2.7 [INFO] [stderr] Downloaded ron v0.10.1 [INFO] [stderr] Downloaded tracing_log_error v0.1.4 [INFO] [stderr] Downloaded pavex_tracing v0.2.7 [INFO] [stderr] Downloaded pavexc_attr_parser v0.2.7 [INFO] [stderr] Downloaded pavex_macros v0.2.7 [INFO] [stderr] Downloaded serde_html_form v0.2.7 [INFO] [stderr] Downloaded type-safe-id v0.3.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9660d27f2c29fb143705df31e2386ec9b4ace9fb66994887c3b1916d1d2de074 [INFO] running `Command { std: "docker" "start" "-a" "9660d27f2c29fb143705df31e2386ec9b4ace9fb66994887c3b1916d1d2de074", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9660d27f2c29fb143705df31e2386ec9b4ace9fb66994887c3b1916d1d2de074", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9660d27f2c29fb143705df31e2386ec9b4ace9fb66994887c3b1916d1d2de074", kill_on_drop: false }` [INFO] [stdout] 9660d27f2c29fb143705df31e2386ec9b4ace9fb66994887c3b1916d1d2de074 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0dde6f2c3562721b8a407f49d30d1f99abd853706b81264c6add5a4800251d3c [INFO] running `Command { std: "docker" "start" "-a" "0dde6f2c3562721b8a407f49d30d1f99abd853706b81264c6add5a4800251d3c", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling fs-err v3.1.1 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling convert_case v0.8.0 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Compiling uuid v1.18.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling matchit v0.8.6 [INFO] [stderr] Compiling polyval v0.6.2 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling aes-gcm-siv v0.11.1 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.21.3 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling pear v0.2.9 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tracing_log_error v0.1.4 [INFO] [stderr] Compiling persist_if_changed v0.2.7 [INFO] [stderr] Compiling darling_macro v0.21.3 [INFO] [stderr] Compiling darling v0.21.3 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling pavex_reflection v0.2.7 [INFO] [stderr] Compiling jiff v0.2.15 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling bitflags v2.9.3 [INFO] [stderr] Compiling serde_path_to_error v0.1.17 [INFO] [stderr] Compiling ubyte v0.10.4 [INFO] [stderr] Compiling pavex_bp_schema v0.2.7 [INFO] [stderr] Compiling ron v0.10.1 [INFO] [stderr] Compiling type-safe-id v0.3.3 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling serde_html_form v0.2.7 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Compiling pavexc_attr_parser v0.2.7 [INFO] [stderr] Compiling pavex_macros v0.2.7 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Compiling biscotti v0.4.3 [INFO] [stderr] Compiling jiff-sqlx v0.1.1 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Compiling sqlx v0.8.6 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling pavex v0.2.7 [INFO] [stderr] Compiling pavex_tracing v0.2.7 [INFO] [stderr] Compiling pavex_session v0.2.7 [INFO] [stderr] Compiling pavex_session_sqlx v0.2.7 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 38.17s [INFO] running `Command { std: "docker" "inspect" "0dde6f2c3562721b8a407f49d30d1f99abd853706b81264c6add5a4800251d3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0dde6f2c3562721b8a407f49d30d1f99abd853706b81264c6add5a4800251d3c", kill_on_drop: false }` [INFO] [stdout] 0dde6f2c3562721b8a407f49d30d1f99abd853706b81264c6add5a4800251d3c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cdbc42509fc0386869834442d8670339c40e00bed1cd51d62721ee6ddd8b0b35 [INFO] running `Command { std: "docker" "start" "-a" "cdbc42509fc0386869834442d8670339c40e00bed1cd51d62721ee6ddd8b0b35", kill_on_drop: false }` [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling bitflags v2.9.3 [INFO] [stderr] Compiling ron v0.10.1 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling tempfile v3.21.0 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling pavex v0.2.7 [INFO] [stderr] Compiling pavex_tracing v0.2.7 [INFO] [stderr] Compiling pavex_session v0.2.7 [INFO] [stderr] Compiling pavex_session_sqlx v0.2.7 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `pavex_session_sqlx::SqliteSessionStore` [INFO] [stdout] --> tests/sqlite.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use pavex_session_sqlx::SqliteSessionStore; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `SqliteSessionStore` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 34 | #[cfg(feature = "sqlite")] [INFO] [stdout] | ------------------ the item is gated behind the `sqlite` feature [INFO] [stdout] ... [INFO] [stdout] 37 | pub use sqlite::SqliteSessionStore; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `pavex_session_sqlx::MySqlSessionStore` [INFO] [stdout] --> tests/mysql.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use pavex_session_sqlx::MySqlSessionStore; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `MySqlSessionStore` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:28:16 [INFO] [stdout] | [INFO] [stdout] 25 | #[cfg(feature = "mysql")] [INFO] [stdout] | ----------------- the item is gated behind the `mysql` feature [INFO] [stdout] ... [INFO] [stdout] 28 | pub use mysql::MySqlSessionStore; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sqlx::SqlitePool` [INFO] [stdout] --> tests/sqlite.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use sqlx::SqlitePool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no `SqlitePool` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-0.8.6/src/lib.rs:63:63 [INFO] [stdout] | [INFO] [stdout] 59 | #[cfg(feature = "_sqlite")] [INFO] [stdout] | ------------------- the item is gated behind the `_sqlite` feature [INFO] [stdout] ... [INFO] [stdout] 63 | self as sqlite, Sqlite, SqliteConnection, SqliteExecutor, SqlitePool, SqliteTransaction, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sqlx::mysql` [INFO] [stdout] --> tests/mysql.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | use sqlx::mysql::MySqlPoolOptions; [INFO] [stdout] | ^^^^^ could not find `mysql` in `sqlx` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-0.8.6/src/lib.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 45 | #[cfg(feature = "mysql")] [INFO] [stdout] | ----------------- the item is gated behind the `mysql` feature [INFO] [stdout] ... [INFO] [stdout] 49 | self as mysql, MySql, MySqlConnection, MySqlExecutor, MySqlPool, MySqlTransaction, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sqlx::MySqlConnection` [INFO] [stdout] --> tests/mysql.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | use sqlx::{Connection, MySqlConnection}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `MySqlConnection` in the root [INFO] [stdout] | help: a similar name exists in the module: `Connection` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-0.8.6/src/lib.rs:49:27 [INFO] [stdout] | [INFO] [stdout] 45 | #[cfg(feature = "mysql")] [INFO] [stdout] | ----------------- the item is gated behind the `mysql` feature [INFO] [stdout] ... [INFO] [stdout] 49 | self as mysql, MySql, MySqlConnection, MySqlExecutor, MySqlPool, MySqlTransaction, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Connection` [INFO] [stdout] --> tests/mysql.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | use sqlx::{Connection, MySqlConnection}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sqlite.rs:11:56 [INFO] [stdout] | [INFO] [stdout] 11 | let pool = SqlitePool::connect(database_url).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sqlite.rs:13:27 [INFO] [stdout] | [INFO] [stdout] 13 | store.migrate().await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/mysql.rs:22:27 [INFO] [stdout] | [INFO] [stdout] 22 | store.migrate().await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sqlite.rs:48:56 [INFO] [stdout] | [INFO] [stdout] 48 | let pool = SqlitePool::connect(database_url).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sqlite.rs:52:27 [INFO] [stdout] | [INFO] [stdout] 52 | store.migrate().await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sqlite.rs:53:27 [INFO] [stdout] | [INFO] [stdout] 53 | store.migrate().await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sqlite.rs:54:27 [INFO] [stdout] | [INFO] [stdout] 54 | store.migrate().await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sqlite.rs:64:45 [INFO] [stdout] | [INFO] [stdout] 64 | store.create(&session_id, record).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sqlite.rs:65:48 [INFO] [stdout] | [INFO] [stdout] 65 | let loaded = store.load(&session_id).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/mysql.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | let store = create_test_store().await; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | store.migrate().await.unwrap(); [INFO] [stdout] | ------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `store` an explicit type [INFO] [stdout] | [INFO] [stdout] 53 | let store: /* Type */ = create_test_store().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/mysql.rs:56:27 [INFO] [stdout] | [INFO] [stdout] 56 | store.migrate().await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/mysql.rs:57:27 [INFO] [stdout] | [INFO] [stdout] 57 | store.migrate().await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/mysql.rs:58:27 [INFO] [stdout] | [INFO] [stdout] 58 | store.migrate().await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sqlite.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | let store = create_test_store().await; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | store.create(&session_id, record).await.unwrap(); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `store` an explicit type [INFO] [stdout] | [INFO] [stdout] 71 | let store: /* Type */ = create_test_store().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sqlite.rs:80:45 [INFO] [stdout] | [INFO] [stdout] 80 | store.create(&session_id, record).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sqlite.rs:83:48 [INFO] [stdout] | [INFO] [stdout] 83 | let loaded = store.load(&session_id).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/mysql.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | let store = create_test_store().await; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | store.create(&session_id, record).await.unwrap(); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `store` an explicit type [INFO] [stdout] | [INFO] [stdout] 63 | let store: /* Type */ = create_test_store().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/mysql.rs:72:45 [INFO] [stdout] | [INFO] [stdout] 72 | store.create(&session_id, record).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/mysql.rs:75:55 [INFO] [stdout] | [INFO] [stdout] 75 | let loaded_record = store.load(&session_id).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sqlite.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | let store = create_test_store().await; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | store.create(&session_id, record).await.unwrap(); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `store` an explicit type [INFO] [stdout] | [INFO] [stdout] 107 | let store: /* Type */ = create_test_store().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sqlite.rs:116:45 [INFO] [stdout] | [INFO] [stdout] 116 | store.create(&session_id, record).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sqlite.rs:146:53 [INFO] [stdout] | [INFO] [stdout] 146 | store.update(&session_id, updated_record).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sqlite.rs:149:48 [INFO] [stdout] | [INFO] [stdout] 149 | let loaded = store.load(&session_id).await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sqlite.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | let store = create_test_store().await; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 178 | store.create(&session_id, record).await.unwrap(); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `store` an explicit type [INFO] [stdout] | [INFO] [stdout] 169 | let store: /* Type */ = create_test_store().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/mysql.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | let store = create_test_store().await; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | store.create(&session_id, initial_record).await.unwrap(); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `store` an explicit type [INFO] [stdout] | [INFO] [stdout] 98 | let store: /* Type */ = create_test_store().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sqlite.rs:178:45 [INFO] [stdout] | [INFO] [stdout] 178 | store.create(&session_id, record).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/mysql.rs:107:53 [INFO] [stdout] | [INFO] [stdout] 107 | store.create(&session_id, initial_record).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sqlite.rs:181:48 [INFO] [stdout] | [INFO] [stdout] 181 | let loaded = store.load(&session_id).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sqlite.rs:188:49 [INFO] [stdout] | [INFO] [stdout] 188 | let expired = store.load(&session_id).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/mysql.rs:130:53 [INFO] [stdout] | [INFO] [stdout] 130 | store.update(&session_id, updated_record).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/mysql.rs:133:55 [INFO] [stdout] | [INFO] [stdout] 133 | let loaded_record = store.load(&session_id).await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sqlite.rs:194:9 [INFO] [stdout] | [INFO] [stdout] 194 | let store = create_test_store().await; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 203 | store.create(&session_id, record).await.unwrap(); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `store` an explicit type [INFO] [stdout] | [INFO] [stdout] 194 | let store: /* Type */ = create_test_store().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sqlite.rs:203:45 [INFO] [stdout] | [INFO] [stdout] 203 | store.create(&session_id, record).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sqlite.rs:209:10 [INFO] [stdout] | [INFO] [stdout] 209 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sqlite.rs:212:48 [INFO] [stdout] | [INFO] [stdout] 212 | let loaded = store.load(&session_id).await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/mysql.rs:151:9 [INFO] [stdout] | [INFO] [stdout] 151 | let store = create_test_store().await; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | store.create(&session_id, record).await.unwrap(); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `store` an explicit type [INFO] [stdout] | [INFO] [stdout] 151 | let store: /* Type */ = create_test_store().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/mysql.rs:166:45 [INFO] [stdout] | [INFO] [stdout] 166 | store.create(&session_id, record).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sqlite.rs:227:9 [INFO] [stdout] | [INFO] [stdout] 227 | let store = create_test_store().await; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 236 | store.create(&session_id, record).await.unwrap(); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `store` an explicit type [INFO] [stdout] | [INFO] [stdout] 227 | let store: /* Type */ = create_test_store().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sqlite.rs:236:45 [INFO] [stdout] | [INFO] [stdout] 236 | store.create(&session_id, record).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sqlite.rs:239:48 [INFO] [stdout] | [INFO] [stdout] 239 | let loaded = store.load(&session_id).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/mysql.rs:172:48 [INFO] [stdout] | [INFO] [stdout] 172 | let loaded = store.load(&session_id).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sqlite.rs:243:37 [INFO] [stdout] | [INFO] [stdout] 243 | store.delete(&session_id).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sqlite.rs:246:49 [INFO] [stdout] | [INFO] [stdout] 246 | let deleted = store.load(&session_id).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/mysql.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | let store = create_test_store().await; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 187 | store.create(&session_id, record).await.unwrap(); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `store` an explicit type [INFO] [stdout] | [INFO] [stdout] 178 | let store: /* Type */ = create_test_store().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/mysql.rs:187:45 [INFO] [stdout] | [INFO] [stdout] 187 | store.create(&session_id, record).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sqlite.rs:252:9 [INFO] [stdout] | [INFO] [stdout] 252 | let store = create_test_store().await; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 262 | store.create(&old_session_id, record).await.unwrap(); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `store` an explicit type [INFO] [stdout] | [INFO] [stdout] 252 | let store: /* Type */ = create_test_store().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sqlite.rs:262:49 [INFO] [stdout] | [INFO] [stdout] 262 | store.create(&old_session_id, record).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/mysql.rs:191:50 [INFO] [stdout] | [INFO] [stdout] 191 | store.update_ttl(&session_id, new_ttl).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sqlite.rs:268:10 [INFO] [stdout] | [INFO] [stdout] 268 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/mysql.rs:194:55 [INFO] [stdout] | [INFO] [stdout] 194 | let loaded_record = store.load(&session_id).await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sqlite.rs:271:57 [INFO] [stdout] | [INFO] [stdout] 271 | let old_session = store.load(&old_session_id).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sqlite.rs:275:57 [INFO] [stdout] | [INFO] [stdout] 275 | let new_session = store.load(&new_session_id).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/mysql.rs:212:9 [INFO] [stdout] | [INFO] [stdout] 212 | let store = create_test_store().await; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 221 | store.create(&session_id, record).await.unwrap(); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `store` an explicit type [INFO] [stdout] | [INFO] [stdout] 212 | let store: /* Type */ = create_test_store().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/mysql.rs:221:45 [INFO] [stdout] | [INFO] [stdout] 221 | store.create(&session_id, record).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/mysql.rs:224:43 [INFO] [stdout] | [INFO] [stdout] 224 | assert!(store.load(&session_id).await.unwrap().is_some()); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/mysql.rs:227:37 [INFO] [stdout] | [INFO] [stdout] 227 | store.delete(&session_id).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/mysql.rs:230:43 [INFO] [stdout] | [INFO] [stdout] 230 | assert!(store.load(&session_id).await.unwrap().is_none()); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/mysql.rs:235:9 [INFO] [stdout] | [INFO] [stdout] 235 | let store = create_test_store().await; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 245 | store.create(&old_id, record).await.unwrap(); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `store` an explicit type [INFO] [stdout] | [INFO] [stdout] 235 | let store: /* Type */ = create_test_store().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/mysql.rs:245:41 [INFO] [stdout] | [INFO] [stdout] 245 | store.create(&old_id, record).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/mysql.rs:248:45 [INFO] [stdout] | [INFO] [stdout] 248 | store.change_id(&old_id, &new_id).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/mysql.rs:251:39 [INFO] [stdout] | [INFO] [stdout] 251 | assert!(store.load(&old_id).await.unwrap().is_none()); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/mysql.rs:254:51 [INFO] [stdout] | [INFO] [stdout] 254 | let loaded_record = store.load(&new_id).await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/mysql.rs:269:9 [INFO] [stdout] | [INFO] [stdout] 269 | let store = create_test_store().await; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 272 | store.delete_expired(None).await.unwrap(); [INFO] [stdout] | -------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `store` an explicit type [INFO] [stdout] | [INFO] [stdout] 269 | let store: /* Type */ = create_test_store().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/mysql.rs:272:38 [INFO] [stdout] | [INFO] [stdout] 272 | store.delete_expired(None).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sqlite.rs:292:9 [INFO] [stdout] | [INFO] [stdout] 292 | let store = create_test_store().await; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 301 | store.create(&session_id, record).await.unwrap(); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `store` an explicit type [INFO] [stdout] | [INFO] [stdout] 292 | let store: /* Type */ = create_test_store().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/mysql.rs:283:10 [INFO] [stdout] | [INFO] [stdout] 283 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sqlite.rs:301:49 [INFO] [stdout] | [INFO] [stdout] 301 | store.create(&session_id, record).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/mysql.rs:291:57 [INFO] [stdout] | [INFO] [stdout] 291 | store.create(&valid_session_id, valid_record).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sqlite.rs:308:58 [INFO] [stdout] | [INFO] [stdout] 308 | let deleted_count = store.delete_expired(None).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/mysql.rs:297:51 [INFO] [stdout] | [INFO] [stdout] 297 | assert!(store.load(&expired_session_id).await.unwrap().is_none()); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sqlite.rs:312:60 [INFO] [stdout] | [INFO] [stdout] 312 | let deleted_count_2 = store.delete_expired(None).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/mysql.rs:299:49 [INFO] [stdout] | [INFO] [stdout] 299 | assert!(store.load(&valid_session_id).await.unwrap().is_some()); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/mysql.rs:302:58 [INFO] [stdout] | [INFO] [stdout] 302 | let deleted_count = store.delete_expired(None).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/mysql.rs:309:60 [INFO] [stdout] | [INFO] [stdout] 309 | let deleted_count_2 = store.delete_expired(None).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/mysql.rs:313:49 [INFO] [stdout] | [INFO] [stdout] 313 | assert!(store.load(&valid_session_id).await.unwrap().is_some()); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sqlite.rs:318:9 [INFO] [stdout] | [INFO] [stdout] 318 | let store = create_test_store().await; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 327 | store.create(&session_id, record).await.unwrap(); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `store` an explicit type [INFO] [stdout] | [INFO] [stdout] 318 | let store: /* Type */ = create_test_store().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sqlite.rs:327:49 [INFO] [stdout] | [INFO] [stdout] 327 | store.create(&session_id, record).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sqlite.rs:335:66 [INFO] [stdout] | [INFO] [stdout] 335 | let deleted_1 = store.delete_expired(Some(batch_size)).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/mysql.rs:318:9 [INFO] [stdout] | [INFO] [stdout] 318 | let store = create_test_store().await; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 321 | store.delete_expired(None).await.unwrap(); [INFO] [stdout] | -------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `store` an explicit type [INFO] [stdout] | [INFO] [stdout] 318 | let store: /* Type */ = create_test_store().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/mysql.rs:321:38 [INFO] [stdout] | [INFO] [stdout] 321 | store.delete_expired(None).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sqlite.rs:338:66 [INFO] [stdout] | [INFO] [stdout] 338 | let deleted_2 = store.delete_expired(Some(batch_size)).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sqlite.rs:341:66 [INFO] [stdout] | [INFO] [stdout] 341 | let deleted_3 = store.delete_expired(Some(batch_size)).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sqlite.rs:344:66 [INFO] [stdout] | [INFO] [stdout] 344 | let deleted_4 = store.delete_expired(Some(batch_size)).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/mysql.rs:332:49 [INFO] [stdout] | [INFO] [stdout] 332 | store.create(&session_id, record).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/mysql.rs:340:46 [INFO] [stdout] | [INFO] [stdout] 340 | assert!(store.load(session_id).await.unwrap().is_none()); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/mysql.rs:347:66 [INFO] [stdout] | [INFO] [stdout] 347 | let deleted_1 = store.delete_expired(Some(batch_size)).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/mysql.rs:362:59 [INFO] [stdout] | [INFO] [stdout] 362 | store.create(&test_session_id, test_record).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/mysql.rs:365:73 [INFO] [stdout] | [INFO] [stdout] 365 | let test_deleted = store.delete_expired(Some(batch_size)).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/mysql.rs:376:68 [INFO] [stdout] | [INFO] [stdout] 376 | let deleted = store.delete_expired(Some(batch_size)).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sqlite.rs:350:9 [INFO] [stdout] | [INFO] [stdout] 350 | let store = create_test_store().await; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 401 | store.create(&session_id, record).await.unwrap(); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `store` an explicit type [INFO] [stdout] | [INFO] [stdout] 350 | let store: /* Type */ = create_test_store().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sqlite.rs:401:45 [INFO] [stdout] | [INFO] [stdout] 401 | store.create(&session_id, record).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sqlite.rs:402:48 [INFO] [stdout] | [INFO] [stdout] 402 | let loaded = store.load(&session_id).await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/mysql.rs:394:9 [INFO] [stdout] | [INFO] [stdout] 394 | let store = create_test_store().await; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 437 | store.create(&session_id, record).await.unwrap(); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `store` an explicit type [INFO] [stdout] | [INFO] [stdout] 394 | let store: /* Type */ = create_test_store().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/mysql.rs:437:45 [INFO] [stdout] | [INFO] [stdout] 437 | store.create(&session_id, record).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sqlite.rs:419:9 [INFO] [stdout] | [INFO] [stdout] 419 | let store = create_test_store().await; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 448 | store.create(&session_id, record).await.unwrap(); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `store` an explicit type [INFO] [stdout] | [INFO] [stdout] 419 | let store: /* Type */ = create_test_store().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/mysql.rs:439:55 [INFO] [stdout] | [INFO] [stdout] 439 | let loaded_record = store.load(&session_id).await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sqlite.rs:448:45 [INFO] [stdout] | [INFO] [stdout] 448 | store.create(&session_id, record).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sqlite.rs:449:48 [INFO] [stdout] | [INFO] [stdout] 449 | let loaded = store.load(&session_id).await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sqlite.rs:468:56 [INFO] [stdout] | [INFO] [stdout] 468 | let pool = SqlitePool::connect(database_url).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sqlite.rs:470:27 [INFO] [stdout] | [INFO] [stdout] 470 | store.migrate().await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sqlite.rs:491:59 [INFO] [stdout] | [INFO] [stdout] 491 | store_clone.create(&session_id, record).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sqlite.rs:494:62 [INFO] [stdout] | [INFO] [stdout] 494 | let loaded = store_clone.load(&session_id).await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/mysql.rs:457:9 [INFO] [stdout] | [INFO] [stdout] 457 | let store = create_test_store().await; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 489 | store.create(&session_id, record).await.unwrap(); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `store` an explicit type [INFO] [stdout] | [INFO] [stdout] 457 | let store: /* Type */ = create_test_store().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/mysql.rs:489:45 [INFO] [stdout] | [INFO] [stdout] 489 | store.create(&session_id, record).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/mysql.rs:491:55 [INFO] [stdout] | [INFO] [stdout] 491 | let loaded_record = store.load(&session_id).await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sqlite.rs:518:52 [INFO] [stdout] | [INFO] [stdout] 518 | let loaded = store.load(&session_id).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sqlite.rs:527:9 [INFO] [stdout] | [INFO] [stdout] 527 | let store = create_test_store().await; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 536 | store.create(&session_id, record).await.unwrap(); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `store` an explicit type [INFO] [stdout] | [INFO] [stdout] 527 | let store: /* Type */ = create_test_store().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sqlite.rs:536:45 [INFO] [stdout] | [INFO] [stdout] 536 | store.create(&session_id, record).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/mysql.rs:509:9 [INFO] [stdout] | [INFO] [stdout] 509 | let store = create_test_store().await; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 518 | store.create(&session_id, record).await.unwrap(); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `store` an explicit type [INFO] [stdout] | [INFO] [stdout] 509 | let store: /* Type */ = create_test_store().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sqlite.rs:556:48 [INFO] [stdout] | [INFO] [stdout] 556 | let loaded = store.load(&session_id).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/mysql.rs:518:45 [INFO] [stdout] | [INFO] [stdout] 518 | store.create(&session_id, record).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sqlite.rs:562:57 [INFO] [stdout] | [INFO] [stdout] 562 | store.create(&session_id, conflicting_record).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sqlite.rs:565:54 [INFO] [stdout] | [INFO] [stdout] 565 | let loaded_after = store.load(&session_id).await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/mysql.rs:526:39 [INFO] [stdout] | [INFO] [stdout] 526 | let (result1, result2, result3) = tokio::join!( [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 527 | | store.load(&id1), [INFO] [stdout] 528 | | store.update_ttl(&id2, Duration::from_secs(7200)), [INFO] [stdout] 529 | | store.load(&id3) [INFO] [stdout] 530 | | ); [INFO] [stdout] | |_____^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::join` which comes from the expansion of the macro `tokio::join` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sqlite.rs:580:9 [INFO] [stdout] | [INFO] [stdout] 580 | let store = create_test_store().await; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 590 | let result = store.update(&non_existent_id, record).await; [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `store` an explicit type [INFO] [stdout] | [INFO] [stdout] 580 | let store: /* Type */ = create_test_store().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sqlite.rs:590:9 [INFO] [stdout] | [INFO] [stdout] 590 | let result = store.update(&non_existent_id, record).await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 591 | [INFO] [stdout] 592 | assert!(result.is_err()); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 590 | let result: /* Type */ = store.update(&non_existent_id, record).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/mysql.rs:526:39 [INFO] [stdout] | [INFO] [stdout] 526 | let (result1, result2, result3) = tokio::join!( [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 527 | | store.load(&id1), [INFO] [stdout] 528 | | store.update_ttl(&id2, Duration::from_secs(7200)), [INFO] [stdout] 529 | | store.load(&id3) [INFO] [stdout] 530 | | ); [INFO] [stdout] | |_____^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::join` which comes from the expansion of the macro `tokio::join` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sqlite.rs:603:9 [INFO] [stdout] | [INFO] [stdout] 603 | let store = create_test_store().await; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 608 | .update_ttl(&non_existent_id, Duration::from_secs(7200)) [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `store` an explicit type [INFO] [stdout] | [INFO] [stdout] 603 | let store: /* Type */ = create_test_store().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _, _)` [INFO] [stdout] --> tests/mysql.rs:526:9 [INFO] [stdout] | [INFO] [stdout] 526 | let (result1, result2, result3) = tokio::join!( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 533 | assert!(result1.unwrap().is_some()); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 526 | let (result1, result2, result3): (_, _, _) = tokio::join!( [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sqlite.rs:607:9 [INFO] [stdout] | [INFO] [stdout] 607 | let result = store [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 611 | assert!(result.is_err()); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 607 | let result: /* Type */ = store [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `({type error}, _, _)` [INFO] [stdout] --> tests/mysql.rs:526:9 [INFO] [stdout] | [INFO] [stdout] 526 | let (result1, result2, result3) = tokio::join!( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 534 | assert!(result2.is_ok()); [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 526 | let (result1, result2, result3): (_, _, _) = tokio::join!( [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `({type error}, {type error}, _)` [INFO] [stdout] --> tests/mysql.rs:526:9 [INFO] [stdout] | [INFO] [stdout] 526 | let (result1, result2, result3) = tokio::join!( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 535 | assert!(result3.unwrap().is_some()); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 526 | let (result1, result2, result3): (_, _, _) = tokio::join!( [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/mysql.rs:542:9 [INFO] [stdout] | [INFO] [stdout] 542 | let store = create_test_store().await; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 551 | store.create(&session_id, record).await.unwrap(); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `store` an explicit type [INFO] [stdout] | [INFO] [stdout] 542 | let store: /* Type */ = create_test_store().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sqlite.rs:622:9 [INFO] [stdout] | [INFO] [stdout] 622 | let store = create_test_store().await; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 626 | let result = store.delete(&non_existent_id).await; [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `store` an explicit type [INFO] [stdout] | [INFO] [stdout] 622 | let store: /* Type */ = create_test_store().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/mysql.rs:551:45 [INFO] [stdout] | [INFO] [stdout] 551 | store.create(&session_id, record).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sqlite.rs:626:9 [INFO] [stdout] | [INFO] [stdout] 626 | let result = store.delete(&non_existent_id).await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 627 | [INFO] [stdout] 628 | assert!(result.is_err()); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 626 | let result: /* Type */ = store.delete(&non_existent_id).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/mysql.rs:580:57 [INFO] [stdout] | [INFO] [stdout] 580 | store.create(&session_id, conflicting_record).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/mysql.rs:583:54 [INFO] [stdout] | [INFO] [stdout] 583 | let loaded_after = store.load(&session_id).await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sqlite.rs:639:9 [INFO] [stdout] | [INFO] [stdout] 639 | let store = create_test_store().await; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 644 | let result = store.change_id(&non_existent_old_id, &new_id).await; [INFO] [stdout] | --------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `store` an explicit type [INFO] [stdout] | [INFO] [stdout] 639 | let store: /* Type */ = create_test_store().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sqlite.rs:644:9 [INFO] [stdout] | [INFO] [stdout] 644 | let result = store.change_id(&non_existent_old_id, &new_id).await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 645 | [INFO] [stdout] 646 | assert!(result.is_err()); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 644 | let result: /* Type */ = store.change_id(&non_existent_old_id, &new_id).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/mysql.rs:595:9 [INFO] [stdout] | [INFO] [stdout] 595 | let store = create_test_store().await; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 605 | let result = store.update(&non_existent_id, record).await; [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `store` an explicit type [INFO] [stdout] | [INFO] [stdout] 595 | let store: /* Type */ = create_test_store().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/mysql.rs:605:9 [INFO] [stdout] | [INFO] [stdout] 605 | let result = store.update(&non_existent_id, record).await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 606 | [INFO] [stdout] 607 | assert!(result.is_err()); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 605 | let result: /* Type */ = store.update(&non_existent_id, record).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sqlite.rs:657:9 [INFO] [stdout] | [INFO] [stdout] 657 | let store = create_test_store().await; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 671 | store.create(&session_id_1, record_1).await.unwrap(); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `store` an explicit type [INFO] [stdout] | [INFO] [stdout] 657 | let store: /* Type */ = create_test_store().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sqlite.rs:671:49 [INFO] [stdout] | [INFO] [stdout] 671 | store.create(&session_id_1, record_1).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sqlite.rs:672:49 [INFO] [stdout] | [INFO] [stdout] 672 | store.create(&session_id_2, record_2).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sqlite.rs:675:9 [INFO] [stdout] | [INFO] [stdout] 675 | let result = store.change_id(&session_id_1, &session_id_2).await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 676 | [INFO] [stdout] 677 | assert!(result.is_err()); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 675 | let result: /* Type */ = store.change_id(&session_id_1, &session_id_2).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/mysql.rs:618:9 [INFO] [stdout] | [INFO] [stdout] 618 | let store = create_test_store().await; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 623 | .update_ttl(&non_existent_id, Duration::from_secs(7200)) [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `store` an explicit type [INFO] [stdout] | [INFO] [stdout] 618 | let store: /* Type */ = create_test_store().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sqlite.rs:686:45 [INFO] [stdout] | [INFO] [stdout] 686 | assert!(store.load(&session_id_1).await.unwrap().is_some()); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/mysql.rs:622:9 [INFO] [stdout] | [INFO] [stdout] 622 | let result = store [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 626 | assert!(result.is_err()); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 622 | let result: /* Type */ = store [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sqlite.rs:687:45 [INFO] [stdout] | [INFO] [stdout] 687 | assert!(store.load(&session_id_2).await.unwrap().is_some()); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/mysql.rs:637:9 [INFO] [stdout] | [INFO] [stdout] 637 | let store = create_test_store().await; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 641 | let result = store.delete(&non_existent_id).await; [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `store` an explicit type [INFO] [stdout] | [INFO] [stdout] 637 | let store: /* Type */ = create_test_store().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/mysql.rs:641:9 [INFO] [stdout] | [INFO] [stdout] 641 | let result = store.delete(&non_existent_id).await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 642 | [INFO] [stdout] 643 | assert!(result.is_err()); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 641 | let result: /* Type */ = store.delete(&non_existent_id).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sqlite.rs:692:9 [INFO] [stdout] | [INFO] [stdout] 692 | let store = create_test_store().await; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 701 | store.create(&session_id, record).await.unwrap(); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `store` an explicit type [INFO] [stdout] | [INFO] [stdout] 692 | let store: /* Type */ = create_test_store().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sqlite.rs:701:45 [INFO] [stdout] | [INFO] [stdout] 701 | store.create(&session_id, record).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sqlite.rs:713:9 [INFO] [stdout] | [INFO] [stdout] 713 | let update_result = store.update(&session_id, new_record).await; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 714 | assert!(update_result.is_err()); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `update_result` an explicit type [INFO] [stdout] | [INFO] [stdout] 713 | let update_result: /* Type */ = store.update(&session_id, new_record).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sqlite.rs:723:9 [INFO] [stdout] | [INFO] [stdout] 723 | let update_ttl_result = store [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 726 | assert!(update_ttl_result.is_err()); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `update_ttl_result` an explicit type [INFO] [stdout] | [INFO] [stdout] 723 | let update_ttl_result: /* Type */ = store [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/mysql.rs:654:9 [INFO] [stdout] | [INFO] [stdout] 654 | let store = create_test_store().await; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 659 | let result = store.change_id(&non_existent_old_id, &new_id).await; [INFO] [stdout] | --------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `store` an explicit type [INFO] [stdout] | [INFO] [stdout] 654 | let store: /* Type */ = create_test_store().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/mysql.rs:659:9 [INFO] [stdout] | [INFO] [stdout] 659 | let result = store.change_id(&non_existent_old_id, &new_id).await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 660 | [INFO] [stdout] 661 | assert!(result.is_err()); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 659 | let result: /* Type */ = store.change_id(&non_existent_old_id, &new_id).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sqlite.rs:735:9 [INFO] [stdout] | [INFO] [stdout] 735 | let delete_result = store.delete(&session_id).await; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 736 | assert!(delete_result.is_err()); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `delete_result` an explicit type [INFO] [stdout] | [INFO] [stdout] 735 | let delete_result: /* Type */ = store.delete(&session_id).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sqlite.rs:746:9 [INFO] [stdout] | [INFO] [stdout] 746 | let change_id_result = store.change_id(&session_id, &new_id).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 747 | assert!(change_id_result.is_err()); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `change_id_result` an explicit type [INFO] [stdout] | [INFO] [stdout] 746 | let change_id_result: /* Type */ = store.change_id(&session_id, &new_id).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/mysql.rs:672:9 [INFO] [stdout] | [INFO] [stdout] 672 | let store = create_test_store().await; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 686 | store.create(&session_id_1, record_1).await.unwrap(); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `store` an explicit type [INFO] [stdout] | [INFO] [stdout] 672 | let store: /* Type */ = create_test_store().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/mysql.rs:686:49 [INFO] [stdout] | [INFO] [stdout] 686 | store.create(&session_id_1, record_1).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/mysql.rs:687:49 [INFO] [stdout] | [INFO] [stdout] 687 | store.create(&session_id_2, record_2).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sqlite.rs:758:9 [INFO] [stdout] | [INFO] [stdout] 758 | let store = create_test_store().await; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 773 | let result = store.create(&session_id, record).await; [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `store` an explicit type [INFO] [stdout] | [INFO] [stdout] 758 | let store: /* Type */ = create_test_store().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/mysql.rs:690:9 [INFO] [stdout] | [INFO] [stdout] 690 | let result = store.change_id(&session_id_1, &session_id_2).await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 691 | [INFO] [stdout] 692 | assert!(result.is_err()); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 690 | let result: /* Type */ = store.change_id(&session_id_1, &session_id_2).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sqlite.rs:779:56 [INFO] [stdout] | [INFO] [stdout] 779 | let loaded = store.load(&session_id).await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/mysql.rs:701:45 [INFO] [stdout] | [INFO] [stdout] 701 | assert!(store.load(&session_id_1).await.unwrap().is_some()); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/mysql.rs:702:45 [INFO] [stdout] | [INFO] [stdout] 702 | assert!(store.load(&session_id_2).await.unwrap().is_some()); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sqlite.rs:793:61 [INFO] [stdout] | [INFO] [stdout] 793 | let pool = SqlitePool::connect("sqlite::memory:").await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sqlite.rs:795:27 [INFO] [stdout] | [INFO] [stdout] 795 | store.migrate().await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/mysql.rs:707:9 [INFO] [stdout] | [INFO] [stdout] 707 | let store = create_test_store().await; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 716 | store.create(&session_id, record).await.unwrap(); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `store` an explicit type [INFO] [stdout] | [INFO] [stdout] 707 | let store: /* Type */ = create_test_store().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/mysql.rs:716:45 [INFO] [stdout] | [INFO] [stdout] 716 | store.create(&session_id, record).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sqlite.rs:807:9 [INFO] [stdout] | [INFO] [stdout] 807 | let create_result = store.create(&session_id, record).await; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 808 | assert!(create_result.is_err()); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `create_result` an explicit type [INFO] [stdout] | [INFO] [stdout] 807 | let create_result: /* Type */ = store.create(&session_id, record).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/mysql.rs:728:9 [INFO] [stdout] | [INFO] [stdout] 728 | let update_result = store.update(&session_id, new_record).await; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 729 | assert!(update_result.is_err()); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `update_result` an explicit type [INFO] [stdout] | [INFO] [stdout] 728 | let update_result: /* Type */ = store.update(&session_id, new_record).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sqlite.rs:816:9 [INFO] [stdout] | [INFO] [stdout] 816 | let load_result = store.load(&session_id).await; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 817 | assert!(load_result.is_err()); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `load_result` an explicit type [INFO] [stdout] | [INFO] [stdout] 816 | let load_result: /* Type */ = store.load(&session_id).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/mysql.rs:741:9 [INFO] [stdout] | [INFO] [stdout] 741 | let update_ttl_result = store [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 744 | assert!(update_ttl_result.is_err()); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `update_ttl_result` an explicit type [INFO] [stdout] | [INFO] [stdout] 741 | let update_ttl_result: /* Type */ = store [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/mysql.rs:756:9 [INFO] [stdout] | [INFO] [stdout] 756 | let delete_result = store.delete(&session_id).await; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 757 | assert!(delete_result.is_err()); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `delete_result` an explicit type [INFO] [stdout] | [INFO] [stdout] 756 | let delete_result: /* Type */ = store.delete(&session_id).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/mysql.rs:770:9 [INFO] [stdout] | [INFO] [stdout] 770 | let change_id_result = store.change_id(&session_id, &new_id).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 771 | assert!(change_id_result.is_err()); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `change_id_result` an explicit type [INFO] [stdout] | [INFO] [stdout] 770 | let change_id_result: /* Type */ = store.change_id(&session_id, &new_id).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/mysql.rs:785:9 [INFO] [stdout] | [INFO] [stdout] 785 | let store = create_test_store().await; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 800 | let result = store.create(&session_id, record).await; [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `store` an explicit type [INFO] [stdout] | [INFO] [stdout] 785 | let store: /* Type */ = create_test_store().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/mysql.rs:806:56 [INFO] [stdout] | [INFO] [stdout] 806 | let loaded = store.load(&session_id).await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/mysql.rs:823:52 [INFO] [stdout] | [INFO] [stdout] 823 | if MySqlConnection::connect(invalid_url).await.is_ok() { [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/mysql.rs:838:9 [INFO] [stdout] | [INFO] [stdout] 838 | let create_result = store [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 847 | match create_result.unwrap_err() { [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `create_result` an explicit type [INFO] [stdout] | [INFO] [stdout] 838 | let create_result: /* Type */ = store [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/mysql.rs:857:9 [INFO] [stdout] | [INFO] [stdout] 857 | let load_result = store.load(&session_id).await; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 858 | match load_result.unwrap_err() { [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `load_result` an explicit type [INFO] [stdout] | [INFO] [stdout] 857 | let load_result: /* Type */ = store.load(&session_id).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] [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 `pavex_session_sqlx` (test "sqlite") due to 87 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `pavex_session_sqlx` (test "mysql") due to 91 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "cdbc42509fc0386869834442d8670339c40e00bed1cd51d62721ee6ddd8b0b35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cdbc42509fc0386869834442d8670339c40e00bed1cd51d62721ee6ddd8b0b35", kill_on_drop: false }` [INFO] [stdout] cdbc42509fc0386869834442d8670339c40e00bed1cd51d62721ee6ddd8b0b35