[INFO] cloning repository https://github.com/JonasFovea/monkey-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JonasFovea/monkey-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJonasFovea%2Fmonkey-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJonasFovea%2Fmonkey-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1201226a510c8c54f44aa58c68321a7dbdf5694f [INFO] checking JonasFovea/monkey-rs/1201226a510c8c54f44aa58c68321a7dbdf5694f against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJonasFovea%2Fmonkey-rs" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JonasFovea/monkey-rs on toolchain 7014e13d5becc920d4bea3cd87942c8a13d359bf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/JonasFovea/monkey-rs [INFO] finished tweaking git repo https://github.com/JonasFovea/monkey-rs [INFO] tweaked toml for git repo https://github.com/JonasFovea/monkey-rs written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/JonasFovea/monkey-rs 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" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e68126a2fcc911445cebd236ffd11351a39ffbc91afd75675641af4ba10767b5 [INFO] running `Command { std: "docker" "start" "-a" "e68126a2fcc911445cebd236ffd11351a39ffbc91afd75675641af4ba10767b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e68126a2fcc911445cebd236ffd11351a39ffbc91afd75675641af4ba10767b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e68126a2fcc911445cebd236ffd11351a39ffbc91afd75675641af4ba10767b5", kill_on_drop: false }` [INFO] [stdout] e68126a2fcc911445cebd236ffd11351a39ffbc91afd75675641af4ba10767b5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2f49aee03168d600626eea8c63ffd7d28b7ea7de6d53b15d051664dab1d5f4a8 [INFO] running `Command { std: "docker" "start" "-a" "2f49aee03168d600626eea8c63ffd7d28b7ea7de6d53b15d051664dab1d5f4a8", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.98 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking gimli v0.28.1 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking rustc-demangle v0.1.24 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking whoami v1.5.1 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking argparse v0.2.2 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Checking monkey-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `anyhow::Context` [INFO] [stdout] --> src/code/test.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::Context; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Instructions`, `Opcode`, and `make` [INFO] [stdout] --> src/code/test.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::code::{make, Instructions, Opcode}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `lookup`, `make`, and `read_operands` [INFO] [stdout] --> src/compiler/test.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::code::{lookup, make, read_operands, Instructions, Opcode}; [INFO] [stdout] | ^^^^^^ ^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Scope`, `SymbolTable`, and `Symbol` [INFO] [stdout] --> src/compiler/test.rs:3:37 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::compiler::symbol_table::{Scope, Symbol, SymbolTable}; [INFO] [stdout] | ^^^^^ ^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/compiler/test.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Mutex` [INFO] [stdout] --> src/compiler/test.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Scope`, `SymbolTable`, and `Symbol` [INFO] [stdout] --> src/compiler/test_symbol_table.rs:1:37 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::compiler::symbol_table::{Scope, Symbol, SymbolTable}; [INFO] [stdout] | ^^^^^ ^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/compiler/test_symbol_table.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/compiler/test_symbol_table.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Mutex` [INFO] [stdout] --> src/compiler/test_symbol_table.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Program` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/compiler/test.rs:996:13 [INFO] [stdout] | [INFO] [stdout] 994 | fn run_compiler_tests(tests: Vec) { [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 995 | for (i, test) in tests.iter().enumerate() { [INFO] [stdout] 996 | let program = parse(&test.input); [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: this value of type `Zip, std::vec::IntoIter>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/compiler/test.rs:1051:19 [INFO] [stdout] | [INFO] [stdout] 1048 | fn test_constants(expected: Vec, actual: Vec, test_case: usize) { [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1051 | for (e, a) in expected.iter().zip(actual) { [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: this value of type `Program` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/vm/test.rs:120:13 [INFO] [stdout] | [INFO] [stdout] 118 | fn run_vm_tests(tests: Vec) { [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 119 | for (tst_no, test) in tests.iter().enumerate() { [INFO] [stdout] 120 | let program = parse(&test.input); [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] warning: associated items `from_vec`, `join`, `to_string`, and `fmt_instruction` are never used [INFO] [stdout] --> src/code/mod.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Instructions { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn from_vec(vec: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn join(instruction_sets: Vec) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn to_string(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub(crate) fn fmt_instruction(definition: &Definition, operands: &Vec) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/code/mod.rs:323:5 [INFO] [stdout] | [INFO] [stdout] 322 | pub struct Definition { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 323 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Definition` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lookup` is never used [INFO] [stdout] --> src/code/mod.rs:327:8 [INFO] [stdout] | [INFO] [stdout] 327 | pub fn lookup(byte: u8) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_operands` is never used [INFO] [stdout] --> src/code/mod.rs:357:8 [INFO] [stdout] | [INFO] [stdout] 357 | pub fn read_operands(definition: Definition, instructions: Instructions) -> (Vec, usize) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CompilerTestCase` is never constructed [INFO] [stdout] --> src/compiler/test.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | struct CompilerTestCase { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_compiler_tests` is never used [INFO] [stdout] --> src/compiler/test.rs:994:4 [INFO] [stdout] | [INFO] [stdout] 994 | fn run_compiler_tests(tests: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse` is never used [INFO] [stdout] --> src/compiler/test.rs:1015:4 [INFO] [stdout] | [INFO] [stdout] 1015 | fn parse(input: &str) -> Program { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_integer_object` is never used [INFO] [stdout] --> src/compiler/test.rs:1021:4 [INFO] [stdout] | [INFO] [stdout] 1021 | fn test_integer_object(expected: i64, actual: &Object) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_string_object` is never used [INFO] [stdout] --> src/compiler/test.rs:1028:4 [INFO] [stdout] | [INFO] [stdout] 1028 | fn test_string_object(expected: &str, actual: &Object) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_instructions` is never used [INFO] [stdout] --> src/compiler/test.rs:1035:4 [INFO] [stdout] | [INFO] [stdout] 1035 | fn test_instructions(expected: Vec, actual: Instructions, test_case: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_constants` is never used [INFO] [stdout] --> src/compiler/test.rs:1048:4 [INFO] [stdout] | [INFO] [stdout] 1048 | fn test_constants(expected: Vec, actual: Vec, test_case: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse` is never used [INFO] [stdout] --> src/vm/test.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn parse(input: &str) -> Program { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_integer_object` is never used [INFO] [stdout] --> src/vm/test.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn test_integer_object(expected: i64, actual: &Object, test_no: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_boolean_object` is never used [INFO] [stdout] --> src/vm/test.rs:21:4 [INFO] [stdout] | [INFO] [stdout] 21 | fn test_boolean_object(expected: bool, actual: &Object, test_no: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_string_object` is never used [INFO] [stdout] --> src/vm/test.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn test_string_object(expected: &str, actual: &Object, test_no: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_array_object` is never used [INFO] [stdout] --> src/vm/test.rs:35:4 [INFO] [stdout] | [INFO] [stdout] 35 | fn test_array_object(objects: &[Object], actual: &Object, test_no: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_hash_object` is never used [INFO] [stdout] --> src/vm/test.rs:46:4 [INFO] [stdout] | [INFO] [stdout] 46 | fn test_hash_object(expected: &HashMap, actual: &Object, test_no: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ExpectError` is never used [INFO] [stdout] --> src/vm/test.rs:58:6 [INFO] [stdout] | [INFO] [stdout] 58 | enum ExpectError { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VMTestCase` is never constructed [INFO] [stdout] --> src/vm/test.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | struct VMTestCase { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new_int_result_case`, `new_bool_result_case`, `new_string_result_case`, `new_array_result_case`, `new_null_result_case`, and `new_expected_error` are never used [INFO] [stdout] --> src/vm/test.rs:71:19 [INFO] [stdout] | [INFO] [stdout] 70 | impl VMTestCase { [INFO] [stdout] | --------------- associated functions in this implementation [INFO] [stdout] 71 | pub(crate) fn new_int_result_case(input: &str, expected_int: i64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub(crate) fn new_bool_result_case(input: &str, expected_bool: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub(crate) fn new_string_result_case(input: &str, expected_string: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub(crate) fn new_array_result_case(input: &str, expected_array: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub(crate) fn new_null_result_case(input: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub(crate) fn new_expected_error(input: &str, err_msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_vm_tests` is never used [INFO] [stdout] --> src/vm/test.rs:118:4 [INFO] [stdout] | [INFO] [stdout] 118 | fn run_vm_tests(tests: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_expected_object` is never used [INFO] [stdout] --> src/vm/test.rs:161:4 [INFO] [stdout] | [INFO] [stdout] 161 | fn test_expected_object(expected: &Object, actual: &Object, test_no: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 32 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `std::vec::IntoIter` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ast/test.rs:37:18 [INFO] [stdout] | [INFO] [stdout] 32 | let program = program.unwrap(); [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 37 | for stmnt in program.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] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `monkey-rs` (bin "monkey-rs") due to 4 previous errors; 32 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this value of type `BlockStatement` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/evaluator/test.rs:216:37 [INFO] [stdout] | [INFO] [stdout] 214 | let evaluated = evaluated.unwrap(); [INFO] [stdout] | --------- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 215 | [INFO] [stdout] 216 | if let Object::Function(params, body, _) = evaluated { [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: this value of type `Vec` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/evaluator/test.rs:294:29 [INFO] [stdout] | [INFO] [stdout] 293 | let evaluated = test_eval(input); [INFO] [stdout] | --------- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 294 | if let Ok(Object::Array(e)) = evaluated { [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: this value of type `HashMap` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/evaluator/test.rs:347:28 [INFO] [stdout] | [INFO] [stdout] 335 | let expected = vec![ [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 345 | let evaluated = test_eval(input); [INFO] [stdout] | --------- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 346 | println!("{:?}", evaluated); [INFO] [stdout] 347 | if let Ok(Object::Hash(map)) = evaluated { [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: this value of type `ast::Program` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/compiler/test.rs:996:13 [INFO] [stdout] | [INFO] [stdout] 994 | fn run_compiler_tests(tests: Vec) { [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 995 | for (i, test) in tests.iter().enumerate() { [INFO] [stdout] 996 | let program = parse(&test.input); [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: this value of type `Zip, std::vec::IntoIter>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/compiler/test.rs:1051:19 [INFO] [stdout] | [INFO] [stdout] 1048 | fn test_constants(expected: Vec, actual: Vec, test_case: usize) { [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1051 | for (e, a) in expected.iter().zip(actual) { [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: this value of type `ast::Program` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/vm/test.rs:120:13 [INFO] [stdout] | [INFO] [stdout] 118 | fn run_vm_tests(tests: Vec) { [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 119 | for (tst_no, test) in tests.iter().enumerate() { [INFO] [stdout] 120 | let program = parse(&test.input); [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 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `monkey-rs` (bin "monkey-rs" test) due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "2f49aee03168d600626eea8c63ffd7d28b7ea7de6d53b15d051664dab1d5f4a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f49aee03168d600626eea8c63ffd7d28b7ea7de6d53b15d051664dab1d5f4a8", kill_on_drop: false }` [INFO] [stdout] 2f49aee03168d600626eea8c63ffd7d28b7ea7de6d53b15d051664dab1d5f4a8