[INFO] cloning repository https://github.com/Matus-Dubrava/monkey_interpreter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Matus-Dubrava/monkey_interpreter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMatus-Dubrava%2Fmonkey_interpreter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMatus-Dubrava%2Fmonkey_interpreter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 032d745e8a4e8dab59c00284ec90369b9f0abd55 [INFO] checking Matus-Dubrava/monkey_interpreter/032d745e8a4e8dab59c00284ec90369b9f0abd55 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%2FMatus-Dubrava%2Fmonkey_interpreter" "/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/Matus-Dubrava/monkey_interpreter 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/Matus-Dubrava/monkey_interpreter [INFO] finished tweaking git repo https://github.com/Matus-Dubrava/monkey_interpreter [INFO] tweaked toml for git repo https://github.com/Matus-Dubrava/monkey_interpreter written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Matus-Dubrava/monkey_interpreter 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] warning: file `/workspace/builds/worker-6-tc2/source/src/main.rs` found to be present in multiple build targets: [INFO] [stderr] * `lib` target `monkey_interpreter` [INFO] [stderr] * `bin` target `monkey_interpreter` [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] f745145ee05180905e1e96593b9f7e0554e05e5e3e5239b3a7e6a14f5360b983 [INFO] running `Command { std: "docker" "start" "-a" "f745145ee05180905e1e96593b9f7e0554e05e5e3e5239b3a7e6a14f5360b983", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f745145ee05180905e1e96593b9f7e0554e05e5e3e5239b3a7e6a14f5360b983", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f745145ee05180905e1e96593b9f7e0554e05e5e3e5239b3a7e6a14f5360b983", kill_on_drop: false }` [INFO] [stdout] f745145ee05180905e1e96593b9f7e0554e05e5e3e5239b3a7e6a14f5360b983 [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] 1c59eafe8c04364373dec3f58348efb4d7b200eca05fdb82d31566c1af6144a9 [INFO] running `Command { std: "docker" "start" "-a" "1c59eafe8c04364373dec3f58348efb4d7b200eca05fdb82d31566c1af6144a9", kill_on_drop: false }` [INFO] [stderr] warning: file `/opt/rustwide/workdir/src/main.rs` found to be present in multiple build targets: [INFO] [stderr] * `lib` target `monkey_interpreter` [INFO] [stderr] * `bin` target `monkey_interpreter` [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Compiling eyre v0.6.8 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking gimli v0.28.0 [INFO] [stderr] Checking anstyle v1.0.3 [INFO] [stderr] Checking memchr v2.6.3 [INFO] [stderr] Checking sharded-slab v0.1.4 [INFO] [stderr] Checking anstyle-parse v0.2.1 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Checking indenter v0.3.3 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Checking anstream v0.5.0 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Checking clap_builder v4.4.4 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking object v0.32.1 [INFO] [stderr] Checking owo-colors v3.5.0 [INFO] [stderr] Checking clap_lex v0.5.1 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking tracing-subscriber v0.3.17 [INFO] [stderr] Compiling syn v2.0.35 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking tracing-error v0.2.0 [INFO] [stderr] Checking color-spantrace v0.2.0 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Compiling clap_derive v4.4.2 [INFO] [stderr] Checking color-eyre v0.6.2 [INFO] [stderr] Checking clap v4.4.4 [INFO] [stderr] Checking monkey_interpreter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Node` [INFO] [stdout] --> src/parser.rs:5:95 [INFO] [stdout] | [INFO] [stdout] 5 | FunctionLiteral, Identifier, IfExpression, InfixExpression, IntegerLiteral, LetStatement, Node, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `environment` [INFO] [stdout] --> src/ast.rs:43:20 [INFO] [stdout] | [INFO] [stdout] 43 | fn eval(&self, environment: &mut Environment) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_environment` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Node` [INFO] [stdout] --> src/parser.rs:5:95 [INFO] [stdout] | [INFO] [stdout] 5 | FunctionLiteral, Identifier, IfExpression, InfixExpression, IntegerLiteral, LetStatement, Node, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Node` [INFO] [stdout] --> src/parser.rs:5:95 [INFO] [stdout] | [INFO] [stdout] 5 | FunctionLiteral, Identifier, IfExpression, InfixExpression, IntegerLiteral, LetStatement, Node, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `environment` [INFO] [stdout] --> src/ast.rs:335:20 [INFO] [stdout] | [INFO] [stdout] 335 | fn eval(&self, environment: &mut Environment) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_environment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `environment` [INFO] [stdout] --> src/ast.rs:368:20 [INFO] [stdout] | [INFO] [stdout] 368 | fn eval(&self, environment: &mut Environment) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_environment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `environment` [INFO] [stdout] --> src/ast.rs:43:20 [INFO] [stdout] | [INFO] [stdout] 43 | fn eval(&self, environment: &mut Environment) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_environment` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `environment` [INFO] [stdout] --> src/ast.rs:43:20 [INFO] [stdout] | [INFO] [stdout] 43 | fn eval(&self, environment: &mut Environment) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_environment` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `environment` [INFO] [stdout] --> src/ast.rs:688:20 [INFO] [stdout] | [INFO] [stdout] 688 | fn eval(&self, environment: &mut Environment) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_environment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `environment` [INFO] [stdout] --> src/ast.rs:736:20 [INFO] [stdout] | [INFO] [stdout] 736 | fn eval(&self, environment: &mut Environment) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_environment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `environment` [INFO] [stdout] --> src/ast.rs:335:20 [INFO] [stdout] | [INFO] [stdout] 335 | fn eval(&self, environment: &mut Environment) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_environment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `environment` [INFO] [stdout] --> src/ast.rs:778:20 [INFO] [stdout] | [INFO] [stdout] 778 | fn eval(&self, environment: &mut Environment) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_environment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `environment` [INFO] [stdout] --> src/ast.rs:368:20 [INFO] [stdout] | [INFO] [stdout] 368 | fn eval(&self, environment: &mut Environment) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_environment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `environment` [INFO] [stdout] --> src/ast.rs:335:20 [INFO] [stdout] | [INFO] [stdout] 335 | fn eval(&self, environment: &mut Environment) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_environment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `environment` [INFO] [stdout] --> src/ast.rs:368:20 [INFO] [stdout] | [INFO] [stdout] 368 | fn eval(&self, environment: &mut Environment) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_environment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `environment` [INFO] [stdout] --> src/ast.rs:688:20 [INFO] [stdout] | [INFO] [stdout] 688 | fn eval(&self, environment: &mut Environment) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_environment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `environment` [INFO] [stdout] --> src/ast.rs:736:20 [INFO] [stdout] | [INFO] [stdout] 736 | fn eval(&self, environment: &mut Environment) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_environment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `environment` [INFO] [stdout] --> src/ast.rs:778:20 [INFO] [stdout] | [INFO] [stdout] 778 | fn eval(&self, environment: &mut Environment) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_environment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `environment` [INFO] [stdout] --> src/ast.rs:688:20 [INFO] [stdout] | [INFO] [stdout] 688 | fn eval(&self, environment: &mut Environment) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_environment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `environment` [INFO] [stdout] --> src/ast.rs:736:20 [INFO] [stdout] | [INFO] [stdout] 736 | fn eval(&self, environment: &mut Environment) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_environment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `environment` [INFO] [stdout] --> src/ast.rs:778:20 [INFO] [stdout] | [INFO] [stdout] 778 | fn eval(&self, environment: &mut Environment) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_environment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/main.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn main() -> Result<(), color_eyre::Report> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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:390:14 [INFO] [stdout] | [INFO] [stdout] 385 | 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] ... [INFO] [stdout] 390 | Some(Box::new(FunctionLiteral::new( [INFO] [stdout] | ______________^ [INFO] [stdout] 391 | | cur_token, [INFO] [stdout] 392 | | parameters, [INFO] [stdout] 393 | | body.unwrap(), [INFO] [stdout] 394 | | ))) [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:517:14 [INFO] [stdout] | [INFO] [stdout] 490 | let mut block_statements: Vec> = Vec::new(); [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 517 | Some(BlockStatement::new(cur_token, block_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/parser.rs:584:14 [INFO] [stdout] | [INFO] [stdout] 574 | let expr = self.parse_expression(LOWEST); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 584 | Some(Box::new(ReturnStatement::new(cur_token, expr.unwrap()))) [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:617:14 [INFO] [stdout] | [INFO] [stdout] 607 | let expr = self.parse_expression(LOWEST); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 617 | Some(Box::new(LetStatement::new( [INFO] [stdout] | ______________^ [INFO] [stdout] 618 | | cur_token, [INFO] [stdout] 619 | | identifier, [INFO] [stdout] 620 | | expr.unwrap(), [INFO] [stdout] 621 | | ))) [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 4 previous errors; 8 warnings emitted [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:390:14 [INFO] [stdout] | [INFO] [stdout] 385 | 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] ... [INFO] [stdout] 390 | Some(Box::new(FunctionLiteral::new( [INFO] [stdout] | ______________^ [INFO] [stdout] 391 | | cur_token, [INFO] [stdout] 392 | | parameters, [INFO] [stdout] 393 | | body.unwrap(), [INFO] [stdout] 394 | | ))) [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:517:14 [INFO] [stdout] | [INFO] [stdout] 490 | let mut block_statements: Vec> = Vec::new(); [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 517 | Some(BlockStatement::new(cur_token, block_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/parser.rs:584:14 [INFO] [stdout] | [INFO] [stdout] 574 | let expr = self.parse_expression(LOWEST); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 584 | Some(Box::new(ReturnStatement::new(cur_token, expr.unwrap()))) [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:617:14 [INFO] [stdout] | [INFO] [stdout] 607 | let expr = self.parse_expression(LOWEST); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 617 | Some(Box::new(LetStatement::new( [INFO] [stdout] | ______________^ [INFO] [stdout] 618 | | cur_token, [INFO] [stdout] 619 | | identifier, [INFO] [stdout] 620 | | expr.unwrap(), [INFO] [stdout] 621 | | ))) [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 4 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `monkey_interpreter` (lib) due to 5 previous errors; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/main.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn main() -> Result<(), color_eyre::Report> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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:390:14 [INFO] [stdout] | [INFO] [stdout] 385 | 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] ... [INFO] [stdout] 390 | Some(Box::new(FunctionLiteral::new( [INFO] [stdout] | ______________^ [INFO] [stdout] 391 | | cur_token, [INFO] [stdout] 392 | | parameters, [INFO] [stdout] 393 | | body.unwrap(), [INFO] [stdout] 394 | | ))) [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:517:14 [INFO] [stdout] | [INFO] [stdout] 490 | let mut block_statements: Vec> = Vec::new(); [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 517 | Some(BlockStatement::new(cur_token, block_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/parser.rs:584:14 [INFO] [stdout] | [INFO] [stdout] 574 | let expr = self.parse_expression(LOWEST); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 584 | Some(Box::new(ReturnStatement::new(cur_token, expr.unwrap()))) [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:617:14 [INFO] [stdout] | [INFO] [stdout] 607 | let expr = self.parse_expression(LOWEST); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 617 | Some(Box::new(LetStatement::new( [INFO] [stdout] | ______________^ [INFO] [stdout] 618 | | cur_token, [INFO] [stdout] 619 | | identifier, [INFO] [stdout] 620 | | expr.unwrap(), [INFO] [stdout] 621 | | ))) [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] [stderr] error: could not compile `monkey_interpreter` (lib test) due to 5 previous errors; 7 warnings emitted [INFO] [stdout] error: aborting due to 4 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `monkey_interpreter` (lib) due to 5 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "1c59eafe8c04364373dec3f58348efb4d7b200eca05fdb82d31566c1af6144a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c59eafe8c04364373dec3f58348efb4d7b200eca05fdb82d31566c1af6144a9", kill_on_drop: false }` [INFO] [stdout] 1c59eafe8c04364373dec3f58348efb4d7b200eca05fdb82d31566c1af6144a9