[INFO] fetching crate redis_cluster_async_tls 0.7.2-alpha.0... [INFO] checking redis_cluster_async_tls-0.7.2-alpha.0 against try#65132f36b923285d5da381c2fbafee6ce899e841 for pr-132712-1 [INFO] extracting crate redis_cluster_async_tls 0.7.2-alpha.0 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate redis_cluster_async_tls 0.7.2-alpha.0 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 redis_cluster_async_tls 0.7.2-alpha.0 [INFO] finished tweaking crates.io crate redis_cluster_async_tls 0.7.2-alpha.0 [INFO] tweaked toml for crates.io crate redis_cluster_async_tls 0.7.2-alpha.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 158 packages to latest compatible versions [INFO] [stderr] Adding env_logger v0.8.4 (available: v0.11.5) [INFO] [stderr] Adding proptest v0.10.1 (available: v1.5.0) [INFO] [stderr] Adding redis v0.21.7 (available: v0.27.5) [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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] d2dcdcb4371c92303cfa031bfe757db52dced76add31af04c329603fbf83fd06 [INFO] running `Command { std: "docker" "start" "-a" "d2dcdcb4371c92303cfa031bfe757db52dced76add31af04c329603fbf83fd06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d2dcdcb4371c92303cfa031bfe757db52dced76add31af04c329603fbf83fd06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2dcdcb4371c92303cfa031bfe757db52dced76add31af04c329603fbf83fd06", kill_on_drop: false }` [INFO] [stdout] d2dcdcb4371c92303cfa031bfe757db52dced76add31af04c329603fbf83fd06 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] d12595a8d8d4e46dd5e53020f44af592de1aeabffb53aa5b6fae6af6650e316e [INFO] running `Command { std: "docker" "start" "-a" "d12595a8d8d4e46dd5e53020f44af592de1aeabffb53aa5b6fae6af6650e316e", 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] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking writeable v0.5.5 [INFO] [stderr] Checking litemap v0.7.4 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking icu_locid_transform_data v1.5.0 [INFO] [stderr] Checking icu_properties_data v1.5.0 [INFO] [stderr] Compiling openssl v0.10.68 [INFO] [stderr] Compiling syn v2.0.89 [INFO] [stderr] Compiling openssl-sys v0.9.104 [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 write16 v1.0.0 [INFO] [stderr] Checking icu_normalizer_data v1.5.0 [INFO] [stderr] Checking utf16_iter v1.0.5 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling rustix v0.38.41 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking fastrand v2.2.0 [INFO] [stderr] Compiling crc16 v0.4.0 [INFO] [stderr] Checking sha1_smol v1.0.1 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking rand_xorshift v0.2.0 [INFO] [stderr] Checking sha1 v0.6.1 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking tempfile v3.14.0 [INFO] [stderr] Checking rusty-fork v0.3.0 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Checking tokio v1.41.1 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking zerofrom v0.1.5 [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Checking proptest v0.10.1 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking tokio-util v0.7.12 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking combine v4.6.7 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking redis v0.21.7 [INFO] [stderr] Checking redis_cluster_async_tls v0.7.2-alpha.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/lib.rs (6 fixes) [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/lib.rs:535:22 [INFO] [stdout] | [INFO] [stdout] 533 | let mut conn = conn.clone().await; [INFO] [stdout] | -------- [INFO] [stdout] | | [INFO] [stdout] | `conn` calls a custom destructor [INFO] [stdout] | `conn` will be dropped later as of Edition 2024 [INFO] [stdout] 534 | match get_slots(addr, &mut conn, use_tls, tls_insecure) [INFO] [stdout] 535 | .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] ... [INFO] [stdout] 544 | } [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: `#1` may invoke a custom destructor because it contains a trait object [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/lib.rs:560:67 [INFO] [stdout] | [INFO] [stdout] 559 | ... let mut conn = conn.await; [INFO] [stdout] | -------- [INFO] [stdout] | | [INFO] [stdout] | `conn` calls a custom destructor [INFO] [stdout] | `conn` will be dropped later as of Edition 2024 [INFO] [stdout] 560 | ... match check_connection(&mut conn).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] ... [INFO] [stdout] 567 | ... } _ => { [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: 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 tests/basic.rs from 2021 edition to 2024 [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> tests/basic.rs:290:1 [INFO] [stdout] | [INFO] [stdout] 290 | async fn do_failover(redis: &mut redis::aio::MultiplexedConnection) -> Result<(), anyhow::Error> { [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] --> tests/basic.rs:291:36 [INFO] [stdout] | [INFO] [stdout] 291 | cmd("CLUSTER").arg("FAILOVER").query_async(redis).await?; [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 tests/mock.rs from 2021 edition to 2024 [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> tests/basic.rs:295:1 [INFO] [stdout] | [INFO] [stdout] 295 | fn test_failover(env: &mut FailoverEnv, requests: i32, value: i32) { [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 `!: Default` will fail [INFO] [stdout] --> tests/basic.rs:343:14 [INFO] [stdout] | [INFO] [stdout] 343 | .await [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.81s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking redis_cluster_async_tls v0.7.2-alpha.0 (/tmp/fixit) [INFO] [stdout] error[E0277]: the trait bound `!: FromRedisValue` is not satisfied [INFO] [stdout] --> tests/basic.rs:291:36 [INFO] [stdout] | [INFO] [stdout] 291 | cmd("CLUSTER").arg("FAILOVER").query_async(redis).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 41 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 `Cmd::query_async` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/redis-0.21.7/src/cmd.rs:377:36 [INFO] [stdout] | [INFO] [stdout] 377 | pub async fn query_async(&self, con: &mut C) -> RedisResult [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `Cmd::query_async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: Default` is not satisfied [INFO] [stdout] --> tests/basic.rs:342:14 [INFO] [stdout] | [INFO] [stdout] 342 | .try_collect() [INFO] [stdout] | ^^^^^^^^^^^ the trait `Default` is not implemented for `!` [INFO] [stdout] | [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 `futures::TryStreamExt::try_collect` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/futures-util-0.3.31/src/stream/try_stream/mod.rs:603:23 [INFO] [stdout] | [INFO] [stdout] 603 | fn try_collect>(self) -> TryCollect [INFO] [stdout] | ^^^^^^^ required by this bound in `TryStreamExt::try_collect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: Extend<()>` is not satisfied [INFO] [stdout] --> tests/basic.rs:342:14 [INFO] [stdout] | [INFO] [stdout] 342 | .try_collect() [INFO] [stdout] | ^^^^^^^^^^^ the trait `Extend<()>` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Extend`: [INFO] [stdout] `()` implements `Extend<()>` [INFO] [stdout] `(ExtendA, ExtendB)` implements `Extend<(A, B)>` [INFO] [stdout] `BTreeMap` implements `Extend<(&'a K, &'a V)>` [INFO] [stdout] `BTreeMap` implements `Extend<(K, V)>` [INFO] [stdout] `BTreeSet` implements `Extend<&'a T>` [INFO] [stdout] `BTreeSet` implements `Extend` [INFO] [stdout] `BinaryHeap` implements `Extend<&'a T>` [INFO] [stdout] `BinaryHeap` implements `Extend` [INFO] [stdout] and 104 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 `futures::TryStreamExt::try_collect` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/futures-util-0.3.31/src/stream/try_stream/mod.rs:603:33 [INFO] [stdout] | [INFO] [stdout] 603 | fn try_collect>(self) -> TryCollect [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `TryStreamExt::try_collect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: Default` is not satisfied [INFO] [stdout] --> tests/basic.rs:343:14 [INFO] [stdout] | [INFO] [stdout] 343 | .await [INFO] [stdout] | ^^^^^ the trait `Default` is not implemented for `!` [INFO] [stdout] | [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 for `TryCollect, !>` to implement `futures::Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: Extend<()>` is not satisfied [INFO] [stdout] --> tests/basic.rs:343:14 [INFO] [stdout] | [INFO] [stdout] 343 | .await [INFO] [stdout] | ^^^^^ the trait `Extend<()>` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Extend`: [INFO] [stdout] `()` implements `Extend<()>` [INFO] [stdout] `(ExtendA, ExtendB)` implements `Extend<(A, B)>` [INFO] [stdout] `BTreeMap` implements `Extend<(&'a K, &'a V)>` [INFO] [stdout] `BTreeMap` implements `Extend<(K, V)>` [INFO] [stdout] `BTreeSet` implements `Extend<&'a T>` [INFO] [stdout] `BTreeSet` implements `Extend` [INFO] [stdout] `BinaryHeap` implements `Extend<&'a T>` [INFO] [stdout] `BinaryHeap` implements `Extend` [INFO] [stdout] and 104 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 for `TryCollect, !>` to implement `futures::Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `redis_cluster_async_tls` (test "basic") due to 5 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" "d12595a8d8d4e46dd5e53020f44af592de1aeabffb53aa5b6fae6af6650e316e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d12595a8d8d4e46dd5e53020f44af592de1aeabffb53aa5b6fae6af6650e316e", kill_on_drop: false }` [INFO] [stdout] d12595a8d8d4e46dd5e53020f44af592de1aeabffb53aa5b6fae6af6650e316e