[INFO] fetching crate tower-sessions-core 0.14.0... [INFO] testing tower-sessions-core-0.14.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate tower-sessions-core 0.14.0 into /workspace/builds/worker-6-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-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate tower-sessions-core 0.14.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 94411680d6e845244daacd99f02f8a1e1e8148f4eee248a027cc5a3bd4519c82 [INFO] running `Command { std: "docker" "start" "-a" "94411680d6e845244daacd99f02f8a1e1e8148f4eee248a027cc5a3bd4519c82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "94411680d6e845244daacd99f02f8a1e1e8148f4eee248a027cc5a3bd4519c82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94411680d6e845244daacd99f02f8a1e1e8148f4eee248a027cc5a3bd4519c82", kill_on_drop: false }` [INFO] [stdout] 94411680d6e845244daacd99f02f8a1e1e8148f4eee248a027cc5a3bd4519c82 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 70f52b65a9ad11ff2d60508bf10247afb1bf66e43c2a9457f1eb3725751882cb [INFO] running `Command { std: "docker" "start" "-a" "70f52b65a9ad11ff2d60508bf10247afb1bf66e43c2a9457f1eb3725751882cb", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.12 [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 pin-project-lite v0.2.13 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling futures-sink 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 proc-macro2 v1.0.92 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling smallvec v1.13.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling thiserror v2.0.3 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling futures-io v0.3.28 [INFO] [stderr] Compiling tokio v1.35.1 [INFO] [stderr] Compiling base64 v0.22.0 [INFO] [stderr] Compiling http v1.0.0 [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 thiserror-impl v2.0.3 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [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 32.11s [INFO] running `Command { std: "docker" "inspect" "70f52b65a9ad11ff2d60508bf10247afb1bf66e43c2a9457f1eb3725751882cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70f52b65a9ad11ff2d60508bf10247afb1bf66e43c2a9457f1eb3725751882cb", kill_on_drop: false }` [INFO] [stdout] 70f52b65a9ad11ff2d60508bf10247afb1bf66e43c2a9457f1eb3725751882cb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d3b287ef8bd6877efc7e1d97aadae607e1729e80fb9b6ad000146380e3c538b9 [INFO] running `Command { std: "docker" "start" "-a" "d3b287ef8bd6877efc7e1d97aadae607e1729e80fb9b6ad000146380e3c538b9", kill_on_drop: false }` [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling predicates-core v1.0.6 [INFO] [stderr] Compiling mockall_derive v0.13.0 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling anstyle v1.0.6 [INFO] [stderr] Compiling termtree v0.4.1 [INFO] [stderr] Compiling downcast v0.11.0 [INFO] [stderr] Compiling fragile v2.0.0 [INFO] [stderr] Compiling predicates-tree v1.0.9 [INFO] [stderr] Compiling tokio v1.35.1 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling predicates v3.1.0 [INFO] [stderr] Compiling async-stream v0.3.5 [INFO] [stderr] Compiling tokio-stream v0.1.14 [INFO] [stderr] Compiling tokio-test v0.4.3 [INFO] [stderr] Compiling futures v0.3.28 [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] 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] Finished `test` profile [unoptimized + debuginfo] target(s) in 15.28s [INFO] running `Command { std: "docker" "inspect" "d3b287ef8bd6877efc7e1d97aadae607e1729e80fb9b6ad000146380e3c538b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3b287ef8bd6877efc7e1d97aadae607e1729e80fb9b6ad000146380e3c538b9", kill_on_drop: false }` [INFO] [stdout] d3b287ef8bd6877efc7e1d97aadae607e1729e80fb9b6ad000146380e3c538b9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2117b899cca98a5d5dc7e6e5a2c692e4b3772891d267860c3e8f9979c204eefb [INFO] running `Command { std: "docker" "start" "-a" "2117b899cca98a5d5dc7e6e5a2c692e4b3772891d267860c3e8f9979c204eefb", 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.16s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/tower_sessions_core-bd5a090243a7dda2) [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test session::tests::test_cycle_id ... ok [INFO] [stdout] test session_store::tests::test_caching_store_load ... ok [INFO] [stdout] test session_store::tests::test_caching_store_save ... ok [INFO] [stdout] test session_store::tests::test_caching_store_delete ... ok [INFO] [stdout] test session_store::tests::test_caching_store_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_create ... 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::Expiry (line 937) ... FAILED [INFO] [stdout] test src/session.rs - session::Session::clear (line 369) ... FAILED [INFO] [stdout] test src/session.rs - session::Id (line 870) ... FAILED [INFO] [stdout] test src/session.rs - session::Session::expiry_date (line 554) ... FAILED [INFO] [stdout] test src/session.rs - session::Session::flush (line 771) ... FAILED [INFO] [stdout] test src/session.rs - session::Session::expiry_age (line 586) ... FAILED [INFO] [stdout] test src/session.rs - session::Session::expiry (line 508) ... FAILED [INFO] [stdout] test src/session.rs - session::Session::get (line 236) ... FAILED [INFO] [stdout] test src/session.rs - session::Session::cycle_id (line 811) ... FAILED [INFO] [stdout] test src/session.rs - session::Session::delete (line 733) ... FAILED [INFO] [stdout] test src/session.rs - session::Session::is_empty (line 419) ... 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.rs - session::Session::get_value (line 269) ... FAILED [INFO] [stdout] test src/session.rs - session::Session::load (line 693) ... FAILED [INFO] [stdout] test src/session.rs - session::Session::insert_value (line 187) ... FAILED [INFO] [stdout] test src/session_store.rs - session_store::CachingSessionStore (line 164) ... ignored [INFO] [stdout] test src/session.rs - session::Session::is_modified (line 611) ... FAILED [INFO] [stdout] test src/session.rs - session::Session::remove_value (line 335) ... FAILED [INFO] [stdout] test src/session.rs - session::Session::new (line 77) ... FAILED [INFO] [stdout] test src/session.rs - session::Session::remove (line 299) ... FAILED [INFO] [stdout] test src/session.rs - session::Session::save (line 644) ... FAILED [INFO] [stdout] test src/session.rs - session::Session::set_expiry (line 529) ... 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::Expiry (line 937) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `tower_sessions` [INFO] [stdout] --> src/session.rs:939:5 [INFO] [stdout] | [INFO] [stdout] 939 | 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::clear (line 369) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `tower_sessions` [INFO] [stdout] --> src/session.rs:373:5 [INFO] [stdout] | [INFO] [stdout] 373 | 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] 378 | 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] 381 | 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] 388 | 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] 393 | 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] 397 | 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::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] 871 | 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_date (line 554) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `tower_sessions` [INFO] [stdout] --> src/session.rs:558:5 [INFO] [stdout] | [INFO] [stdout] 558 | use tower_sessions::{MemoryStore, Session}; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tower_sessions` [INFO] [stdout] | [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [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::flush (line 771) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `tower_sessions` [INFO] [stdout] --> src/session.rs:775:5 [INFO] [stdout] | [INFO] [stdout] 775 | 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] 780 | 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] 781 | 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] 785 | 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] 789 | 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_age (line 586) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `tower_sessions` [INFO] [stdout] --> src/session.rs:590:5 [INFO] [stdout] | [INFO] [stdout] 590 | 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 (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] 511 | 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] 511 | 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::get (line 236) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `tower_sessions` [INFO] [stdout] --> src/session.rs:240:5 [INFO] [stdout] | [INFO] [stdout] 240 | 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] 245 | 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] 247 | 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::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] 815 | 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] 815 | 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] 820 | 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] 821 | 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] 825 | 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] 830 | 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] 835 | 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::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] 737 | 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] 737 | 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] 743 | 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] 746 | 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] 748 | 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::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] 423 | 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] 423 | 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] 436 | 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] 439 | 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] 444 | 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] 448 | 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] 452 | 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] 455 | 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] 460 | 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] 461 | 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::insert (line 150) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `tower_sessions` [INFO] [stdout] --> src/session.rs:154:5 [INFO] [stdout] | [INFO] [stdout] 154 | 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] 159 | 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] 161 | 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] 489 | 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] 489 | 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_value (line 269) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `tower_sessions` [INFO] [stdout] --> src/session.rs:273:5 [INFO] [stdout] | [INFO] [stdout] 273 | 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] 278 | 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] 280 | 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::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] 697 | 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] 697 | 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] 703 | 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] 704 | 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] 707 | 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] 709 | 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::insert_value (line 187) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `tower_sessions` [INFO] [stdout] --> src/session.rs:191:5 [INFO] [stdout] | [INFO] [stdout] 191 | 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] 196 | let value = session [INFO] [stdout] | _____________^ [INFO] [stdout] 197 | | .insert_value("foo", serde_json::json!(42)) [INFO] [stdout] 198 | | .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] 202 | let value = session [INFO] [stdout] | _____________^ [INFO] [stdout] 203 | | .insert_value("foo", serde_json::json!(42)) [INFO] [stdout] 204 | | .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] 208 | let value = session [INFO] [stdout] | _____________^ [INFO] [stdout] 209 | | .insert_value("foo", serde_json::json!("bar")) [INFO] [stdout] 210 | | .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::is_modified (line 611) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `tower_sessions` [INFO] [stdout] --> src/session.rs:615:5 [INFO] [stdout] | [INFO] [stdout] 615 | 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] 624 | 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] 628 | 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::remove_value (line 335) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `tower_sessions` [INFO] [stdout] --> src/session.rs:339:5 [INFO] [stdout] | [INFO] [stdout] 339 | 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] 344 | 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] 345 | 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] 348 | 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::new (line 77) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `tower_sessions` [INFO] [stdout] --> src/session.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | 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::remove (line 299) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `tower_sessions` [INFO] [stdout] --> src/session.rs:303:5 [INFO] [stdout] | [INFO] [stdout] 303 | 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] 308 | 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] 310 | 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] 313 | 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::save (line 644) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `tower_sessions` [INFO] [stdout] --> src/session.rs:648:5 [INFO] [stdout] | [INFO] [stdout] 648 | 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] 653 | 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] 654 | 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] 657 | 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::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] 533 | 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] 533 | 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] [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 1.27s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "2117b899cca98a5d5dc7e6e5a2c692e4b3772891d267860c3e8f9979c204eefb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2117b899cca98a5d5dc7e6e5a2c692e4b3772891d267860c3e8f9979c204eefb", kill_on_drop: false }` [INFO] [stdout] 2117b899cca98a5d5dc7e6e5a2c692e4b3772891d267860c3e8f9979c204eefb