[INFO] fetching crate rustpython-derive-impl 0.4.0... [INFO] checking rustpython-derive-impl-0.4.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate rustpython-derive-impl 0.4.0 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate rustpython-derive-impl 0.4.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 rustpython-derive-impl 0.4.0 [INFO] finished tweaking crates.io crate rustpython-derive-impl 0.4.0 [INFO] tweaked toml for crates.io crate rustpython-derive-impl 0.4.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 44 packages to latest compatible versions [INFO] [stderr] Adding convert_case v0.4.0 (available: v0.6.0) [INFO] [stderr] Adding derive_more v0.99.18 (available: v1.0.0) [INFO] [stderr] Adding itertools v0.11.0 (available: v0.13.0) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.79) [INFO] [stderr] Adding textwrap v0.15.2 (available: v0.16.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-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 185dffd3ef8cc621dc6fe43cf81ffbdb8569359fe9e45bc9762434d2d2641beb [INFO] running `Command { std: "docker" "start" "-a" "185dffd3ef8cc621dc6fe43cf81ffbdb8569359fe9e45bc9762434d2d2641beb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "185dffd3ef8cc621dc6fe43cf81ffbdb8569359fe9e45bc9762434d2d2641beb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "185dffd3ef8cc621dc6fe43cf81ffbdb8569359fe9e45bc9762434d2d2641beb", kill_on_drop: false }` [INFO] [stdout] 185dffd3ef8cc621dc6fe43cf81ffbdb8569359fe9e45bc9762434d2d2641beb [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bdd67150432738a7a1982adbaa2bd314220b555f565821d7f2f7b12eb6469eba [INFO] running `Command { std: "docker" "start" "-a" "bdd67150432738a7a1982adbaa2bd314220b555f565821d7f2f7b12eb6469eba", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling malachite-nz v0.4.16 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking unicode-ident v1.0.13 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking rustpython-doc v0.3.0 [INFO] [stderr] Checking rustpython-parser-vendored v0.4.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking textwrap v0.15.2 [INFO] [stderr] Checking twox-hash v1.6.3 [INFO] [stderr] Checking maplit v1.0.2 [INFO] [stderr] Checking lz4_flex v0.11.3 [INFO] [stderr] Checking quote v1.0.37 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking malachite-base v0.4.16 [INFO] [stderr] Checking syn-ext v0.4.0 [INFO] [stderr] Compiling is-macro v0.3.6 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Checking rustpython-parser-core v0.4.0 [INFO] [stderr] Checking malachite-q v0.4.16 [INFO] [stderr] Checking malachite v0.4.16 [INFO] [stderr] Checking malachite-bigint v0.2.0 [INFO] [stderr] Checking rustpython-compiler-core v0.4.0 [INFO] [stderr] Checking rustpython-derive-impl v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `Vec` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/pyclass.rs:1554:9 [INFO] [stdout] | [INFO] [stdout] 1451 | let mut withs = Vec::new(); [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 1452 | let mut with_method_defs = Vec::new(); [INFO] [stdout] | -------------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 1453 | let mut with_slots = Vec::new(); [INFO] [stdout] | -------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 1454 | let mut flags = vec![quote! { [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1548 | flags: quote! { [INFO] [stdout] | ________________- [INFO] [stdout] | |________________| [INFO] [stdout] 1549 | | #(#flags)* [INFO] [stdout] 1550 | | }, [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] 1551 | with_impl: quote! { [INFO] [stdout] | ____________________- [INFO] [stdout] | |____________________| [INFO] [stdout] 1552 | | #(#withs)* [INFO] [stdout] 1553 | | }, [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] 1554 | | with_method_defs, [INFO] [stdout] | | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 1555 | with_slots: quote! { [INFO] [stdout] | _____________________- [INFO] [stdout] 1556 | #(#with_slots)* [INFO] [stdout] 1557 | | }, [INFO] [stdout] | |_________- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [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 `Vec` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/pyclass.rs:1554:9 [INFO] [stdout] | [INFO] [stdout] 1451 | let mut withs = Vec::new(); [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 1452 | let mut with_method_defs = Vec::new(); [INFO] [stdout] | -------------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 1453 | let mut with_slots = Vec::new(); [INFO] [stdout] | -------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 1454 | let mut flags = vec![quote! { [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1548 | flags: quote! { [INFO] [stdout] | ________________- [INFO] [stdout] | |________________| [INFO] [stdout] 1549 | | #(#flags)* [INFO] [stdout] 1550 | | }, [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] 1551 | with_impl: quote! { [INFO] [stdout] | ____________________- [INFO] [stdout] | |____________________| [INFO] [stdout] 1552 | | #(#withs)* [INFO] [stdout] 1553 | | }, [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] 1554 | | with_method_defs, [INFO] [stdout] | | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 1555 | with_slots: quote! { [INFO] [stdout] | _____________________- [INFO] [stdout] 1556 | #(#with_slots)* [INFO] [stdout] 1557 | | }, [INFO] [stdout] | |_________- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [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: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rustpython-derive-impl` (lib test) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rustpython-derive-impl` (lib) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "bdd67150432738a7a1982adbaa2bd314220b555f565821d7f2f7b12eb6469eba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bdd67150432738a7a1982adbaa2bd314220b555f565821d7f2f7b12eb6469eba", kill_on_drop: false }` [INFO] [stdout] bdd67150432738a7a1982adbaa2bd314220b555f565821d7f2f7b12eb6469eba