[INFO] cloning repository https://github.com/reloginn/cryo-sessions
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/reloginn/cryo-sessions" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Freloginn%2Fcryo-sessions", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Freloginn%2Fcryo-sessions'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 0f29b72617d37c4b4bbca6a4017563fe6b09df07
[INFO] testing reloginn/cryo-sessions against 1.97.0-beta.6 for beta-1.98-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Freloginn%2Fcryo-sessions" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/reloginn/cryo-sessions
[INFO] finished tweaking git repo https://github.com/reloginn/cryo-sessions
[INFO] tweaked toml for git repo https://github.com/reloginn/cryo-sessions written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/reloginn/cryo-sessions on toolchain 1.97.0-beta.6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.97.0-beta.6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/reloginn/cryo-sessions 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" "+1.97.0-beta.6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded unicode-bidi v0.3.13
[INFO] [stderr]   Downloaded form_urlencoded v1.2.0
[INFO] [stderr]   Downloaded url v2.4.1
[INFO] [stderr]   Downloaded percent-encoding v2.3.0
[INFO] [stderr]   Downloaded sha1_smol v1.0.0
[INFO] [stderr]   Downloaded futures-task v0.3.28
[INFO] [stderr]   Downloaded futures-sink v0.3.28
[INFO] [stderr]   Downloaded futures-core v0.3.28
[INFO] [stderr]   Downloaded scheduled-thread-pool v0.2.7
[INFO] [stderr]   Downloaded lock_api v0.4.10
[INFO] [stderr]   Downloaded async-trait v0.1.73
[INFO] [stderr]   Downloaded r2d2 v0.8.10
[INFO] [stderr]   Downloaded parking_lot_core v0.9.8
[INFO] [stderr]   Downloaded ryu v1.0.15
[INFO] [stderr]   Downloaded once_cell v1.18.0
[INFO] [stderr]   Downloaded smallvec v1.11.0
[INFO] [stderr]   Downloaded unicode-ident v1.0.11
[INFO] [stderr]   Downloaded proc-macro2 v1.0.66
[INFO] [stderr]   Downloaded getrandom v0.2.10
[INFO] [stderr]   Downloaded socket2 v0.4.9
[INFO] [stderr]   Downloaded tracing-core v0.1.31
[INFO] [stderr]   Downloaded socket2 v0.5.3
[INFO] [stderr]   Downloaded tracing v0.1.37
[INFO] [stderr]   Downloaded mio v0.8.8
[INFO] [stderr]   Downloaded redis v0.23.3
[INFO] [stderr]   Downloaded memchr v2.6.3
[INFO] [stderr]   Downloaded tokio-util v0.7.8
[INFO] [stderr]   Downloaded futures-util v0.3.28
[INFO] [stderr]   Downloaded syn v2.0.31
[INFO] [stderr]   Downloaded gimli v0.28.0
[INFO] [stderr]   Downloaded tokio v1.32.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 304fa59b5bb2f2939ed225c25e05129c672865bb73467d9f128000e82d8f57c8
[INFO] running `Command { std: "docker" "start" "304fa59b5bb2f2939ed225c25e05129c672865bb73467d9f128000e82d8f57c8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "304fa59b5bb2f2939ed225c25e05129c672865bb73467d9f128000e82d8f57c8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "304fa59b5bb2f2939ed225c25e05129c672865bb73467d9f128000e82d8f57c8" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "304fa59b5bb2f2939ed225c25e05129c672865bb73467d9f128000e82d8f57c8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "304fa59b5bb2f2939ed225c25e05129c672865bb73467d9f128000e82d8f57c8" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.147
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.8
[INFO] [stderr]    Compiling pin-project-lite v0.2.13
[INFO] [stderr]    Compiling futures-core v0.3.28
[INFO] [stderr]    Compiling once_cell v1.18.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.66
[INFO] [stderr]    Compiling unicode-ident v1.0.11
[INFO] [stderr]    Compiling smallvec v1.11.0
[INFO] [stderr]    Compiling futures-task v0.3.28
[INFO] [stderr]    Compiling futures-sink v0.3.28
[INFO] [stderr]    Compiling ahash v0.7.6
[INFO] [stderr]    Compiling unicode-normalization v0.1.22
[INFO] [stderr]    Compiling percent-encoding v2.3.0
[INFO] [stderr]    Compiling futures-util v0.3.28
[INFO] [stderr]    Compiling async-trait v0.1.73
[INFO] [stderr]    Compiling tracing-core v0.1.31
[INFO] [stderr]    Compiling unicode-bidi v0.3.13
[INFO] [stderr]    Compiling form_urlencoded v1.2.0
[INFO] [stderr]    Compiling lock_api v0.4.10
[INFO] [stderr]    Compiling memchr v2.6.3
[INFO] [stderr]    Compiling log v0.4.20
[INFO] [stderr]    Compiling idna v0.4.0
[INFO] [stderr]    Compiling tracing v0.1.37
[INFO] [stderr]    Compiling getrandom v0.2.10
[INFO] [stderr]    Compiling mio v0.8.8
[INFO] [stderr]    Compiling socket2 v0.5.3
[INFO] [stderr]    Compiling quote v1.0.33
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling syn v2.0.31
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling tokio v1.32.0
[INFO] [stderr]    Compiling scheduled-thread-pool v0.2.7
[INFO] [stderr]    Compiling url v2.4.1
[INFO] [stderr]    Compiling r2d2 v0.8.10
[INFO] [stderr]    Compiling socket2 v0.4.9
[INFO] [stderr]    Compiling ryu v1.0.15
[INFO] [stderr]    Compiling sha1_smol v1.0.0
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling tokio-util v0.7.8
[INFO] [stderr]    Compiling combine v4.6.6
[INFO] [stderr]    Compiling redis v0.23.3
[INFO] [stderr]    Compiling cryo-sessions v0.0.4 (/opt/rustwide/workdir)
[INFO] [stdout] warning: this function depends on never type fallback being `()`
[INFO] [stdout]   --> src/redis.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 29 |     pub async fn new_session(&mut self, session: Session, session_info: SessionInfo, duration: Duration) -> RedisResult<()> {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: specify the types explicitly
[INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail
[INFO] [stdout]   --> src/redis.rs:36:14
[INFO] [stdout]    |
[INFO] [stdout] 36 |             .query_async(&mut self.connection)
[INFO] [stdout]    |              ^^^^^^^^^^^
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/never-type-fallback.html>
[INFO] [stdout]    = note: `#[warn(dependency_on_unit_never_type_fallback)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: use `()` annotations to avoid fallback changes
[INFO] [stdout]    |
[INFO] [stdout] 36 |             .query_async::<_, ()>(&mut self.connection)
[INFO] [stdout]    |                         +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 37.26s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: cryo-sessions v0.0.4 (/opt/rustwide/workdir), redis v0.23.3
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] running `Command { std: "docker" "inspect" "304fa59b5bb2f2939ed225c25e05129c672865bb73467d9f128000e82d8f57c8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "304fa59b5bb2f2939ed225c25e05129c672865bb73467d9f128000e82d8f57c8" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] warning: this function depends on never type fallback being `()`
[INFO] [stdout]   --> src/redis.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 29 |     pub async fn new_session(&mut self, session: Session, session_info: SessionInfo, duration: Duration) -> RedisResult<()> {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: specify the types explicitly
[INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail
[INFO] [stdout]   --> src/redis.rs:36:14
[INFO] [stdout]    |
[INFO] [stdout] 36 |             .query_async(&mut self.connection)
[INFO] [stdout]    |              ^^^^^^^^^^^
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/never-type-fallback.html>
[INFO] [stdout]    = note: `#[warn(dependency_on_unit_never_type_fallback)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: use `()` annotations to avoid fallback changes
[INFO] [stdout]    |
[INFO] [stdout] 36 |             .query_async::<_, ()>(&mut self.connection)
[INFO] [stdout]    |                         +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling cryo-sessions v0.0.4 (/opt/rustwide/workdir)
[INFO] [stdout] warning: this function depends on never type fallback being `()`
[INFO] [stdout]   --> src/redis.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 29 |     pub async fn new_session(&mut self, session: Session, session_info: SessionInfo, duration: Duration) -> RedisResult<()> {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: specify the types explicitly
[INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail
[INFO] [stdout]   --> src/redis.rs:36:14
[INFO] [stdout]    |
[INFO] [stdout] 36 |             .query_async(&mut self.connection)
[INFO] [stdout]    |              ^^^^^^^^^^^
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/never-type-fallback.html>
[INFO] [stdout]    = note: `#[warn(dependency_on_unit_never_type_fallback)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: use `()` annotations to avoid fallback changes
[INFO] [stdout]    |
[INFO] [stdout] 36 |             .query_async::<_, ()>(&mut self.connection)
[INFO] [stdout]    |                         +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.63s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: cryo-sessions v0.0.4 (/opt/rustwide/workdir), redis v0.23.3
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3`
[INFO] running `Command { std: "docker" "inspect" "304fa59b5bb2f2939ed225c25e05129c672865bb73467d9f128000e82d8f57c8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "304fa59b5bb2f2939ed225c25e05129c672865bb73467d9f128000e82d8f57c8" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "test" "--frozen", kill_on_drop: false }`
[INFO] [stderr] warning: this function depends on never type fallback being `()`
[INFO] [stderr]   --> src/redis.rs:29:5
[INFO] [stderr]    |
[INFO] [stderr] 29 |     pub async fn new_session(&mut self, session: Session, session_info: SessionInfo, duration: Duration) -> RedisResult<()> {
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = help: specify the types explicitly
[INFO] [stderr] note: in edition 2024, the requirement `!: FromRedisValue` will fail
[INFO] [stderr]   --> src/redis.rs:36:14
[INFO] [stderr]    |
[INFO] [stderr] 36 |             .query_async(&mut self.connection)
[INFO] [stderr]    |              ^^^^^^^^^^^
[INFO] [stderr]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions!
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/never-type-fallback.html>
[INFO] [stderr]    = note: `#[warn(dependency_on_unit_never_type_fallback)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stderr] help: use `()` annotations to avoid fallback changes
[INFO] [stderr]    |
[INFO] [stderr] 36 |             .query_async::<_, ()>(&mut self.connection)
[INFO] [stderr]    |                         +++++++++
[INFO] [stderr] 
[INFO] [stderr] warning: `cryo-sessions` (lib) generated 1 warning (run `cargo fix --lib -p cryo-sessions` to apply 1 suggestion)
[INFO] [stderr] warning: `cryo-sessions` (lib test) generated 1 warning (1 duplicate)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: cryo-sessions v0.0.4 (/opt/rustwide/workdir), redis v0.23.3
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3`
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/cryo_sessions-b5e9d07400a6c562)
[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 cryo_sessions
[INFO] [stdout] 
[INFO] [stdout] running 3 tests
[INFO] [stdout] test src/redis.rs - redis::Redis::get_information_by_session (line 43) ... FAILED
[INFO] [stdout] test src/redis.rs - redis::Redis::new_session (line 25) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 5) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/redis.rs - redis::Redis::get_information_by_session (line 43) stdout ----
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/redis.rs:44:31
[INFO] [stdout]    |
[INFO] [stdout] 43 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_redis_rs_43_0() {
[INFO] [stdout]    |                                      ------------------------------------ this is not `async`
[INFO] [stdout] 44 | let redis = Redis::from_env().await?;
[INFO] [stdout]    |                               ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/redis.rs:45:88
[INFO] [stdout]    |
[INFO] [stdout] 43 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_redis_rs_43_0() {
[INFO] [stdout]    |                                      ------------------------------------ this is not `async`
[INFO] [stdout] 44 | let redis = Redis::from_env().await?;
[INFO] [stdout] 45 | let info = redis.get_information_by_session(Session::from("put into this session id")).await?;
[INFO] [stdout]    |                                                                                        ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Redis` in this scope
[INFO] [stdout]   --> src/redis.rs:44:13
[INFO] [stdout]    |
[INFO] [stdout] 44 | let redis = Redis::from_env().await?;
[INFO] [stdout]    |             ^^^^^ use of undeclared type `Redis`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Session` in this scope
[INFO] [stdout]   --> src/redis.rs:45:45
[INFO] [stdout]    |
[INFO] [stdout] 45 | let info = redis.get_information_by_session(Session::from("put into this session id")).await?;
[INFO] [stdout]    |                                             ^^^^^^^ use of undeclared type `Session`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/redis.rs - redis::Redis::new_session (line 25) stdout ----
[INFO] [stdout] error[E0433]: cannot find type `Duration` in this scope
[INFO] [stdout]   --> src/redis.rs:27:89
[INFO] [stdout]    |
[INFO] [stdout] 27 | redis.new_session(Session::new(), SessionInfo::new(Uuid::new(), "Mozilla(5.0)".into()), Duration::from_secs(3400)).await.is_ok();
[INFO] [stdout]    |                                                                                         ^^^^^^^^ use of undeclared type `Duration`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 25 + use std::time::Duration;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/redis.rs:26:31
[INFO] [stdout]    |
[INFO] [stdout] 25 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_redis_rs_25_0() {
[INFO] [stdout]    |                                      ------------------------------------ this is not `async`
[INFO] [stdout] 26 | let redis = Redis::from_env().await?;
[INFO] [stdout]    |                               ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/redis.rs:27:116
[INFO] [stdout]    |
[INFO] [stdout] 25 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_redis_rs_25_0() {
[INFO] [stdout]    |                                      ------------------------------------ this is not `async`
[INFO] [stdout] 26 | let redis = Redis::from_env().await?;
[INFO] [stdout] 27 | redis.new_session(Session::new(), SessionInfo::new(Uuid::new(), "Mozilla(5.0)".into()), Duration::from_secs(3400)).await.is_ok();
[INFO] [stdout]    |                                                                                                                    ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Redis` in this scope
[INFO] [stdout]   --> src/redis.rs:26:13
[INFO] [stdout]    |
[INFO] [stdout] 26 | let redis = Redis::from_env().await?;
[INFO] [stdout]    |             ^^^^^ use of undeclared type `Redis`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Session` in this scope
[INFO] [stdout]   --> src/redis.rs:27:19
[INFO] [stdout]    |
[INFO] [stdout] 27 | redis.new_session(Session::new(), SessionInfo::new(Uuid::new(), "Mozilla(5.0)".into()), Duration::from_secs(3400)).await.is_ok();
[INFO] [stdout]    |                   ^^^^^^^ use of undeclared type `Session`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `SessionInfo` in this scope
[INFO] [stdout]   --> src/redis.rs:27:35
[INFO] [stdout]    |
[INFO] [stdout] 27 | redis.new_session(Session::new(), SessionInfo::new(Uuid::new(), "Mozilla(5.0)".into()), Duration::from_secs(3400)).await.is_ok();
[INFO] [stdout]    |                                   ^^^^^^^^^^^ use of undeclared type `SessionInfo`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Uuid` in this scope
[INFO] [stdout]   --> src/redis.rs:27:52
[INFO] [stdout]    |
[INFO] [stdout] 27 | redis.new_session(Session::new(), SessionInfo::new(Uuid::new(), "Mozilla(5.0)".into()), Duration::from_secs(3400)).await.is_ok();
[INFO] [stdout]    |                                                    ^^^^ use of undeclared type `Uuid`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 5) stdout ----
[INFO] [stdout] error[E0433]: cannot find type `Duration` in this scope
[INFO] [stdout]  --> src/lib.rs:9:91
[INFO] [stdout]   |
[INFO] [stdout] 9 | redis.new_session(session.clone(), SessionInfo::new(uuid.clone(), "Mozilla(5.0)".into()), Duration::from_secs(2400)).await?;
[INFO] [stdout]   |                                                                                           ^^^^^^^^ use of undeclared type `Duration`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 5 + use std::time::Duration;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Duration` in this scope
[INFO] [stdout]   --> src/lib.rs:10:91
[INFO] [stdout]    |
[INFO] [stdout] 10 | redis.new_session(session.clone(), SessionInfo::new(uuid.clone(), "Apple Safari".into()), Duration::from_secs(3400)).await?;
[INFO] [stdout]    |                                                                                           ^^^^^^^^ use of undeclared type `Duration`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  5 + use std::time::Duration;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/lib.rs:7:31
[INFO] [stdout]   |
[INFO] [stdout] 5 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_5_0() {
[INFO] [stdout]   |                                      --------------------------------- this is not `async`
[INFO] [stdout] 6 | let uuid = Uuid::new();
[INFO] [stdout] 7 | let redis = Redis::from_env().await?; // this method takes the redis url from the REDIS_URL environment variable
[INFO] [stdout]   |                               ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/lib.rs:9:118
[INFO] [stdout]   |
[INFO] [stdout] 5 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_5_0() {
[INFO] [stdout]   |                                      --------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 9 | redis.new_session(session.clone(), SessionInfo::new(uuid.clone(), "Mozilla(5.0)".into()), Duration::from_secs(2400)).await?;
[INFO] [stdout]   |                                                                                                                      ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/lib.rs:10:118
[INFO] [stdout]    |
[INFO] [stdout]  5 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_5_0() {
[INFO] [stdout]    |                                      --------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 10 | redis.new_session(session.clone(), SessionInfo::new(uuid.clone(), "Apple Safari".into()), Duration::from_secs(3400)).await?;
[INFO] [stdout]    |                                                                                                                      ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/lib.rs:11:54
[INFO] [stdout]    |
[INFO] [stdout]  5 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_5_0() {
[INFO] [stdout]    |                                      --------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 11 | let info = redis.get_information_by_session(session).await.unwrap();
[INFO] [stdout]    |                                                      ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Uuid` in this scope
[INFO] [stdout]  --> src/lib.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | let uuid = Uuid::new();
[INFO] [stdout]   |            ^^^^ use of undeclared type `Uuid`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Redis` in this scope
[INFO] [stdout]  --> src/lib.rs:7:13
[INFO] [stdout]   |
[INFO] [stdout] 7 | let redis = Redis::from_env().await?; // this method takes the redis url from the REDIS_URL environment variable
[INFO] [stdout]   |             ^^^^^ use of undeclared type `Redis`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Session` in this scope
[INFO] [stdout]  --> src/lib.rs:8:15
[INFO] [stdout]   |
[INFO] [stdout] 8 | let session = Session::new();
[INFO] [stdout]   |               ^^^^^^^ use of undeclared type `Session`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `SessionInfo` in this scope
[INFO] [stdout]  --> src/lib.rs:9:36
[INFO] [stdout]   |
[INFO] [stdout] 9 | redis.new_session(session.clone(), SessionInfo::new(uuid.clone(), "Mozilla(5.0)".into()), Duration::from_secs(2400)).await?;
[INFO] [stdout]   |                                    ^^^^^^^^^^^ use of undeclared type `SessionInfo`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `SessionInfo` in this scope
[INFO] [stdout]   --> src/lib.rs:10:36
[INFO] [stdout]    |
[INFO] [stdout] 10 | redis.new_session(session.clone(), SessionInfo::new(uuid.clone(), "Apple Safari".into()), Duration::from_secs(3400)).await?;
[INFO] [stdout]    |                                    ^^^^^^^^^^^ use of undeclared type `SessionInfo`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 11 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - (line 5)
[INFO] [stdout]     src/redis.rs - redis::Redis::get_information_by_session (line 43)
[INFO] [stdout]     src/redis.rs - redis::Redis::new_session (line 25)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.33s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "304fa59b5bb2f2939ed225c25e05129c672865bb73467d9f128000e82d8f57c8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "304fa59b5bb2f2939ed225c25e05129c672865bb73467d9f128000e82d8f57c8", kill_on_drop: false }`
[INFO] [stdout] 304fa59b5bb2f2939ed225c25e05129c672865bb73467d9f128000e82d8f57c8
