[INFO] fetching crate smol-macros 0.1.1... [INFO] checking smol-macros-0.1.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate smol-macros 0.1.1 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate smol-macros 0.1.1 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 smol-macros 0.1.1 [INFO] finished tweaking crates.io crate smol-macros 0.1.1 [INFO] tweaked toml for crates.io crate smol-macros 0.1.1 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate crates.io crate smol-macros 0.1.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bb51d7f2b2b3b842a5b407c63cb0d8d13ae70f9bf74baa2c0da12acb150e1ae4 [INFO] running `Command { std: "docker" "start" "-a" "bb51d7f2b2b3b842a5b407c63cb0d8d13ae70f9bf74baa2c0da12acb150e1ae4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bb51d7f2b2b3b842a5b407c63cb0d8d13ae70f9bf74baa2c0da12acb150e1ae4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb51d7f2b2b3b842a5b407c63cb0d8d13ae70f9bf74baa2c0da12acb150e1ae4", kill_on_drop: false }` [INFO] [stdout] bb51d7f2b2b3b842a5b407c63cb0d8d13ae70f9bf74baa2c0da12acb150e1ae4 [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=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] 56249fa3e1f5d77d28a0840a84a7ccf331628a18da73fb4e9a6a15a06e6f15fa [INFO] running `Command { std: "docker" "start" "-a" "56249fa3e1f5d77d28a0840a84a7ccf331628a18da73fb4e9a6a15a06e6f15fa", kill_on_drop: false }` [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking parking v2.2.0 [INFO] [stderr] Compiling rustix v0.38.24 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Checking linux-raw-sys v0.4.11 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Checking event-listener v2.5.3 [INFO] [stderr] Checking async-task v4.5.0 [INFO] [stderr] Checking waker-fn v1.1.1 [INFO] [stderr] Checking fastrand v2.0.1 [INFO] [stderr] Checking futures-io v0.3.29 [INFO] [stderr] Compiling macro_rules_attribute-proc_macro v0.2.0 [INFO] [stderr] Checking unsend v0.2.1 [INFO] [stderr] Checking async-lock v2.8.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking futures-lite v2.0.1 [INFO] [stderr] Checking futures-lite v1.13.0 [INFO] [stderr] Checking concurrent-queue v2.3.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking event-listener v4.0.0 [INFO] [stderr] Checking event-listener v5.1.0 [INFO] [stderr] Checking macro_rules_attribute v0.2.0 [INFO] [stderr] Checking event-listener-strategy v0.4.0 [INFO] [stderr] Checking async-executor v1.6.0 [INFO] [stderr] Checking async-lock v3.1.2 [INFO] [stderr] Checking polling v3.3.0 [INFO] [stderr] Checking async-io v2.2.0 [INFO] [stderr] Checking smol-macros v0.1.1 (/opt/rustwide/workdir) [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/lib.rs:241:35 [INFO] [stdout] | [INFO] [stdout] 239 | fn with_main T>(f: F) -> T { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 240 | let ex = Arc::new(Executor::new()); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 241 | with_thread_pool(&ex, || f(&ex)) [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/lib.rs:249:35 [INFO] [stdout] | [INFO] [stdout] 247 | fn with_main T>(f: F) -> T { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 248 | let ex = Executor::new(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 249 | with_thread_pool(&ex, || f(&ex)) [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/lib.rs:256:16 [INFO] [stdout] | [INFO] [stdout] 255 | fn with_main T>(f: F) -> T { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 256 | f(&Rc::new(LocalExecutor::new())) [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/lib.rs:262:16 [INFO] [stdout] | [INFO] [stdout] 261 | fn with_main T>(f: F) -> T { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 262 | f(&LocalExecutor::new()) [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/lib.rs:272:23 [INFO] [stdout] | [INFO] [stdout] 268 | fn with_thread_pool(ex: &Executor<'_>, f: impl FnOnce() -> T) -> T { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 269 | let stopper = WaitForStop::new(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 272 | thread::scope(|scope| { [INFO] [stdout] | _______________________^ [INFO] [stdout] 273 | | let num_threads = thread::available_parallelism().map_or(1, |num| num.get()); [INFO] [stdout] 274 | | for i in 0..num_threads { [INFO] [stdout] 275 | | let ex = &ex; [INFO] [stdout] ... | [INFO] [stdout] 293 | | } [INFO] [stdout] 294 | | }) [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 5 previous errors [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/lib.rs:241:35 [INFO] [stdout] | [INFO] [stdout] 239 | fn with_main T>(f: F) -> T { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 240 | let ex = Arc::new(Executor::new()); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 241 | with_thread_pool(&ex, || f(&ex)) [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/lib.rs:249:35 [INFO] [stdout] | [INFO] [stdout] 247 | fn with_main T>(f: F) -> T { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 248 | let ex = Executor::new(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 249 | with_thread_pool(&ex, || f(&ex)) [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/lib.rs:256:16 [INFO] [stdout] | [INFO] [stdout] 255 | fn with_main T>(f: F) -> T { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 256 | f(&Rc::new(LocalExecutor::new())) [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/lib.rs:262:16 [INFO] [stdout] | [INFO] [stdout] 261 | fn with_main T>(f: F) -> T { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 262 | f(&LocalExecutor::new()) [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/lib.rs:272:23 [INFO] [stdout] | [INFO] [stdout] 268 | fn with_thread_pool(ex: &Executor<'_>, f: impl FnOnce() -> T) -> T { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 269 | let stopper = WaitForStop::new(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 272 | thread::scope(|scope| { [INFO] [stdout] | _______________________^ [INFO] [stdout] 273 | | let num_threads = thread::available_parallelism().map_or(1, |num| num.get()); [INFO] [stdout] 274 | | for i in 0..num_threads { [INFO] [stdout] 275 | | let ex = &ex; [INFO] [stdout] ... | [INFO] [stdout] 293 | | } [INFO] [stdout] 294 | | }) [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] [stderr] error: could not compile `smol-macros` (lib) due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `smol-macros` (lib test) due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "56249fa3e1f5d77d28a0840a84a7ccf331628a18da73fb4e9a6a15a06e6f15fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56249fa3e1f5d77d28a0840a84a7ccf331628a18da73fb4e9a6a15a06e6f15fa", kill_on_drop: false }` [INFO] [stdout] 56249fa3e1f5d77d28a0840a84a7ccf331628a18da73fb4e9a6a15a06e6f15fa