[INFO] cloning repository https://github.com/PickledChair/RustyMonkey [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/PickledChair/RustyMonkey" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPickledChair%2FRustyMonkey", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPickledChair%2FRustyMonkey'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 879e584b2c9776e2bf6bb0d78ab889c95ed5628e [INFO] checking PickledChair/RustyMonkey/879e584b2c9776e2bf6bb0d78ab889c95ed5628e 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%2FPickledChair%2FRustyMonkey" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/PickledChair/RustyMonkey 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/PickledChair/RustyMonkey [INFO] finished tweaking git repo https://github.com/PickledChair/RustyMonkey [INFO] tweaked toml for git repo https://github.com/PickledChair/RustyMonkey written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/PickledChair/RustyMonkey 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] c86449e8a35a99a6030980e73299c69d259b81818062b29b97cac15f6f865f6c [INFO] running `Command { std: "docker" "start" "-a" "c86449e8a35a99a6030980e73299c69d259b81818062b29b97cac15f6f865f6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c86449e8a35a99a6030980e73299c69d259b81818062b29b97cac15f6f865f6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c86449e8a35a99a6030980e73299c69d259b81818062b29b97cac15f6f865f6c", kill_on_drop: false }` [INFO] [stdout] c86449e8a35a99a6030980e73299c69d259b81818062b29b97cac15f6f865f6c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] d059474516bf5250fa623e657eb0d062d957b45cb68c66d7562b227f95a7883a [INFO] running `Command { std: "docker" "start" "-a" "d059474516bf5250fa623e657eb0d062d957b45cb68c66d7562b227f95a7883a", kill_on_drop: false }` [INFO] [stderr] Compiling whoami v1.1.1 [INFO] [stderr] Checking rusty_monkey v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `object::object::Object` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/object/builtin_functions.rs:38:11 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn builtin_len(args: Vec) -> Object { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 38 | match args[0].clone() { [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 `object::object::Object` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/object/builtin_functions.rs:53:11 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn builtin_str(args: Vec) -> Object { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 53 | match args[0].clone() { [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 `object::object::Object` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/object/builtin_functions.rs:72:11 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn builtin_int(args: Vec) -> Object { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 72 | match args[0].clone() { [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 `object::object::Object` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/object/builtin_functions.rs:98:11 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn builtin_first(args: Vec) -> Object { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 98 | match args[0].clone() { [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 `object::object::Object` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/object/builtin_functions.rs:128:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn builtin_last(args: Vec) -> Object { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 128 | match args[0].clone() { [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 `object::object::Object` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/object/builtin_functions.rs:159:11 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn builtin_rest(args: Vec) -> Object { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 159 | match args[0].clone() { [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 `object::object::Object` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/object/builtin_functions.rs:193:11 [INFO] [stdout] | [INFO] [stdout] 188 | pub fn builtin_init(args: Vec) -> Object { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 193 | match args[0].clone() { [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 `object::object::Object` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/object/builtin_functions.rs:225:11 [INFO] [stdout] | [INFO] [stdout] 221 | pub fn builtin_push(args: Vec) -> Object { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 225 | match args[0].clone() { [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 `object::object::Object` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/object/builtin_functions.rs:277:11 [INFO] [stdout] | [INFO] [stdout] 272 | pub fn builtin_readfile(args: Vec) -> Object { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 277 | match args[0].clone() { [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 `(object::object::Object, object::object::Object)` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/object/builtin_functions.rs:310:11 [INFO] [stdout] | [INFO] [stdout] 306 | pub fn builtin_writefile(args: Vec) -> Object { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 310 | match (args[0].clone(), args[1].clone()) { [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 `Box` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/parser_test.rs:222:32 [INFO] [stdout] | [INFO] [stdout] 219 | fn test_integer_literal(il: Expression, value: i64) { [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] ... [INFO] [stdout] 222 | Expression::IntLiteral(int_lit) => { [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 `Box` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/parser_test.rs:247:32 [INFO] [stdout] | [INFO] [stdout] 245 | fn test_identifier(exp: Expression, value: &str) { [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] 246 | match exp { [INFO] [stdout] 247 | Expression::Identifier(ident) => { [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 `Box` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/parser_test.rs:270:29 [INFO] [stdout] | [INFO] [stdout] 268 | fn test_boolean_literal(exp: Expression, value: bool) { [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] 269 | match exp { [INFO] [stdout] 270 | Expression::Boolean(boolean) => { [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 `Box` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/parser_test.rs:310:31 [INFO] [stdout] | [INFO] [stdout] 308 | fn test_infix_expression(exp: Expression, left: &Expected, operator: String, right: &Expected) { [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] 309 | match exp { [INFO] [stdout] 310 | Expression::InfixExpr(infix_expr) => { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Box` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/parser_test.rs:582:29 [INFO] [stdout] | [INFO] [stdout] 570 | let mut program = p.parse_program(&env::current_dir().unwrap()); [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 579 | let stmt = program.statements.pop().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] ... [INFO] [stdout] 582 | Statement::ExprStmt(expr_stmt) => { [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 `Box` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/parser_test.rs:655:29 [INFO] [stdout] | [INFO] [stdout] 643 | let mut program = p.parse_program(&env::current_dir().unwrap()); [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 652 | let stmt = program.statements.pop().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] ... [INFO] [stdout] 655 | Statement::ExprStmt(expr_stmt) => { [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 `Box` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/parser_test.rs:742:29 [INFO] [stdout] | [INFO] [stdout] 731 | let mut program = p.parse_program(&env::current_dir().unwrap()); [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 740 | let stmt = program.statements.pop().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] 741 | match stmt { [INFO] [stdout] 742 | Statement::ExprStmt(expr_stmt) => { [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 `Box` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/parser_test.rs:870:29 [INFO] [stdout] | [INFO] [stdout] 859 | let program = p.parse_program(&env::current_dir().unwrap()); [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 868 | let stmt = program.statements[0].clone(); [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] 869 | match stmt { [INFO] [stdout] 870 | Statement::ExprStmt(expr_stmt) => { [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 `Box` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/parser_test.rs:927:29 [INFO] [stdout] | [INFO] [stdout] 922 | let program = p.parse_program(&env::current_dir().unwrap()); [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 925 | let stmt = program.statements[0].clone(); [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] 926 | match stmt { [INFO] [stdout] 927 | Statement::ExprStmt(expr_stmt) => { [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 `Box` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/parser_test.rs:965:29 [INFO] [stdout] | [INFO] [stdout] 960 | let program = p.parse_program(&env::current_dir().unwrap()); [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 963 | let stmt = program.statements[0].clone(); [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] 964 | match stmt { [INFO] [stdout] 965 | Statement::ExprStmt(expr_stmt) => { [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 `Box` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/parser_test.rs:1017:29 [INFO] [stdout] | [INFO] [stdout] 1012 | let program = p.parse_program(&env::current_dir().unwrap()); [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1015 | let stmt = program.statements[0].clone(); [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] 1016 | match stmt { [INFO] [stdout] 1017 | Statement::ExprStmt(expr_stmt) => { [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 `Box` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/parser_test.rs:1055:29 [INFO] [stdout] | [INFO] [stdout] 1050 | let program = p.parse_program(&env::current_dir().unwrap()); [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1053 | let stmt = program.statements[0].clone(); [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] 1054 | match stmt { [INFO] [stdout] 1055 | Statement::ExprStmt(expr_stmt) => { [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 `Box` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/parser_test.rs:1097:29 [INFO] [stdout] | [INFO] [stdout] 1092 | let program = p.parse_program(&env::current_dir().unwrap()); [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1095 | let stmt = program.statements[0].clone(); [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] 1096 | match stmt { [INFO] [stdout] 1097 | Statement::ExprStmt(expr_stmt) => { [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 `Box` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/parser_test.rs:1159:29 [INFO] [stdout] | [INFO] [stdout] 1154 | let program = p.parse_program(&env::current_dir().unwrap()); [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1157 | let stmt = program.statements[0].clone(); [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] 1158 | match stmt { [INFO] [stdout] 1159 | Statement::ExprStmt(expr_stmt) => { [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 `Box` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/parser_test.rs:1197:29 [INFO] [stdout] | [INFO] [stdout] 1192 | let program = p.parse_program(&env::current_dir().unwrap()); [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1195 | let stmt = program.statements[0].clone(); [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] 1196 | match stmt { [INFO] [stdout] 1197 | Statement::ExprStmt(expr_stmt) => { [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 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `object::object::Object` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/object/builtin_functions.rs:38:11 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn builtin_len(args: Vec) -> Object { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 38 | match args[0].clone() { [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 `object::object::Object` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/object/builtin_functions.rs:53:11 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn builtin_str(args: Vec) -> Object { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 53 | match args[0].clone() { [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 `object::object::Object` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/object/builtin_functions.rs:72:11 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn builtin_int(args: Vec) -> Object { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 72 | match args[0].clone() { [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 `object::object::Object` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/object/builtin_functions.rs:98:11 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn builtin_first(args: Vec) -> Object { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 98 | match args[0].clone() { [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 `rusty_monkey` (lib) due to 11 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this value of type `object::object::Object` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/object/builtin_functions.rs:128:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn builtin_last(args: Vec) -> Object { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 128 | match args[0].clone() { [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 `object::object::Object` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/object/builtin_functions.rs:159:11 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn builtin_rest(args: Vec) -> Object { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 159 | match args[0].clone() { [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 `object::object::Object` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/object/builtin_functions.rs:193:11 [INFO] [stdout] | [INFO] [stdout] 188 | pub fn builtin_init(args: Vec) -> Object { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 193 | match args[0].clone() { [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 `object::object::Object` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/object/builtin_functions.rs:225:11 [INFO] [stdout] | [INFO] [stdout] 221 | pub fn builtin_push(args: Vec) -> Object { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 225 | match args[0].clone() { [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 `object::object::Object` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/object/builtin_functions.rs:277:11 [INFO] [stdout] | [INFO] [stdout] 272 | pub fn builtin_readfile(args: Vec) -> Object { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 277 | match args[0].clone() { [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 `(object::object::Object, object::object::Object)` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/object/builtin_functions.rs:310:11 [INFO] [stdout] | [INFO] [stdout] 306 | pub fn builtin_writefile(args: Vec) -> Object { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 310 | match (args[0].clone(), args[1].clone()) { [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 `object::object::Object` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/evaluator/evaluator_test.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 50 | fn test_integer_object(obj: Object, expected: i64) { [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 59 | other => { [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 `object::object::Object` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/evaluator/evaluator_test.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 104 | fn test_boolean_object(obj: Object, expected: bool) { [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 113 | other => { [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 `Box` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/evaluator/evaluator_test.rs:285:26 [INFO] [stdout] | [INFO] [stdout] 283 | 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] 284 | match evaluated { [INFO] [stdout] 285 | Object::Function(func) => { [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 `object::object::Object` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/evaluator/evaluator_test.rs:360:9 [INFO] [stdout] | [INFO] [stdout] 351 | fn test_string_object(obj: Object, expected: &str) { [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] ... [INFO] [stdout] 360 | other => { [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 `object::object::Object` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/evaluator/evaluator_test.rs:382:9 [INFO] [stdout] | [INFO] [stdout] 373 | 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] ... [INFO] [stdout] 382 | other => { [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 `object::object::Array` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/evaluator/evaluator_test.rs:553:23 [INFO] [stdout] | [INFO] [stdout] 551 | 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] 552 | match evaluated { [INFO] [stdout] 553 | Object::Array(array) => { [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 `object::object::MonkeyHash` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/evaluator/evaluator_test.rs:669:22 [INFO] [stdout] | [INFO] [stdout] 666 | 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] ... [INFO] [stdout] 669 | Object::Hash(hash) => { [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 32 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rusty_monkey` (lib test) due to 33 previous errors [INFO] running `Command { std: "docker" "inspect" "d059474516bf5250fa623e657eb0d062d957b45cb68c66d7562b227f95a7883a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d059474516bf5250fa623e657eb0d062d957b45cb68c66d7562b227f95a7883a", kill_on_drop: false }` [INFO] [stdout] d059474516bf5250fa623e657eb0d062d957b45cb68c66d7562b227f95a7883a