[INFO] updating cached repository https://github.com/Horc-zh/eldrio_v1 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 27227ba9fe6a8ae625b3e48f676f6cd0e8be2184 [INFO] checking Horc-zh/eldrio_v1/27227ba9fe6a8ae625b3e48f676f6cd0e8be2184 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%2FHorc-zh%2Feldrio_v1" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Horc-zh/eldrio_v1 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/Horc-zh/eldrio_v1 [INFO] finished tweaking git repo https://github.com/Horc-zh/eldrio_v1 [INFO] tweaked toml for git repo https://github.com/Horc-zh/eldrio_v1 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Horc-zh/eldrio_v1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 07d9c6a7c6fc47709f9f91c39c97aa3abdc86add1f517497788cf734b0b65abb [INFO] running `Command { std: "docker" "start" "-a" "07d9c6a7c6fc47709f9f91c39c97aa3abdc86add1f517497788cf734b0b65abb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "07d9c6a7c6fc47709f9f91c39c97aa3abdc86add1f517497788cf734b0b65abb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07d9c6a7c6fc47709f9f91c39c97aa3abdc86add1f517497788cf734b0b65abb", kill_on_drop: false }` [INFO] [stdout] 07d9c6a7c6fc47709f9f91c39c97aa3abdc86add1f517497788cf734b0b65abb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 2978cb4fc374314438d6b6ee4f8ae3c7099935f21563888841383886faa428b9 [INFO] running `Command { std: "docker" "start" "-a" "2978cb4fc374314438d6b6ee4f8ae3c7099935f21563888841383886faa428b9", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Checking eldiro v0.1.0 (/opt/rustwide/workdir/crates/eldiro) [INFO] [stdout] warning: unused imports: `BindingUsage` and `Block` [INFO] [stdout] --> crates/eldiro/src/binding_def.rs:41:23 [INFO] [stdout] | [INFO] [stdout] 41 | use crate::expr::{BindingUsage, Block, Expr, Op}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> crates/eldiro/src/expr/block.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::stmt::{self, Stmt}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::binding_usage` [INFO] [stdout] --> crates/eldiro/src/expr/block.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use super::binding_usage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::clone` [INFO] [stdout] --> crates/eldiro/src/stmt.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::clone; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Env` and `Val` [INFO] [stdout] --> crates/eldiro/src/stmt.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | use super::{Env, Expr, FuncDef, Stmt, Val}; [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> crates/eldiro/src/expr/block.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::stmt::{self, Stmt}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::binding_usage` [INFO] [stdout] --> crates/eldiro/src/expr/block.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use super::binding_usage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::clone` [INFO] [stdout] --> crates/eldiro/src/stmt.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::clone; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::stmt::BindingDef` [INFO] [stdout] --> crates/eldiro/src/stmt.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | use crate::stmt::BindingDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_op` is never used [INFO] [stdout] --> crates/eldiro/src/utils.rs:50:15 [INFO] [stdout] | [INFO] [stdout] 50 | pub(crate) fn extract_op(s: &str) -> (&str, &str) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [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] --> crates/eldiro/src/binding_def.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 21 | let (s, val) = Expr::new(s)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 22 | [INFO] [stdout] 23 | Ok(( [INFO] [stdout] | ____________^ [INFO] [stdout] 24 | | s, [INFO] [stdout] 25 | | Self { [INFO] [stdout] 26 | | name: name.to_string(), [INFO] [stdout] 27 | | val, [INFO] [stdout] 28 | | }, [INFO] [stdout] 29 | | )) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = 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] --> crates/eldiro/src/expr.rs:59:26 [INFO] [stdout] | [INFO] [stdout] 59 | .or_else(|_| FuncCall::new(s).map(|(s, func_call)| (s, Self::FuncCall(func_call)))) [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] --> crates/eldiro/src/expr.rs:59:68 [INFO] [stdout] | [INFO] [stdout] 59 | .or_else(|_| FuncCall::new(s).map(|(s, func_call)| (s, Self::FuncCall(func_call)))) [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [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] --> crates/eldiro/src/expr.rs:62:51 [INFO] [stdout] | [INFO] [stdout] 62 | .map(|(s, binding_usage)| (s, Self::BindingUsage(binding_usage))) [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] --> crates/eldiro/src/expr.rs:64:26 [INFO] [stdout] | [INFO] [stdout] 64 | .or_else(|_| Block::new(s).map(|(s, block)| (s, Self::Block(block)))) [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] --> crates/eldiro/src/expr.rs:64:61 [INFO] [stdout] | [INFO] [stdout] 64 | .or_else(|_| Block::new(s).map(|(s, block)| (s, Self::Block(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] | [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] --> crates/eldiro/src/expr.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 68 | let (s, lhs) = Self::new_non_operation(s)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 74 | let (s, rhs) = Self::new_non_operation(s)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 75 | [INFO] [stdout] 76 | Ok(( [INFO] [stdout] | ____________^ [INFO] [stdout] 77 | | s, [INFO] [stdout] 78 | | Self::Operation { [INFO] [stdout] 79 | | lhs: Box::new(lhs), [INFO] [stdout] ... | [INFO] [stdout] 82 | | }, [INFO] [stdout] 83 | | )) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> crates/eldiro/src/expr.rs:86:46 [INFO] [stdout] | [INFO] [stdout] 86 | Number::new(s).map(|(s, number)| (s, Self::Number(number))) [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] --> crates/eldiro/src/expr/block.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 17 | let (s, stmts) = utils::sequence(Stmt::new, utils::extract_whitespace, s)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 21 | Ok((s, Self { stmts })) [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] --> crates/eldiro/src/expr/func_call.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 17 | let (s, params) = utils::sequence1(Expr::new, |s| utils::take_while(|c| c == ' ', s), s)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | [INFO] [stdout] 19 | Ok(( [INFO] [stdout] | ____________^ [INFO] [stdout] 20 | | s, [INFO] [stdout] 21 | | Self { [INFO] [stdout] 22 | | callee: callee.to_string(), [INFO] [stdout] 23 | | params, [INFO] [stdout] 24 | | }, [INFO] [stdout] 25 | | )) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> crates/eldiro/src/func_def.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 33 | let (s, body) = Stmt::new(s)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 34 | [INFO] [stdout] 35 | Ok(( [INFO] [stdout] | ____________^ [INFO] [stdout] 36 | | s, [INFO] [stdout] 37 | | Self { [INFO] [stdout] 38 | | name: name.to_string(), [INFO] [stdout] ... | [INFO] [stdout] 41 | | }, [INFO] [stdout] 42 | | )) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> crates/eldiro/src/stmt.rs:15:41 [INFO] [stdout] | [INFO] [stdout] 15 | .map(|(s, binding_def)| (s, Self::BindingDef(binding_def))) [INFO] [stdout] | ---------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [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] --> crates/eldiro/src/stmt.rs:16:26 [INFO] [stdout] | [INFO] [stdout] 16 | .or_else(|_| FuncDef::new(s).map(|(s, func_def)| (s, Self::FuncDef(func_def)))) [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] --> crates/eldiro/src/stmt.rs:16:66 [INFO] [stdout] | [INFO] [stdout] 16 | .or_else(|_| FuncDef::new(s).map(|(s, func_def)| (s, Self::FuncDef(func_def)))) [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [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] --> crates/eldiro/src/stmt.rs:17:26 [INFO] [stdout] | [INFO] [stdout] 17 | .or_else(|_| Expr::new(s).map(|(s, expr)| (s, Self::Expr(expr)))) [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] --> crates/eldiro/src/stmt.rs:17:59 [INFO] [stdout] | [INFO] [stdout] 17 | .or_else(|_| Expr::new(s).map(|(s, expr)| (s, Self::Expr(expr)))) [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [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] --> crates/eldiro/src/utils.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 12 | parser: impl Fn(&str) -> Result<(&str, T), String>, [INFO] [stdout] | -------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 13 | separator_parser: impl Fn(&str) -> (&str, &str), [INFO] [stdout] | ----------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 16 | let mut items = Vec::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 26 | Ok((s, items)) [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 17 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `eldiro` (lib) due to 18 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: function `parse_func_def` is never used [INFO] [stdout] --> crates/eldiro/src/stmt.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | fn parse_func_def() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [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] --> crates/eldiro/src/binding_def.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 21 | let (s, val) = Expr::new(s)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 22 | [INFO] [stdout] 23 | Ok(( [INFO] [stdout] | ____________^ [INFO] [stdout] 24 | | s, [INFO] [stdout] 25 | | Self { [INFO] [stdout] 26 | | name: name.to_string(), [INFO] [stdout] 27 | | val, [INFO] [stdout] 28 | | }, [INFO] [stdout] 29 | | )) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = 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] --> crates/eldiro/src/expr.rs:59:26 [INFO] [stdout] | [INFO] [stdout] 59 | .or_else(|_| FuncCall::new(s).map(|(s, func_call)| (s, Self::FuncCall(func_call)))) [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] --> crates/eldiro/src/expr.rs:59:68 [INFO] [stdout] | [INFO] [stdout] 59 | .or_else(|_| FuncCall::new(s).map(|(s, func_call)| (s, Self::FuncCall(func_call)))) [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [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] --> crates/eldiro/src/expr.rs:62:51 [INFO] [stdout] | [INFO] [stdout] 62 | .map(|(s, binding_usage)| (s, Self::BindingUsage(binding_usage))) [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] --> crates/eldiro/src/expr.rs:64:26 [INFO] [stdout] | [INFO] [stdout] 64 | .or_else(|_| Block::new(s).map(|(s, block)| (s, Self::Block(block)))) [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] --> crates/eldiro/src/expr.rs:64:61 [INFO] [stdout] | [INFO] [stdout] 64 | .or_else(|_| Block::new(s).map(|(s, block)| (s, Self::Block(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] | [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] --> crates/eldiro/src/expr.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 68 | let (s, lhs) = Self::new_non_operation(s)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 74 | let (s, rhs) = Self::new_non_operation(s)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 75 | [INFO] [stdout] 76 | Ok(( [INFO] [stdout] | ____________^ [INFO] [stdout] 77 | | s, [INFO] [stdout] 78 | | Self::Operation { [INFO] [stdout] 79 | | lhs: Box::new(lhs), [INFO] [stdout] ... | [INFO] [stdout] 82 | | }, [INFO] [stdout] 83 | | )) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> crates/eldiro/src/expr.rs:86:46 [INFO] [stdout] | [INFO] [stdout] 86 | Number::new(s).map(|(s, number)| (s, Self::Number(number))) [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] --> crates/eldiro/src/expr/block.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 17 | let (s, stmts) = utils::sequence(Stmt::new, utils::extract_whitespace, s)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 21 | Ok((s, Self { stmts })) [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] --> crates/eldiro/src/expr/func_call.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 17 | let (s, params) = utils::sequence1(Expr::new, |s| utils::take_while(|c| c == ' ', s), s)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | [INFO] [stdout] 19 | Ok(( [INFO] [stdout] | ____________^ [INFO] [stdout] 20 | | s, [INFO] [stdout] 21 | | Self { [INFO] [stdout] 22 | | callee: callee.to_string(), [INFO] [stdout] 23 | | params, [INFO] [stdout] 24 | | }, [INFO] [stdout] 25 | | )) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> crates/eldiro/src/func_def.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 33 | let (s, body) = Stmt::new(s)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 34 | [INFO] [stdout] 35 | Ok(( [INFO] [stdout] | ____________^ [INFO] [stdout] 36 | | s, [INFO] [stdout] 37 | | Self { [INFO] [stdout] 38 | | name: name.to_string(), [INFO] [stdout] ... | [INFO] [stdout] 41 | | }, [INFO] [stdout] 42 | | )) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> crates/eldiro/src/stmt.rs:15:41 [INFO] [stdout] | [INFO] [stdout] 15 | .map(|(s, binding_def)| (s, Self::BindingDef(binding_def))) [INFO] [stdout] | ---------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [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] --> crates/eldiro/src/stmt.rs:16:26 [INFO] [stdout] | [INFO] [stdout] 16 | .or_else(|_| FuncDef::new(s).map(|(s, func_def)| (s, Self::FuncDef(func_def)))) [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] --> crates/eldiro/src/stmt.rs:16:66 [INFO] [stdout] | [INFO] [stdout] 16 | .or_else(|_| FuncDef::new(s).map(|(s, func_def)| (s, Self::FuncDef(func_def)))) [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [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] --> crates/eldiro/src/stmt.rs:17:26 [INFO] [stdout] | [INFO] [stdout] 17 | .or_else(|_| Expr::new(s).map(|(s, expr)| (s, Self::Expr(expr)))) [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] --> crates/eldiro/src/stmt.rs:17:59 [INFO] [stdout] | [INFO] [stdout] 17 | .or_else(|_| Expr::new(s).map(|(s, expr)| (s, Self::Expr(expr)))) [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [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] --> crates/eldiro/src/utils.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 12 | parser: impl Fn(&str) -> Result<(&str, T), String>, [INFO] [stdout] | -------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 13 | separator_parser: impl Fn(&str) -> (&str, &str), [INFO] [stdout] | ----------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 16 | let mut items = Vec::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 26 | Ok((s, items)) [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 17 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `eldiro` (lib test) due to 18 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "2978cb4fc374314438d6b6ee4f8ae3c7099935f21563888841383886faa428b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2978cb4fc374314438d6b6ee4f8ae3c7099935f21563888841383886faa428b9", kill_on_drop: false }` [INFO] [stdout] 2978cb4fc374314438d6b6ee4f8ae3c7099935f21563888841383886faa428b9