[INFO] cloning repository https://github.com/daogilvie/rust-monkey [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/daogilvie/rust-monkey" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdaogilvie%2Frust-monkey", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdaogilvie%2Frust-monkey'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e85553928443db6b7bea08cffb63ff27717da79b [INFO] checking daogilvie/rust-monkey/e85553928443db6b7bea08cffb63ff27717da79b 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%2Fdaogilvie%2Frust-monkey" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/daogilvie/rust-monkey 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/daogilvie/rust-monkey [INFO] finished tweaking git repo https://github.com/daogilvie/rust-monkey [INFO] tweaked toml for git repo https://github.com/daogilvie/rust-monkey written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/daogilvie/rust-monkey 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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 59e408ab54a4281abf2a5229d8f4ab48d18e8ffdad27d0309e111a830aa0ab49 [INFO] running `Command { std: "docker" "start" "-a" "59e408ab54a4281abf2a5229d8f4ab48d18e8ffdad27d0309e111a830aa0ab49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "59e408ab54a4281abf2a5229d8f4ab48d18e8ffdad27d0309e111a830aa0ab49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59e408ab54a4281abf2a5229d8f4ab48d18e8ffdad27d0309e111a830aa0ab49", kill_on_drop: false }` [INFO] [stdout] 59e408ab54a4281abf2a5229d8f4ab48d18e8ffdad27d0309e111a830aa0ab49 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 4fbc5f0ce397a3e94c8257b1047943419ec47aa1143239cb1a301ac5a7146b04 [INFO] running `Command { std: "docker" "start" "-a" "4fbc5f0ce397a3e94c8257b1047943419ec47aa1143239cb1a301ac5a7146b04", kill_on_drop: false }` [INFO] [stderr] Checking rust-monkey v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function `with_str` is never used [INFO] [stdout] --> src/lex.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 90 | impl<'literal> Token<'literal> { [INFO] [stdout] | ------------------------------ associated function in this implementation [INFO] [stdout] 91 | pub fn with_str<'a>(token_type: TokenType, lit: &'a str) -> Token { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_statements` is never used [INFO] [stdout] --> src/parse.rs:131:16 [INFO] [stdout] | [INFO] [stdout] 126 | impl<'a> StatementBlock<'a> { [INFO] [stdout] | --------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 131 | pub fn get_statements(&self) -> &Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [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/parse.rs:363:12 [INFO] [stdout] | [INFO] [stdout] 359 | let value = self.parse_expression(OperatorPrecedence::LOWEST)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 363 | Ok(StatementNode { [INFO] [stdout] | ____________^ [INFO] [stdout] 364 | | token: original_token, [INFO] [stdout] 365 | | kind: StatementKind::Let { [INFO] [stdout] 366 | | name: ident_token, [INFO] [stdout] 367 | | value, [INFO] [stdout] 368 | | }, [INFO] [stdout] 369 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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/parse.rs:378:12 [INFO] [stdout] | [INFO] [stdout] 374 | let value = self.parse_expression(OperatorPrecedence::LOWEST)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 378 | Ok(StatementNode { [INFO] [stdout] | ____________^ [INFO] [stdout] 379 | | token: original_token, [INFO] [stdout] 380 | | kind: StatementKind::Return(value), [INFO] [stdout] 381 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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/parse.rs:397:12 [INFO] [stdout] | [INFO] [stdout] 386 | let result = self.parse_expression(OperatorPrecedence::LOWEST)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 397 | Ok(StatementNode { [INFO] [stdout] | ____________^ [INFO] [stdout] 398 | | token: original_token, [INFO] [stdout] 399 | | kind: StatementKind::Expression(result), [INFO] [stdout] 400 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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/parse.rs:446:12 [INFO] [stdout] | [INFO] [stdout] 434 | let parse_attempt = match &self.current_token.token_type { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 446 | Ok(Some(parse_attempt)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [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/parse.rs:573:12 [INFO] [stdout] | [INFO] [stdout] 572 | let rhs = self.parse_expression(OperatorPrecedence::PREFIX)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 573 | Ok(ExpressionNode { [INFO] [stdout] | ____________^ [INFO] [stdout] 574 | | token: operator_token.clone(), [INFO] [stdout] 575 | | kind: ExpressionKind::PrefixExpression { [INFO] [stdout] 576 | | operator: operator_token, [INFO] [stdout] 577 | | right: Box::new(rhs), [INFO] [stdout] 578 | | }, [INFO] [stdout] 579 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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/parse.rs:615:12 [INFO] [stdout] | [INFO] [stdout] 606 | let mut statements = Vec::new(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 615 | Ok(StatementBlock::from_statements(statements)) [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/parse.rs:624:12 [INFO] [stdout] | [INFO] [stdout] 623 | let body = self.parse_block_statement()?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 624 | Ok(ExpressionNode { [INFO] [stdout] | ____________^ [INFO] [stdout] 625 | | token: original_token, [INFO] [stdout] 626 | | kind: ExpressionKind::FunctionLiteral { [INFO] [stdout] 627 | | parameters, [INFO] [stdout] 628 | | body: Box::new(body), [INFO] [stdout] 629 | | }, [INFO] [stdout] 630 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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/parse.rs:654:12 [INFO] [stdout] | [INFO] [stdout] 651 | function: ExpressionNode<'a>, [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 652 | ) -> Result, String> { [INFO] [stdout] 653 | let arguments = self.parse_call_arguments()?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 654 | Ok(ExpressionNode { [INFO] [stdout] | ____________^ [INFO] [stdout] 655 | | token: original_token, [INFO] [stdout] 656 | | kind: ExpressionKind::CallExpression { [INFO] [stdout] 657 | | function: Box::new(function), [INFO] [stdout] 658 | | arguments, [INFO] [stdout] 659 | | }, [INFO] [stdout] 660 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-monkey` (bin "rust-monkey") due to 9 previous errors; 2 warnings emitted [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/parse.rs:363:12 [INFO] [stdout] | [INFO] [stdout] 359 | let value = self.parse_expression(OperatorPrecedence::LOWEST)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 363 | Ok(StatementNode { [INFO] [stdout] | ____________^ [INFO] [stdout] 364 | | token: original_token, [INFO] [stdout] 365 | | kind: StatementKind::Let { [INFO] [stdout] 366 | | name: ident_token, [INFO] [stdout] 367 | | value, [INFO] [stdout] 368 | | }, [INFO] [stdout] 369 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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/parse.rs:378:12 [INFO] [stdout] | [INFO] [stdout] 374 | let value = self.parse_expression(OperatorPrecedence::LOWEST)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 378 | Ok(StatementNode { [INFO] [stdout] | ____________^ [INFO] [stdout] 379 | | token: original_token, [INFO] [stdout] 380 | | kind: StatementKind::Return(value), [INFO] [stdout] 381 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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/parse.rs:397:12 [INFO] [stdout] | [INFO] [stdout] 386 | let result = self.parse_expression(OperatorPrecedence::LOWEST)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 397 | Ok(StatementNode { [INFO] [stdout] | ____________^ [INFO] [stdout] 398 | | token: original_token, [INFO] [stdout] 399 | | kind: StatementKind::Expression(result), [INFO] [stdout] 400 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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/parse.rs:446:12 [INFO] [stdout] | [INFO] [stdout] 434 | let parse_attempt = match &self.current_token.token_type { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 446 | Ok(Some(parse_attempt)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [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/parse.rs:573:12 [INFO] [stdout] | [INFO] [stdout] 572 | let rhs = self.parse_expression(OperatorPrecedence::PREFIX)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 573 | Ok(ExpressionNode { [INFO] [stdout] | ____________^ [INFO] [stdout] 574 | | token: operator_token.clone(), [INFO] [stdout] 575 | | kind: ExpressionKind::PrefixExpression { [INFO] [stdout] 576 | | operator: operator_token, [INFO] [stdout] 577 | | right: Box::new(rhs), [INFO] [stdout] 578 | | }, [INFO] [stdout] 579 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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/parse.rs:615:12 [INFO] [stdout] | [INFO] [stdout] 606 | let mut statements = Vec::new(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 615 | Ok(StatementBlock::from_statements(statements)) [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/parse.rs:624:12 [INFO] [stdout] | [INFO] [stdout] 623 | let body = self.parse_block_statement()?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 624 | Ok(ExpressionNode { [INFO] [stdout] | ____________^ [INFO] [stdout] 625 | | token: original_token, [INFO] [stdout] 626 | | kind: ExpressionKind::FunctionLiteral { [INFO] [stdout] 627 | | parameters, [INFO] [stdout] 628 | | body: Box::new(body), [INFO] [stdout] 629 | | }, [INFO] [stdout] 630 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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/parse.rs:654:12 [INFO] [stdout] | [INFO] [stdout] 651 | function: ExpressionNode<'a>, [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 652 | ) -> Result, String> { [INFO] [stdout] 653 | let arguments = self.parse_call_arguments()?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 654 | Ok(ExpressionNode { [INFO] [stdout] | ____________^ [INFO] [stdout] 655 | | token: original_token, [INFO] [stdout] 656 | | kind: ExpressionKind::CallExpression { [INFO] [stdout] 657 | | function: Box::new(function), [INFO] [stdout] 658 | | arguments, [INFO] [stdout] 659 | | }, [INFO] [stdout] 660 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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 `rust-monkey` (bin "rust-monkey" test) due to 9 previous errors [INFO] running `Command { std: "docker" "inspect" "4fbc5f0ce397a3e94c8257b1047943419ec47aa1143239cb1a301ac5a7146b04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4fbc5f0ce397a3e94c8257b1047943419ec47aa1143239cb1a301ac5a7146b04", kill_on_drop: false }` [INFO] [stdout] 4fbc5f0ce397a3e94c8257b1047943419ec47aa1143239cb1a301ac5a7146b04