[INFO] cloning repository https://github.com/antcap96/my-monkey-lang [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/antcap96/my-monkey-lang" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fantcap96%2Fmy-monkey-lang", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fantcap96%2Fmy-monkey-lang'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2777488d6a824d9f193c496b4bcea4ac1246732b [INFO] checking antcap96/my-monkey-lang/2777488d6a824d9f193c496b4bcea4ac1246732b 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%2Fantcap96%2Fmy-monkey-lang" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/antcap96/my-monkey-lang 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/antcap96/my-monkey-lang [INFO] finished tweaking git repo https://github.com/antcap96/my-monkey-lang [INFO] tweaked toml for git repo https://github.com/antcap96/my-monkey-lang written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/antcap96/my-monkey-lang already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1bd197fdc2ebbb4f8bf26d9e0906d5983ed80f6d2c4614fd5f7044eea2f3cc2a [INFO] running `Command { std: "docker" "start" "-a" "1bd197fdc2ebbb4f8bf26d9e0906d5983ed80f6d2c4614fd5f7044eea2f3cc2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1bd197fdc2ebbb4f8bf26d9e0906d5983ed80f6d2c4614fd5f7044eea2f3cc2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1bd197fdc2ebbb4f8bf26d9e0906d5983ed80f6d2c4614fd5f7044eea2f3cc2a", kill_on_drop: false }` [INFO] [stdout] 1bd197fdc2ebbb4f8bf26d9e0906d5983ed80f6d2c4614fd5f7044eea2f3cc2a [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] d486267041d04c55e273b1c912f0111539db618437af39241940b9c2fda26182 [INFO] running `Command { std: "docker" "start" "-a" "d486267041d04c55e273b1c912f0111539db618437af39241940b9c2fda26182", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.84 [INFO] [stderr] Compiling unicode-ident v1.0.9 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling toml_datetime v0.6.6 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Checking monkey-lang-core v0.1.0 (/opt/rustwide/workdir/monkey-lang-core) [INFO] [stderr] Compiling rustix v0.38.20 [INFO] [stderr] Checking anstyle v1.0.4 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Checking linux-raw-sys v0.4.10 [INFO] [stderr] Checking smallvec v1.11.1 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking anstyle-parse v0.2.2 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Checking endian-type v0.1.2 [INFO] [stderr] Checking clap_lex v0.5.1 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Checking home v0.5.5 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking nibble_vec v0.1.0 [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] --> monkey-lang-core/src/expression_parsing.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 92 | let expressions = parse_expression_list(parser, TokenKind::RBracket)?; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 93 | Ok(Expression::ArrayLiteral(expressions)) [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] = 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] --> monkey-lang-core/src/expression_parsing.rs:180:8 [INFO] [stdout] | [INFO] [stdout] 150 | let condition = Box::new(parser.parse_expression(Precedence::Lowest, token)?); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 151 | let mut alternative = None; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 162 | let consequence = parse_block_statement(parser)?; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 180 | Ok(Expression::IfExpression { [INFO] [stdout] | ________^ [INFO] [stdout] 181 | | condition, [INFO] [stdout] 182 | | consequence, [INFO] [stdout] 183 | | alternative, [INFO] [stdout] 184 | | }) [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] | [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] --> monkey-lang-core/src/expression_parsing.rs:245:8 [INFO] [stdout] | [INFO] [stdout] 243 | let body = parse_block_statement(parser)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 244 | [INFO] [stdout] 245 | Ok(Expression::FunctionLiteral { parameters, body }) [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] --> monkey-lang-core/src/expression_parsing.rs:343:8 [INFO] [stdout] | [INFO] [stdout] 341 | let body = parse_block_statement(parser)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 342 | [INFO] [stdout] 343 | Ok(crate::ast::MatchCase { pattern, body }) [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] --> monkey-lang-core/src/expression_parsing.rs:377:16 [INFO] [stdout] | [INFO] [stdout] 370 | move |left: Expression, parser: &mut Parser| -> Result { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 377 | Ok(Expression::InfixOperation( [INFO] [stdout] | ________________^ [INFO] [stdout] 378 | | kind, [INFO] [stdout] 379 | | Box::new(left), [INFO] [stdout] 380 | | Box::new(parser.parse_expression(new_precedence, new_token)?), [INFO] [stdout] 381 | | )) [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] --> monkey-lang-core/src/expression_parsing.rs:389:8 [INFO] [stdout] | [INFO] [stdout] 386 | fn parse_call_function(left: Expression, parser: &mut Parser) -> Result { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 387 | let arguments = parse_expression_list(parser, TokenKind::RParen)?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 388 | [INFO] [stdout] 389 | Ok(Expression::CallExpression { [INFO] [stdout] | ________^ [INFO] [stdout] 390 | | function: Box::new(left), [INFO] [stdout] 391 | | arguments, [INFO] [stdout] 392 | | }) [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] --> monkey-lang-core/src/expression_parsing.rs:411:8 [INFO] [stdout] | [INFO] [stdout] 395 | fn parse_index_expression(left: Expression, parser: &mut Parser) -> Result { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 400 | let index = parser.parse_expression(Precedence::Lowest, next)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 411 | Ok(Expression::IndexExpression { [INFO] [stdout] | ________^ [INFO] [stdout] 412 | | left: Box::new(left), [INFO] [stdout] 413 | | index: Box::new(index), [INFO] [stdout] 414 | | }) [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] --> monkey-lang-core/src/parser.rs:148:12 [INFO] [stdout] | [INFO] [stdout] 146 | let value = self.parse_expression(Precedence::Lowest, next)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 147 | [INFO] [stdout] 148 | Ok(crate::ast::LetStatement { [INFO] [stdout] | ____________^ [INFO] [stdout] 149 | | identifier: Identifier { name }, [INFO] [stdout] 150 | | value, [INFO] [stdout] 151 | | }) [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] --> monkey-lang-core/src/parser.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 159 | let value = self.parse_expression(Precedence::Lowest, next)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 160 | [INFO] [stdout] 161 | Ok(crate::ast::ReturnStatement { value }) [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: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking anstream v0.6.4 [INFO] [stderr] error: could not compile `monkey-lang-core` (lib) due to 10 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] --> monkey-lang-core/src/expression_parsing.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 92 | let expressions = parse_expression_list(parser, TokenKind::RBracket)?; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 93 | Ok(Expression::ArrayLiteral(expressions)) [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] = 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] --> monkey-lang-core/src/expression_parsing.rs:180:8 [INFO] [stdout] | [INFO] [stdout] 150 | let condition = Box::new(parser.parse_expression(Precedence::Lowest, token)?); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 151 | let mut alternative = None; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 162 | let consequence = parse_block_statement(parser)?; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 180 | Ok(Expression::IfExpression { [INFO] [stdout] | ________^ [INFO] [stdout] 181 | | condition, [INFO] [stdout] 182 | | consequence, [INFO] [stdout] 183 | | alternative, [INFO] [stdout] 184 | | }) [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] | [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] --> monkey-lang-core/src/expression_parsing.rs:245:8 [INFO] [stdout] | [INFO] [stdout] 243 | let body = parse_block_statement(parser)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 244 | [INFO] [stdout] 245 | Ok(Expression::FunctionLiteral { parameters, body }) [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] --> monkey-lang-core/src/expression_parsing.rs:343:8 [INFO] [stdout] | [INFO] [stdout] 341 | let body = parse_block_statement(parser)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 342 | [INFO] [stdout] 343 | Ok(crate::ast::MatchCase { pattern, body }) [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] --> monkey-lang-core/src/expression_parsing.rs:377:16 [INFO] [stdout] | [INFO] [stdout] 370 | move |left: Expression, parser: &mut Parser| -> Result { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 377 | Ok(Expression::InfixOperation( [INFO] [stdout] | ________________^ [INFO] [stdout] 378 | | kind, [INFO] [stdout] 379 | | Box::new(left), [INFO] [stdout] 380 | | Box::new(parser.parse_expression(new_precedence, new_token)?), [INFO] [stdout] 381 | | )) [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] --> monkey-lang-core/src/expression_parsing.rs:389:8 [INFO] [stdout] | [INFO] [stdout] 386 | fn parse_call_function(left: Expression, parser: &mut Parser) -> Result { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 387 | let arguments = parse_expression_list(parser, TokenKind::RParen)?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 388 | [INFO] [stdout] 389 | Ok(Expression::CallExpression { [INFO] [stdout] | ________^ [INFO] [stdout] 390 | | function: Box::new(left), [INFO] [stdout] 391 | | arguments, [INFO] [stdout] 392 | | }) [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] --> monkey-lang-core/src/expression_parsing.rs:411:8 [INFO] [stdout] | [INFO] [stdout] 395 | fn parse_index_expression(left: Expression, parser: &mut Parser) -> Result { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 400 | let index = parser.parse_expression(Precedence::Lowest, next)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 411 | Ok(Expression::IndexExpression { [INFO] [stdout] | ________^ [INFO] [stdout] 412 | | left: Box::new(left), [INFO] [stdout] 413 | | index: Box::new(index), [INFO] [stdout] 414 | | }) [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] --> monkey-lang-core/src/parser.rs:148:12 [INFO] [stdout] | [INFO] [stdout] 146 | let value = self.parse_expression(Precedence::Lowest, next)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 147 | [INFO] [stdout] 148 | Ok(crate::ast::LetStatement { [INFO] [stdout] | ____________^ [INFO] [stdout] 149 | | identifier: Identifier { name }, [INFO] [stdout] 150 | | value, [INFO] [stdout] 151 | | }) [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] --> monkey-lang-core/src/parser.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 159 | let value = self.parse_expression(Precedence::Lowest, next)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 160 | [INFO] [stdout] 161 | Ok(crate::ast::ReturnStatement { value }) [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: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `monkey-lang-core` (lib test) due to 10 previous errors [INFO] running `Command { std: "docker" "inspect" "d486267041d04c55e273b1c912f0111539db618437af39241940b9c2fda26182", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d486267041d04c55e273b1c912f0111539db618437af39241940b9c2fda26182", kill_on_drop: false }` [INFO] [stdout] d486267041d04c55e273b1c912f0111539db618437af39241940b9c2fda26182