[INFO] fetching crate libmcaptcha 0.2.4... [INFO] checking libmcaptcha-0.2.4 against try#65132f36b923285d5da381c2fbafee6ce899e841 for pr-132712-1 [INFO] extracting crate libmcaptcha 0.2.4 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate libmcaptcha 0.2.4 on toolchain 65132f36b923285d5da381c2fbafee6ce899e841 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate libmcaptcha 0.2.4 [INFO] finished tweaking crates.io crate libmcaptcha 0.2.4 [INFO] tweaked toml for crates.io crate libmcaptcha 0.2.4 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate crates.io crate libmcaptcha 0.2.4 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" "+65132f36b923285d5da381c2fbafee6ce899e841" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ca45d1c62a05fc551bba5166d15073b47924eb0306dc50900e381b67271e0467 [INFO] running `Command { std: "docker" "start" "-a" "ca45d1c62a05fc551bba5166d15073b47924eb0306dc50900e381b67271e0467", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ca45d1c62a05fc551bba5166d15073b47924eb0306dc50900e381b67271e0467", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca45d1c62a05fc551bba5166d15073b47924eb0306dc50900e381b67271e0467", kill_on_drop: false }` [INFO] [stdout] ca45d1c62a05fc551bba5166d15073b47924eb0306dc50900e381b67271e0467 [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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5a7dc2895b42629837b0a850b0c78bc97d1a7a4dfdbcdf3c6f2935201e285270 [INFO] running `Command { std: "docker" "start" "-a" "5a7dc2895b42629837b0a850b0c78bc97d1a7a4dfdbcdf3c6f2935201e285270", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Checking smallvec v1.11.1 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling serde v1.0.189 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling rustix v0.38.19 [INFO] [stderr] Checking futures-io v0.3.28 [INFO] [stderr] Checking bitflags v2.4.0 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking linux-raw-sys v0.4.10 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Checking unicode-bidi v0.3.13 [INFO] [stderr] Compiling async-trait v0.1.73 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Compiling crc16 v0.4.0 [INFO] [stderr] Checking termcolor v1.3.0 [INFO] [stderr] Checking form_urlencoded v1.2.0 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking cpufeatures v0.2.9 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking arc-swap v1.6.0 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking tracing v0.1.39 [INFO] [stderr] Checking idna v0.4.0 [INFO] [stderr] Checking sha1_smol v1.0.0 [INFO] [stderr] Checking crossbeam-channel v0.5.8 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking socket2 v0.5.4 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking url v2.4.1 [INFO] [stderr] Checking scheduled-thread-pool v0.2.7 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking tokio v1.33.0 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking r2d2 v0.8.10 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Checking regex-automata v0.4.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking regex v1.10.1 [INFO] [stderr] Checking env_logger v0.10.0 [INFO] [stderr] Checking pretty_env_logger v0.5.0 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling serde_derive v1.0.189 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling actix_derive v0.6.1 [INFO] [stderr] Checking tokio-util v0.7.9 [INFO] [stderr] Checking actix-rt v2.9.0 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Checking pin-project v1.1.3 [INFO] [stderr] Checking combine v4.6.6 [INFO] [stderr] Checking tokio-retry v0.3.0 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling derive_builder_core v0.12.0 [INFO] [stderr] Compiling derive_builder_macro v0.12.0 [INFO] [stderr] Checking derive_builder v0.12.0 [INFO] [stderr] Checking futures-executor v0.3.28 [INFO] [stderr] Checking actix v0.13.1 [INFO] [stderr] Checking futures v0.3.28 [INFO] [stderr] Checking num-complex v0.4.4 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking redis v0.23.3 [INFO] [stderr] Checking num v0.4.1 [INFO] [stderr] Checking mcaptcha_pow_sha256 v0.4.0 [INFO] [stderr] Checking libmcaptcha v0.2.4 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/redis/mod.rs (1 fix) [INFO] [stderr] Fixed src/queue.rs (5 fixes) [INFO] [stderr] Fixed src/pow.rs (3 fixes) [INFO] [stderr] Fixed src/master/embedded/master.rs (2 fixes) [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/redis/mcaptcha_redis.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | pub async fn add_mcaptcha(&self, msg: AddSite) -> CaptchaResult<()> { [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 issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/redis/mcaptcha_redis.rs:130:14 [INFO] [stdout] | [INFO] [stdout] 130 | .exec(redis::cmd(ADD_CAPTCHA).arg(&[name, payload])) [INFO] [stdout] | ^^^^ [INFO] [stdout] = note: `--force-warn dependency-on-unit-never-type-fallback` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/redis/mcaptcha_redis.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 156 | pub async fn delete_captcha(&self, captcha: &str) -> CaptchaResult<()> { [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 issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/redis/mcaptcha_redis.rs:157:16 [INFO] [stdout] | [INFO] [stdout] 157 | self.0.exec(redis::cmd(DEL).arg(&[captcha])).await?; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/redis/mcaptcha_redis.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 162 | pub async fn rename_captcha(&self, name: &str, rename_to: &str) -> CaptchaResult<()> { [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 issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/redis/mcaptcha_redis.rs:164:14 [INFO] [stdout] | [INFO] [stdout] 164 | .exec(redis::cmd(RENAME_CAPTCHA).arg(&[name, rename_to])) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/redis/mcaptcha_redis.rs:170:5 [INFO] [stdout] | [INFO] [stdout] 170 | / pub async fn add_challenge( [INFO] [stdout] 171 | | &self, [INFO] [stdout] 172 | | captcha: &str, [INFO] [stdout] 173 | | challlenge: &AddChallenge, [INFO] [stdout] 174 | | ) -> CaptchaResult<()> { [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 issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/redis/mcaptcha_redis.rs:177:14 [INFO] [stdout] | [INFO] [stdout] 177 | .exec(redis::cmd(ADD_CHALLENGE).arg(&[captcha, &payload])) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/redis/mcaptcha_redis.rs:195:5 [INFO] [stdout] | [INFO] [stdout] 195 | pub async fn delete_challenge(&self, msg: &VerifyCaptchaResult) -> CaptchaResult<()> { [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 issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/redis/mcaptcha_redis.rs:197:14 [INFO] [stdout] | [INFO] [stdout] 197 | .exec(redis::cmd(DELETE_CHALLENGE).arg(&[&msg.key, &msg.token])) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/redis/mcaptcha_redis.rs:237:5 [INFO] [stdout] | [INFO] [stdout] 237 | pub async fn delete_token(&self, msg: &VerifyCaptchaResult) -> CaptchaResult<()> { [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 issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/redis/mcaptcha_redis.rs:241:16 [INFO] [stdout] | [INFO] [stdout] 241 | self.0.exec(redis::cmd("DEL").arg(&[&key])).await?; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/queue.rs (1 fix) [INFO] [stderr] Migrating examples/simple.rs from 2021 edition to 2024 [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/redis/mcaptcha_redis.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | pub async fn add_mcaptcha(&self, msg: AddSite) -> CaptchaResult<()> { [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 issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/redis/mcaptcha_redis.rs:130:14 [INFO] [stdout] | [INFO] [stdout] 130 | .exec(redis::cmd(ADD_CAPTCHA).arg(&[name, payload])) [INFO] [stdout] | ^^^^ [INFO] [stdout] = note: `--force-warn dependency-on-unit-never-type-fallback` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/redis/mcaptcha_redis.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 156 | pub async fn delete_captcha(&self, captcha: &str) -> CaptchaResult<()> { [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 issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/redis/mcaptcha_redis.rs:157:16 [INFO] [stdout] | [INFO] [stdout] 157 | self.0.exec(redis::cmd(DEL).arg(&[captcha])).await?; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/redis/mcaptcha_redis.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 162 | pub async fn rename_captcha(&self, name: &str, rename_to: &str) -> CaptchaResult<()> { [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 issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/redis/mcaptcha_redis.rs:164:14 [INFO] [stdout] | [INFO] [stdout] 164 | .exec(redis::cmd(RENAME_CAPTCHA).arg(&[name, rename_to])) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/redis/mcaptcha_redis.rs:170:5 [INFO] [stdout] | [INFO] [stdout] 170 | / pub async fn add_challenge( [INFO] [stdout] 171 | | &self, [INFO] [stdout] 172 | | captcha: &str, [INFO] [stdout] 173 | | challlenge: &AddChallenge, [INFO] [stdout] 174 | | ) -> CaptchaResult<()> { [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 issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/redis/mcaptcha_redis.rs:177:14 [INFO] [stdout] | [INFO] [stdout] 177 | .exec(redis::cmd(ADD_CHALLENGE).arg(&[captcha, &payload])) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/redis/mcaptcha_redis.rs:195:5 [INFO] [stdout] | [INFO] [stdout] 195 | pub async fn delete_challenge(&self, msg: &VerifyCaptchaResult) -> CaptchaResult<()> { [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 issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/redis/mcaptcha_redis.rs:197:14 [INFO] [stdout] | [INFO] [stdout] 197 | .exec(redis::cmd(DELETE_CHALLENGE).arg(&[&msg.key, &msg.token])) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/redis/mcaptcha_redis.rs:237:5 [INFO] [stdout] | [INFO] [stdout] 237 | pub async fn delete_token(&self, msg: &VerifyCaptchaResult) -> CaptchaResult<()> { [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 issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/redis/mcaptcha_redis.rs:241:16 [INFO] [stdout] | [INFO] [stdout] 241 | self.0.exec(redis::cmd("DEL").arg(&[&key])).await?; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.92s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking libmcaptcha v0.2.4 (/tmp/fixit) [INFO] [stdout] error[E0277]: the trait bound `!: FromRedisValue` is not satisfied [INFO] [stdout] --> src/redis/mcaptcha_redis.rs:130:14 [INFO] [stdout] | [INFO] [stdout] 130 | .exec(redis::cmd(ADD_CAPTCHA).arg(&[name, payload])) [INFO] [stdout] | ^^^^ the trait `FromRedisValue` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `FromRedisValue`: [INFO] [stdout] () [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T10, T11, T12) [INFO] [stdout] (T11, T12) [INFO] [stdout] (T12,) [INFO] [stdout] (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] and 42 others [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #48950 for more information) [INFO] [stdout] = help: did you intend to use the type `()` here instead? [INFO] [stdout] note: required by a bound in `RedisConnection::exec` [INFO] [stdout] --> src/redis/mod.rs:75:26 [INFO] [stdout] | [INFO] [stdout] 75 | pub async fn exec(&self, cmd: &mut redis::Cmd) -> redis::RedisResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `RedisConnection::exec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: FromRedisValue` is not satisfied [INFO] [stdout] --> src/redis/mcaptcha_redis.rs:130:14 [INFO] [stdout] | [INFO] [stdout] 130 | .exec(redis::cmd(ADD_CAPTCHA).arg(&[name, payload])) [INFO] [stdout] | ^^^^ the trait `FromRedisValue` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `FromRedisValue`: [INFO] [stdout] () [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T10, T11, T12) [INFO] [stdout] (T11, T12) [INFO] [stdout] (T12,) [INFO] [stdout] (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] and 42 others [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #48950 for more information) [INFO] [stdout] = help: did you intend to use the type `()` here instead? [INFO] [stdout] note: required by a bound in `RedisConnection::exec` [INFO] [stdout] --> src/redis/mod.rs:75:26 [INFO] [stdout] | [INFO] [stdout] 75 | pub async fn exec(&self, cmd: &mut redis::Cmd) -> redis::RedisResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `RedisConnection::exec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: FromRedisValue` is not satisfied [INFO] [stdout] --> src/redis/mcaptcha_redis.rs:157:16 [INFO] [stdout] | [INFO] [stdout] 157 | self.0.exec(redis::cmd(DEL).arg(&[captcha])).await?; [INFO] [stdout] | ^^^^ the trait `FromRedisValue` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `FromRedisValue`: [INFO] [stdout] () [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T10, T11, T12) [INFO] [stdout] (T11, T12) [INFO] [stdout] (T12,) [INFO] [stdout] (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] and 42 others [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #48950 for more information) [INFO] [stdout] = help: did you intend to use the type `()` here instead? [INFO] [stdout] note: required by a bound in `RedisConnection::exec` [INFO] [stdout] --> src/redis/mod.rs:75:26 [INFO] [stdout] | [INFO] [stdout] 75 | pub async fn exec(&self, cmd: &mut redis::Cmd) -> redis::RedisResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `RedisConnection::exec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: FromRedisValue` is not satisfied [INFO] [stdout] --> src/redis/mcaptcha_redis.rs:157:16 [INFO] [stdout] | [INFO] [stdout] 157 | self.0.exec(redis::cmd(DEL).arg(&[captcha])).await?; [INFO] [stdout] | ^^^^ the trait `FromRedisValue` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `FromRedisValue`: [INFO] [stdout] () [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T10, T11, T12) [INFO] [stdout] (T11, T12) [INFO] [stdout] (T12,) [INFO] [stdout] (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] and 42 others [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #48950 for more information) [INFO] [stdout] = help: did you intend to use the type `()` here instead? [INFO] [stdout] note: required by a bound in `RedisConnection::exec` [INFO] [stdout] --> src/redis/mod.rs:75:26 [INFO] [stdout] | [INFO] [stdout] 75 | pub async fn exec(&self, cmd: &mut redis::Cmd) -> redis::RedisResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `RedisConnection::exec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: FromRedisValue` is not satisfied [INFO] [stdout] --> src/redis/mcaptcha_redis.rs:164:14 [INFO] [stdout] | [INFO] [stdout] 164 | .exec(redis::cmd(RENAME_CAPTCHA).arg(&[name, rename_to])) [INFO] [stdout] | ^^^^ the trait `FromRedisValue` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `FromRedisValue`: [INFO] [stdout] () [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T10, T11, T12) [INFO] [stdout] (T11, T12) [INFO] [stdout] (T12,) [INFO] [stdout] (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] and 42 others [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #48950 for more information) [INFO] [stdout] = help: did you intend to use the type `()` here instead? [INFO] [stdout] note: required by a bound in `RedisConnection::exec` [INFO] [stdout] --> src/redis/mod.rs:75:26 [INFO] [stdout] | [INFO] [stdout] 75 | pub async fn exec(&self, cmd: &mut redis::Cmd) -> redis::RedisResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `RedisConnection::exec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: FromRedisValue` is not satisfied [INFO] [stdout] --> src/redis/mcaptcha_redis.rs:164:14 [INFO] [stdout] | [INFO] [stdout] 164 | .exec(redis::cmd(RENAME_CAPTCHA).arg(&[name, rename_to])) [INFO] [stdout] | ^^^^ the trait `FromRedisValue` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `FromRedisValue`: [INFO] [stdout] () [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T10, T11, T12) [INFO] [stdout] (T11, T12) [INFO] [stdout] (T12,) [INFO] [stdout] (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] and 42 others [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #48950 for more information) [INFO] [stdout] = help: did you intend to use the type `()` here instead? [INFO] [stdout] note: required by a bound in `RedisConnection::exec` [INFO] [stdout] --> src/redis/mod.rs:75:26 [INFO] [stdout] | [INFO] [stdout] 75 | pub async fn exec(&self, cmd: &mut redis::Cmd) -> redis::RedisResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `RedisConnection::exec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: FromRedisValue` is not satisfied [INFO] [stdout] --> src/redis/mcaptcha_redis.rs:177:14 [INFO] [stdout] | [INFO] [stdout] 177 | .exec(redis::cmd(ADD_CHALLENGE).arg(&[captcha, &payload])) [INFO] [stdout] | ^^^^ the trait `FromRedisValue` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `FromRedisValue`: [INFO] [stdout] () [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T10, T11, T12) [INFO] [stdout] (T11, T12) [INFO] [stdout] (T12,) [INFO] [stdout] (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] and 42 others [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #48950 for more information) [INFO] [stdout] = help: did you intend to use the type `()` here instead? [INFO] [stdout] note: required by a bound in `RedisConnection::exec` [INFO] [stdout] --> src/redis/mod.rs:75:26 [INFO] [stdout] | [INFO] [stdout] 75 | pub async fn exec(&self, cmd: &mut redis::Cmd) -> redis::RedisResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `RedisConnection::exec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: FromRedisValue` is not satisfied [INFO] [stdout] --> src/redis/mcaptcha_redis.rs:177:14 [INFO] [stdout] | [INFO] [stdout] 177 | .exec(redis::cmd(ADD_CHALLENGE).arg(&[captcha, &payload])) [INFO] [stdout] | ^^^^ the trait `FromRedisValue` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `FromRedisValue`: [INFO] [stdout] () [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T10, T11, T12) [INFO] [stdout] (T11, T12) [INFO] [stdout] (T12,) [INFO] [stdout] (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] and 42 others [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #48950 for more information) [INFO] [stdout] = help: did you intend to use the type `()` here instead? [INFO] [stdout] note: required by a bound in `RedisConnection::exec` [INFO] [stdout] --> src/redis/mod.rs:75:26 [INFO] [stdout] | [INFO] [stdout] 75 | pub async fn exec(&self, cmd: &mut redis::Cmd) -> redis::RedisResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `RedisConnection::exec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: FromRedisValue` is not satisfied [INFO] [stdout] --> src/redis/mcaptcha_redis.rs:197:14 [INFO] [stdout] | [INFO] [stdout] 197 | .exec(redis::cmd(DELETE_CHALLENGE).arg(&[&msg.key, &msg.token])) [INFO] [stdout] | ^^^^ the trait `FromRedisValue` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `FromRedisValue`: [INFO] [stdout] () [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T10, T11, T12) [INFO] [stdout] (T11, T12) [INFO] [stdout] (T12,) [INFO] [stdout] (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] and 42 others [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #48950 for more information) [INFO] [stdout] = help: did you intend to use the type `()` here instead? [INFO] [stdout] note: required by a bound in `RedisConnection::exec` [INFO] [stdout] --> src/redis/mod.rs:75:26 [INFO] [stdout] | [INFO] [stdout] 75 | pub async fn exec(&self, cmd: &mut redis::Cmd) -> redis::RedisResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `RedisConnection::exec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: FromRedisValue` is not satisfied [INFO] [stdout] --> src/redis/mcaptcha_redis.rs:197:14 [INFO] [stdout] | [INFO] [stdout] 197 | .exec(redis::cmd(DELETE_CHALLENGE).arg(&[&msg.key, &msg.token])) [INFO] [stdout] | ^^^^ the trait `FromRedisValue` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `FromRedisValue`: [INFO] [stdout] () [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T10, T11, T12) [INFO] [stdout] (T11, T12) [INFO] [stdout] (T12,) [INFO] [stdout] (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] and 42 others [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #48950 for more information) [INFO] [stdout] = help: did you intend to use the type `()` here instead? [INFO] [stdout] note: required by a bound in `RedisConnection::exec` [INFO] [stdout] --> src/redis/mod.rs:75:26 [INFO] [stdout] | [INFO] [stdout] 75 | pub async fn exec(&self, cmd: &mut redis::Cmd) -> redis::RedisResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `RedisConnection::exec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: FromRedisValue` is not satisfied [INFO] [stdout] --> src/redis/mcaptcha_redis.rs:241:16 [INFO] [stdout] | [INFO] [stdout] 241 | self.0.exec(redis::cmd("DEL").arg(&[&key])).await?; [INFO] [stdout] | ^^^^ the trait `FromRedisValue` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `FromRedisValue`: [INFO] [stdout] () [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T10, T11, T12) [INFO] [stdout] (T11, T12) [INFO] [stdout] (T12,) [INFO] [stdout] (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] and 42 others [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #48950 for more information) [INFO] [stdout] = help: did you intend to use the type `()` here instead? [INFO] [stdout] note: required by a bound in `RedisConnection::exec` [INFO] [stdout] --> src/redis/mod.rs:75:26 [INFO] [stdout] | [INFO] [stdout] 75 | pub async fn exec(&self, cmd: &mut redis::Cmd) -> redis::RedisResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `RedisConnection::exec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: FromRedisValue` is not satisfied [INFO] [stdout] --> src/redis/mcaptcha_redis.rs:241:16 [INFO] [stdout] | [INFO] [stdout] 241 | self.0.exec(redis::cmd("DEL").arg(&[&key])).await?; [INFO] [stdout] | ^^^^ the trait `FromRedisValue` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `FromRedisValue`: [INFO] [stdout] () [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T10, T11, T12) [INFO] [stdout] (T11, T12) [INFO] [stdout] (T12,) [INFO] [stdout] (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] and 42 others [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #48950 for more information) [INFO] [stdout] = help: did you intend to use the type `()` here instead? [INFO] [stdout] note: required by a bound in `RedisConnection::exec` [INFO] [stdout] --> src/redis/mod.rs:75:26 [INFO] [stdout] | [INFO] [stdout] 75 | pub async fn exec(&self, cmd: &mut redis::Cmd) -> redis::RedisResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `RedisConnection::exec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `libmcaptcha` (lib) due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `libmcaptcha` (lib test) due to 6 previous errors [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "5a7dc2895b42629837b0a850b0c78bc97d1a7a4dfdbcdf3c6f2935201e285270", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a7dc2895b42629837b0a850b0c78bc97d1a7a4dfdbcdf3c6f2935201e285270", kill_on_drop: false }` [INFO] [stdout] 5a7dc2895b42629837b0a850b0c78bc97d1a7a4dfdbcdf3c6f2935201e285270