[INFO] cloning repository https://github.com/ndd7xv/redis-in-action-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ndd7xv/redis-in-action-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fndd7xv%2Fredis-in-action-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fndd7xv%2Fredis-in-action-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b5036761ed6dc95e3425fabe1b652d4df0325658
[INFO] testing ndd7xv/redis-in-action-rs against 1.99.0-beta.8+cargoflags=--release for beta-release-1.100-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fndd7xv%2Fredis-in-action-rs" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/ndd7xv/redis-in-action-rs
[INFO] finished tweaking git repo https://github.com/ndd7xv/redis-in-action-rs
[INFO] tweaked toml for git repo https://github.com/ndd7xv/redis-in-action-rs written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ndd7xv/redis-in-action-rs on toolchain 1.99.0-beta.8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ndd7xv/redis-in-action-rs 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.99.0-beta.8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr]   |
[INFO] [stderr]   = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr]   = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr]   = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr]     Updating git repository `https://github.com/ndd7xv/redis-rs`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded uuid-macro-internal v1.1.1
[INFO] [stderr]   Downloaded urlparse v0.7.3
[INFO] [stderr]   Downloaded uuid v1.1.1
[INFO] [stderr]   Downloaded syn v1.0.96
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 9e39c6f4af9be9e6c0fd69ccd6a924804eab794f6472e8050bc36edff3e4b59a
[INFO] running `Command { std: "docker" "start" "9e39c6f4af9be9e6c0fd69ccd6a924804eab794f6472e8050bc36edff3e4b59a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9e39c6f4af9be9e6c0fd69ccd6a924804eab794f6472e8050bc36edff3e4b59a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9e39c6f4af9be9e6c0fd69ccd6a924804eab794f6472e8050bc36edff3e4b59a" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9e39c6f4af9be9e6c0fd69ccd6a924804eab794f6472e8050bc36edff3e4b59a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9e39c6f4af9be9e6c0fd69ccd6a924804eab794f6472e8050bc36edff3e4b59a" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr]   |
[INFO] [stderr]   = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr]   = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr]   = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr]    Compiling proc-macro2 v1.0.39
[INFO] [stderr]    Compiling unicode-ident v1.0.0
[INFO] [stderr]    Compiling syn v1.0.96
[INFO] [stderr]    Compiling tinyvec_macros v0.1.0
[INFO] [stderr]    Compiling libc v0.2.126
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling matches v0.1.9
[INFO] [stderr]    Compiling unicode-bidi v0.3.8
[INFO] [stderr]    Compiling percent-encoding v2.1.0
[INFO] [stderr]    Compiling bytes v1.1.0
[INFO] [stderr]    Compiling serde v1.0.137
[INFO] [stderr]    Compiling ppv-lite86 v0.2.16
[INFO] [stderr]    Compiling async-trait v0.1.56
[INFO] [stderr]    Compiling ryu v1.0.10
[INFO] [stderr]    Compiling itoa v1.0.2
[INFO] [stderr]    Compiling serde_json v1.0.81
[INFO] [stderr]    Compiling sha1 v0.6.1
[INFO] [stderr]    Compiling tinyvec v1.6.0
[INFO] [stderr]    Compiling itoa v0.4.8
[INFO] [stderr]    Compiling form_urlencoded v1.0.1
[INFO] [stderr]    Compiling dtoa v0.4.8
[INFO] [stderr]    Compiling urlparse v0.7.3
[INFO] [stderr]    Compiling getrandom v0.2.6
[INFO] [stderr]    Compiling rand_core v0.6.3
[INFO] [stderr]    Compiling combine v4.6.4
[INFO] [stderr]    Compiling quote v1.0.18
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling unicode-normalization v0.1.19
[INFO] [stderr]    Compiling idna v0.2.3
[INFO] [stderr]    Compiling url v2.2.2
[INFO] [stderr]    Compiling uuid-macro-internal v1.1.1
[INFO] [stderr]    Compiling uuid v1.1.1
[INFO] [stderr]    Compiling redis v0.21.5
[INFO] [stderr]    Compiling redis v0.21.5 (https://github.com/ndd7xv/redis-rs?branch=z-weights#bbe06834)
[INFO] [stderr]    Compiling ch02 v0.1.0 (/opt/rustwide/workdir/ch02)
[INFO] [stderr]    Compiling ch01 v0.1.0 (/opt/rustwide/workdir/ch01)
[INFO] [stdout] warning: this function depends on never type fallback being `()`
[INFO] [stdout]   --> ch01/src/lib.rs:18:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | / pub fn article_vote<S>(conn: &mut Connection, user: S, article: S) -> Result<(), Box<dyn Error>>
[INFO] [stdout] 19 | | where
[INFO] [stdout] 20 | |     S: Into<String>,
[INFO] [stdout]    | |____________________^
[INFO] [stdout]    |
[INFO] [stdout]    = help: specify the types explicitly
[INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail
[INFO] [stdout]   --> ch01/src/lib.rs:38:14
[INFO] [stdout]    |
[INFO] [stdout] 38 |         conn.zincr("score:", &article, VOTE_SCORE)?;
[INFO] [stdout]    |              ^^^^^
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/never-type-fallback.html>
[INFO] [stdout]    = note: `#[warn(dependency_on_unit_never_type_fallback)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: use `()` annotations to avoid fallback changes
[INFO] [stdout]    |
[INFO] [stdout] 38 ~         conn.zincr::<_, _, _, ()>("score:", &article, VOTE_SCORE)?;
[INFO] [stdout] 39 ~         conn.hincr::<_, _, _, ()>(&article, "votes", 1)?;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: this function depends on never type fallback being `()`
[INFO] [stdout]   --> ch01/src/lib.rs:44:1
[INFO] [stdout]    |
[INFO] [stdout] 44 | / pub fn post_article<S>(
[INFO] [stdout] 45 | |     conn: &mut Connection,
[INFO] [stdout] 46 | |     user: S,
[INFO] [stdout] 47 | |     title: S,
[INFO] [stdout] ...  |
[INFO] [stdout] 50 | | where
[INFO] [stdout] 51 | |     S: Into<String>,
[INFO] [stdout]    | |____________________^
[INFO] [stdout]    |
[INFO] [stdout]    = help: specify the types explicitly
[INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail
[INFO] [stdout]   --> ch01/src/lib.rs:63:10
[INFO] [stdout]    |
[INFO] [stdout] 63 |     conn.sadd(&voted, &user)?;
[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: use `()` annotations to avoid fallback changes
[INFO] [stdout]    |
[INFO] [stdout] 63 ~     conn.sadd::<_, _, ()>(&voted, &user)?;
[INFO] [stdout] 64 ~     conn.expire::<_, ()>(&voted, ONE_WEEK_IN_SECONDS)?;
[INFO] [stdout] 65 |
[INFO] [stdout] ...
[INFO] [stdout] 71 |     article.push_str(&article_id);
[INFO] [stdout] 72 ~     conn.hset_multiple::<_, _, _, ()>(
[INFO] [stdout] 73 |         &article,
[INFO] [stdout] ...
[INFO] [stdout] 82 |
[INFO] [stdout] 83 ~     conn.zadd::<_, _, _, ()>(
[INFO] [stdout] 84 |         "score:",
[INFO] [stdout] ...
[INFO] [stdout] 87 |     )?;
[INFO] [stdout] 88 ~     conn.zadd::<_, _, _, ()>("time:", &article, &now)?;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: this function depends on never type fallback being `()`
[INFO] [stdout]    --> ch01/src/lib.rs:112:1
[INFO] [stdout]     |
[INFO] [stdout] 112 | / pub fn add_remove_groups<Q, R, S>(
[INFO] [stdout] 113 | |     conn: &mut Connection,
[INFO] [stdout] 114 | |     article_id: Q,
[INFO] [stdout] 115 | |     to_add: Vec<R>,
[INFO] [stdout] ...   |
[INFO] [stdout] 120 | |     R: Into<String>,
[INFO] [stdout] 121 | |     S: Into<String>,
[INFO] [stdout]     | |____________________^
[INFO] [stdout]     |
[INFO] [stdout]     = help: specify the types explicitly
[INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail
[INFO] [stdout]    --> ch01/src/lib.rs:129:14
[INFO] [stdout]     |
[INFO] [stdout] 129 |         conn.sadd(group, &article)?;
[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: use `()` annotations to avoid fallback changes
[INFO] [stdout]     |
[INFO] [stdout] 129 ~         conn.sadd::<_, _, ()>(group, &article)?;
[INFO] [stdout] 130 |     }
[INFO] [stdout] ...
[INFO] [stdout] 134 |         group.push_str(&group_label.into());
[INFO] [stdout] 135 ~         conn.srem::<_, _, ()>(group, &article)?;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: this function depends on never type fallback being `()`
[INFO] [stdout]    --> ch01/src/lib.rs:140:1
[INFO] [stdout]     |
[INFO] [stdout] 140 | / pub fn get_group_articles<S>(
[INFO] [stdout] 141 | |     conn: &mut Connection,
[INFO] [stdout] 142 | |     group: S,
[INFO] [stdout] 143 | |     page: isize,
[INFO] [stdout] ...   |
[INFO] [stdout] 146 | | where
[INFO] [stdout] 147 | |     S: Into<String>,
[INFO] [stdout]     | |____________________^
[INFO] [stdout]     |
[INFO] [stdout]     = help: specify the types explicitly
[INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail
[INFO] [stdout]    --> ch01/src/lib.rs:156:14
[INFO] [stdout]     |
[INFO] [stdout] 156 |         conn.zinterstore_max(&key, &[&group_key, &order])?;
[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: use `()` annotations to avoid fallback changes
[INFO] [stdout]     |
[INFO] [stdout] 156 ~         conn.zinterstore_max::<_, ()>(&key, &[&group_key, &order])?;
[INFO] [stdout] 157 ~         conn.expire::<_, ()>(&key, 60)?;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: this function depends on never type fallback being `()`
[INFO] [stdout]   --> ch02/src/lib.rs:21:1
[INFO] [stdout]    |
[INFO] [stdout] 21 | / pub fn update_token(
[INFO] [stdout] 22 | |     conn: &mut Connection,
[INFO] [stdout] 23 | |     token: &str,
[INFO] [stdout] 24 | |     user: &str,
[INFO] [stdout] 25 | |     item: Option<&str>,
[INFO] [stdout] 26 | | ) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]    | |_______________________________^
[INFO] [stdout]    |
[INFO] [stdout]    = help: specify the types explicitly
[INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail
[INFO] [stdout]   --> ch02/src/lib.rs:28:10
[INFO] [stdout]    |
[INFO] [stdout] 28 |     conn.hset("login:", &token, user)?;
[INFO] [stdout]    |          ^^^^
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/never-type-fallback.html>
[INFO] [stdout]    = note: `#[warn(dependency_on_unit_never_type_fallback)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: use `()` annotations to avoid fallback changes
[INFO] [stdout]    |
[INFO] [stdout] 28 ~     conn.hset::<_, _, _, ()>("login:", &token, user)?;
[INFO] [stdout] 29 ~     conn.zadd::<_, _, _, ()>("recent:", &token, timestamp)?;
[INFO] [stdout] 30 |
[INFO] [stdout] ...
[INFO] [stdout] 34 |
[INFO] [stdout] 35 ~         conn.zadd::<_, _, _, ()>(&viewed, item, timestamp)?;
[INFO] [stdout] 36 ~         conn.zremrangebyrank::<_, ()>(&viewed, 0, -26)?;
[INFO] [stdout] 37 ~         conn.zincr::<_, _, _, ()>("viewed:", item, -1)?;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: this function depends on never type fallback being `()`
[INFO] [stdout]   --> ch02/src/lib.rs:42:1
[INFO] [stdout]    |
[INFO] [stdout] 42 | / pub fn clean_sessions(
[INFO] [stdout] 43 | |     conn: &mut Connection,
[INFO] [stdout] 44 | |     limit: isize,
[INFO] [stdout] 45 | |     quit: Arc<AtomicBool>,
[INFO] [stdout] 46 | | ) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]    | |_______________________________^
[INFO] [stdout]    |
[INFO] [stdout]    = help: specify the types explicitly
[INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail
[INFO] [stdout]   --> ch02/src/lib.rs:65:14
[INFO] [stdout]    |
[INFO] [stdout] 65 |         conn.del(&views)?;
[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: use `()` annotations to avoid fallback changes
[INFO] [stdout]    |
[INFO] [stdout] 65 ~         conn.del::<_, ()>(&views)?;
[INFO] [stdout] 66 ~         conn.hdel::<_, _, ()>("login:", &tokens)?;
[INFO] [stdout] 67 ~         conn.zrem::<_, _, ()>("recent:", &tokens)?;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: this function depends on never type fallback being `()`
[INFO] [stdout]   --> ch02/src/lib.rs:72:1
[INFO] [stdout]    |
[INFO] [stdout] 72 | / pub fn add_to_cart(
[INFO] [stdout] 73 | |     conn: &mut Connection,
[INFO] [stdout] 74 | |     session: &str,
[INFO] [stdout] 75 | |     item: &str,
[INFO] [stdout] 76 | |     count: isize,
[INFO] [stdout] 77 | | ) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]    | |_______________________________^
[INFO] [stdout]    |
[INFO] [stdout]    = help: specify the types explicitly
[INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail
[INFO] [stdout]   --> ch02/src/lib.rs:82:14
[INFO] [stdout]    |
[INFO] [stdout] 82 |         conn.hdel(key, item)?;
[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: use `()` annotations to avoid fallback changes
[INFO] [stdout]    |
[INFO] [stdout] 82 ~         conn.hdel::<_, _, ()>(key, item)?;
[INFO] [stdout] 83 |     } else {
[INFO] [stdout] 84 ~         conn.hset::<_, _, _, ()>(key, item, count)?;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: this function depends on never type fallback being `()`
[INFO] [stdout]    --> ch02/src/lib.rs:89:1
[INFO] [stdout]     |
[INFO] [stdout]  89 | / pub fn clean_full_sessions(
[INFO] [stdout]  90 | |     conn: &mut Connection,
[INFO] [stdout]  91 | |     limit: isize,
[INFO] [stdout]  92 | |     quit: Arc<AtomicBool>,
[INFO] [stdout]  93 | | ) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]     | |_______________________________^
[INFO] [stdout]     |
[INFO] [stdout]     = help: specify the types explicitly
[INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail
[INFO] [stdout]    --> ch02/src/lib.rs:116:14
[INFO] [stdout]     |
[INFO] [stdout] 116 |         conn.del(&session_keys)?;
[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: use `()` annotations to avoid fallback changes
[INFO] [stdout]     |
[INFO] [stdout] 116 ~         conn.del::<_, ()>(&session_keys)?;
[INFO] [stdout] 117 ~         conn.hdel::<_, _, ()>("login:", &sessions)?;
[INFO] [stdout] 118 ~         conn.zrem::<_, _, ()>("recent:", &sessions)?;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: this function depends on never type fallback being `()`
[INFO] [stdout]    --> ch02/src/lib.rs:123:1
[INFO] [stdout]     |
[INFO] [stdout] 123 | / pub fn cache_request(
[INFO] [stdout] 124 | |     conn: &mut Connection,
[INFO] [stdout] 125 | |     request: &str,
[INFO] [stdout] 126 | |     callback: &dyn Fn(&str) -> String,
[INFO] [stdout] 127 | | ) -> Result<String, Box<dyn Error>> {
[INFO] [stdout]     | |___________________________________^
[INFO] [stdout]     |
[INFO] [stdout]     = help: specify the types explicitly
[INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail
[INFO] [stdout]    --> ch02/src/lib.rs:136:10
[INFO] [stdout]     |
[INFO] [stdout] 136 |     conn.set_ex(&page_key, &content, 300_usize)?;
[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: use `()` annotations to avoid fallback changes
[INFO] [stdout]     |
[INFO] [stdout] 136 |     conn.set_ex::<_, _, ()>(&page_key, &content, 300_usize)?;
[INFO] [stdout]     |                ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: this function depends on never type fallback being `()`
[INFO] [stdout]    --> ch02/src/lib.rs:150:1
[INFO] [stdout]     |
[INFO] [stdout] 150 | / pub fn schedule_row_cache(
[INFO] [stdout] 151 | |     conn: &mut Connection,
[INFO] [stdout] 152 | |     row_id: &str,
[INFO] [stdout] 153 | |     delay: isize,
[INFO] [stdout] 154 | | ) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]     | |_______________________________^
[INFO] [stdout]     |
[INFO] [stdout]     = help: specify the types explicitly
[INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail
[INFO] [stdout]    --> ch02/src/lib.rs:155:10
[INFO] [stdout]     |
[INFO] [stdout] 155 |     conn.zadd("delay:", row_id, delay)?;
[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: use `()` annotations to avoid fallback changes
[INFO] [stdout]     |
[INFO] [stdout] 155 ~     conn.zadd::<_, _, _, ()>("delay:", row_id, delay)?;
[INFO] [stdout] 156 |     let now = SystemTime::now().duration_since(UNIX_EPOCH)?.as_millis() as isize;
[INFO] [stdout] 157 ~     conn.zadd::<_, _, _, ()>("schedule:", row_id, now)?;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: this function depends on never type fallback being `()`
[INFO] [stdout]    --> ch02/src/lib.rs:161:1
[INFO] [stdout]     |
[INFO] [stdout] 161 | pub fn cache_rows(conn: &mut Connection, quit: Arc<AtomicBool>) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: specify the types explicitly
[INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail
[INFO] [stdout]    --> ch02/src/lib.rs:176:18
[INFO] [stdout]     |
[INFO] [stdout] 176 |             conn.zrem("delay:", &row_id)?;
[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: use `()` annotations to avoid fallback changes
[INFO] [stdout]     |
[INFO] [stdout] 176 ~             conn.zrem::<_, _, ()>("delay:", &row_id)?;
[INFO] [stdout] 177 ~             conn.zrem::<_, _, ()>("schedule:", &row_id)?;
[INFO] [stdout] 178 ~             conn.del::<_, ()>(&inv)?;
[INFO] [stdout] 179 |             continue;
[INFO] [stdout] ...
[INFO] [stdout] 184 |         let row = Inventory::get(&row_id);
[INFO] [stdout] 185 ~         conn.zadd::<_, _, _, ()>("schedule:", &row_id, now + delay)?;
[INFO] [stdout] 186 ~         conn.set::<_, _, ()>(&inv, serde_json::to_string(&row)?)?;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: this function depends on never type fallback being `()`
[INFO] [stdout]    --> ch02/src/lib.rs:191:1
[INFO] [stdout]     |
[INFO] [stdout] 191 | / pub fn rescale_viewed(
[INFO] [stdout] 192 | |     conn: &mut Connection,
[INFO] [stdout] 193 | |     quit: Arc<AtomicBool>,
[INFO] [stdout] 194 | | ) -> Result<bool, Box<dyn Error>> {
[INFO] [stdout]     | |_________________________________^
[INFO] [stdout]     |
[INFO] [stdout]     = help: specify the types explicitly
[INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail
[INFO] [stdout]    --> ch02/src/lib.rs:196:14
[INFO] [stdout]     |
[INFO] [stdout] 196 |         conn.zremrangebyrank("viewed:", 20000, -1)?;
[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: use `()` annotations to avoid fallback changes
[INFO] [stdout]     |
[INFO] [stdout] 196 ~         conn.zremrangebyrank::<_, ()>("viewed:", 20000, -1)?;
[INFO] [stdout] 197 ~         conn.zinterstore_weights::<_, _, ()>("viewed:", &[("viewed", 0.5)])?;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 24.53s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: ch01 v0.1.0 (/opt/rustwide/workdir/ch01), ch02 v0.1.0 (/opt/rustwide/workdir/ch02), redis v0.21.5, redis v0.21.5 (https://github.com/ndd7xv/redis-rs?branch=z-weights#bbe06834)
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 7`
[INFO] running `Command { std: "docker" "inspect" "9e39c6f4af9be9e6c0fd69ccd6a924804eab794f6472e8050bc36edff3e4b59a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9e39c6f4af9be9e6c0fd69ccd6a924804eab794f6472e8050bc36edff3e4b59a" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr]   |
[INFO] [stderr]   = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr]   = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr]   = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stdout] warning: this function depends on never type fallback being `()`
[INFO] [stdout]   --> ch01/src/lib.rs:18:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | / pub fn article_vote<S>(conn: &mut Connection, user: S, article: S) -> Result<(), Box<dyn Error>>
[INFO] [stdout] 19 | | where
[INFO] [stdout] 20 | |     S: Into<String>,
[INFO] [stdout]    | |____________________^
[INFO] [stdout]    |
[INFO] [stdout]    = help: specify the types explicitly
[INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail
[INFO] [stdout]   --> ch01/src/lib.rs:38:14
[INFO] [stdout]    |
[INFO] [stdout] 38 |         conn.zincr("score:", &article, VOTE_SCORE)?;
[INFO] [stdout]    |              ^^^^^
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/never-type-fallback.html>
[INFO] [stdout]    = note: `#[warn(dependency_on_unit_never_type_fallback)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: use `()` annotations to avoid fallback changes
[INFO] [stdout]    |
[INFO] [stdout] 38 ~         conn.zincr::<_, _, _, ()>("score:", &article, VOTE_SCORE)?;
[INFO] [stdout] 39 ~         conn.hincr::<_, _, _, ()>(&article, "votes", 1)?;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: this function depends on never type fallback being `()`
[INFO] [stdout]   --> ch01/src/lib.rs:44:1
[INFO] [stdout]    |
[INFO] [stdout] 44 | / pub fn post_article<S>(
[INFO] [stdout] 45 | |     conn: &mut Connection,
[INFO] [stdout] 46 | |     user: S,
[INFO] [stdout] 47 | |     title: S,
[INFO] [stdout] ...  |
[INFO] [stdout] 50 | | where
[INFO] [stdout] 51 | |     S: Into<String>,
[INFO] [stdout]    | |____________________^
[INFO] [stdout]    |
[INFO] [stdout]    = help: specify the types explicitly
[INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail
[INFO] [stdout]   --> ch01/src/lib.rs:63:10
[INFO] [stdout]    |
[INFO] [stdout] 63 |     conn.sadd(&voted, &user)?;
[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: use `()` annotations to avoid fallback changes
[INFO] [stdout]    |
[INFO] [stdout] 63 ~     conn.sadd::<_, _, ()>(&voted, &user)?;
[INFO] [stdout] 64 ~     conn.expire::<_, ()>(&voted, ONE_WEEK_IN_SECONDS)?;
[INFO] [stdout] 65 |
[INFO] [stdout] ...
[INFO] [stdout] 71 |     article.push_str(&article_id);
[INFO] [stdout] 72 ~     conn.hset_multiple::<_, _, _, ()>(
[INFO] [stdout] 73 |         &article,
[INFO] [stdout] ...
[INFO] [stdout] 82 |
[INFO] [stdout] 83 ~     conn.zadd::<_, _, _, ()>(
[INFO] [stdout] 84 |         "score:",
[INFO] [stdout] ...
[INFO] [stdout] 87 |     )?;
[INFO] [stdout] 88 ~     conn.zadd::<_, _, _, ()>("time:", &article, &now)?;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling ch01 v0.1.0 (/opt/rustwide/workdir/ch01)
[INFO] [stdout] warning: this function depends on never type fallback being `()`
[INFO] [stdout]    --> ch01/src/lib.rs:112:1
[INFO] [stdout]     |
[INFO] [stdout] 112 | / pub fn add_remove_groups<Q, R, S>(
[INFO] [stdout] 113 | |     conn: &mut Connection,
[INFO] [stdout] 114 | |     article_id: Q,
[INFO] [stdout] 115 | |     to_add: Vec<R>,
[INFO] [stdout] ...   |
[INFO] [stdout] 120 | |     R: Into<String>,
[INFO] [stdout] 121 | |     S: Into<String>,
[INFO] [stdout]     | |____________________^
[INFO] [stdout]     |
[INFO] [stdout]     = help: specify the types explicitly
[INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail
[INFO] [stdout]    --> ch01/src/lib.rs:129:14
[INFO] [stdout]     |
[INFO] [stdout] 129 |         conn.sadd(group, &article)?;
[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: use `()` annotations to avoid fallback changes
[INFO] [stdout]     |
[INFO] [stdout] 129 ~         conn.sadd::<_, _, ()>(group, &article)?;
[INFO] [stdout] 130 |     }
[INFO] [stdout] ...
[INFO] [stdout] 134 |         group.push_str(&group_label.into());
[INFO] [stdout] 135 ~         conn.srem::<_, _, ()>(group, &article)?;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: this function depends on never type fallback being `()`
[INFO] [stdout]    --> ch01/src/lib.rs:140:1
[INFO] [stdout]     |
[INFO] [stdout] 140 | / pub fn get_group_articles<S>(
[INFO] [stdout] 141 | |     conn: &mut Connection,
[INFO] [stdout] 142 | |     group: S,
[INFO] [stdout] 143 | |     page: isize,
[INFO] [stdout] ...   |
[INFO] [stdout] 146 | | where
[INFO] [stdout] 147 | |     S: Into<String>,
[INFO] [stdout]     | |____________________^
[INFO] [stdout]     |
[INFO] [stdout]     = help: specify the types explicitly
[INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail
[INFO] [stdout]    --> ch01/src/lib.rs:156:14
[INFO] [stdout]     |
[INFO] [stdout] 156 |         conn.zinterstore_max(&key, &[&group_key, &order])?;
[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: use `()` annotations to avoid fallback changes
[INFO] [stdout]     |
[INFO] [stdout] 156 ~         conn.zinterstore_max::<_, ()>(&key, &[&group_key, &order])?;
[INFO] [stdout] 157 ~         conn.expire::<_, ()>(&key, 60)?;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: this function depends on never type fallback being `()`
[INFO] [stdout]   --> ch02/src/lib.rs:21:1
[INFO] [stdout]    |
[INFO] [stdout] 21 | / pub fn update_token(
[INFO] [stdout] 22 | |     conn: &mut Connection,
[INFO] [stdout] 23 | |     token: &str,
[INFO] [stdout] 24 | |     user: &str,
[INFO] [stdout] 25 | |     item: Option<&str>,
[INFO] [stdout] 26 | | ) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]    | |_______________________________^
[INFO] [stdout]    |
[INFO] [stdout]    = help: specify the types explicitly
[INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail
[INFO] [stdout]   --> ch02/src/lib.rs:28:10
[INFO] [stdout]    |
[INFO] [stdout] 28 |     conn.hset("login:", &token, user)?;
[INFO] [stdout]    |          ^^^^
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/never-type-fallback.html>
[INFO] [stdout]    = note: `#[warn(dependency_on_unit_never_type_fallback)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: use `()` annotations to avoid fallback changes
[INFO] [stdout]    |
[INFO] [stdout] 28 ~     conn.hset::<_, _, _, ()>("login:", &token, user)?;
[INFO] [stdout] 29 ~     conn.zadd::<_, _, _, ()>("recent:", &token, timestamp)?;
[INFO] [stdout] 30 |
[INFO] [stdout] ...
[INFO] [stdout] 34 |
[INFO] [stdout] 35 ~         conn.zadd::<_, _, _, ()>(&viewed, item, timestamp)?;
[INFO] [stdout] 36 ~         conn.zremrangebyrank::<_, ()>(&viewed, 0, -26)?;
[INFO] [stdout] 37 ~         conn.zincr::<_, _, _, ()>("viewed:", item, -1)?;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: this function depends on never type fallback being `()`
[INFO] [stdout]   --> ch02/src/lib.rs:42:1
[INFO] [stdout]    |
[INFO] [stdout] 42 | / pub fn clean_sessions(
[INFO] [stdout] 43 | |     conn: &mut Connection,
[INFO] [stdout] 44 | |     limit: isize,
[INFO] [stdout] 45 | |     quit: Arc<AtomicBool>,
[INFO] [stdout] 46 | | ) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]    | |_______________________________^
[INFO] [stdout]    |
[INFO] [stdout]    = help: specify the types explicitly
[INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail
[INFO] [stdout]   --> ch02/src/lib.rs:65:14
[INFO] [stdout]    |
[INFO] [stdout] 65 |         conn.del(&views)?;
[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: use `()` annotations to avoid fallback changes
[INFO] [stdout]    |
[INFO] [stdout] 65 ~         conn.del::<_, ()>(&views)?;
[INFO] [stdout] 66 ~         conn.hdel::<_, _, ()>("login:", &tokens)?;
[INFO] [stdout] 67 ~         conn.zrem::<_, _, ()>("recent:", &tokens)?;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: this function depends on never type fallback being `()`
[INFO] [stdout]   --> ch02/src/lib.rs:72:1
[INFO] [stdout]    |
[INFO] [stdout] 72 | / pub fn add_to_cart(
[INFO] [stdout] 73 | |     conn: &mut Connection,
[INFO] [stdout] 74 | |     session: &str,
[INFO] [stdout] 75 | |     item: &str,
[INFO] [stdout] 76 | |     count: isize,
[INFO] [stdout] 77 | | ) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]    | |_______________________________^
[INFO] [stdout]    |
[INFO] [stdout]    = help: specify the types explicitly
[INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail
[INFO] [stdout]   --> ch02/src/lib.rs:82:14
[INFO] [stdout]    |
[INFO] [stdout] 82 |         conn.hdel(key, item)?;
[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: use `()` annotations to avoid fallback changes
[INFO] [stdout]    |
[INFO] [stdout] 82 ~         conn.hdel::<_, _, ()>(key, item)?;
[INFO] [stdout] 83 |     } else {
[INFO] [stdout] 84 ~         conn.hset::<_, _, _, ()>(key, item, count)?;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: this function depends on never type fallback being `()`
[INFO] [stdout]    --> ch02/src/lib.rs:89:1
[INFO] [stdout]     |
[INFO] [stdout]  89 | / pub fn clean_full_sessions(
[INFO] [stdout]  90 | |     conn: &mut Connection,
[INFO] [stdout]  91 | |     limit: isize,
[INFO] [stdout]  92 | |     quit: Arc<AtomicBool>,
[INFO] [stdout]  93 | | ) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]     | |_______________________________^
[INFO] [stdout]     |
[INFO] [stdout]     = help: specify the types explicitly
[INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail
[INFO] [stdout]    --> ch02/src/lib.rs:116:14
[INFO] [stdout]     |
[INFO] [stdout] 116 |         conn.del(&session_keys)?;
[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: use `()` annotations to avoid fallback changes
[INFO] [stdout]     |
[INFO] [stdout] 116 ~         conn.del::<_, ()>(&session_keys)?;
[INFO] [stdout] 117 ~         conn.hdel::<_, _, ()>("login:", &sessions)?;
[INFO] [stdout] 118 ~         conn.zrem::<_, _, ()>("recent:", &sessions)?;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: this function depends on never type fallback being `()`
[INFO] [stdout]    --> ch02/src/lib.rs:123:1
[INFO] [stdout]     |
[INFO] [stdout] 123 | / pub fn cache_request(
[INFO] [stdout] 124 | |     conn: &mut Connection,
[INFO] [stdout] 125 | |     request: &str,
[INFO] [stdout] 126 | |     callback: &dyn Fn(&str) -> String,
[INFO] [stdout] 127 | | ) -> Result<String, Box<dyn Error>> {
[INFO] [stdout]     | |___________________________________^
[INFO] [stdout]     |
[INFO] [stdout]     = help: specify the types explicitly
[INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail
[INFO] [stdout]    --> ch02/src/lib.rs:136:10
[INFO] [stdout]     |
[INFO] [stdout] 136 |     conn.set_ex(&page_key, &content, 300_usize)?;
[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: use `()` annotations to avoid fallback changes
[INFO] [stdout]     |
[INFO] [stdout] 136 |     conn.set_ex::<_, _, ()>(&page_key, &content, 300_usize)?;
[INFO] [stdout]     |                ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: this function depends on never type fallback being `()`
[INFO] [stdout]    --> ch02/src/lib.rs:150:1
[INFO] [stdout]     |
[INFO] [stdout] 150 | / pub fn schedule_row_cache(
[INFO] [stdout] 151 | |     conn: &mut Connection,
[INFO] [stdout] 152 | |     row_id: &str,
[INFO] [stdout] 153 | |     delay: isize,
[INFO] [stdout] 154 | | ) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]     | |_______________________________^
[INFO] [stdout]     |
[INFO] [stdout]     = help: specify the types explicitly
[INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail
[INFO] [stdout]    --> ch02/src/lib.rs:155:10
[INFO] [stdout]     |
[INFO] [stdout] 155 |     conn.zadd("delay:", row_id, delay)?;
[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: use `()` annotations to avoid fallback changes
[INFO] [stdout]     |
[INFO] [stdout] 155 ~     conn.zadd::<_, _, _, ()>("delay:", row_id, delay)?;
[INFO] [stdout] 156 |     let now = SystemTime::now().duration_since(UNIX_EPOCH)?.as_millis() as isize;
[INFO] [stdout] 157 ~     conn.zadd::<_, _, _, ()>("schedule:", row_id, now)?;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: this function depends on never type fallback being `()`
[INFO] [stdout]    --> ch02/src/lib.rs:161:1
[INFO] [stdout]     |
[INFO] [stdout] 161 | pub fn cache_rows(conn: &mut Connection, quit: Arc<AtomicBool>) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: specify the types explicitly
[INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail
[INFO] [stdout]    --> ch02/src/lib.rs:176:18
[INFO] [stdout]     |
[INFO] [stdout] 176 |             conn.zrem("delay:", &row_id)?;
[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: use `()` annotations to avoid fallback changes
[INFO] [stdout]     |
[INFO] [stdout] 176 ~             conn.zrem::<_, _, ()>("delay:", &row_id)?;
[INFO] [stdout] 177 ~             conn.zrem::<_, _, ()>("schedule:", &row_id)?;
[INFO] [stdout] 178 ~             conn.del::<_, ()>(&inv)?;
[INFO] [stdout] 179 |             continue;
[INFO] [stdout] ...
[INFO] [stdout] 184 |         let row = Inventory::get(&row_id);
[INFO] [stdout] 185 ~         conn.zadd::<_, _, _, ()>("schedule:", &row_id, now + delay)?;
[INFO] [stdout] 186 ~         conn.set::<_, _, ()>(&inv, serde_json::to_string(&row)?)?;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling ch02 v0.1.0 (/opt/rustwide/workdir/ch02)
[INFO] [stdout] warning: this function depends on never type fallback being `()`
[INFO] [stdout]    --> ch02/src/lib.rs:191:1
[INFO] [stdout]     |
[INFO] [stdout] 191 | / pub fn rescale_viewed(
[INFO] [stdout] 192 | |     conn: &mut Connection,
[INFO] [stdout] 193 | |     quit: Arc<AtomicBool>,
[INFO] [stdout] 194 | | ) -> Result<bool, Box<dyn Error>> {
[INFO] [stdout]     | |_________________________________^
[INFO] [stdout]     |
[INFO] [stdout]     = help: specify the types explicitly
[INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail
[INFO] [stdout]    --> ch02/src/lib.rs:196:14
[INFO] [stdout]     |
[INFO] [stdout] 196 |         conn.zremrangebyrank("viewed:", 20000, -1)?;
[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: use `()` annotations to avoid fallback changes
[INFO] [stdout]     |
[INFO] [stdout] 196 ~         conn.zremrangebyrank::<_, ()>("viewed:", 20000, -1)?;
[INFO] [stdout] 197 ~         conn.zinterstore_weights::<_, _, ()>("viewed:", &[("viewed", 0.5)])?;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: this function depends on never type fallback being `()`
[INFO] [stdout]   --> ch01/src/lib.rs:18:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | / pub fn article_vote<S>(conn: &mut Connection, user: S, article: S) -> Result<(), Box<dyn Error>>
[INFO] [stdout] 19 | | where
[INFO] [stdout] 20 | |     S: Into<String>,
[INFO] [stdout]    | |____________________^
[INFO] [stdout]    |
[INFO] [stdout]    = help: specify the types explicitly
[INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail
[INFO] [stdout]   --> ch01/src/lib.rs:38:14
[INFO] [stdout]    |
[INFO] [stdout] 38 |         conn.zincr("score:", &article, VOTE_SCORE)?;
[INFO] [stdout]    |              ^^^^^
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/never-type-fallback.html>
[INFO] [stdout]    = note: `#[warn(dependency_on_unit_never_type_fallback)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: use `()` annotations to avoid fallback changes
[INFO] [stdout]    |
[INFO] [stdout] 38 ~         conn.zincr::<_, _, _, ()>("score:", &article, VOTE_SCORE)?;
[INFO] [stdout] 39 ~         conn.hincr::<_, _, _, ()>(&article, "votes", 1)?;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: this function depends on never type fallback being `()`
[INFO] [stdout]   --> ch01/src/lib.rs:44:1
[INFO] [stdout]    |
[INFO] [stdout] 44 | / pub fn post_article<S>(
[INFO] [stdout] 45 | |     conn: &mut Connection,
[INFO] [stdout] 46 | |     user: S,
[INFO] [stdout] 47 | |     title: S,
[INFO] [stdout] ...  |
[INFO] [stdout] 50 | | where
[INFO] [stdout] 51 | |     S: Into<String>,
[INFO] [stdout]    | |____________________^
[INFO] [stdout]    |
[INFO] [stdout]    = help: specify the types explicitly
[INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail
[INFO] [stdout]   --> ch01/src/lib.rs:63:10
[INFO] [stdout]    |
[INFO] [stdout] 63 |     conn.sadd(&voted, &user)?;
[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: use `()` annotations to avoid fallback changes
[INFO] [stdout]    |
[INFO] [stdout] 63 ~     conn.sadd::<_, _, ()>(&voted, &user)?;
[INFO] [stdout] 64 ~     conn.expire::<_, ()>(&voted, ONE_WEEK_IN_SECONDS)?;
[INFO] [stdout] 65 |
[INFO] [stdout] ...
[INFO] [stdout] 71 |     article.push_str(&article_id);
[INFO] [stdout] 72 ~     conn.hset_multiple::<_, _, _, ()>(
[INFO] [stdout] 73 |         &article,
[INFO] [stdout] ...
[INFO] [stdout] 82 |
[INFO] [stdout] 83 ~     conn.zadd::<_, _, _, ()>(
[INFO] [stdout] 84 |         "score:",
[INFO] [stdout] ...
[INFO] [stdout] 87 |     )?;
[INFO] [stdout] 88 ~     conn.zadd::<_, _, _, ()>("time:", &article, &now)?;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: this function depends on never type fallback being `()`
[INFO] [stdout]    --> ch01/src/lib.rs:112:1
[INFO] [stdout]     |
[INFO] [stdout] 112 | / pub fn add_remove_groups<Q, R, S>(
[INFO] [stdout] 113 | |     conn: &mut Connection,
[INFO] [stdout] 114 | |     article_id: Q,
[INFO] [stdout] 115 | |     to_add: Vec<R>,
[INFO] [stdout] ...   |
[INFO] [stdout] 120 | |     R: Into<String>,
[INFO] [stdout] 121 | |     S: Into<String>,
[INFO] [stdout]     | |____________________^
[INFO] [stdout]     |
[INFO] [stdout]     = help: specify the types explicitly
[INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail
[INFO] [stdout]    --> ch01/src/lib.rs:129:14
[INFO] [stdout]     |
[INFO] [stdout] 129 |         conn.sadd(group, &article)?;
[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: use `()` annotations to avoid fallback changes
[INFO] [stdout]     |
[INFO] [stdout] 129 ~         conn.sadd::<_, _, ()>(group, &article)?;
[INFO] [stdout] 130 |     }
[INFO] [stdout] ...
[INFO] [stdout] 134 |         group.push_str(&group_label.into());
[INFO] [stdout] 135 ~         conn.srem::<_, _, ()>(group, &article)?;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: this function depends on never type fallback being `()`
[INFO] [stdout]    --> ch01/src/lib.rs:140:1
[INFO] [stdout]     |
[INFO] [stdout] 140 | / pub fn get_group_articles<S>(
[INFO] [stdout] 141 | |     conn: &mut Connection,
[INFO] [stdout] 142 | |     group: S,
[INFO] [stdout] 143 | |     page: isize,
[INFO] [stdout] ...   |
[INFO] [stdout] 146 | | where
[INFO] [stdout] 147 | |     S: Into<String>,
[INFO] [stdout]     | |____________________^
[INFO] [stdout]     |
[INFO] [stdout]     = help: specify the types explicitly
[INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail
[INFO] [stdout]    --> ch01/src/lib.rs:156:14
[INFO] [stdout]     |
[INFO] [stdout] 156 |         conn.zinterstore_max(&key, &[&group_key, &order])?;
[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: use `()` annotations to avoid fallback changes
[INFO] [stdout]     |
[INFO] [stdout] 156 ~         conn.zinterstore_max::<_, ()>(&key, &[&group_key, &order])?;
[INFO] [stdout] 157 ~         conn.expire::<_, ()>(&key, 60)?;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: this function depends on never type fallback being `()`
[INFO] [stdout]   --> ch02/src/lib.rs:21:1
[INFO] [stdout]    |
[INFO] [stdout] 21 | / pub fn update_token(
[INFO] [stdout] 22 | |     conn: &mut Connection,
[INFO] [stdout] 23 | |     token: &str,
[INFO] [stdout] 24 | |     user: &str,
[INFO] [stdout] 25 | |     item: Option<&str>,
[INFO] [stdout] 26 | | ) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]    | |_______________________________^
[INFO] [stdout]    |
[INFO] [stdout]    = help: specify the types explicitly
[INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail
[INFO] [stdout]   --> ch02/src/lib.rs:28:10
[INFO] [stdout]    |
[INFO] [stdout] 28 |     conn.hset("login:", &token, user)?;
[INFO] [stdout]    |          ^^^^
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/never-type-fallback.html>
[INFO] [stdout]    = note: `#[warn(dependency_on_unit_never_type_fallback)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: use `()` annotations to avoid fallback changes
[INFO] [stdout]    |
[INFO] [stdout] 28 ~     conn.hset::<_, _, _, ()>("login:", &token, user)?;
[INFO] [stdout] 29 ~     conn.zadd::<_, _, _, ()>("recent:", &token, timestamp)?;
[INFO] [stdout] 30 |
[INFO] [stdout] ...
[INFO] [stdout] 34 |
[INFO] [stdout] 35 ~         conn.zadd::<_, _, _, ()>(&viewed, item, timestamp)?;
[INFO] [stdout] 36 ~         conn.zremrangebyrank::<_, ()>(&viewed, 0, -26)?;
[INFO] [stdout] 37 ~         conn.zincr::<_, _, _, ()>("viewed:", item, -1)?;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: this function depends on never type fallback being `()`
[INFO] [stdout]   --> ch02/src/lib.rs:42:1
[INFO] [stdout]    |
[INFO] [stdout] 42 | / pub fn clean_sessions(
[INFO] [stdout] 43 | |     conn: &mut Connection,
[INFO] [stdout] 44 | |     limit: isize,
[INFO] [stdout] 45 | |     quit: Arc<AtomicBool>,
[INFO] [stdout] 46 | | ) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]    | |_______________________________^
[INFO] [stdout]    |
[INFO] [stdout]    = help: specify the types explicitly
[INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail
[INFO] [stdout]   --> ch02/src/lib.rs:65:14
[INFO] [stdout]    |
[INFO] [stdout] 65 |         conn.del(&views)?;
[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: use `()` annotations to avoid fallback changes
[INFO] [stdout]    |
[INFO] [stdout] 65 ~         conn.del::<_, ()>(&views)?;
[INFO] [stdout] 66 ~         conn.hdel::<_, _, ()>("login:", &tokens)?;
[INFO] [stdout] 67 ~         conn.zrem::<_, _, ()>("recent:", &tokens)?;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: this function depends on never type fallback being `()`
[INFO] [stdout]   --> ch02/src/lib.rs:72:1
[INFO] [stdout]    |
[INFO] [stdout] 72 | / pub fn add_to_cart(
[INFO] [stdout] 73 | |     conn: &mut Connection,
[INFO] [stdout] 74 | |     session: &str,
[INFO] [stdout] 75 | |     item: &str,
[INFO] [stdout] 76 | |     count: isize,
[INFO] [stdout] 77 | | ) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]    | |_______________________________^
[INFO] [stdout]    |
[INFO] [stdout]    = help: specify the types explicitly
[INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail
[INFO] [stdout]   --> ch02/src/lib.rs:82:14
[INFO] [stdout]    |
[INFO] [stdout] 82 |         conn.hdel(key, item)?;
[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: use `()` annotations to avoid fallback changes
[INFO] [stdout]    |
[INFO] [stdout] 82 ~         conn.hdel::<_, _, ()>(key, item)?;
[INFO] [stdout] 83 |     } else {
[INFO] [stdout] 84 ~         conn.hset::<_, _, _, ()>(key, item, count)?;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: this function depends on never type fallback being `()`
[INFO] [stdout]    --> ch02/src/lib.rs:89:1
[INFO] [stdout]     |
[INFO] [stdout]  89 | / pub fn clean_full_sessions(
[INFO] [stdout]  90 | |     conn: &mut Connection,
[INFO] [stdout]  91 | |     limit: isize,
[INFO] [stdout]  92 | |     quit: Arc<AtomicBool>,
[INFO] [stdout]  93 | | ) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]     | |_______________________________^
[INFO] [stdout]     |
[INFO] [stdout]     = help: specify the types explicitly
[INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail
[INFO] [stdout]    --> ch02/src/lib.rs:116:14
[INFO] [stdout]     |
[INFO] [stdout] 116 |         conn.del(&session_keys)?;
[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: use `()` annotations to avoid fallback changes
[INFO] [stdout]     |
[INFO] [stdout] 116 ~         conn.del::<_, ()>(&session_keys)?;
[INFO] [stdout] 117 ~         conn.hdel::<_, _, ()>("login:", &sessions)?;
[INFO] [stdout] 118 ~         conn.zrem::<_, _, ()>("recent:", &sessions)?;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: this function depends on never type fallback being `()`
[INFO] [stdout]    --> ch02/src/lib.rs:123:1
[INFO] [stdout]     |
[INFO] [stdout] 123 | / pub fn cache_request(
[INFO] [stdout] 124 | |     conn: &mut Connection,
[INFO] [stdout] 125 | |     request: &str,
[INFO] [stdout] 126 | |     callback: &dyn Fn(&str) -> String,
[INFO] [stdout] 127 | | ) -> Result<String, Box<dyn Error>> {
[INFO] [stdout]     | |___________________________________^
[INFO] [stdout]     |
[INFO] [stdout]     = help: specify the types explicitly
[INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail
[INFO] [stdout]    --> ch02/src/lib.rs:136:10
[INFO] [stdout]     |
[INFO] [stdout] 136 |     conn.set_ex(&page_key, &content, 300_usize)?;
[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: use `()` annotations to avoid fallback changes
[INFO] [stdout]     |
[INFO] [stdout] 136 |     conn.set_ex::<_, _, ()>(&page_key, &content, 300_usize)?;
[INFO] [stdout]     |                ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: this function depends on never type fallback being `()`
[INFO] [stdout]    --> ch02/src/lib.rs:150:1
[INFO] [stdout]     |
[INFO] [stdout] 150 | / pub fn schedule_row_cache(
[INFO] [stdout] 151 | |     conn: &mut Connection,
[INFO] [stdout] 152 | |     row_id: &str,
[INFO] [stdout] 153 | |     delay: isize,
[INFO] [stdout] 154 | | ) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]     | |_______________________________^
[INFO] [stdout]     |
[INFO] [stdout]     = help: specify the types explicitly
[INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail
[INFO] [stdout]    --> ch02/src/lib.rs:155:10
[INFO] [stdout]     |
[INFO] [stdout] 155 |     conn.zadd("delay:", row_id, delay)?;
[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: use `()` annotations to avoid fallback changes
[INFO] [stdout]     |
[INFO] [stdout] 155 ~     conn.zadd::<_, _, _, ()>("delay:", row_id, delay)?;
[INFO] [stdout] 156 |     let now = SystemTime::now().duration_since(UNIX_EPOCH)?.as_millis() as isize;
[INFO] [stdout] 157 ~     conn.zadd::<_, _, _, ()>("schedule:", row_id, now)?;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: this function depends on never type fallback being `()`
[INFO] [stdout]    --> ch02/src/lib.rs:161:1
[INFO] [stdout]     |
[INFO] [stdout] 161 | pub fn cache_rows(conn: &mut Connection, quit: Arc<AtomicBool>) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: specify the types explicitly
[INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail
[INFO] [stdout]    --> ch02/src/lib.rs:176:18
[INFO] [stdout]     |
[INFO] [stdout] 176 |             conn.zrem("delay:", &row_id)?;
[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: use `()` annotations to avoid fallback changes
[INFO] [stdout]     |
[INFO] [stdout] 176 ~             conn.zrem::<_, _, ()>("delay:", &row_id)?;
[INFO] [stdout] 177 ~             conn.zrem::<_, _, ()>("schedule:", &row_id)?;
[INFO] [stdout] 178 ~             conn.del::<_, ()>(&inv)?;
[INFO] [stdout] 179 |             continue;
[INFO] [stdout] ...
[INFO] [stdout] 184 |         let row = Inventory::get(&row_id);
[INFO] [stdout] 185 ~         conn.zadd::<_, _, _, ()>("schedule:", &row_id, now + delay)?;
[INFO] [stdout] 186 ~         conn.set::<_, _, ()>(&inv, serde_json::to_string(&row)?)?;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: this function depends on never type fallback being `()`
[INFO] [stdout]    --> ch02/src/lib.rs:191:1
[INFO] [stdout]     |
[INFO] [stdout] 191 | / pub fn rescale_viewed(
[INFO] [stdout] 192 | |     conn: &mut Connection,
[INFO] [stdout] 193 | |     quit: Arc<AtomicBool>,
[INFO] [stdout] 194 | | ) -> Result<bool, Box<dyn Error>> {
[INFO] [stdout]     | |_________________________________^
[INFO] [stdout]     |
[INFO] [stdout]     = help: specify the types explicitly
[INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail
[INFO] [stdout]    --> ch02/src/lib.rs:196:14
[INFO] [stdout]     |
[INFO] [stdout] 196 |         conn.zremrangebyrank("viewed:", 20000, -1)?;
[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: use `()` annotations to avoid fallback changes
[INFO] [stdout]     |
[INFO] [stdout] 196 ~         conn.zremrangebyrank::<_, ()>("viewed:", 20000, -1)?;
[INFO] [stdout] 197 ~         conn.zinterstore_weights::<_, _, ()>("viewed:", &[("viewed", 0.5)])?;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 2.12s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: ch01 v0.1.0 (/opt/rustwide/workdir/ch01), ch02 v0.1.0 (/opt/rustwide/workdir/ch02), redis v0.21.5, redis v0.21.5 (https://github.com/ndd7xv/redis-rs?branch=z-weights#bbe06834)
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 8`
[INFO] running `Command { std: "docker" "inspect" "9e39c6f4af9be9e6c0fd69ccd6a924804eab794f6472e8050bc36edff3e4b59a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9e39c6f4af9be9e6c0fd69ccd6a924804eab794f6472e8050bc36edff3e4b59a" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen" "--release", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr]   |
[INFO] [stderr]   = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr]   = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr]   = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr] warning: this function depends on never type fallback being `()`
[INFO] [stderr]   --> ch01/src/lib.rs:18:1
[INFO] [stderr]    |
[INFO] [stderr] 18 | / pub fn article_vote<S>(conn: &mut Connection, user: S, article: S) -> Result<(), Box<dyn Error>>
[INFO] [stderr] 19 | | where
[INFO] [stderr] 20 | |     S: Into<String>,
[INFO] [stderr]    | |____________________^
[INFO] [stderr]    |
[INFO] [stderr]    = help: specify the types explicitly
[INFO] [stderr] note: in edition 2024, the requirement `!: FromRedisValue` will fail
[INFO] [stderr]   --> ch01/src/lib.rs:38:14
[INFO] [stderr]    |
[INFO] [stderr] 38 |         conn.zincr("score:", &article, VOTE_SCORE)?;
[INFO] [stderr]    |              ^^^^^
[INFO] [stderr]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions!
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/never-type-fallback.html>
[INFO] [stderr]    = note: `#[warn(dependency_on_unit_never_type_fallback)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stderr] help: use `()` annotations to avoid fallback changes
[INFO] [stderr]    |
[INFO] [stderr] 38 ~         conn.zincr::<_, _, _, ()>("score:", &article, VOTE_SCORE)?;
[INFO] [stderr] 39 ~         conn.hincr::<_, _, _, ()>(&article, "votes", 1)?;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: this function depends on never type fallback being `()`
[INFO] [stderr]   --> ch01/src/lib.rs:44:1
[INFO] [stderr]    |
[INFO] [stderr] 44 | / pub fn post_article<S>(
[INFO] [stderr] 45 | |     conn: &mut Connection,
[INFO] [stderr] 46 | |     user: S,
[INFO] [stderr] 47 | |     title: S,
[INFO] [stderr] ...  |
[INFO] [stderr] 50 | | where
[INFO] [stderr] 51 | |     S: Into<String>,
[INFO] [stderr]    | |____________________^
[INFO] [stderr]    |
[INFO] [stderr]    = help: specify the types explicitly
[INFO] [stderr] note: in edition 2024, the requirement `!: FromRedisValue` will fail
[INFO] [stderr]   --> ch01/src/lib.rs:63:10
[INFO] [stderr]    |
[INFO] [stderr] 63 |     conn.sadd(&voted, &user)?;
[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: use `()` annotations to avoid fallback changes
[INFO] [stderr]    |
[INFO] [stderr] 63 ~     conn.sadd::<_, _, ()>(&voted, &user)?;
[INFO] [stderr] 64 ~     conn.expire::<_, ()>(&voted, ONE_WEEK_IN_SECONDS)?;
[INFO] [stderr] 65 |
[INFO] [stderr] ...
[INFO] [stderr] 71 |     article.push_str(&article_id);
[INFO] [stderr] 72 ~     conn.hset_multiple::<_, _, _, ()>(
[INFO] [stderr] 73 |         &article,
[INFO] [stderr] ...
[INFO] [stderr] 82 |
[INFO] [stderr] 83 ~     conn.zadd::<_, _, _, ()>(
[INFO] [stderr] 84 |         "score:",
[INFO] [stderr] ...
[INFO] [stderr] 87 |     )?;
[INFO] [stderr] 88 ~     conn.zadd::<_, _, _, ()>("time:", &article, &now)?;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: this function depends on never type fallback being `()`
[INFO] [stderr]    --> ch01/src/lib.rs:112:1
[INFO] [stderr]     |
[INFO] [stderr] 112 | / pub fn add_remove_groups<Q, R, S>(
[INFO] [stderr] 113 | |     conn: &mut Connection,
[INFO] [stderr] 114 | |     article_id: Q,
[INFO] [stderr] 115 | |     to_add: Vec<R>,
[INFO] [stderr] ...   |
[INFO] [stderr] 120 | |     R: Into<String>,
[INFO] [stderr] 121 | |     S: Into<String>,
[INFO] [stderr]     | |____________________^
[INFO] [stderr]     |
[INFO] [stderr]     = help: specify the types explicitly
[INFO] [stderr] note: in edition 2024, the requirement `!: FromRedisValue` will fail
[INFO] [stderr]    --> ch01/src/lib.rs:129:14
[INFO] [stderr]     |
[INFO] [stderr] 129 |         conn.sadd(group, &article)?;
[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: use `()` annotations to avoid fallback changes
[INFO] [stderr]     |
[INFO] [stderr] 129 ~         conn.sadd::<_, _, ()>(group, &article)?;
[INFO] [stderr] 130 |     }
[INFO] [stderr] ...
[INFO] [stderr] 134 |         group.push_str(&group_label.into());
[INFO] [stderr] 135 ~         conn.srem::<_, _, ()>(group, &article)?;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: this function depends on never type fallback being `()`
[INFO] [stderr]    --> ch01/src/lib.rs:140:1
[INFO] [stderr]     |
[INFO] [stderr] 140 | / pub fn get_group_articles<S>(
[INFO] [stderr] 141 | |     conn: &mut Connection,
[INFO] [stderr] 142 | |     group: S,
[INFO] [stderr] 143 | |     page: isize,
[INFO] [stderr] ...   |
[INFO] [stderr] 146 | | where
[INFO] [stderr] 147 | |     S: Into<String>,
[INFO] [stderr]     | |____________________^
[INFO] [stderr]     |
[INFO] [stderr]     = help: specify the types explicitly
[INFO] [stderr] note: in edition 2024, the requirement `!: FromRedisValue` will fail
[INFO] [stderr]    --> ch01/src/lib.rs:156:14
[INFO] [stderr]     |
[INFO] [stderr] 156 |         conn.zinterstore_max(&key, &[&group_key, &order])?;
[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: use `()` annotations to avoid fallback changes
[INFO] [stderr]     |
[INFO] [stderr] 156 ~         conn.zinterstore_max::<_, ()>(&key, &[&group_key, &order])?;
[INFO] [stderr] 157 ~         conn.expire::<_, ()>(&key, 60)?;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: `ch01` (lib) generated 4 warnings (run `cargo fix --lib -p ch01` to apply 4 suggestions)
[INFO] [stderr] warning: `ch01` (lib test) generated 4 warnings (4 duplicates)
[INFO] [stderr] warning: this function depends on never type fallback being `()`
[INFO] [stderr]   --> ch02/src/lib.rs:21:1
[INFO] [stderr]    |
[INFO] [stderr] 21 | / pub fn update_token(
[INFO] [stderr] 22 | |     conn: &mut Connection,
[INFO] [stderr] 23 | |     token: &str,
[INFO] [stderr] 24 | |     user: &str,
[INFO] [stderr] 25 | |     item: Option<&str>,
[INFO] [stderr] 26 | | ) -> Result<(), Box<dyn Error>> {
[INFO] [stderr]    | |_______________________________^
[INFO] [stderr]    |
[INFO] [stderr]    = help: specify the types explicitly
[INFO] [stderr] note: in edition 2024, the requirement `!: FromRedisValue` will fail
[INFO] [stderr]   --> ch02/src/lib.rs:28:10
[INFO] [stderr]    |
[INFO] [stderr] 28 |     conn.hset("login:", &token, user)?;
[INFO] [stderr]    |          ^^^^
[INFO] [stderr]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions!
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/never-type-fallback.html>
[INFO] [stderr]    = note: `#[warn(dependency_on_unit_never_type_fallback)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stderr] help: use `()` annotations to avoid fallback changes
[INFO] [stderr]    |
[INFO] [stderr] 28 ~     conn.hset::<_, _, _, ()>("login:", &token, user)?;
[INFO] [stderr] 29 ~     conn.zadd::<_, _, _, ()>("recent:", &token, timestamp)?;
[INFO] [stderr] 30 |
[INFO] [stderr] ...
[INFO] [stderr] 34 |
[INFO] [stderr] 35 ~         conn.zadd::<_, _, _, ()>(&viewed, item, timestamp)?;
[INFO] [stderr] 36 ~         conn.zremrangebyrank::<_, ()>(&viewed, 0, -26)?;
[INFO] [stderr] 37 ~         conn.zincr::<_, _, _, ()>("viewed:", item, -1)?;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: this function depends on never type fallback being `()`
[INFO] [stderr]   --> ch02/src/lib.rs:42:1
[INFO] [stderr]    |
[INFO] [stderr] 42 | / pub fn clean_sessions(
[INFO] [stderr] 43 | |     conn: &mut Connection,
[INFO] [stderr] 44 | |     limit: isize,
[INFO] [stderr] 45 | |     quit: Arc<AtomicBool>,
[INFO] [stderr] 46 | | ) -> Result<(), Box<dyn Error>> {
[INFO] [stderr]    | |_______________________________^
[INFO] [stderr]    |
[INFO] [stderr]    = help: specify the types explicitly
[INFO] [stderr] note: in edition 2024, the requirement `!: FromRedisValue` will fail
[INFO] [stderr]   --> ch02/src/lib.rs:65:14
[INFO] [stderr]    |
[INFO] [stderr] 65 |         conn.del(&views)?;
[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: use `()` annotations to avoid fallback changes
[INFO] [stderr]    |
[INFO] [stderr] 65 ~         conn.del::<_, ()>(&views)?;
[INFO] [stderr] 66 ~         conn.hdel::<_, _, ()>("login:", &tokens)?;
[INFO] [stderr] 67 ~         conn.zrem::<_, _, ()>("recent:", &tokens)?;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: this function depends on never type fallback being `()`
[INFO] [stderr]   --> ch02/src/lib.rs:72:1
[INFO] [stderr]    |
[INFO] [stderr] 72 | / pub fn add_to_cart(
[INFO] [stderr] 73 | |     conn: &mut Connection,
[INFO] [stderr] 74 | |     session: &str,
[INFO] [stderr] 75 | |     item: &str,
[INFO] [stderr] 76 | |     count: isize,
[INFO] [stderr] 77 | | ) -> Result<(), Box<dyn Error>> {
[INFO] [stderr]    | |_______________________________^
[INFO] [stderr]    |
[INFO] [stderr]    = help: specify the types explicitly
[INFO] [stderr] note: in edition 2024, the requirement `!: FromRedisValue` will fail
[INFO] [stderr]   --> ch02/src/lib.rs:82:14
[INFO] [stderr]    |
[INFO] [stderr] 82 |         conn.hdel(key, item)?;
[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: use `()` annotations to avoid fallback changes
[INFO] [stderr]    |
[INFO] [stderr] 82 ~         conn.hdel::<_, _, ()>(key, item)?;
[INFO] [stderr] 83 |     } else {
[INFO] [stderr] 84 ~         conn.hset::<_, _, _, ()>(key, item, count)?;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: this function depends on never type fallback being `()`
[INFO] [stderr]    --> ch02/src/lib.rs:89:1
[INFO] [stderr]     |
[INFO] [stderr]  89 | / pub fn clean_full_sessions(
[INFO] [stderr]  90 | |     conn: &mut Connection,
[INFO] [stderr]  91 | |     limit: isize,
[INFO] [stderr]  92 | |     quit: Arc<AtomicBool>,
[INFO] [stderr]  93 | | ) -> Result<(), Box<dyn Error>> {
[INFO] [stderr]     | |_______________________________^
[INFO] [stderr]     |
[INFO] [stderr]     = help: specify the types explicitly
[INFO] [stderr] note: in edition 2024, the requirement `!: FromRedisValue` will fail
[INFO] [stderr]    --> ch02/src/lib.rs:116:14
[INFO] [stderr]     |
[INFO] [stderr] 116 |         conn.del(&session_keys)?;
[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: use `()` annotations to avoid fallback changes
[INFO] [stderr]     |
[INFO] [stderr] 116 ~         conn.del::<_, ()>(&session_keys)?;
[INFO] [stderr] 117 ~         conn.hdel::<_, _, ()>("login:", &sessions)?;
[INFO] [stderr] 118 ~         conn.zrem::<_, _, ()>("recent:", &sessions)?;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: this function depends on never type fallback being `()`
[INFO] [stderr]    --> ch02/src/lib.rs:123:1
[INFO] [stderr]     |
[INFO] [stderr] 123 | / pub fn cache_request(
[INFO] [stderr] 124 | |     conn: &mut Connection,
[INFO] [stderr] 125 | |     request: &str,
[INFO] [stderr] 126 | |     callback: &dyn Fn(&str) -> String,
[INFO] [stderr] 127 | | ) -> Result<String, Box<dyn Error>> {
[INFO] [stderr]     | |___________________________________^
[INFO] [stderr]     |
[INFO] [stderr]     = help: specify the types explicitly
[INFO] [stderr] note: in edition 2024, the requirement `!: FromRedisValue` will fail
[INFO] [stderr]    --> ch02/src/lib.rs:136:10
[INFO] [stderr]     |
[INFO] [stderr] 136 |     conn.set_ex(&page_key, &content, 300_usize)?;
[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: use `()` annotations to avoid fallback changes
[INFO] [stderr]     |
[INFO] [stderr] 136 |     conn.set_ex::<_, _, ()>(&page_key, &content, 300_usize)?;
[INFO] [stderr]     |                ++++++++++++
[INFO] [stderr] 
[INFO] [stderr] warning: this function depends on never type fallback being `()`
[INFO] [stderr]    --> ch02/src/lib.rs:150:1
[INFO] [stderr]     |
[INFO] [stderr] 150 | / pub fn schedule_row_cache(
[INFO] [stderr] 151 | |     conn: &mut Connection,
[INFO] [stderr] 152 | |     row_id: &str,
[INFO] [stderr] 153 | |     delay: isize,
[INFO] [stderr] 154 | | ) -> Result<(), Box<dyn Error>> {
[INFO] [stderr]     | |_______________________________^
[INFO] [stderr]     |
[INFO] [stderr]     = help: specify the types explicitly
[INFO] [stderr] note: in edition 2024, the requirement `!: FromRedisValue` will fail
[INFO] [stderr]    --> ch02/src/lib.rs:155:10
[INFO] [stderr]     |
[INFO] [stderr] 155 |     conn.zadd("delay:", row_id, delay)?;
[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: use `()` annotations to avoid fallback changes
[INFO] [stderr]     |
[INFO] [stderr] 155 ~     conn.zadd::<_, _, _, ()>("delay:", row_id, delay)?;
[INFO] [stderr] 156 |     let now = SystemTime::now().duration_since(UNIX_EPOCH)?.as_millis() as isize;
[INFO] [stderr] 157 ~     conn.zadd::<_, _, _, ()>("schedule:", row_id, now)?;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: this function depends on never type fallback being `()`
[INFO] [stderr]    --> ch02/src/lib.rs:161:1
[INFO] [stderr]     |
[INFO] [stderr] 161 | pub fn cache_rows(conn: &mut Connection, quit: Arc<AtomicBool>) -> Result<(), Box<dyn Error>> {
[INFO] [stderr]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = help: specify the types explicitly
[INFO] [stderr] note: in edition 2024, the requirement `!: FromRedisValue` will fail
[INFO] [stderr]    --> ch02/src/lib.rs:176:18
[INFO] [stderr]     |
[INFO] [stderr] 176 |             conn.zrem("delay:", &row_id)?;
[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: use `()` annotations to avoid fallback changes
[INFO] [stderr]     |
[INFO] [stderr] 176 ~             conn.zrem::<_, _, ()>("delay:", &row_id)?;
[INFO] [stderr] 177 ~             conn.zrem::<_, _, ()>("schedule:", &row_id)?;
[INFO] [stderr] 178 ~             conn.del::<_, ()>(&inv)?;
[INFO] [stderr] 179 |             continue;
[INFO] [stderr] ...
[INFO] [stderr] 184 |         let row = Inventory::get(&row_id);
[INFO] [stderr] 185 ~         conn.zadd::<_, _, _, ()>("schedule:", &row_id, now + delay)?;
[INFO] [stderr] 186 ~         conn.set::<_, _, ()>(&inv, serde_json::to_string(&row)?)?;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: this function depends on never type fallback being `()`
[INFO] [stderr]    --> ch02/src/lib.rs:191:1
[INFO] [stderr]     |
[INFO] [stderr] 191 | / pub fn rescale_viewed(
[INFO] [stderr] 192 | |     conn: &mut Connection,
[INFO] [stderr] 193 | |     quit: Arc<AtomicBool>,
[INFO] [stderr] 194 | | ) -> Result<bool, Box<dyn Error>> {
[INFO] [stderr]     | |_________________________________^
[INFO] [stderr]     |
[INFO] [stderr]     = help: specify the types explicitly
[INFO] [stderr] note: in edition 2024, the requirement `!: FromRedisValue` will fail
[INFO] [stderr]    --> ch02/src/lib.rs:196:14
[INFO] [stderr]     |
[INFO] [stderr] 196 |         conn.zremrangebyrank("viewed:", 20000, -1)?;
[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: use `()` annotations to avoid fallback changes
[INFO] [stderr]     |
[INFO] [stderr] 196 ~         conn.zremrangebyrank::<_, ()>("viewed:", 20000, -1)?;
[INFO] [stderr] 197 ~         conn.zinterstore_weights::<_, _, ()>("viewed:", &[("viewed", 0.5)])?;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: `ch02` (lib) generated 8 warnings (run `cargo fix --lib -p ch02` to apply 8 suggestions)
[INFO] [stderr] warning: `ch02` (lib test) generated 8 warnings (8 duplicates)
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 0.10s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: ch01 v0.1.0 (/opt/rustwide/workdir/ch01), ch02 v0.1.0 (/opt/rustwide/workdir/ch02), redis v0.21.5, redis v0.21.5 (https://github.com/ndd7xv/redis-rs?branch=z-weights#bbe06834)
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 8`
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/release/deps/ch01-2b771679285e1192)
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test tests::test_article_functionality ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- tests::test_article_functionality stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'tests::test_article_functionality' (889) panicked at ch01/src/lib.rs:176:14:
[INFO] [stdout] Should be able to Establish Connection: Connection refused (os error 111)
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x63d4fe473ce1 - <<std[70759c8f55707aa4]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[df12db4294e9bfd3]::fmt::Display>::fmt
[INFO] [stdout]    1:     0x63d4fe48990a - core[df12db4294e9bfd3]::fmt::write
[INFO] [stdout]    2:     0x63d4fe4785bc - <alloc[2182bb758b4b3781]::vec::Vec<u8> as core[df12db4294e9bfd3]::io::write::Write>::write_fmt
[INFO] [stdout]    3:     0x63d4fe44f206 - std[70759c8f55707aa4]::panicking::default_hook::{closure#0}
[INFO] [stdout]    4:     0x63d4fe46bd59 - std[70759c8f55707aa4]::panicking::default_hook
[INFO] [stdout]    5:     0x63d4fe3db450 - test[9d35eded1c95d3be]::test_main_inner::<test[9d35eded1c95d3be]::test_main_static::{closure#0}>::{closure#0}
[INFO] [stdout]    6:     0x63d4fe46bf12 - std[70759c8f55707aa4]::panicking::panic_with_hook
[INFO] [stdout]    7:     0x63d4fe44f2b2 - std[70759c8f55707aa4]::panicking::panic_handler::{closure#0}
[INFO] [stdout]    8:     0x63d4fe447f59 - std[70759c8f55707aa4]::sys::backtrace::__rust_end_short_backtrace::<std[70759c8f55707aa4]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]    9:     0x63d4fe45009d - __rustc[8fa7c3cbc660c2b3]::rust_begin_unwind
[INFO] [stdout]   10:     0x63d4fe48a03c - core[df12db4294e9bfd3]::panicking::panic_fmt
[INFO] [stdout]   11:     0x63d4fe489e12 - core[df12db4294e9bfd3]::result::unwrap_failed
[INFO] [stdout]   12:     0x63d4fe3cbb94 - ch01[2be9963d27aa5f87]::tests::test_article_functionality
[INFO] [stdout]   13:     0x63d4fe3ca1c9 - <ch01[2be9963d27aa5f87]::tests::test_article_functionality::{closure#0} as core[df12db4294e9bfd3]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]   14:     0x63d4fe3ce73b - test[9d35eded1c95d3be]::__rust_begin_short_backtrace::<core[df12db4294e9bfd3]::result::Result<(), alloc[2182bb758b4b3781]::string::String>, fn() -> core[df12db4294e9bfd3]::result::Result<(), alloc[2182bb758b4b3781]::string::String>>
[INFO] [stdout]   15:     0x63d4fe3dbda5 - test[9d35eded1c95d3be]::run_test::{closure#0}
[INFO] [stdout]   16:     0x63d4fe3d5664 - std[70759c8f55707aa4]::sys::backtrace::__rust_begin_short_backtrace::<test[9d35eded1c95d3be]::run_test::{closure#1}, ()>
[INFO] [stdout]   17:     0x63d4fe3def02 - <std[70759c8f55707aa4]::thread::lifecycle::spawn_unchecked<test[9d35eded1c95d3be]::run_test::{closure#1}, ()>::{closure#1} as core[df12db4294e9bfd3]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]   18:     0x63d4fe473099 - <std[70759c8f55707aa4]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]   19:     0x7a6004c2adfa - <unknown>
[INFO] [stdout]   20:     0x7a6004cbe3d4 - clone
[INFO] [stdout]   21:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     tests::test_article_functionality
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `-p ch01 --lib`
[INFO] running `Command { std: "docker" "inspect" "9e39c6f4af9be9e6c0fd69ccd6a924804eab794f6472e8050bc36edff3e4b59a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9e39c6f4af9be9e6c0fd69ccd6a924804eab794f6472e8050bc36edff3e4b59a", kill_on_drop: false }`
[INFO] [stdout] 9e39c6f4af9be9e6c0fd69ccd6a924804eab794f6472e8050bc36edff3e4b59a
