[INFO] cloning repository https://github.com/GodOfAvacyn/gdshader-lsp [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/GodOfAvacyn/gdshader-lsp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGodOfAvacyn%2Fgdshader-lsp", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGodOfAvacyn%2Fgdshader-lsp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f3847df8a17cd66674b2ec058c020d80ff7d4f8f [INFO] checking GodOfAvacyn/gdshader-lsp/f3847df8a17cd66674b2ec058c020d80ff7d4f8f 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%2FGodOfAvacyn%2Fgdshader-lsp" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/GodOfAvacyn/gdshader-lsp 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/GodOfAvacyn/gdshader-lsp [INFO] finished tweaking git repo https://github.com/GodOfAvacyn/gdshader-lsp [INFO] tweaked toml for git repo https://github.com/GodOfAvacyn/gdshader-lsp written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/GodOfAvacyn/gdshader-lsp already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: target.x86_64-apple-darwin.ar [INFO] [stderr] warning: unused manifest key: target.x86_64-apple-darwin.linker [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 695845db2a4a84cb6e8fc089f6212445146429982b490b74e6c1113d1b5a1be9 [INFO] running `Command { std: "docker" "start" "-a" "695845db2a4a84cb6e8fc089f6212445146429982b490b74e6c1113d1b5a1be9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "695845db2a4a84cb6e8fc089f6212445146429982b490b74e6c1113d1b5a1be9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "695845db2a4a84cb6e8fc089f6212445146429982b490b74e6c1113d1b5a1be9", kill_on_drop: false }` [INFO] [stdout] 695845db2a4a84cb6e8fc089f6212445146429982b490b74e6c1113d1b5a1be9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0be2f5399acf448e733174cd4f8e5286e7f186ee918eec102a747a84262c0449 [INFO] running `Command { std: "docker" "start" "-a" "0be2f5399acf448e733174cd4f8e5286e7f186ee918eec102a747a84262c0449", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: target.x86_64-apple-darwin.ar [INFO] [stderr] warning: unused manifest key: target.x86_64-apple-darwin.linker [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling serde_json v1.0.113 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking walkdir v2.4.0 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking crossbeam-channel v0.5.11 [INFO] [stderr] Compiling syn v2.0.49 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking regex-automata v0.4.5 [INFO] [stderr] Checking regex v1.10.3 [INFO] [stderr] Compiling logos-codegen v0.14.0 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling serde_repr v0.1.18 [INFO] [stderr] Compiling strum_macros v0.26.1 [INFO] [stderr] Compiling logos-derive v0.14.0 [INFO] [stderr] Checking logos v0.14.0 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking lsp-server v0.7.6 [INFO] [stderr] Checking lsp-types v0.95.0 [INFO] [stderr] Checking gdshader-lsp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `collections::HashSet` and `mem` [INFO] [stdout] --> src/interpreter/top_level_interpreter.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashSet, fs, mem}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parser::parse_int` [INFO] [stdout] --> src/interpreter/top_level_interpreter.rs:3:83 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{evaluate_tree, lexer::TokenStream, memory::*, nodes::*, parse_tokens, parser::parse_int}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `collections::HashMap` and `hash::Hash` [INFO] [stdout] --> src/memory/variables.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, hash::Hash}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_byte_offset_from_position` [INFO] [stdout] --> src/memory/mod.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::{get_byte_offset_from_position, interpreter::{evaluate_top_level_node, EvaluateError}, lexer::{Token, TokenStream}, nodes::Top... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TypeNode` [INFO] [stdout] --> src/completion.rs:3:82 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{interpreter::evaluate_expression, memory::*, nodes::{ExpressionNode, TypeNode}}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `collections::HashSet` and `mem` [INFO] [stdout] --> src/interpreter/top_level_interpreter.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashSet, fs, mem}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parser::parse_int` [INFO] [stdout] --> src/interpreter/top_level_interpreter.rs:3:83 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{evaluate_tree, lexer::TokenStream, memory::*, nodes::*, parse_tokens, parser::parse_int}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `collections::HashMap` and `hash::Hash` [INFO] [stdout] --> src/memory/variables.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, hash::Hash}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_byte_offset_from_position` [INFO] [stdout] --> src/memory/mod.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::{get_byte_offset_from_position, interpreter::{evaluate_top_level_node, EvaluateError}, lexer::{Token, TokenStream}, nodes::Top... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TypeNode` [INFO] [stdout] --> src/completion.rs:3:82 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{interpreter::evaluate_expression, memory::*, nodes::{ExpressionNode, TypeNode}}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current` [INFO] [stdout] --> src/lexer/token_stream.rs:112:13 [INFO] [stdout] | [INFO] [stdout] 112 | let current = self.current(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> src/lexer/token_stream.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | let message = format!("Syntax Error: {}", msg); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> src/lexer/token_stream.rs:153:13 [INFO] [stdout] | [INFO] [stdout] 153 | let message = format!("Syntax Error: {}", msg); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current` [INFO] [stdout] --> src/lexer/token_stream.rs:112:13 [INFO] [stdout] | [INFO] [stdout] 112 | let current = self.current(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> src/lexer/token_stream.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | let message = format!("Syntax Error: {}", msg); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> src/lexer/token_stream.rs:153:13 [INFO] [stdout] | [INFO] [stdout] 153 | let message = format!("Syntax Error: {}", msg); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `right_range` [INFO] [stdout] --> src/interpreter/expression_interpreter.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | let right_range = assignment.right.range(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_right_range` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `right_range` [INFO] [stdout] --> src/interpreter/expression_interpreter.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | let right_range = assignment.right.range(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_right_range` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/memory/mod.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | let mut diagnostics = stream.get_source().get_diagnostics().clone(); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cursor` [INFO] [stdout] --> src/memory/mod.rs:129:33 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn get_functions(&self, cursor: Position, is_const: bool) -> Vec { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cursor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> src/memory/mod.rs:183:13 [INFO] [stdout] | [INFO] [stdout] 183 | let message = format!("Syntax Error: {}", msg); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `parser::Trailing` is more private than the item `parser::parse_list` [INFO] [stdout] --> src/parser/mod.rs:167:1 [INFO] [stdout] | [INFO] [stdout] 167 | / pub fn parse_list( [INFO] [stdout] 168 | | stream: &mut TokenStream, [INFO] [stdout] 169 | | separator: TokenKind, [INFO] [stdout] 170 | | stop: TokenKind, [INFO] [stdout] ... | [INFO] [stdout] 174 | | where [INFO] [stdout] 175 | | F: Fn(&mut TokenStream) -> Result [INFO] [stdout] | |____________________________________________________^ function `parser::parse_list` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `parser::Trailing` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/parser/mod.rs:159:1 [INFO] [stdout] | [INFO] [stdout] 159 | enum Trailing{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_unused_warning` is never used [INFO] [stdout] --> src/source_code.rs:54:4 [INFO] [stdout] | [INFO] [stdout] 54 | fn create_unused_warning(range: Range, id_name: &str) -> Diagnostic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/top_level_parser.rs:103:8 [INFO] [stdout] | [INFO] [stdout] 100 | let expression: ExpressionNode = parse_expression(stream)?; // Parse Expression [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 103 | Ok(TopLevelNode::Const(ConstNode { [INFO] [stdout] | ________^ [INFO] [stdout] 104 | | keyword, [INFO] [stdout] 105 | | precision, [INFO] [stdout] 106 | | value: Box::new(value), [INFO] [stdout] 107 | | expression: Box::new(expression) [INFO] [stdout] 108 | | })) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/top_level_parser.rs:174:8 [INFO] [stdout] | [INFO] [stdout] 169 | let expression = parse_conditional(stream, Equal) [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 174 | Ok(TopLevelNode::Uniform(UniformNode{ [INFO] [stdout] | ________^ [INFO] [stdout] 175 | | global_instance, [INFO] [stdout] 176 | | keyword, [INFO] [stdout] 177 | | precision, [INFO] [stdout] ... | [INFO] [stdout] 180 | | expression: expression.map(|x| Box::new(x)) [INFO] [stdout] 181 | | })) [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/parser/top_level_parser.rs:254:8 [INFO] [stdout] | [INFO] [stdout] 249 | let block = match parse_block(stream)? { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 250 | StatementNode::Block(block) => block, [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 254 | Ok(TopLevelNode::Function(FunctionNode{ [INFO] [stdout] | ________^ [INFO] [stdout] 255 | | type_node, [INFO] [stdout] 256 | | identifier, [INFO] [stdout] 257 | | params, [INFO] [stdout] 258 | | block [INFO] [stdout] 259 | | })) [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/parser/expression.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 67 | let args = parse_list( [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 76 | Ok(ExpressionNode::Call(CallNode { [INFO] [stdout] | ________^ [INFO] [stdout] 77 | | identifier, [INFO] [stdout] 78 | | args [INFO] [stdout] 79 | | })) [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/parser/expression.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | |s| parse_expression(s) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/expression.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 83 | let arg = Box::new(parse_expression_priority(stream)?); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 84 | Ok(ExpressionNode::Unary(UnaryNode{ arg, op })) [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/parser/expression.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 90 | original: ExpressionNode [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 91 | ) -> ExpressionResult { [INFO] [stdout] 92 | let right = parse_expression_priority(stream)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 93 | [INFO] [stdout] 94 | Ok(ExpressionNode::Binary(BinaryNode{ [INFO] [stdout] | ________^ [INFO] [stdout] 95 | | left: Box::new(original), [INFO] [stdout] 96 | | right: Box::new(right), [INFO] [stdout] 97 | | op [INFO] [stdout] 98 | | })) [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/parser/expression.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 104 | original: ExpressionNode [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 105 | ) -> ExpressionResult { [INFO] [stdout] 106 | let right = parse_expression(stream)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 107 | [INFO] [stdout] 108 | Ok(ExpressionNode::Assignment(AssignmentNode{ [INFO] [stdout] | ________^ [INFO] [stdout] 109 | | left: Box::new(original), [INFO] [stdout] 110 | | right: Box::new(right), [INFO] [stdout] 111 | | op [INFO] [stdout] 112 | | })) [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/parser/expression.rs:125:8 [INFO] [stdout] | [INFO] [stdout] 117 | original: Option, [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 120 | let (arg, is_prefix) = match original { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 121 | Some(arg) => (arg, false), [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 125 | Ok(ExpressionNode::Increment(IncrementNode{ [INFO] [stdout] | ________^ [INFO] [stdout] 126 | | op, [INFO] [stdout] 127 | | is_prefix, [INFO] [stdout] 128 | | arg: Box::new(arg) [INFO] [stdout] 129 | | })) [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/parser/expression.rs:138:8 [INFO] [stdout] | [INFO] [stdout] 134 | let expr = Box::new(parse_expression(stream)?); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 138 | Ok(ExpressionNode::Paren(expr)) [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/parser/expression.rs:150:8 [INFO] [stdout] | [INFO] [stdout] 143 | originial: ExpressionNode [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 146 | let action = parse_expression(stream)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 147 | parse_kind(stream, Colon)?; [INFO] [stdout] 148 | let alternate = parse_expression(stream)?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 149 | [INFO] [stdout] 150 | Ok(ExpressionNode::Conditional(ConditionalNode{ [INFO] [stdout] | ________^ [INFO] [stdout] 151 | | condition: Box::new(originial), [INFO] [stdout] 152 | | action: Box::new(action), [INFO] [stdout] 153 | | alternate: Box::new(alternate) [INFO] [stdout] 154 | | })) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/expression.rs:165:8 [INFO] [stdout] | [INFO] [stdout] 159 | original: ExpressionNode [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 162 | let index = parse_expression(stream)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 165 | Ok(ExpressionNode::ArrayAccess(ArrayAccessNode{ [INFO] [stdout] | ________^ [INFO] [stdout] 166 | | argument: Box::new(original), [INFO] [stdout] 167 | | index: Box::new(index) [INFO] [stdout] 168 | | })) [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/parser/expression.rs:179:8 [INFO] [stdout] | [INFO] [stdout] 173 | original: ExpressionNode [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 179 | Ok(ExpressionNode::MemberAccess(MemberAccessNode{ [INFO] [stdout] | ________^ [INFO] [stdout] 180 | | argument: Box::new(original), [INFO] [stdout] 181 | | member [INFO] [stdout] 182 | | })) [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/expression.rs:196:8 [INFO] [stdout] | [INFO] [stdout] 188 | let vec = parse_list( [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 196 | Ok(ExpressionNode::ArrayLiteral(vec)) [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/parser/statement.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 6 | let mut statements = vec![]; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 19 | Ok(StatementNode::Block(BlockNode { [INFO] [stdout] | ________^ [INFO] [stdout] 20 | | statements, [INFO] [stdout] 21 | | range: Range::new(left.range.start, right.range.end) [INFO] [stdout] 22 | | })) [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/statement.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 45 | let expression = parse_expression(stream)?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 46 | _ = parse_semicolon(stream); [INFO] [stdout] 47 | Ok(StatementNode::Expression(Box::new(expression))) [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/parser/statement.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 78 | let expression = parse_conditional(stream, Equal) [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 84 | Ok(StatementNode::VarDeclaration(VarDeclarationNode{ [INFO] [stdout] | ________^ [INFO] [stdout] 85 | | keyword, [INFO] [stdout] 86 | | value: Box::new(value), [INFO] [stdout] 87 | | expression, [INFO] [stdout] 88 | | is_const [INFO] [stdout] 89 | | })) [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/parser/statement.rs:107:8 [INFO] [stdout] | [INFO] [stdout] 96 | let condition = Box::new(parse_expression(stream)?); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 97 | parse_kind(stream, RightParen)?; [INFO] [stdout] 98 | let action = Box::new(parse_statement(stream)?); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 99 | stream.queue_cursor_element(CompletionElement::Identifier(stream.parsing_const)); [INFO] [stdout] 100 | let alternate = match parse_conditional(stream, Else) { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 107 | Ok(StatementNode::If(IfNode { [INFO] [stdout] | ________^ [INFO] [stdout] 108 | | keyword, [INFO] [stdout] 109 | | condition, [INFO] [stdout] 110 | | action, [INFO] [stdout] 111 | | alternate [INFO] [stdout] 112 | | })) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/statement.rs:122:8 [INFO] [stdout] | [INFO] [stdout] 118 | let condition = Box::new(parse_expression(stream)?); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 119 | parse_kind(stream, RightParen)?; [INFO] [stdout] 120 | let action = Box::new(parse_statement(stream)?); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 121 | [INFO] [stdout] 122 | Ok(StatementNode::While(WhileNode { [INFO] [stdout] | ________^ [INFO] [stdout] 123 | | keyword, [INFO] [stdout] 124 | | condition, [INFO] [stdout] 125 | | action [INFO] [stdout] 126 | | })) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/statement.rs:145:8 [INFO] [stdout] | [INFO] [stdout] 132 | let initializer = Box::new(parse_statement(stream)?); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 133 | let condition = Box::new(parse_expression(stream)?); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 134 | _ = parse_semicolon(stream); [INFO] [stdout] 135 | let update = Box::new(parse_expression(stream)?); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 136 | parse_kind(stream, RightParen)?; [INFO] [stdout] 137 | let mut action = parse_statement(stream)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 145 | Ok(StatementNode::For(ForNode { [INFO] [stdout] | ________^ [INFO] [stdout] 146 | | keyword, [INFO] [stdout] 147 | | initializer, [INFO] [stdout] 148 | | condition, [INFO] [stdout] 149 | | update, [INFO] [stdout] 150 | | action: Box::new(action) [INFO] [stdout] 151 | | })) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/statement.rs:167:8 [INFO] [stdout] | [INFO] [stdout] 158 | let condition = Box::new(parse_expression(stream)?); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 161 | let mut cases = vec![]; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 167 | Ok(StatementNode::Switch(SwitchNode{ [INFO] [stdout] | ________^ [INFO] [stdout] 168 | | keyword, [INFO] [stdout] 169 | | condition, [INFO] [stdout] 170 | | cases [INFO] [stdout] 171 | | })) [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/parser/statement.rs:190:8 [INFO] [stdout] | [INFO] [stdout] 185 | let mut statements = vec![]; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 190 | Ok(SwitchCaseNode{ [INFO] [stdout] | ________^ [INFO] [stdout] 191 | | keyword, [INFO] [stdout] 192 | | statements [INFO] [stdout] 193 | | }) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/statement.rs:203:8 [INFO] [stdout] | [INFO] [stdout] 198 | let expression = match stream.current()?.kind { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 203 | Ok(StatementNode::Return(ReturnNode{ [INFO] [stdout] | ________^ [INFO] [stdout] 204 | | keyword, [INFO] [stdout] 205 | | expression [INFO] [stdout] 206 | | })) [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] warning: variable does not need to be mutable [INFO] [stdout] --> src/memory/mod.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | let mut diagnostics = stream.get_source().get_diagnostics().clone(); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cursor` [INFO] [stdout] --> src/memory/mod.rs:129:33 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn get_functions(&self, cursor: Position, is_const: bool) -> Vec { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cursor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> src/memory/mod.rs:183:13 [INFO] [stdout] | [INFO] [stdout] 183 | let message = format!("Syntax Error: {}", msg); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 23 previous errors; 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `gdshader-lsp` (lib) due to 24 previous errors; 14 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: type `parser::Trailing` is more private than the item `parser::parse_list` [INFO] [stdout] --> src/parser/mod.rs:167:1 [INFO] [stdout] | [INFO] [stdout] 167 | / pub fn parse_list( [INFO] [stdout] 168 | | stream: &mut TokenStream, [INFO] [stdout] 169 | | separator: TokenKind, [INFO] [stdout] 170 | | stop: TokenKind, [INFO] [stdout] ... | [INFO] [stdout] 174 | | where [INFO] [stdout] 175 | | F: Fn(&mut TokenStream) -> Result [INFO] [stdout] | |____________________________________________________^ function `parser::parse_list` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `parser::Trailing` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/parser/mod.rs:159:1 [INFO] [stdout] | [INFO] [stdout] 159 | enum Trailing{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_unused_warning` is never used [INFO] [stdout] --> src/source_code.rs:54:4 [INFO] [stdout] | [INFO] [stdout] 54 | fn create_unused_warning(range: Range, id_name: &str) -> Diagnostic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/top_level_parser.rs:103:8 [INFO] [stdout] | [INFO] [stdout] 100 | let expression: ExpressionNode = parse_expression(stream)?; // Parse Expression [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 103 | Ok(TopLevelNode::Const(ConstNode { [INFO] [stdout] | ________^ [INFO] [stdout] 104 | | keyword, [INFO] [stdout] 105 | | precision, [INFO] [stdout] 106 | | value: Box::new(value), [INFO] [stdout] 107 | | expression: Box::new(expression) [INFO] [stdout] 108 | | })) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/top_level_parser.rs:174:8 [INFO] [stdout] | [INFO] [stdout] 169 | let expression = parse_conditional(stream, Equal) [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 174 | Ok(TopLevelNode::Uniform(UniformNode{ [INFO] [stdout] | ________^ [INFO] [stdout] 175 | | global_instance, [INFO] [stdout] 176 | | keyword, [INFO] [stdout] 177 | | precision, [INFO] [stdout] ... | [INFO] [stdout] 180 | | expression: expression.map(|x| Box::new(x)) [INFO] [stdout] 181 | | })) [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/parser/top_level_parser.rs:254:8 [INFO] [stdout] | [INFO] [stdout] 249 | let block = match parse_block(stream)? { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 250 | StatementNode::Block(block) => block, [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 254 | Ok(TopLevelNode::Function(FunctionNode{ [INFO] [stdout] | ________^ [INFO] [stdout] 255 | | type_node, [INFO] [stdout] 256 | | identifier, [INFO] [stdout] 257 | | params, [INFO] [stdout] 258 | | block [INFO] [stdout] 259 | | })) [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/parser/expression.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 67 | let args = parse_list( [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 76 | Ok(ExpressionNode::Call(CallNode { [INFO] [stdout] | ________^ [INFO] [stdout] 77 | | identifier, [INFO] [stdout] 78 | | args [INFO] [stdout] 79 | | })) [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/parser/expression.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | |s| parse_expression(s) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/expression.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 83 | let arg = Box::new(parse_expression_priority(stream)?); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 84 | Ok(ExpressionNode::Unary(UnaryNode{ arg, op })) [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/parser/expression.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 90 | original: ExpressionNode [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 91 | ) -> ExpressionResult { [INFO] [stdout] 92 | let right = parse_expression_priority(stream)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 93 | [INFO] [stdout] 94 | Ok(ExpressionNode::Binary(BinaryNode{ [INFO] [stdout] | ________^ [INFO] [stdout] 95 | | left: Box::new(original), [INFO] [stdout] 96 | | right: Box::new(right), [INFO] [stdout] 97 | | op [INFO] [stdout] 98 | | })) [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/parser/expression.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 104 | original: ExpressionNode [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 105 | ) -> ExpressionResult { [INFO] [stdout] 106 | let right = parse_expression(stream)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 107 | [INFO] [stdout] 108 | Ok(ExpressionNode::Assignment(AssignmentNode{ [INFO] [stdout] | ________^ [INFO] [stdout] 109 | | left: Box::new(original), [INFO] [stdout] 110 | | right: Box::new(right), [INFO] [stdout] 111 | | op [INFO] [stdout] 112 | | })) [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/parser/expression.rs:125:8 [INFO] [stdout] | [INFO] [stdout] 117 | original: Option, [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 120 | let (arg, is_prefix) = match original { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 121 | Some(arg) => (arg, false), [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 125 | Ok(ExpressionNode::Increment(IncrementNode{ [INFO] [stdout] | ________^ [INFO] [stdout] 126 | | op, [INFO] [stdout] 127 | | is_prefix, [INFO] [stdout] 128 | | arg: Box::new(arg) [INFO] [stdout] 129 | | })) [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/parser/expression.rs:138:8 [INFO] [stdout] | [INFO] [stdout] 134 | let expr = Box::new(parse_expression(stream)?); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 138 | Ok(ExpressionNode::Paren(expr)) [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/parser/expression.rs:150:8 [INFO] [stdout] | [INFO] [stdout] 143 | originial: ExpressionNode [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 146 | let action = parse_expression(stream)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 147 | parse_kind(stream, Colon)?; [INFO] [stdout] 148 | let alternate = parse_expression(stream)?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 149 | [INFO] [stdout] 150 | Ok(ExpressionNode::Conditional(ConditionalNode{ [INFO] [stdout] | ________^ [INFO] [stdout] 151 | | condition: Box::new(originial), [INFO] [stdout] 152 | | action: Box::new(action), [INFO] [stdout] 153 | | alternate: Box::new(alternate) [INFO] [stdout] 154 | | })) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/expression.rs:165:8 [INFO] [stdout] | [INFO] [stdout] 159 | original: ExpressionNode [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 162 | let index = parse_expression(stream)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 165 | Ok(ExpressionNode::ArrayAccess(ArrayAccessNode{ [INFO] [stdout] | ________^ [INFO] [stdout] 166 | | argument: Box::new(original), [INFO] [stdout] 167 | | index: Box::new(index) [INFO] [stdout] 168 | | })) [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/parser/expression.rs:179:8 [INFO] [stdout] | [INFO] [stdout] 173 | original: ExpressionNode [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 179 | Ok(ExpressionNode::MemberAccess(MemberAccessNode{ [INFO] [stdout] | ________^ [INFO] [stdout] 180 | | argument: Box::new(original), [INFO] [stdout] 181 | | member [INFO] [stdout] 182 | | })) [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/expression.rs:196:8 [INFO] [stdout] | [INFO] [stdout] 188 | let vec = parse_list( [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 196 | Ok(ExpressionNode::ArrayLiteral(vec)) [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/parser/statement.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 6 | let mut statements = vec![]; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 19 | Ok(StatementNode::Block(BlockNode { [INFO] [stdout] | ________^ [INFO] [stdout] 20 | | statements, [INFO] [stdout] 21 | | range: Range::new(left.range.start, right.range.end) [INFO] [stdout] 22 | | })) [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/statement.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 45 | let expression = parse_expression(stream)?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 46 | _ = parse_semicolon(stream); [INFO] [stdout] 47 | Ok(StatementNode::Expression(Box::new(expression))) [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/parser/statement.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 78 | let expression = parse_conditional(stream, Equal) [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 84 | Ok(StatementNode::VarDeclaration(VarDeclarationNode{ [INFO] [stdout] | ________^ [INFO] [stdout] 85 | | keyword, [INFO] [stdout] 86 | | value: Box::new(value), [INFO] [stdout] 87 | | expression, [INFO] [stdout] 88 | | is_const [INFO] [stdout] 89 | | })) [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/parser/statement.rs:107:8 [INFO] [stdout] | [INFO] [stdout] 96 | let condition = Box::new(parse_expression(stream)?); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 97 | parse_kind(stream, RightParen)?; [INFO] [stdout] 98 | let action = Box::new(parse_statement(stream)?); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 99 | stream.queue_cursor_element(CompletionElement::Identifier(stream.parsing_const)); [INFO] [stdout] 100 | let alternate = match parse_conditional(stream, Else) { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 107 | Ok(StatementNode::If(IfNode { [INFO] [stdout] | ________^ [INFO] [stdout] 108 | | keyword, [INFO] [stdout] 109 | | condition, [INFO] [stdout] 110 | | action, [INFO] [stdout] 111 | | alternate [INFO] [stdout] 112 | | })) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/statement.rs:122:8 [INFO] [stdout] | [INFO] [stdout] 118 | let condition = Box::new(parse_expression(stream)?); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 119 | parse_kind(stream, RightParen)?; [INFO] [stdout] 120 | let action = Box::new(parse_statement(stream)?); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 121 | [INFO] [stdout] 122 | Ok(StatementNode::While(WhileNode { [INFO] [stdout] | ________^ [INFO] [stdout] 123 | | keyword, [INFO] [stdout] 124 | | condition, [INFO] [stdout] 125 | | action [INFO] [stdout] 126 | | })) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/statement.rs:145:8 [INFO] [stdout] | [INFO] [stdout] 132 | let initializer = Box::new(parse_statement(stream)?); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 133 | let condition = Box::new(parse_expression(stream)?); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 134 | _ = parse_semicolon(stream); [INFO] [stdout] 135 | let update = Box::new(parse_expression(stream)?); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 136 | parse_kind(stream, RightParen)?; [INFO] [stdout] 137 | let mut action = parse_statement(stream)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 145 | Ok(StatementNode::For(ForNode { [INFO] [stdout] | ________^ [INFO] [stdout] 146 | | keyword, [INFO] [stdout] 147 | | initializer, [INFO] [stdout] 148 | | condition, [INFO] [stdout] 149 | | update, [INFO] [stdout] 150 | | action: Box::new(action) [INFO] [stdout] 151 | | })) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/statement.rs:167:8 [INFO] [stdout] | [INFO] [stdout] 158 | let condition = Box::new(parse_expression(stream)?); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 161 | let mut cases = vec![]; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 167 | Ok(StatementNode::Switch(SwitchNode{ [INFO] [stdout] | ________^ [INFO] [stdout] 168 | | keyword, [INFO] [stdout] 169 | | condition, [INFO] [stdout] 170 | | cases [INFO] [stdout] 171 | | })) [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/parser/statement.rs:190:8 [INFO] [stdout] | [INFO] [stdout] 185 | let mut statements = vec![]; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 190 | Ok(SwitchCaseNode{ [INFO] [stdout] | ________^ [INFO] [stdout] 191 | | keyword, [INFO] [stdout] 192 | | statements [INFO] [stdout] 193 | | }) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/statement.rs:203:8 [INFO] [stdout] | [INFO] [stdout] 198 | let expression = match stream.current()?.kind { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 203 | Ok(StatementNode::Return(ReturnNode{ [INFO] [stdout] | ________^ [INFO] [stdout] 204 | | keyword, [INFO] [stdout] 205 | | expression [INFO] [stdout] 206 | | })) [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: aborting due to 23 previous errors; 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `gdshader-lsp` (lib test) due to 24 previous errors; 14 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0be2f5399acf448e733174cd4f8e5286e7f186ee918eec102a747a84262c0449", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0be2f5399acf448e733174cd4f8e5286e7f186ee918eec102a747a84262c0449", kill_on_drop: false }` [INFO] [stdout] 0be2f5399acf448e733174cd4f8e5286e7f186ee918eec102a747a84262c0449