[INFO] cloning repository https://github.com/FedericoPonzi/bina [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/FedericoPonzi/bina" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFedericoPonzi%2Fbina", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFedericoPonzi%2Fbina'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4154eefeef824c6993b316595c296816cd5beeeb [INFO] checking FedericoPonzi/bina/4154eefeef824c6993b316595c296816cd5beeeb 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%2FFedericoPonzi%2Fbina" "/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/FedericoPonzi/bina 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/FedericoPonzi/bina [INFO] finished tweaking git repo https://github.com/FedericoPonzi/bina [INFO] tweaked toml for git repo https://github.com/FedericoPonzi/bina written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/FedericoPonzi/bina 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-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] c5219f93b430f804d5d8d7e0b42001113b138994fe1bbd60ea6aa52a45236454 [INFO] running `Command { std: "docker" "start" "-a" "c5219f93b430f804d5d8d7e0b42001113b138994fe1bbd60ea6aa52a45236454", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c5219f93b430f804d5d8d7e0b42001113b138994fe1bbd60ea6aa52a45236454", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5219f93b430f804d5d8d7e0b42001113b138994fe1bbd60ea6aa52a45236454", kill_on_drop: false }` [INFO] [stdout] c5219f93b430f804d5d8d7e0b42001113b138994fe1bbd60ea6aa52a45236454 [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] 4223506f46404f264bdce849dea9775067a0d34d0a7db46491bbb7fc42466471 [INFO] running `Command { std: "docker" "start" "-a" "4223506f46404f264bdce849dea9775067a0d34d0a7db46491bbb7fc42466471", kill_on_drop: false }` [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Compiling rustix v0.38.25 [INFO] [stderr] Checking linux-raw-sys v0.4.12 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking termcolor v1.4.0 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Checking env_logger v0.10.1 [INFO] [stderr] Checking bina v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `anyhow` [INFO] [stdout] --> src/runtime.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use anyhow::{anyhow, bail, Context, Result}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Identifier` [INFO] [stdout] --> src/lexer.rs:197:44 [INFO] [stdout] | [INFO] [stdout] 197 | Assignment, CloseGraphParenthesis, Identifier, Let, OpenGraphParenthesis, True, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow` [INFO] [stdout] --> src/runtime.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use anyhow::{anyhow, bail, Context, Result}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/lexer.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | let index = 0; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/parser.rs:166:14 [INFO] [stdout] | [INFO] [stdout] 166 | Some(other) => Expr::TermWrapper(left), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/lexer.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | let index = 0; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser.rs:174:20 [INFO] [stdout] | [INFO] [stdout] 174 | pub fn parse_input(mut input: Vec) -> Result> { [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: `is_let` [INFO] [stdout] --> src/runtime.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | is_let: bool, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected` [INFO] [stdout] --> src/lexer.rs:205:38 [INFO] [stdout] | [INFO] [stdout] 205 | assert!(matches!(&tokens[0], expected)); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected` [INFO] [stdout] --> src/lexer.rs:202:41 [INFO] [stdout] | [INFO] [stdout] 202 | fn expect_single_number(line: &str, expected: Token) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/lexer.rs:245:13 [INFO] [stdout] | [INFO] [stdout] 245 | let line = "while "; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/parser.rs:166:14 [INFO] [stdout] | [INFO] [stdout] 166 | Some(other) => Expr::TermWrapper(left), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser.rs:174:20 [INFO] [stdout] | [INFO] [stdout] 174 | pub fn parse_input(mut input: Vec) -> Result> { [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: unreachable pattern [INFO] [stdout] --> src/runtime.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | _ => unimplemented!("{value:?}"), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/runtime.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 126 | Value::String(s) => println!("{s}"), [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] 127 | Value::Number(n) => println!("{n}"), [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] 128 | Value::Boolean(b) => println!("{b}"), [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] 129 | _ => unimplemented!("{value:?}"), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_let` [INFO] [stdout] --> src/runtime.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | is_let: bool, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/runtime.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 162 | _ => unimplemented!("{expr:?}"), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/runtime.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 143 | Statement::Assignment(variable_name, expr, is_let) => { [INFO] [stdout] | -------------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 146 | Statement::Print(expr) => eval_print(env, expr)?, [INFO] [stdout] | ---------------------- matches some of the same values [INFO] [stdout] 147 | Statement::If(expr, body) => eval_if(env, expr, body)?, [INFO] [stdout] | ------------------------- matches some of the same values [INFO] [stdout] 148 | Statement::While(expr, body) => { [INFO] [stdout] | ---------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 162 | _ => unimplemented!("{expr:?}"), [INFO] [stdout] | ^ ...and 1 other patterns collectively make this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ExclamationPoint` is never constructed [INFO] [stdout] --> src/lexer.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Token { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 22 | ExclamationPoint, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` 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] warning: variant `LogicalOr` is never constructed [INFO] [stdout] --> src/parser.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum Expr { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 18 | LogicalOr(Box, Box), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `EnvironmentStack` is never used [INFO] [stdout] --> src/runtime.rs:16:6 [INFO] [stdout] | [INFO] [stdout] 16 | type EnvironmentStack = Vec; [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:45:8 [INFO] [stdout] | [INFO] [stdout] 39 | let mut ret = vec![]; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 45 | Ok(Statement::Block(ret)) [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:50:8 [INFO] [stdout] | [INFO] [stdout] 48 | let condition = parse_expr(input)?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 49 | let block = parse_block(input)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 50 | Ok(Statement::While(Box::new(condition), Box::new(block))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = 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/runtime.rs:55:11 [INFO] [stdout] | [INFO] [stdout] 54 | fn eval_expr(env: &Environment, expr: Box) -> Result { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 55 | match expr.as_ref().clone() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/runtime.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | _ => unimplemented!("{value:?}"), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/runtime.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 126 | Value::String(s) => println!("{s}"), [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] 127 | Value::Number(n) => println!("{n}"), [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] 128 | Value::Boolean(b) => println!("{b}"), [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] 129 | _ => unimplemented!("{value:?}"), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bina` (bin "bina") due to 4 previous errors; 10 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/runtime.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 162 | _ => unimplemented!("{expr:?}"), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/runtime.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 143 | Statement::Assignment(variable_name, expr, is_let) => { [INFO] [stdout] | -------------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 146 | Statement::Print(expr) => eval_print(env, expr)?, [INFO] [stdout] | ---------------------- matches some of the same values [INFO] [stdout] 147 | Statement::If(expr, body) => eval_if(env, expr, body)?, [INFO] [stdout] | ------------------------- matches some of the same values [INFO] [stdout] 148 | Statement::While(expr, body) => { [INFO] [stdout] | ---------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 162 | _ => unimplemented!("{expr:?}"), [INFO] [stdout] | ^ ...and 1 other patterns collectively make this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ExclamationPoint` is never constructed [INFO] [stdout] --> src/lexer.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Token { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 22 | ExclamationPoint, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` 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] warning: variant `LogicalOr` is never constructed [INFO] [stdout] --> src/parser.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum Expr { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 18 | LogicalOr(Box, Box), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `EnvironmentStack` is never used [INFO] [stdout] --> src/runtime.rs:16:6 [INFO] [stdout] | [INFO] [stdout] 16 | type EnvironmentStack = Vec; [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:45:8 [INFO] [stdout] | [INFO] [stdout] 39 | let mut ret = vec![]; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 45 | Ok(Statement::Block(ret)) [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:50:8 [INFO] [stdout] | [INFO] [stdout] 48 | let condition = parse_expr(input)?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 49 | let block = parse_block(input)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 50 | Ok(Statement::While(Box::new(condition), Box::new(block))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = 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/runtime.rs:55:11 [INFO] [stdout] | [INFO] [stdout] 54 | fn eval_expr(env: &Environment, expr: Box) -> Result { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 55 | match expr.as_ref().clone() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bina` (bin "bina" test) due to 4 previous errors; 14 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4223506f46404f264bdce849dea9775067a0d34d0a7db46491bbb7fc42466471", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4223506f46404f264bdce849dea9775067a0d34d0a7db46491bbb7fc42466471", kill_on_drop: false }` [INFO] [stdout] 4223506f46404f264bdce849dea9775067a0d34d0a7db46491bbb7fc42466471