[INFO] cloning repository https://github.com/0nkery/rust-monkey [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/0nkery/rust-monkey" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0nkery%2Frust-monkey", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0nkery%2Frust-monkey'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8d443e9211a9a3b6fc0bdd2c217365a82d006275 [INFO] checking 0nkery/rust-monkey/8d443e9211a9a3b6fc0bdd2c217365a82d006275 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%2F0nkery%2Frust-monkey" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/0nkery/rust-monkey 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/0nkery/rust-monkey [INFO] finished tweaking git repo https://github.com/0nkery/rust-monkey [INFO] tweaked toml for git repo https://github.com/0nkery/rust-monkey written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/0nkery/rust-monkey already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b604f30b8ae3356eafeabe47b7c94e78a0dcdc29a6c2c632c41ec1469ca89206 [INFO] running `Command { std: "docker" "start" "-a" "b604f30b8ae3356eafeabe47b7c94e78a0dcdc29a6c2c632c41ec1469ca89206", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b604f30b8ae3356eafeabe47b7c94e78a0dcdc29a6c2c632c41ec1469ca89206", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b604f30b8ae3356eafeabe47b7c94e78a0dcdc29a6c2c632c41ec1469ca89206", kill_on_drop: false }` [INFO] [stdout] b604f30b8ae3356eafeabe47b7c94e78a0dcdc29a6c2c632c41ec1469ca89206 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5e162e52c0ebfe1a909b08f59db15e40c1c411337cade747a8aacf45d1c96a21 [INFO] running `Command { std: "docker" "start" "-a" "5e162e52c0ebfe1a909b08f59db15e40c1c411337cade747a8aacf45d1c96a21", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking libc v0.2.18 [INFO] [stderr] Checking users v0.5.2 [INFO] [stderr] Checking monkey 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/parser.rs:82:14 [INFO] [stdout] | [INFO] [stdout] 62 | let name = Expression::Identifier { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 73 | let value = self.parse_expr(Precedence::Lowest); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 82 | Some(Statement::Let { [INFO] [stdout] | ______________^ [INFO] [stdout] 83 | | token: let_token, [INFO] [stdout] 84 | | name: name, [INFO] [stdout] 85 | | value: value.unwrap(), [INFO] [stdout] 86 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser.rs:100:14 [INFO] [stdout] | [INFO] [stdout] 94 | let return_value = self.parse_expr(Precedence::Lowest); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 100 | Some(Statement::Return { [INFO] [stdout] | ______________^ [INFO] [stdout] 101 | | token: return_token, [INFO] [stdout] 102 | | value: return_value, [INFO] [stdout] 103 | | }) [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:115:14 [INFO] [stdout] | [INFO] [stdout] 108 | let expr = self.parse_expr(Precedence::Lowest) [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 115 | Some(Statement::Expression { [INFO] [stdout] | ______________^ [INFO] [stdout] 116 | | token: expr_token, [INFO] [stdout] 117 | | expression: expr, [INFO] [stdout] 118 | | }) [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:135:14 [INFO] [stdout] | [INFO] [stdout] 123 | let mut statements = Vec::new(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 135 | Some(Statement::Block { [INFO] [stdout] | ______________^ [INFO] [stdout] 136 | | token: token, [INFO] [stdout] 137 | | statements: statements, [INFO] [stdout] 138 | | }) [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:260:14 [INFO] [stdout] | [INFO] [stdout] 230 | let mut pairs = Vec::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 260 | Some(Expression::Hash { [INFO] [stdout] | ______________^ [INFO] [stdout] 261 | | token: token, [INFO] [stdout] 262 | | pairs: pairs, [INFO] [stdout] 263 | | }) [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:327:14 [INFO] [stdout] | [INFO] [stdout] 293 | let condition = self.parse_expr(Precedence::Lowest); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 306 | let consequence = self.parse_block_stmt(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 312 | let mut alternative = None; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 327 | Some(Expression::If { [INFO] [stdout] | ______________^ [INFO] [stdout] 328 | | token: token, [INFO] [stdout] 329 | | condition: Box::new(condition.unwrap()), [INFO] [stdout] 330 | | consequence: Box::new(consequence.unwrap()), [INFO] [stdout] 331 | | alternative: alternative, [INFO] [stdout] 332 | | }) [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:356:14 [INFO] [stdout] | [INFO] [stdout] 342 | 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] 351 | let body = self.parse_block_stmt(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 356 | Some(Expression::FunctionLiteral { [INFO] [stdout] | ______________^ [INFO] [stdout] 357 | | token: token, [INFO] [stdout] 358 | | parameters: parameters.unwrap(), [INFO] [stdout] 359 | | body: Box::new(body.unwrap()), [INFO] [stdout] 360 | | }) [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:482:14 [INFO] [stdout] | [INFO] [stdout] 474 | fn parse_call_expr(&mut self, func: Expression) -> Option { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 475 | let token = self.cur_token.clone(); [INFO] [stdout] 476 | let args = self.parse_expression_list(TokenType::RightParen); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 482 | Some(Expression::Call { [INFO] [stdout] | ______________^ [INFO] [stdout] 483 | | token: token, [INFO] [stdout] 484 | | arguments: args.unwrap(), [INFO] [stdout] 485 | | function: Box::new(func), [INFO] [stdout] 486 | | }) [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/eval.rs:273:15 [INFO] [stdout] | [INFO] [stdout] 272 | fn eval_infix_expr(&self, op: &str, left: Object, right: 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] 273 | match (op, left, right) { [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/eval.rs:332:15 [INFO] [stdout] | [INFO] [stdout] 331 | fn eval_index_expr(&self, 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] 332 | 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] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `monkey` (bin "monkey") due to 11 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser.rs:82:14 [INFO] [stdout] | [INFO] [stdout] 62 | let name = Expression::Identifier { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 73 | let value = self.parse_expr(Precedence::Lowest); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 82 | Some(Statement::Let { [INFO] [stdout] | ______________^ [INFO] [stdout] 83 | | token: let_token, [INFO] [stdout] 84 | | name: name, [INFO] [stdout] 85 | | value: value.unwrap(), [INFO] [stdout] 86 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser.rs:100:14 [INFO] [stdout] | [INFO] [stdout] 94 | let return_value = self.parse_expr(Precedence::Lowest); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 100 | Some(Statement::Return { [INFO] [stdout] | ______________^ [INFO] [stdout] 101 | | token: return_token, [INFO] [stdout] 102 | | value: return_value, [INFO] [stdout] 103 | | }) [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:115:14 [INFO] [stdout] | [INFO] [stdout] 108 | let expr = self.parse_expr(Precedence::Lowest) [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 115 | Some(Statement::Expression { [INFO] [stdout] | ______________^ [INFO] [stdout] 116 | | token: expr_token, [INFO] [stdout] 117 | | expression: expr, [INFO] [stdout] 118 | | }) [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:135:14 [INFO] [stdout] | [INFO] [stdout] 123 | let mut statements = Vec::new(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 135 | Some(Statement::Block { [INFO] [stdout] | ______________^ [INFO] [stdout] 136 | | token: token, [INFO] [stdout] 137 | | statements: statements, [INFO] [stdout] 138 | | }) [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:260:14 [INFO] [stdout] | [INFO] [stdout] 230 | let mut pairs = Vec::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 260 | Some(Expression::Hash { [INFO] [stdout] | ______________^ [INFO] [stdout] 261 | | token: token, [INFO] [stdout] 262 | | pairs: pairs, [INFO] [stdout] 263 | | }) [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:327:14 [INFO] [stdout] | [INFO] [stdout] 293 | let condition = self.parse_expr(Precedence::Lowest); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 306 | let consequence = self.parse_block_stmt(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 312 | let mut alternative = None; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 327 | Some(Expression::If { [INFO] [stdout] | ______________^ [INFO] [stdout] 328 | | token: token, [INFO] [stdout] 329 | | condition: Box::new(condition.unwrap()), [INFO] [stdout] 330 | | consequence: Box::new(consequence.unwrap()), [INFO] [stdout] 331 | | alternative: alternative, [INFO] [stdout] 332 | | }) [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:356:14 [INFO] [stdout] | [INFO] [stdout] 342 | 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] 351 | let body = self.parse_block_stmt(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 356 | Some(Expression::FunctionLiteral { [INFO] [stdout] | ______________^ [INFO] [stdout] 357 | | token: token, [INFO] [stdout] 358 | | parameters: parameters.unwrap(), [INFO] [stdout] 359 | | body: Box::new(body.unwrap()), [INFO] [stdout] 360 | | }) [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:482:14 [INFO] [stdout] | [INFO] [stdout] 474 | fn parse_call_expr(&mut self, func: Expression) -> Option { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 475 | let token = self.cur_token.clone(); [INFO] [stdout] 476 | let args = self.parse_expression_list(TokenType::RightParen); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 482 | Some(Expression::Call { [INFO] [stdout] | ______________^ [INFO] [stdout] 483 | | token: token, [INFO] [stdout] 484 | | arguments: args.unwrap(), [INFO] [stdout] 485 | | function: Box::new(func), [INFO] [stdout] 486 | | }) [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/eval.rs:273:15 [INFO] [stdout] | [INFO] [stdout] 272 | fn eval_infix_expr(&self, op: &str, left: Object, right: 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] 273 | match (op, left, right) { [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/eval.rs:332:15 [INFO] [stdout] | [INFO] [stdout] 331 | fn eval_index_expr(&self, 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] 332 | 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] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `monkey` (bin "monkey" test) due to 11 previous errors [INFO] running `Command { std: "docker" "inspect" "5e162e52c0ebfe1a909b08f59db15e40c1c411337cade747a8aacf45d1c96a21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e162e52c0ebfe1a909b08f59db15e40c1c411337cade747a8aacf45d1c96a21", kill_on_drop: false }` [INFO] [stdout] 5e162e52c0ebfe1a909b08f59db15e40c1c411337cade747a8aacf45d1c96a21