[INFO] cloning repository https://github.com/JonathanWoollett-Light/redis-locking [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JonathanWoollett-Light/redis-locking" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJonathanWoollett-Light%2Fredis-locking", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJonathanWoollett-Light%2Fredis-locking'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 080d9e850846536003a648b45f40040ec2730d25 [INFO] checking JonathanWoollett-Light/redis-locking/080d9e850846536003a648b45f40040ec2730d25 against try#65132f36b923285d5da381c2fbafee6ce899e841 for pr-132712-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJonathanWoollett-Light%2Fredis-locking" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JonathanWoollett-Light/redis-locking 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 git repo https://github.com/JonathanWoollett-Light/redis-locking [INFO] finished tweaking git repo https://github.com/JonathanWoollett-Light/redis-locking [INFO] tweaked toml for git repo https://github.com/JonathanWoollett-Light/redis-locking written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/JonathanWoollett-Light/redis-locking 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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 0e321c619cf9d4fb29df867f116e2d5b0c0be894a4425eed259ba9b44f8a1caf [INFO] running `Command { std: "docker" "start" "-a" "0e321c619cf9d4fb29df867f116e2d5b0c0be894a4425eed259ba9b44f8a1caf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0e321c619cf9d4fb29df867f116e2d5b0c0be894a4425eed259ba9b44f8a1caf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e321c619cf9d4fb29df867f116e2d5b0c0be894a4425eed259ba9b44f8a1caf", kill_on_drop: false }` [INFO] [stdout] 0e321c619cf9d4fb29df867f116e2d5b0c0be894a4425eed259ba9b44f8a1caf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] e2eb13dcba76f6b27aff13f0a3176180575f76582c9106f6830c98f7518407e4 [INFO] running `Command { std: "docker" "start" "-a" "e2eb13dcba76f6b27aff13f0a3176180575f76582c9106f6830c98f7518407e4", 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.89 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling libc v0.2.161 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking tinyvec v1.8.0 [INFO] [stderr] Checking bytes v1.8.0 [INFO] [stderr] Checking unicode-bidi v0.3.17 [INFO] [stderr] Compiling thiserror v1.0.65 [INFO] [stderr] Checking sha1_smol v1.0.1 [INFO] [stderr] Checking arc-swap v1.7.1 [INFO] [stderr] Compiling redis-lock v0.5.1 (/tmp/fixit) [INFO] [stderr] Migrating build.rs from 2021 edition to 2024 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Compiling portable-atomic v1.9.0 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking sdd v3.0.4 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking unicode-width v0.2.0 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Checking scc v2.2.2 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Compiling syn v2.0.82 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking uuid v1.11.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking indicatif v0.17.9 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v1.0.65 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serial_test_derive v3.1.1 [INFO] [stderr] Checking tokio v1.41.0 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking serial_test v3.1.1 [INFO] [stderr] Checking tokio-util v0.7.12 [INFO] [stderr] Checking combine v4.6.7 [INFO] [stderr] Checking redis v0.27.5 [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/single.rs:191:84 [INFO] [stdout] | [INFO] [stdout] 190 | let mut guard = cconn.lock().await; [INFO] [stdout] | --------- [INFO] [stdout] | | [INFO] [stdout] | `guard` calls a custom destructor [INFO] [stdout] | `guard` will be dropped later as of Edition 2024 [INFO] [stdout] 191 | try_acquire_lock(&mut *guard, &cresource_key, &cvalue, ttl_millis).await [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] 192 | }); [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] note: `guard` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/sync/mutex.rs:963:1 [INFO] [stdout] | [INFO] [stdout] 963 | impl Drop for MutexGuard<'_, T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/single.rs:276:74 [INFO] [stdout] | [INFO] [stdout] 275 | let mut guard = cconn.lock().await; [INFO] [stdout] | --------- [INFO] [stdout] | | [INFO] [stdout] | `guard` calls a custom destructor [INFO] [stdout] | `guard` will be dropped later as of Edition 2024 [INFO] [stdout] 276 | release_lock_on_connection(&mut *guard, &cresource, &cvalue).await [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] 277 | }) [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] note: `guard` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.0/src/sync/mutex.rs:963:1 [INFO] [stdout] | [INFO] [stdout] 963 | impl Drop for MutexGuard<'_, T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating src/bin/five.rs from 2021 edition to 2024 [INFO] [stderr] Migrating src/bin/three.rs from 2021 edition to 2024 [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/bin/three.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / async fn transfer( [INFO] [stdout] 12 | | conn: &mut MultiplexedConnection, [INFO] [stdout] 13 | | from: &str, [INFO] [stdout] 14 | | to: &str, [INFO] [stdout] 15 | | amount: i64, [INFO] [stdout] 16 | | ) -> 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 issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/bin/three.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 22 | conn.set(from, from_balance.checked_sub(amount).ok_or("underflow")?) [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] [stderr] Migrating src/bin/four.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/bin/four.rs (1 fix) [INFO] [stderr] Migrating tests/integration_tests.rs from 2021 edition to 2024 [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/bin/three.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / async fn transfer( [INFO] [stdout] 12 | | conn: &mut MultiplexedConnection, [INFO] [stdout] 13 | | from: &str, [INFO] [stdout] 14 | | to: &str, [INFO] [stdout] 15 | | amount: i64, [INFO] [stdout] 16 | | ) -> 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 issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/bin/three.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 22 | conn.set(from, from_balance.checked_sub(amount).ok_or("underflow")?) [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.04s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Compiling redis-lock v0.5.1 (/tmp/fixit) [INFO] [stdout] error[E0277]: the trait bound `!: FromRedisValue` is not satisfied [INFO] [stdout] --> src/bin/three.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 22 | conn.set(from, from_balance.checked_sub(amount).ok_or("underflow")?) [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 49 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 `redis::AsyncCommands::set` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/redis-0.27.5/src/commands/mod.rs:136:1 [INFO] [stdout] | [INFO] [stdout] 136 | / implement_commands! { [INFO] [stdout] 137 | | 'a [INFO] [stdout] 138 | | // most common operations [INFO] [stdout] ... | [INFO] [stdout] 156 | | fn set(key: K, value: V) { [INFO] [stdout] | | --- required by a bound in this associated function [INFO] [stdout] ... | [INFO] [stdout] 2178 | | } [INFO] [stdout] 2179 | | } [INFO] [stdout] | |_^ required by this bound in `AsyncCommands::set` [INFO] [stdout] = note: this error originates in the macro `implement_commands` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: FromRedisValue` is not satisfied [INFO] [stdout] --> src/bin/three.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 22 | conn.set(from, from_balance.checked_sub(amount).ok_or("underflow")?) [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 49 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 `redis::AsyncCommands::set` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/redis-0.27.5/src/commands/mod.rs:136:1 [INFO] [stdout] | [INFO] [stdout] 136 | / implement_commands! { [INFO] [stdout] 137 | | 'a [INFO] [stdout] 138 | | // most common operations [INFO] [stdout] ... | [INFO] [stdout] 156 | | fn set(key: K, value: V) { [INFO] [stdout] | | --- required by a bound in this associated function [INFO] [stdout] ... | [INFO] [stdout] 2178 | | } [INFO] [stdout] 2179 | | } [INFO] [stdout] | |_^ required by this bound in `AsyncCommands::set` [INFO] [stdout] = note: this error originates in the macro `implement_commands` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: FromRedisValue` is not satisfied [INFO] [stdout] --> src/bin/three.rs:24:14 [INFO] [stdout] | [INFO] [stdout] 24 | conn.set(to, to_balance.checked_add(amount).ok_or("overflow")?) [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 49 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 `redis::AsyncCommands::set` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/redis-0.27.5/src/commands/mod.rs:136:1 [INFO] [stdout] | [INFO] [stdout] 136 | / implement_commands! { [INFO] [stdout] 137 | | 'a [INFO] [stdout] 138 | | // most common operations [INFO] [stdout] ... | [INFO] [stdout] 156 | | fn set(key: K, value: V) { [INFO] [stdout] | | --- required by a bound in this associated function [INFO] [stdout] ... | [INFO] [stdout] 2178 | | } [INFO] [stdout] 2179 | | } [INFO] [stdout] | |_^ required by this bound in `AsyncCommands::set` [INFO] [stdout] = note: this error originates in the macro `implement_commands` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: FromRedisValue` is not satisfied [INFO] [stdout] --> src/bin/three.rs:24:14 [INFO] [stdout] | [INFO] [stdout] 24 | conn.set(to, to_balance.checked_add(amount).ok_or("overflow")?) [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 49 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 `redis::AsyncCommands::set` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/redis-0.27.5/src/commands/mod.rs:136:1 [INFO] [stdout] | [INFO] [stdout] 136 | / implement_commands! { [INFO] [stdout] 137 | | 'a [INFO] [stdout] 138 | | // most common operations [INFO] [stdout] ... | [INFO] [stdout] 156 | | fn set(key: K, value: V) { [INFO] [stdout] | | --- required by a bound in this associated function [INFO] [stdout] ... | [INFO] [stdout] 2178 | | } [INFO] [stdout] 2179 | | } [INFO] [stdout] | |_^ required by this bound in `AsyncCommands::set` [INFO] [stdout] = note: this error originates in the macro `implement_commands` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `redis-lock` (bin "three") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `redis-lock` (bin "three" test) due to 2 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" "e2eb13dcba76f6b27aff13f0a3176180575f76582c9106f6830c98f7518407e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2eb13dcba76f6b27aff13f0a3176180575f76582c9106f6830c98f7518407e4", kill_on_drop: false }` [INFO] [stdout] e2eb13dcba76f6b27aff13f0a3176180575f76582c9106f6830c98f7518407e4