[INFO] fetching crate cryo-sessions 0.0.4...
[INFO] testing cryo-sessions-0.0.4 against 1.76.0 for beta-1.77-1
[INFO] extracting crate cryo-sessions 0.0.4 into /workspace/builds/worker-5-tc1/source
[INFO] validating manifest of crates.io crate cryo-sessions 0.0.4 on toolchain 1.76.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.76.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate cryo-sessions 0.0.4
[INFO] finished tweaking crates.io crate cryo-sessions 0.0.4
[INFO] tweaked toml for crates.io crate cryo-sessions 0.0.4 written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.76.0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.76.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded scheduled-thread-pool v0.2.7
[INFO] [stderr]   Downloaded redis v0.23.3
[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.76.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c76c7697d9ba2948ae2df7bc8590a82f652bc8dd5c33ec60ae0c71445784a3ce
[INFO] running `Command { std: "docker" "start" "-a" "c76c7697d9ba2948ae2df7bc8590a82f652bc8dd5c33ec60ae0c71445784a3ce", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c76c7697d9ba2948ae2df7bc8590a82f652bc8dd5c33ec60ae0c71445784a3ce", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c76c7697d9ba2948ae2df7bc8590a82f652bc8dd5c33ec60ae0c71445784a3ce", kill_on_drop: false }`
[INFO] [stdout] c76c7697d9ba2948ae2df7bc8590a82f652bc8dd5c33ec60ae0c71445784a3ce
[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.76.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 11f15206264a47c57477d399251bca39d38bd227fe1c314489e5d8b820ed7493
[INFO] running `Command { std: "docker" "start" "-a" "11f15206264a47c57477d399251bca39d38bd227fe1c314489e5d8b820ed7493", kill_on_drop: false }`
[INFO] [stderr]    Compiling once_cell v1.19.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.9
[INFO] [stderr]    Compiling lock_api v0.4.11
[INFO] [stderr]    Compiling pin-project-lite v0.2.13
[INFO] [stderr]    Compiling tinyvec_macros v0.1.1
[INFO] [stderr]    Compiling smallvec v1.13.1
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling bytes v1.5.0
[INFO] [stderr]    Compiling futures-core v0.3.30
[INFO] [stderr]    Compiling futures-sink v0.3.30
[INFO] [stderr]    Compiling percent-encoding v2.3.1
[INFO] [stderr]    Compiling async-trait v0.1.77
[INFO] [stderr]    Compiling socket2 v0.5.5
[INFO] [stderr]    Compiling mio v0.8.10
[INFO] [stderr]    Compiling ahash v0.7.8
[INFO] [stderr]    Compiling unicode-bidi v0.3.15
[INFO] [stderr]    Compiling tinyvec v1.6.0
[INFO] [stderr]    Compiling syn v2.0.48
[INFO] [stderr]    Compiling futures-task v0.3.30
[INFO] [stderr]    Compiling memchr v2.7.1
[INFO] [stderr]    Compiling tracing-core v0.1.32
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling log v0.4.20
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling socket2 v0.4.10
[INFO] [stderr]    Compiling sha1_smol v1.0.0
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling tokio v1.36.0
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling scheduled-thread-pool v0.2.7
[INFO] [stderr]    Compiling unicode-normalization v0.1.22
[INFO] [stderr]    Compiling r2d2 v0.8.10
[INFO] [stderr]    Compiling idna v0.5.0
[INFO] [stderr]    Compiling url v2.5.0
[INFO] [stderr]    Compiling tokio-util v0.7.10
[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 10.32s
[INFO] running `Command { std: "docker" "inspect" "11f15206264a47c57477d399251bca39d38bd227fe1c314489e5d8b820ed7493", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "11f15206264a47c57477d399251bca39d38bd227fe1c314489e5d8b820ed7493", kill_on_drop: false }`
[INFO] [stdout] 11f15206264a47c57477d399251bca39d38bd227fe1c314489e5d8b820ed7493
[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.76.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1217d7d4bb4de8c758bc8045a8237e1836856efebd4b65836e95e543f725126e
[INFO] running `Command { std: "docker" "start" "-a" "1217d7d4bb4de8c758bc8045a8237e1836856efebd4b65836e95e543f725126e", 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.30s
[INFO] running `Command { std: "docker" "inspect" "1217d7d4bb4de8c758bc8045a8237e1836856efebd4b65836e95e543f725126e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1217d7d4bb4de8c758bc8045a8237e1836856efebd4b65836e95e543f725126e", kill_on_drop: false }`
[INFO] [stdout] 1217d7d4bb4de8c758bc8045a8237e1836856efebd4b65836e95e543f725126e
[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.76.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] e6d7010fce3eb510ae0dc6094bf771aa543de2d265d47bdfdba85b6d19a2d32c
[INFO] running `Command { std: "docker" "start" "-a" "e6d7010fce3eb510ae0dc6094bf771aa543de2d265d47bdfdba85b6d19a2d32c", kill_on_drop: false }`
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.03s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/cryo_sessions-4df002db3208dd0e)
[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 45) ... FAILED
[INFO] [stdout] test src/redis.rs - redis::Redis::new_session (line 26) ... 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 45) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Redis`
[INFO] [stdout]  --> src/redis.rs:46:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | let redis = Redis::from_env();
[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:47:45
[INFO] [stdout]   |
[INFO] [stdout] 4 | let info = redis.get_information_by_session(Session::from("put into this session")).await.unwrap().unwrap();
[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:47:85
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_redis_rs_45_0() {
[INFO] [stdout]   |                                         ------------------------------- this is not `async`
[INFO] [stdout] 3 | let redis = Redis::from_env();
[INFO] [stdout] 4 | let info = redis.get_information_by_session(Session::from("put into this session")).await.unwrap().unwrap();
[INFO] [stdout]   |                                                                                     ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 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 26) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Redis`
[INFO] [stdout]  --> src/redis.rs:27:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | let redis = Redis::from_env();
[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:28: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:28: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:28: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:28: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:28:116
[INFO] [stdout]   |
[INFO] [stdout] 2 | ...(non_snake_case)] fn _doctest_main_src_redis_rs_26_0() {
[INFO] [stdout]   |                         ------------------------------- this is not `async`
[INFO] [stdout] 3 | ...from_env();
[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: aborting due to 6 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]: 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(); // 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:39
[INFO] [stdout]   |
[INFO] [stdout] 6 | redis.new_session(session.to_owned(), SessionInfo::new(uuid.to_owned(), "Mozilla(5.0)".into()), Duration::from_secs(2400)).await.is_ok();
[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:97
[INFO] [stdout]   |
[INFO] [stdout] 6 | redis.new_session(session.to_owned(), SessionInfo::new(uuid.to_owned(), "Mozilla(5.0)".into()), Duration::from_secs(2400)).await.is_ok();
[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:39
[INFO] [stdout]   |
[INFO] [stdout] 7 | redis.new_session(session.to_owned(), SessionInfo::new(uuid.to_owned(), "Apple Safari".into()), Duration::from_secs(3400)).await.is_ok();
[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:97
[INFO] [stdout]   |
[INFO] [stdout] 7 | redis.new_session(session.to_owned(), SessionInfo::new(uuid.to_owned(), "Apple Safari".into()), Duration::from_secs(3400)).await.is_ok();
[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:9:124
[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.to_owned(), SessionInfo::new(uuid.to_owned(), "Mozilla(5.0)".into()), Duration::from_secs(2400)).await.is_ok();
[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:124
[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.to_owned(), SessionInfo::new(uuid.to_owned(), "Apple Safari".into()), Duration::from_secs(3400)).await.is_ok();
[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: aborting due to 10 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 45)
[INFO] [stdout]     src/redis.rs - redis::Redis::new_session (line 26)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "e6d7010fce3eb510ae0dc6094bf771aa543de2d265d47bdfdba85b6d19a2d32c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e6d7010fce3eb510ae0dc6094bf771aa543de2d265d47bdfdba85b6d19a2d32c", kill_on_drop: false }`
[INFO] [stdout] e6d7010fce3eb510ae0dc6094bf771aa543de2d265d47bdfdba85b6d19a2d32c
[INFO] testing cryo-sessions-0.0.4 against beta-2024-02-10 for beta-1.77-1
[INFO] extracting crate cryo-sessions 0.0.4 into /workspace/builds/worker-5-tc2/source
[INFO] validating manifest of crates.io crate cryo-sessions 0.0.4 on toolchain beta-2024-02-10
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-02-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate cryo-sessions 0.0.4
[INFO] finished tweaking crates.io crate cryo-sessions 0.0.4
[INFO] tweaked toml for crates.io crate cryo-sessions 0.0.4 written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-02-10" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-02-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-02-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 7134b48d8b8221c03b722ffeae834a44779eeca88455609c2c2996eee5ef6113
[INFO] running `Command { std: "docker" "start" "-a" "7134b48d8b8221c03b722ffeae834a44779eeca88455609c2c2996eee5ef6113", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7134b48d8b8221c03b722ffeae834a44779eeca88455609c2c2996eee5ef6113", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7134b48d8b8221c03b722ffeae834a44779eeca88455609c2c2996eee5ef6113", kill_on_drop: false }`
[INFO] [stdout] 7134b48d8b8221c03b722ffeae834a44779eeca88455609c2c2996eee5ef6113
[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=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" "+beta-2024-02-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3c4b84bef98c90235a6bdd8cc0215de4622a246ae19f94c910761e52147941f6
[INFO] running `Command { std: "docker" "start" "-a" "3c4b84bef98c90235a6bdd8cc0215de4622a246ae19f94c910761e52147941f6", kill_on_drop: false }`
[INFO] [stderr]    Compiling parking_lot_core v0.9.9
[INFO] [stderr]    Compiling once_cell v1.19.0
[INFO] [stderr]    Compiling pin-project-lite v0.2.13
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling tinyvec_macros v0.1.1
[INFO] [stderr]    Compiling smallvec v1.13.1
[INFO] [stderr]    Compiling futures-core v0.3.30
[INFO] [stderr]    Compiling bytes v1.5.0
[INFO] [stderr]    Compiling futures-sink v0.3.30
[INFO] [stderr]    Compiling unicode-bidi v0.3.15
[INFO] [stderr]    Compiling lock_api v0.4.11
[INFO] [stderr]    Compiling ahash v0.7.8
[INFO] [stderr]    Compiling async-trait v0.1.77
[INFO] [stderr]    Compiling percent-encoding v2.3.1
[INFO] [stderr]    Compiling socket2 v0.5.5
[INFO] [stderr]    Compiling mio v0.8.10
[INFO] [stderr]    Compiling tinyvec v1.6.0
[INFO] [stderr]    Compiling syn v2.0.48
[INFO] [stderr]    Compiling futures-task v0.3.30
[INFO] [stderr]    Compiling memchr v2.7.1
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling tracing-core v0.1.32
[INFO] [stderr]    Compiling log v0.4.20
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling socket2 v0.4.10
[INFO] [stderr]    Compiling sha1_smol v1.0.0
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling tokio v1.36.0
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling scheduled-thread-pool v0.2.7
[INFO] [stderr]    Compiling r2d2 v0.8.10
[INFO] [stderr]    Compiling unicode-normalization v0.1.22
[INFO] [stderr]    Compiling idna v0.5.0
[INFO] [stderr]    Compiling url v2.5.0
[INFO] [stderr]    Compiling tokio-util v0.7.10
[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 14.71s
[INFO] running `Command { std: "docker" "inspect" "3c4b84bef98c90235a6bdd8cc0215de4622a246ae19f94c910761e52147941f6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3c4b84bef98c90235a6bdd8cc0215de4622a246ae19f94c910761e52147941f6", kill_on_drop: false }`
[INFO] [stdout] 3c4b84bef98c90235a6bdd8cc0215de4622a246ae19f94c910761e52147941f6
[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=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" "+beta-2024-02-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5b4ddd53a734a9028082092996900a79738d62794aa80aaa0611270147d03589
[INFO] running `Command { std: "docker" "start" "-a" "5b4ddd53a734a9028082092996900a79738d62794aa80aaa0611270147d03589", 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.56s
[INFO] running `Command { std: "docker" "inspect" "5b4ddd53a734a9028082092996900a79738d62794aa80aaa0611270147d03589", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5b4ddd53a734a9028082092996900a79738d62794aa80aaa0611270147d03589", kill_on_drop: false }`
[INFO] [stdout] 5b4ddd53a734a9028082092996900a79738d62794aa80aaa0611270147d03589
[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=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" "+beta-2024-02-10" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] cf59c23e25c46dee83c84a70ad4a3ed5f5b8b3e5931d884ecbe389bd1ad5a5d3
[INFO] running `Command { std: "docker" "start" "-a" "cf59c23e25c46dee83c84a70ad4a3ed5f5b8b3e5931d884ecbe389bd1ad5a5d3", kill_on_drop: false }`
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.06s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/cryo_sessions-68834e27cb2f3250)
[INFO] [stderr]    Doc-tests cryo-sessions
[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] [stdout] 
[INFO] [stdout] running 3 tests
[INFO] [stdout] test src/redis.rs - redis::Redis::new_session (line 26) ... FAILED
[INFO] [stdout] test src/redis.rs - redis::Redis::get_information_by_session (line 45) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 5) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/redis.rs - redis::Redis::new_session (line 26) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Redis`
[INFO] [stdout]  --> src/redis.rs:27:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | let redis = Redis::from_env();
[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:28: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:28: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:28: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:28: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:28:116
[INFO] [stdout]   |
[INFO] [stdout] 2 | ...(non_snake_case)] fn _doctest_main_src_redis_rs_26_0() {
[INFO] [stdout]   |                         ------------------------------- this is not `async`
[INFO] [stdout] 3 | ...from_env();
[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: aborting due to 6 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::get_information_by_session (line 45) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Redis`
[INFO] [stdout]  --> src/redis.rs:46:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | let redis = Redis::from_env();
[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:47:45
[INFO] [stdout]   |
[INFO] [stdout] 4 | let info = redis.get_information_by_session(Session::from("put into this session")).await.unwrap().unwrap();
[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:47:85
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_redis_rs_45_0() {
[INFO] [stdout]   |                                         ------------------------------- this is not `async`
[INFO] [stdout] 3 | let redis = Redis::from_env();
[INFO] [stdout] 4 | let info = redis.get_information_by_session(Session::from("put into this session")).await.unwrap().unwrap();
[INFO] [stdout]   |                                                                                     ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 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]: 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(); // 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:39
[INFO] [stdout]   |
[INFO] [stdout] 6 | redis.new_session(session.to_owned(), SessionInfo::new(uuid.to_owned(), "Mozilla(5.0)".into()), Duration::from_secs(2400)).await.is_ok();
[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:97
[INFO] [stdout]   |
[INFO] [stdout] 6 | redis.new_session(session.to_owned(), SessionInfo::new(uuid.to_owned(), "Mozilla(5.0)".into()), Duration::from_secs(2400)).await.is_ok();
[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:39
[INFO] [stdout]   |
[INFO] [stdout] 7 | redis.new_session(session.to_owned(), SessionInfo::new(uuid.to_owned(), "Apple Safari".into()), Duration::from_secs(3400)).await.is_ok();
[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:97
[INFO] [stdout]   |
[INFO] [stdout] 7 | redis.new_session(session.to_owned(), SessionInfo::new(uuid.to_owned(), "Apple Safari".into()), Duration::from_secs(3400)).await.is_ok();
[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:9:124
[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.to_owned(), SessionInfo::new(uuid.to_owned(), "Mozilla(5.0)".into()), Duration::from_secs(2400)).await.is_ok();
[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:124
[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.to_owned(), SessionInfo::new(uuid.to_owned(), "Apple Safari".into()), Duration::from_secs(3400)).await.is_ok();
[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: aborting due to 10 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 45)
[INFO] [stdout]     src/redis.rs - redis::Redis::new_session (line 26)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "cf59c23e25c46dee83c84a70ad4a3ed5f5b8b3e5931d884ecbe389bd1ad5a5d3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cf59c23e25c46dee83c84a70ad4a3ed5f5b8b3e5931d884ecbe389bd1ad5a5d3", kill_on_drop: false }`
[INFO] [stdout] cf59c23e25c46dee83c84a70ad4a3ed5f5b8b3e5931d884ecbe389bd1ad5a5d3
