[INFO] fetching crate luau-ast-rs 0.1.29... [INFO] checking luau-ast-rs-0.1.29 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate luau-ast-rs 0.1.29 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate luau-ast-rs 0.1.29 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-ast-rs 0.1.29 [INFO] finished tweaking crates.io crate luau-ast-rs 0.1.29 [INFO] tweaked toml for crates.io crate luau-ast-rs 0.1.29 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate crates.io crate luau-ast-rs 0.1.29 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] [stderr] Blocking waiting for file lock on package cache [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] 1742435f365c10c96a8866afce3746c7f95f48647af150960044c5ab631c998c [INFO] running `Command { std: "docker" "start" "-a" "1742435f365c10c96a8866afce3746c7f95f48647af150960044c5ab631c998c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1742435f365c10c96a8866afce3746c7f95f48647af150960044c5ab631c998c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1742435f365c10c96a8866afce3746c7f95f48647af150960044c5ab631c998c", kill_on_drop: false }` [INFO] [stdout] 1742435f365c10c96a8866afce3746c7f95f48647af150960044c5ab631c998c [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] 7ca4a68fcb3cd25d97b133cd25a2add05b9ab3ebeaf05e6a3490bb9b7cc57d0d [INFO] running `Command { std: "docker" "start" "-a" "7ca4a68fcb3cd25d97b133cd25a2add05b9ab3ebeaf05e6a3490bb9b7cc57d0d", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling proc-macro2 v1.0.63 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling unicode-ident v1.0.9 [INFO] [stderr] Compiling quote v1.0.28 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Checking regex-syntax v0.7.2 [INFO] [stderr] Compiling thiserror v1.0.40 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking aho-corasick v1.0.2 [INFO] [stderr] Compiling psm v0.1.21 [INFO] [stderr] Compiling tree-sitter v0.20.10 [INFO] [stderr] Compiling luau-ast-rs-grammar v0.0.2 [INFO] [stderr] Compiling stacker v0.1.15 [INFO] [stderr] Compiling syn v2.0.22 [INFO] [stderr] Checking regex v1.8.4 [INFO] [stderr] Compiling thiserror-impl v1.0.40 [INFO] [stderr] Checking luau-ast-rs v0.1.29 (/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/parser.rs:62:20 [INFO] [stdout] | [INFO] [stdout] 58 | let ts = ts_parser(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 62 | chunk: Chunk::default(), [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/parser.rs:298:12 [INFO] [stdout] | [INFO] [stdout] 278 | let mut bindings = Vec::new(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 279 | let mut init = Vec::new(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 298 | Ok(Local { bindings, init }) [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/parser.rs:356:12 [INFO] [stdout] | [INFO] [stdout] 307 | let mut params = Vec::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 310 | let mut vararg = None; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 311 | let mut ret_ty = None; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 356 | Ok(FunctionBody { [INFO] [stdout] | ____________^ [INFO] [stdout] 357 | | params, [INFO] [stdout] 358 | | generics, [INFO] [stdout] 359 | | vararg, [INFO] [stdout] ... | [INFO] [stdout] 362 | | block: block.unwrap_or_default(), [INFO] [stdout] 363 | | }) [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/parser.rs:404:12 [INFO] [stdout] | [INFO] [stdout] 386 | let mut cursor = node.walk(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 387 | let mut param = None; [INFO] [stdout] 388 | let mut default = None; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 404 | Ok(GenericDef { [INFO] [stdout] | ____________^ [INFO] [stdout] 405 | | param: param.ok_or_else(|| self.error(node))?, [INFO] [stdout] 406 | | default, [INFO] [stdout] 407 | | }) [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/parser.rs:493:12 [INFO] [stdout] | [INFO] [stdout] 445 | let mut body = None; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 493 | Ok(FunctionDef { [INFO] [stdout] | ____________^ [INFO] [stdout] 494 | | table, [INFO] [stdout] 495 | | is_method, [INFO] [stdout] 496 | | name, [INFO] [stdout] 497 | | body: body.ok_or_else(|| self.error(node))?, [INFO] [stdout] 498 | | }) [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/parser.rs:526:12 [INFO] [stdout] | [INFO] [stdout] 510 | let mut body = None; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 526 | Ok(LocalFunctionDef { [INFO] [stdout] | ____________^ [INFO] [stdout] 527 | | name, [INFO] [stdout] 528 | | body: body.ok_or_else(|| self.error(node))?, [INFO] [stdout] 529 | | }) [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/parser.rs:591:12 [INFO] [stdout] | [INFO] [stdout] 564 | let mut cond = None; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 591 | Ok(While { [INFO] [stdout] | ____________^ [INFO] [stdout] 592 | | cond: cond.ok_or_else(|| self.error(node))?, [INFO] [stdout] 593 | | block: block.unwrap_or_default(), [INFO] [stdout] 594 | | }) [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/parser.rs:630:12 [INFO] [stdout] | [INFO] [stdout] 603 | let mut cond = None; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 630 | Ok(Repeat { [INFO] [stdout] | ____________^ [INFO] [stdout] 631 | | cond: cond.ok_or_else(|| self.error(node))?, [INFO] [stdout] 632 | | block: block.unwrap_or_default(), [INFO] [stdout] 633 | | }) [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/parser.rs:691:12 [INFO] [stdout] | [INFO] [stdout] 642 | let mut cond = None; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 643 | let mut if_block = None; [INFO] [stdout] 644 | let mut else_if_blocks = Vec::new(); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 691 | Ok(If { [INFO] [stdout] | ____________^ [INFO] [stdout] 692 | | cond: cond.ok_or_else(|| self.error(node))?, [INFO] [stdout] 693 | | block: if_block.unwrap_or_default(), [INFO] [stdout] 694 | | else_if_blocks, [INFO] [stdout] 695 | | else_block, [INFO] [stdout] 696 | | }) [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/parser.rs:753:12 [INFO] [stdout] | [INFO] [stdout] 705 | let mut var = None; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 706 | let mut start = None; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 707 | let mut end = None; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 708 | let mut step = None; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 753 | Ok(For { [INFO] [stdout] | ____________^ [INFO] [stdout] 754 | | var: var.ok_or_else(|| self.error(node))?, [INFO] [stdout] 755 | | start: start.ok_or_else(|| self.error(node))?, [INFO] [stdout] 756 | | end: end.ok_or_else(|| self.error(node))?, [INFO] [stdout] 757 | | step, [INFO] [stdout] 758 | | block: block.unwrap_or_default(), [INFO] [stdout] 759 | | }) [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/parser.rs:801:12 [INFO] [stdout] | [INFO] [stdout] 768 | let mut vars = Vec::new(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 769 | let mut exprs = Vec::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 801 | Ok(ForIn { [INFO] [stdout] | ____________^ [INFO] [stdout] 802 | | vars, [INFO] [stdout] 803 | | exprs, [INFO] [stdout] 804 | | block: block.unwrap_or_default(), [INFO] [stdout] 805 | | }) [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/parser.rs:860:12 [INFO] [stdout] | [INFO] [stdout] 814 | let mut expr = None; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 815 | let mut args = None; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 860 | Ok(Call { [INFO] [stdout] | ____________^ [INFO] [stdout] 861 | | func: expr.ok_or_else(|| self.error(node))?, [INFO] [stdout] 862 | | args: args.ok_or_else(|| self.error(node))?, [INFO] [stdout] 863 | | method, [INFO] [stdout] 864 | | }) [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/parser.rs:903:12 [INFO] [stdout] | [INFO] [stdout] 873 | let mut var = None; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 874 | let mut op = None; [INFO] [stdout] 875 | let mut expr = None; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 903 | Ok(CompOp { [INFO] [stdout] | ____________^ [INFO] [stdout] 904 | | lhs: var.ok_or_else(|| self.error(node))?, [INFO] [stdout] 905 | | op: op.ok_or_else(|| self.error(node))?, [INFO] [stdout] 906 | | rhs: Box::new(expr.ok_or_else(|| self.error(node))?), [INFO] [stdout] 907 | | }) [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/parser.rs:925:12 [INFO] [stdout] | [INFO] [stdout] 916 | let mut exprs = Vec::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 925 | Ok(Return { exprs }) [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/parser.rs:956:12 [INFO] [stdout] | [INFO] [stdout] 934 | let mut vars = Vec::new(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 935 | let mut exprs = Vec::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 956 | Ok(Assign { vars, exprs }) [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/parser.rs:999:12 [INFO] [stdout] | [INFO] [stdout] 967 | let mut generics = Vec::new(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 968 | let mut ty = None; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 999 | Ok(TypeDef { [INFO] [stdout] | ____________^ [INFO] [stdout] 1000 | | name, [INFO] [stdout] 1001 | | ty: ty.ok_or_else(|| self.error(node))?, [INFO] [stdout] 1002 | | generics, [INFO] [stdout] 1003 | | is_exported, [INFO] [stdout] 1004 | | }) [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/parser.rs:1031:12 [INFO] [stdout] | [INFO] [stdout] 1014 | let mut ty = None; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1031 | Ok(Binding { name, ty }) [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/parser.rs:1114:12 [INFO] [stdout] | [INFO] [stdout] 1077 | let mut params = TypeList::default(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1078 | let mut generics = vec![]; [INFO] [stdout] 1079 | let mut ret_ty = None; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1114 | Ok(FunctionType { [INFO] [stdout] | ____________^ [INFO] [stdout] 1115 | | params, [INFO] [stdout] 1116 | | generics, [INFO] [stdout] 1117 | | ret_ty: ret_ty.ok_or_else(|| self.error(node))?, [INFO] [stdout] 1118 | | }) [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/parser.rs:1172:12 [INFO] [stdout] | [INFO] [stdout] 1127 | let mut props = Vec::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1172 | Ok(TableType { props }) [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/parser.rs:1277:12 [INFO] [stdout] | [INFO] [stdout] 1243 | let mut params = Vec::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1277 | Ok(NamedType { [INFO] [stdout] | ____________^ [INFO] [stdout] 1278 | | table, [INFO] [stdout] 1279 | | name, [INFO] [stdout] 1280 | | params, [INFO] [stdout] 1281 | | }) [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/parser.rs:1578:12 [INFO] [stdout] | [INFO] [stdout] 1550 | let mut lhs = None; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1551 | let mut rhs = None; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1578 | Ok(BinOp { [INFO] [stdout] | ____________^ [INFO] [stdout] 1579 | | lhs: lhs.ok_or_else(|| self.error(node))?, [INFO] [stdout] 1580 | | op: op.ok_or(self.error(node))?, [INFO] [stdout] 1581 | | rhs: rhs.ok_or_else(|| self.error(node))?, [INFO] [stdout] 1582 | | }) [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/parser.rs:1614:12 [INFO] [stdout] | [INFO] [stdout] 1592 | let mut expr = None; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1614 | Ok(UnOp { [INFO] [stdout] | ____________^ [INFO] [stdout] 1615 | | op: op.ok_or_else(|| self.error(node))?, [INFO] [stdout] 1616 | | expr: expr.ok_or_else(|| self.error(node))?, [INFO] [stdout] 1617 | | }) [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/parser.rs:1701:12 [INFO] [stdout] | [INFO] [stdout] 1678 | let mut fields = Vec::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1701 | Ok(TableConstructor { fields }) [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/parser.rs:1757:12 [INFO] [stdout] | [INFO] [stdout] 1710 | let mut cond = None; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1711 | let mut if_exp = None; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1712 | let mut else_if_exprs = Vec::new(); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1713 | let mut else_expr = None; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1757 | Ok(IfElseExpr { [INFO] [stdout] | ____________^ [INFO] [stdout] 1758 | | cond: cond.ok_or_else(|| self.error(node))?, [INFO] [stdout] 1759 | | if_expr: if_exp.ok_or_else(|| self.error(node))?, [INFO] [stdout] 1760 | | else_expr: else_expr.ok_or_else(|| self.error(node))?, [INFO] [stdout] 1761 | | else_if_exprs, [INFO] [stdout] 1762 | | }) [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/parser.rs:1789:12 [INFO] [stdout] | [INFO] [stdout] 1771 | let mut parts = Vec::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1789 | Ok(StringInterp { parts }) [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 25 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `luau-ast-rs` (lib) due to 26 previous errors [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/parser.rs:62:20 [INFO] [stdout] | [INFO] [stdout] 58 | let ts = ts_parser(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 62 | chunk: Chunk::default(), [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/parser.rs:298:12 [INFO] [stdout] | [INFO] [stdout] 278 | let mut bindings = Vec::new(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 279 | let mut init = Vec::new(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 298 | Ok(Local { bindings, init }) [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/parser.rs:356:12 [INFO] [stdout] | [INFO] [stdout] 307 | let mut params = Vec::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 310 | let mut vararg = None; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 311 | let mut ret_ty = None; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 356 | Ok(FunctionBody { [INFO] [stdout] | ____________^ [INFO] [stdout] 357 | | params, [INFO] [stdout] 358 | | generics, [INFO] [stdout] 359 | | vararg, [INFO] [stdout] ... | [INFO] [stdout] 362 | | block: block.unwrap_or_default(), [INFO] [stdout] 363 | | }) [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/parser.rs:404:12 [INFO] [stdout] | [INFO] [stdout] 386 | let mut cursor = node.walk(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 387 | let mut param = None; [INFO] [stdout] 388 | let mut default = None; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 404 | Ok(GenericDef { [INFO] [stdout] | ____________^ [INFO] [stdout] 405 | | param: param.ok_or_else(|| self.error(node))?, [INFO] [stdout] 406 | | default, [INFO] [stdout] 407 | | }) [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/parser.rs:493:12 [INFO] [stdout] | [INFO] [stdout] 445 | let mut body = None; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 493 | Ok(FunctionDef { [INFO] [stdout] | ____________^ [INFO] [stdout] 494 | | table, [INFO] [stdout] 495 | | is_method, [INFO] [stdout] 496 | | name, [INFO] [stdout] 497 | | body: body.ok_or_else(|| self.error(node))?, [INFO] [stdout] 498 | | }) [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/parser.rs:526:12 [INFO] [stdout] | [INFO] [stdout] 510 | let mut body = None; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 526 | Ok(LocalFunctionDef { [INFO] [stdout] | ____________^ [INFO] [stdout] 527 | | name, [INFO] [stdout] 528 | | body: body.ok_or_else(|| self.error(node))?, [INFO] [stdout] 529 | | }) [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/parser.rs:591:12 [INFO] [stdout] | [INFO] [stdout] 564 | let mut cond = None; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 591 | Ok(While { [INFO] [stdout] | ____________^ [INFO] [stdout] 592 | | cond: cond.ok_or_else(|| self.error(node))?, [INFO] [stdout] 593 | | block: block.unwrap_or_default(), [INFO] [stdout] 594 | | }) [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/parser.rs:630:12 [INFO] [stdout] | [INFO] [stdout] 603 | let mut cond = None; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 630 | Ok(Repeat { [INFO] [stdout] | ____________^ [INFO] [stdout] 631 | | cond: cond.ok_or_else(|| self.error(node))?, [INFO] [stdout] 632 | | block: block.unwrap_or_default(), [INFO] [stdout] 633 | | }) [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/parser.rs:691:12 [INFO] [stdout] | [INFO] [stdout] 642 | let mut cond = None; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 643 | let mut if_block = None; [INFO] [stdout] 644 | let mut else_if_blocks = Vec::new(); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 691 | Ok(If { [INFO] [stdout] | ____________^ [INFO] [stdout] 692 | | cond: cond.ok_or_else(|| self.error(node))?, [INFO] [stdout] 693 | | block: if_block.unwrap_or_default(), [INFO] [stdout] 694 | | else_if_blocks, [INFO] [stdout] 695 | | else_block, [INFO] [stdout] 696 | | }) [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/parser.rs:753:12 [INFO] [stdout] | [INFO] [stdout] 705 | let mut var = None; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 706 | let mut start = None; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 707 | let mut end = None; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 708 | let mut step = None; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 753 | Ok(For { [INFO] [stdout] | ____________^ [INFO] [stdout] 754 | | var: var.ok_or_else(|| self.error(node))?, [INFO] [stdout] 755 | | start: start.ok_or_else(|| self.error(node))?, [INFO] [stdout] 756 | | end: end.ok_or_else(|| self.error(node))?, [INFO] [stdout] 757 | | step, [INFO] [stdout] 758 | | block: block.unwrap_or_default(), [INFO] [stdout] 759 | | }) [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/parser.rs:801:12 [INFO] [stdout] | [INFO] [stdout] 768 | let mut vars = Vec::new(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 769 | let mut exprs = Vec::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 801 | Ok(ForIn { [INFO] [stdout] | ____________^ [INFO] [stdout] 802 | | vars, [INFO] [stdout] 803 | | exprs, [INFO] [stdout] 804 | | block: block.unwrap_or_default(), [INFO] [stdout] 805 | | }) [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/parser.rs:860:12 [INFO] [stdout] | [INFO] [stdout] 814 | let mut expr = None; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 815 | let mut args = None; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 860 | Ok(Call { [INFO] [stdout] | ____________^ [INFO] [stdout] 861 | | func: expr.ok_or_else(|| self.error(node))?, [INFO] [stdout] 862 | | args: args.ok_or_else(|| self.error(node))?, [INFO] [stdout] 863 | | method, [INFO] [stdout] 864 | | }) [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/parser.rs:903:12 [INFO] [stdout] | [INFO] [stdout] 873 | let mut var = None; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 874 | let mut op = None; [INFO] [stdout] 875 | let mut expr = None; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 903 | Ok(CompOp { [INFO] [stdout] | ____________^ [INFO] [stdout] 904 | | lhs: var.ok_or_else(|| self.error(node))?, [INFO] [stdout] 905 | | op: op.ok_or_else(|| self.error(node))?, [INFO] [stdout] 906 | | rhs: Box::new(expr.ok_or_else(|| self.error(node))?), [INFO] [stdout] 907 | | }) [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/parser.rs:925:12 [INFO] [stdout] | [INFO] [stdout] 916 | let mut exprs = Vec::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 925 | Ok(Return { exprs }) [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/parser.rs:956:12 [INFO] [stdout] | [INFO] [stdout] 934 | let mut vars = Vec::new(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 935 | let mut exprs = Vec::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 956 | Ok(Assign { vars, exprs }) [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/parser.rs:999:12 [INFO] [stdout] | [INFO] [stdout] 967 | let mut generics = Vec::new(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 968 | let mut ty = None; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 999 | Ok(TypeDef { [INFO] [stdout] | ____________^ [INFO] [stdout] 1000 | | name, [INFO] [stdout] 1001 | | ty: ty.ok_or_else(|| self.error(node))?, [INFO] [stdout] 1002 | | generics, [INFO] [stdout] 1003 | | is_exported, [INFO] [stdout] 1004 | | }) [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/parser.rs:1031:12 [INFO] [stdout] | [INFO] [stdout] 1014 | let mut ty = None; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1031 | Ok(Binding { name, ty }) [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/parser.rs:1114:12 [INFO] [stdout] | [INFO] [stdout] 1077 | let mut params = TypeList::default(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1078 | let mut generics = vec![]; [INFO] [stdout] 1079 | let mut ret_ty = None; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1114 | Ok(FunctionType { [INFO] [stdout] | ____________^ [INFO] [stdout] 1115 | | params, [INFO] [stdout] 1116 | | generics, [INFO] [stdout] 1117 | | ret_ty: ret_ty.ok_or_else(|| self.error(node))?, [INFO] [stdout] 1118 | | }) [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/parser.rs:1172:12 [INFO] [stdout] | [INFO] [stdout] 1127 | let mut props = Vec::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1172 | Ok(TableType { props }) [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/parser.rs:1277:12 [INFO] [stdout] | [INFO] [stdout] 1243 | let mut params = Vec::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1277 | Ok(NamedType { [INFO] [stdout] | ____________^ [INFO] [stdout] 1278 | | table, [INFO] [stdout] 1279 | | name, [INFO] [stdout] 1280 | | params, [INFO] [stdout] 1281 | | }) [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/parser.rs:1578:12 [INFO] [stdout] | [INFO] [stdout] 1550 | let mut lhs = None; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1551 | let mut rhs = None; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1578 | Ok(BinOp { [INFO] [stdout] | ____________^ [INFO] [stdout] 1579 | | lhs: lhs.ok_or_else(|| self.error(node))?, [INFO] [stdout] 1580 | | op: op.ok_or(self.error(node))?, [INFO] [stdout] 1581 | | rhs: rhs.ok_or_else(|| self.error(node))?, [INFO] [stdout] 1582 | | }) [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/parser.rs:1614:12 [INFO] [stdout] | [INFO] [stdout] 1592 | let mut expr = None; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1614 | Ok(UnOp { [INFO] [stdout] | ____________^ [INFO] [stdout] 1615 | | op: op.ok_or_else(|| self.error(node))?, [INFO] [stdout] 1616 | | expr: expr.ok_or_else(|| self.error(node))?, [INFO] [stdout] 1617 | | }) [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/parser.rs:1701:12 [INFO] [stdout] | [INFO] [stdout] 1678 | let mut fields = Vec::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1701 | Ok(TableConstructor { fields }) [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/parser.rs:1757:12 [INFO] [stdout] | [INFO] [stdout] 1710 | let mut cond = None; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1711 | let mut if_exp = None; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1712 | let mut else_if_exprs = Vec::new(); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1713 | let mut else_expr = None; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1757 | Ok(IfElseExpr { [INFO] [stdout] | ____________^ [INFO] [stdout] 1758 | | cond: cond.ok_or_else(|| self.error(node))?, [INFO] [stdout] 1759 | | if_expr: if_exp.ok_or_else(|| self.error(node))?, [INFO] [stdout] 1760 | | else_expr: else_expr.ok_or_else(|| self.error(node))?, [INFO] [stdout] 1761 | | else_if_exprs, [INFO] [stdout] 1762 | | }) [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/parser.rs:1789:12 [INFO] [stdout] | [INFO] [stdout] 1771 | let mut parts = Vec::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1789 | Ok(StringInterp { parts }) [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 25 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `luau-ast-rs` (lib test) due to 26 previous errors [INFO] running `Command { std: "docker" "inspect" "7ca4a68fcb3cd25d97b133cd25a2add05b9ab3ebeaf05e6a3490bb9b7cc57d0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ca4a68fcb3cd25d97b133cd25a2add05b9ab3ebeaf05e6a3490bb9b7cc57d0d", kill_on_drop: false }` [INFO] [stdout] 7ca4a68fcb3cd25d97b133cd25a2add05b9ab3ebeaf05e6a3490bb9b7cc57d0d