[INFO] fetching crate luau-rs 0.0.1... [INFO] checking luau-rs-0.0.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate luau-rs 0.0.1 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate luau-rs 0.0.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 luau-rs 0.0.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate luau-rs 0.0.1 [INFO] tweaked toml for crates.io crate luau-rs 0.0.1 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate crates.io crate luau-rs 0.0.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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 970b8c7d9f324d3d2e478f4a39fcc44c21be401daf06d6ecfb05d1351a2cd735 [INFO] running `Command { std: "docker" "start" "-a" "970b8c7d9f324d3d2e478f4a39fcc44c21be401daf06d6ecfb05d1351a2cd735", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "970b8c7d9f324d3d2e478f4a39fcc44c21be401daf06d6ecfb05d1351a2cd735", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "970b8c7d9f324d3d2e478f4a39fcc44c21be401daf06d6ecfb05d1351a2cd735", kill_on_drop: false }` [INFO] [stdout] 970b8c7d9f324d3d2e478f4a39fcc44c21be401daf06d6ecfb05d1351a2cd735 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] b55f1480f848b486037002129c78109c39ab5e1f9aad9e867a19026c2f03edf6 [INFO] running `Command { std: "docker" "start" "-a" "b55f1480f848b486037002129c78109c39ab5e1f9aad9e867a19026c2f03edf6", kill_on_drop: false }` [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Compiling datatest v0.8.0 [INFO] [stderr] Checking clap_builder v4.5.11 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking pretty_assertions v1.4.0 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Compiling clap_derive v4.5.11 [INFO] [stderr] Compiling datatest-derive v0.8.0 [INFO] [stderr] Compiling ctor v0.2.8 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking clap v4.5.11 [INFO] [stderr] Checking luau-rs v0.0.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/transformer.rs:14:21 [INFO] [stdout] | [INFO] [stdout] 8 | let mut nodes = vec![]; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 14 | LuauNode::Block(Block { statements: nodes }) [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/transformer.rs:67:21 [INFO] [stdout] | [INFO] [stdout] 47 | let mut luau_nodes = vec![]; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 67 | LuauNode::Block(Block { [INFO] [stdout] | _____________________^ [INFO] [stdout] 68 | | statements: luau_nodes, [INFO] [stdout] 69 | | }) [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/transformer.rs:132:22 [INFO] [stdout] | [INFO] [stdout] 127 | let value = ret_expr [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 132 | LuauNode::Return(Return { value }) [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/transformer.rs:130:30 [INFO] [stdout] | [INFO] [stdout] 130 | .map(|expr| Box::new(transform_expr_to_luau(expr))); [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/transformer.rs:172:18 [INFO] [stdout] | [INFO] [stdout] 158 | let condition = transform_expr_to_luau(&expr_if.cond); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 159 | let then_branch = transform_block_to_luau(&expr_if.then_branch); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 160 | [INFO] [stdout] 161 | let else_branch = if let Some((_, else_expr)) = &expr_if.else_branch { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 172 | LuauNode::If(If { [INFO] [stdout] | __________________^ [INFO] [stdout] 173 | | condition: Box::new(condition), [INFO] [stdout] 174 | | then_branch: Box::new(then_branch), [INFO] [stdout] 175 | | else_branch, [INFO] [stdout] 176 | | }) [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/transformer.rs:184:21 [INFO] [stdout] | [INFO] [stdout] 181 | let iter = Box::new(transform_expr_to_luau(&expr_for.expr)); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 182 | let body = Box::new(transform_block_to_luau(&expr_for.body)); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 183 | [INFO] [stdout] 184 | LuauNode::ForIn(ForIn { vars, iter, body }) [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/transformer.rs:284:35 [INFO] [stdout] | [INFO] [stdout] 284 | .map(|s| Box::new(transform_expr_to_luau(s))); [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/transformer.rs:288:35 [INFO] [stdout] | [INFO] [stdout] 288 | .map(|e| Box::new(transform_expr_to_luau(e))); [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 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `luau-rs` (lib) due to 9 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "b55f1480f848b486037002129c78109c39ab5e1f9aad9e867a19026c2f03edf6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b55f1480f848b486037002129c78109c39ab5e1f9aad9e867a19026c2f03edf6", kill_on_drop: false }` [INFO] [stdout] b55f1480f848b486037002129c78109c39ab5e1f9aad9e867a19026c2f03edf6