[INFO] fetching crate stylua 0.20.0... [INFO] checking stylua-0.20.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate stylua 0.20.0 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate stylua 0.20.0 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] removed /workspace/builds/worker-4-tc2/source/.cargo/config.toml [INFO] started tweaking crates.io crate stylua 0.20.0 [INFO] finished tweaking crates.io crate stylua 0.20.0 [INFO] tweaked toml for crates.io crate stylua 0.20.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate crates.io crate stylua 0.20.0 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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] edf59b728fc0059a404911e686ddc40663649785ebcb42c5ee9f094af0a77ac2 [INFO] running `Command { std: "docker" "start" "-a" "edf59b728fc0059a404911e686ddc40663649785ebcb42c5ee9f094af0a77ac2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "edf59b728fc0059a404911e686ddc40663649785ebcb42c5ee9f094af0a77ac2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "edf59b728fc0059a404911e686ddc40663649785ebcb42c5ee9f094af0a77ac2", kill_on_drop: false }` [INFO] [stdout] edf59b728fc0059a404911e686ddc40663649785ebcb42c5ee9f094af0a77ac2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] f001be93316e3bb8e139687b5ee7784445c1d2151323b40c9835e964a8aa7ad1 [INFO] running `Command { std: "docker" "start" "-a" "f001be93316e3bb8e139687b5ee7784445c1d2151323b40c9835e964a8aa7ad1", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.63 [INFO] [stderr] Compiling unicode-ident v1.0.8 [INFO] [stderr] Compiling quote v1.0.29 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking memchr v2.6.3 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.7 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Checking regex-automata v0.3.9 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking aho-corasick v1.0.5 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking once_cell v1.9.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling syn v2.0.32 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Checking bstr v1.6.2 [INFO] [stderr] Checking crossbeam-channel v0.5.8 [INFO] [stderr] Checking hashbrown v0.14.0 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Compiling paste v1.0.12 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Checking equivalent v1.0.0 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking indexmap v2.0.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking os_str_bytes v6.0.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking winnow v0.5.0 [INFO] [stderr] Checking predicates-core v1.0.6 [INFO] [stderr] Compiling thiserror v1.0.49 [INFO] [stderr] Compiling rustix v0.38.21 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking console v0.15.7 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Checking bytecount v0.6.3 [INFO] [stderr] Checking termtree v0.2.4 [INFO] [stderr] Checking linux-raw-sys v0.4.11 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling thiserror-impl v1.0.49 [INFO] [stderr] Checking half v1.7.1 [INFO] [stderr] Checking ciborium-io v0.2.0 [INFO] [stderr] Checking plotters-backend v0.3.2 [INFO] [stderr] Checking bitflags v2.4.0 [INFO] [stderr] Checking anstyle v1.0.3 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Checking plotters-svg v0.3.1 [INFO] [stderr] Checking ciborium-ll v0.2.0 [INFO] [stderr] Checking predicates-tree v1.0.5 [INFO] [stderr] Checking globset v0.4.13 [INFO] [stderr] Checking predicates v3.0.4 [INFO] [stderr] Checking ignore v0.4.20 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking itertools v0.10.1 [INFO] [stderr] Checking env_logger v0.10.0 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking fastrand v2.0.0 [INFO] [stderr] Checking ec4rs v1.0.2 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking globwalk v0.8.1 [INFO] [stderr] Checking tempfile v3.8.0 [INFO] [stderr] Checking plotters v0.3.1 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking assert_cmd v2.0.12 [INFO] [stderr] Checking assert_fs v1.0.13 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Compiling clap_derive v3.1.4 [INFO] [stderr] Compiling logos-derive v0.12.1 [INFO] [stderr] Compiling full_moon_derive v0.11.0 [INFO] [stderr] Compiling derive_more v0.99.16 [INFO] [stderr] Checking logos v0.12.1 [INFO] [stderr] Checking clap v3.1.6 [INFO] [stderr] Checking serde_spanned v0.6.3 [INFO] [stderr] Checking toml_datetime v0.6.3 [INFO] [stderr] Checking similar v2.3.0 [INFO] [stderr] Checking smol_str v0.1.24 [INFO] [stderr] Checking ciborium v0.2.0 [INFO] [stderr] Checking toml_edit v0.20.1 [INFO] [stderr] Checking full_moon v0.19.0 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.4.0 [INFO] [stderr] Checking insta v1.34.0 [INFO] [stderr] Checking toml v0.8.1 [INFO] [stderr] Checking stylua v0.20.0 (/opt/rustwide/workdir) [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/formatters/mod.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn format(&self, ast: Ast) -> Ast { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 37 | let shape = Shape::new(&self.context); [INFO] [stdout] 38 | let new_block = format_block(&self.context, ast.nodes(), shape); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | let new_eof = format_eof(&self.context, ast.eof(), shape); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 40 | [INFO] [stdout] 41 | ast.with_nodes(new_block).with_eof(new_eof) [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/formatters/assignment.rs:121:40 [INFO] [stdout] | [INFO] [stdout] 106 | let mut equal_token_trailing_trivia = vec![create_newline_trivia(ctx)]; [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 114 | let equal_token_trailing_trivia = equal_token [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 121 | equal_token.update_trailing_trivia(FormatTriviaType::Replace(equal_token_trailing_trivia)) [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/formatters/assignment.rs:376:5 [INFO] [stdout] | [INFO] [stdout] 335 | let mut var_list = try_format_punctuated( [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 342 | let mut equal_token = fmt_symbol!(ctx, assignment.equal_token(), " = ", shape); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 343 | let mut expr_list = format_punctuated( [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 376 | Assignment::new(var_list, expr_list).with_equal_token(equal_token) [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/formatters/assignment.rs:383:5 [INFO] [stdout] | [INFO] [stdout] 380 | let leading_trivia = vec![create_indent_trivia(ctx, shape)]; [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 381 | let trailing_trivia = vec![create_newline_trivia(ctx)]; [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 382 | [INFO] [stdout] 383 | format_assignment_no_trivia(ctx, assignment, shape).update_trivia( [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/formatters/assignment.rs:384:9 [INFO] [stdout] | [INFO] [stdout] 380 | let leading_trivia = vec![create_indent_trivia(ctx, shape)]; [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 381 | let trailing_trivia = vec![create_newline_trivia(ctx)]; [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 384 | FormatTriviaType::Append(leading_trivia), [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/formatters/assignment.rs:385:9 [INFO] [stdout] | [INFO] [stdout] 380 | let leading_trivia = vec![create_indent_trivia(ctx, shape)]; [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 381 | let trailing_trivia = vec![create_newline_trivia(ctx)]; [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 385 | FormatTriviaType::Append(trailing_trivia), [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/formatters/assignment.rs:422:5 [INFO] [stdout] | [INFO] [stdout] 394 | let local_token = fmt_symbol!(ctx, assignment.local_token(), "local ", shape); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 395 | let shape = shape + 6; // 6 = "local " [INFO] [stdout] 396 | let name_list = try_format_punctuated( [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 416 | let local_assignment = LocalAssignment::new(name_list); [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 422 | / local_assignment [INFO] [stdout] 423 | | .with_local_token(local_token) [INFO] [stdout] 424 | | .with_equal_token(None) [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/formatters/assignment.rs:425:27 [INFO] [stdout] | [INFO] [stdout] 394 | let local_token = fmt_symbol!(ctx, assignment.local_token(), "local ", shape); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 395 | let shape = shape + 6; // 6 = "local " [INFO] [stdout] 396 | let name_list = try_format_punctuated( [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 416 | let local_assignment = LocalAssignment::new(name_list); [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 425 | .with_expressions(Punctuated::new()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/formatters/assignment.rs:545:5 [INFO] [stdout] | [INFO] [stdout] 542 | let leading_trivia = vec![create_indent_trivia(ctx, shape)]; [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 543 | let trailing_trivia = vec![create_newline_trivia(ctx)]; [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 544 | [INFO] [stdout] 545 | format_local_assignment_no_trivia(ctx, assignment, shape).update_trivia( [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/formatters/assignment.rs:546:9 [INFO] [stdout] | [INFO] [stdout] 542 | let leading_trivia = vec![create_indent_trivia(ctx, shape)]; [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 543 | let trailing_trivia = vec![create_newline_trivia(ctx)]; [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 546 | FormatTriviaType::Append(leading_trivia), [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/formatters/assignment.rs:547:9 [INFO] [stdout] | [INFO] [stdout] 542 | let leading_trivia = vec![create_indent_trivia(ctx, shape)]; [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 543 | let trailing_trivia = vec![create_newline_trivia(ctx)]; [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 547 | FormatTriviaType::Append(trailing_trivia), [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/formatters/block.rs:169:56 [INFO] [stdout] | [INFO] [stdout] 154 | let leading_comments = leading_comments [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 167 | formatted = formatted.map(|_| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 168 | first_return_expression [INFO] [stdout] 169 | .update_leading_trivia(FormatTriviaType::Replace(leading_comments)) [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/formatters/block.rs:261:5 [INFO] [stdout] | [INFO] [stdout] 258 | let leading_trivia = FormatTriviaType::Append(vec![create_indent_trivia(ctx, shape)]); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 259 | let trailing_trivia = FormatTriviaType::Append(vec![create_newline_trivia(ctx)]); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 260 | [INFO] [stdout] 261 | format_last_stmt_no_trivia(ctx, last_stmt, shape).update_trivia(leading_trivia, trailing_trivia) [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/formatters/block.rs:608:5 [INFO] [stdout] | [INFO] [stdout] 454 | let mut formatted_statements: Vec<(Stmt, Option)> = Vec::new(); [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 455 | let mut found_first_stmt = false; [INFO] [stdout] 456 | let mut stmt_iterator = block.stmts_with_semicolon().peekable(); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 560 | let formatted_last_stmt = match block.last_stmt_with_semicolon() { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 565 | let mut last_stmt = format_last_stmt(&ctx, last_stmt, shape); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 574 | let semicolon = match semi { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 578 | let trivia = last_stmt [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 608 | / Block::new() [INFO] [stdout] 609 | | .with_stmts(formatted_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/formatters/general.rs:242:6 [INFO] [stdout] | [INFO] [stdout] 103 | let mut leading_trivia: Option> = None; [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 104 | let mut trailing_trivia: Option> = None; [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 105 | [INFO] [stdout] 106 | let token_type = match token.token_type() { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 107 | TokenType::Number { text } => { [INFO] [stdout] 108 | let text = if text.starts_with('.') { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 145 | let literal = RE [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 197 | let comment = format_single_line_comment_string(comment).into(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 242 | (Token::new(token_type), leading_trivia, trailing_trivia) [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/formatters/general.rs:632:9 [INFO] [stdout] | [INFO] [stdout] 602 | let mut formatted_leading_trivia: Vec = load_token_trivia( [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 608 | let mut formatted_trailing_trivia: Vec = load_token_trivia( [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 619 | let mut wanted_leading_trivia: Vec = wanted_symbol [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 623 | let mut wanted_trailing_trivia: Vec = wanted_symbol [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 632 | wanted_symbol.token().to_owned(), [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/formatters/general.rs:699:9 [INFO] [stdout] | [INFO] [stdout] 646 | let formatted_leading_trivia: Vec = load_token_trivia( [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 658 | let formatted_trailing_trivia: Vec = load_token_trivia( [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 670 | let mut formatted_leading_trivia = Vec::new(); [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 699 | Token::new(current_token.token_type().to_owned()), [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/formatters/expression.rs:880:5 [INFO] [stdout] | [INFO] [stdout] 874 | let function_call = format_function_call( [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 880 | VarExpression::new(function_call.prefix().clone()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/formatters/expression.rs:881:24 [INFO] [stdout] | [INFO] [stdout] 874 | let function_call = format_function_call( [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 881 | .with_suffixes(function_call.suffixes().cloned().collect()) [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/formatters/expression.rs:938:9 [INFO] [stdout] | [INFO] [stdout] 899 | fn hang_binop(ctx: &Context, binop: BinOp, shape: Shape, rhs: &Expression) -> BinOp { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 903 | let mut leading_comments = binop [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 916 | let mut trailing_comments = binop.trailing_comments(); [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 920 | let mut expression_leading_comments = rhs [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 938 | FormatTriviaType::Replace(leading_comments), [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/formatters/expression.rs:939:9 [INFO] [stdout] | [INFO] [stdout] 899 | fn hang_binop(ctx: &Context, binop: BinOp, shape: Shape, rhs: &Expression) -> BinOp { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 903 | let mut leading_comments = binop [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 916 | let mut trailing_comments = binop.trailing_comments(); [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 920 | let mut expression_leading_comments = rhs [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 939 | FormatTriviaType::Replace(vec![Token::new(TokenType::spaces(1))]), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/formatters/functions.rs:125:40 [INFO] [stdout] | [INFO] [stdout] 125 | .map_or(false, |token| token.leading_trivia().chain(token.trailing_trivia()).any(function_trivia_contains_comments)) [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/formatters/functions.rs:921:5 [INFO] [stdout] | [INFO] [stdout] 746 | let leading_trivia = vec![create_indent_trivia(ctx, shape)]; [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 787 | let (parameters_parentheses, formatted_parameters) = match multiline_params { [INFO] [stdout] | ---------------------- -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 825 | let block = if singleline_function { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 839 | let trailing_trivia = FormatTriviaType::Append(vec![Token::new(TokenType::spaces(1))]); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 840 | [INFO] [stdout] 841 | let block = if let Some(last_stmt) = function_body.block().last_stmt() { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 848 | let stmt = format_stmt_no_trivia(ctx, stmt, block_shape) [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 872 | let (parameters_parentheses, return_type) = loop { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 873 | let trailing_trivia = if singleline_function { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 903 | let mut end_token = format_end_token( [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 914 | let function_body = function_body.to_owned(); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 921 | / function_body [INFO] [stdout] 922 | | .with_parameters_parentheses(parameters_parentheses) [INFO] [stdout] 923 | | .with_parameters(formatted_parameters) [INFO] [stdout] 924 | | .with_block(block) [INFO] [stdout] | |__________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/formatters/functions.rs:1104:5 [INFO] [stdout] | [INFO] [stdout] 941 | let formatted_prefix = format_prefix(ctx, function_call.prefix(), shape); [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 950 | let mut peekable_suffixes = function_call.suffixes().peekable(); [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 973 | let mut peekable_suffixes = function_call.suffixes().peekable(); [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 995 | let formatted_suffixes: Vec<_> = function_call [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 999 | let preliminary_function_call = FunctionCall::new(formatted_prefix.to_owned()) [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1025 | let suffixes = preliminary_function_call.suffixes().enumerate(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1030 | let mut remaining_suffixes = preliminary_function_call.suffixes().skip(idx + 1); [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1048 | let mut formatted_suffixes = Vec::with_capacity(num_suffixes); [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1049 | let mut suffixes = function_call.suffixes().peekable(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1104 | FunctionCall::new(formatted_prefix).with_suffixes(formatted_suffixes) [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/formatters/functions.rs:1141:5 [INFO] [stdout] | [INFO] [stdout] 1114 | let mut formatted_names = Punctuated::new(); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1130 | let mut formatted_method: Option<(TokenReference, TokenReference)> = None; [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1141 | FunctionName::new(formatted_names).with_method(formatted_method) [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/formatters/functions.rs:1167:5 [INFO] [stdout] | [INFO] [stdout] 1151 | let leading_trivia = vec![create_indent_trivia(ctx, shape)]; [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1152 | let trailing_trivia = vec![create_newline_trivia(ctx)]; [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1153 | [INFO] [stdout] 1154 | let function_token = fmt_symbol!( [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1161 | let formatted_function_name = format_function_name(ctx, function_declaration.name(), shape); [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1164 | let function_body = format_function_body(ctx, function_declaration.body(), shape) [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1167 | / FunctionDeclaration::new(formatted_function_name) [INFO] [stdout] 1168 | | .with_function_token(function_token) [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/formatters/functions.rs:1191:5 [INFO] [stdout] | [INFO] [stdout] 1179 | let leading_trivia = vec![create_indent_trivia(ctx, shape)]; [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1180 | let trailing_trivia = vec![create_newline_trivia(ctx)]; [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1181 | [INFO] [stdout] 1182 | let local_token = fmt_symbol!(ctx, local_function.local_token(), "local ", shape) [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1183 | .update_leading_trivia(FormatTriviaType::Append(leading_trivia)); [INFO] [stdout] 1184 | let function_token = fmt_symbol!(ctx, local_function.function_token(), "function ", shape); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1185 | let formatted_name = format_token_reference(ctx, local_function.name(), shape); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1188 | let function_body = format_function_body(ctx, local_function.body(), shape) [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1191 | / LocalFunction::new(formatted_name) [INFO] [stdout] 1192 | | .with_local_token(local_token) [INFO] [stdout] 1193 | | .with_function_token(function_token) [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/formatters/functions.rs:1211:5 [INFO] [stdout] | [INFO] [stdout] 1204 | let formatted_colon_token = format_token_reference(ctx, method_call.colon_token(), shape); [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1205 | let formatted_name = format_token_reference(ctx, method_call.name(), shape); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1208 | let formatted_function_args = [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1211 | MethodCall::new(formatted_name, formatted_function_args).with_colon_token(formatted_colon_token) [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/formatters/general.rs:45:14 [INFO] [stdout] | [INFO] [stdout] 45 | &TokenReference::symbol($x).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/formatters/functions.rs:1237:32 [INFO] [stdout] | [INFO] [stdout] 1237 | .map(|punctuation| fmt_symbol!(ctx, punctuation, ", ", shape)); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `fmt_symbol` (in Nightly builds, run with -Z macro-backtrace for more info) [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/formatters/stmt.rs:55:11 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn remove_condition_parentheses(expression: Expression) -> Expression { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 55 | match expression.to_owned() { [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/formatters/stmt.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 70 | let leading_trivia = FormatTriviaType::Append(vec![create_indent_trivia(ctx, shape)]); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 71 | let trailing_trivia = FormatTriviaType::Append(vec![create_newline_trivia(ctx)]); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 72 | [INFO] [stdout] 73 | let do_token = fmt_symbol!(ctx, do_block.do_token(), "do", shape) [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 76 | let block = format_block(ctx, do_block.block(), block_shape); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 77 | let end_token = format_end_token( [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 85 | / do_block [INFO] [stdout] 86 | | .to_owned() [INFO] [stdout] 87 | | .with_do_token(do_token) [INFO] [stdout] 88 | | .with_block(block) [INFO] [stdout] | |__________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/formatters/stmt.rs:276:5 [INFO] [stdout] | [INFO] [stdout] 144 | let leading_trivia = vec![create_indent_trivia(ctx, shape)]; [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 145 | let trailing_trivia = vec![create_newline_trivia(ctx)]; [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 146 | [INFO] [stdout] 147 | let for_token = fmt_symbol!(ctx, generic_for.for_token(), "for ", shape) [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 153 | let singleline_names = [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 176 | let for_token = match require_names_multiline { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 182 | let names = match require_names_multiline { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 206 | let singleline_expr = [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 217 | let in_token = match (require_names_multiline, requires_expr_multiline) { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 233 | let expr_list = match requires_expr_multiline { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 236 | let expr_list = format_punctuated_multiline( [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 248 | let do_token = match requires_expr_multiline { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 260 | let block = format_block(ctx, generic_for.block(), block_shape); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 261 | [INFO] [stdout] 262 | let end_token = format_end_token( [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 273 | let generic_for = generic_for.to_owned(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 276 | / generic_for [INFO] [stdout] 277 | | .with_for_token(for_token) [INFO] [stdout] 278 | | .with_names(names) [INFO] [stdout] 279 | | .with_in_token(in_token) [INFO] [stdout] 280 | | .with_expressions(expr_list) [INFO] [stdout] 281 | | .with_do_token(do_token) [INFO] [stdout] 282 | | .with_block(block) [INFO] [stdout] | |__________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/formatters/stmt.rs:400:5 [INFO] [stdout] | [INFO] [stdout] 337 | let leading_trivia = vec![create_indent_trivia(ctx, shape)]; [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 338 | let trailing_trivia = vec![create_newline_trivia(ctx)]; [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 341 | let condition = remove_condition_parentheses(else_if_node.condition().to_owned()); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 351 | let elseif_token = format_end_token(ctx, else_if_node.else_if_token(), end_token_type, shape); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 352 | let singleline_condition = format_expression(ctx, &condition, shape + 7); [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 353 | let singleline_then_token = fmt_symbol!(ctx, else_if_node.then_token(), " then", shape); [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 366 | let elseif_token = match require_multiline_expression { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 375 | let condition = match require_multiline_expression { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 385 | let then_token = match require_multiline_expression { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 398 | let block = format_block(ctx, else_if_node.block(), block_shape); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 399 | [INFO] [stdout] 400 | / else_if_node [INFO] [stdout] 401 | | .to_owned() [INFO] [stdout] 402 | | .with_else_if_token(elseif_token) [INFO] [stdout] 403 | | .with_condition(condition) [INFO] [stdout] 404 | | .with_then_token(then_token) [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/formatters/stmt.rs:580:5 [INFO] [stdout] | [INFO] [stdout] 431 | let leading_trivia = vec![create_indent_trivia(ctx, shape)]; [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 432 | let trailing_trivia = vec![create_newline_trivia(ctx)]; [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 435 | let condition = remove_condition_parentheses(if_node.condition().to_owned()); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 436 | [INFO] [stdout] 437 | let singleline_if_token = fmt_symbol!(ctx, if_node.if_token(), "if ", shape); [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 438 | let singleline_condition = format_expression(ctx, &condition, shape + IF_LEN + THEN_LEN); [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 439 | let singleline_then_token = fmt_symbol!(ctx, if_node.then_token(), " then", shape); [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 507 | let if_token = match require_multiline_expression { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 514 | let condition = match require_multiline_expression { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 524 | let then_token = match require_multiline_expression { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 537 | let block = format_block(ctx, if_node.block(), block_shape); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 538 | [INFO] [stdout] 539 | let end_token = format_end_token( [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 550 | let else_if = if_node.else_if().map(|else_if| { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 557 | let (else_token, else_block) = match (if_node.else_token(), if_node.else_block()) { [INFO] [stdout] | ---------- ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 566 | let else_token = format_end_token(ctx, else_token, end_token_type, shape) [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 572 | let else_block = format_block(ctx, else_block, else_block_shape); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 580 | / if_node [INFO] [stdout] 581 | | .to_owned() [INFO] [stdout] 582 | | .with_if_token(if_token) [INFO] [stdout] 583 | | .with_condition(condition) [INFO] [stdout] ... | [INFO] [stdout] 587 | | .with_else_token(else_token) [INFO] [stdout] 588 | | .with_else(else_block) [INFO] [stdout] | |______________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/formatters/stmt.rs:641:5 [INFO] [stdout] | [INFO] [stdout] 595 | let leading_trivia = vec![create_indent_trivia(ctx, shape)]; [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 596 | let trailing_trivia = vec![create_newline_trivia(ctx)]; [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 597 | [INFO] [stdout] 598 | let for_token = fmt_symbol!(ctx, numeric_for.for_token(), "for ", shape) [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 599 | .update_leading_trivia(FormatTriviaType::Append(leading_trivia.to_owned())); [INFO] [stdout] 600 | let index_variable = format_token_reference(ctx, numeric_for.index_variable(), shape); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 608 | let equal_token = fmt_symbol!(ctx, numeric_for.equal_token(), " = ", shape); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 609 | let start = format_expression(ctx, numeric_for.start(), shape); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 610 | let start_end_comma = fmt_symbol!(ctx, numeric_for.start_end_comma(), ", ", shape); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 611 | let end = format_expression(ctx, numeric_for.end(), shape); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 612 | [INFO] [stdout] 613 | let (end_step_comma, step) = match (numeric_for.end_step_comma(), numeric_for.step()) { [INFO] [stdout] | -------------- ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 622 | let do_token = fmt_symbol!(ctx, numeric_for.do_token(), " do", shape) [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 625 | let block = format_block(ctx, numeric_for.block(), block_shape); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 626 | let end_token = format_end_token( [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 637 | let numeric_for = numeric_for.to_owned(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 641 | / numeric_for [INFO] [stdout] 642 | | .with_for_token(for_token) [INFO] [stdout] 643 | | .with_index_variable(index_variable) [INFO] [stdout] 644 | | .with_equal_token(equal_token) [INFO] [stdout] ... | [INFO] [stdout] 650 | | .with_do_token(do_token) [INFO] [stdout] 651 | | .with_block(block) [INFO] [stdout] | |__________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/formatters/stmt.rs:689:5 [INFO] [stdout] | [INFO] [stdout] 658 | let leading_trivia = vec![create_indent_trivia(ctx, shape)]; [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 659 | let trailing_trivia = vec![create_newline_trivia(ctx)]; [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 660 | [INFO] [stdout] 661 | let repeat_token = fmt_symbol!(ctx, repeat_block.repeat_token(), "repeat", shape) [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 667 | let block = format_block(ctx, repeat_block.block(), block_shape); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 668 | let until_token = fmt_symbol!(ctx, repeat_block.until_token(), "until ", shape) [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 672 | let condition = remove_condition_parentheses(repeat_block.until().to_owned()); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 680 | let until = match require_multiline_expression { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 689 | / repeat_block [INFO] [stdout] 690 | | .to_owned() [INFO] [stdout] 691 | | .with_repeat_token(repeat_token) [INFO] [stdout] 692 | | .with_block(block) [INFO] [stdout] 693 | | .with_until_token(until_token) [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/formatters/stmt.rs:764:5 [INFO] [stdout] | [INFO] [stdout] 700 | let leading_trivia = vec![create_indent_trivia(ctx, shape)]; [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 701 | let trailing_trivia = vec![create_newline_trivia(ctx)]; [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 704 | let condition = remove_condition_parentheses(while_block.condition().to_owned()); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 705 | [INFO] [stdout] 706 | let singleline_while_token = fmt_symbol!(ctx, while_block.while_token(), "while ", shape); [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 707 | let singleline_condition = format_expression(ctx, &condition, shape + 6); [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 708 | let singleline_do_token = fmt_symbol!(ctx, while_block.do_token(), " do", shape); [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 721 | let while_token = match require_multiline_expression { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 728 | let condition = match require_multiline_expression { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 738 | let do_token = match require_multiline_expression { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 751 | let block = format_block(ctx, while_block.block(), block_shape); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 752 | [INFO] [stdout] 753 | let end_token = format_end_token( [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 764 | / while_block [INFO] [stdout] 765 | | .to_owned() [INFO] [stdout] 766 | | .with_while_token(while_token) [INFO] [stdout] 767 | | .with_condition(condition) [INFO] [stdout] 768 | | .with_do_token(do_token) [INFO] [stdout] 769 | | .with_block(block) [INFO] [stdout] | |__________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/formatters/stmt.rs:785:5 [INFO] [stdout] | [INFO] [stdout] 782 | let leading_trivia = vec![create_indent_trivia(ctx, shape)]; [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 783 | let trailing_trivia = vec![create_newline_trivia(ctx)]; [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 784 | [INFO] [stdout] 785 | format_function_call(ctx, function_call, shape).update_trivia( [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/formatters/stmt.rs:786:9 [INFO] [stdout] | [INFO] [stdout] 782 | let leading_trivia = vec![create_indent_trivia(ctx, shape)]; [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 783 | let trailing_trivia = vec![create_newline_trivia(ctx)]; [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 786 | FormatTriviaType::Append(leading_trivia), [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/formatters/stmt.rs:787:9 [INFO] [stdout] | [INFO] [stdout] 782 | let leading_trivia = vec![create_indent_trivia(ctx, shape)]; [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 783 | let trailing_trivia = vec![create_newline_trivia(ctx)]; [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 787 | FormatTriviaType::Append(trailing_trivia), [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/formatters/stmt.rs:834:9 [INFO] [stdout] | [INFO] [stdout] 805 | let fields = table_constructor [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 834 | table_constructor.to_owned().with_fields(fields) [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/formatters/stmt.rs:903:9 [INFO] [stdout] | [INFO] [stdout] 868 | let prefix = match function_call.prefix() { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 876 | let suffixes = function_call [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 903 | / function_call [INFO] [stdout] 904 | | .to_owned() [INFO] [stdout] 905 | | .with_prefix(prefix) [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/formatters/table.rs:556:5 [INFO] [stdout] | [INFO] [stdout] 535 | let (braces, fields) = match table_type { [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] 536 | TableType::Empty => { [INFO] [stdout] 537 | let braces = create_table_braces(ctx, start_brace, end_brace, table_type, shape); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 556 | / TableConstructor::new() [INFO] [stdout] 557 | | .with_braces(braces) [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/formatters/trivia.rs:76:44 [INFO] [stdout] | [INFO] [stdout] 72 | fn update_leading_trivia(&self, leading_trivia: FormatTriviaType) -> Self [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 76 | self.update_trivia(leading_trivia, FormatTriviaType::NoChange) [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/formatters/trivia.rs:88:28 [INFO] [stdout] | [INFO] [stdout] 84 | fn update_trailing_trivia(&self, trailing_trivia: FormatTriviaType) -> Self [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 88 | self.update_trivia(FormatTriviaType::NoChange, trailing_trivia) [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/formatters/trivia.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 95 | leading_trivia: FormatTriviaType, [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 96 | trailing_trivia: FormatTriviaType, [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 97 | ) -> Self { [INFO] [stdout] 98 | let added_leading_trivia = match leading_trivia { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 99 | FormatTriviaType::Append(trivia) => { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 100 | let mut current: Vec = self.leading_trivia().map(|x| x.to_owned()).collect(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 104 | FormatTriviaType::Replace(trivia) => trivia, [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 107 | let added_trailing_trivia = match trailing_trivia { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 108 | FormatTriviaType::Append(trivia) => { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 109 | let mut current: Vec = [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 114 | FormatTriviaType::Replace(trivia) => trivia, [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 119 | self.token().to_owned(), [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/formatters/trivia_util.rs:432:9 [INFO] [stdout] | [INFO] [stdout] 430 | let leading_comments = node.leading_comments(); [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 431 | ( [INFO] [stdout] 432 | node.update_leading_trivia(FormatTriviaType::Replace(vec![])), [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/formatters/trivia_util.rs:453:9 [INFO] [stdout] | [INFO] [stdout] 451 | let trailing_comments = node.trailing_comments(); [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 452 | ( [INFO] [stdout] 453 | node.update_trailing_trivia(FormatTriviaType::Replace(vec![])), [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/formatters/trivia_util.rs:649:9 [INFO] [stdout] | [INFO] [stdout] 585 | local_assignment: LocalAssignment, [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 586 | ) -> (LocalAssignment, Vec) { [INFO] [stdout] 587 | let mut trailing_trivia = Vec::new(); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 638 | let mut formatted_name_list = local_assignment.names().to_owned(); [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 649 | local_assignment.with_names(formatted_name_list), [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/formatters/mod.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn format(&self, ast: Ast) -> Ast { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 37 | let shape = Shape::new(&self.context); [INFO] [stdout] 38 | let new_block = format_block(&self.context, ast.nodes(), shape); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | let new_eof = format_eof(&self.context, ast.eof(), shape); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 40 | [INFO] [stdout] 41 | ast.with_nodes(new_block).with_eof(new_eof) [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/formatters/trivia_util.rs:643:42 [INFO] [stdout] | [INFO] [stdout] 641 | let pair = last_pair.map(|value| { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 642 | trailing_trivia = value.trailing_trivia().map(|x| x.to_owned()).collect(); [INFO] [stdout] 643 | value.update_trailing_trivia(FormatTriviaType::Replace(vec![])) [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/formatters/trivia_util.rs:662:50 [INFO] [stdout] | [INFO] [stdout] 660 | let pair = last_pair.map(|value| { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 661 | trailing_trivia = value.trailing_trivia(); [INFO] [stdout] 662 | value.update_trailing_trivia(FormatTriviaType::Replace(vec![])) [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/formatters/trivia_util.rs:689:54 [INFO] [stdout] | [INFO] [stdout] 687 | let pair = last_pair.map(|value| { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 688 | trailing_trivia = value.trailing_trivia(); [INFO] [stdout] 689 | value.update_trailing_trivia(FormatTriviaType::Replace(vec![])) [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/formatters/trivia_util.rs:1066:32 [INFO] [stdout] | [INFO] [stdout] 1048 | let leading_trivia: Vec<_> = node [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1066 | node.update_leading_trivia(FormatTriviaType::Replace(leading_trivia)) [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/sort_requires.rs:225:5 [INFO] [stdout] | [INFO] [stdout] 158 | pub(crate) fn sort_requires(ctx: &Context, input_ast: Ast) -> Ast { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 162 | let parts = partition_nodes_into_groups(block); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 173 | let mut stmts: Vec = Vec::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 224 | let block = block.clone().with_stmts(stmts); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 225 | input_ast.with_nodes(block).update_positions() [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/verify_ast.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 58 | fn visit_block(&mut self, node: Block) -> Block { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 61 | let stmts = node [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 65 | let last_stmt = node [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 69 | node.with_stmts(stmts).with_last_stmt(last_stmt) [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/verify_ast.rs:63:40 [INFO] [stdout] | [INFO] [stdout] 63 | .map(|(stmt, _semicolon)| (stmt.to_owned(), None)) [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/verify_ast.rs:63:57 [INFO] [stdout] | [INFO] [stdout] 63 | .map(|(stmt, _semicolon)| (stmt.to_owned(), None)) [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/verify_ast.rs:67:45 [INFO] [stdout] | [INFO] [stdout] 67 | .map(|(last_stmt, _semicolon)| (last_stmt.to_owned(), None)); [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/verify_ast.rs:67:67 [INFO] [stdout] | [INFO] [stdout] 67 | .map(|(last_stmt, _semicolon)| (last_stmt.to_owned(), None)); [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/formatters/assignment.rs:121:40 [INFO] [stdout] | [INFO] [stdout] 106 | let mut equal_token_trailing_trivia = vec![create_newline_trivia(ctx)]; [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 114 | let equal_token_trailing_trivia = equal_token [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 121 | equal_token.update_trailing_trivia(FormatTriviaType::Replace(equal_token_trailing_trivia)) [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/formatters/assignment.rs:376:5 [INFO] [stdout] | [INFO] [stdout] 335 | let mut var_list = try_format_punctuated( [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 342 | let mut equal_token = fmt_symbol!(ctx, assignment.equal_token(), " = ", shape); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 343 | let mut expr_list = format_punctuated( [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 376 | Assignment::new(var_list, expr_list).with_equal_token(equal_token) [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/formatters/assignment.rs:383:5 [INFO] [stdout] | [INFO] [stdout] 380 | let leading_trivia = vec![create_indent_trivia(ctx, shape)]; [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 381 | let trailing_trivia = vec![create_newline_trivia(ctx)]; [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 382 | [INFO] [stdout] 383 | format_assignment_no_trivia(ctx, assignment, shape).update_trivia( [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/formatters/assignment.rs:384:9 [INFO] [stdout] | [INFO] [stdout] 380 | let leading_trivia = vec![create_indent_trivia(ctx, shape)]; [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 381 | let trailing_trivia = vec![create_newline_trivia(ctx)]; [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 384 | FormatTriviaType::Append(leading_trivia), [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/formatters/assignment.rs:385:9 [INFO] [stdout] | [INFO] [stdout] 380 | let leading_trivia = vec![create_indent_trivia(ctx, shape)]; [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 381 | let trailing_trivia = vec![create_newline_trivia(ctx)]; [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 385 | FormatTriviaType::Append(trailing_trivia), [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/formatters/assignment.rs:422:5 [INFO] [stdout] | [INFO] [stdout] 394 | let local_token = fmt_symbol!(ctx, assignment.local_token(), "local ", shape); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 395 | let shape = shape + 6; // 6 = "local " [INFO] [stdout] 396 | let name_list = try_format_punctuated( [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 416 | let local_assignment = LocalAssignment::new(name_list); [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 422 | / local_assignment [INFO] [stdout] 423 | | .with_local_token(local_token) [INFO] [stdout] 424 | | .with_equal_token(None) [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/formatters/assignment.rs:425:27 [INFO] [stdout] | [INFO] [stdout] 394 | let local_token = fmt_symbol!(ctx, assignment.local_token(), "local ", shape); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 395 | let shape = shape + 6; // 6 = "local " [INFO] [stdout] 396 | let name_list = try_format_punctuated( [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 416 | let local_assignment = LocalAssignment::new(name_list); [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 425 | .with_expressions(Punctuated::new()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/formatters/assignment.rs:545:5 [INFO] [stdout] | [INFO] [stdout] 542 | let leading_trivia = vec![create_indent_trivia(ctx, shape)]; [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 543 | let trailing_trivia = vec![create_newline_trivia(ctx)]; [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 544 | [INFO] [stdout] 545 | format_local_assignment_no_trivia(ctx, assignment, shape).update_trivia( [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/formatters/assignment.rs:546:9 [INFO] [stdout] | [INFO] [stdout] 542 | let leading_trivia = vec![create_indent_trivia(ctx, shape)]; [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 543 | let trailing_trivia = vec![create_newline_trivia(ctx)]; [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 546 | FormatTriviaType::Append(leading_trivia), [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/formatters/assignment.rs:547:9 [INFO] [stdout] | [INFO] [stdout] 542 | let leading_trivia = vec![create_indent_trivia(ctx, shape)]; [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 543 | let trailing_trivia = vec![create_newline_trivia(ctx)]; [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 547 | FormatTriviaType::Append(trailing_trivia), [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/formatters/block.rs:169:56 [INFO] [stdout] | [INFO] [stdout] 154 | let leading_comments = leading_comments [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 167 | formatted = formatted.map(|_| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 168 | first_return_expression [INFO] [stdout] 169 | .update_leading_trivia(FormatTriviaType::Replace(leading_comments)) [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/formatters/block.rs:261:5 [INFO] [stdout] | [INFO] [stdout] 258 | let leading_trivia = FormatTriviaType::Append(vec![create_indent_trivia(ctx, shape)]); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 259 | let trailing_trivia = FormatTriviaType::Append(vec![create_newline_trivia(ctx)]); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 260 | [INFO] [stdout] 261 | format_last_stmt_no_trivia(ctx, last_stmt, shape).update_trivia(leading_trivia, trailing_trivia) [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/formatters/block.rs:608:5 [INFO] [stdout] | [INFO] [stdout] 454 | let mut formatted_statements: Vec<(Stmt, Option)> = Vec::new(); [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 455 | let mut found_first_stmt = false; [INFO] [stdout] 456 | let mut stmt_iterator = block.stmts_with_semicolon().peekable(); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 560 | let formatted_last_stmt = match block.last_stmt_with_semicolon() { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 565 | let mut last_stmt = format_last_stmt(&ctx, last_stmt, shape); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 574 | let semicolon = match semi { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 578 | let trivia = last_stmt [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 608 | / Block::new() [INFO] [stdout] 609 | | .with_stmts(formatted_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/formatters/general.rs:242:6 [INFO] [stdout] | [INFO] [stdout] 103 | let mut leading_trivia: Option> = None; [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 104 | let mut trailing_trivia: Option> = None; [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 105 | [INFO] [stdout] 106 | let token_type = match token.token_type() { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 107 | TokenType::Number { text } => { [INFO] [stdout] 108 | let text = if text.starts_with('.') { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 145 | let literal = RE [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 197 | let comment = format_single_line_comment_string(comment).into(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 242 | (Token::new(token_type), leading_trivia, trailing_trivia) [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/formatters/general.rs:632:9 [INFO] [stdout] | [INFO] [stdout] 602 | let mut formatted_leading_trivia: Vec = load_token_trivia( [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 608 | let mut formatted_trailing_trivia: Vec = load_token_trivia( [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 619 | let mut wanted_leading_trivia: Vec = wanted_symbol [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 623 | let mut wanted_trailing_trivia: Vec = wanted_symbol [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 632 | wanted_symbol.token().to_owned(), [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/formatters/general.rs:699:9 [INFO] [stdout] | [INFO] [stdout] 646 | let formatted_leading_trivia: Vec = load_token_trivia( [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 658 | let formatted_trailing_trivia: Vec = load_token_trivia( [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 670 | let mut formatted_leading_trivia = Vec::new(); [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 699 | Token::new(current_token.token_type().to_owned()), [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/formatters/expression.rs:880:5 [INFO] [stdout] | [INFO] [stdout] 874 | let function_call = format_function_call( [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 880 | VarExpression::new(function_call.prefix().clone()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/formatters/expression.rs:881:24 [INFO] [stdout] | [INFO] [stdout] 874 | let function_call = format_function_call( [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 881 | .with_suffixes(function_call.suffixes().cloned().collect()) [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/formatters/expression.rs:938:9 [INFO] [stdout] | [INFO] [stdout] 899 | fn hang_binop(ctx: &Context, binop: BinOp, shape: Shape, rhs: &Expression) -> BinOp { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 903 | let mut leading_comments = binop [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 916 | let mut trailing_comments = binop.trailing_comments(); [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 920 | let mut expression_leading_comments = rhs [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 938 | FormatTriviaType::Replace(leading_comments), [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/formatters/expression.rs:939:9 [INFO] [stdout] | [INFO] [stdout] 899 | fn hang_binop(ctx: &Context, binop: BinOp, shape: Shape, rhs: &Expression) -> BinOp { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 903 | let mut leading_comments = binop [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 916 | let mut trailing_comments = binop.trailing_comments(); [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 920 | let mut expression_leading_comments = rhs [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 939 | FormatTriviaType::Replace(vec![Token::new(TokenType::spaces(1))]), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/formatters/functions.rs:125:40 [INFO] [stdout] | [INFO] [stdout] 125 | .map_or(false, |token| token.leading_trivia().chain(token.trailing_trivia()).any(function_trivia_contains_comments)) [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/formatters/functions.rs:921:5 [INFO] [stdout] | [INFO] [stdout] 746 | let leading_trivia = vec![create_indent_trivia(ctx, shape)]; [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 787 | let (parameters_parentheses, formatted_parameters) = match multiline_params { [INFO] [stdout] | ---------------------- -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 825 | let block = if singleline_function { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 839 | let trailing_trivia = FormatTriviaType::Append(vec![Token::new(TokenType::spaces(1))]); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 840 | [INFO] [stdout] 841 | let block = if let Some(last_stmt) = function_body.block().last_stmt() { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 848 | let stmt = format_stmt_no_trivia(ctx, stmt, block_shape) [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 872 | let (parameters_parentheses, return_type) = loop { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 873 | let trailing_trivia = if singleline_function { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 903 | let mut end_token = format_end_token( [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 914 | let function_body = function_body.to_owned(); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 921 | / function_body [INFO] [stdout] 922 | | .with_parameters_parentheses(parameters_parentheses) [INFO] [stdout] 923 | | .with_parameters(formatted_parameters) [INFO] [stdout] 924 | | .with_block(block) [INFO] [stdout] | |__________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/formatters/functions.rs:1104:5 [INFO] [stdout] | [INFO] [stdout] 941 | let formatted_prefix = format_prefix(ctx, function_call.prefix(), shape); [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 950 | let mut peekable_suffixes = function_call.suffixes().peekable(); [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 973 | let mut peekable_suffixes = function_call.suffixes().peekable(); [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 995 | let formatted_suffixes: Vec<_> = function_call [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 999 | let preliminary_function_call = FunctionCall::new(formatted_prefix.to_owned()) [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1025 | let suffixes = preliminary_function_call.suffixes().enumerate(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1030 | let mut remaining_suffixes = preliminary_function_call.suffixes().skip(idx + 1); [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1048 | let mut formatted_suffixes = Vec::with_capacity(num_suffixes); [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1049 | let mut suffixes = function_call.suffixes().peekable(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1104 | FunctionCall::new(formatted_prefix).with_suffixes(formatted_suffixes) [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/formatters/functions.rs:1141:5 [INFO] [stdout] | [INFO] [stdout] 1114 | let mut formatted_names = Punctuated::new(); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1130 | let mut formatted_method: Option<(TokenReference, TokenReference)> = None; [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1141 | FunctionName::new(formatted_names).with_method(formatted_method) [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/formatters/functions.rs:1167:5 [INFO] [stdout] | [INFO] [stdout] 1151 | let leading_trivia = vec![create_indent_trivia(ctx, shape)]; [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1152 | let trailing_trivia = vec![create_newline_trivia(ctx)]; [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1153 | [INFO] [stdout] 1154 | let function_token = fmt_symbol!( [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1161 | let formatted_function_name = format_function_name(ctx, function_declaration.name(), shape); [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1164 | let function_body = format_function_body(ctx, function_declaration.body(), shape) [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1167 | / FunctionDeclaration::new(formatted_function_name) [INFO] [stdout] 1168 | | .with_function_token(function_token) [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/formatters/functions.rs:1191:5 [INFO] [stdout] | [INFO] [stdout] 1179 | let leading_trivia = vec![create_indent_trivia(ctx, shape)]; [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1180 | let trailing_trivia = vec![create_newline_trivia(ctx)]; [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1181 | [INFO] [stdout] 1182 | let local_token = fmt_symbol!(ctx, local_function.local_token(), "local ", shape) [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1183 | .update_leading_trivia(FormatTriviaType::Append(leading_trivia)); [INFO] [stdout] 1184 | let function_token = fmt_symbol!(ctx, local_function.function_token(), "function ", shape); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1185 | let formatted_name = format_token_reference(ctx, local_function.name(), shape); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1188 | let function_body = format_function_body(ctx, local_function.body(), shape) [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1191 | / LocalFunction::new(formatted_name) [INFO] [stdout] 1192 | | .with_local_token(local_token) [INFO] [stdout] 1193 | | .with_function_token(function_token) [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/formatters/functions.rs:1211:5 [INFO] [stdout] | [INFO] [stdout] 1204 | let formatted_colon_token = format_token_reference(ctx, method_call.colon_token(), shape); [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1205 | let formatted_name = format_token_reference(ctx, method_call.name(), shape); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1208 | let formatted_function_args = [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1211 | MethodCall::new(formatted_name, formatted_function_args).with_colon_token(formatted_colon_token) [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/formatters/general.rs:45:14 [INFO] [stdout] | [INFO] [stdout] 45 | &TokenReference::symbol($x).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/formatters/functions.rs:1237:32 [INFO] [stdout] | [INFO] [stdout] 1237 | .map(|punctuation| fmt_symbol!(ctx, punctuation, ", ", shape)); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `fmt_symbol` (in Nightly builds, run with -Z macro-backtrace for more info) [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/formatters/stmt.rs:55:11 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn remove_condition_parentheses(expression: Expression) -> Expression { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 55 | match expression.to_owned() { [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/formatters/stmt.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 70 | let leading_trivia = FormatTriviaType::Append(vec![create_indent_trivia(ctx, shape)]); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 71 | let trailing_trivia = FormatTriviaType::Append(vec![create_newline_trivia(ctx)]); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 72 | [INFO] [stdout] 73 | let do_token = fmt_symbol!(ctx, do_block.do_token(), "do", shape) [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 76 | let block = format_block(ctx, do_block.block(), block_shape); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 77 | let end_token = format_end_token( [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 85 | / do_block [INFO] [stdout] 86 | | .to_owned() [INFO] [stdout] 87 | | .with_do_token(do_token) [INFO] [stdout] 88 | | .with_block(block) [INFO] [stdout] | |__________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/formatters/stmt.rs:276:5 [INFO] [stdout] | [INFO] [stdout] 144 | let leading_trivia = vec![create_indent_trivia(ctx, shape)]; [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 145 | let trailing_trivia = vec![create_newline_trivia(ctx)]; [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 146 | [INFO] [stdout] 147 | let for_token = fmt_symbol!(ctx, generic_for.for_token(), "for ", shape) [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 153 | let singleline_names = [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 176 | let for_token = match require_names_multiline { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 182 | let names = match require_names_multiline { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 206 | let singleline_expr = [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 217 | let in_token = match (require_names_multiline, requires_expr_multiline) { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 233 | let expr_list = match requires_expr_multiline { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 236 | let expr_list = format_punctuated_multiline( [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 248 | let do_token = match requires_expr_multiline { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 260 | let block = format_block(ctx, generic_for.block(), block_shape); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 261 | [INFO] [stdout] 262 | let end_token = format_end_token( [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 273 | let generic_for = generic_for.to_owned(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 276 | / generic_for [INFO] [stdout] 277 | | .with_for_token(for_token) [INFO] [stdout] 278 | | .with_names(names) [INFO] [stdout] 279 | | .with_in_token(in_token) [INFO] [stdout] 280 | | .with_expressions(expr_list) [INFO] [stdout] 281 | | .with_do_token(do_token) [INFO] [stdout] 282 | | .with_block(block) [INFO] [stdout] | |__________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/formatters/stmt.rs:400:5 [INFO] [stdout] | [INFO] [stdout] 337 | let leading_trivia = vec![create_indent_trivia(ctx, shape)]; [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 338 | let trailing_trivia = vec![create_newline_trivia(ctx)]; [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 341 | let condition = remove_condition_parentheses(else_if_node.condition().to_owned()); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 351 | let elseif_token = format_end_token(ctx, else_if_node.else_if_token(), end_token_type, shape); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 352 | let singleline_condition = format_expression(ctx, &condition, shape + 7); [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 353 | let singleline_then_token = fmt_symbol!(ctx, else_if_node.then_token(), " then", shape); [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 366 | let elseif_token = match require_multiline_expression { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 375 | let condition = match require_multiline_expression { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 385 | let then_token = match require_multiline_expression { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 398 | let block = format_block(ctx, else_if_node.block(), block_shape); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 399 | [INFO] [stdout] 400 | / else_if_node [INFO] [stdout] 401 | | .to_owned() [INFO] [stdout] 402 | | .with_else_if_token(elseif_token) [INFO] [stdout] 403 | | .with_condition(condition) [INFO] [stdout] 404 | | .with_then_token(then_token) [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/formatters/stmt.rs:580:5 [INFO] [stdout] | [INFO] [stdout] 431 | let leading_trivia = vec![create_indent_trivia(ctx, shape)]; [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 432 | let trailing_trivia = vec![create_newline_trivia(ctx)]; [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 435 | let condition = remove_condition_parentheses(if_node.condition().to_owned()); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 436 | [INFO] [stdout] 437 | let singleline_if_token = fmt_symbol!(ctx, if_node.if_token(), "if ", shape); [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 438 | let singleline_condition = format_expression(ctx, &condition, shape + IF_LEN + THEN_LEN); [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 439 | let singleline_then_token = fmt_symbol!(ctx, if_node.then_token(), " then", shape); [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 507 | let if_token = match require_multiline_expression { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 514 | let condition = match require_multiline_expression { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 524 | let then_token = match require_multiline_expression { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 537 | let block = format_block(ctx, if_node.block(), block_shape); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 538 | [INFO] [stdout] 539 | let end_token = format_end_token( [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 550 | let else_if = if_node.else_if().map(|else_if| { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 557 | let (else_token, else_block) = match (if_node.else_token(), if_node.else_block()) { [INFO] [stdout] | ---------- ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 566 | let else_token = format_end_token(ctx, else_token, end_token_type, shape) [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 572 | let else_block = format_block(ctx, else_block, else_block_shape); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 580 | / if_node [INFO] [stdout] 581 | | .to_owned() [INFO] [stdout] 582 | | .with_if_token(if_token) [INFO] [stdout] 583 | | .with_condition(condition) [INFO] [stdout] ... | [INFO] [stdout] 587 | | .with_else_token(else_token) [INFO] [stdout] 588 | | .with_else(else_block) [INFO] [stdout] | |______________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/formatters/stmt.rs:641:5 [INFO] [stdout] | [INFO] [stdout] 595 | let leading_trivia = vec![create_indent_trivia(ctx, shape)]; [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 596 | let trailing_trivia = vec![create_newline_trivia(ctx)]; [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 597 | [INFO] [stdout] 598 | let for_token = fmt_symbol!(ctx, numeric_for.for_token(), "for ", shape) [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 599 | .update_leading_trivia(FormatTriviaType::Append(leading_trivia.to_owned())); [INFO] [stdout] 600 | let index_variable = format_token_reference(ctx, numeric_for.index_variable(), shape); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 608 | let equal_token = fmt_symbol!(ctx, numeric_for.equal_token(), " = ", shape); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 609 | let start = format_expression(ctx, numeric_for.start(), shape); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 610 | let start_end_comma = fmt_symbol!(ctx, numeric_for.start_end_comma(), ", ", shape); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 611 | let end = format_expression(ctx, numeric_for.end(), shape); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 612 | [INFO] [stdout] 613 | let (end_step_comma, step) = match (numeric_for.end_step_comma(), numeric_for.step()) { [INFO] [stdout] | -------------- ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 622 | let do_token = fmt_symbol!(ctx, numeric_for.do_token(), " do", shape) [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 625 | let block = format_block(ctx, numeric_for.block(), block_shape); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 626 | let end_token = format_end_token( [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 637 | let numeric_for = numeric_for.to_owned(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 641 | / numeric_for [INFO] [stdout] 642 | | .with_for_token(for_token) [INFO] [stdout] 643 | | .with_index_variable(index_variable) [INFO] [stdout] 644 | | .with_equal_token(equal_token) [INFO] [stdout] ... | [INFO] [stdout] 650 | | .with_do_token(do_token) [INFO] [stdout] 651 | | .with_block(block) [INFO] [stdout] | |__________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/formatters/stmt.rs:689:5 [INFO] [stdout] | [INFO] [stdout] 658 | let leading_trivia = vec![create_indent_trivia(ctx, shape)]; [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 659 | let trailing_trivia = vec![create_newline_trivia(ctx)]; [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 660 | [INFO] [stdout] 661 | let repeat_token = fmt_symbol!(ctx, repeat_block.repeat_token(), "repeat", shape) [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 667 | let block = format_block(ctx, repeat_block.block(), block_shape); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 668 | let until_token = fmt_symbol!(ctx, repeat_block.until_token(), "until ", shape) [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 672 | let condition = remove_condition_parentheses(repeat_block.until().to_owned()); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 680 | let until = match require_multiline_expression { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 689 | / repeat_block [INFO] [stdout] 690 | | .to_owned() [INFO] [stdout] 691 | | .with_repeat_token(repeat_token) [INFO] [stdout] 692 | | .with_block(block) [INFO] [stdout] 693 | | .with_until_token(until_token) [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 59 previous errors [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/formatters/stmt.rs:764:5 [INFO] [stdout] | [INFO] [stdout] 700 | let leading_trivia = vec![create_indent_trivia(ctx, shape)]; [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 701 | let trailing_trivia = vec![create_newline_trivia(ctx)]; [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 704 | let condition = remove_condition_parentheses(while_block.condition().to_owned()); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 705 | [INFO] [stdout] 706 | let singleline_while_token = fmt_symbol!(ctx, while_block.while_token(), "while ", shape); [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 707 | let singleline_condition = format_expression(ctx, &condition, shape + 6); [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 708 | let singleline_do_token = fmt_symbol!(ctx, while_block.do_token(), " do", shape); [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 721 | let while_token = match require_multiline_expression { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 728 | let condition = match require_multiline_expression { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 738 | let do_token = match require_multiline_expression { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 751 | let block = format_block(ctx, while_block.block(), block_shape); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 752 | [INFO] [stdout] 753 | let end_token = format_end_token( [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 764 | / while_block [INFO] [stdout] 765 | | .to_owned() [INFO] [stdout] 766 | | .with_while_token(while_token) [INFO] [stdout] 767 | | .with_condition(condition) [INFO] [stdout] 768 | | .with_do_token(do_token) [INFO] [stdout] 769 | | .with_block(block) [INFO] [stdout] | |__________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/formatters/stmt.rs:785:5 [INFO] [stdout] | [INFO] [stdout] 782 | let leading_trivia = vec![create_indent_trivia(ctx, shape)]; [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 783 | let trailing_trivia = vec![create_newline_trivia(ctx)]; [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 784 | [INFO] [stdout] 785 | format_function_call(ctx, function_call, shape).update_trivia( [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/formatters/stmt.rs:786:9 [INFO] [stdout] | [INFO] [stdout] 782 | let leading_trivia = vec![create_indent_trivia(ctx, shape)]; [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 783 | let trailing_trivia = vec![create_newline_trivia(ctx)]; [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 786 | FormatTriviaType::Append(leading_trivia), [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/formatters/stmt.rs:787:9 [INFO] [stdout] | [INFO] [stdout] 782 | let leading_trivia = vec![create_indent_trivia(ctx, shape)]; [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 783 | let trailing_trivia = vec![create_newline_trivia(ctx)]; [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 787 | FormatTriviaType::Append(trailing_trivia), [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/formatters/stmt.rs:834:9 [INFO] [stdout] | [INFO] [stdout] 805 | let fields = table_constructor [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 834 | table_constructor.to_owned().with_fields(fields) [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/formatters/stmt.rs:903:9 [INFO] [stdout] | [INFO] [stdout] 868 | let prefix = match function_call.prefix() { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 876 | let suffixes = function_call [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 903 | / function_call [INFO] [stdout] 904 | | .to_owned() [INFO] [stdout] 905 | | .with_prefix(prefix) [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/formatters/table.rs:556:5 [INFO] [stdout] | [INFO] [stdout] 535 | let (braces, fields) = match table_type { [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] 536 | TableType::Empty => { [INFO] [stdout] 537 | let braces = create_table_braces(ctx, start_brace, end_brace, table_type, shape); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 556 | / TableConstructor::new() [INFO] [stdout] 557 | | .with_braces(braces) [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/formatters/trivia.rs:76:44 [INFO] [stdout] | [INFO] [stdout] 72 | fn update_leading_trivia(&self, leading_trivia: FormatTriviaType) -> Self [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 76 | self.update_trivia(leading_trivia, FormatTriviaType::NoChange) [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/formatters/trivia.rs:88:28 [INFO] [stdout] | [INFO] [stdout] 84 | fn update_trailing_trivia(&self, trailing_trivia: FormatTriviaType) -> Self [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 88 | self.update_trivia(FormatTriviaType::NoChange, trailing_trivia) [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/formatters/trivia.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 95 | leading_trivia: FormatTriviaType, [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 96 | trailing_trivia: FormatTriviaType, [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 97 | ) -> Self { [INFO] [stdout] 98 | let added_leading_trivia = match leading_trivia { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 99 | FormatTriviaType::Append(trivia) => { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 100 | let mut current: Vec = self.leading_trivia().map(|x| x.to_owned()).collect(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 104 | FormatTriviaType::Replace(trivia) => trivia, [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 107 | let added_trailing_trivia = match trailing_trivia { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 108 | FormatTriviaType::Append(trivia) => { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 109 | let mut current: Vec = [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 114 | FormatTriviaType::Replace(trivia) => trivia, [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 119 | self.token().to_owned(), [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/formatters/trivia_util.rs:432:9 [INFO] [stdout] | [INFO] [stdout] 430 | let leading_comments = node.leading_comments(); [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 431 | ( [INFO] [stdout] 432 | node.update_leading_trivia(FormatTriviaType::Replace(vec![])), [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/formatters/trivia_util.rs:453:9 [INFO] [stdout] | [INFO] [stdout] 451 | let trailing_comments = node.trailing_comments(); [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 452 | ( [INFO] [stdout] 453 | node.update_trailing_trivia(FormatTriviaType::Replace(vec![])), [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/formatters/trivia_util.rs:649:9 [INFO] [stdout] | [INFO] [stdout] 585 | local_assignment: LocalAssignment, [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 586 | ) -> (LocalAssignment, Vec) { [INFO] [stdout] 587 | let mut trailing_trivia = Vec::new(); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 638 | let mut formatted_name_list = local_assignment.names().to_owned(); [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 649 | local_assignment.with_names(formatted_name_list), [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/formatters/trivia_util.rs:643:42 [INFO] [stdout] | [INFO] [stdout] 641 | let pair = last_pair.map(|value| { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 642 | trailing_trivia = value.trailing_trivia().map(|x| x.to_owned()).collect(); [INFO] [stdout] 643 | value.update_trailing_trivia(FormatTriviaType::Replace(vec![])) [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/formatters/trivia_util.rs:662:50 [INFO] [stdout] | [INFO] [stdout] 660 | let pair = last_pair.map(|value| { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 661 | trailing_trivia = value.trailing_trivia(); [INFO] [stdout] 662 | value.update_trailing_trivia(FormatTriviaType::Replace(vec![])) [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/formatters/trivia_util.rs:689:54 [INFO] [stdout] | [INFO] [stdout] 687 | let pair = last_pair.map(|value| { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 688 | trailing_trivia = value.trailing_trivia(); [INFO] [stdout] 689 | value.update_trailing_trivia(FormatTriviaType::Replace(vec![])) [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/formatters/trivia_util.rs:1066:32 [INFO] [stdout] | [INFO] [stdout] 1048 | let leading_trivia: Vec<_> = node [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1066 | node.update_leading_trivia(FormatTriviaType::Replace(leading_trivia)) [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/sort_requires.rs:225:5 [INFO] [stdout] | [INFO] [stdout] 158 | pub(crate) fn sort_requires(ctx: &Context, input_ast: Ast) -> Ast { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 162 | let parts = partition_nodes_into_groups(block); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 173 | let mut stmts: Vec = Vec::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 224 | let block = block.clone().with_stmts(stmts); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 225 | input_ast.with_nodes(block).update_positions() [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/verify_ast.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 58 | fn visit_block(&mut self, node: Block) -> Block { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 61 | let stmts = node [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 65 | let last_stmt = node [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 69 | node.with_stmts(stmts).with_last_stmt(last_stmt) [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/verify_ast.rs:63:40 [INFO] [stdout] | [INFO] [stdout] 63 | .map(|(stmt, _semicolon)| (stmt.to_owned(), None)) [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/verify_ast.rs:63:57 [INFO] [stdout] | [INFO] [stdout] 63 | .map(|(stmt, _semicolon)| (stmt.to_owned(), None)) [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/verify_ast.rs:67:45 [INFO] [stdout] | [INFO] [stdout] 67 | .map(|(last_stmt, _semicolon)| (last_stmt.to_owned(), None)); [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/verify_ast.rs:67:67 [INFO] [stdout] | [INFO] [stdout] 67 | .map(|(last_stmt, _semicolon)| (last_stmt.to_owned(), None)); [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] [stderr] error: could not compile `stylua` (lib) due to 60 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 59 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `stylua` (lib test) due to 60 previous errors [INFO] running `Command { std: "docker" "inspect" "f001be93316e3bb8e139687b5ee7784445c1d2151323b40c9835e964a8aa7ad1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f001be93316e3bb8e139687b5ee7784445c1d2151323b40c9835e964a8aa7ad1", kill_on_drop: false }` [INFO] [stdout] f001be93316e3bb8e139687b5ee7784445c1d2151323b40c9835e964a8aa7ad1