[INFO] cloning repository https://github.com/MalachiMackie/beach-lang [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MalachiMackie/beach-lang" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMalachiMackie%2Fbeach-lang", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMalachiMackie%2Fbeach-lang'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0b68012ad4496a77d8ed55538e373b2f397cf5c2 [INFO] checking MalachiMackie/beach-lang/0b68012ad4496a77d8ed55538e373b2f397cf5c2 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%2FMalachiMackie%2Fbeach-lang" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MalachiMackie/beach-lang 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/MalachiMackie/beach-lang [INFO] finished tweaking git repo https://github.com/MalachiMackie/beach-lang [INFO] tweaked toml for git repo https://github.com/MalachiMackie/beach-lang written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/MalachiMackie/beach-lang 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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] ca44eeb7738b42f4f431ef3f430d0c9f83c15f8af3ddf009e7d032d278a5e49c [INFO] running `Command { std: "docker" "start" "-a" "ca44eeb7738b42f4f431ef3f430d0c9f83c15f8af3ddf009e7d032d278a5e49c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ca44eeb7738b42f4f431ef3f430d0c9f83c15f8af3ddf009e7d032d278a5e49c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca44eeb7738b42f4f431ef3f430d0c9f83c15f8af3ddf009e7d032d278a5e49c", kill_on_drop: false }` [INFO] [stdout] ca44eeb7738b42f4f431ef3f430d0c9f83c15f8af3ddf009e7d032d278a5e49c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 278c831535f62d979fbc33ba226858e4007fd9322048bd9ed865b67072a1b8c5 [INFO] running `Command { std: "docker" "start" "-a" "278c831535f62d979fbc33ba226858e4007fd9322048bd9ed865b67072a1b8c5", kill_on_drop: false }` [INFO] [stderr] Checking beach-lang v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin_include` [INFO] [stdout] --> src/main.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | #[cfg(not(tarpaulin_include))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin_include)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin_include)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin_include` [INFO] [stdout] --> src/cli/mod.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | #[cfg(not(tarpaulin_include))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin_include)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin_include)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin_include` [INFO] [stdout] --> src/main.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | #[cfg(not(tarpaulin_include))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin_include)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin_include)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin_include` [INFO] [stdout] --> src/cli/mod.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | #[cfg(not(tarpaulin_include))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin_include)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin_include)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [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/ast/builders/ast_builder.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 37 | .map(|function_declaration| { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 40 | / Function::CustomFunction { [INFO] [stdout] 41 | | id: function_declaration.id, [INFO] [stdout] 42 | | name: function_declaration.name, [INFO] [stdout] 43 | | parameters: function_declaration.parameters, [INFO] [stdout] 44 | | return_type: function_declaration.return_type, [INFO] [stdout] 45 | | body: function_declaration.body, [INFO] [stdout] 46 | | }, [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/ast/builders/function_call_builder.rs:40:25 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn build(self) -> FunctionCall { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 40 | parameters: self.parameters.expect("parameters to be set"), [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/ast/builders/function_declaration_builder.rs:48:19 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn body(mut self, builder: impl FnOnce(AstBuilder) -> Ast) -> FunctionDeclaration { [INFO] [stdout] | -------- --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 48 | body: self.body.expect("function body should be set"), [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/ast/builders/if_statement_builder.rs:61:27 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn build(self) -> Node { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 61 | Node::IfStatement(IfStatement { [INFO] [stdout] | ___________________________^ [INFO] [stdout] 62 | | check_expression: self.check_expression.expect("check expression to be set"), [INFO] [stdout] 63 | | if_block: self.body.expect("body to be set").nodes, [INFO] [stdout] 64 | | else_if_blocks: self [INFO] [stdout] ... | [INFO] [stdout] 72 | | else_block: self.else_block.map(|ast| ast.nodes), [INFO] [stdout] 73 | | }) [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/ast/builders/operation_builder.rs:15:20 [INFO] [stdout] | [INFO] [stdout] 11 | expression_fn: TExpressionFn, [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 15 | value: Box::new(expression_fn(ExpressionBuilder {})), [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/ast/builders/operation_builder.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 21 | left_fn: impl FnOnce(ExpressionBuilder) -> Expression, [INFO] [stdout] | ----------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 22 | right_fn: impl FnOnce(ExpressionBuilder) -> Expression, [INFO] [stdout] | ------------------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 26 | left: Box::new(left_fn(ExpressionBuilder {})), [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/ast/builders/operation_builder.rs:27:20 [INFO] [stdout] | [INFO] [stdout] 21 | left_fn: impl FnOnce(ExpressionBuilder) -> Expression, [INFO] [stdout] | ----------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 22 | right_fn: impl FnOnce(ExpressionBuilder) -> Expression, [INFO] [stdout] | ------------------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 27 | right: Box::new(right_fn(ExpressionBuilder {})), [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/ast/builders/operation_builder.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 33 | left_fn: impl FnOnce(ExpressionBuilder) -> Expression, [INFO] [stdout] | ----------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 34 | right_fn: impl FnOnce(ExpressionBuilder) -> Expression, [INFO] [stdout] | ------------------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 38 | left: Box::new(left_fn(ExpressionBuilder {})), [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/ast/builders/operation_builder.rs:39:20 [INFO] [stdout] | [INFO] [stdout] 33 | left_fn: impl FnOnce(ExpressionBuilder) -> Expression, [INFO] [stdout] | ----------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 34 | right_fn: impl FnOnce(ExpressionBuilder) -> Expression, [INFO] [stdout] | ------------------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 39 | right: Box::new(right_fn(ExpressionBuilder {})), [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/ast/builders/statement_builder.rs:28:25 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn if_statement(self, if_statement_fn: impl FnOnce(IfStatementBuilder) -> Node) -> Node { [INFO] [stdout] | -------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 28 | if_statement_fn(IfStatementBuilder::new()) [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/ast/builders/statement_builder.rs:35:28 [INFO] [stdout] | [INFO] [stdout] 33 | function_call_fn: impl FnOnce(FunctionCallBuilder) -> FunctionCall, [INFO] [stdout] | ------------------------------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 34 | ) -> Node { [INFO] [stdout] 35 | Node::FunctionCall(function_call_fn(FunctionCallBuilder::default())) [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/ast/builders/statement_builder.rs:40:27 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn return_value(self, expression: impl FnOnce(ExpressionBuilder) -> Expression) -> Node { [INFO] [stdout] | -------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | Node::FunctionReturn { [INFO] [stdout] 40 | return_value: Some(expression(ExpressionBuilder {})), [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/ast/builders/variable_declaration_builder.rs:41:20 [INFO] [stdout] | [INFO] [stdout] 29 | value_fn: TExpressionFn, [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 41 | value: value_fn(ExpressionBuilder {}), [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] warning: this method call resolves to `<&Box<[T]> as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to ` as IntoIterator>::into_iter` in Rust 2024 [INFO] [stdout] --> src/cli/mod.rs:29:14 [INFO] [stdout] | [INFO] [stdout] 29 | .into_iter() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: `#[warn(boxed_slice_into_iter)]` on by default [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 29 | .iter() [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 28 | IntoIterator::into_iter(commands) [INFO] [stdout] | ++++++++++++++++++++++++ ~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&Box<[T]> as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to ` as IntoIterator>::into_iter` in Rust 2024 [INFO] [stdout] --> src/cli/help_command.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 25 | .into_iter() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 25 | .iter() [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 24 | IntoIterator::into_iter(commands) [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/token_stream/expression.rs:62:39 [INFO] [stdout] | [INFO] [stdout] 60 | let value_expr = create_expression(tokens)?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 61 | expression = Some(Box::new(move |builder: ExpressionBuilder| { [INFO] [stdout] 62 | builder.operation(|operation| operation.not(value_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] --> src/token_stream/expression.rs:130:8 [INFO] [stdout] | [INFO] [stdout] 125 | left_expression: Box Expression>, [INFO] [stdout] | ----------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 128 | let right_expression = create_expression(tokens)?; [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 129 | [INFO] [stdout] 130 | Ok(Box::new(move |expression_builder: ExpressionBuilder| { [INFO] [stdout] | ________^ [INFO] [stdout] 131 | | expression_builder.operation(|operation_builder| match operation { [INFO] [stdout] 132 | | BinaryOperation::GreaterThan => { [INFO] [stdout] 133 | | operation_builder.greater_than(left_expression, right_expression) [INFO] [stdout] ... | [INFO] [stdout] 136 | | }) [INFO] [stdout] 137 | | })) [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] --> src/token_stream/expression.rs:131:38 [INFO] [stdout] | [INFO] [stdout] 125 | left_expression: Box Expression>, [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 128 | let right_expression = create_expression(tokens)?; [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 131 | expression_builder.operation(|operation_builder| match operation { [INFO] [stdout] | ______________________________________^ [INFO] [stdout] 132 | | BinaryOperation::GreaterThan => { [INFO] [stdout] 133 | | operation_builder.greater_than(left_expression, right_expression) [INFO] [stdout] 134 | | } [INFO] [stdout] 135 | | BinaryOperation::Plus => operation_builder.plus(left_expression, right_expression), [INFO] [stdout] 136 | | }) [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/token_stream/expression.rs:168:8 [INFO] [stdout] | [INFO] [stdout] 166 | let function_call = take_function_call(identifier, tokens)?; [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 167 | [INFO] [stdout] 168 | Ok(Box::new(|expression_builder: ExpressionBuilder| { [INFO] [stdout] | ________^ [INFO] [stdout] 169 | | expression_builder.function_call(function_call) [INFO] [stdout] 170 | | })) [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] --> src/token_stream/function_declaration.rs:114:8 [INFO] [stdout] | [INFO] [stdout] 112 | let statements = get_block_statements(tokens)?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 113 | [INFO] [stdout] 114 | Ok(Box::new(move |mut function_declaration_builder| { [INFO] [stdout] | ________^ [INFO] [stdout] 115 | | function_declaration_builder = function_declaration_builder [INFO] [stdout] 116 | | .name(&function_name) [INFO] [stdout] 117 | | .parameters(params); [INFO] [stdout] ... | [INFO] [stdout] 131 | | }) [INFO] [stdout] 132 | | })) [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] --> src/token_stream/function_declaration.rs:125:43 [INFO] [stdout] | [INFO] [stdout] 112 | let statements = get_block_statements(tokens)?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 113 | [INFO] [stdout] 114 | Ok(Box::new(move |mut function_declaration_builder| { [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 125 | function_declaration_builder.body(|mut body| { [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 126 | | for statement in statements { [INFO] [stdout] 127 | | body = body.statement(statement); [INFO] [stdout] 128 | | } [INFO] [stdout] 129 | | [INFO] [stdout] 130 | | body.build() [INFO] [stdout] 131 | | }) [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/token_stream/if_statement.rs:95:14 [INFO] [stdout] | [INFO] [stdout] 87 | check_expression: Box Expression>, [INFO] [stdout] | ------------------------------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 88 | statements: Vec Node>>, [INFO] [stdout] | ---------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 89 | else_statements: Option Node>>>, [INFO] [stdout] | ----------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 90 | / else_if_blocks: Vec<( [INFO] [stdout] 91 | | Box Expression>, [INFO] [stdout] 92 | | Vec Node>>, [INFO] [stdout] 93 | | )>, [INFO] [stdout] | |______- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 94 | ) -> Box Node> { [INFO] [stdout] 95 | Box::new(|mut if_statement_builder: IfStatementBuilder| { [INFO] [stdout] | ______________^ [INFO] [stdout] 96 | | if_statement_builder = if_statement_builder [INFO] [stdout] 97 | | .check_expression(check_expression) [INFO] [stdout] 98 | | .body(|mut body| { [INFO] [stdout] ... | [INFO] [stdout] 126 | | if_statement_builder.build() [INFO] [stdout] 127 | | }) [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/token_stream/statement.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 91 | let function_call = take_function_call(identifier, tokens)?; [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 95 | Ok(Box::new(|statement_builder| { [INFO] [stdout] | ________^ [INFO] [stdout] 96 | | statement_builder.function_call(function_call) [INFO] [stdout] 97 | | })) [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] --> src/token_stream/variable_declaration.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 29 | let expression_fn = create_expression(&mut tokens)?; [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 30 | [INFO] [stdout] 31 | Ok(move |mut var_decl_builder: VariableDeclarationBuilder| { [INFO] [stdout] | ________^ [INFO] [stdout] 32 | | match var_decl_type { [INFO] [stdout] 33 | | VariableDeclarationType::Infer => { [INFO] [stdout] 34 | | var_decl_builder = var_decl_builder.infer_type(); [INFO] [stdout] ... | [INFO] [stdout] 41 | | var_decl_builder.with_assignment(expression_fn) [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] --> src/type_checking/ast.rs:14:48 [INFO] [stdout] | [INFO] [stdout] 14 | .map(|(id, function)| (id.clone(), function.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 23 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `beach-lang` (bin "beach-lang") due to 24 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ast/builders/ast_builder.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 37 | .map(|function_declaration| { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 40 | / Function::CustomFunction { [INFO] [stdout] 41 | | id: function_declaration.id, [INFO] [stdout] 42 | | name: function_declaration.name, [INFO] [stdout] 43 | | parameters: function_declaration.parameters, [INFO] [stdout] 44 | | return_type: function_declaration.return_type, [INFO] [stdout] 45 | | body: function_declaration.body, [INFO] [stdout] 46 | | }, [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/ast/builders/ast_builder.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 83 | .function_declaration(|function_declaration| { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 84 | / function_declaration [INFO] [stdout] 85 | | .name("my_function") [INFO] [stdout] 86 | | .parameters(Vec::new()) [INFO] [stdout] 87 | | .void() [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/ast/builders/expression_builder.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 43 | let actual = ExpressionBuilder::default().function_call(|function_call| { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 44 | / function_call [INFO] [stdout] 45 | | .function_id("my_function") [INFO] [stdout] 46 | | .no_parameters() [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/ast/builders/function_call_builder.rs:40:25 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn build(self) -> FunctionCall { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 40 | parameters: self.parameters.expect("parameters to be set"), [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/ast/builders/function_declaration_builder.rs:48:19 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn body(mut self, builder: impl FnOnce(AstBuilder) -> Ast) -> FunctionDeclaration { [INFO] [stdout] | -------- --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 48 | body: self.body.expect("function body should be set"), [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/ast/builders/function_declaration_builder.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 65 | .body(|builder: AstBuilder| { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 66 | / builder [INFO] [stdout] 67 | | .statement(|statement| { [INFO] [stdout] 68 | | statement.var_declaration(|var_declaration_builder| { [INFO] [stdout] 69 | | var_declaration_builder [INFO] [stdout] ... | [INFO] [stdout] 75 | | }) [INFO] [stdout] 76 | | }) [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/ast/builders/function_declaration_builder.rs:105:17 [INFO] [stdout] | [INFO] [stdout] 104 | .body(|body| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 105 | / body.statement(|statement| { [INFO] [stdout] 106 | | statement.return_value(|return_value| return_value.value_literal(10.into())) [INFO] [stdout] 107 | | }) [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/ast/builders/function_declaration_builder.rs:130:26 [INFO] [stdout] | [INFO] [stdout] 130 | .body(|body| body.statement(|statement| statement.return_void()).build()); [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] --> src/ast/builders/if_statement_builder.rs:61:27 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn build(self) -> Node { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 61 | Node::IfStatement(IfStatement { [INFO] [stdout] | ___________________________^ [INFO] [stdout] 62 | | check_expression: self.check_expression.expect("check expression to be set"), [INFO] [stdout] 63 | | if_block: self.body.expect("body to be set").nodes, [INFO] [stdout] 64 | | else_if_blocks: self [INFO] [stdout] ... | [INFO] [stdout] 72 | | else_block: self.else_block.map(|ast| ast.nodes), [INFO] [stdout] 73 | | }) [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/ast/builders/if_statement_builder.rs:89:17 [INFO] [stdout] | [INFO] [stdout] 88 | .body(|body| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 89 | / body.statement(|statement| { [INFO] [stdout] 90 | | statement.function_call(|function_call| { [INFO] [stdout] 91 | | function_call [INFO] [stdout] 92 | | .function_id("my_function") [INFO] [stdout] ... | [INFO] [stdout] 95 | | }) [INFO] [stdout] 96 | | }) [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/ast/builders/if_statement_builder.rs:91:25 [INFO] [stdout] | [INFO] [stdout] 90 | statement.function_call(|function_call| { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 91 | / function_call [INFO] [stdout] 92 | | .function_id("my_function") [INFO] [stdout] 93 | | .no_parameters() [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/ast/builders/if_statement_builder.rs:119:17 [INFO] [stdout] | [INFO] [stdout] 118 | .body(|body| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 119 | / body.statement(|statement| { [INFO] [stdout] 120 | | statement.function_call(|function_call| { [INFO] [stdout] 121 | | function_call [INFO] [stdout] 122 | | .function_id("my_function") [INFO] [stdout] ... | [INFO] [stdout] 125 | | }) [INFO] [stdout] 126 | | }) [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/ast/builders/if_statement_builder.rs:121:25 [INFO] [stdout] | [INFO] [stdout] 120 | statement.function_call(|function_call| { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 121 | / function_call [INFO] [stdout] 122 | | .function_id("my_function") [INFO] [stdout] 123 | | .no_parameters() [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/ast/builders/if_statement_builder.rs:132:21 [INFO] [stdout] | [INFO] [stdout] 131 | |body| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 132 | / body.statement(|statement| { [INFO] [stdout] 133 | | statement.function_call(|function_call| { [INFO] [stdout] 134 | | function_call [INFO] [stdout] 135 | | .function_id("my_function") [INFO] [stdout] ... | [INFO] [stdout] 138 | | }) [INFO] [stdout] 139 | | }) [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/ast/builders/if_statement_builder.rs:134:29 [INFO] [stdout] | [INFO] [stdout] 133 | statement.function_call(|function_call| { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 134 | / function_call [INFO] [stdout] 135 | | .function_id("my_function") [INFO] [stdout] 136 | | .no_parameters() [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/ast/builders/if_statement_builder.rs:169:17 [INFO] [stdout] | [INFO] [stdout] 168 | .body(|body| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 169 | / body.statement(|statement| { [INFO] [stdout] 170 | | statement.function_call(|function_call| { [INFO] [stdout] 171 | | function_call [INFO] [stdout] 172 | | .function_id("my_function") [INFO] [stdout] ... | [INFO] [stdout] 175 | | }) [INFO] [stdout] 176 | | }) [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/ast/builders/if_statement_builder.rs:171:25 [INFO] [stdout] | [INFO] [stdout] 170 | statement.function_call(|function_call| { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 171 | / function_call [INFO] [stdout] 172 | | .function_id("my_function") [INFO] [stdout] 173 | | .no_parameters() [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/ast/builders/if_statement_builder.rs:180:17 [INFO] [stdout] | [INFO] [stdout] 179 | .else_block(|body| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 180 | / body.statement(|statement| { [INFO] [stdout] 181 | | statement.function_call(|function_call| { [INFO] [stdout] 182 | | function_call [INFO] [stdout] 183 | | .function_id("my_function") [INFO] [stdout] ... | [INFO] [stdout] 186 | | }) [INFO] [stdout] 187 | | }) [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/ast/builders/if_statement_builder.rs:182:25 [INFO] [stdout] | [INFO] [stdout] 181 | statement.function_call(|function_call| { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 182 | / function_call [INFO] [stdout] 183 | | .function_id("my_function") [INFO] [stdout] 184 | | .no_parameters() [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/ast/builders/operation_builder.rs:15:20 [INFO] [stdout] | [INFO] [stdout] 11 | expression_fn: TExpressionFn, [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 15 | value: Box::new(expression_fn(ExpressionBuilder {})), [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/ast/builders/operation_builder.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 21 | left_fn: impl FnOnce(ExpressionBuilder) -> Expression, [INFO] [stdout] | ----------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 22 | right_fn: impl FnOnce(ExpressionBuilder) -> Expression, [INFO] [stdout] | ------------------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 26 | left: Box::new(left_fn(ExpressionBuilder {})), [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/ast/builders/operation_builder.rs:27:20 [INFO] [stdout] | [INFO] [stdout] 21 | left_fn: impl FnOnce(ExpressionBuilder) -> Expression, [INFO] [stdout] | ----------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 22 | right_fn: impl FnOnce(ExpressionBuilder) -> Expression, [INFO] [stdout] | ------------------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 27 | right: Box::new(right_fn(ExpressionBuilder {})), [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/ast/builders/operation_builder.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 33 | left_fn: impl FnOnce(ExpressionBuilder) -> Expression, [INFO] [stdout] | ----------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 34 | right_fn: impl FnOnce(ExpressionBuilder) -> Expression, [INFO] [stdout] | ------------------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 38 | left: Box::new(left_fn(ExpressionBuilder {})), [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/ast/builders/operation_builder.rs:39:20 [INFO] [stdout] | [INFO] [stdout] 33 | left_fn: impl FnOnce(ExpressionBuilder) -> Expression, [INFO] [stdout] | ----------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 34 | right_fn: impl FnOnce(ExpressionBuilder) -> Expression, [INFO] [stdout] | ------------------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 39 | right: Box::new(right_fn(ExpressionBuilder {})), [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/ast/builders/statement_builder.rs:28:25 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn if_statement(self, if_statement_fn: impl FnOnce(IfStatementBuilder) -> Node) -> Node { [INFO] [stdout] | -------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 28 | if_statement_fn(IfStatementBuilder::new()) [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/ast/builders/statement_builder.rs:35:28 [INFO] [stdout] | [INFO] [stdout] 33 | function_call_fn: impl FnOnce(FunctionCallBuilder) -> FunctionCall, [INFO] [stdout] | ------------------------------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 34 | ) -> Node { [INFO] [stdout] 35 | Node::FunctionCall(function_call_fn(FunctionCallBuilder::default())) [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/ast/builders/statement_builder.rs:40:27 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn return_value(self, expression: impl FnOnce(ExpressionBuilder) -> Expression) -> Node { [INFO] [stdout] | -------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | Node::FunctionReturn { [INFO] [stdout] 40 | return_value: Some(expression(ExpressionBuilder {})), [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/ast/builders/statement_builder.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 72 | let actual = StatementBuilder::default().if_statement(|if_statement| { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 73 | / if_statement [INFO] [stdout] 74 | | .check_expression(|check| check.value_literal(true.into())) [INFO] [stdout] 75 | | .body(|body| body.build()) [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/ast/builders/statement_builder.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 91 | let actual = StatementBuilder::default().function_call(|function_call| { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 92 | / function_call [INFO] [stdout] 93 | | .function_id("my_function") [INFO] [stdout] 94 | | .no_parameters() [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/ast/builders/variable_declaration_builder.rs:41:20 [INFO] [stdout] | [INFO] [stdout] 29 | value_fn: TExpressionFn, [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 41 | value: value_fn(ExpressionBuilder {}), [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] warning: this method call resolves to `<&Box<[T]> as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to ` as IntoIterator>::into_iter` in Rust 2024 [INFO] [stdout] --> src/cli/mod.rs:29:14 [INFO] [stdout] | [INFO] [stdout] 29 | .into_iter() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: `#[warn(boxed_slice_into_iter)]` on by default [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 29 | .iter() [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 28 | IntoIterator::into_iter(commands) [INFO] [stdout] | ++++++++++++++++++++++++ ~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&Box<[T]> as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to ` as IntoIterator>::into_iter` in Rust 2024 [INFO] [stdout] --> src/cli/help_command.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 25 | .into_iter() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 25 | .iter() [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 24 | IntoIterator::into_iter(commands) [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/token_stream/expression.rs:62:39 [INFO] [stdout] | [INFO] [stdout] 60 | let value_expr = create_expression(tokens)?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 61 | expression = Some(Box::new(move |builder: ExpressionBuilder| { [INFO] [stdout] 62 | builder.operation(|operation| operation.not(value_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] --> src/token_stream/expression.rs:130:8 [INFO] [stdout] | [INFO] [stdout] 125 | left_expression: Box Expression>, [INFO] [stdout] | ----------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 128 | let right_expression = create_expression(tokens)?; [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 129 | [INFO] [stdout] 130 | Ok(Box::new(move |expression_builder: ExpressionBuilder| { [INFO] [stdout] | ________^ [INFO] [stdout] 131 | | expression_builder.operation(|operation_builder| match operation { [INFO] [stdout] 132 | | BinaryOperation::GreaterThan => { [INFO] [stdout] 133 | | operation_builder.greater_than(left_expression, right_expression) [INFO] [stdout] ... | [INFO] [stdout] 136 | | }) [INFO] [stdout] 137 | | })) [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] --> src/token_stream/expression.rs:131:38 [INFO] [stdout] | [INFO] [stdout] 125 | left_expression: Box Expression>, [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 128 | let right_expression = create_expression(tokens)?; [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 131 | expression_builder.operation(|operation_builder| match operation { [INFO] [stdout] | ______________________________________^ [INFO] [stdout] 132 | | BinaryOperation::GreaterThan => { [INFO] [stdout] 133 | | operation_builder.greater_than(left_expression, right_expression) [INFO] [stdout] 134 | | } [INFO] [stdout] 135 | | BinaryOperation::Plus => operation_builder.plus(left_expression, right_expression), [INFO] [stdout] 136 | | }) [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/token_stream/expression.rs:168:8 [INFO] [stdout] | [INFO] [stdout] 166 | let function_call = take_function_call(identifier, tokens)?; [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 167 | [INFO] [stdout] 168 | Ok(Box::new(|expression_builder: ExpressionBuilder| { [INFO] [stdout] | ________^ [INFO] [stdout] 169 | | expression_builder.function_call(function_call) [INFO] [stdout] 170 | | })) [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] --> src/token_stream/expression.rs:202:29 [INFO] [stdout] | [INFO] [stdout] 201 | value.function_call(|function_call| { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 202 | / function_call [INFO] [stdout] 203 | | .function_id("my_function") [INFO] [stdout] 204 | | .no_parameters() [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/token_stream/expression.rs:237:29 [INFO] [stdout] | [INFO] [stdout] 236 | value.function_call(|function_call| { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 237 | / function_call [INFO] [stdout] 238 | | .function_id("my_function") [INFO] [stdout] 239 | | .parameter(|value| value.value_literal(true.into())) [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/token_stream/expression.rs:277:29 [INFO] [stdout] | [INFO] [stdout] 276 | value.function_call(|function_call| { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 277 | / function_call [INFO] [stdout] 278 | | .function_id("my_function") [INFO] [stdout] 279 | | .parameter(|value| value.value_literal(true.into())) [INFO] [stdout] 280 | | .parameter(|param| { [INFO] [stdout] ... | [INFO] [stdout] 286 | | }) [INFO] [stdout] 287 | | }) [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/token_stream/expression.rs:282:41 [INFO] [stdout] | [INFO] [stdout] 281 | ... param.function_call(|function_call| { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 282 | / ... function_call [INFO] [stdout] 283 | | ... .function_id("second_function") [INFO] [stdout] 284 | | ... .no_parameters() [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/token_stream/expression.rs:326:29 [INFO] [stdout] | [INFO] [stdout] 325 | value.function_call(|function_call| { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 326 | / function_call [INFO] [stdout] 327 | | .function_id("my_function") [INFO] [stdout] 328 | | .parameter(|value| value.value_literal(true.into())) [INFO] [stdout] 329 | | .parameter(|param| { [INFO] [stdout] ... | [INFO] [stdout] 335 | | }) [INFO] [stdout] 336 | | }) [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/token_stream/expression.rs:331:41 [INFO] [stdout] | [INFO] [stdout] 330 | ... param.function_call(|function_call| { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 331 | / ... function_call [INFO] [stdout] 332 | | ... .function_id("second_function") [INFO] [stdout] 333 | | ... .parameter(|param| param.value_literal(true.into())) [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/token_stream/expression.rs:373:29 [INFO] [stdout] | [INFO] [stdout] 372 | value.function_call(|function_call| { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 373 | / function_call [INFO] [stdout] 374 | | .function_id("my_function") [INFO] [stdout] 375 | | .parameter(|value| value.value_literal(true.into())) [INFO] [stdout] 376 | | .parameter(|value| value.value_literal(false.into())) [INFO] [stdout] 377 | | .parameter(|value| value.value_literal(true.into())) [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/token_stream/expression.rs:452:29 [INFO] [stdout] | [INFO] [stdout] 451 | assignment.function_call(|function_call| { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 452 | / function_call [INFO] [stdout] 453 | | .function_id("my_function") [INFO] [stdout] 454 | | .parameter(|parameter| { [INFO] [stdout] 455 | | parameter.operation(|operation| { [INFO] [stdout] 456 | | operation.plus(|_| 10.into(), |_| 12.into()) [INFO] [stdout] 457 | | }) [INFO] [stdout] 458 | | }) [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/token_stream/expression.rs:492:29 [INFO] [stdout] | [INFO] [stdout] 491 | assignment.function_call(|function_call| { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 492 | / function_call [INFO] [stdout] 493 | | .function_id("my_function") [INFO] [stdout] 494 | | .parameter(|param| { [INFO] [stdout] 495 | | param.operation(|operation| operation.not(|_| true.into())) [INFO] [stdout] 496 | | }) [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/token_stream/expression.rs:531:29 [INFO] [stdout] | [INFO] [stdout] 530 | assignment.function_call(|function_call| { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 531 | / function_call [INFO] [stdout] 532 | | .function_id("my_function") [INFO] [stdout] 533 | | .parameter(|parameter| { [INFO] [stdout] 534 | | parameter.operation(|operation| { [INFO] [stdout] 535 | | operation.greater_than(|_| 10.into(), |_| 12.into()) [INFO] [stdout] 536 | | }) [INFO] [stdout] 537 | | }) [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/token_stream/expression.rs:617:41 [INFO] [stdout] | [INFO] [stdout] 616 | ... left.function_call(|function_call| { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 617 | ... function_call.function_id("function_1").no_parameters().build() [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/token_stream/expression.rs:620:77 [INFO] [stdout] | [INFO] [stdout] 620 | ... |right| right.function_call(|function_call| function_call.function_id("function_2").no_parameters().build()), [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] --> src/token_stream/function_declaration.rs:114:8 [INFO] [stdout] | [INFO] [stdout] 112 | let statements = get_block_statements(tokens)?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 113 | [INFO] [stdout] 114 | Ok(Box::new(move |mut function_declaration_builder| { [INFO] [stdout] | ________^ [INFO] [stdout] 115 | | function_declaration_builder = function_declaration_builder [INFO] [stdout] 116 | | .name(&function_name) [INFO] [stdout] 117 | | .parameters(params); [INFO] [stdout] ... | [INFO] [stdout] 131 | | }) [INFO] [stdout] 132 | | })) [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] --> src/token_stream/function_declaration.rs:125:43 [INFO] [stdout] | [INFO] [stdout] 112 | let statements = get_block_statements(tokens)?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 113 | [INFO] [stdout] 114 | Ok(Box::new(move |mut function_declaration_builder| { [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 125 | function_declaration_builder.body(|mut body| { [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 126 | | for statement in statements { [INFO] [stdout] 127 | | body = body.statement(statement); [INFO] [stdout] 128 | | } [INFO] [stdout] 129 | | [INFO] [stdout] 130 | | body.build() [INFO] [stdout] 131 | | }) [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/token_stream/function_declaration.rs:171:13 [INFO] [stdout] | [INFO] [stdout] 170 | let expected = AstBuilder::default().function_declaration(|function_declaration| { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 171 | / function_declaration [INFO] [stdout] 172 | | .name("my_function") [INFO] [stdout] 173 | | .parameters(Vec::new()) [INFO] [stdout] 174 | | .void() [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/token_stream/function_declaration.rs:176:21 [INFO] [stdout] | [INFO] [stdout] 175 | .body(|body| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 176 | / body.statement(|statement| { [INFO] [stdout] 177 | | statement.function_call(|function_call| { [INFO] [stdout] 178 | | function_call [INFO] [stdout] 179 | | .function_id("print") [INFO] [stdout] ... | [INFO] [stdout] 183 | | }) [INFO] [stdout] 184 | | .statement(|statement| statement.return_void()) [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/token_stream/function_declaration.rs:178:29 [INFO] [stdout] | [INFO] [stdout] 177 | statement.function_call(|function_call| { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 178 | / function_call [INFO] [stdout] 179 | | .function_id("print") [INFO] [stdout] 180 | | .parameter(|_| 1.into()) [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/token_stream/function_declaration.rs:207:13 [INFO] [stdout] | [INFO] [stdout] 206 | let expected = AstBuilder::default().function_declaration(|function_declaration| { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 207 | / function_declaration [INFO] [stdout] 208 | | .name("my_function") [INFO] [stdout] 209 | | .parameters(Vec::new()) [INFO] [stdout] 210 | | .void() [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/token_stream/function_declaration.rs:242:13 [INFO] [stdout] | [INFO] [stdout] 241 | let expected = AstBuilder::default().function_declaration(|function_declaration| { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 242 | / function_declaration [INFO] [stdout] 243 | | .name("my_function") [INFO] [stdout] 244 | | .parameters(vec![ [INFO] [stdout] 245 | | FunctionParameter::FunctionParameter { [INFO] [stdout] ... | [INFO] [stdout] 253 | | ]) [INFO] [stdout] 254 | | .void() [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/token_stream/function_declaration.rs:255:30 [INFO] [stdout] | [INFO] [stdout] 255 | .body(|body| body.statement(|statement| statement.return_void()).build()) [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] --> src/token_stream/function_declaration.rs:289:13 [INFO] [stdout] | [INFO] [stdout] 288 | let expected = AstBuilder::default().function_declaration(|function_declaration| { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 289 | / function_declaration [INFO] [stdout] 290 | | .name("my_function") [INFO] [stdout] 291 | | .parameters(vec![ [INFO] [stdout] 292 | | FunctionParameter::FunctionParameter { [INFO] [stdout] ... | [INFO] [stdout] 300 | | ]) [INFO] [stdout] 301 | | .return_type(Type::Boolean) [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/token_stream/function_declaration.rs:303:21 [INFO] [stdout] | [INFO] [stdout] 302 | .body(|body| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 303 | body.statement(|statement| statement.return_value(|_| true.into())) [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/token_stream/if_statement.rs:95:14 [INFO] [stdout] | [INFO] [stdout] 87 | check_expression: Box Expression>, [INFO] [stdout] | ------------------------------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 88 | statements: Vec Node>>, [INFO] [stdout] | ---------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 89 | else_statements: Option Node>>>, [INFO] [stdout] | ----------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 90 | / else_if_blocks: Vec<( [INFO] [stdout] 91 | | Box Expression>, [INFO] [stdout] 92 | | Vec Node>>, [INFO] [stdout] 93 | | )>, [INFO] [stdout] | |______- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 94 | ) -> Box Node> { [INFO] [stdout] 95 | Box::new(|mut if_statement_builder: IfStatementBuilder| { [INFO] [stdout] | ______________^ [INFO] [stdout] 96 | | if_statement_builder = if_statement_builder [INFO] [stdout] 97 | | .check_expression(check_expression) [INFO] [stdout] 98 | | .body(|mut body| { [INFO] [stdout] ... | [INFO] [stdout] 126 | | if_statement_builder.build() [INFO] [stdout] 127 | | }) [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/token_stream/if_statement.rs:158:17 [INFO] [stdout] | [INFO] [stdout] 157 | statement.if_statement(|if_statement| { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 158 | / if_statement [INFO] [stdout] 159 | | .check_expression(|_| true.into()) [INFO] [stdout] 160 | | .body(|body| { [INFO] [stdout] 161 | | body.statement(|statement| { [INFO] [stdout] ... | [INFO] [stdout] 169 | | .build() [INFO] [stdout] 170 | | }) [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/token_stream/if_statement.rs:161:25 [INFO] [stdout] | [INFO] [stdout] 160 | .body(|body| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 161 | / body.statement(|statement| { [INFO] [stdout] 162 | | statement.var_declaration(|var_declaration| { [INFO] [stdout] 163 | | var_declaration [INFO] [stdout] 164 | | .infer_type() [INFO] [stdout] ... | [INFO] [stdout] 167 | | }) [INFO] [stdout] 168 | | }) [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/token_stream/if_statement.rs:207:17 [INFO] [stdout] | [INFO] [stdout] 206 | statement.if_statement(|if_statement| { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 207 | / if_statement [INFO] [stdout] 208 | | .check_expression(|_| true.into()) [INFO] [stdout] 209 | | .body(|body| { [INFO] [stdout] 210 | | body.statement(|statement| { [INFO] [stdout] ... | [INFO] [stdout] 229 | | .build() [INFO] [stdout] 230 | | }) [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/token_stream/if_statement.rs:210:25 [INFO] [stdout] | [INFO] [stdout] 209 | .body(|body| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 210 | / body.statement(|statement| { [INFO] [stdout] 211 | | statement.var_declaration(|var_declaration| { [INFO] [stdout] 212 | | var_declaration [INFO] [stdout] 213 | | .infer_type() [INFO] [stdout] ... | [INFO] [stdout] 216 | | }) [INFO] [stdout] 217 | | }) [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/token_stream/if_statement.rs:221:25 [INFO] [stdout] | [INFO] [stdout] 220 | .else_block(|body| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 221 | / body.statement(|statement| { [INFO] [stdout] 222 | | statement.var_declaration(|var_declaration| { [INFO] [stdout] 223 | | var_declaration [INFO] [stdout] 224 | | .infer_type() [INFO] [stdout] ... | [INFO] [stdout] 227 | | }) [INFO] [stdout] 228 | | }) [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/token_stream/if_statement.rs:306:17 [INFO] [stdout] | [INFO] [stdout] 305 | statement.if_statement(|if_statement| { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 306 | / if_statement [INFO] [stdout] 307 | | .check_expression(|_| true.into()) [INFO] [stdout] 308 | | .body(|body| { [INFO] [stdout] 309 | | body.statement(|statement| { [INFO] [stdout] ... | [INFO] [stdout] 356 | | .build() [INFO] [stdout] 357 | | }) [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/token_stream/if_statement.rs:309:25 [INFO] [stdout] | [INFO] [stdout] 308 | .body(|body| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 309 | / body.statement(|statement| { [INFO] [stdout] 310 | | statement.var_declaration(|var_declaration| { [INFO] [stdout] 311 | | var_declaration [INFO] [stdout] 312 | | .infer_type() [INFO] [stdout] ... | [INFO] [stdout] 315 | | }) [INFO] [stdout] 316 | | }) [INFO] [stdout] | |__________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/token_stream/if_statement.rs:322:29 [INFO] [stdout] | [INFO] [stdout] 321 | |body| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 322 | / body.statement(|statement| { [INFO] [stdout] 323 | | statement.var_declaration(|var_declaration| { [INFO] [stdout] 324 | | var_declaration [INFO] [stdout] 325 | | .infer_type() [INFO] [stdout] ... | [INFO] [stdout] 328 | | }) [INFO] [stdout] 329 | | }) [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/token_stream/if_statement.rs:336:29 [INFO] [stdout] | [INFO] [stdout] 335 | |body| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 336 | / body.statement(|statement| { [INFO] [stdout] 337 | | statement.var_declaration(|var_declaration| { [INFO] [stdout] 338 | | var_declaration [INFO] [stdout] 339 | | .infer_type() [INFO] [stdout] ... | [INFO] [stdout] 342 | | }) [INFO] [stdout] 343 | | }) [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/token_stream/if_statement.rs:348:25 [INFO] [stdout] | [INFO] [stdout] 347 | .else_block(|body| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 348 | / body.statement(|statement| { [INFO] [stdout] 349 | | statement.var_declaration(|var_declaration| { [INFO] [stdout] 350 | | var_declaration [INFO] [stdout] 351 | | .infer_type() [INFO] [stdout] ... | [INFO] [stdout] 354 | | }) [INFO] [stdout] 355 | | }) [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/token_stream/if_statement.rs:406:13 [INFO] [stdout] | [INFO] [stdout] 405 | let function_call_builder = |function_call: FunctionCallBuilder| { [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 406 | / function_call [INFO] [stdout] 407 | | .function_id("my_function") [INFO] [stdout] 408 | | .no_parameters() [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/token_stream/if_statement.rs:413:17 [INFO] [stdout] | [INFO] [stdout] 412 | statement.if_statement(|if_statement| { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 413 | / if_statement [INFO] [stdout] 414 | | .check_expression(|_| true.into()) [INFO] [stdout] 415 | | .body(|body| { [INFO] [stdout] 416 | | body.statement(|statement| { [INFO] [stdout] ... | [INFO] [stdout] 435 | | .build() [INFO] [stdout] 436 | | }) [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/token_stream/if_statement.rs:416:25 [INFO] [stdout] | [INFO] [stdout] 415 | .body(|body| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 416 | / body.statement(|statement| { [INFO] [stdout] 417 | | statement.function_call(function_call_builder.clone()) [INFO] [stdout] 418 | | }) [INFO] [stdout] 419 | | .statement(|statement| { [INFO] [stdout] ... | [INFO] [stdout] 433 | | statement.function_call(function_call_builder.clone()) [INFO] [stdout] 434 | | }) [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/token_stream/if_statement.rs:421:33 [INFO] [stdout] | [INFO] [stdout] 420 | ... statement.if_statement(|if_statement| { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 421 | / ... if_statement [INFO] [stdout] 422 | | ... .check_expression(|_| true.into()) [INFO] [stdout] 423 | | ... .body(|body| { [INFO] [stdout] 424 | | ... body.statement(|statement| { [INFO] [stdout] ... | [INFO] [stdout] 427 | | ... .build() [INFO] [stdout] 428 | | ... }) [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/token_stream/if_statement.rs:424:41 [INFO] [stdout] | [INFO] [stdout] 423 | ... .body(|body| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 424 | / ... body.statement(|statement| { [INFO] [stdout] 425 | | ... statement.function_call(function_call_builder.clone()) [INFO] [stdout] 426 | | ... }) [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/token_stream/if_statement.rs:462:17 [INFO] [stdout] | [INFO] [stdout] 461 | statement.if_statement(|if_statement| { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 462 | / if_statement [INFO] [stdout] 463 | | .check_expression(|expression| { [INFO] [stdout] 464 | | expression.operation(|operation| { [INFO] [stdout] 465 | | operation.greater_than( [INFO] [stdout] ... | [INFO] [stdout] 470 | | }) [INFO] [stdout] 471 | | .body(|body| body.build()) [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/token_stream/statement.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 91 | let function_call = take_function_call(identifier, tokens)?; [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 95 | Ok(Box::new(|statement_builder| { [INFO] [stdout] | ________^ [INFO] [stdout] 96 | | statement_builder.function_call(function_call) [INFO] [stdout] 97 | | })) [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] --> src/token_stream/statement.rs:185:17 [INFO] [stdout] | [INFO] [stdout] 184 | statement.function_call(|function_call| { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 185 | / function_call [INFO] [stdout] 186 | | .function_id("print") [INFO] [stdout] 187 | | .parameter(|param| { [INFO] [stdout] 188 | | param.function_call(|function_call| { [INFO] [stdout] ... | [INFO] [stdout] 193 | | }) [INFO] [stdout] 194 | | }) [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/token_stream/statement.rs:189:29 [INFO] [stdout] | [INFO] [stdout] 188 | param.function_call(|function_call| { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 189 | / function_call [INFO] [stdout] 190 | | .function_id("my_function") [INFO] [stdout] 191 | | .parameter(|_| true.into()) [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/token_stream/token.rs:237:17 [INFO] [stdout] | [INFO] [stdout] 236 | .function_declaration(|function_declaration| { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 237 | / function_declaration [INFO] [stdout] 238 | | .name("my_function") [INFO] [stdout] 239 | | .parameters(vec![ [INFO] [stdout] 240 | | FunctionParameter::FunctionParameter { [INFO] [stdout] ... | [INFO] [stdout] 248 | | ]) [INFO] [stdout] 249 | | .return_type(Type::UInt) [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/token_stream/token.rs:251:25 [INFO] [stdout] | [INFO] [stdout] 250 | .body(|body| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 251 | / body.statement(|statement| { [INFO] [stdout] 252 | | statement.function_call(|function_call| { [INFO] [stdout] 253 | | function_call [INFO] [stdout] 254 | | .function_id("print") [INFO] [stdout] ... | [INFO] [stdout] 266 | | }) [INFO] [stdout] 267 | | .statement(|statement| statement.return_value(|_| 1.into())) [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/token_stream/token.rs:253:33 [INFO] [stdout] | [INFO] [stdout] 252 | ... statement.function_call(|function_call| { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 253 | / ... function_call [INFO] [stdout] 254 | | ... .function_id("print") [INFO] [stdout] 255 | | ... .parameter(|param| param.variable("param_1")) [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/token_stream/token.rs:261:33 [INFO] [stdout] | [INFO] [stdout] 260 | ... statement.function_call(|function_call| { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 261 | / ... function_call [INFO] [stdout] 262 | | ... .function_id("print") [INFO] [stdout] 263 | | ... .parameter(|param| param.variable("param_2")) [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/token_stream/token.rs:273:21 [INFO] [stdout] | [INFO] [stdout] 272 | statement.function_call(|function_call| { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 273 | / function_call [INFO] [stdout] 274 | | .function_id("my_function") [INFO] [stdout] 275 | | .parameter(|_| true.into()) [INFO] [stdout] 276 | | .parameter(|_| 10.into()) [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/token_stream/token.rs:390:17 [INFO] [stdout] | [INFO] [stdout] 389 | .function_declaration(|function_declaration| { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 390 | / function_declaration [INFO] [stdout] 391 | | .name("fibonacci") [INFO] [stdout] 392 | | .parameters(vec![ [INFO] [stdout] 393 | | FunctionParameter::FunctionParameter { [INFO] [stdout] ... | [INFO] [stdout] 405 | | ]) [INFO] [stdout] 406 | | .return_type(Type::UInt) [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/token_stream/token.rs:408:25 [INFO] [stdout] | [INFO] [stdout] 407 | .body(|body| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 408 | / body.statement(|statement| { [INFO] [stdout] 409 | | statement.var_declaration(|var_declaration| { [INFO] [stdout] 410 | | var_declaration [INFO] [stdout] 411 | | .infer_type() [INFO] [stdout] ... | [INFO] [stdout] 461 | | }) [INFO] [stdout] 462 | | }) [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/token_stream/token.rs:425:33 [INFO] [stdout] | [INFO] [stdout] 424 | ... statement.if_statement(|if_statement| { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 425 | / ... if_statement [INFO] [stdout] 426 | | ... .check_expression(|check| { [INFO] [stdout] 427 | | ... check.operation(|operation| { [INFO] [stdout] 428 | | ... operation.greater_than( [INFO] [stdout] ... | [INFO] [stdout] 440 | | ... .build() [INFO] [stdout] 441 | | ... }) [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/token_stream/token.rs:435:41 [INFO] [stdout] | [INFO] [stdout] 434 | ... .body(|if_body| { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 435 | / ... if_body [INFO] [stdout] 436 | | ... .statement(|statement| { [INFO] [stdout] 437 | | ... statement [INFO] [stdout] 438 | | ... .return_value(|value| value.variable("next")) [INFO] [stdout] 439 | | ... }) [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/token_stream/token.rs:447:33 [INFO] [stdout] | [INFO] [stdout] 446 | ... statement.function_call(|function_call| { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 447 | / ... function_call [INFO] [stdout] 448 | | ... .function_id("print") [INFO] [stdout] 449 | | ... .parameter(|param| param.variable("next")) [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/token_stream/token.rs:455:33 [INFO] [stdout] | [INFO] [stdout] 454 | ... statement.function_call(|function_call| { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 455 | / ... function_call [INFO] [stdout] 456 | | ... .function_id("fibonacci") [INFO] [stdout] 457 | | ... .parameter(|param| param.variable("higher")) [INFO] [stdout] 458 | | ... .parameter(|param| param.variable("next")) [INFO] [stdout] 459 | | ... .parameter(|param| param.variable("limit")) [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/token_stream/token.rs:468:21 [INFO] [stdout] | [INFO] [stdout] 467 | statement.function_call(|function_call| { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 468 | / function_call [INFO] [stdout] 469 | | .function_id("print") [INFO] [stdout] 470 | | .parameter(|param| param.value_literal(0.into())) [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/token_stream/token.rs:476:21 [INFO] [stdout] | [INFO] [stdout] 475 | statement.function_call(|function_call| { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 476 | / function_call [INFO] [stdout] 477 | | .function_id("print") [INFO] [stdout] 478 | | .parameter(|param| param.value_literal(1.into())) [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/token_stream/token.rs:484:21 [INFO] [stdout] | [INFO] [stdout] 483 | statement.function_call(|function_call| { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 484 | / function_call [INFO] [stdout] 485 | | .function_id("fibonacci") [INFO] [stdout] 486 | | .parameter(|param| param.value_literal(0.into())) [INFO] [stdout] 487 | | .parameter(|param| param.value_literal(1.into())) [INFO] [stdout] 488 | | .parameter(|param| param.value_literal(10000.into())) [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/token_stream/variable_declaration.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 29 | let expression_fn = create_expression(&mut tokens)?; [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 30 | [INFO] [stdout] 31 | Ok(move |mut var_decl_builder: VariableDeclarationBuilder| { [INFO] [stdout] | ________^ [INFO] [stdout] 32 | | match var_decl_type { [INFO] [stdout] 33 | | VariableDeclarationType::Infer => { [INFO] [stdout] 34 | | var_decl_builder = var_decl_builder.infer_type(); [INFO] [stdout] ... | [INFO] [stdout] 41 | | var_decl_builder.with_assignment(expression_fn) [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] --> src/token_stream/variable_declaration.rs:163:41 [INFO] [stdout] | [INFO] [stdout] 162 | ... left.function_call(|function_call| { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 163 | / ... function_call [INFO] [stdout] 164 | | ... .function_id("my_function") [INFO] [stdout] 165 | | ... .no_parameters() [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/type_checking/ast.rs:14:48 [INFO] [stdout] | [INFO] [stdout] 14 | .map(|(id, function)| (id.clone(), function.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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/type_checking/ast.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 48 | .function_declaration(|fn_decl| { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 49 | / fn_decl [INFO] [stdout] 50 | | .parameters(vec![FunctionParameter::FunctionParameter { [INFO] [stdout] 51 | | param_type: Type::Boolean, [INFO] [stdout] 52 | | param_name: "my_param".to_owned(), [INFO] [stdout] 53 | | }]) [INFO] [stdout] 54 | | .return_type(Type::Boolean) [INFO] [stdout] 55 | | .name("my_function") [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/type_checking/ast.rs:57:25 [INFO] [stdout] | [INFO] [stdout] 56 | .body(|body| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 57 | / body.statement(|statement| { [INFO] [stdout] 58 | | statement.return_value(|expression| expression.variable("my_param")) [INFO] [stdout] 59 | | }) [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/type_checking/ast.rs:65:21 [INFO] [stdout] | [INFO] [stdout] 64 | statement.function_call(|fn_call| { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 65 | / fn_call [INFO] [stdout] 66 | | .function_id("print") [INFO] [stdout] 67 | | .parameter(|_| 10.into()) [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/type_checking/ast.rs:73:21 [INFO] [stdout] | [INFO] [stdout] 72 | statement.function_call(|fn_call| { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 73 | / fn_call [INFO] [stdout] 74 | | .function_id("my_function") [INFO] [stdout] 75 | | .parameter(|_| true.into()) [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/type_checking/ast.rs:90:17 [INFO] [stdout] | [INFO] [stdout] 89 | .function_declaration(|fn_decl| { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 90 | / fn_decl [INFO] [stdout] 91 | | .parameters(vec![FunctionParameter::FunctionParameter { [INFO] [stdout] 92 | | param_type: Type::Boolean, [INFO] [stdout] 93 | | param_name: "my_param".to_owned(), [INFO] [stdout] 94 | | }]) [INFO] [stdout] 95 | | .return_type(Type::Boolean) [INFO] [stdout] 96 | | .name("my_function") [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/type_checking/ast.rs:97:34 [INFO] [stdout] | [INFO] [stdout] 97 | .body(|body| body.statement(|statement| statement.return_void()).build()) [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] --> src/type_checking/ast.rs:101:21 [INFO] [stdout] | [INFO] [stdout] 100 | statement.function_call(|fn_call| { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 101 | / fn_call [INFO] [stdout] 102 | | .function_id("my_function") [INFO] [stdout] 103 | | .parameter(|_| 10.into()) [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 100 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `beach-lang` (bin "beach-lang" test) due to 101 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "278c831535f62d979fbc33ba226858e4007fd9322048bd9ed865b67072a1b8c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "278c831535f62d979fbc33ba226858e4007fd9322048bd9ed865b67072a1b8c5", kill_on_drop: false }` [INFO] [stdout] 278c831535f62d979fbc33ba226858e4007fd9322048bd9ed865b67072a1b8c5