[INFO] fetching crate paxakos 0.13.0... [INFO] checking paxakos-0.13.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate paxakos 0.13.0 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate paxakos 0.13.0 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate paxakos 0.13.0 [INFO] finished tweaking crates.io crate paxakos 0.13.0 [INFO] tweaked toml for crates.io crate paxakos 0.13.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 62 packages to latest compatible versions [INFO] [stderr] Adding gloo-timers v0.2.6 (available: v0.3.0) [INFO] [stderr] Adding send_wrapper v0.4.0 (available: v0.6.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2227c8a07ccad1462331fd9766273130afa83139837908f8197d053d0f4792fa [INFO] running `Command { std: "docker" "start" "-a" "2227c8a07ccad1462331fd9766273130afa83139837908f8197d053d0f4792fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2227c8a07ccad1462331fd9766273130afa83139837908f8197d053d0f4792fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2227c8a07ccad1462331fd9766273130afa83139837908f8197d053d0f4792fa", kill_on_drop: false }` [INFO] [stdout] 2227c8a07ccad1462331fd9766273130afa83139837908f8197d053d0f4792fa [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=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 68a0f0afd55f93157ba59820e5812c383c532a5e567a760f8d9e676d2225be9c [INFO] running `Command { std: "docker" "start" "-a" "68a0f0afd55f93157ba59820e5812c383c532a5e567a760f8d9e676d2225be9c", kill_on_drop: false }` [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking snarc v0.1.0 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking thiserror v1.0.64 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking uuid v1.10.0 [INFO] [stderr] Checking paxakos v0.13.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `FuturesUnordered, ErrorOf>>, {async block@src/node/inner.rs:546:28: 546:33}, {closure@src/node/inner.rs:546:24: 546:27}>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/node/inner.rs:543:13 [INFO] [stdout] | [INFO] [stdout] 522 | this: SnarcRef, [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 543 | let mut pending_responses: FuturesUnordered<_> = pending_responses [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `FuturesUnordered

` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/node/inner.rs:718:13 [INFO] [stdout] | [INFO] [stdout] 695 | this: SnarcRef, [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 718 | let mut pending_responses: FuturesUnordered

= pending_responses.into_iter().collect(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Vec<<::State as state::State>::Node>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/node/inner.rs:909:13 [INFO] [stdout] | [INFO] [stdout] 904 | this: SnarcRef, [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 909 | let mut cluster = cluster.await?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `FuturesUnordered, ErrorOf>>, {async block@src/node/inner.rs:546:28: 546:33}, {closure@src/node/inner.rs:546:24: 546:27}>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/node/inner.rs:543:13 [INFO] [stdout] | [INFO] [stdout] 522 | this: SnarcRef, [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 543 | let mut pending_responses: FuturesUnordered<_> = pending_responses [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `FuturesUnordered

` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/node/inner.rs:718:13 [INFO] [stdout] | [INFO] [stdout] 695 | this: SnarcRef, [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 718 | let mut pending_responses: FuturesUnordered

= pending_responses.into_iter().collect(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Vec<<::State as state::State>::Node>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/node/inner.rs:909:13 [INFO] [stdout] | [INFO] [stdout] 904 | this: SnarcRef, [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 909 | let mut cluster = cluster.await?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Decision<::Yea, ::Nay, Infallible>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/node/state_keeper/mod.rs:700:31 [INFO] [stdout] | [INFO] [stdout] 699 | .filter_map(|(r, e)| { [INFO] [stdout] | ------ [INFO] [stdout] | | | [INFO] [stdout] | | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 700 | match self.voter.contemplate_proposal( [INFO] [stdout] | _______________________________^ [INFO] [stdout] 701 | | r, [INFO] [stdout] 702 | | coord_num, [INFO] [stdout] 703 | | &e, [INFO] [stdout] 704 | | leader.as_ref(), [INFO] [stdout] 705 | | self.state.as_ref(), [INFO] [stdout] 706 | | ) { [INFO] [stdout] | |_________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/node/commits.rs:39:23 [INFO] [stdout] | [INFO] [stdout] 39 | if !cx.waker().borrow().will_wake(&self.waker.borrow()) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Waker` does not implement `Borrow`, so calling `borrow` on `&Waker` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 39 - if !cx.waker().borrow().will_wake(&self.waker.borrow()) { [INFO] [stdout] 39 + if !cx.waker().will_wake(&self.waker.borrow()) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/node/state_keeper/mod.rs:1516:9 [INFO] [stdout] | [INFO] [stdout] 1494 | / fn proof_unsafe_send_impl_is_sound( [INFO] [stdout] 1495 | | spawn_args: SpawnArgs, [INFO] [stdout] 1496 | | start_result_sender: oneshot::Sender>, [INFO] [stdout] 1497 | | receiver: mpsc::Receiver>, [INFO] [stdout] ... | [INFO] [stdout] 1502 | | V: Send, [INFO] [stdout] 1503 | | B: Send, [INFO] [stdout] | |________________- move the `impl` block outside of this associated function `proof_unsafe_send_impl_is_sound` [INFO] [stdout] ... [INFO] [stdout] 1516 | unsafe impl> Send for Task [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----^^^^^----^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Task` is not local [INFO] [stdout] | `Send` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `paxakos` (lib) due to 5 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this value of type `Decision<::Yea, ::Nay, Infallible>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/node/state_keeper/mod.rs:700:31 [INFO] [stdout] | [INFO] [stdout] 699 | .filter_map(|(r, e)| { [INFO] [stdout] | ------ [INFO] [stdout] | | | [INFO] [stdout] | | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 700 | match self.voter.contemplate_proposal( [INFO] [stdout] | _______________________________^ [INFO] [stdout] 701 | | r, [INFO] [stdout] 702 | | coord_num, [INFO] [stdout] 703 | | &e, [INFO] [stdout] 704 | | leader.as_ref(), [INFO] [stdout] 705 | | self.state.as_ref(), [INFO] [stdout] 706 | | ) { [INFO] [stdout] | |_________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/node/commits.rs:39:23 [INFO] [stdout] | [INFO] [stdout] 39 | if !cx.waker().borrow().will_wake(&self.waker.borrow()) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Waker` does not implement `Borrow`, so calling `borrow` on `&Waker` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 39 - if !cx.waker().borrow().will_wake(&self.waker.borrow()) { [INFO] [stdout] 39 + if !cx.waker().will_wake(&self.waker.borrow()) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/node/state_keeper/mod.rs:1516:9 [INFO] [stdout] | [INFO] [stdout] 1494 | / fn proof_unsafe_send_impl_is_sound( [INFO] [stdout] 1495 | | spawn_args: SpawnArgs, [INFO] [stdout] 1496 | | start_result_sender: oneshot::Sender>, [INFO] [stdout] 1497 | | receiver: mpsc::Receiver>, [INFO] [stdout] ... | [INFO] [stdout] 1502 | | V: Send, [INFO] [stdout] 1503 | | B: Send, [INFO] [stdout] | |________________- move the `impl` block outside of this associated function `proof_unsafe_send_impl_is_sound` [INFO] [stdout] ... [INFO] [stdout] 1516 | unsafe impl> Send for Task [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----^^^^^----^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Task` is not local [INFO] [stdout] | `Send` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `paxakos` (lib test) due to 5 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "68a0f0afd55f93157ba59820e5812c383c532a5e567a760f8d9e676d2225be9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68a0f0afd55f93157ba59820e5812c383c532a5e567a760f8d9e676d2225be9c", kill_on_drop: false }` [INFO] [stdout] 68a0f0afd55f93157ba59820e5812c383c532a5e567a760f8d9e676d2225be9c