[INFO] fetching crate destream 0.8.0... [INFO] checking destream-0.8.0 against try#65132f36b923285d5da381c2fbafee6ce899e841 for pr-132712-1 [INFO] extracting crate destream 0.8.0 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate destream 0.8.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 destream 0.8.0 [INFO] finished tweaking crates.io crate destream 0.8.0 [INFO] tweaked toml for crates.io crate destream 0.8.0 written to /workspace/builds/worker-6-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 23 packages to latest compatible versions [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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 040ebe20ca9cd3e0940bd8c19b0d1ca115ac3d40b60853509ddd03460273c3f7 [INFO] running `Command { std: "docker" "start" "-a" "040ebe20ca9cd3e0940bd8c19b0d1ca115ac3d40b60853509ddd03460273c3f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "040ebe20ca9cd3e0940bd8c19b0d1ca115ac3d40b60853509ddd03460273c3f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "040ebe20ca9cd3e0940bd8c19b0d1ca115ac3d40b60853509ddd03460273c3f7", kill_on_drop: false }` [INFO] [stdout] 040ebe20ca9cd3e0940bd8c19b0d1ca115ac3d40b60853509ddd03460273c3f7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 6ea9363200366fcd3e2c2440cdf8f316e6f93c8901823a7a2de366d1ae010af7 [INFO] running `Command { std: "docker" "start" "-a" "6ea9363200366fcd3e2c2440cdf8f316e6f93c8901823a7a2de366d1ae010af7", 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 futures-sink v0.3.31 [INFO] [stderr] Checking uuid v1.11.0 [INFO] [stderr] Compiling syn v2.0.89 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking destream v0.8.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/de/mod.rs (1 fix) [INFO] [stderr] Fixed src/en/impls.rs (1 fix) [INFO] [stderr] Fixed src/de/impls.rs (6 fixes) [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/de/impls.rs:730:1 [INFO] [stdout] | [INFO] [stdout] 730 | #[async_trait] [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 `!: FromStream` will fail [INFO] [stdout] --> src/de/impls.rs:827:25 [INFO] [stdout] | [INFO] [stdout] 827 | let _ = map.next_value(()).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] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/de/impls.rs:730:1 [INFO] [stdout] | [INFO] [stdout] 730 | #[async_trait] [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 `!: FromStream` will fail [INFO] [stdout] --> src/de/impls.rs:827:25 [INFO] [stdout] | [INFO] [stdout] 827 | let _ = map.next_value(()).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] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/de/impls.rs:207:89 [INFO] [stdout] | [INFO] [stdout] 207 | while let Some(value) = $access.next_element(self.context).await? { [INFO] [stdout] | --------------------^ [INFO] [stdout] | | | | [INFO] [stdout] | | | this value will be stored in a temporary; let us call it `#2` [INFO] [stdout] | | | up until Edition 2021 `#2` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] | | | this value will be stored in a temporary; let us call it `#3` [INFO] [stdout] | | | up until Edition 2021 `#3` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#4` [INFO] [stdout] | | up until Edition 2021 `#4` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | | `#1` will be dropped later as of Edition 2024 [INFO] [stdout] | `__awaitee` calls a custom destructor [INFO] [stdout] | `__awaitee` will be dropped later as of Edition 2024 [INFO] [stdout] 208 | $insert(&mut values, value); [INFO] [stdout] 209 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] ... [INFO] [stdout] 222 | / decode_seq!( [INFO] [stdout] 223 | | BinaryHeap, [INFO] [stdout] 224 | | seq, [INFO] [stdout] 225 | | BinaryHeap::clear, [INFO] [stdout] ... | [INFO] [stdout] 228 | | BinaryHeap::push [INFO] [stdout] 229 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: `#4` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `__awaitee` 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] = note: this warning originates in the macro `decode_seq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/de/impls.rs:207:89 [INFO] [stdout] | [INFO] [stdout] 207 | while let Some(value) = $access.next_element(self.context).await? { [INFO] [stdout] | --------------------^ [INFO] [stdout] | | | | [INFO] [stdout] | | | this value will be stored in a temporary; let us call it `#2` [INFO] [stdout] | | | up until Edition 2021 `#2` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] | | | this value will be stored in a temporary; let us call it `#3` [INFO] [stdout] | | | up until Edition 2021 `#3` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#4` [INFO] [stdout] | | up until Edition 2021 `#4` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | | `#1` will be dropped later as of Edition 2024 [INFO] [stdout] | `__awaitee` calls a custom destructor [INFO] [stdout] | `__awaitee` will be dropped later as of Edition 2024 [INFO] [stdout] 208 | $insert(&mut values, value); [INFO] [stdout] 209 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] ... [INFO] [stdout] 231 | / decode_seq!( [INFO] [stdout] 232 | | BTreeSet, [INFO] [stdout] 233 | | seq, [INFO] [stdout] 234 | | BTreeSet::clear, [INFO] [stdout] ... | [INFO] [stdout] 237 | | BTreeSet::insert [INFO] [stdout] 238 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: `#4` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `__awaitee` 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: this warning originates in the macro `decode_seq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/de/impls.rs:207:89 [INFO] [stdout] | [INFO] [stdout] 207 | while let Some(value) = $access.next_element(self.context).await? { [INFO] [stdout] | --------------------^ [INFO] [stdout] | | | | [INFO] [stdout] | | | this value will be stored in a temporary; let us call it `#2` [INFO] [stdout] | | | up until Edition 2021 `#2` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] | | | this value will be stored in a temporary; let us call it `#3` [INFO] [stdout] | | | up until Edition 2021 `#3` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#4` [INFO] [stdout] | | up until Edition 2021 `#4` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | | `#1` will be dropped later as of Edition 2024 [INFO] [stdout] | `__awaitee` calls a custom destructor [INFO] [stdout] | `__awaitee` will be dropped later as of Edition 2024 [INFO] [stdout] 208 | $insert(&mut values, value); [INFO] [stdout] 209 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] ... [INFO] [stdout] 240 | / decode_seq!( [INFO] [stdout] 241 | | LinkedList, [INFO] [stdout] 242 | | seq, [INFO] [stdout] 243 | | LinkedList::clear, [INFO] [stdout] ... | [INFO] [stdout] 246 | | LinkedList::push_back [INFO] [stdout] 247 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: `#4` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `__awaitee` 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: this warning originates in the macro `decode_seq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/de/impls.rs:207:89 [INFO] [stdout] | [INFO] [stdout] 207 | while let Some(value) = $access.next_element(self.context).await? { [INFO] [stdout] | --------------------^ [INFO] [stdout] | | | | [INFO] [stdout] | | | this value will be stored in a temporary; let us call it `#2` [INFO] [stdout] | | | up until Edition 2021 `#2` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] | | | this value will be stored in a temporary; let us call it `#3` [INFO] [stdout] | | | up until Edition 2021 `#3` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#4` [INFO] [stdout] | | up until Edition 2021 `#4` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | | `#1` will be dropped later as of Edition 2024 [INFO] [stdout] | `__awaitee` calls a custom destructor [INFO] [stdout] | `__awaitee` will be dropped later as of Edition 2024 [INFO] [stdout] 208 | $insert(&mut values, value); [INFO] [stdout] 209 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] ... [INFO] [stdout] 249 | / decode_seq!( [INFO] [stdout] 250 | | HashSet, [INFO] [stdout] 251 | | seq, [INFO] [stdout] 252 | | HashSet::clear, [INFO] [stdout] ... | [INFO] [stdout] 255 | | HashSet::insert [INFO] [stdout] 256 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: `#4` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `__awaitee` 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: this warning originates in the macro `decode_seq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/de/impls.rs:207:89 [INFO] [stdout] | [INFO] [stdout] 207 | while let Some(value) = $access.next_element(self.context).await? { [INFO] [stdout] | --------------------^ [INFO] [stdout] | | | | [INFO] [stdout] | | | this value will be stored in a temporary; let us call it `#2` [INFO] [stdout] | | | up until Edition 2021 `#2` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] | | | this value will be stored in a temporary; let us call it `#3` [INFO] [stdout] | | | up until Edition 2021 `#3` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#4` [INFO] [stdout] | | up until Edition 2021 `#4` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | | `#1` will be dropped later as of Edition 2024 [INFO] [stdout] | `__awaitee` calls a custom destructor [INFO] [stdout] | `__awaitee` will be dropped later as of Edition 2024 [INFO] [stdout] 208 | $insert(&mut values, value); [INFO] [stdout] 209 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] ... [INFO] [stdout] 258 | / decode_seq!( [INFO] [stdout] 259 | | VecDeque, [INFO] [stdout] 260 | | seq, [INFO] [stdout] 261 | | VecDeque::clear, [INFO] [stdout] ... | [INFO] [stdout] 264 | | VecDeque::push_back [INFO] [stdout] 265 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: `#4` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `__awaitee` 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: this warning originates in the macro `decode_seq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/de/impls.rs:207:89 [INFO] [stdout] | [INFO] [stdout] 207 | while let Some(value) = $access.next_element(self.context).await? { [INFO] [stdout] | --------------------^ [INFO] [stdout] | | | | [INFO] [stdout] | | | this value will be stored in a temporary; let us call it `#2` [INFO] [stdout] | | | up until Edition 2021 `#2` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] | | | this value will be stored in a temporary; let us call it `#3` [INFO] [stdout] | | | up until Edition 2021 `#3` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#4` [INFO] [stdout] | | up until Edition 2021 `#4` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | | `#1` will be dropped later as of Edition 2024 [INFO] [stdout] | `__awaitee` calls a custom destructor [INFO] [stdout] | `__awaitee` will be dropped later as of Edition 2024 [INFO] [stdout] 208 | $insert(&mut values, value); [INFO] [stdout] 209 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] ... [INFO] [stdout] 267 | / decode_seq!( [INFO] [stdout] 268 | | Vec, [INFO] [stdout] 269 | | seq, [INFO] [stdout] 270 | | Vec::clear, [INFO] [stdout] ... | [INFO] [stdout] 273 | | Vec::push [INFO] [stdout] 274 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: `#4` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `__awaitee` 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: this warning originates in the macro `decode_seq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/de/impls.rs:560:73 [INFO] [stdout] | [INFO] [stdout] 560 | while let Some(key) = $access.next_key(()).await? { [INFO] [stdout] | --- ----------^ [INFO] [stdout] | | | | | [INFO] [stdout] | | | | this value will be stored in a temporary; let us call it `#6` [INFO] [stdout] | | | | up until Edition 2021 `#6` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] | | | | this value will be stored in a temporary; let us call it `#7` [INFO] [stdout] | | | | up until Edition 2021 `#7` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] | | | this value will be stored in a temporary; let us call it `#8` [INFO] [stdout] | | | up until Edition 2021 `#8` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] | | | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | | | `#1` will be dropped later as of Edition 2024 [INFO] [stdout] | | `__awaitee` calls a custom destructor [INFO] [stdout] | | `__awaitee` will be dropped later as of Edition 2024 [INFO] [stdout] | `key` calls a custom destructor [INFO] [stdout] | `key` will be dropped later as of Edition 2024 [INFO] [stdout] 561 | let value = $access.next_value(()).await?; [INFO] [stdout] | ----------- [INFO] [stdout] | | | | [INFO] [stdout] | | | this value will be stored in a temporary; let us call it `#2` [INFO] [stdout] | | | `#2` will be dropped later as of Edition 2024 [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#4` [INFO] [stdout] | | `#4` will be dropped later as of Edition 2024 [INFO] [stdout] | this value will be stored in a temporary; let us call it `#3` [INFO] [stdout] | `#3` will be dropped later as of Edition 2024 [INFO] [stdout] 562 | values.insert(key, value); [INFO] [stdout] | ------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#5` [INFO] [stdout] | `#5` will be dropped later as of Edition 2024 [INFO] [stdout] 563 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] ... [INFO] [stdout] 576 | decode_map!(BTreeMap, map, BTreeMap::new()); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: `#8` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `__awaitee` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `#3` 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: this warning originates in the macro `decode_map` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/de/impls.rs:560:73 [INFO] [stdout] | [INFO] [stdout] 560 | while let Some(key) = $access.next_key(()).await? { [INFO] [stdout] | --- ----------^ [INFO] [stdout] | | | | | [INFO] [stdout] | | | | this value will be stored in a temporary; let us call it `#6` [INFO] [stdout] | | | | up until Edition 2021 `#6` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] | | | | this value will be stored in a temporary; let us call it `#7` [INFO] [stdout] | | | | up until Edition 2021 `#7` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] | | | this value will be stored in a temporary; let us call it `#8` [INFO] [stdout] | | | up until Edition 2021 `#8` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] | | | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | | | `#1` will be dropped later as of Edition 2024 [INFO] [stdout] | | `__awaitee` calls a custom destructor [INFO] [stdout] | | `__awaitee` will be dropped later as of Edition 2024 [INFO] [stdout] | `key` calls a custom destructor [INFO] [stdout] | `key` will be dropped later as of Edition 2024 [INFO] [stdout] 561 | let value = $access.next_value(()).await?; [INFO] [stdout] | ----------- [INFO] [stdout] | | | | [INFO] [stdout] | | | this value will be stored in a temporary; let us call it `#2` [INFO] [stdout] | | | `#2` will be dropped later as of Edition 2024 [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#4` [INFO] [stdout] | | `#4` will be dropped later as of Edition 2024 [INFO] [stdout] | this value will be stored in a temporary; let us call it `#3` [INFO] [stdout] | `#3` will be dropped later as of Edition 2024 [INFO] [stdout] 562 | values.insert(key, value); [INFO] [stdout] | ------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#5` [INFO] [stdout] | `#5` will be dropped later as of Edition 2024 [INFO] [stdout] 563 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] ... [INFO] [stdout] 578 | / decode_map!( [INFO] [stdout] 579 | | HashMap, [INFO] [stdout] 580 | | map, [INFO] [stdout] 581 | | HashMap::with_capacity_and_hasher(size_hint::cautious(map.size_hint()), S::default()) [INFO] [stdout] 582 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: `#8` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `__awaitee` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `#3` 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: this warning originates in the macro `decode_map` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.62s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking destream v0.8.0 (/tmp/fixit) [INFO] [stdout] error[E0277]: the trait bound `!: FromStream` is not satisfied [INFO] [stdout] --> src/de/impls.rs:827:25 [INFO] [stdout] | [INFO] [stdout] 827 | let _ = map.next_value(()).await?; [INFO] [stdout] | ^^^^^^^^^^ the trait `FromStream` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `FromStream`: [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] (T0, T1, T2, T3, T4, T5) [INFO] [stdout] (T0, T1, T2, T3, T4, T5, T6) [INFO] [stdout] (T0, T1, T2, T3, T4, T5, T6, T7) [INFO] [stdout] and 69 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 `MapAccess::next_value` [INFO] [stdout] --> src/de/mod.rs:274:28 [INFO] [stdout] | [INFO] [stdout] 274 | async fn next_value(&mut self, context: V::Context) -> Result; [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `MapAccess::next_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: FromStream` is not satisfied [INFO] [stdout] --> src/de/impls.rs:827:25 [INFO] [stdout] | [INFO] [stdout] 827 | let _ = map.next_value(()).await?; [INFO] [stdout] | ^^^^^^^^^^ the trait `FromStream` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `FromStream`: [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] (T0, T1, T2, T3, T4, T5) [INFO] [stdout] (T0, T1, T2, T3, T4, T5, T6) [INFO] [stdout] (T0, T1, T2, T3, T4, T5, T6, T7) [INFO] [stdout] and 69 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 `MapAccess::next_value` [INFO] [stdout] --> src/de/mod.rs:274:28 [INFO] [stdout] | [INFO] [stdout] 274 | async fn next_value(&mut self, context: V::Context) -> Result; [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `MapAccess::next_value` [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 `destream` (lib) due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `destream` (lib test) due to 1 previous error [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" "6ea9363200366fcd3e2c2440cdf8f316e6f93c8901823a7a2de366d1ae010af7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ea9363200366fcd3e2c2440cdf8f316e6f93c8901823a7a2de366d1ae010af7", kill_on_drop: false }` [INFO] [stdout] 6ea9363200366fcd3e2c2440cdf8f316e6f93c8901823a7a2de366d1ae010af7