[INFO] fetching crate tower-sessions-ext-core 1.0.0... [INFO] testing tower-sessions-ext-core-1.0.0 against beta-2025-10-28 for beta-1.92-2 [INFO] extracting crate tower-sessions-ext-core 1.0.0 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate tower-sessions-ext-core 1.0.0 [INFO] finished tweaking crates.io crate tower-sessions-ext-core 1.0.0 [INFO] tweaked toml for crates.io crate tower-sessions-ext-core 1.0.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate tower-sessions-ext-core 1.0.0 on toolchain beta-2025-10-28 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-10-28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate tower-sessions-ext-core 1.0.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-10-28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9a003598db0dd7e6bb7f4ca81614c364bb6b53534ee395854db74b6e1afba418 [INFO] running `Command { std: "docker" "start" "-a" "9a003598db0dd7e6bb7f4ca81614c364bb6b53534ee395854db74b6e1afba418", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9a003598db0dd7e6bb7f4ca81614c364bb6b53534ee395854db74b6e1afba418", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a003598db0dd7e6bb7f4ca81614c364bb6b53534ee395854db74b6e1afba418", kill_on_drop: false }` [INFO] [stdout] 9a003598db0dd7e6bb7f4ca81614c364bb6b53534ee395854db74b6e1afba418 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2025-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 022ad66f1a1df0e8ba77f07d6e07ab22399d1cbf4654d419b335c82c6dbad8bc [INFO] running `Command { std: "docker" "start" "-a" "022ad66f1a1df0e8ba77f07d6e07ab22399d1cbf4654d419b335c82c6dbad8bc", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling deranged v0.5.3 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling time v0.3.43 [INFO] [stderr] Compiling tower-sessions-ext-core v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/session.rs:108:25 [INFO] [stdout] | [INFO] [stdout] 108 | async fn get_record(&self) -> Result> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 108 | async fn get_record(&self) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.90s [INFO] running `Command { std: "docker" "inspect" "022ad66f1a1df0e8ba77f07d6e07ab22399d1cbf4654d419b335c82c6dbad8bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "022ad66f1a1df0e8ba77f07d6e07ab22399d1cbf4654d419b335c82c6dbad8bc", kill_on_drop: false }` [INFO] [stdout] 022ad66f1a1df0e8ba77f07d6e07ab22399d1cbf4654d419b335c82c6dbad8bc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2025-10-28" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f3632f640636eb22db66c22a27b4e7ff435540d96cbaea9b76bed58f231ce882 [INFO] running `Command { std: "docker" "start" "-a" "f3632f640636eb22db66c22a27b4e7ff435540d96cbaea9b76bed58f231ce882", kill_on_drop: false }` [INFO] [stderr] Compiling mockall_derive v0.13.1 [INFO] [stderr] Compiling predicates-core v1.0.9 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling termtree v0.5.1 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling fragile v2.0.1 [INFO] [stderr] Compiling downcast v0.11.0 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling predicates-tree v1.0.12 [INFO] [stderr] Compiling predicates v3.1.3 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling mockall v0.13.1 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling tower-sessions-ext-core v1.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling tokio-test v0.4.4 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/session.rs:108:25 [INFO] [stdout] | [INFO] [stdout] 108 | async fn get_record(&self) -> Result> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 108 | async fn get_record(&self) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/session.rs:108:25 [INFO] [stdout] | [INFO] [stdout] 108 | async fn get_record(&self) -> Result> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 108 | async fn get_record(&self) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 12.44s [INFO] running `Command { std: "docker" "inspect" "f3632f640636eb22db66c22a27b4e7ff435540d96cbaea9b76bed58f231ce882", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3632f640636eb22db66c22a27b4e7ff435540d96cbaea9b76bed58f231ce882", kill_on_drop: false }` [INFO] [stdout] f3632f640636eb22db66c22a27b4e7ff435540d96cbaea9b76bed58f231ce882 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2025-10-28" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5caaaa99f867ce726ed34b607db92458f8a6ce7b74014a93281bfd7738449366 [INFO] running `Command { std: "docker" "start" "-a" "5caaaa99f867ce726ed34b607db92458f8a6ce7b74014a93281bfd7738449366", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/session.rs:108:25 [INFO] [stderr] | [INFO] [stderr] 108 | async fn get_record(&self) -> Result> { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 108 | async fn get_record(&self) -> Result> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `tower-sessions-ext-core` (lib) generated 1 warning (run `cargo fix --lib -p tower-sessions-ext-core` to apply 1 suggestion) [INFO] [stderr] warning: `tower-sessions-ext-core` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.22s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/tower_sessions_ext_core-842acfee2cc53478) [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test session_store::tests::test_caching_store_delete ... ok [INFO] [stdout] test session_store::tests::test_caching_store_save ... ok [INFO] [stdout] test session::tests::test_cycle_id ... ok [INFO] [stdout] test session_store::tests::test_create ... ok [INFO] [stdout] test session_store::tests::test_delete ... ok [INFO] [stdout] test session_store::tests::test_load ... ok [INFO] [stdout] test session_store::tests::test_save ... ok [INFO] [stdout] test session_store::tests::test_caching_store_create ... ok [INFO] [stdout] test session_store::tests::test_caching_store_load ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] [stderr] Doc-tests tower_sessions_ext_core [INFO] [stdout] [INFO] [stdout] running 24 tests [INFO] [stdout] test src/session.rs - session::Id (line 872) ... FAILED [INFO] [stdout] test src/session.rs - session::Session::get_value (line 269) ... FAILED [INFO] [stdout] test src/session.rs - session::Session::flush (line 773) ... FAILED [INFO] [stdout] test src/session.rs - session::Session::expiry_date (line 554) ... FAILED [INFO] [stdout] test src/session.rs - session::Session::is_empty (line 419) ... FAILED [INFO] [stdout] test src/session.rs - session::Session::id (line 486) ... FAILED [INFO] [stdout] test src/session.rs - session::Session::clear (line 369) ... FAILED [INFO] [stdout] test src/session.rs - session::Session::insert (line 150) ... FAILED [INFO] [stdout] test src/session_store.rs - session_store::CachingSessionStore (line 164) ... ignored [INFO] [stdout] test src/session.rs - session::Session::insert_value (line 187) ... FAILED [INFO] [stdout] test src/session.rs - session::Session::save (line 646) ... FAILED [INFO] [stdout] test src/session.rs - session::Session::expiry_age (line 588) ... FAILED [INFO] [stdout] test src/session.rs - session::Session::get (line 236) ... FAILED [INFO] [stdout] test src/session.rs - session::Session::remove_value (line 335) ... FAILED [INFO] [stdout] test src/session.rs - session::Session::cycle_id (line 813) ... FAILED [INFO] [stdout] test src/session.rs - session::Session::new (line 77) ... FAILED [INFO] [stdout] test src/session.rs - session::Session::expiry (line 508) ... FAILED [INFO] [stdout] test src/session.rs - session::Session::load (line 695) ... FAILED [INFO] [stdout] test src/session.rs - session::Session::is_modified (line 613) ... FAILED [INFO] [stdout] test src/session.rs - session::Session::delete (line 735) ... FAILED [INFO] [stdout] test src/session.rs - session::Session::set_expiry (line 529) ... FAILED [INFO] [stdout] test src/session.rs - session::Session::remove (line 299) ... FAILED [INFO] [stdout] test src/session.rs - session::Expiry (line 939) ... FAILED [INFO] [stdout] test src/session_store.rs - session_store (line 15) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/session.rs - session::Id (line 872) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tower_sessions_ext` [INFO] [stdout] --> src/session.rs:873:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tower_sessions_ext::session::Id; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tower_sessions_ext` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 3 | use tower_sessions_ext_core::session::Id; [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/session.rs - session::Session::get_value (line 269) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `tower_sessions_ext` [INFO] [stdout] --> src/session.rs:273:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tower_sessions_ext::{MemoryStore, Session}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tower_sessions_ext` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 6 | use tower_sessions_ext_core::{MemoryStore, Session}; [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/session.rs:278:1 [INFO] [stdout] | [INFO] [stdout] 11 | session.insert("foo", 42).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/session.rs:280:13 [INFO] [stdout] | [INFO] [stdout] 13 | let value = session.get_value("foo").await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/session.rs - session::Session::flush (line 773) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `tower_sessions_ext` [INFO] [stdout] --> src/session.rs:777:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tower_sessions_ext::{MemoryStore, Session, SessionStore}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tower_sessions_ext` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 6 | use tower_sessions_ext_core::{MemoryStore, Session, SessionStore}; [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/session.rs:782:1 [INFO] [stdout] | [INFO] [stdout] 11 | session.insert("foo", "bar").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/session.rs:783:1 [INFO] [stdout] | [INFO] [stdout] 12 | session.save().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/session.rs:787:1 [INFO] [stdout] | [INFO] [stdout] 16 | session.flush().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/session.rs:791:9 [INFO] [stdout] | [INFO] [stdout] 20 | assert!(store.load(&id).await.unwrap().is_none()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/session.rs - session::Session::expiry_date (line 554) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `tower_sessions_ext` [INFO] [stdout] --> src/session.rs:558:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tower_sessions_ext::{MemoryStore, Session}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tower_sessions_ext` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 6 | use tower_sessions_ext_core::{MemoryStore, Session}; [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/session.rs - session::Session::is_empty (line 419) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tower_sessions_ext` [INFO] [stdout] --> src/session.rs:423:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tower_sessions_ext::{MemoryStore, Session, session::Id}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tower_sessions_ext` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 6 | use tower_sessions_ext_core::{MemoryStore, Session, session::Id}; [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tower_sessions_ext` [INFO] [stdout] --> src/session.rs:423:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tower_sessions_ext::{MemoryStore, Session, session::Id}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tower_sessions_ext` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 6 | use tower_sessions_ext_core::{MemoryStore, Session, session::Id}; [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/session.rs:436:1 [INFO] [stdout] | [INFO] [stdout] 19 | session.insert("foo", 42).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/session.rs:439:1 [INFO] [stdout] | [INFO] [stdout] 22 | session.save().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/session.rs:444:1 [INFO] [stdout] | [INFO] [stdout] 27 | session.load().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/session.rs:448:1 [INFO] [stdout] | [INFO] [stdout] 31 | session.get::("foo").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/session.rs:452:1 [INFO] [stdout] | [INFO] [stdout] 35 | session.delete().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/session.rs:455:1 [INFO] [stdout] | [INFO] [stdout] 38 | session.get::("foo").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/session.rs:460:1 [INFO] [stdout] | [INFO] [stdout] 43 | session.insert("foo", 42).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/session.rs:461:1 [INFO] [stdout] | [INFO] [stdout] 44 | session.flush().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/session.rs - session::Session::id (line 486) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tower_sessions_ext` [INFO] [stdout] --> src/session.rs:489:5 [INFO] [stdout] | [INFO] [stdout] 5 | use tower_sessions_ext::{MemoryStore, Session, session::Id}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tower_sessions_ext` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 5 | use tower_sessions_ext_core::{MemoryStore, Session, session::Id}; [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tower_sessions_ext` [INFO] [stdout] --> src/session.rs:489:5 [INFO] [stdout] | [INFO] [stdout] 5 | use tower_sessions_ext::{MemoryStore, Session, session::Id}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tower_sessions_ext` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 5 | use tower_sessions_ext_core::{MemoryStore, Session, session::Id}; [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/session.rs - session::Session::clear (line 369) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `tower_sessions_ext` [INFO] [stdout] --> src/session.rs:373:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tower_sessions_ext::{MemoryStore, Session}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tower_sessions_ext` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 6 | use tower_sessions_ext_core::{MemoryStore, Session}; [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/session.rs:378:1 [INFO] [stdout] | [INFO] [stdout] 11 | session.insert("foo", 42).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/session.rs:381:1 [INFO] [stdout] | [INFO] [stdout] 14 | session.save().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/session.rs:388:9 [INFO] [stdout] | [INFO] [stdout] 21 | assert!(session.get::("foo").await.unwrap().is_none()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/session.rs:393:9 [INFO] [stdout] | [INFO] [stdout] 26 | assert!(session.get::("foo").await.unwrap().is_none()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/session.rs:397:12 [INFO] [stdout] | [INFO] [stdout] 30 | assert_eq!(session.get::("foo").await.unwrap(), Some(42)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/session.rs - session::Session::insert (line 150) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `tower_sessions_ext` [INFO] [stdout] --> src/session.rs:154:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tower_sessions_ext::{MemoryStore, Session}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tower_sessions_ext` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 6 | use tower_sessions_ext_core::{MemoryStore, Session}; [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/session.rs:159:1 [INFO] [stdout] | [INFO] [stdout] 11 | session.insert("foo", 42).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/session.rs:161:13 [INFO] [stdout] | [INFO] [stdout] 13 | let value = session.get::("foo").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/session.rs - session::Session::insert_value (line 187) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `tower_sessions_ext` [INFO] [stdout] --> src/session.rs:191:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tower_sessions_ext::{MemoryStore, Session}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tower_sessions_ext` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 6 | use tower_sessions_ext_core::{MemoryStore, Session}; [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/session.rs:196:13 [INFO] [stdout] | [INFO] [stdout] 11 | let value = session [INFO] [stdout] | _____________^ [INFO] [stdout] 12 | | .insert_value("foo", serde_json::json!(42)) [INFO] [stdout] 13 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/session.rs:202:13 [INFO] [stdout] | [INFO] [stdout] 17 | let value = session [INFO] [stdout] | _____________^ [INFO] [stdout] 18 | | .insert_value("foo", serde_json::json!(42)) [INFO] [stdout] 19 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/session.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 23 | let value = session [INFO] [stdout] | _____________^ [INFO] [stdout] 24 | | .insert_value("foo", serde_json::json!("bar")) [INFO] [stdout] 25 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/session.rs - session::Session::save (line 646) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `tower_sessions_ext` [INFO] [stdout] --> src/session.rs:650:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tower_sessions_ext::{MemoryStore, Session}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tower_sessions_ext` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 6 | use tower_sessions_ext_core::{MemoryStore, Session}; [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/session.rs:655:1 [INFO] [stdout] | [INFO] [stdout] 11 | session.insert("foo", 42).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/session.rs:656:1 [INFO] [stdout] | [INFO] [stdout] 12 | session.save().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/session.rs:659:12 [INFO] [stdout] | [INFO] [stdout] 15 | assert_eq!(session.get::("foo").await.unwrap().unwrap(), 42); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/session.rs - session::Session::expiry_age (line 588) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `tower_sessions_ext` [INFO] [stdout] --> src/session.rs:592:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tower_sessions_ext::{MemoryStore, Session}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tower_sessions_ext` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 6 | use tower_sessions_ext_core::{MemoryStore, Session}; [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/session.rs - session::Session::get (line 236) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `tower_sessions_ext` [INFO] [stdout] --> src/session.rs:240:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tower_sessions_ext::{MemoryStore, Session}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tower_sessions_ext` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 6 | use tower_sessions_ext_core::{MemoryStore, Session}; [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/session.rs:245:1 [INFO] [stdout] | [INFO] [stdout] 11 | session.insert("foo", 42).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/session.rs:247:13 [INFO] [stdout] | [INFO] [stdout] 13 | let value = session.get::("foo").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/session.rs - session::Session::remove_value (line 335) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `tower_sessions_ext` [INFO] [stdout] --> src/session.rs:339:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tower_sessions_ext::{MemoryStore, Session}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tower_sessions_ext` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 6 | use tower_sessions_ext_core::{MemoryStore, Session}; [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/session.rs:344:1 [INFO] [stdout] | [INFO] [stdout] 11 | session.insert("foo", 42).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/session.rs:345:13 [INFO] [stdout] | [INFO] [stdout] 12 | let value = session.remove_value("foo").await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/session.rs:348:28 [INFO] [stdout] | [INFO] [stdout] 15 | let value: Option = session.get("foo").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/session.rs - session::Session::cycle_id (line 813) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tower_sessions_ext` [INFO] [stdout] --> src/session.rs:817:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tower_sessions_ext::{MemoryStore, Session, session::Id}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tower_sessions_ext` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 6 | use tower_sessions_ext_core::{MemoryStore, Session, session::Id}; [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tower_sessions_ext` [INFO] [stdout] --> src/session.rs:817:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tower_sessions_ext::{MemoryStore, Session, session::Id}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tower_sessions_ext` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 6 | use tower_sessions_ext_core::{MemoryStore, Session, session::Id}; [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/session.rs:822:1 [INFO] [stdout] | [INFO] [stdout] 11 | session.insert("foo", 42).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/session.rs:823:1 [INFO] [stdout] | [INFO] [stdout] 12 | session.save().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/session.rs:827:1 [INFO] [stdout] | [INFO] [stdout] 16 | session.cycle_id().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/session.rs:832:1 [INFO] [stdout] | [INFO] [stdout] 21 | session.save().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/session.rs:837:12 [INFO] [stdout] | [INFO] [stdout] 26 | assert_eq!(session.get::("foo").await.unwrap().unwrap(), 42); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/session.rs - session::Session::new (line 77) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `tower_sessions_ext` [INFO] [stdout] --> src/session.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 5 | use tower_sessions_ext::{MemoryStore, Session}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tower_sessions_ext` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 5 | use tower_sessions_ext_core::{MemoryStore, Session}; [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/session.rs - session::Session::expiry (line 508) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tower_sessions_ext` [INFO] [stdout] --> src/session.rs:511:5 [INFO] [stdout] | [INFO] [stdout] 5 | use tower_sessions_ext::{MemoryStore, Session, session::Expiry}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tower_sessions_ext` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 5 | use tower_sessions_ext_core::{MemoryStore, Session, session::Expiry}; [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tower_sessions_ext` [INFO] [stdout] --> src/session.rs:511:5 [INFO] [stdout] | [INFO] [stdout] 5 | use tower_sessions_ext::{MemoryStore, Session, session::Expiry}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tower_sessions_ext` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 5 | use tower_sessions_ext_core::{MemoryStore, Session, session::Expiry}; [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/session.rs - session::Session::load (line 695) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tower_sessions_ext` [INFO] [stdout] --> src/session.rs:699:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tower_sessions_ext::{MemoryStore, Session, session::Id}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tower_sessions_ext` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 6 | use tower_sessions_ext_core::{MemoryStore, Session, session::Id}; [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tower_sessions_ext` [INFO] [stdout] --> src/session.rs:699:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tower_sessions_ext::{MemoryStore, Session, session::Id}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tower_sessions_ext` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 6 | use tower_sessions_ext_core::{MemoryStore, Session, session::Id}; [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/session.rs:705:1 [INFO] [stdout] | [INFO] [stdout] 12 | session.insert("foo", 42).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/session.rs:706:1 [INFO] [stdout] | [INFO] [stdout] 13 | session.save().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/session.rs:709:1 [INFO] [stdout] | [INFO] [stdout] 16 | session.load().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/session.rs:711:12 [INFO] [stdout] | [INFO] [stdout] 18 | assert_eq!(session.get::("foo").await.unwrap().unwrap(), 42); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/session.rs - session::Session::is_modified (line 613) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `tower_sessions_ext` [INFO] [stdout] --> src/session.rs:617:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tower_sessions_ext::{MemoryStore, Session}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tower_sessions_ext` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 6 | use tower_sessions_ext_core::{MemoryStore, Session}; [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/session.rs:626:1 [INFO] [stdout] | [INFO] [stdout] 15 | session.get::("foo").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/session.rs:630:1 [INFO] [stdout] | [INFO] [stdout] 19 | session.insert("foo", 42).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/session.rs - session::Session::delete (line 735) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tower_sessions_ext` [INFO] [stdout] --> src/session.rs:739:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tower_sessions_ext::{MemoryStore, Session, SessionStore, session::Id}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tower_sessions_ext` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 6 | use tower_sessions_ext_core::{MemoryStore, Session, SessionStore, session::Id}; [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tower_sessions_ext` [INFO] [stdout] --> src/session.rs:739:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tower_sessions_ext::{MemoryStore, Session, SessionStore, session::Id}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tower_sessions_ext` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 6 | use tower_sessions_ext_core::{MemoryStore, Session, SessionStore, session::Id}; [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/session.rs:745:1 [INFO] [stdout] | [INFO] [stdout] 12 | session.save().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/session.rs:748:1 [INFO] [stdout] | [INFO] [stdout] 15 | session.delete().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/session.rs:750:9 [INFO] [stdout] | [INFO] [stdout] 17 | assert!(store.load(&session.id().unwrap()).await.unwrap().is_none()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/session.rs - session::Session::set_expiry (line 529) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tower_sessions_ext` [INFO] [stdout] --> src/session.rs:533:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tower_sessions_ext::{MemoryStore, Session, session::Expiry}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tower_sessions_ext` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 6 | use tower_sessions_ext_core::{MemoryStore, Session, session::Expiry}; [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tower_sessions_ext` [INFO] [stdout] --> src/session.rs:533:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tower_sessions_ext::{MemoryStore, Session, session::Expiry}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tower_sessions_ext` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 6 | use tower_sessions_ext_core::{MemoryStore, Session, session::Expiry}; [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/session.rs - session::Session::remove (line 299) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `tower_sessions_ext` [INFO] [stdout] --> src/session.rs:303:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tower_sessions_ext::{MemoryStore, Session}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tower_sessions_ext` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 6 | use tower_sessions_ext_core::{MemoryStore, Session}; [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/session.rs:308:1 [INFO] [stdout] | [INFO] [stdout] 11 | session.insert("foo", 42).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/session.rs:310:28 [INFO] [stdout] | [INFO] [stdout] 13 | let value: Option = session.remove("foo").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/session.rs:313:28 [INFO] [stdout] | [INFO] [stdout] 16 | let value: Option = session.get("foo").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/session.rs - session::Expiry (line 939) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `tower_sessions_ext` [INFO] [stdout] --> src/session.rs:941:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tower_sessions_ext::Expiry; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tower_sessions_ext` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 4 | use tower_sessions_ext_core::Expiry; [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/session.rs - session::Expiry (line 939) [INFO] [stdout] src/session.rs - session::Id (line 872) [INFO] [stdout] src/session.rs - session::Session::clear (line 369) [INFO] [stdout] src/session.rs - session::Session::cycle_id (line 813) [INFO] [stdout] src/session.rs - session::Session::delete (line 735) [INFO] [stdout] src/session.rs - session::Session::expiry (line 508) [INFO] [stdout] src/session.rs - session::Session::expiry_age (line 588) [INFO] [stdout] src/session.rs - session::Session::expiry_date (line 554) [INFO] [stdout] src/session.rs - session::Session::flush (line 773) [INFO] [stdout] src/session.rs - session::Session::get (line 236) [INFO] [stdout] src/session.rs - session::Session::get_value (line 269) [INFO] [stdout] src/session.rs - session::Session::id (line 486) [INFO] [stdout] src/session.rs - session::Session::insert (line 150) [INFO] [stdout] src/session.rs - session::Session::insert_value (line 187) [INFO] [stdout] src/session.rs - session::Session::is_empty (line 419) [INFO] [stdout] src/session.rs - session::Session::is_modified (line 613) [INFO] [stdout] src/session.rs - session::Session::load (line 695) [INFO] [stdout] src/session.rs - session::Session::new (line 77) [INFO] [stdout] src/session.rs - session::Session::remove (line 299) [INFO] [stdout] src/session.rs - session::Session::remove_value (line 335) [INFO] [stdout] src/session.rs - session::Session::save (line 646) [INFO] [stdout] src/session.rs - session::Session::set_expiry (line 529) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 22 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.66s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.88s; merged doctests compilation took 0.22s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "5caaaa99f867ce726ed34b607db92458f8a6ce7b74014a93281bfd7738449366", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5caaaa99f867ce726ed34b607db92458f8a6ce7b74014a93281bfd7738449366", kill_on_drop: false }` [INFO] [stdout] 5caaaa99f867ce726ed34b607db92458f8a6ce7b74014a93281bfd7738449366