[INFO] fetching crate tower-sessions-core 0.14.0... [INFO] testing tower-sessions-core-0.14.0 against beta-2025-10-28 for beta-1.92-2 [INFO] extracting crate tower-sessions-core 0.14.0 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate tower-sessions-core 0.14.0 [INFO] finished tweaking crates.io crate tower-sessions-core 0.14.0 [INFO] tweaked toml for crates.io crate tower-sessions-core 0.14.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate tower-sessions-core 0.14.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-core 0.14.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] [stderr] Blocking waiting for file lock on package cache [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] 6751f10e3db2e015e76ccb467512629141742f38e6bd4b41d3a83d7563ab6870 [INFO] running `Command { std: "docker" "start" "-a" "6751f10e3db2e015e76ccb467512629141742f38e6bd4b41d3a83d7563ab6870", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6751f10e3db2e015e76ccb467512629141742f38e6bd4b41d3a83d7563ab6870", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6751f10e3db2e015e76ccb467512629141742f38e6bd4b41d3a83d7563ab6870", kill_on_drop: false }` [INFO] [stdout] 6751f10e3db2e015e76ccb467512629141742f38e6bd4b41d3a83d7563ab6870 [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] 56706f046301db46381204c872767f3e4013f01eb72a4453d6ac85afef3b6d5d [INFO] running `Command { std: "docker" "start" "-a" "56706f046301db46381204c872767f3e4013f01eb72a4453d6ac85afef3b6d5d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling serde v1.0.192 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling futures-sink v0.3.28 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Compiling thiserror v2.0.3 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling futures-io v0.3.28 [INFO] [stderr] Compiling http v1.0.0 [INFO] [stderr] Compiling tokio v1.35.1 [INFO] [stderr] Compiling base64 v0.22.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling serde_derive v1.0.192 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling thiserror-impl v2.0.3 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling futures v0.3.28 [INFO] [stderr] Compiling deranged v0.3.9 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling tower-sessions-core v0.14.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 18.75s [INFO] running `Command { std: "docker" "inspect" "56706f046301db46381204c872767f3e4013f01eb72a4453d6ac85afef3b6d5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56706f046301db46381204c872767f3e4013f01eb72a4453d6ac85afef3b6d5d", kill_on_drop: false }` [INFO] [stdout] 56706f046301db46381204c872767f3e4013f01eb72a4453d6ac85afef3b6d5d [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] 7453eee2bd526e8b909dd568bfe5d79e7b5f6e27a0b5cada2dfdb01a336bce78 [INFO] running `Command { std: "docker" "start" "-a" "7453eee2bd526e8b909dd568bfe5d79e7b5f6e27a0b5cada2dfdb01a336bce78", kill_on_drop: false }` [INFO] [stderr] Compiling mockall_derive v0.13.0 [INFO] [stderr] Compiling predicates-core v1.0.6 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling termtree v0.4.1 [INFO] [stderr] Compiling downcast v0.11.0 [INFO] [stderr] Compiling fragile v2.0.0 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling predicates-tree v1.0.9 [INFO] [stderr] Compiling predicates v3.1.0 [INFO] [stderr] Compiling async-stream v0.3.5 [INFO] [stderr] Compiling tokio v1.35.1 [INFO] [stderr] Compiling futures v0.3.28 [INFO] [stderr] Compiling tokio-stream v0.1.14 [INFO] [stderr] Compiling tower-sessions-core v0.14.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling mockall v0.13.0 [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] Compiling tokio-test v0.4.3 [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 8.59s [INFO] running `Command { std: "docker" "inspect" "7453eee2bd526e8b909dd568bfe5d79e7b5f6e27a0b5cada2dfdb01a336bce78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7453eee2bd526e8b909dd568bfe5d79e7b5f6e27a0b5cada2dfdb01a336bce78", kill_on_drop: false }` [INFO] [stdout] 7453eee2bd526e8b909dd568bfe5d79e7b5f6e27a0b5cada2dfdb01a336bce78 [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] 2721936671f6d124d96bc082b30000e48bd3cb7e0672d8448e4c1194ee8d053a [INFO] running `Command { std: "docker" "start" "-a" "2721936671f6d124d96bc082b30000e48bd3cb7e0672d8448e4c1194ee8d053a", 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-core` (lib) generated 1 warning (run `cargo fix --lib -p tower-sessions-core` to apply 1 suggestion) [INFO] [stderr] warning: `tower-sessions-core` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/tower_sessions_core-e36f27d7dc559924) [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test session_store::tests::test_caching_store_load ... ok [INFO] [stdout] test session_store::tests::test_caching_store_delete ... 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_caching_store_save ... ok [INFO] [stdout] test session_store::tests::test_caching_store_create ... ok [INFO] [stdout] test session_store::tests::test_save ... ok [INFO] [stdout] test session::tests::test_cycle_id ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests tower_sessions_core [INFO] [stdout] [INFO] [stdout] running 24 tests [INFO] [stdout] test src/session.rs - session::Id (line 870) ... FAILED [INFO] [stdout] test src/session.rs - session::Session::expiry (line 508) ... FAILED [INFO] [stdout] test src/session.rs - session::Session::is_empty (line 419) ... FAILED [INFO] [stdout] test src/session.rs - session::Expiry (line 937) ... FAILED [INFO] [stdout] test src/session.rs - session::Session::insert_value (line 187) ... FAILED [INFO] [stdout] test src/session.rs - session::Session::expiry_age (line 586) ... FAILED [INFO] [stdout] test src/session.rs - session::Session::is_modified (line 611) ... FAILED [INFO] [stdout] test src/session.rs - session::Session::insert (line 150) ... FAILED [INFO] [stdout] test src/session.rs - session::Session::id (line 486) ... FAILED [INFO] [stdout] test src/session_store.rs - session_store::CachingSessionStore (line 164) ... ignored [INFO] [stdout] test src/session.rs - session::Session::get (line 236) ... FAILED [INFO] [stdout] test src/session.rs - session::Session::get_value (line 269) ... FAILED [INFO] [stdout] test src/session.rs - session::Session::new (line 77) ... FAILED [INFO] [stdout] test src/session.rs - session::Session::expiry_date (line 554) ... FAILED [INFO] [stdout] test src/session.rs - session::Session::load (line 693) ... FAILED [INFO] [stdout] test src/session.rs - session::Session::flush (line 771) ... FAILED [INFO] [stdout] test src/session.rs - session::Session::delete (line 733) ... FAILED [INFO] [stdout] test src/session.rs - session::Session::cycle_id (line 811) ... FAILED [INFO] [stdout] test src/session.rs - session::Session::remove (line 299) ... FAILED [INFO] [stdout] test src/session.rs - session::Session::set_expiry (line 529) ... FAILED [INFO] [stdout] test src/session.rs - session::Session::remove_value (line 335) ... FAILED [INFO] [stdout] test src/session.rs - session::Session::clear (line 369) ... FAILED [INFO] [stdout] test src/session.rs - session::Session::save (line 644) ... 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 870) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tower_sessions` [INFO] [stdout] --> src/session.rs:871:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tower_sessions::session::Id; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tower_sessions` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tower_sessions`, use `cargo add tower_sessions` to add it to your `Cargo.toml` [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::expiry (line 508) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tower_sessions` [INFO] [stdout] --> src/session.rs:511:5 [INFO] [stdout] | [INFO] [stdout] 5 | use tower_sessions::{session::Expiry, MemoryStore, Session}; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tower_sessions` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tower_sessions`, use `cargo add tower_sessions` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tower_sessions` [INFO] [stdout] --> src/session.rs:511:5 [INFO] [stdout] | [INFO] [stdout] 5 | use tower_sessions::{session::Expiry, MemoryStore, Session}; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tower_sessions` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tower_sessions`, use `cargo add tower_sessions` to add it to your `Cargo.toml` [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::is_empty (line 419) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tower_sessions` [INFO] [stdout] --> src/session.rs:423:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tower_sessions::{session::Id, MemoryStore, Session}; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tower_sessions` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tower_sessions`, use `cargo add tower_sessions` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tower_sessions` [INFO] [stdout] --> src/session.rs:423:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tower_sessions::{session::Id, MemoryStore, Session}; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tower_sessions` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tower_sessions`, use `cargo add tower_sessions` to add it to your `Cargo.toml` [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::Expiry (line 937) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `tower_sessions` [INFO] [stdout] --> src/session.rs:939:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tower_sessions::Expiry; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tower_sessions` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tower_sessions`, use `cargo add tower_sessions` to add it to your `Cargo.toml` [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::insert_value (line 187) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `tower_sessions` [INFO] [stdout] --> src/session.rs:191:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tower_sessions::{MemoryStore, Session}; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tower_sessions` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tower_sessions`, use `cargo add tower_sessions` to add it to your `Cargo.toml` [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::expiry_age (line 586) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `tower_sessions` [INFO] [stdout] --> src/session.rs:590:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tower_sessions::{MemoryStore, Session}; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tower_sessions` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tower_sessions`, use `cargo add tower_sessions` to add it to your `Cargo.toml` [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_modified (line 611) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `tower_sessions` [INFO] [stdout] --> src/session.rs:615:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tower_sessions::{MemoryStore, Session}; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tower_sessions` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tower_sessions`, use `cargo add tower_sessions` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/session.rs:624: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:628: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::insert (line 150) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `tower_sessions` [INFO] [stdout] --> src/session.rs:154:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tower_sessions::{MemoryStore, Session}; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tower_sessions` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tower_sessions`, use `cargo add tower_sessions` to add it to your `Cargo.toml` [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::id (line 486) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tower_sessions` [INFO] [stdout] --> src/session.rs:489:5 [INFO] [stdout] | [INFO] [stdout] 5 | use tower_sessions::{session::Id, MemoryStore, Session}; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tower_sessions` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tower_sessions`, use `cargo add tower_sessions` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tower_sessions` [INFO] [stdout] --> src/session.rs:489:5 [INFO] [stdout] | [INFO] [stdout] 5 | use tower_sessions::{session::Id, MemoryStore, Session}; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tower_sessions` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tower_sessions`, use `cargo add tower_sessions` to add it to your `Cargo.toml` [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::get (line 236) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `tower_sessions` [INFO] [stdout] --> src/session.rs:240:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tower_sessions::{MemoryStore, Session}; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tower_sessions` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tower_sessions`, use `cargo add tower_sessions` to add it to your `Cargo.toml` [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::get_value (line 269) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `tower_sessions` [INFO] [stdout] --> src/session.rs:273:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tower_sessions::{MemoryStore, Session}; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tower_sessions` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tower_sessions`, use `cargo add tower_sessions` to add it to your `Cargo.toml` [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::new (line 77) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `tower_sessions` [INFO] [stdout] --> src/session.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 5 | use tower_sessions::{MemoryStore, Session}; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tower_sessions` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tower_sessions`, use `cargo add tower_sessions` to add it to your `Cargo.toml` [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_date (line 554) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `tower_sessions` [INFO] [stdout] --> src/session.rs:558:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tower_sessions::{MemoryStore, Session}; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tower_sessions` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tower_sessions`, use `cargo add tower_sessions` to add it to your `Cargo.toml` [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::load (line 693) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tower_sessions` [INFO] [stdout] --> src/session.rs:697:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tower_sessions::{session::Id, MemoryStore, Session}; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tower_sessions` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tower_sessions`, use `cargo add tower_sessions` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tower_sessions` [INFO] [stdout] --> src/session.rs:697:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tower_sessions::{session::Id, MemoryStore, Session}; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tower_sessions` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tower_sessions`, use `cargo add tower_sessions` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/session.rs:703: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:704: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:707: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:709: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::flush (line 771) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `tower_sessions` [INFO] [stdout] --> src/session.rs:775:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tower_sessions::{MemoryStore, Session, SessionStore}; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tower_sessions` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tower_sessions`, use `cargo add tower_sessions` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/session.rs:780: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:781: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:785: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:789: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::delete (line 733) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tower_sessions` [INFO] [stdout] --> src/session.rs:737:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tower_sessions::{session::Id, MemoryStore, Session, SessionStore}; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tower_sessions` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tower_sessions`, use `cargo add tower_sessions` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tower_sessions` [INFO] [stdout] --> src/session.rs:737:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tower_sessions::{session::Id, MemoryStore, Session, SessionStore}; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tower_sessions` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tower_sessions`, use `cargo add tower_sessions` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/session.rs:743: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:746: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:748: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::cycle_id (line 811) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tower_sessions` [INFO] [stdout] --> src/session.rs:815:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tower_sessions::{session::Id, MemoryStore, Session}; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tower_sessions` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tower_sessions`, use `cargo add tower_sessions` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tower_sessions` [INFO] [stdout] --> src/session.rs:815:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tower_sessions::{session::Id, MemoryStore, Session}; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tower_sessions` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tower_sessions`, use `cargo add tower_sessions` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/session.rs:820: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:821: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:825: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:830: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:835: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::remove (line 299) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `tower_sessions` [INFO] [stdout] --> src/session.rs:303:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tower_sessions::{MemoryStore, Session}; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tower_sessions` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tower_sessions`, use `cargo add tower_sessions` to add it to your `Cargo.toml` [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::Session::set_expiry (line 529) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tower_sessions` [INFO] [stdout] --> src/session.rs:533:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tower_sessions::{session::Expiry, MemoryStore, Session}; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tower_sessions` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tower_sessions`, use `cargo add tower_sessions` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tower_sessions` [INFO] [stdout] --> src/session.rs:533:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tower_sessions::{session::Expiry, MemoryStore, Session}; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tower_sessions` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tower_sessions`, use `cargo add tower_sessions` to add it to your `Cargo.toml` [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_value (line 335) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `tower_sessions` [INFO] [stdout] --> src/session.rs:339:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tower_sessions::{MemoryStore, Session}; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tower_sessions` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tower_sessions`, use `cargo add tower_sessions` to add it to your `Cargo.toml` [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::clear (line 369) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `tower_sessions` [INFO] [stdout] --> src/session.rs:373:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tower_sessions::{MemoryStore, Session}; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tower_sessions` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tower_sessions`, use `cargo add tower_sessions` to add it to your `Cargo.toml` [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::save (line 644) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `tower_sessions` [INFO] [stdout] --> src/session.rs:648:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tower_sessions::{MemoryStore, Session}; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tower_sessions` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tower_sessions`, use `cargo add tower_sessions` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/session.rs:653: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:654: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:657: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] [INFO] [stdout] failures: [INFO] [stdout] src/session.rs - session::Expiry (line 937) [INFO] [stdout] src/session.rs - session::Id (line 870) [INFO] [stdout] src/session.rs - session::Session::clear (line 369) [INFO] [stdout] src/session.rs - session::Session::cycle_id (line 811) [INFO] [stdout] src/session.rs - session::Session::delete (line 733) [INFO] [stdout] src/session.rs - session::Session::expiry (line 508) [INFO] [stdout] src/session.rs - session::Session::expiry_age (line 586) [INFO] [stdout] src/session.rs - session::Session::expiry_date (line 554) [INFO] [stdout] src/session.rs - session::Session::flush (line 771) [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 611) [INFO] [stdout] src/session.rs - session::Session::load (line 693) [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 644) [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.88s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "2721936671f6d124d96bc082b30000e48bd3cb7e0672d8448e4c1194ee8d053a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2721936671f6d124d96bc082b30000e48bd3cb7e0672d8448e4c1194ee8d053a", kill_on_drop: false }` [INFO] [stdout] 2721936671f6d124d96bc082b30000e48bd3cb7e0672d8448e4c1194ee8d053a