[INFO] fetching crate tearup 0.3.0... [INFO] checking tearup-0.3.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate tearup 0.3.0 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate tearup 0.3.0 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate tearup 0.3.0 [INFO] finished tweaking crates.io crate tearup 0.3.0 [INFO] tweaked toml for crates.io crate tearup 0.3.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 64 packages to latest compatible versions [INFO] [stderr] Adding addr2line v0.22.0 (latest: v0.24.1) [INFO] [stderr] Adding gimli v0.29.0 (latest: v0.31.0) [INFO] [stderr] Adding miniz_oxide v0.7.4 (latest: v0.8.0) [INFO] [stderr] Adding num v0.1.42 (latest: v0.4.3) [INFO] [stderr] Adding num-bigint v0.1.44 (latest: v0.4.6) [INFO] [stderr] Adding num-complex v0.1.43 (latest: v0.4.6) [INFO] [stderr] Adding num-rational v0.1.42 (latest: v0.4.2) [INFO] [stderr] Adding rand v0.4.6 (latest: v0.8.5) [INFO] [stderr] Adding rand_core v0.3.1 (latest: v0.6.4) [INFO] [stderr] Adding rand_core v0.4.2 (latest: v0.6.4) [INFO] [stderr] Adding rdrand v0.4.0 (latest: v0.8.3) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c25ea3271188375c64b3d081b715b88b6c43b223fdf14189d043586839b51d05 [INFO] running `Command { std: "docker" "start" "-a" "c25ea3271188375c64b3d081b715b88b6c43b223fdf14189d043586839b51d05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c25ea3271188375c64b3d081b715b88b6c43b223fdf14189d043586839b51d05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c25ea3271188375c64b3d081b715b88b6c43b223fdf14189d043586839b51d05", kill_on_drop: false }` [INFO] [stdout] c25ea3271188375c64b3d081b715b88b6c43b223fdf14189d043586839b51d05 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 70a75a1ca568cccebaae252adee881eedfe2cd8ffce2b88509978d9313633e1d [INFO] running `Command { std: "docker" "start" "-a" "70a75a1ca568cccebaae252adee881eedfe2cd8ffce2b88509978d9313633e1d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking rustc-serialize v0.3.25 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling prettyplease v0.2.22 [INFO] [stderr] Checking anymap v1.0.0-beta.2 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Checking basic-toml v0.1.9 [INFO] [stderr] Checking serde_json v1.0.127 [INFO] [stderr] Checking quote v1.0.37 [INFO] [stderr] Checking syn v2.0.77 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.1.43 [INFO] [stderr] Checking num-bigint v0.1.44 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking stopwatch v0.0.7 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Compiling tearup_macro v0.3.0 [INFO] [stderr] Checking macrotest v1.0.13 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking tearup v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `tearup_test` and `tearup` [INFO] [stdout] --> src/context_combinator.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | pub use tearup_macro::{tearup, tearup_test}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `tearup_test` and `tearup` [INFO] [stdout] --> src/context_combinator.rs:34:28 [INFO] [stdout] | [INFO] [stdout] 34 | pub use tearup_macro::{tearup, tearup_test}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `tearup_test` and `tearup` [INFO] [stdout] --> src/context_combinator.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | pub use tearup_macro::{tearup, tearup_test}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `tearup_test` and `tearup` [INFO] [stdout] --> src/context_combinator.rs:34:28 [INFO] [stdout] | [INFO] [stdout] 34 | pub use tearup_macro::{tearup, tearup_test}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/context.rs:29:34 [INFO] [stdout] | [INFO] [stdout] 24 | fn launch_test(&mut self, test: TestFn) -> Result<(), Box> [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 29 | std::panic::catch_unwind(std::panic::AssertUnwindSafe(test)) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/context.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 60 | async fn launch_setup(shared_context: AsyncSharedContext) -> Self [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 63 | / { [INFO] [stdout] 64 | | Self::setup(shared_context).await [INFO] [stdout] 65 | | } [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/context.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 67 | async fn launch_test(&mut self, test: TestFn) -> Result<(), Box> [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 71 | / { [INFO] [stdout] 72 | | AssertUnwindSafe(async move { test().await }) [INFO] [stdout] 73 | | .catch_unwind() [INFO] [stdout] 74 | | .await [INFO] [stdout] 75 | | } [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/context.rs:72:50 [INFO] [stdout] | [INFO] [stdout] 67 | async fn launch_test(&mut self, test: TestFn) -> Result<(), Box> [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 72 | AssertUnwindSafe(async move { test().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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/context.rs:77:80 [INFO] [stdout] | [INFO] [stdout] 77 | async fn launch_teardown(mut self, shared_context: AsyncSharedContext) { [INFO] [stdout] | ______________________________________----__----------------------------------__^ [INFO] [stdout] | | | | [INFO] [stdout] | | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 78 | | self.teardown(shared_context).await; [INFO] [stdout] 79 | | } [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/context_combinator.rs:53:68 [INFO] [stdout] | [INFO] [stdout] 53 | async fn setup(shared_context: AsyncSharedContext) -> Self { [INFO] [stdout] | ________________________----------------------------------__________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 54 | | let context1 = Context1::launch_setup(shared_context.clone()).await; [INFO] [stdout] 55 | | let context2 = Context2::launch_setup(shared_context).await; [INFO] [stdout] 56 | | Self { context1, context2 } [INFO] [stdout] 57 | | } [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/context_combinator.rs:61:73 [INFO] [stdout] | [INFO] [stdout] 61 | async fn teardown(mut self, shared_context: AsyncSharedContext) { [INFO] [stdout] | _______________________________----__----------------------------------__^ [INFO] [stdout] | | | | [INFO] [stdout] | | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 62 | | self.context1.teardown(shared_context.clone()).await; [INFO] [stdout] 63 | | self.context2.teardown(shared_context).await; [INFO] [stdout] 64 | | } [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/helper/time_gate.rs:30:18 [INFO] [stdout] | [INFO] [stdout] 28 | let ready_flag = self.ready_flag.clone(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 29 | [INFO] [stdout] 30 | Box::new(move || { [INFO] [stdout] | __________________^ [INFO] [stdout] 31 | | let mut ready = ready_flag.lock().unwrap(); [INFO] [stdout] 32 | | *ready = true; [INFO] [stdout] 33 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/helper/time_gate.rs:37:25 [INFO] [stdout] | [INFO] [stdout] 37 | let ready = || *self.ready_flag.lock().unwrap(); [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/helper/time_gate.rs:46:25 [INFO] [stdout] | [INFO] [stdout] 46 | let ready = || *self.ready_flag.lock().unwrap(); [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/helper/time_gate.rs:97:22 [INFO] [stdout] | [INFO] [stdout] 95 | let ready_flag = self.ready_flag.clone(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 96 | [INFO] [stdout] 97 | Box::new(move || { [INFO] [stdout] | ______________________^ [INFO] [stdout] 98 | | let ready_flag = ready_flag.clone(); [INFO] [stdout] 99 | | Box::pin(async move { [INFO] [stdout] 100 | | let mut ready_flag = ready_flag.lock().await; [INFO] [stdout] 101 | | *ready_flag = true; [INFO] [stdout] 102 | | }) [INFO] [stdout] 103 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/helper/time_gate.rs:99:26 [INFO] [stdout] | [INFO] [stdout] 95 | let ready_flag = self.ready_flag.clone(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 98 | let ready_flag = ready_flag.clone(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 99 | Box::pin(async move { [INFO] [stdout] | __________________________^ [INFO] [stdout] 100 | | let mut ready_flag = ready_flag.lock().await; [INFO] [stdout] 101 | | *ready_flag = true; [INFO] [stdout] 102 | | }) [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: aborting due to 12 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tearup` (lib) due to 13 previous errors; 2 warnings emitted [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/context.rs:29:34 [INFO] [stdout] | [INFO] [stdout] 24 | fn launch_test(&mut self, test: TestFn) -> Result<(), Box> [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 29 | std::panic::catch_unwind(std::panic::AssertUnwindSafe(test)) [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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/context.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 60 | async fn launch_setup(shared_context: AsyncSharedContext) -> Self [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 63 | / { [INFO] [stdout] 64 | | Self::setup(shared_context).await [INFO] [stdout] 65 | | } [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/context.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 67 | async fn launch_test(&mut self, test: TestFn) -> Result<(), Box> [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 71 | / { [INFO] [stdout] 72 | | AssertUnwindSafe(async move { test().await }) [INFO] [stdout] 73 | | .catch_unwind() [INFO] [stdout] 74 | | .await [INFO] [stdout] 75 | | } [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/context.rs:72:50 [INFO] [stdout] | [INFO] [stdout] 67 | async fn launch_test(&mut self, test: TestFn) -> Result<(), Box> [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 72 | AssertUnwindSafe(async move { test().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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/context.rs:77:80 [INFO] [stdout] | [INFO] [stdout] 77 | async fn launch_teardown(mut self, shared_context: AsyncSharedContext) { [INFO] [stdout] | ______________________________________----__----------------------------------__^ [INFO] [stdout] | | | | [INFO] [stdout] | | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 78 | | self.teardown(shared_context).await; [INFO] [stdout] 79 | | } [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/context_combinator.rs:53:68 [INFO] [stdout] | [INFO] [stdout] 53 | async fn setup(shared_context: AsyncSharedContext) -> Self { [INFO] [stdout] | ________________________----------------------------------__________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 54 | | let context1 = Context1::launch_setup(shared_context.clone()).await; [INFO] [stdout] 55 | | let context2 = Context2::launch_setup(shared_context).await; [INFO] [stdout] 56 | | Self { context1, context2 } [INFO] [stdout] 57 | | } [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/context_combinator.rs:61:73 [INFO] [stdout] | [INFO] [stdout] 61 | async fn teardown(mut self, shared_context: AsyncSharedContext) { [INFO] [stdout] | _______________________________----__----------------------------------__^ [INFO] [stdout] | | | | [INFO] [stdout] | | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 62 | | self.context1.teardown(shared_context.clone()).await; [INFO] [stdout] 63 | | self.context2.teardown(shared_context).await; [INFO] [stdout] 64 | | } [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/helper/ready_when.rs:72:20 [INFO] [stdout] | [INFO] [stdout] 72 | || async move { stopwatch.elapsed_ms() > 100 }.boxed(), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/helper/time_gate.rs:30:18 [INFO] [stdout] | [INFO] [stdout] 28 | let ready_flag = self.ready_flag.clone(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 29 | [INFO] [stdout] 30 | Box::new(move || { [INFO] [stdout] | __________________^ [INFO] [stdout] 31 | | let mut ready = ready_flag.lock().unwrap(); [INFO] [stdout] 32 | | *ready = true; [INFO] [stdout] 33 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/helper/time_gate.rs:37:25 [INFO] [stdout] | [INFO] [stdout] 37 | let ready = || *self.ready_flag.lock().unwrap(); [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/helper/time_gate.rs:46:25 [INFO] [stdout] | [INFO] [stdout] 46 | let ready = || *self.ready_flag.lock().unwrap(); [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/helper/time_gate.rs:97:22 [INFO] [stdout] | [INFO] [stdout] 95 | let ready_flag = self.ready_flag.clone(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 96 | [INFO] [stdout] 97 | Box::new(move || { [INFO] [stdout] | ______________________^ [INFO] [stdout] 98 | | let ready_flag = ready_flag.clone(); [INFO] [stdout] 99 | | Box::pin(async move { [INFO] [stdout] 100 | | let mut ready_flag = ready_flag.lock().await; [INFO] [stdout] 101 | | *ready_flag = true; [INFO] [stdout] 102 | | }) [INFO] [stdout] 103 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/helper/time_gate.rs:99:26 [INFO] [stdout] | [INFO] [stdout] 95 | let ready_flag = self.ready_flag.clone(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 98 | let ready_flag = ready_flag.clone(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 99 | Box::pin(async move { [INFO] [stdout] | __________________________^ [INFO] [stdout] 100 | | let mut ready_flag = ready_flag.lock().await; [INFO] [stdout] 101 | | *ready_flag = true; [INFO] [stdout] 102 | | }) [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: aborting due to 13 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tearup` (lib test) due to 14 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "70a75a1ca568cccebaae252adee881eedfe2cd8ffce2b88509978d9313633e1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70a75a1ca568cccebaae252adee881eedfe2cd8ffce2b88509978d9313633e1d", kill_on_drop: false }` [INFO] [stdout] 70a75a1ca568cccebaae252adee881eedfe2cd8ffce2b88509978d9313633e1d