[INFO] cloning repository https://github.com/LiamMesarec/cpplang [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LiamMesarec/cpplang" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLiamMesarec%2Fcpplang", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLiamMesarec%2Fcpplang'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 433f42907fc31c691c463146e488ac254ca1ddc3 [INFO] checking LiamMesarec/cpplang/433f42907fc31c691c463146e488ac254ca1ddc3 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%2FLiamMesarec%2Fcpplang" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LiamMesarec/cpplang 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/LiamMesarec/cpplang [INFO] finished tweaking git repo https://github.com/LiamMesarec/cpplang [INFO] tweaked toml for git repo https://github.com/LiamMesarec/cpplang written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/LiamMesarec/cpplang 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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 9d453421aee5f090c3f0205b487df21218416107e917194009fa0b0e449034f8 [INFO] running `Command { std: "docker" "start" "-a" "9d453421aee5f090c3f0205b487df21218416107e917194009fa0b0e449034f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9d453421aee5f090c3f0205b487df21218416107e917194009fa0b0e449034f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d453421aee5f090c3f0205b487df21218416107e917194009fa0b0e449034f8", kill_on_drop: false }` [INFO] [stdout] 9d453421aee5f090c3f0205b487df21218416107e917194009fa0b0e449034f8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] f081ceee102c1a1c09bca4b4f6836d4a52414f0b6bd916c8882dd2dc6aab9702 [INFO] running `Command { std: "docker" "start" "-a" "f081ceee102c1a1c09bca4b4f6836d4a52414f0b6bd916c8882dd2dc6aab9702", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling serde v1.0.198 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Compiling nom v5.1.3 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking serde v0.8.23 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking anstream v0.6.13 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking dirs-sys v0.3.7 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Checking rust-ini v0.13.0 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Checking petgraph v0.6.4 [INFO] [stderr] Checking tint v1.0.1 [INFO] [stderr] Checking directories v4.0.1 [INFO] [stderr] Checking csv-core v0.1.11 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking ordered-float v2.10.1 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking serde-hjson v0.9.1 [INFO] [stderr] Compiling serde_derive v1.0.198 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Checking clap v4.5.4 [INFO] [stderr] Checking toml_datetime v0.6.6 [INFO] [stderr] Checking toml v0.5.11 [INFO] [stderr] Checking serde_spanned v0.6.6 [INFO] [stderr] Checking serde-value v0.7.0 [INFO] [stderr] Checking csv v1.3.0 [INFO] [stderr] Checking toml_edit v0.22.14 [INFO] [stderr] Checking config v0.11.0 [INFO] [stderr] Checking ptree v0.4.0 [INFO] [stderr] Checking toml v0.8.14 [INFO] [stderr] Checking rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `type_annotation_expression` [INFO] [stdout] --> src/evaluator/cpptranspiler.rs:378:9 [INFO] [stdout] | [INFO] [stdout] 378 | type_annotation_expression: &ASTTypeAnnotationExpression, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_annotation_expression` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_annotation_expression` [INFO] [stdout] --> src/evaluator/cpptranspiler.rs:378:9 [INFO] [stdout] | [INFO] [stdout] 378 | type_annotation_expression: &ASTTypeAnnotationExpression, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_annotation_expression` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `boolean` [INFO] [stdout] --> src/evaluator/interpreter.rs:207:44 [INFO] [stdout] | [INFO] [stdout] 207 | fn visit_boolean_expression(&mut self, boolean: &ASTBooleanExpression) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_boolean` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `boolean` [INFO] [stdout] --> src/evaluator/interpreter.rs:207:44 [INFO] [stdout] | [INFO] [stdout] 207 | fn visit_boolean_expression(&mut self, boolean: &ASTBooleanExpression) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_boolean` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_annotation_expression` [INFO] [stdout] --> src/evaluator/interpreter.rs:357:9 [INFO] [stdout] | [INFO] [stdout] 357 | type_annotation_expression: &ASTTypeAnnotationExpression, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_annotation_expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_annotation_expression` [INFO] [stdout] --> src/evaluator/interpreter.rs:357:9 [INFO] [stdout] | [INFO] [stdout] 357 | type_annotation_expression: &ASTTypeAnnotationExpression, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_annotation_expression` [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/mod.rs:124:19 [INFO] [stdout] | [INFO] [stdout] 115 | type_annotation: Option, [INFO] [stdout] | -------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 116 | iterable: ASTExpression, [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 117 | body: ASTStatement, [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 124 | body: Box::new(body), [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/mod.rs:143:29 [INFO] [stdout] | [INFO] [stdout] 140 | pub fn new(else_keyword: TokenInfo, else_statement: ASTStatement) -> Self { [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 143 | else_statement: Box::new(else_statement), [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/mod.rs:174:27 [INFO] [stdout] | [INFO] [stdout] 173 | pub fn expression(expr: ASTExpression) -> Self { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 174 | ASTStatement::new(ASTStatementKind::Expression(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/parser/mod.rs:183:27 [INFO] [stdout] | [INFO] [stdout] 179 | type_annotation: Option, [INFO] [stdout] | -------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 180 | is_mut: bool, [INFO] [stdout] 181 | initializer: ASTExpression, [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 182 | ) -> Self { [INFO] [stdout] 183 | ASTStatement::new(ASTStatementKind::Let(ASTLetStatement { [INFO] [stdout] | ___________________________^ [INFO] [stdout] 184 | | identifier, [INFO] [stdout] 185 | | type_annotation, [INFO] [stdout] 186 | | is_mut, [INFO] [stdout] 187 | | initializer, [INFO] [stdout] 188 | | })) [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/mod.rs:198:27 [INFO] [stdout] | [INFO] [stdout] 194 | type_annotation: Option, [INFO] [stdout] | -------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 195 | iterable: ASTExpression, [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 196 | body: ASTStatement, [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 197 | ) -> Self { [INFO] [stdout] 198 | ASTStatement::new(ASTStatementKind::For(ASTForStatement::new( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 199 | | for_keyword, [INFO] [stdout] 200 | | identifier, [INFO] [stdout] 201 | | type_annotation, [INFO] [stdout] 202 | | iterable, [INFO] [stdout] 203 | | body, [INFO] [stdout] 204 | | ))) [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/mod.rs:213:27 [INFO] [stdout] | [INFO] [stdout] 209 | condition: ASTExpression, [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 210 | then: ASTStatement, [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 211 | else_statement: Option, [INFO] [stdout] | ---------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 212 | ) -> Self { [INFO] [stdout] 213 | ASTStatement::new(ASTStatementKind::If(ASTIfStatement { [INFO] [stdout] | ___________________________^ [INFO] [stdout] 214 | | if_keyword, [INFO] [stdout] 215 | | condition, [INFO] [stdout] 216 | | then_branch: Box::new(then), [INFO] [stdout] 217 | | else_branch: else_statement, [INFO] [stdout] 218 | | })) [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/mod.rs:222:27 [INFO] [stdout] | [INFO] [stdout] 221 | pub fn block_statement(statements: Vec) -> Self { [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 222 | ASTStatement::new(ASTStatementKind::Block(ASTBlockStatement { statements })) [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/mod.rs:230:27 [INFO] [stdout] | [INFO] [stdout] 227 | condition: ASTExpression, [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 228 | body: ASTStatement, [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 229 | ) -> Self { [INFO] [stdout] 230 | ASTStatement::new(ASTStatementKind::While(ASTWhileStatement { [INFO] [stdout] | ___________________________^ [INFO] [stdout] 231 | | while_keyword, [INFO] [stdout] 232 | | condition, [INFO] [stdout] 233 | | body: Box::new(body), [INFO] [stdout] 234 | | })) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/mod.rs:241:27 [INFO] [stdout] | [INFO] [stdout] 239 | return_value: Option, [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 240 | ) -> Self { [INFO] [stdout] 241 | ASTStatement::new(ASTStatementKind::Return(ASTReturnStatement { [INFO] [stdout] | ___________________________^ [INFO] [stdout] 242 | | return_keyword, [INFO] [stdout] 243 | | return_value, [INFO] [stdout] 244 | | })) [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/mod.rs:253:27 [INFO] [stdout] | [INFO] [stdout] 249 | parameters: Vec, [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 250 | type_annotation: Option, [INFO] [stdout] | -------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 251 | body: ASTStatement, [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 252 | ) -> Self { [INFO] [stdout] 253 | ASTStatement::new(ASTStatementKind::FuncDecl(ASTFuncDeclStatement { [INFO] [stdout] | ___________________________^ [INFO] [stdout] 254 | | identifier, [INFO] [stdout] 255 | | parameters, [INFO] [stdout] 256 | | type_annotation, [INFO] [stdout] 257 | | body: Box::new(body), [INFO] [stdout] 258 | | })) [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/mod.rs:434:19 [INFO] [stdout] | [INFO] [stdout] 432 | pub fn range(start: Box, end: Box) -> Self { [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] 433 | Self { [INFO] [stdout] 434 | kind: ASTExpressionKind::Range(ASTRangeExpression { start, end }), [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/mod.rs:441:28 [INFO] [stdout] | [INFO] [stdout] 440 | pub fn binary(operator: ASTBinaryOperator, left: ASTExpression, right: ASTExpression) -> Self { [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] 441 | ASTExpression::new(ASTExpressionKind::Binary(ASTBinaryExpression { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 442 | | left: Box::new(left), [INFO] [stdout] 443 | | operator, [INFO] [stdout] 444 | | right: Box::new(right), [INFO] [stdout] 445 | | })) [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/mod.rs:448:28 [INFO] [stdout] | [INFO] [stdout] 447 | pub fn parenthesized(expression: ASTExpression) -> Self { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 448 | ASTExpression::new(ASTExpressionKind::Parenthesized( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 449 | | ASTParenthesizedExpression { [INFO] [stdout] 450 | | expression: Box::new(expression), [INFO] [stdout] 451 | | }, [INFO] [stdout] 452 | | )) [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/mod.rs:460:28 [INFO] [stdout] | [INFO] [stdout] 459 | pub fn unary(operator: ASTUnaryOperator, operand: ASTExpression) -> Self { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 460 | ASTExpression::new(ASTExpressionKind::Unary(ASTUnaryExpression { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 461 | | operator, [INFO] [stdout] 462 | | operand: Box::new(operand), [INFO] [stdout] 463 | | })) [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/mod.rs:467:28 [INFO] [stdout] | [INFO] [stdout] 466 | pub fn assignment(identifier: TokenInfo, expression: ASTExpression) -> Self { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 467 | ASTExpression::new(ASTExpressionKind::Assignment(ASTAssignmentExpression { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 468 | | identifier, [INFO] [stdout] 469 | | expression: Box::new(expression), [INFO] [stdout] 470 | | })) [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/mod.rs:478:28 [INFO] [stdout] | [INFO] [stdout] 475 | index_expression: ASTExpression, [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 476 | expression: ASTExpression, [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 477 | ) -> Self { [INFO] [stdout] 478 | ASTExpression::new(ASTExpressionKind::ArrayAssignment( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 479 | | ASTArrayAssignmentExpression { [INFO] [stdout] 480 | | identifier, [INFO] [stdout] 481 | | index_expression: Box::new(index_expression), [INFO] [stdout] 482 | | expression: Box::new(expression), [INFO] [stdout] 483 | | }, [INFO] [stdout] 484 | | )) [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/mod.rs:499:28 [INFO] [stdout] | [INFO] [stdout] 498 | pub fn call(identifier: TokenInfo, arguments: Vec) -> Self { [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 499 | ASTExpression::new(ASTExpressionKind::Call(ASTCallExpression { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 500 | | identifier, [INFO] [stdout] 501 | | arguments, [INFO] [stdout] 502 | | })) [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/mod.rs:511:28 [INFO] [stdout] | [INFO] [stdout] 509 | arguments: Vec, [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 510 | ) -> Self { [INFO] [stdout] 511 | ASTExpression::new(ASTExpressionKind::StdCall(ASTStdCallExpression { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 512 | | std_keyword, [INFO] [stdout] 513 | | double_colon, [INFO] [stdout] 514 | | identifier, [INFO] [stdout] 515 | | arguments, [INFO] [stdout] 516 | | })) [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/mod.rs:521:19 [INFO] [stdout] | [INFO] [stdout] 519 | pub fn array(elements: Vec) -> Self { [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 520 | ASTExpression { [INFO] [stdout] 521 | kind: ASTExpressionKind::Array(ASTArrayExpression { elements }), [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/mod.rs:527:19 [INFO] [stdout] | [INFO] [stdout] 525 | pub fn array_index(array: Box, index: Box) -> Self { [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] 526 | ASTExpression { [INFO] [stdout] 527 | kind: ASTExpressionKind::ArrayIndex(ASTArrayIndexExpression { array, index }), [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/parser.rs:69:49 [INFO] [stdout] | [INFO] [stdout] 68 | let value = self.parse_expression(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 69 | ASTStatement::return_statement(keyword, Some(value)) [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/mod.rs:124:19 [INFO] [stdout] | [INFO] [stdout] 115 | type_annotation: Option, [INFO] [stdout] | -------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 116 | iterable: ASTExpression, [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 117 | body: ASTStatement, [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 124 | body: Box::new(body), [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/parser.rs:319:36 [INFO] [stdout] | [INFO] [stdout] 315 | fn parse_array_index_expression(&mut self, array: ASTExpression) -> ASTExpression { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 316 | self.consume_and_check(Token::LeftSquareBracket); [INFO] [stdout] 317 | let index = self.parse_expression(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 318 | self.consume_and_check(Token::RightSquareBracket); [INFO] [stdout] 319 | ASTExpression::array_index(Box::new(array), Box::new(index)) [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/mod.rs:143:29 [INFO] [stdout] | [INFO] [stdout] 140 | pub fn new(else_keyword: TokenInfo, else_statement: ASTStatement) -> Self { [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 143 | else_statement: Box::new(else_statement), [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/parser.rs:319:53 [INFO] [stdout] | [INFO] [stdout] 315 | fn parse_array_index_expression(&mut self, array: ASTExpression) -> ASTExpression { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 316 | self.consume_and_check(Token::LeftSquareBracket); [INFO] [stdout] 317 | let index = self.parse_expression(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 318 | self.consume_and_check(Token::RightSquareBracket); [INFO] [stdout] 319 | ASTExpression::array_index(Box::new(array), Box::new(index)) [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/mod.rs:174:27 [INFO] [stdout] | [INFO] [stdout] 173 | pub fn expression(expr: ASTExpression) -> Self { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 174 | ASTStatement::new(ASTStatementKind::Expression(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/parser/mod.rs:183:27 [INFO] [stdout] | [INFO] [stdout] 179 | type_annotation: Option, [INFO] [stdout] | -------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 180 | is_mut: bool, [INFO] [stdout] 181 | initializer: ASTExpression, [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 182 | ) -> Self { [INFO] [stdout] 183 | ASTStatement::new(ASTStatementKind::Let(ASTLetStatement { [INFO] [stdout] | ___________________________^ [INFO] [stdout] 184 | | identifier, [INFO] [stdout] 185 | | type_annotation, [INFO] [stdout] 186 | | is_mut, [INFO] [stdout] 187 | | initializer, [INFO] [stdout] 188 | | })) [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/mod.rs:198:27 [INFO] [stdout] | [INFO] [stdout] 194 | type_annotation: Option, [INFO] [stdout] | -------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 195 | iterable: ASTExpression, [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 196 | body: ASTStatement, [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 197 | ) -> Self { [INFO] [stdout] 198 | ASTStatement::new(ASTStatementKind::For(ASTForStatement::new( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 199 | | for_keyword, [INFO] [stdout] 200 | | identifier, [INFO] [stdout] 201 | | type_annotation, [INFO] [stdout] 202 | | iterable, [INFO] [stdout] 203 | | body, [INFO] [stdout] 204 | | ))) [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/mod.rs:213:27 [INFO] [stdout] | [INFO] [stdout] 209 | condition: ASTExpression, [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 210 | then: ASTStatement, [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 211 | else_statement: Option, [INFO] [stdout] | ---------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 212 | ) -> Self { [INFO] [stdout] 213 | ASTStatement::new(ASTStatementKind::If(ASTIfStatement { [INFO] [stdout] | ___________________________^ [INFO] [stdout] 214 | | if_keyword, [INFO] [stdout] 215 | | condition, [INFO] [stdout] 216 | | then_branch: Box::new(then), [INFO] [stdout] 217 | | else_branch: else_statement, [INFO] [stdout] 218 | | })) [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/mod.rs:222:27 [INFO] [stdout] | [INFO] [stdout] 221 | pub fn block_statement(statements: Vec) -> Self { [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 222 | ASTStatement::new(ASTStatementKind::Block(ASTBlockStatement { statements })) [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/mod.rs:230:27 [INFO] [stdout] | [INFO] [stdout] 227 | condition: ASTExpression, [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 228 | body: ASTStatement, [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 229 | ) -> Self { [INFO] [stdout] 230 | ASTStatement::new(ASTStatementKind::While(ASTWhileStatement { [INFO] [stdout] | ___________________________^ [INFO] [stdout] 231 | | while_keyword, [INFO] [stdout] 232 | | condition, [INFO] [stdout] 233 | | body: Box::new(body), [INFO] [stdout] 234 | | })) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/mod.rs:241:27 [INFO] [stdout] | [INFO] [stdout] 239 | return_value: Option, [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 240 | ) -> Self { [INFO] [stdout] 241 | ASTStatement::new(ASTStatementKind::Return(ASTReturnStatement { [INFO] [stdout] | ___________________________^ [INFO] [stdout] 242 | | return_keyword, [INFO] [stdout] 243 | | return_value, [INFO] [stdout] 244 | | })) [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/mod.rs:253:27 [INFO] [stdout] | [INFO] [stdout] 249 | parameters: Vec, [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 250 | type_annotation: Option, [INFO] [stdout] | -------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 251 | body: ASTStatement, [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 252 | ) -> Self { [INFO] [stdout] 253 | ASTStatement::new(ASTStatementKind::FuncDecl(ASTFuncDeclStatement { [INFO] [stdout] | ___________________________^ [INFO] [stdout] 254 | | identifier, [INFO] [stdout] 255 | | parameters, [INFO] [stdout] 256 | | type_annotation, [INFO] [stdout] 257 | | body: Box::new(body), [INFO] [stdout] 258 | | })) [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/mod.rs:434:19 [INFO] [stdout] | [INFO] [stdout] 432 | pub fn range(start: Box, end: Box) -> Self { [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] 433 | Self { [INFO] [stdout] 434 | kind: ASTExpressionKind::Range(ASTRangeExpression { start, end }), [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/mod.rs:441:28 [INFO] [stdout] | [INFO] [stdout] 440 | pub fn binary(operator: ASTBinaryOperator, left: ASTExpression, right: ASTExpression) -> Self { [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] 441 | ASTExpression::new(ASTExpressionKind::Binary(ASTBinaryExpression { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 442 | | left: Box::new(left), [INFO] [stdout] 443 | | operator, [INFO] [stdout] 444 | | right: Box::new(right), [INFO] [stdout] 445 | | })) [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/mod.rs:448:28 [INFO] [stdout] | [INFO] [stdout] 447 | pub fn parenthesized(expression: ASTExpression) -> Self { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 448 | ASTExpression::new(ASTExpressionKind::Parenthesized( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 449 | | ASTParenthesizedExpression { [INFO] [stdout] 450 | | expression: Box::new(expression), [INFO] [stdout] 451 | | }, [INFO] [stdout] 452 | | )) [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/mod.rs:460:28 [INFO] [stdout] | [INFO] [stdout] 459 | pub fn unary(operator: ASTUnaryOperator, operand: ASTExpression) -> Self { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 460 | ASTExpression::new(ASTExpressionKind::Unary(ASTUnaryExpression { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 461 | | operator, [INFO] [stdout] 462 | | operand: Box::new(operand), [INFO] [stdout] 463 | | })) [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/mod.rs:467:28 [INFO] [stdout] | [INFO] [stdout] 466 | pub fn assignment(identifier: TokenInfo, expression: ASTExpression) -> Self { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 467 | ASTExpression::new(ASTExpressionKind::Assignment(ASTAssignmentExpression { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 468 | | identifier, [INFO] [stdout] 469 | | expression: Box::new(expression), [INFO] [stdout] 470 | | })) [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/mod.rs:478:28 [INFO] [stdout] | [INFO] [stdout] 475 | index_expression: ASTExpression, [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 476 | expression: ASTExpression, [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 477 | ) -> Self { [INFO] [stdout] 478 | ASTExpression::new(ASTExpressionKind::ArrayAssignment( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 479 | | ASTArrayAssignmentExpression { [INFO] [stdout] 480 | | identifier, [INFO] [stdout] 481 | | index_expression: Box::new(index_expression), [INFO] [stdout] 482 | | expression: Box::new(expression), [INFO] [stdout] 483 | | }, [INFO] [stdout] 484 | | )) [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/mod.rs:499:28 [INFO] [stdout] | [INFO] [stdout] 498 | pub fn call(identifier: TokenInfo, arguments: Vec) -> Self { [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 499 | ASTExpression::new(ASTExpressionKind::Call(ASTCallExpression { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 500 | | identifier, [INFO] [stdout] 501 | | arguments, [INFO] [stdout] 502 | | })) [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/mod.rs:511:28 [INFO] [stdout] | [INFO] [stdout] 509 | arguments: Vec, [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 510 | ) -> Self { [INFO] [stdout] 511 | ASTExpression::new(ASTExpressionKind::StdCall(ASTStdCallExpression { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 512 | | std_keyword, [INFO] [stdout] 513 | | double_colon, [INFO] [stdout] 514 | | identifier, [INFO] [stdout] 515 | | arguments, [INFO] [stdout] 516 | | })) [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/mod.rs:521:19 [INFO] [stdout] | [INFO] [stdout] 519 | pub fn array(elements: Vec) -> Self { [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 520 | ASTExpression { [INFO] [stdout] 521 | kind: ASTExpressionKind::Array(ASTArrayExpression { elements }), [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/mod.rs:527:19 [INFO] [stdout] | [INFO] [stdout] 525 | pub fn array_index(array: Box, index: Box) -> Self { [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] 526 | ASTExpression { [INFO] [stdout] 527 | kind: ASTExpressionKind::ArrayIndex(ASTArrayIndexExpression { array, index }), [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/parser.rs:69:49 [INFO] [stdout] | [INFO] [stdout] 68 | let value = self.parse_expression(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 69 | ASTStatement::return_statement(keyword, Some(value)) [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/parser.rs:319:36 [INFO] [stdout] | [INFO] [stdout] 315 | fn parse_array_index_expression(&mut self, array: ASTExpression) -> ASTExpression { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 316 | self.consume_and_check(Token::LeftSquareBracket); [INFO] [stdout] 317 | let index = self.parse_expression(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 318 | self.consume_and_check(Token::RightSquareBracket); [INFO] [stdout] 319 | ASTExpression::array_index(Box::new(array), Box::new(index)) [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/parser.rs:319:53 [INFO] [stdout] | [INFO] [stdout] 315 | fn parse_array_index_expression(&mut self, array: ASTExpression) -> ASTExpression { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 316 | self.consume_and_check(Token::LeftSquareBracket); [INFO] [stdout] 317 | let index = self.parse_expression(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 318 | self.consume_and_check(Token::RightSquareBracket); [INFO] [stdout] 319 | ASTExpression::array_index(Box::new(array), Box::new(index)) [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; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 23 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust` (lib) due to 24 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rust` (lib test) due to 24 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f081ceee102c1a1c09bca4b4f6836d4a52414f0b6bd916c8882dd2dc6aab9702", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f081ceee102c1a1c09bca4b4f6836d4a52414f0b6bd916c8882dd2dc6aab9702", kill_on_drop: false }` [INFO] [stdout] f081ceee102c1a1c09bca4b4f6836d4a52414f0b6bd916c8882dd2dc6aab9702