[INFO] cloning repository https://github.com/lazhenyi/rsession
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lazhenyi/rsession" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flazhenyi%2Frsession", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flazhenyi%2Frsession'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 623eda3ca29a0ab4f0c3ccf77576e54069f8bd24
[INFO] testing lazhenyi/rsession against master#733b47ea4b1b86216f14ef56e49440c33933f230+rustflags=-Copt-level=3 for pr-138759
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flazhenyi%2Frsession" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/lazhenyi/rsession
[INFO] removed 0 missing examples
[INFO] finished tweaking git repo https://github.com/lazhenyi/rsession
[INFO] tweaked toml for git repo https://github.com/lazhenyi/rsession written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/lazhenyi/rsession on toolchain 733b47ea4b1b86216f14ef56e49440c33933f230
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/lazhenyi/rsession 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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 47f8c7479ba240841570934b7134665d4bd7c2580e0243e27588cc98b5ef4c0d
[INFO] running `Command { std: "docker" "start" "-a" "47f8c7479ba240841570934b7134665d4bd7c2580e0243e27588cc98b5ef4c0d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "47f8c7479ba240841570934b7134665d4bd7c2580e0243e27588cc98b5ef4c0d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "47f8c7479ba240841570934b7134665d4bd7c2580e0243e27588cc98b5ef4c0d", kill_on_drop: false }`
[INFO] [stdout] 47f8c7479ba240841570934b7134665d4bd7c2580e0243e27588cc98b5ef4c0d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Copt-level=3" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8baa37635833faf2c3edcb1b14892ab9a277e52036e1572aa119cc1cbea4dd0f
[INFO] running `Command { std: "docker" "start" "-a" "8baa37635833faf2c3edcb1b14892ab9a277e52036e1572aa119cc1cbea4dd0f", kill_on_drop: false }`
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling signal-hook-registry v1.4.5
[INFO] [stderr]    Compiling mio v1.0.4
[INFO] [stderr]    Compiling socket2 v0.5.10
[INFO] [stderr]    Compiling cookie v0.18.1
[INFO] [stderr]    Compiling syn v2.0.103
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]    Compiling num_threads v0.1.7
[INFO] [stderr]    Compiling time v0.3.41
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling parking_lot_core v0.9.11
[INFO] [stderr]    Compiling tracing-subscriber v0.3.19
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling rand_core v0.9.3
[INFO] [stderr]    Compiling parking_lot v0.12.4
[INFO] [stderr]    Compiling rand_chacha v0.9.0
[INFO] [stderr]    Compiling rand v0.9.1
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling async-trait v0.1.88
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling tokio v1.45.1
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling uuid v1.17.0
[INFO] [stderr]    Compiling sha256 v1.6.0
[INFO] [stderr]    Compiling rsession v0.2.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]    --> src/inner/builder.rs:250:18
[INFO] [stdout]     |
[INFO] [stdout] 250 |     pub fn build(&self, id: String) -> Cookie {
[INFO] [stdout]     |                  ^^^^^                 ------ the lifetime gets resolved as `'_`
[INFO] [stdout]     |                  |
[INFO] [stdout]     |                  this lifetime flows to the output
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]     |
[INFO] [stdout] 250 |     pub fn build(&self, id: String) -> Cookie<'_> {
[INFO] [stdout]     |                                              ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 39s
[INFO] running `Command { std: "docker" "inspect" "8baa37635833faf2c3edcb1b14892ab9a277e52036e1572aa119cc1cbea4dd0f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8baa37635833faf2c3edcb1b14892ab9a277e52036e1572aa119cc1cbea4dd0f", kill_on_drop: false }`
[INFO] [stdout] 8baa37635833faf2c3edcb1b14892ab9a277e52036e1572aa119cc1cbea4dd0f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Copt-level=3" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7766814ef9579cec2305d0d24b84bf16ee817bcbe7a174c370392f6bd8d47594
[INFO] running `Command { std: "docker" "start" "-a" "7766814ef9579cec2305d0d24b84bf16ee817bcbe7a174c370392f6bd8d47594", kill_on_drop: false }`
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]    --> src/inner/builder.rs:250:18
[INFO] [stdout]     |
[INFO] [stdout] 250 |     pub fn build(&self, id: String) -> Cookie {
[INFO] [stdout]     |                  ^^^^^                 ------ the lifetime gets resolved as `'_`
[INFO] [stdout]     |                  |
[INFO] [stdout]     |                  this lifetime flows to the output
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]     |
[INFO] [stdout] 250 |     pub fn build(&self, id: String) -> Cookie<'_> {
[INFO] [stdout]     |                                              ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling rsession v0.2.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]    --> src/inner/builder.rs:250:18
[INFO] [stdout]     |
[INFO] [stdout] 250 |     pub fn build(&self, id: String) -> Cookie {
[INFO] [stdout]     |                  ^^^^^                 ------ the lifetime gets resolved as `'_`
[INFO] [stdout]     |                  |
[INFO] [stdout]     |                  this lifetime flows to the output
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]     |
[INFO] [stdout] 250 |     pub fn build(&self, id: String) -> Cookie<'_> {
[INFO] [stdout]     |                                              ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.82s
[INFO] running `Command { std: "docker" "inspect" "7766814ef9579cec2305d0d24b84bf16ee817bcbe7a174c370392f6bd8d47594", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7766814ef9579cec2305d0d24b84bf16ee817bcbe7a174c370392f6bd8d47594", kill_on_drop: false }`
[INFO] [stdout] 7766814ef9579cec2305d0d24b84bf16ee817bcbe7a174c370392f6bd8d47594
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Copt-level=3" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] e3e820ee25e5819a8a2a980389c337507800db42a74001d7406b8042dc3632a8
[INFO] running `Command { std: "docker" "start" "-a" "e3e820ee25e5819a8a2a980389c337507800db42a74001d7406b8042dc3632a8", kill_on_drop: false }`
[INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stderr]    --> src/inner/builder.rs:250:18
[INFO] [stderr]     |
[INFO] [stderr] 250 |     pub fn build(&self, id: String) -> Cookie {
[INFO] [stderr]     |                  ^^^^^                 ------ the lifetime gets resolved as `'_`
[INFO] [stderr]     |                  |
[INFO] [stderr]     |                  this lifetime flows to the output
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stderr]     |
[INFO] [stderr] 250 |     pub fn build(&self, id: String) -> Cookie<'_> {
[INFO] [stderr]     |                                              ++++
[INFO] [stderr] 
[INFO] [stderr] warning: `rsession` (lib) generated 1 warning
[INFO] [stderr] warning: `rsession` (lib test) generated 1 warning (1 duplicate)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.24s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rsession-cc9b66f7af0341d6)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests rsession
[INFO] [stdout] 
[INFO] [stdout] running 7 tests
[INFO] [stdout] test src/lib.rs - (line 189) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 153) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 181) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 46) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 91) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 170) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 121) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 189) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `deadpool_redis`
[INFO] [stdout]  --> src/lib.rs:190:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | let config = deadpool_redis::sentinel::Config::new(
[INFO] [stdout]   |              ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `deadpool_redis`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `deadpool_redis`, use `cargo add deadpool_redis` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use time::format_description::well_known::iso8601::Config;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `Config`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 3 - let config = deadpool_redis::sentinel::Config::new(
[INFO] [stdout] 3 + let config = Config::new(
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `deadpool_redis`
[INFO] [stdout]  --> src/lib.rs:194:36
[INFO] [stdout]   |
[INFO] [stdout] 7 | let pool = config.create_pool(Some(deadpool_redis::Runtime::Tokio1)).unwrap();
[INFO] [stdout]   |                                    ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `deadpool_redis`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `deadpool_redis`, use `cargo add deadpool_redis` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use tokio::runtime::Runtime;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `Runtime`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 7 - let pool = config.create_pool(Some(deadpool_redis::Runtime::Tokio1)).unwrap();
[INFO] [stdout] 7 + let pool = config.create_pool(Some(Runtime::Tokio1)).unwrap();
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RandKey`
[INFO] [stdout]  --> src/lib.rs:195:52
[INFO] [stdout]   |
[INFO] [stdout] 8 | let store = RedisSentinelSessionStorage::new(pool, RandKey::UuidV7);
[INFO] [stdout]   |                                                    ^^^^^^^ use of undeclared type `RandKey`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use rsession::RandKey;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RedisSentinelSessionStorage`
[INFO] [stdout]  --> src/lib.rs:195:13
[INFO] [stdout]   |
[INFO] [stdout] 8 | let store = RedisSentinelSessionStorage::new(pool, RandKey::UuidV7);
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `RedisSentinelSessionStorage`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 153) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RandKey`
[INFO] [stdout]   --> src/lib.rs:163:15
[INFO] [stdout]    |
[INFO] [stdout] 13 |     .rand_key(RandKey::UuidV7) // Session ID generation method
[INFO] [stdout]    |               ^^^^^^^ use of undeclared type `RandKey`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use rsession::RandKey;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RefreshStrategy`
[INFO] [stdout]   --> src/lib.rs:164:23
[INFO] [stdout]    |
[INFO] [stdout] 14 |     .refresh_strategy(RefreshStrategy::PersistentStorage(time::Duration::days(7)));
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^ use of undeclared type `RefreshStrategy`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use rsession::RefreshStrategy;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 181) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `deadpool_redis`
[INFO] [stdout]  --> src/lib.rs:182:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | let config = deadpool_redis::cluster::Config::from_urls(&["redis://node1:6379", "redis://node2:6379"]);
[INFO] [stdout]   |              ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `deadpool_redis`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `deadpool_redis`, use `cargo add deadpool_redis` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use time::format_description::well_known::iso8601::Config;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `Config`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 3 - let config = deadpool_redis::cluster::Config::from_urls(&["redis://node1:6379", "redis://node2:6379"]);
[INFO] [stdout] 3 + let config = Config::from_urls(&["redis://node1:6379", "redis://node2:6379"]);
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `deadpool_redis`
[INFO] [stdout]  --> src/lib.rs:183:36
[INFO] [stdout]   |
[INFO] [stdout] 4 | let pool = config.create_pool(Some(deadpool_redis::Runtime::Tokio1)).unwrap();
[INFO] [stdout]   |                                    ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `deadpool_redis`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `deadpool_redis`, use `cargo add deadpool_redis` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use tokio::runtime::Runtime;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `Runtime`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 4 - let pool = config.create_pool(Some(deadpool_redis::Runtime::Tokio1)).unwrap();
[INFO] [stdout] 4 + let pool = config.create_pool(Some(Runtime::Tokio1)).unwrap();
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RandKey`
[INFO] [stdout]  --> src/lib.rs:184:51
[INFO] [stdout]   |
[INFO] [stdout] 5 | let store = RedisClusterSessionStorage::new(pool, RandKey::UuidV7);
[INFO] [stdout]   |                                                   ^^^^^^^ use of undeclared type `RandKey`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use rsession::RandKey;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RedisClusterSessionStorage`
[INFO] [stdout]  --> src/lib.rs:184:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | let store = RedisClusterSessionStorage::new(pool, RandKey::UuidV7);
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `RedisClusterSessionStorage`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 46) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `rsession::framework::axum`
[INFO] [stdout]  --> src/lib.rs:50:26
[INFO] [stdout]   |
[INFO] [stdout] 6 | use rsession::framework::axum::AxumSessionMiddlewareLayer;
[INFO] [stdout]   |                          ^^^^ could not find `axum` in `framework`
[INFO] [stdout]   |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /opt/rustwide/workdir/src/framework/mod.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub mod axum;
[INFO] [stdout]   |         ^^^^
[INFO] [stdout] note: the item is gated behind the `tower` feature
[INFO] [stdout]  --> /opt/rustwide/workdir/src/framework/mod.rs:4:7
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[cfg(feature = "tower")]
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `axum`
[INFO] [stdout]  --> src/lib.rs:48:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use axum::routing::get;
[INFO] [stdout]   |     ^^^^ use of unresolved module or unlinked crate `axum`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `axum`, use `cargo add axum` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `rsession::redis`
[INFO] [stdout]  --> src/lib.rs:51:15
[INFO] [stdout]   |
[INFO] [stdout] 7 | use rsession::redis::RedisSessionStorage;
[INFO] [stdout]   |               ^^^^^ could not find `redis` in `rsession`
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `axum`
[INFO] [stdout]  --> src/lib.rs:49:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use axum::Router;
[INFO] [stdout]   |     ^^^^ use of unresolved module or unlinked crate `axum`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `axum`, use `cargo add axum` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `deadpool_redis`
[INFO] [stdout]   --> src/lib.rs:58:17
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let redis = deadpool_redis::Config::from_url("redis://localhost:6379")
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `deadpool_redis`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `deadpool_redis`, use `cargo add deadpool_redis` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 4  + use time::format_description::well_known::iso8601::Config;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `Config`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 14 -     let redis = deadpool_redis::Config::from_url("redis://localhost:6379")
[INFO] [stdout] 14 +     let redis = Config::from_url("redis://localhost:6379")
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `deadpool_redis`
[INFO] [stdout]   --> src/lib.rs:59:27
[INFO] [stdout]    |
[INFO] [stdout] 15 |         .create_pool(Some(deadpool_redis::Runtime::Tokio1))
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `deadpool_redis`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `deadpool_redis`, use `cargo add deadpool_redis` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 4  + use tokio::runtime::Runtime;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `Runtime`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 15 -         .create_pool(Some(deadpool_redis::Runtime::Tokio1))
[INFO] [stdout] 15 +         .create_pool(Some(Runtime::Tokio1))
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `axum`
[INFO] [stdout]   --> src/lib.rs:76:5
[INFO] [stdout]    |
[INFO] [stdout] 32 |     axum::serve(listener, app).await.unwrap();
[INFO] [stdout]    |     ^^^^ use of unresolved module or unlinked crate `axum`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `axum`, use `cargo add axum` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 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/lib.rs - (line 91) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `rsession::framework::actix`
[INFO] [stdout]  --> src/lib.rs:94:26
[INFO] [stdout]   |
[INFO] [stdout] 5 | use rsession::framework::actix::ActixSessionMiddleware;
[INFO] [stdout]   |                          ^^^^^ could not find `actix` in `framework`
[INFO] [stdout]   |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /opt/rustwide/workdir/src/framework/mod.rs:2:9
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub mod actix;
[INFO] [stdout]   |         ^^^^^
[INFO] [stdout] note: the item is gated behind the `actix-web` feature
[INFO] [stdout]  --> /opt/rustwide/workdir/src/framework/mod.rs:1:7
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[cfg(feature = "actix-web")]
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `rsession::redis`
[INFO] [stdout]  --> src/lib.rs:95:15
[INFO] [stdout]   |
[INFO] [stdout] 6 | use rsession::redis::RedisSessionStorage;
[INFO] [stdout]   |               ^^^^^ could not find `redis` in `rsession`
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `actix_web`
[INFO] [stdout]  --> src/lib.rs:93:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use actix_web::{App, HttpServer, get};
[INFO] [stdout]   |     ^^^^^^^^^ use of unresolved module or unlinked crate `actix_web`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `actix_web`, use `cargo add actix_web` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `session_builder` in this scope
[INFO] [stdout]   --> src/lib.rs:111:47
[INFO] [stdout]    |
[INFO] [stdout] 22 |             .wrap(ActixSessionMiddleware::new(session_builder, store))
[INFO] [stdout]    |                                               ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `store` in this scope
[INFO] [stdout]   --> src/lib.rs:111:64
[INFO] [stdout]    |
[INFO] [stdout] 22 |             .wrap(ActixSessionMiddleware::new(session_builder, store))
[INFO] [stdout]    |                                                                ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:99:44
[INFO] [stdout]    |
[INFO] [stdout] 10 |   async fn index(session: Session) -> String {
[INFO] [stdout]    |  ____________________________________________^
[INFO] [stdout] ...  |
[INFO] [stdout] 13 | | }
[INFO] [stdout]    | |_^ expected `String`, found `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0432.
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 170) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `deadpool_redis`
[INFO] [stdout]  --> src/lib.rs:172:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | let redis = deadpool_redis::Config::from_url("redis://localhost:6379")
[INFO] [stdout]   |             ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `deadpool_redis`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `deadpool_redis`, use `cargo add deadpool_redis` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use time::format_description::well_known::iso8601::Config;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `Config`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 5 - let redis = deadpool_redis::Config::from_url("redis://localhost:6379")
[INFO] [stdout] 5 + let redis = Config::from_url("redis://localhost:6379")
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `deadpool_redis`
[INFO] [stdout]  --> src/lib.rs:173:23
[INFO] [stdout]   |
[INFO] [stdout] 6 |     .create_pool(Some(deadpool_redis::Runtime::Tokio1))
[INFO] [stdout]   |                       ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `deadpool_redis`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `deadpool_redis`, use `cargo add deadpool_redis` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use tokio::runtime::Runtime;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `Runtime`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 6 -     .create_pool(Some(deadpool_redis::Runtime::Tokio1))
[INFO] [stdout] 6 +     .create_pool(Some(Runtime::Tokio1))
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RandKey`
[INFO] [stdout]  --> src/lib.rs:176:49
[INFO] [stdout]   |
[INFO] [stdout] 9 | let mut store = RedisSessionStorage::new(redis, RandKey::UuidV7);
[INFO] [stdout]   |                                                 ^^^^^^^ use of undeclared type `RandKey`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use rsession::RandKey;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RedisSessionStorage`
[INFO] [stdout]  --> src/lib.rs:176:17
[INFO] [stdout]   |
[INFO] [stdout] 9 | let mut store = RedisSessionStorage::new(redis, RandKey::UuidV7);
[INFO] [stdout]   |                 ^^^^^^^^^^^^^^^^^^^ use of undeclared type `RedisSessionStorage`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 121) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `rsession::framework::salvo`
[INFO] [stdout]  --> src/lib.rs:124:26
[INFO] [stdout]   |
[INFO] [stdout] 5 | use rsession::framework::salvo::{SalvoSessionMiddleware, SessionDepotExt};
[INFO] [stdout]   |                          ^^^^^ could not find `salvo` in `framework`
[INFO] [stdout]   |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /opt/rustwide/workdir/src/framework/mod.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub mod salvo;
[INFO] [stdout]   |         ^^^^^
[INFO] [stdout] note: the item is gated behind the `salvo` feature
[INFO] [stdout]  --> /opt/rustwide/workdir/src/framework/mod.rs:7:7
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[cfg(feature = "salvo")]
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `salvo`
[INFO] [stdout]  --> src/lib.rs:123:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use salvo::prelude::*;
[INFO] [stdout]   |     ^^^^^ use of unresolved module or unlinked crate `salvo`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `salvo`, use `cargo add salvo` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `rsession::redis`
[INFO] [stdout]  --> src/lib.rs:125:15
[INFO] [stdout]   |
[INFO] [stdout] 6 | use rsession::redis::RedisSessionStorage;
[INFO] [stdout]   |               ^^^^^ could not find `redis` in `rsession`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `handler` in this scope
[INFO] [stdout]  --> src/lib.rs:128:3
[INFO] [stdout]   |
[INFO] [stdout] 9 | #[handler]
[INFO] [stdout]   |   ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Depot` in this scope
[INFO] [stdout]   --> src/lib.rs:129:28
[INFO] [stdout]    |
[INFO] [stdout] 10 | async fn index(depot: &mut Depot) -> String {
[INFO] [stdout]    |                            ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `session_builder` in this scope
[INFO] [stdout]   --> src/lib.rs:141:43
[INFO] [stdout]    |
[INFO] [stdout] 22 |         .hoop(SalvoSessionMiddleware::new(session_builder, store))
[INFO] [stdout]    |                                           ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `store` in this scope
[INFO] [stdout]   --> src/lib.rs:141:60
[INFO] [stdout]    |
[INFO] [stdout] 22 |         .hoop(SalvoSessionMiddleware::new(session_builder, store))
[INFO] [stdout]    |                                                            ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TcpListener`
[INFO] [stdout]   --> src/lib.rs:144:17
[INFO] [stdout]    |
[INFO] [stdout] 25 |     Server::new(TcpListener::bind("0.0.0.0:8080").bind().await)
[INFO] [stdout]    |                 ^^^^^^^^^^^ use of undeclared type `TcpListener`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout] 4  + use std::net::TcpListener;
[INFO] [stdout]    |
[INFO] [stdout] 4  + use tokio::net::TcpListener;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:129:45
[INFO] [stdout]    |
[INFO] [stdout] 10 |   async fn index(depot: &mut Depot) -> String {
[INFO] [stdout]    |  _____________________________________________^
[INFO] [stdout] 11 | |     let session = depot.inner_session().unwrap();
[INFO] [stdout] ...  |
[INFO] [stdout] 14 | | }
[INFO] [stdout]    | |_^ expected `String`, found `()`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Router`
[INFO] [stdout]   --> src/lib.rs:140:18
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let router = Router::new()
[INFO] [stdout]    |                  ^^^^^^ use of undeclared type `Router`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Server`
[INFO] [stdout]   --> src/lib.rs:144:5
[INFO] [stdout]    |
[INFO] [stdout] 25 |     Server::new(TcpListener::bind("0.0.0.0:8080").bind().await)
[INFO] [stdout]    |     ^^^^^^ use of undeclared type `Server`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 11 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0412, E0425, E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - (line 121)
[INFO] [stdout]     src/lib.rs - (line 153)
[INFO] [stdout]     src/lib.rs - (line 170)
[INFO] [stdout]     src/lib.rs - (line 181)
[INFO] [stdout]     src/lib.rs - (line 189)
[INFO] [stdout]     src/lib.rs - (line 46)
[INFO] [stdout]     src/lib.rs - (line 91)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 7 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.41s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "e3e820ee25e5819a8a2a980389c337507800db42a74001d7406b8042dc3632a8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e3e820ee25e5819a8a2a980389c337507800db42a74001d7406b8042dc3632a8", kill_on_drop: false }`
[INFO] [stdout] e3e820ee25e5819a8a2a980389c337507800db42a74001d7406b8042dc3632a8
