[INFO] cloning repository https://github.com/Wilfred/garden [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Wilfred/garden" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWilfred%2Fgarden", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWilfred%2Fgarden'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4db59d1c71a8b1add96b4df9daa0d91ab607d489 [INFO] checking Wilfred/garden/4db59d1c71a8b1add96b4df9daa0d91ab607d489 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWilfred%2Fgarden" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Wilfred/garden 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 git repo https://github.com/Wilfred/garden [INFO] finished tweaking git repo https://github.com/Wilfred/garden [INFO] tweaked toml for git repo https://github.com/Wilfred/garden written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Wilfred/garden 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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 6d9c0868c1dc878db8cab96a525be09be9bd0719f9f55264e3262f21be4a8f52 [INFO] running `Command { std: "docker" "start" "-a" "6d9c0868c1dc878db8cab96a525be09be9bd0719f9f55264e3262f21be4a8f52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6d9c0868c1dc878db8cab96a525be09be9bd0719f9f55264e3262f21be4a8f52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d9c0868c1dc878db8cab96a525be09be9bd0719f9f55264e3262f21be4a8f52", kill_on_drop: false }` [INFO] [stdout] 6d9c0868c1dc878db8cab96a525be09be9bd0719f9f55264e3262f21be4a8f52 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] d03ed47b340e680b082def61fb612cc9fa31134bf2ce85d87c7df6fc4d400da3 [INFO] running `Command { std: "docker" "start" "-a" "d03ed47b340e680b082def61fb612cc9fa31134bf2ce85d87c7df6fc4d400da3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.82 [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Compiling serde v1.0.202 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.92 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking strum v0.24.1 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Checking line-numbers v0.2.2 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Checking anstyle-query v1.0.3 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Checking nibble_vec v0.1.0 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking endian-type v0.1.2 [INFO] [stderr] Compiling syn v2.0.63 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling wasm-bindgen v0.2.92 [INFO] [stderr] Checking is_ci v1.2.0 [INFO] [stderr] Checking predicates-core v1.0.6 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Checking radix_trie v0.2.1 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Compiling assert_cmd v2.0.14 [INFO] [stderr] Checking termtree v0.4.1 [INFO] [stderr] Compiling garden-lang v0.17.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking predicates-tree v1.0.9 [INFO] [stderr] Checking predicates v3.1.0 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking supports-color v2.1.0 [INFO] [stderr] Checking nix v0.25.1 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking fd-lock v3.0.13 [INFO] [stderr] Checking bstr v1.9.1 [INFO] [stderr] Checking owo-colors v4.0.0 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking ordered-float v3.9.2 [INFO] [stderr] Checking ctrlc v3.4.4 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Checking colored v2.1.0 [INFO] [stderr] Checking shlex v1.3.0 [INFO] [stderr] Checking similar v2.5.0 [INFO] [stderr] Checking rustyline v10.1.1 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.92 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Checking goldentests v1.1.1 [INFO] [stderr] Compiling serde_derive v1.0.202 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.92 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.92 [INFO] [stderr] Checking clap v4.5.4 [INFO] [stderr] Checking garden-lang-parser v0.17.0 (/opt/rustwide/workdir/garden-lang-parser) [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] --> garden-lang-parser/src/lib.rs:194:9 [INFO] [stdout] | [INFO] [stdout] 189 | let items = parse_comma_separated_exprs(src, tokens, id_gen, diagnostics, "]"); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 194 | Expression_::ListLiteral(items), [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] --> garden-lang-parser/src/lib.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 211 | let body = parse_block(src, tokens, id_gen, diagnostics, false); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 222 | / Expression_::FunLiteral(FunInfo { [INFO] [stdout] 223 | | src_string, [INFO] [stdout] 224 | | params, [INFO] [stdout] 225 | | body, [INFO] [stdout] ... | [INFO] [stdout] 229 | | return_hint, [INFO] [stdout] 230 | | }), [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] --> garden-lang-parser/src/lib.rs:282:9 [INFO] [stdout] | [INFO] [stdout] 244 | let cond_expr = parse_inline_expression(src, tokens, id_gen, diagnostics); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 245 | let close_paren = require_token(tokens, diagnostics, ")"); [INFO] [stdout] 246 | let condition = ParenthesizedExpression { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 252 | let then_body = parse_block(src, tokens, id_gen, diagnostics, false); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 253 | [INFO] [stdout] 254 | let else_body: Option = if peeked_symbol_is(tokens, "else") { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 258 | let if_expr = parse_if_expression(src, tokens, id_gen, diagnostics); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 282 | Expression_::If(condition, then_body, else_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] --> garden-lang-parser/src/lib.rs:308:9 [INFO] [stdout] | [INFO] [stdout] 296 | let cond_expr = parse_inline_expression(src, tokens, id_gen, diagnostics); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 297 | let close_paren = require_token(tokens, diagnostics, ")"); [INFO] [stdout] 298 | let condition = ParenthesizedExpression { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 304 | let body = parse_block(src, tokens, id_gen, diagnostics, true); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 308 | Expression_::While(condition, 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] --> garden-lang-parser/src/lib.rs:347:9 [INFO] [stdout] | [INFO] [stdout] 342 | let expr = parse_inline_expression(src, tokens, id_gen, diagnostics); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 347 | Expression_::Return(Some(Box::new(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] --> garden-lang-parser/src/lib.rs:528:9 [INFO] [stdout] | [INFO] [stdout] 522 | let fields = parse_struct_literal_fields(src, tokens, id_gen, diagnostics); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 528 | Expression_::StructLiteral(name, 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] --> garden-lang-parser/src/lib.rs:582:9 [INFO] [stdout] | [INFO] [stdout] 542 | let scrutinee_expr = parse_inline_expression(src, tokens, id_gen, diagnostics); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 543 | let close_paren = require_token(tokens, diagnostics, ")"); [INFO] [stdout] 544 | let scrutinee = ParenthesizedExpression { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 552 | let mut cases = vec![]; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 582 | Expression_::Match(scrutinee, cases), [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] --> garden-lang-parser/src/lib.rs:1115:9 [INFO] [stdout] | [INFO] [stdout] 1097 | let body = parse_block(src, tokens, id_gen, diagnostics, false); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1115 | / Definition_::Test(TestInfo { [INFO] [stdout] 1116 | | src_string, [INFO] [stdout] 1117 | | doc_comment, [INFO] [stdout] 1118 | | name, [INFO] [stdout] 1119 | | body, [INFO] [stdout] 1120 | | }), [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] --> garden-lang-parser/src/lib.rs:1660:46 [INFO] [stdout] | [INFO] [stdout] 1628 | let body = parse_block(src, tokens, id_gen, diagnostics, false); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1642 | let fun_info = FunInfo { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1651 | let meth_info = MethodInfo { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1660 | Definition(src_string.clone(), position, Definition_::Method(meth_info)) [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] --> garden-lang-parser/src/lib.rs:1697:9 [INFO] [stdout] | [INFO] [stdout] 1678 | let body = parse_block(src, tokens, id_gen, diagnostics, false); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1697 | / Definition_::Fun( [INFO] [stdout] 1698 | | name.clone(), [INFO] [stdout] 1699 | | FunInfo { [INFO] [stdout] 1700 | | src_string, [INFO] [stdout] ... | [INFO] [stdout] 1707 | | }, [INFO] [stdout] 1708 | | ), [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] --> garden-lang-parser/src/lib.rs:1780:9 [INFO] [stdout] | [INFO] [stdout] 1775 | let expr = parse_inline_expression(src, tokens, id_gen, diagnostics); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1780 | Expression_::Let(variable, hint, Box::new(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] --> garden-lang-parser/src/lib.rs:1799:9 [INFO] [stdout] | [INFO] [stdout] 1794 | let expr = parse_inline_expression(src, tokens, id_gen, diagnostics); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1799 | Expression_::Assign(variable, Box::new(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] --> garden-lang-parser/src/lib.rs:1841:24 [INFO] [stdout] | [INFO] [stdout] 1814 | let block_expr = parse_block_member_expression(src, tokens, id_gen, &mut block_diagnostics); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1827 | let expr = parse_inline_expression(src, tokens, id_gen, &mut inline_diagnostics); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1841 | ToplevelItem::Expr(ToplevelExpression(block_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: aborting due to 13 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `garden-lang-parser` (lib test) due to 14 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] --> garden-lang-parser/src/lib.rs:194:9 [INFO] [stdout] | [INFO] [stdout] 189 | let items = parse_comma_separated_exprs(src, tokens, id_gen, diagnostics, "]"); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 194 | Expression_::ListLiteral(items), [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] --> garden-lang-parser/src/lib.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 211 | let body = parse_block(src, tokens, id_gen, diagnostics, false); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 222 | / Expression_::FunLiteral(FunInfo { [INFO] [stdout] 223 | | src_string, [INFO] [stdout] 224 | | params, [INFO] [stdout] 225 | | body, [INFO] [stdout] ... | [INFO] [stdout] 229 | | return_hint, [INFO] [stdout] 230 | | }), [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] --> garden-lang-parser/src/lib.rs:282:9 [INFO] [stdout] | [INFO] [stdout] 244 | let cond_expr = parse_inline_expression(src, tokens, id_gen, diagnostics); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 245 | let close_paren = require_token(tokens, diagnostics, ")"); [INFO] [stdout] 246 | let condition = ParenthesizedExpression { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 252 | let then_body = parse_block(src, tokens, id_gen, diagnostics, false); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 253 | [INFO] [stdout] 254 | let else_body: Option = if peeked_symbol_is(tokens, "else") { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 258 | let if_expr = parse_if_expression(src, tokens, id_gen, diagnostics); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 282 | Expression_::If(condition, then_body, else_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] --> garden-lang-parser/src/lib.rs:308:9 [INFO] [stdout] | [INFO] [stdout] 296 | let cond_expr = parse_inline_expression(src, tokens, id_gen, diagnostics); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 297 | let close_paren = require_token(tokens, diagnostics, ")"); [INFO] [stdout] 298 | let condition = ParenthesizedExpression { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 304 | let body = parse_block(src, tokens, id_gen, diagnostics, true); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 308 | Expression_::While(condition, 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] --> garden-lang-parser/src/lib.rs:347:9 [INFO] [stdout] | [INFO] [stdout] 342 | let expr = parse_inline_expression(src, tokens, id_gen, diagnostics); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 347 | Expression_::Return(Some(Box::new(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] --> garden-lang-parser/src/lib.rs:528:9 [INFO] [stdout] | [INFO] [stdout] 522 | let fields = parse_struct_literal_fields(src, tokens, id_gen, diagnostics); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 528 | Expression_::StructLiteral(name, 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] --> garden-lang-parser/src/lib.rs:582:9 [INFO] [stdout] | [INFO] [stdout] 542 | let scrutinee_expr = parse_inline_expression(src, tokens, id_gen, diagnostics); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 543 | let close_paren = require_token(tokens, diagnostics, ")"); [INFO] [stdout] 544 | let scrutinee = ParenthesizedExpression { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 552 | let mut cases = vec![]; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 582 | Expression_::Match(scrutinee, cases), [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] --> garden-lang-parser/src/lib.rs:1115:9 [INFO] [stdout] | [INFO] [stdout] 1097 | let body = parse_block(src, tokens, id_gen, diagnostics, false); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1115 | / Definition_::Test(TestInfo { [INFO] [stdout] 1116 | | src_string, [INFO] [stdout] 1117 | | doc_comment, [INFO] [stdout] 1118 | | name, [INFO] [stdout] 1119 | | body, [INFO] [stdout] 1120 | | }), [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] --> garden-lang-parser/src/lib.rs:1660:46 [INFO] [stdout] | [INFO] [stdout] 1628 | let body = parse_block(src, tokens, id_gen, diagnostics, false); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1642 | let fun_info = FunInfo { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1651 | let meth_info = MethodInfo { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1660 | Definition(src_string.clone(), position, Definition_::Method(meth_info)) [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] --> garden-lang-parser/src/lib.rs:1697:9 [INFO] [stdout] | [INFO] [stdout] 1678 | let body = parse_block(src, tokens, id_gen, diagnostics, false); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1697 | / Definition_::Fun( [INFO] [stdout] 1698 | | name.clone(), [INFO] [stdout] 1699 | | FunInfo { [INFO] [stdout] 1700 | | src_string, [INFO] [stdout] ... | [INFO] [stdout] 1707 | | }, [INFO] [stdout] 1708 | | ), [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] --> garden-lang-parser/src/lib.rs:1780:9 [INFO] [stdout] | [INFO] [stdout] 1775 | let expr = parse_inline_expression(src, tokens, id_gen, diagnostics); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1780 | Expression_::Let(variable, hint, Box::new(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] --> garden-lang-parser/src/lib.rs:1799:9 [INFO] [stdout] | [INFO] [stdout] 1794 | let expr = parse_inline_expression(src, tokens, id_gen, diagnostics); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1799 | Expression_::Assign(variable, Box::new(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] --> garden-lang-parser/src/lib.rs:1841:24 [INFO] [stdout] | [INFO] [stdout] 1814 | let block_expr = parse_block_member_expression(src, tokens, id_gen, &mut block_diagnostics); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1827 | let expr = parse_inline_expression(src, tokens, id_gen, &mut inline_diagnostics); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1841 | ToplevelItem::Expr(ToplevelExpression(block_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: aborting due to 13 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `garden-lang-parser` (lib) due to 14 previous errors [INFO] running `Command { std: "docker" "inspect" "d03ed47b340e680b082def61fb612cc9fa31134bf2ce85d87c7df6fc4d400da3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d03ed47b340e680b082def61fb612cc9fa31134bf2ce85d87c7df6fc4d400da3", kill_on_drop: false }` [INFO] [stdout] d03ed47b340e680b082def61fb612cc9fa31134bf2ce85d87c7df6fc4d400da3