[INFO] fetching crate cryo-sessions 0.0.4...
[INFO] testing cryo-sessions-0.0.4 against 1.91.0 for beta-1.92-1
[INFO] extracting crate cryo-sessions 0.0.4 into /workspace/builds/worker-6-tc1/source
[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-6-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate cryo-sessions 0.0.4 on toolchain 1.91.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.91.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.91.0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 91 packages to latest compatible versions
[INFO] [stderr]       Adding rand v0.8.5 (available: v0.9.2)
[INFO] [stderr]       Adding redis v0.23.3 (available: v0.32.7)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.91.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded sha1_smol v1.0.1
[INFO] [stderr]   Downloaded scheduled-thread-pool v0.2.7
[INFO] [stderr]   Downloaded r2d2 v0.8.10
[INFO] [stderr]   Downloaded redis v0.23.3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ff62e7d68b7aa783353142855d8bceb73aa9f1e3dc9d1818058ad927016b8118
[INFO] running `Command { std: "docker" "start" "-a" "ff62e7d68b7aa783353142855d8bceb73aa9f1e3dc9d1818058ad927016b8118", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ff62e7d68b7aa783353142855d8bceb73aa9f1e3dc9d1818058ad927016b8118", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ff62e7d68b7aa783353142855d8bceb73aa9f1e3dc9d1818058ad927016b8118", kill_on_drop: false }`
[INFO] [stdout] ff62e7d68b7aa783353142855d8bceb73aa9f1e3dc9d1818058ad927016b8118
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8cf4d3564d02179cac30ffb7cf943b77309b65edd9a8326e1923ed15b6ffadc3
[INFO] running `Command { std: "docker" "start" "-a" "8cf4d3564d02179cac30ffb7cf943b77309b65edd9a8326e1923ed15b6ffadc3", kill_on_drop: false }`
[INFO] [stderr]    Compiling unicode-ident v1.0.22
[INFO] [stderr]    Compiling libc v0.2.177
[INFO] [stderr]    Compiling stable_deref_trait v1.2.1
[INFO] [stderr]    Compiling lock_api v0.4.14
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling ahash v0.7.8
[INFO] [stderr]    Compiling once_cell v1.21.3
[INFO] [stderr]    Compiling log v0.4.28
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling memchr v2.7.6
[INFO] [stderr]    Compiling sha1_smol v1.0.1
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling proc-macro2 v1.0.103
[INFO] [stderr]    Compiling quote v1.0.41
[INFO] [stderr]    Compiling syn v2.0.108
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling mio v1.1.0
[INFO] [stderr]    Compiling socket2 v0.6.1
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling socket2 v0.4.10
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling tokio v1.48.0
[INFO] [stderr]    Compiling scheduled-thread-pool v0.2.7
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling r2d2 v0.8.10
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling tokio-util v0.7.17
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.1
[INFO] [stderr]    Compiling zerovec-derive v0.11.2
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling combine v4.6.7
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.8.1
[INFO] [stderr]    Compiling zerovec v0.11.5
[INFO] [stderr]    Compiling zerotrie v0.2.3
[INFO] [stderr]    Compiling tinystr v0.8.2
[INFO] [stderr]    Compiling potential_utf v0.1.4
[INFO] [stderr]    Compiling icu_locale_core v2.1.1
[INFO] [stderr]    Compiling icu_collections v2.1.1
[INFO] [stderr]    Compiling icu_provider v2.1.1
[INFO] [stderr]    Compiling icu_normalizer v2.1.1
[INFO] [stderr]    Compiling icu_properties v2.1.1
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling url v2.5.7
[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:30:5
[INFO] [stdout]    |
[INFO] [stdout] 30 |     pub async fn new_session(&self, session: Session, session_info: SessionInfo, duration: Duration) -> RedisResult<()> {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[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]    = help: specify the types explicitly
[INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail
[INFO] [stdout]   --> src/redis.rs:38:14
[INFO] [stdout]    |
[INFO] [stdout] 38 |             .query_async(&mut connection)
[INFO] [stdout]    |              ^^^^^^^^^^^
[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] 38 |             .query_async::<_, ()>(&mut connection)
[INFO] [stdout]    |                         +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 25.36s
[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 1`
[INFO] running `Command { std: "docker" "inspect" "8cf4d3564d02179cac30ffb7cf943b77309b65edd9a8326e1923ed15b6ffadc3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8cf4d3564d02179cac30ffb7cf943b77309b65edd9a8326e1923ed15b6ffadc3", kill_on_drop: false }`
[INFO] [stdout] 8cf4d3564d02179cac30ffb7cf943b77309b65edd9a8326e1923ed15b6ffadc3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 287ca07bcd361171df79ef348adc2657bae72f10eca6c5161c8d69da914adcec
[INFO] running `Command { std: "docker" "start" "-a" "287ca07bcd361171df79ef348adc2657bae72f10eca6c5161c8d69da914adcec", kill_on_drop: false }`
[INFO] [stdout] warning: this function depends on never type fallback being `()`
[INFO] [stdout]   --> src/redis.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 30 |     pub async fn new_session(&self, session: Session, session_info: SessionInfo, duration: Duration) -> RedisResult<()> {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[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]    = help: specify the types explicitly
[INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail
[INFO] [stdout]   --> src/redis.rs:38:14
[INFO] [stdout]    |
[INFO] [stdout] 38 |             .query_async(&mut connection)
[INFO] [stdout]    |              ^^^^^^^^^^^
[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] 38 |             .query_async::<_, ()>(&mut 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:30:5
[INFO] [stdout]    |
[INFO] [stdout] 30 |     pub async fn new_session(&self, session: Session, session_info: SessionInfo, duration: Duration) -> RedisResult<()> {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[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]    = help: specify the types explicitly
[INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail
[INFO] [stdout]   --> src/redis.rs:38:14
[INFO] [stdout]    |
[INFO] [stdout] 38 |             .query_async(&mut connection)
[INFO] [stdout]    |              ^^^^^^^^^^^
[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] 38 |             .query_async::<_, ()>(&mut connection)
[INFO] [stdout]    |                         +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.56s
[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" "287ca07bcd361171df79ef348adc2657bae72f10eca6c5161c8d69da914adcec", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "287ca07bcd361171df79ef348adc2657bae72f10eca6c5161c8d69da914adcec", kill_on_drop: false }`
[INFO] [stdout] 287ca07bcd361171df79ef348adc2657bae72f10eca6c5161c8d69da914adcec
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 774da4c52684d3bf1487ff689be98b19b63e4de6c6ef7cc7c80c044781f72b34
[INFO] running `Command { std: "docker" "start" "-a" "774da4c52684d3bf1487ff689be98b19b63e4de6c6ef7cc7c80c044781f72b34", kill_on_drop: false }`
[INFO] [stderr] warning: this function depends on never type fallback being `()`
[INFO] [stderr]   --> src/redis.rs:30:5
[INFO] [stderr]    |
[INFO] [stderr] 30 |     pub async fn new_session(&self, session: Session, session_info: SessionInfo, duration: Duration) -> RedisResult<()> {
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[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]    = help: specify the types explicitly
[INFO] [stderr] note: in edition 2024, the requirement `!: FromRedisValue` will fail
[INFO] [stderr]   --> src/redis.rs:38:14
[INFO] [stderr]    |
[INFO] [stderr] 38 |             .query_async(&mut connection)
[INFO] [stderr]    |              ^^^^^^^^^^^
[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] 38 |             .query_async::<_, ()>(&mut 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.09s
[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] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/cryo_sessions-ab333188e00696cb)
[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::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();
[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();
[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();
[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();
[INFO] [stdout]   |                                                                                         ^^^^^^^^ use of undeclared type `Duration`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[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 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_redis_rs_26_0() {
[INFO] [stdout]   |                                      ------------------------------------ this is not `async`
[INFO] [stdout] 3 | let redis = Redis::from_env();
[INFO] [stdout] 4 | 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: 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 this struct
[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 this struct
[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.08s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "774da4c52684d3bf1487ff689be98b19b63e4de6c6ef7cc7c80c044781f72b34", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "774da4c52684d3bf1487ff689be98b19b63e4de6c6ef7cc7c80c044781f72b34", kill_on_drop: false }`
[INFO] [stdout] 774da4c52684d3bf1487ff689be98b19b63e4de6c6ef7cc7c80c044781f72b34
