[INFO] cloning repository https://github.com/S1RANN/rcool [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/S1RANN/rcool" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FS1RANN%2Frcool", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FS1RANN%2Frcool'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6feca2b3a57c1dca3e28b79c25bd5bb332f9d315 [INFO] checking S1RANN/rcool/6feca2b3a57c1dca3e28b79c25bd5bb332f9d315 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%2FS1RANN%2Frcool" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/S1RANN/rcool 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/S1RANN/rcool [INFO] finished tweaking git repo https://github.com/S1RANN/rcool [INFO] tweaked toml for git repo https://github.com/S1RANN/rcool written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/S1RANN/rcool 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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 78ca669c8d80dc32b83a12f5c1ff0ab21e6e5cd49350d8168ea1467b80a4117b [INFO] running `Command { std: "docker" "start" "-a" "78ca669c8d80dc32b83a12f5c1ff0ab21e6e5cd49350d8168ea1467b80a4117b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "78ca669c8d80dc32b83a12f5c1ff0ab21e6e5cd49350d8168ea1467b80a4117b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78ca669c8d80dc32b83a12f5c1ff0ab21e6e5cd49350d8168ea1467b80a4117b", kill_on_drop: false }` [INFO] [stdout] 78ca669c8d80dc32b83a12f5c1ff0ab21e6e5cd49350d8168ea1467b80a4117b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 40cc7d2187711a590fdc8dad9eb9c0a5df1219a7490179169476376656247b47 [INFO] running `Command { std: "docker" "start" "-a" "40cc7d2187711a590fdc8dad9eb9c0a5df1219a7490179169476376656247b47", kill_on_drop: false }` [INFO] [stderr] Checking rcool v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `BufWriter`, `File`, and `Write` [INFO] [stdout] --> src/lexer.rs:532:30 [INFO] [stdout] | [INFO] [stdout] 532 | fs::{read_to_string, File}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 533 | io::{BufWriter, Write}, [INFO] [stdout] | ^^^^^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ast.rs:306:21 [INFO] [stdout] | [INFO] [stdout] 306 | let mut strings: Vec = expr [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/parser.rs:447:17 [INFO] [stdout] | [INFO] [stdout] 447 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/parser.rs:529:25 [INFO] [stdout] | [INFO] [stdout] 529 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/parser.rs:582:25 [INFO] [stdout] | [INFO] [stdout] 582 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line_number` [INFO] [stdout] --> src/parser.rs:715:13 [INFO] [stdout] | [INFO] [stdout] 715 | let line_number = match self.eat_token(Token::Fi) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_number` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line_number` [INFO] [stdout] --> src/parser.rs:751:13 [INFO] [stdout] | [INFO] [stdout] 751 | let line_number = match self.eat_token(Token::Pool) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_number` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line_number` [INFO] [stdout] --> src/parser.rs:795:13 [INFO] [stdout] | [INFO] [stdout] 795 | let line_number = match self.eat_token(Token::RBrace) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_number` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line_number` [INFO] [stdout] --> src/parser.rs:961:14 [INFO] [stdout] | [INFO] [stdout] 961 | let (line_number, ident) = match self.eat_type_ident() { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_number` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NoExpr` is never constructed [INFO] [stdout] --> src/ast.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) enum Expression { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 52 | NoExpr, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `try_eat_token` is never used [INFO] [stdout] --> src/parser.rs:1013:8 [INFO] [stdout] | [INFO] [stdout] 69 | impl Parser { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 1013 | fn try_eat_token(&mut self, token: Token) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Analyzer` is never constructed [INFO] [stdout] --> src/semant.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct Analyzer<'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Primitive` is never constructed [INFO] [stdout] --> src/semant.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct Primitive { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ClassNode` is never constructed [INFO] [stdout] --> src/semant.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | struct ClassNode<'a> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `AnalyticalError` is never used [INFO] [stdout] --> src/semant.rs:41:6 [INFO] [stdout] | [INFO] [stdout] 41 | enum AnalyticalError { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/semant.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 53 | impl<'a> ClassNode<'a> { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] 54 | fn new(ref_ast: &'a Class) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/semant.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 62 | impl Primitive { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 63 | fn new(str_table: &mut StrTable) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_primitive`, `build_inheritance`, `check_inheritance`, `has_cycle`, and `analyze` are never used [INFO] [stdout] --> src/semant.rs:90:19 [INFO] [stdout] | [INFO] [stdout] 89 | impl<'a> Analyzer<'a> { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 90 | pub(crate) fn new(ast: &'a Program, primitive: Primitive) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | fn add_primitive(ast: &mut Program, primitive: &Primitive) -> Result<(), AnalyticalError> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 229 | fn build_inheritance(&mut self) -> Result<(), AnalyticalError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 240 | fn check_inheritance(&self) -> Result<(), AnalyticalError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 266 | fn has_cycle( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 289 | fn analyze(ast: &mut Program, str_table: &mut StrTable) -> Result<(), AnalyticalError> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/string_table.rs:76:19 [INFO] [stdout] | [INFO] [stdout] 60 | impl StrTable { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 76 | pub(crate) fn get(&self, s: &str) -> Option{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ast.rs:306:21 [INFO] [stdout] | [INFO] [stdout] 306 | let mut strings: Vec = expr [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` 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.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 86 | let mut classes = Vec::new(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 98 | Ok(Program(classes)) [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:151:12 [INFO] [stdout] | [INFO] [stdout] 132 | let mut features = Vec::new(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 151 | Ok(Class { [INFO] [stdout] | ____________^ [INFO] [stdout] 152 | | name, [INFO] [stdout] 153 | | parent, [INFO] [stdout] 154 | | features, [INFO] [stdout] 155 | | }) [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:229:12 [INFO] [stdout] | [INFO] [stdout] 211 | let body = match self.parse_expression() { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 212 | Ok(e) => e, [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 229 | Ok(Feature::Method { [INFO] [stdout] | ____________^ [INFO] [stdout] 230 | | ident, [INFO] [stdout] 231 | | formals, [INFO] [stdout] 232 | | return_type, [INFO] [stdout] 233 | | body, [INFO] [stdout] 234 | | }) [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:293:12 [INFO] [stdout] | [INFO] [stdout] 276 | let init = if let Some(_) = self.eat_token(Token::Assign) { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 277 | match self.parse_expression() { [INFO] [stdout] 278 | Ok(e) => Some(e), [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 293 | Ok(Feature::Attribute { [INFO] [stdout] | ____________^ [INFO] [stdout] 294 | | ident, [INFO] [stdout] 295 | | ident_type, [INFO] [stdout] 296 | | init, [INFO] [stdout] 297 | | }) [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:428:12 [INFO] [stdout] | [INFO] [stdout] 420 | let expr = match self.parse_expression() { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 421 | Ok(result) => result, [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 428 | Ok(Expression::Assignment { [INFO] [stdout] | ____________^ [INFO] [stdout] 429 | | ident: object_ident, [INFO] [stdout] 430 | | init: Box::new(expr), [INFO] [stdout] 431 | | }) [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:545:12 [INFO] [stdout] | [INFO] [stdout] 489 | lhs: Expression, [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 523 | let mut params = Vec::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 545 | Ok(Expression::Dispatch { [INFO] [stdout] | ____________^ [INFO] [stdout] 546 | | class_ident: Some(Box::new(lhs)), [INFO] [stdout] 547 | | as_type, [INFO] [stdout] 548 | | method_ident, [INFO] [stdout] 549 | | params, [INFO] [stdout] 550 | | }) [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:598:12 [INFO] [stdout] | [INFO] [stdout] 555 | lhs: Expression, [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 576 | let mut params = Vec::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 598 | Ok(Expression::Dispatch { [INFO] [stdout] | ____________^ [INFO] [stdout] 599 | | class_ident: Some(Box::new(lhs)), [INFO] [stdout] 600 | | as_type: self.self_type.clone(), [INFO] [stdout] 601 | | method_ident, [INFO] [stdout] 602 | | params, [INFO] [stdout] 603 | | }) [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:644:12 [INFO] [stdout] | [INFO] [stdout] 622 | let mut params = Vec::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 644 | Ok(Expression::Dispatch { [INFO] [stdout] | ____________^ [INFO] [stdout] 645 | | class_ident: None, [INFO] [stdout] 646 | | as_type: self.self_type.clone(), [INFO] [stdout] 647 | | method_ident, [INFO] [stdout] 648 | | params, [INFO] [stdout] 649 | | }) [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:723:12 [INFO] [stdout] | [INFO] [stdout] 681 | let condition = match self.parse_expression() { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 682 | Ok(result) => result, [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 694 | let then_do = match self.parse_expression() { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 695 | Ok(result) => result, [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 707 | let else_do = match self.parse_expression() { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 708 | Ok(result) => result, [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 723 | Ok(Expression::If { [INFO] [stdout] | ____________^ [INFO] [stdout] 724 | | condition: Box::new(condition), [INFO] [stdout] 725 | | then_do: Box::new(then_do), [INFO] [stdout] 726 | | else_do: Box::new(else_do), [INFO] [stdout] 727 | | }) [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:759:12 [INFO] [stdout] | [INFO] [stdout] 737 | let condition = match self.parse_expression() { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 738 | Ok(result) => result, [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 746 | let do_expr = match self.parse_expression() { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 747 | Ok(result) => result, [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 759 | Ok(Expression::While { [INFO] [stdout] | ____________^ [INFO] [stdout] 760 | | condition: Box::new(condition), [INFO] [stdout] 761 | | do_expr: Box::new(do_expr), [INFO] [stdout] 762 | | }) [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:803:12 [INFO] [stdout] | [INFO] [stdout] 772 | let mut expressions = Vec::new(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 803 | Ok(Expression::Block(expressions)) [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:948:12 [INFO] [stdout] | [INFO] [stdout] 885 | let condition = match self.parse_expression() { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 886 | Ok(result) => result, [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 898 | let mut branches = Vec::new(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 948 | Ok(Expression::Case { [INFO] [stdout] | ____________^ [INFO] [stdout] 949 | | condition: Box::new(condition), [INFO] [stdout] 950 | | branches, [INFO] [stdout] 951 | | }) [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 12 previous errors; 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rcool` (bin "rcool") due to 13 previous errors; 18 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/parser.rs:447:17 [INFO] [stdout] | [INFO] [stdout] 447 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/parser.rs:529:25 [INFO] [stdout] | [INFO] [stdout] 529 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/parser.rs:582:25 [INFO] [stdout] | [INFO] [stdout] 582 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line_number` [INFO] [stdout] --> src/parser.rs:715:13 [INFO] [stdout] | [INFO] [stdout] 715 | let line_number = match self.eat_token(Token::Fi) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_number` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line_number` [INFO] [stdout] --> src/parser.rs:751:13 [INFO] [stdout] | [INFO] [stdout] 751 | let line_number = match self.eat_token(Token::Pool) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_number` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line_number` [INFO] [stdout] --> src/parser.rs:795:13 [INFO] [stdout] | [INFO] [stdout] 795 | let line_number = match self.eat_token(Token::RBrace) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_number` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line_number` [INFO] [stdout] --> src/parser.rs:961:14 [INFO] [stdout] | [INFO] [stdout] 961 | let (line_number, ident) = match self.eat_type_ident() { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_number` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NoExpr` is never constructed [INFO] [stdout] --> src/ast.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) enum Expression { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 52 | NoExpr, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `try_eat_token` is never used [INFO] [stdout] --> src/parser.rs:1013:8 [INFO] [stdout] | [INFO] [stdout] 69 | impl Parser { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 1013 | fn try_eat_token(&mut self, token: Token) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Analyzer` is never constructed [INFO] [stdout] --> src/semant.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct Analyzer<'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Primitive` is never constructed [INFO] [stdout] --> src/semant.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct Primitive { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ClassNode` is never constructed [INFO] [stdout] --> src/semant.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | struct ClassNode<'a> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `AnalyticalError` is never used [INFO] [stdout] --> src/semant.rs:41:6 [INFO] [stdout] | [INFO] [stdout] 41 | enum AnalyticalError { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/semant.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 53 | impl<'a> ClassNode<'a> { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] 54 | fn new(ref_ast: &'a Class) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/semant.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 62 | impl Primitive { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 63 | fn new(str_table: &mut StrTable) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_primitive`, `build_inheritance`, `check_inheritance`, `has_cycle`, and `analyze` are never used [INFO] [stdout] --> src/semant.rs:90:19 [INFO] [stdout] | [INFO] [stdout] 89 | impl<'a> Analyzer<'a> { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 90 | pub(crate) fn new(ast: &'a Program, primitive: Primitive) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | fn add_primitive(ast: &mut Program, primitive: &Primitive) -> Result<(), AnalyticalError> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 229 | fn build_inheritance(&mut self) -> Result<(), AnalyticalError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 240 | fn check_inheritance(&self) -> Result<(), AnalyticalError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 266 | fn has_cycle( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 289 | fn analyze(ast: &mut Program, str_table: &mut StrTable) -> Result<(), AnalyticalError> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/string_table.rs:76:19 [INFO] [stdout] | [INFO] [stdout] 60 | impl StrTable { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 76 | pub(crate) fn get(&self, s: &str) -> Option{ [INFO] [stdout] | ^^^ [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:98:12 [INFO] [stdout] | [INFO] [stdout] 86 | let mut classes = Vec::new(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 98 | Ok(Program(classes)) [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:151:12 [INFO] [stdout] | [INFO] [stdout] 132 | let mut features = Vec::new(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 151 | Ok(Class { [INFO] [stdout] | ____________^ [INFO] [stdout] 152 | | name, [INFO] [stdout] 153 | | parent, [INFO] [stdout] 154 | | features, [INFO] [stdout] 155 | | }) [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:229:12 [INFO] [stdout] | [INFO] [stdout] 211 | let body = match self.parse_expression() { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 212 | Ok(e) => e, [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 229 | Ok(Feature::Method { [INFO] [stdout] | ____________^ [INFO] [stdout] 230 | | ident, [INFO] [stdout] 231 | | formals, [INFO] [stdout] 232 | | return_type, [INFO] [stdout] 233 | | body, [INFO] [stdout] 234 | | }) [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:293:12 [INFO] [stdout] | [INFO] [stdout] 276 | let init = if let Some(_) = self.eat_token(Token::Assign) { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 277 | match self.parse_expression() { [INFO] [stdout] 278 | Ok(e) => Some(e), [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 293 | Ok(Feature::Attribute { [INFO] [stdout] | ____________^ [INFO] [stdout] 294 | | ident, [INFO] [stdout] 295 | | ident_type, [INFO] [stdout] 296 | | init, [INFO] [stdout] 297 | | }) [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:428:12 [INFO] [stdout] | [INFO] [stdout] 420 | let expr = match self.parse_expression() { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 421 | Ok(result) => result, [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 428 | Ok(Expression::Assignment { [INFO] [stdout] | ____________^ [INFO] [stdout] 429 | | ident: object_ident, [INFO] [stdout] 430 | | init: Box::new(expr), [INFO] [stdout] 431 | | }) [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:545:12 [INFO] [stdout] | [INFO] [stdout] 489 | lhs: Expression, [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 523 | let mut params = Vec::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 545 | Ok(Expression::Dispatch { [INFO] [stdout] | ____________^ [INFO] [stdout] 546 | | class_ident: Some(Box::new(lhs)), [INFO] [stdout] 547 | | as_type, [INFO] [stdout] 548 | | method_ident, [INFO] [stdout] 549 | | params, [INFO] [stdout] 550 | | }) [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:598:12 [INFO] [stdout] | [INFO] [stdout] 555 | lhs: Expression, [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 576 | let mut params = Vec::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 598 | Ok(Expression::Dispatch { [INFO] [stdout] | ____________^ [INFO] [stdout] 599 | | class_ident: Some(Box::new(lhs)), [INFO] [stdout] 600 | | as_type: self.self_type.clone(), [INFO] [stdout] 601 | | method_ident, [INFO] [stdout] 602 | | params, [INFO] [stdout] 603 | | }) [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:644:12 [INFO] [stdout] | [INFO] [stdout] 622 | let mut params = Vec::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 644 | Ok(Expression::Dispatch { [INFO] [stdout] | ____________^ [INFO] [stdout] 645 | | class_ident: None, [INFO] [stdout] 646 | | as_type: self.self_type.clone(), [INFO] [stdout] 647 | | method_ident, [INFO] [stdout] 648 | | params, [INFO] [stdout] 649 | | }) [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:723:12 [INFO] [stdout] | [INFO] [stdout] 681 | let condition = match self.parse_expression() { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 682 | Ok(result) => result, [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 694 | let then_do = match self.parse_expression() { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 695 | Ok(result) => result, [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 707 | let else_do = match self.parse_expression() { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 708 | Ok(result) => result, [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 723 | Ok(Expression::If { [INFO] [stdout] | ____________^ [INFO] [stdout] 724 | | condition: Box::new(condition), [INFO] [stdout] 725 | | then_do: Box::new(then_do), [INFO] [stdout] 726 | | else_do: Box::new(else_do), [INFO] [stdout] 727 | | }) [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:759:12 [INFO] [stdout] | [INFO] [stdout] 737 | let condition = match self.parse_expression() { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 738 | Ok(result) => result, [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 746 | let do_expr = match self.parse_expression() { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 747 | Ok(result) => result, [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 759 | Ok(Expression::While { [INFO] [stdout] | ____________^ [INFO] [stdout] 760 | | condition: Box::new(condition), [INFO] [stdout] 761 | | do_expr: Box::new(do_expr), [INFO] [stdout] 762 | | }) [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:803:12 [INFO] [stdout] | [INFO] [stdout] 772 | let mut expressions = Vec::new(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 803 | Ok(Expression::Block(expressions)) [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:948:12 [INFO] [stdout] | [INFO] [stdout] 885 | let condition = match self.parse_expression() { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 886 | Ok(result) => result, [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 898 | let mut branches = Vec::new(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 948 | Ok(Expression::Case { [INFO] [stdout] | ____________^ [INFO] [stdout] 949 | | condition: Box::new(condition), [INFO] [stdout] 950 | | branches, [INFO] [stdout] 951 | | }) [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 12 previous errors; 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rcool` (bin "rcool" test) due to 13 previous errors; 19 warnings emitted [INFO] running `Command { std: "docker" "inspect" "40cc7d2187711a590fdc8dad9eb9c0a5df1219a7490179169476376656247b47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40cc7d2187711a590fdc8dad9eb9c0a5df1219a7490179169476376656247b47", kill_on_drop: false }` [INFO] [stdout] 40cc7d2187711a590fdc8dad9eb9c0a5df1219a7490179169476376656247b47