[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.75.0 for beta-1.76-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Freloginn%2Fcryo-sessions" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/reloginn/cryo-sessions on toolchain 1.75.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.75.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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-5-tc1/source/Cargo.toml
[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.75.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9b7f5353673b124b329f9c75216d402411fd7bd412863f1d74960f5534893683
[INFO] running `Command { std: "docker" "start" "-a" "9b7f5353673b124b329f9c75216d402411fd7bd412863f1d74960f5534893683", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9b7f5353673b124b329f9c75216d402411fd7bd412863f1d74960f5534893683", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9b7f5353673b124b329f9c75216d402411fd7bd412863f1d74960f5534893683", kill_on_drop: false }`
[INFO] [stdout] 9b7f5353673b124b329f9c75216d402411fd7bd412863f1d74960f5534893683
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d5eab27f63b4ec2fee74f67b28c5974c8502d2fd34e3e44f3e3b52edf11c371e
[INFO] running `Command { std: "docker" "start" "-a" "d5eab27f63b4ec2fee74f67b28c5974c8502d2fd34e3e44f3e3b52edf11c371e", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.147
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling pin-project-lite v0.2.13
[INFO] [stderr]    Compiling once_cell v1.18.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.8
[INFO] [stderr]    Compiling futures-core v0.3.28
[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 scopeguard v1.2.0
[INFO] [stderr]    Compiling tinyvec_macros v0.1.1
[INFO] [stderr]    Compiling tracing-core v0.1.31
[INFO] [stderr]    Compiling tinyvec v1.6.0
[INFO] [stderr]    Compiling futures-task v0.3.28
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling bytes v1.5.0
[INFO] [stderr]    Compiling lock_api v0.4.10
[INFO] [stderr]    Compiling futures-sink v0.3.28
[INFO] [stderr]    Compiling tracing v0.1.37
[INFO] [stderr]    Compiling unicode-normalization v0.1.22
[INFO] [stderr]    Compiling ahash v0.7.6
[INFO] [stderr]    Compiling quote v1.0.33
[INFO] [stderr]    Compiling futures-util v0.3.28
[INFO] [stderr]    Compiling percent-encoding v2.3.0
[INFO] [stderr]    Compiling async-trait v0.1.73
[INFO] [stderr]    Compiling unicode-bidi v0.3.13
[INFO] [stderr]    Compiling form_urlencoded v1.2.0
[INFO] [stderr]    Compiling syn v2.0.31
[INFO] [stderr]    Compiling getrandom v0.2.10
[INFO] [stderr]    Compiling socket2 v0.5.3
[INFO] [stderr]    Compiling mio v0.8.8
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling idna v0.4.0
[INFO] [stderr]    Compiling memchr v2.6.3
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling scheduled-thread-pool v0.2.7
[INFO] [stderr]    Compiling tokio v1.32.0
[INFO] [stderr]    Compiling log v0.4.20
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling ppv-lite86 v0.2.17
[INFO] [stderr]    Compiling url v2.4.1
[INFO] [stderr]    Compiling r2d2 v0.8.10
[INFO] [stderr]    Compiling socket2 v0.4.9
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling ryu v1.0.15
[INFO] [stderr]    Compiling sha1_smol v1.0.0
[INFO] [stderr]    Compiling itoa v1.0.9
[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] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 28.50s
[INFO] running `Command { std: "docker" "inspect" "d5eab27f63b4ec2fee74f67b28c5974c8502d2fd34e3e44f3e3b52edf11c371e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d5eab27f63b4ec2fee74f67b28c5974c8502d2fd34e3e44f3e3b52edf11c371e", kill_on_drop: false }`
[INFO] [stdout] d5eab27f63b4ec2fee74f67b28c5974c8502d2fd34e3e44f3e3b52edf11c371e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 624904abdd71d78eda7de809c6c84c36981084b8377ffef7ec5b101f710be2c9
[INFO] running `Command { std: "docker" "start" "-a" "624904abdd71d78eda7de809c6c84c36981084b8377ffef7ec5b101f710be2c9", kill_on_drop: false }`
[INFO] [stderr]    Compiling cryo-sessions v0.0.4 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.48s
[INFO] running `Command { std: "docker" "inspect" "624904abdd71d78eda7de809c6c84c36981084b8377ffef7ec5b101f710be2c9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "624904abdd71d78eda7de809c6c84c36981084b8377ffef7ec5b101f710be2c9", kill_on_drop: false }`
[INFO] [stdout] 624904abdd71d78eda7de809c6c84c36981084b8377ffef7ec5b101f710be2c9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] f4e928c96147e01e9f653fbeaab8f41b1e262b928adefc58296d8109702f749d
[INFO] running `Command { std: "docker" "start" "-a" "f4e928c96147e01e9f653fbeaab8f41b1e262b928adefc58296d8109702f749d", kill_on_drop: false }`
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.05s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/cryo_sessions-1bb4e41238152512)
[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/lib.rs - (line 5) ... FAILED
[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] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 5) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Uuid`
[INFO] [stdout]  --> src/lib.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | let uuid = Uuid::new();
[INFO] [stdout]   |            ^^^^ use of undeclared type `Uuid`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use cryo_sessions::Uuid;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Redis`
[INFO] [stdout]  --> src/lib.rs:7:13
[INFO] [stdout]   |
[INFO] [stdout] 4 | 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] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use cryo_sessions::Redis;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session`
[INFO] [stdout]  --> src/lib.rs:8:15
[INFO] [stdout]   |
[INFO] [stdout] 5 | let session = Session::new();
[INFO] [stdout]   |               ^^^^^^^ use of undeclared type `Session`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use cryo_sessions::Session;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SessionInfo`
[INFO] [stdout]  --> src/lib.rs:9:36
[INFO] [stdout]   |
[INFO] [stdout] 6 | 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] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use cryo_sessions::SessionInfo;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration`
[INFO] [stdout]  --> src/lib.rs:9:91
[INFO] [stdout]   |
[INFO] [stdout] 6 | 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 one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 + use core::time::Duration;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::time::Duration;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SessionInfo`
[INFO] [stdout]  --> src/lib.rs:10:36
[INFO] [stdout]   |
[INFO] [stdout] 7 | 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] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use cryo_sessions::SessionInfo;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration`
[INFO] [stdout]  --> src/lib.rs:10:91
[INFO] [stdout]   |
[INFO] [stdout] 7 | 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 one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 + use core::time::Duration;
[INFO] [stdout]   |
[INFO] [stdout] 2 + 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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_5_0() {
[INFO] [stdout]   |                                         ---------------------------- this is not `async`
[INFO] [stdout] 3 | let uuid = Uuid::new();
[INFO] [stdout] 4 | 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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_5_0() {
[INFO] [stdout]   |                                         ---------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 6 | 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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_5_0() {
[INFO] [stdout]   |                                         ---------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 7 | 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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_5_0() {
[INFO] [stdout]   |                                         ---------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 8 | let info = redis.get_information_by_session(session).await.unwrap();
[INFO] [stdout]   |                                                      ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/lib.rs:7:36
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_5_0() {
[INFO] [stdout]   |                                      --------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] 3 | let uuid = Uuid::new();
[INFO] [stdout] 4 | let redis = Redis::from_env().await?; // this method takes the redis url from the REDIS_URL environment variable
[INFO] [stdout]   |                                    ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/lib.rs:9:123
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_5_0() {
[INFO] [stdout]   |                                      --------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 6 | redis.new_session(session.clone(), SessionInfo::new(uuid.clone(), "Mozilla(5.0)".into()), Duration::from_secs(2400)).await?;
[INFO] [stdout]   |                                                                                                                           ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/lib.rs:10:123
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_5_0() {
[INFO] [stdout]   |                                      --------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 7 | redis.new_session(session.clone(), SessionInfo::new(uuid.clone(), "Apple Safari".into()), Duration::from_secs(3400)).await?;
[INFO] [stdout]   |                                                                                                                           ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 14 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/redis.rs - redis::Redis::get_information_by_session (line 43) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Redis`
[INFO] [stdout]  --> src/redis.rs:44:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | let redis = Redis::from_env().await?;
[INFO] [stdout]   |             ^^^^^ use of undeclared type `Redis`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use cryo_sessions::Redis;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session`
[INFO] [stdout]  --> src/redis.rs:45:45
[INFO] [stdout]   |
[INFO] [stdout] 4 | 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] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use cryo_sessions::Session;
[INFO] [stdout]   |
[INFO] [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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_redis_rs_43_0() {
[INFO] [stdout]   |                                         ------------------------------- this is not `async`
[INFO] [stdout] 3 | 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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_redis_rs_43_0() {
[INFO] [stdout]   |                                         ------------------------------- this is not `async`
[INFO] [stdout] 3 | let redis = Redis::from_env().await?;
[INFO] [stdout] 4 | 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[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/redis.rs:44:36
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_redis_rs_43_0() {
[INFO] [stdout]   |                                      ------------------------------------ this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] 3 | let redis = Redis::from_env().await?;
[INFO] [stdout]   |                                    ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/redis.rs:45:93
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_redis_rs_43_0() {
[INFO] [stdout]   |                                      ------------------------------------ this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] 3 | let redis = Redis::from_env().await?;
[INFO] [stdout] 4 | let info = redis.get_information_by_session(Session::from("put into this session id")).await?;
[INFO] [stdout]   |                                                                                             ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/redis.rs - redis::Redis::new_session (line 25) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Redis`
[INFO] [stdout]  --> src/redis.rs:26:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | let redis = Redis::from_env().await?;
[INFO] [stdout]   |             ^^^^^ use of undeclared type `Redis`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use cryo_sessions::Redis;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session`
[INFO] [stdout]  --> src/redis.rs:27:19
[INFO] [stdout]   |
[INFO] [stdout] 4 | redis.new_session(Session::new(), SessionInfo::new(Uuid::new(), "Mozilla(5.0)".into()), Duration::from_secs(3400)).await.is_ok(); // Dura...
[INFO] [stdout]   |                   ^^^^^^^ use of undeclared type `Session`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use cryo_sessions::Session;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SessionInfo`
[INFO] [stdout]  --> src/redis.rs:27:35
[INFO] [stdout]   |
[INFO] [stdout] 4 | redis.new_session(Session::new(), SessionInfo::new(Uuid::new(), "Mozilla(5.0)".into()), Duration::from_secs(3400)).await.is_ok(); // Dura...
[INFO] [stdout]   |                                   ^^^^^^^^^^^ use of undeclared type `SessionInfo`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use cryo_sessions::SessionInfo;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Uuid`
[INFO] [stdout]  --> src/redis.rs:27:52
[INFO] [stdout]   |
[INFO] [stdout] 4 | redis.new_session(Session::new(), SessionInfo::new(Uuid::new(), "Mozilla(5.0)".into()), Duration::from_secs(3400)).await.is_ok(); // Dura...
[INFO] [stdout]   |                                                    ^^^^ use of undeclared type `Uuid`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use cryo_sessions::Uuid;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration`
[INFO] [stdout]  --> src/redis.rs:27:89
[INFO] [stdout]   |
[INFO] [stdout] 4 | redis.new_session(Session::new(), SessionInfo::new(Uuid::new(), "Mozilla(5.0)".into()), Duration::from_secs(3400)).await.is_ok(); // Dura...
[INFO] [stdout]   |                                                                                         ^^^^^^^^ use of undeclared type `Duration`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 + use core::time::Duration;
[INFO] [stdout]   |
[INFO] [stdout] 2 + 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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_redis_rs_25_0() {
[INFO] [stdout]   |                                         ------------------------------- this is not `async`
[INFO] [stdout] 3 | 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] 2 | ...(non_snake_case)] fn _doctest_main_src_redis_rs_25_0() {
[INFO] [stdout]   |                         ------------------------------- this is not `async`
[INFO] [stdout] 3 | ...from_env().await?;
[INFO] [stdout] 4 | ...ession::new(), SessionInfo::new(Uuid::new(), "Mozilla(5.0)".into()), Duration::from_secs(3400)).await.is_ok(); // Duration indicates h...
[INFO] [stdout]   |                                                                                                    ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/redis.rs:26:36
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_redis_rs_25_0() {
[INFO] [stdout]   |                                      ------------------------------------ this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] 3 | let redis = Redis::from_env().await?;
[INFO] [stdout]   |                                    ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[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.18s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "f4e928c96147e01e9f653fbeaab8f41b1e262b928adefc58296d8109702f749d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f4e928c96147e01e9f653fbeaab8f41b1e262b928adefc58296d8109702f749d", kill_on_drop: false }`
[INFO] [stdout] f4e928c96147e01e9f653fbeaab8f41b1e262b928adefc58296d8109702f749d
