[INFO] fetching crate nexus-lib 0.1.0... [INFO] checking nexus-lib-0.1.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate nexus-lib 0.1.0 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate nexus-lib 0.1.0 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 crates.io crate nexus-lib 0.1.0 [INFO] finished tweaking crates.io crate nexus-lib 0.1.0 [INFO] tweaked toml for crates.io crate nexus-lib 0.1.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 2 packages to latest compatible versions [INFO] [stderr] Adding clutils v0.0.7 (latest: v0.0.11) [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] b8351b596232fde0ef62c1f593c6fb3710614222fbac3e920e72970c14a6fd57 [INFO] running `Command { std: "docker" "start" "-a" "b8351b596232fde0ef62c1f593c6fb3710614222fbac3e920e72970c14a6fd57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b8351b596232fde0ef62c1f593c6fb3710614222fbac3e920e72970c14a6fd57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8351b596232fde0ef62c1f593c6fb3710614222fbac3e920e72970c14a6fd57", kill_on_drop: false }` [INFO] [stdout] b8351b596232fde0ef62c1f593c6fb3710614222fbac3e920e72970c14a6fd57 [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] 325b3817f74dab27e902fb2e53cd68a7bbc6e540259b05051b0316b006e9467c [INFO] running `Command { std: "docker" "start" "-a" "325b3817f74dab27e902fb2e53cd68a7bbc6e540259b05051b0316b006e9467c", kill_on_drop: false }` [INFO] [stderr] Checking clutils v0.0.7 [INFO] [stderr] Checking nexus-lib v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/parser/ast.rs:223:45 [INFO] [stdout] | [INFO] [stdout] 223 | Statement::Variable(var) => format!( [INFO] [stdout] | _____________________________________________^ [INFO] [stdout] 224 | | "{} {} = {}", [INFO] [stdout] 225 | | match var.is_const { [INFO] [stdout] 226 | | true => "const", [INFO] [stdout] ... | [INFO] [stdout] 229 | | todo!(), //var.name, [INFO] [stdout] | | ------- any code following this expression is unreachable [INFO] [stdout] 230 | | var.val, [INFO] [stdout] 231 | | ), [INFO] [stdout] | |_________________^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::__export::format_args` which comes from the expansion of the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/parser/ast.rs:223:45 [INFO] [stdout] | [INFO] [stdout] 223 | Statement::Variable(var) => format!( [INFO] [stdout] | _____________________________________________^ [INFO] [stdout] 224 | | "{} {} = {}", [INFO] [stdout] 225 | | match var.is_const { [INFO] [stdout] 226 | | true => "const", [INFO] [stdout] ... | [INFO] [stdout] 229 | | todo!(), //var.name, [INFO] [stdout] | | ------- any code following this expression is unreachable [INFO] [stdout] 230 | | var.val, [INFO] [stdout] 231 | | ), [INFO] [stdout] | |_________________^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::__export::format_args` which comes from the expansion of the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ret` [INFO] [stdout] --> src/parser/ast.rs:232:35 [INFO] [stdout] | [INFO] [stdout] 232 | Statement::Return(ret) => todo!(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `br` [INFO] [stdout] --> src/parser/ast.rs:233:34 [INFO] [stdout] | [INFO] [stdout] 233 | Statement::Break(br) => todo!(), [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_br` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lcl` [INFO] [stdout] --> src/parser/ast.rs:234:34 [INFO] [stdout] | [INFO] [stdout] 234 | Statement::Local(lcl) => todo!(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lcl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ret` [INFO] [stdout] --> src/parser/ast.rs:232:35 [INFO] [stdout] | [INFO] [stdout] 232 | Statement::Return(ret) => todo!(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `br` [INFO] [stdout] --> src/parser/ast.rs:233:34 [INFO] [stdout] | [INFO] [stdout] 233 | Statement::Break(br) => todo!(), [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_br` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lcl` [INFO] [stdout] --> src/parser/ast.rs:234:34 [INFO] [stdout] | [INFO] [stdout] 234 | Statement::Local(lcl) => todo!(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lcl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `CONTAINS`, `RANGE`, and `CONVERSION` are never constructed [INFO] [stdout] --> src/parser/mod.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 21 | enum Precedence { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 29 | CONTAINS, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | RANGE, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | CONVERSION, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Precedence` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/mod.rs:192:14 [INFO] [stdout] | [INFO] [stdout] 191 | fn parse_infix(&mut self, left: Expression) -> Option { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 192 | Some(match self.cur_tok { [INFO] [stdout] | ______________^ [INFO] [stdout] 193 | | Token::Operator(ref op) => match op { [INFO] [stdout] 194 | | Operator::Equals [INFO] [stdout] 195 | | | Operator::NotEquals [INFO] [stdout] ... | [INFO] [stdout] 207 | | _ => return None, [INFO] [stdout] 208 | | }) [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/mod.rs:239:26 [INFO] [stdout] | [INFO] [stdout] 238 | let block = self.parse_block_stmt(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 239 | Expression::Func(FuncExpr { [INFO] [stdout] | __________________________^ [INFO] [stdout] 240 | | ret_type, [INFO] [stdout] 241 | | args, [INFO] [stdout] 242 | | block, [INFO] [stdout] 243 | | }) [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/mod.rs:311:26 [INFO] [stdout] | [INFO] [stdout] 307 | let cond = 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] 310 | let block = self.parse_block_stmt(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 311 | Expression::Loop(LoopExpr { [INFO] [stdout] | __________________________^ [INFO] [stdout] 312 | | _type: LoopType::While, [INFO] [stdout] 313 | | cond: Some(Box::from(cond)), [INFO] [stdout] 314 | | block, [INFO] [stdout] 315 | | alt: None, [INFO] [stdout] 316 | | }) [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/mod.rs:331:27 [INFO] [stdout] | [INFO] [stdout] 323 | fn parse_infix_expr(&mut self, left_expr: Expression) -> Expression { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 330 | let right_expr = self.parse_expr(prec); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 331 | Expression::Infix(InfixExpr { [INFO] [stdout] | ___________________________^ [INFO] [stdout] 332 | | left: Box::from(left_expr), [INFO] [stdout] 333 | | right: Box::from(right_expr), [INFO] [stdout] 334 | | op, [INFO] [stdout] 335 | | }) [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/mod.rs:346:28 [INFO] [stdout] | [INFO] [stdout] 345 | let val = Box::from(self.parse_expr(Precedence::PREFIX)); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 346 | Expression::Prefix(PrefixExpr { op, val }) [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/mod.rs:502:29 [INFO] [stdout] | [INFO] [stdout] 500 | let val = 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] 501 | [INFO] [stdout] 502 | Statement::Variable(VarStmt { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 503 | | name: OptionallyTypedIdent { ident: name, _type }, [INFO] [stdout] 504 | | val, [INFO] [stdout] 505 | | is_const, [INFO] [stdout] 506 | | }) [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/mod.rs:549:29 [INFO] [stdout] | [INFO] [stdout] 547 | let val = 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] 548 | [INFO] [stdout] 549 | Statement::Variable(VarStmt { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 550 | | name: OptionallyTypedIdent { ident: name, _type }, [INFO] [stdout] 551 | | val, [INFO] [stdout] 552 | | is_const, [INFO] [stdout] 553 | | }) [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/mod.rs:558:26 [INFO] [stdout] | [INFO] [stdout] 556 | fn parse_call_expr(&mut self, func: Expression) -> Expression { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 557 | let args = self.parse_raw_list(Token::RParent); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 558 | Expression::Call(CallExpr { [INFO] [stdout] | __________________________^ [INFO] [stdout] 559 | | ident: Box::from(func), [INFO] [stdout] 560 | | args, [INFO] [stdout] 561 | | }) [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/evaluator/mod.rs:75:22 [INFO] [stdout] | [INFO] [stdout] 74 | fn eval_func(&mut self, node: FuncExpr) -> Object { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 75 | Object::Func(FuncObj { [INFO] [stdout] | ______________________^ [INFO] [stdout] 76 | | args: node.args, [INFO] [stdout] 77 | | block: node.block, [INFO] [stdout] 78 | | }) [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 9 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `nexus-lib` (lib) due to 10 previous errors; 5 warnings emitted [INFO] [stdout] warning: variants `CONTAINS`, `RANGE`, and `CONVERSION` are never constructed [INFO] [stdout] --> src/parser/mod.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 21 | enum Precedence { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 29 | CONTAINS, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | RANGE, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | CONVERSION, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Precedence` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [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/mod.rs:192:14 [INFO] [stdout] | [INFO] [stdout] 191 | fn parse_infix(&mut self, left: Expression) -> Option { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 192 | Some(match self.cur_tok { [INFO] [stdout] | ______________^ [INFO] [stdout] 193 | | Token::Operator(ref op) => match op { [INFO] [stdout] 194 | | Operator::Equals [INFO] [stdout] 195 | | | Operator::NotEquals [INFO] [stdout] ... | [INFO] [stdout] 207 | | _ => return None, [INFO] [stdout] 208 | | }) [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/mod.rs:239:26 [INFO] [stdout] | [INFO] [stdout] 238 | let block = self.parse_block_stmt(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 239 | Expression::Func(FuncExpr { [INFO] [stdout] | __________________________^ [INFO] [stdout] 240 | | ret_type, [INFO] [stdout] 241 | | args, [INFO] [stdout] 242 | | block, [INFO] [stdout] 243 | | }) [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/mod.rs:311:26 [INFO] [stdout] | [INFO] [stdout] 307 | let cond = 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] 310 | let block = self.parse_block_stmt(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 311 | Expression::Loop(LoopExpr { [INFO] [stdout] | __________________________^ [INFO] [stdout] 312 | | _type: LoopType::While, [INFO] [stdout] 313 | | cond: Some(Box::from(cond)), [INFO] [stdout] 314 | | block, [INFO] [stdout] 315 | | alt: None, [INFO] [stdout] 316 | | }) [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/mod.rs:331:27 [INFO] [stdout] | [INFO] [stdout] 323 | fn parse_infix_expr(&mut self, left_expr: Expression) -> Expression { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 330 | let right_expr = self.parse_expr(prec); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 331 | Expression::Infix(InfixExpr { [INFO] [stdout] | ___________________________^ [INFO] [stdout] 332 | | left: Box::from(left_expr), [INFO] [stdout] 333 | | right: Box::from(right_expr), [INFO] [stdout] 334 | | op, [INFO] [stdout] 335 | | }) [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/mod.rs:346:28 [INFO] [stdout] | [INFO] [stdout] 345 | let val = Box::from(self.parse_expr(Precedence::PREFIX)); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 346 | Expression::Prefix(PrefixExpr { op, val }) [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/mod.rs:502:29 [INFO] [stdout] | [INFO] [stdout] 500 | let val = 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] 501 | [INFO] [stdout] 502 | Statement::Variable(VarStmt { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 503 | | name: OptionallyTypedIdent { ident: name, _type }, [INFO] [stdout] 504 | | val, [INFO] [stdout] 505 | | is_const, [INFO] [stdout] 506 | | }) [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/mod.rs:549:29 [INFO] [stdout] | [INFO] [stdout] 547 | let val = 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] 548 | [INFO] [stdout] 549 | Statement::Variable(VarStmt { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 550 | | name: OptionallyTypedIdent { ident: name, _type }, [INFO] [stdout] 551 | | val, [INFO] [stdout] 552 | | is_const, [INFO] [stdout] 553 | | }) [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/mod.rs:558:26 [INFO] [stdout] | [INFO] [stdout] 556 | fn parse_call_expr(&mut self, func: Expression) -> Expression { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 557 | let args = self.parse_raw_list(Token::RParent); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 558 | Expression::Call(CallExpr { [INFO] [stdout] | __________________________^ [INFO] [stdout] 559 | | ident: Box::from(func), [INFO] [stdout] 560 | | args, [INFO] [stdout] 561 | | }) [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/evaluator/mod.rs:75:22 [INFO] [stdout] | [INFO] [stdout] 74 | fn eval_func(&mut self, node: FuncExpr) -> Object { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 75 | Object::Func(FuncObj { [INFO] [stdout] | ______________________^ [INFO] [stdout] 76 | | args: node.args, [INFO] [stdout] 77 | | block: node.block, [INFO] [stdout] 78 | | }) [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 9 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `nexus-lib` (lib test) due to 10 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "325b3817f74dab27e902fb2e53cd68a7bbc6e540259b05051b0316b006e9467c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "325b3817f74dab27e902fb2e53cd68a7bbc6e540259b05051b0316b006e9467c", kill_on_drop: false }` [INFO] [stdout] 325b3817f74dab27e902fb2e53cd68a7bbc6e540259b05051b0316b006e9467c