[INFO] cloning repository https://github.com/KarimIbrahim/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/KarimIbrahim/monkey_interpreter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKarimIbrahim%2Fmonkey_interpreter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKarimIbrahim%2Fmonkey_interpreter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b6684d9d9ae257dbc81e6941afef8247b0d915e1 [INFO] checking KarimIbrahim/monkey_interpreter/b6684d9d9ae257dbc81e6941afef8247b0d915e1 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%2FKarimIbrahim%2Fmonkey_interpreter" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/KarimIbrahim/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/KarimIbrahim/monkey_interpreter [INFO] finished tweaking git repo https://github.com/KarimIbrahim/monkey_interpreter [INFO] tweaked toml for git repo https://github.com/KarimIbrahim/monkey_interpreter written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/KarimIbrahim/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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 37d3894d8e75168d628ec3237ab5d6cbf8463e615c9aa5c9d7c30892dbe83a07 [INFO] running `Command { std: "docker" "start" "-a" "37d3894d8e75168d628ec3237ab5d6cbf8463e615c9aa5c9d7c30892dbe83a07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "37d3894d8e75168d628ec3237ab5d6cbf8463e615c9aa5c9d7c30892dbe83a07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37d3894d8e75168d628ec3237ab5d6cbf8463e615c9aa5c9d7c30892dbe83a07", kill_on_drop: false }` [INFO] [stdout] 37d3894d8e75168d628ec3237ab5d6cbf8463e615c9aa5c9d7c30892dbe83a07 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] f3e25e84ae171af627d5612ac5e539c39a91a6bac64181e4ffbeb10bd579944f [INFO] running `Command { std: "docker" "start" "-a" "f3e25e84ae171af627d5612ac5e539c39a91a6bac64181e4ffbeb10bd579944f", kill_on_drop: false }` [INFO] [stderr] Checking whoami v1.4.1 [INFO] [stderr] Checking unindent v0.2.1 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking monkey_interpreter v0.1.0 (/opt/rustwide/workdir) [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/ast.rs:252:11 [INFO] [stdout] | [INFO] [stdout] 251 | fn eval_index_expression(left: Object, index: Object) -> Object { [INFO] [stdout] | ------------ ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 252 | match (left, index) { [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/ast.rs:265:6 [INFO] [stdout] | [INFO] [stdout] 259 | fn eval_array_index_expression(elements: Vec>, index: i64) -> Object { [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 265 | *elements[index].to_owned() [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/ast.rs:306:14 [INFO] [stdout] | [INFO] [stdout] 293 | parameters: Vec, [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 294 | env: Arc>, [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 295 | arguments: Vec, [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 296 | ) -> Arc> { [INFO] [stdout] 297 | let mut env = Environment::new_enclosed(env); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 306 | Arc::new(Mutex::new(env)) [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/ast.rs:369:11 [INFO] [stdout] | [INFO] [stdout] 367 | env: Arc>, [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 368 | ) -> Object { [INFO] [stdout] 369 | match (left.eval(Arc::clone(&env)), right.eval(Arc::clone(&env))) { [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:96:14 [INFO] [stdout] | [INFO] [stdout] 90 | let index = Box::new(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] 96 | Some(Expression::new( [INFO] [stdout] | ______________^ [INFO] [stdout] 97 | | token, [INFO] [stdout] 98 | | ExpressionContent::IndexExpression { [INFO] [stdout] 99 | | left: Box::new(left.to_owned()), [INFO] [stdout] 100 | | index, [INFO] [stdout] 101 | | }, [INFO] [stdout] 102 | | )) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser.rs:110:14 [INFO] [stdout] | [INFO] [stdout] 108 | let arguments = self.parse_expression_list(TokenType::RPAREN)?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 109 | [INFO] [stdout] 110 | Some(Expression::new( [INFO] [stdout] | ______________^ [INFO] [stdout] 111 | | token, [INFO] [stdout] 112 | | ExpressionContent::CallExpression { [INFO] [stdout] 113 | | function: Box::new(function.to_owned()), [INFO] [stdout] 114 | | arguments, [INFO] [stdout] 115 | | }, [INFO] [stdout] 116 | | )) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser.rs:124:14 [INFO] [stdout] | [INFO] [stdout] 122 | let elements = self.parse_expression_list(TokenType::RBRACKET)?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 123 | [INFO] [stdout] 124 | Some(Expression::new( [INFO] [stdout] | ______________^ [INFO] [stdout] 125 | | token, [INFO] [stdout] 126 | | ExpressionContent::ArrayLiteral { elements }, [INFO] [stdout] 127 | | )) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser.rs:145:14 [INFO] [stdout] | [INFO] [stdout] 137 | let parameters = self.parse_function_parameters()?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 143 | 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] 144 | [INFO] [stdout] 145 | Some(Expression::new( [INFO] [stdout] | ______________^ [INFO] [stdout] 146 | | token, [INFO] [stdout] 147 | | ExpressionContent::FucntionLiteral { [INFO] [stdout] 148 | | parameters, [INFO] [stdout] 149 | | body: Box::new(body), [INFO] [stdout] 150 | | }, [INFO] [stdout] 151 | | )) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser.rs:186:14 [INFO] [stdout] | [INFO] [stdout] 162 | let condition = 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] 172 | let consequence = self.parse_block_statement()?; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 173 | [INFO] [stdout] 174 | let alternative = if self.peek_token_is(&TokenType::ELSE) { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 186 | Some(Expression::new( [INFO] [stdout] | ______________^ [INFO] [stdout] 187 | | token, [INFO] [stdout] 188 | | ExpressionContent::IfExpression { [INFO] [stdout] 189 | | condition: Box::new(condition), [INFO] [stdout] ... | [INFO] [stdout] 192 | | }, [INFO] [stdout] 193 | | )) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser.rs:210:14 [INFO] [stdout] | [INFO] [stdout] 198 | let mut statements = vec![]; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 210 | Some(Statement::new( [INFO] [stdout] | ______________^ [INFO] [stdout] 211 | | token, [INFO] [stdout] 212 | | StatementContent::BlockStatement { statements }, [INFO] [stdout] 213 | | )) [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:274:14 [INFO] [stdout] | [INFO] [stdout] 272 | let right = self.parse_expression(PREFIX)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 273 | [INFO] [stdout] 274 | Some(Expression::new( [INFO] [stdout] | ______________^ [INFO] [stdout] 275 | | token, [INFO] [stdout] 276 | | ExpressionContent::PrefixExpression { [INFO] [stdout] 277 | | operator, [INFO] [stdout] 278 | | right: Box::new(right), [INFO] [stdout] 279 | | }, [INFO] [stdout] 280 | | )) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser.rs:291:14 [INFO] [stdout] | [INFO] [stdout] 289 | let right = self.parse_expression(precedence)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 290 | [INFO] [stdout] 291 | Some(Expression::new( [INFO] [stdout] | ______________^ [INFO] [stdout] 292 | | token, [INFO] [stdout] 293 | | ExpressionContent::InfixExpression { [INFO] [stdout] 294 | | left: Box::new(left.to_owned()), [INFO] [stdout] ... | [INFO] [stdout] 297 | | }, [INFO] [stdout] 298 | | )) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser.rs:359:14 [INFO] [stdout] | [INFO] [stdout] 340 | let name = Expression::new( [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 353 | let value = 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] 359 | Some(Statement::new(token, StatementContent::Let { name, value })) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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:400:14 [INFO] [stdout] | [INFO] [stdout] 394 | let return_value = 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] 400 | Some(Statement::new( [INFO] [stdout] | ______________^ [INFO] [stdout] 401 | | token, [INFO] [stdout] 402 | | StatementContent::Return { return_value }, [INFO] [stdout] 403 | | )) [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/ast.rs:252:11 [INFO] [stdout] | [INFO] [stdout] 251 | fn eval_index_expression(left: Object, index: Object) -> Object { [INFO] [stdout] | ------------ ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 252 | match (left, index) { [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/ast.rs:265:6 [INFO] [stdout] | [INFO] [stdout] 259 | fn eval_array_index_expression(elements: Vec>, index: i64) -> Object { [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 265 | *elements[index].to_owned() [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/object.rs:277:20 [INFO] [stdout] | [INFO] [stdout] 275 | pub fn return_value(object: Object) -> Self { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 276 | Object::ReturnValue { [INFO] [stdout] 277 | value: Box::new(object), [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/ast.rs:306:14 [INFO] [stdout] | [INFO] [stdout] 293 | parameters: Vec, [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 294 | env: Arc>, [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 295 | arguments: Vec, [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 296 | ) -> Arc> { [INFO] [stdout] 297 | let mut env = Environment::new_enclosed(env); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 306 | Arc::new(Mutex::new(env)) [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/ast.rs:369:11 [INFO] [stdout] | [INFO] [stdout] 367 | env: Arc>, [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 368 | ) -> Object { [INFO] [stdout] 369 | match (left.eval(Arc::clone(&env)), right.eval(Arc::clone(&env))) { [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/environment.rs:49:32 [INFO] [stdout] | [INFO] [stdout] 49 | .and_then(|rc| rc.lock().unwrap().get(name)) [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:96:14 [INFO] [stdout] | [INFO] [stdout] 90 | let index = Box::new(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] 96 | Some(Expression::new( [INFO] [stdout] | ______________^ [INFO] [stdout] 97 | | token, [INFO] [stdout] 98 | | ExpressionContent::IndexExpression { [INFO] [stdout] 99 | | left: Box::new(left.to_owned()), [INFO] [stdout] 100 | | index, [INFO] [stdout] 101 | | }, [INFO] [stdout] 102 | | )) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser.rs:110:14 [INFO] [stdout] | [INFO] [stdout] 108 | let arguments = self.parse_expression_list(TokenType::RPAREN)?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 109 | [INFO] [stdout] 110 | Some(Expression::new( [INFO] [stdout] | ______________^ [INFO] [stdout] 111 | | token, [INFO] [stdout] 112 | | ExpressionContent::CallExpression { [INFO] [stdout] 113 | | function: Box::new(function.to_owned()), [INFO] [stdout] 114 | | arguments, [INFO] [stdout] 115 | | }, [INFO] [stdout] 116 | | )) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser.rs:124:14 [INFO] [stdout] | [INFO] [stdout] 122 | let elements = self.parse_expression_list(TokenType::RBRACKET)?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 123 | [INFO] [stdout] 124 | Some(Expression::new( [INFO] [stdout] | ______________^ [INFO] [stdout] 125 | | token, [INFO] [stdout] 126 | | ExpressionContent::ArrayLiteral { elements }, [INFO] [stdout] 127 | | )) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser.rs:145:14 [INFO] [stdout] | [INFO] [stdout] 137 | let parameters = self.parse_function_parameters()?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 143 | 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] 144 | [INFO] [stdout] 145 | Some(Expression::new( [INFO] [stdout] | ______________^ [INFO] [stdout] 146 | | token, [INFO] [stdout] 147 | | ExpressionContent::FucntionLiteral { [INFO] [stdout] 148 | | parameters, [INFO] [stdout] 149 | | body: Box::new(body), [INFO] [stdout] 150 | | }, [INFO] [stdout] 151 | | )) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser.rs:186:14 [INFO] [stdout] | [INFO] [stdout] 162 | let condition = 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] 172 | let consequence = self.parse_block_statement()?; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 173 | [INFO] [stdout] 174 | let alternative = if self.peek_token_is(&TokenType::ELSE) { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 186 | Some(Expression::new( [INFO] [stdout] | ______________^ [INFO] [stdout] 187 | | token, [INFO] [stdout] 188 | | ExpressionContent::IfExpression { [INFO] [stdout] 189 | | condition: Box::new(condition), [INFO] [stdout] ... | [INFO] [stdout] 192 | | }, [INFO] [stdout] 193 | | )) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser.rs:210:14 [INFO] [stdout] | [INFO] [stdout] 198 | let mut statements = vec![]; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 210 | Some(Statement::new( [INFO] [stdout] | ______________^ [INFO] [stdout] 211 | | token, [INFO] [stdout] 212 | | StatementContent::BlockStatement { statements }, [INFO] [stdout] 213 | | )) [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:274:14 [INFO] [stdout] | [INFO] [stdout] 272 | let right = self.parse_expression(PREFIX)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 273 | [INFO] [stdout] 274 | Some(Expression::new( [INFO] [stdout] | ______________^ [INFO] [stdout] 275 | | token, [INFO] [stdout] 276 | | ExpressionContent::PrefixExpression { [INFO] [stdout] 277 | | operator, [INFO] [stdout] 278 | | right: Box::new(right), [INFO] [stdout] 279 | | }, [INFO] [stdout] 280 | | )) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser.rs:291:14 [INFO] [stdout] | [INFO] [stdout] 289 | let right = self.parse_expression(precedence)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 290 | [INFO] [stdout] 291 | Some(Expression::new( [INFO] [stdout] | ______________^ [INFO] [stdout] 292 | | token, [INFO] [stdout] 293 | | ExpressionContent::InfixExpression { [INFO] [stdout] 294 | | left: Box::new(left.to_owned()), [INFO] [stdout] ... | [INFO] [stdout] 297 | | }, [INFO] [stdout] 298 | | )) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser.rs:359:14 [INFO] [stdout] | [INFO] [stdout] 340 | let name = Expression::new( [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 353 | let value = 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] 359 | Some(Statement::new(token, StatementContent::Let { name, value })) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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:400:14 [INFO] [stdout] | [INFO] [stdout] 394 | let return_value = 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] 400 | Some(Statement::new( [INFO] [stdout] | ______________^ [INFO] [stdout] 401 | | token, [INFO] [stdout] 402 | | StatementContent::Return { return_value }, [INFO] [stdout] 403 | | )) [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/object.rs:277:20 [INFO] [stdout] | [INFO] [stdout] 275 | pub fn return_value(object: Object) -> Self { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 276 | Object::ReturnValue { [INFO] [stdout] 277 | value: Box::new(object), [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/environment.rs:49:32 [INFO] [stdout] | [INFO] [stdout] 49 | .and_then(|rc| rc.lock().unwrap().get(name)) [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 16 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `monkey_interpreter` (lib test) due to 17 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `monkey_interpreter` (lib) due to 17 previous errors [INFO] running `Command { std: "docker" "inspect" "f3e25e84ae171af627d5612ac5e539c39a91a6bac64181e4ffbeb10bd579944f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3e25e84ae171af627d5612ac5e539c39a91a6bac64181e4ffbeb10bd579944f", kill_on_drop: false }` [INFO] [stdout] f3e25e84ae171af627d5612ac5e539c39a91a6bac64181e4ffbeb10bd579944f