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