[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 beta-2025-04-13 for beta-1.87-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fndd7xv%2Fredis-in-action-rs" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ndd7xv/redis-in-action-rs on toolchain beta-2025-04-13 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-04-13" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-5-tc2/source/Cargo.toml [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" "+beta-2025-04-13" "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] 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-04-13" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b5c7b364fe02b68746979ebb40f474f6fedcca3c760922ac8360459eb7568eca [INFO] running `Command { std: "docker" "start" "-a" "b5c7b364fe02b68746979ebb40f474f6fedcca3c760922ac8360459eb7568eca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b5c7b364fe02b68746979ebb40f474f6fedcca3c760922ac8360459eb7568eca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5c7b364fe02b68746979ebb40f474f6fedcca3c760922ac8360459eb7568eca", kill_on_drop: false }` [INFO] [stdout] b5c7b364fe02b68746979ebb40f474f6fedcca3c760922ac8360459eb7568eca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-04-13" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b98f7a513a43ce34a47cd4af0391714abca294fa01dd5fe3fd3382d0e3dfe46f [INFO] running `Command { std: "docker" "start" "-a" "b98f7a513a43ce34a47cd4af0391714abca294fa01dd5fe3fd3382d0e3dfe46f", 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] 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 matches v0.1.9 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling sha1_smol v1.0.0 [INFO] [stderr] Compiling async-trait v0.1.56 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling sha1 v0.6.1 [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 unicode-normalization v0.1.19 [INFO] [stderr] Compiling rand v0.8.5 [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 ch01 v0.1.0 (/opt/rustwide/workdir/ch01) [INFO] [stderr] Compiling ch02 v0.1.0 (/opt/rustwide/workdir/ch02) [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(conn: &mut Connection, user: S, article: S) -> Result<(), Box> [INFO] [stdout] 19 | | where [INFO] [stdout] 20 | | S: Into, [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 [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] = note: `#[warn(dependency_on_unit_never_type_fallback)]` 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( [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, [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 [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] 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( [INFO] [stdout] 113 | | conn: &mut Connection, [INFO] [stdout] 114 | | article_id: Q, [INFO] [stdout] 115 | | to_add: Vec, [INFO] [stdout] ... | [INFO] [stdout] 120 | | R: Into, [INFO] [stdout] 121 | | S: Into, [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 [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] 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( [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, [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 [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] 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> { [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 [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] = note: `#[warn(dependency_on_unit_never_type_fallback)]` 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, [INFO] [stdout] 46 | | ) -> Result<(), Box> { [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 [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] 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> { [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 [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] 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, [INFO] [stdout] 93 | | ) -> Result<(), Box> { [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 [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] 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> { [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 [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] 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> { [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 [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] 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) -> Result<(), Box> { [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 [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] 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, [INFO] [stdout] 194 | | ) -> Result> { [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 [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] 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 `dev` profile [unoptimized + debuginfo] target(s) in 17.62s [INFO] running `Command { std: "docker" "inspect" "b98f7a513a43ce34a47cd4af0391714abca294fa01dd5fe3fd3382d0e3dfe46f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b98f7a513a43ce34a47cd4af0391714abca294fa01dd5fe3fd3382d0e3dfe46f", kill_on_drop: false }` [INFO] [stdout] b98f7a513a43ce34a47cd4af0391714abca294fa01dd5fe3fd3382d0e3dfe46f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-04-13" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f9d3ffc711d43922729d26766f1b8d615378bc6670888d9bc4cb80533621224b [INFO] running `Command { std: "docker" "start" "-a" "f9d3ffc711d43922729d26766f1b8d615378bc6670888d9bc4cb80533621224b", 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] 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 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(conn: &mut Connection, user: S, article: S) -> Result<(), Box> [INFO] [stdout] 19 | | where [INFO] [stdout] 20 | | S: Into, [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 [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] = note: `#[warn(dependency_on_unit_never_type_fallback)]` 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( [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, [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 [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] 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( [INFO] [stdout] 113 | | conn: &mut Connection, [INFO] [stdout] 114 | | article_id: Q, [INFO] [stdout] 115 | | to_add: Vec, [INFO] [stdout] ... | [INFO] [stdout] 120 | | R: Into, [INFO] [stdout] 121 | | S: Into, [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 [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] 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( [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, [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 [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] 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> { [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 [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] = note: `#[warn(dependency_on_unit_never_type_fallback)]` 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, [INFO] [stdout] 46 | | ) -> Result<(), Box> { [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 [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] 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> { [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 [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] 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, [INFO] [stdout] 93 | | ) -> Result<(), Box> { [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 [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] 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> { [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 [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] 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> { [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 [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] 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) -> Result<(), Box> { [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 [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] 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, [INFO] [stdout] 194 | | ) -> Result> { [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 [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] 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] Compiling ch02 v0.1.0 (/opt/rustwide/workdir/ch02) [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(conn: &mut Connection, user: S, article: S) -> Result<(), Box> [INFO] [stdout] 19 | | where [INFO] [stdout] 20 | | S: Into, [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 [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] = note: `#[warn(dependency_on_unit_never_type_fallback)]` 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( [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, [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 [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] 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( [INFO] [stdout] 113 | | conn: &mut Connection, [INFO] [stdout] 114 | | article_id: Q, [INFO] [stdout] 115 | | to_add: Vec, [INFO] [stdout] ... | [INFO] [stdout] 120 | | R: Into, [INFO] [stdout] 121 | | S: Into, [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 [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] 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( [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, [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 [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] 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> { [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 [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] = note: `#[warn(dependency_on_unit_never_type_fallback)]` 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, [INFO] [stdout] 46 | | ) -> Result<(), Box> { [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 [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] 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> { [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 [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] 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, [INFO] [stdout] 93 | | ) -> Result<(), Box> { [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 [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] 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> { [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 [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] 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> { [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 [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] 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) -> Result<(), Box> { [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 [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] 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, [INFO] [stdout] 194 | | ) -> Result> { [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 [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] 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 `test` profile [unoptimized + debuginfo] target(s) in 1.91s [INFO] running `Command { std: "docker" "inspect" "f9d3ffc711d43922729d26766f1b8d615378bc6670888d9bc4cb80533621224b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9d3ffc711d43922729d26766f1b8d615378bc6670888d9bc4cb80533621224b", kill_on_drop: false }` [INFO] [stdout] f9d3ffc711d43922729d26766f1b8d615378bc6670888d9bc4cb80533621224b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-04-13" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c1e9f6f673f6739c2b34f39eef0479ae4db25b1481e92afe387ee5a77f82c42f [INFO] running `Command { std: "docker" "start" "-a" "c1e9f6f673f6739c2b34f39eef0479ae4db25b1481e92afe387ee5a77f82c42f", 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] 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(conn: &mut Connection, user: S, article: S) -> Result<(), Box> [INFO] [stderr] 19 | | where [INFO] [stderr] 20 | | S: Into, [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 [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] = note: `#[warn(dependency_on_unit_never_type_fallback)]` 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( [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, [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 [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] 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( [INFO] [stderr] 113 | | conn: &mut Connection, [INFO] [stderr] 114 | | article_id: Q, [INFO] [stderr] 115 | | to_add: Vec, [INFO] [stderr] ... | [INFO] [stderr] 120 | | R: Into, [INFO] [stderr] 121 | | S: Into, [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 [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] 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( [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, [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 [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] 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> { [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 [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] = note: `#[warn(dependency_on_unit_never_type_fallback)]` 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, [INFO] [stderr] 46 | | ) -> Result<(), Box> { [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 [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] 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> { [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 [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] 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, [INFO] [stderr] 93 | | ) -> Result<(), Box> { [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 [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] 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> { [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 [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] 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> { [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 [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] 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) -> Result<(), Box> { [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 [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] 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, [INFO] [stderr] 194 | | ) -> Result> { [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 [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] 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 `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ch01-79c600d49b07c83c) [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' 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: 0x5ed75444cac2 - std::backtrace_rs::backtrace::libunwind::trace::h97da83aab53f337d [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5ed75444cac2 - std::backtrace_rs::backtrace::trace_unsynchronized::h07d9fad959b0b0c4 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5ed75444cac2 - std::sys::backtrace::_print_fmt::h73b6844d523a91e6 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5ed75444cac2 - ::fmt::had50d3dbab4f9a49 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5ed754474333 - core::fmt::rt::Argument::fmt::h96dc2668ac588484 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/core/src/fmt/rt.rs:184:76 [INFO] [stdout] 5: 0x5ed754474333 - core::fmt::write::h3c068850dd3fcd11 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/core/src/fmt/mod.rs:1480:21 [INFO] [stdout] 6: 0x5ed754449453 - std::io::default_write_fmt::h9f5cac5e26eafb82 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5ed754449453 - std::io::Write::write_fmt::h9be88ac981c80255 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/std/src/io/mod.rs:1914:13 [INFO] [stdout] 8: 0x5ed75444c912 - std::sys::backtrace::BacktraceLock::print::h160d33c700b1accf [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5ed75444deac - std::panicking::default_hook::{{closure}}::hdccf862335980e92 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/std/src/panicking.rs:300:22 [INFO] [stdout] 10: 0x5ed75444dd02 - std::panicking::default_hook::h92ea296b4f4c5d78 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x5ed754377d44 - as core::ops::function::Fn>::call::h58e2cb0c3aa8f900 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 12: 0x5ed754377d44 - test::test_main::{{closure}}::h068e739b3ff3ace9 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/test/src/lib.rs:136:21 [INFO] [stdout] 13: 0x5ed75444e923 - as core::ops::function::Fn>::call::h4dc3b8e0d98a0945 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 14: 0x5ed75444e923 - std::panicking::rust_panic_with_hook::h53eb519a340d7090 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x5ed75444e5fa - std::panicking::begin_panic_handler::{{closure}}::h1b012222d781940d [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x5ed75444cfb9 - std::sys::backtrace::__rust_end_short_backtrace::hb1c00a6a74936045 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 17: 0x5ed75444e28d - __rustc[3fad54a3e94379e3]::rust_begin_unwind [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x5ed75432f6a0 - core::panicking::panic_fmt::h5646b0c12be1dead [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5ed75432fb36 - core::result::unwrap_failed::hc06d646aff6e2a9a [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/core/src/result.rs:1704:5 [INFO] [stdout] 20: 0x5ed75433d1d0 - core::result::Result::expect::h02fc8197e86b40ca [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/core/src/result.rs:1061:23 [INFO] [stdout] 21: 0x5ed7543394bb - ch01::tests::test_article_functionality::h52d382b9ef448c3c [INFO] [stdout] at /opt/rustwide/workdir/ch01/src/lib.rs:173:24 [INFO] [stdout] 22: 0x5ed7543393c7 - ch01::tests::test_article_functionality::{{closure}}::h27d56afcfdfaf972 [INFO] [stdout] at /opt/rustwide/workdir/ch01/src/lib.rs:172:36 [INFO] [stdout] 23: 0x5ed75433bbe6 - core::ops::function::FnOnce::call_once::h862f018fbd1d7b4e [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x5ed75437d69b - core::ops::function::FnOnce::call_once::h36fc4a9de3ab6dc6 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5ed75437d69b - test::__rust_begin_short_backtrace::ha0a98bb69b358a31 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/test/src/lib.rs:638:18 [INFO] [stdout] 26: 0x5ed75437c68f - test::run_test_in_process::{{closure}}::h8c178d13fba0a588 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/test/src/lib.rs:661:60 [INFO] [stdout] 27: 0x5ed75437c68f - as core::ops::function::FnOnce<()>>::call_once::hcf9a13e44c998160 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 28: 0x5ed75437c68f - std::panicking::try::do_call::h4af5be696220e430 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/std/src/panicking.rs:589:40 [INFO] [stdout] 29: 0x5ed75437c68f - std::panicking::try::hbf49a526ff439d5e [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/std/src/panicking.rs:552:19 [INFO] [stdout] 30: 0x5ed75437c68f - std::panic::catch_unwind::h73db1b343ad1c705 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x5ed75437c68f - test::run_test_in_process::hef059ed743ea6437 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/test/src/lib.rs:661:27 [INFO] [stdout] 32: 0x5ed75437c68f - test::run_test::{{closure}}::h9508bce7fbf1ad82 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/test/src/lib.rs:582:43 [INFO] [stdout] 33: 0x5ed754340de4 - test::run_test::{{closure}}::h70f94fa995999514 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/test/src/lib.rs:612:41 [INFO] [stdout] 34: 0x5ed754340de4 - std::sys::backtrace::__rust_begin_short_backtrace::hfc7043e7c8324aca [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 35: 0x5ed7543446da - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h599c966db81290c0 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x5ed7543446da - as core::ops::function::FnOnce<()>>::call_once::h499078bec004bb56 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x5ed7543446da - std::panicking::try::do_call::h336d5bb945571c50 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/std/src/panicking.rs:589:40 [INFO] [stdout] 38: 0x5ed7543446da - std::panicking::try::hea8a9a2c11807957 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/std/src/panicking.rs:552:19 [INFO] [stdout] 39: 0x5ed7543446da - std::panic::catch_unwind::hc46631a6d929f68d [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x5ed7543446da - std::thread::Builder::spawn_unchecked_::{{closure}}::he5729da5506c58d1 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x5ed7543446da - core::ops::function::FnOnce::call_once{{vtable.shim}}::h8b7f1215a4f7e46f [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x5ed75445067b - as core::ops::function::FnOnce>::call_once::h5e2c5a5b1d7d1d9c [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 43: 0x5ed75445067b - as core::ops::function::FnOnce>::call_once::hc50cd23acd01680e [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 44: 0x5ed75445067b - std::sys::pal::unix::thread::Thread::new::thread_start::hb3d0e19f380baa62 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/std/src/sys/pal/unix/thread.rs:109:17 [INFO] [stdout] 45: 0x7329c76faaa4 - [INFO] [stdout] 46: 0x7329c7787a34 - clone [INFO] [stdout] 47: 0x0 - [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.04s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `-p ch01 --lib` [INFO] running `Command { std: "docker" "inspect" "c1e9f6f673f6739c2b34f39eef0479ae4db25b1481e92afe387ee5a77f82c42f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1e9f6f673f6739c2b34f39eef0479ae4db25b1481e92afe387ee5a77f82c42f", kill_on_drop: false }` [INFO] [stdout] c1e9f6f673f6739c2b34f39eef0479ae4db25b1481e92afe387ee5a77f82c42f