[INFO] fetching crate planus-translation 0.4.0... [INFO] checking planus-translation-0.4.0 against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] extracting crate planus-translation 0.4.0 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate planus-translation 0.4.0 on toolchain 7014e13d5becc920d4bea3cd87942c8a13d359bf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate planus-translation 0.4.0 [INFO] finished tweaking crates.io crate planus-translation 0.4.0 [INFO] tweaked toml for crates.io crate planus-translation 0.4.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 96 packages to latest compatible versions [INFO] [stderr] Adding ahash v0.7.8 (available: v0.8.11) [INFO] [stderr] Adding bit-set v0.5.3 (available: v0.8.0) [INFO] [stderr] Adding bit-vec v0.6.3 (available: v0.8.0) [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 fixedbitset v0.4.2 (available: v0.5.7) [INFO] [stderr] Adding hashbrown v0.11.2 (available: v0.14.5) [INFO] [stderr] Adding hashbrown v0.12.3 (available: v0.14.5) [INFO] [stderr] Adding hermit-abi v0.1.19 (available: v0.4.0) [INFO] [stderr] Adding indexmap v1.9.3 (available: v2.5.0) [INFO] [stderr] Adding itertools v0.11.0 (available: v0.13.0) [INFO] [stderr] Adding lalrpop v0.20.2 (available: v0.21.0) [INFO] [stderr] Adding lalrpop-util v0.20.2 (available: v0.21.0) [INFO] [stderr] Adding logos v0.12.1 (available: v0.14.2) [INFO] [stderr] Adding logos-derive v0.12.1 (available: v0.14.2) [INFO] [stderr] Adding phf_shared v0.10.0 (available: v0.11.2) [INFO] [stderr] Adding regex-syntax v0.6.29 (available: v0.8.4) [INFO] [stderr] Adding siphasher v0.3.11 (available: v1.0.1) [INFO] [stderr] Adding string-interner v0.14.0 (available: v0.17.0) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.77) [INFO] [stderr] Adding term v0.7.0 (available: v1.0.0) [INFO] [stderr] Adding unicode-width v0.1.14 (available: v0.2.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" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ce20e14ba1d24c5271ea8cd4fb26c20464598a3f9d761ad6e3bff4c49f006961 [INFO] running `Command { std: "docker" "start" "-a" "ce20e14ba1d24c5271ea8cd4fb26c20464598a3f9d761ad6e3bff4c49f006961", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ce20e14ba1d24c5271ea8cd4fb26c20464598a3f9d761ad6e3bff4c49f006961", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce20e14ba1d24c5271ea8cd4fb26c20464598a3f9d761ad6e3bff4c49f006961", kill_on_drop: false }` [INFO] [stdout] ce20e14ba1d24c5271ea8cd4fb26c20464598a3f9d761ad6e3bff4c49f006961 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f8a6250f86e8461dc1744335980e7935059b6b93b0d3684e61dc47131274d8b3 [INFO] running `Command { std: "docker" "start" "-a" "f8a6250f86e8461dc1744335980e7935059b6b93b0d3684e61dc47131274d8b3", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Compiling ena v0.14.3 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling string_cache v0.8.7 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling pico-args v0.5.0 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking codespan v0.11.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking lalrpop-util v0.20.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling logos-derive v0.12.1 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling lalrpop v0.20.2 [INFO] [stderr] Checking logos v0.12.1 [INFO] [stderr] Checking string-interner v0.14.0 [INFO] [stderr] Checking planus-lexer v0.4.0 [INFO] [stderr] Checking planus-types v0.4.0 [INFO] [stderr] Compiling planus-translation v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `indexmap::map::Entry<'_, planus_types::ast::UnionKey, planus_types::ast::UnionVariant>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ast_convert.rs:840:23 [INFO] [stdout] | [INFO] [stdout] 835 | let variant = self_.convert_union_variant(variant, decl.ident.ident); [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 840 | match variants.entry(key) { [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 `indexmap::map::Entry<'_, planus_types::ast::UnionKey, planus_types::ast::UnionVariant>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ast_convert.rs:840:23 [INFO] [stdout] | [INFO] [stdout] 835 | let variant = self_.convert_union_variant(variant, decl.ident.ident); [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 840 | match variants.entry(key) { [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 `Option>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:28:27 [INFO] [stdout] | [INFO] [stdout] 26 | let mut ctx = ctx::Ctx::default(); [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 27 | let file_id = ctx.add_file(path, []).unwrap(); [INFO] [stdout] 28 | if let Some(parsed) = ctx.parse_file(file_id) { [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 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `planus-translation` (lib test) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this value of type `Option>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:28:27 [INFO] [stdout] | [INFO] [stdout] 26 | let mut ctx = ctx::Ctx::default(); [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 27 | let file_id = ctx.add_file(path, []).unwrap(); [INFO] [stdout] 28 | if let Some(parsed) = ctx.parse_file(file_id) { [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 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `planus-translation` (lib) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "f8a6250f86e8461dc1744335980e7935059b6b93b0d3684e61dc47131274d8b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8a6250f86e8461dc1744335980e7935059b6b93b0d3684e61dc47131274d8b3", kill_on_drop: false }` [INFO] [stdout] f8a6250f86e8461dc1744335980e7935059b6b93b0d3684e61dc47131274d8b3