[INFO] fetching crate dprint-plugin-markdown 0.17.8... [INFO] checking dprint-plugin-markdown-0.17.8 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate dprint-plugin-markdown 0.17.8 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate dprint-plugin-markdown 0.17.8 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-7-tc2/source/rust-toolchain.toml [INFO] started tweaking crates.io crate dprint-plugin-markdown 0.17.8 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate dprint-plugin-markdown 0.17.8 [INFO] tweaked toml for crates.io crate dprint-plugin-markdown 0.17.8 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 67 packages to latest compatible versions [INFO] [stderr] Adding deno_terminal v0.1.1 (latest: v0.2.0) [INFO] [stderr] Adding dprint-core v0.66.2 (latest: v0.67.1) [INFO] [stderr] Adding encode_unicode v0.3.6 (latest: v1.0.0) [INFO] [stderr] Adding file_test_runner v0.5.1 (latest: v0.7.2) [INFO] [stderr] Adding pulldown-cmark v0.11.2 (latest: v0.12.0) [INFO] [stderr] Adding rustc-hash v1.1.0 (latest: v2.0.0) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [INFO] [stderr] Adding windows-sys v0.52.0 (latest: v0.59.0) [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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] e56a1bdd236575c7ee4ab1d49232d090616a536b1dc5a4db9ffb29470975b2e6 [INFO] running `Command { std: "docker" "start" "-a" "e56a1bdd236575c7ee4ab1d49232d090616a536b1dc5a4db9ffb29470975b2e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e56a1bdd236575c7ee4ab1d49232d090616a536b1dc5a4db9ffb29470975b2e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e56a1bdd236575c7ee4ab1d49232d090616a536b1dc5a4db9ffb29470975b2e6", kill_on_drop: false }` [INFO] [stdout] e56a1bdd236575c7ee4ab1d49232d090616a536b1dc5a4db9ffb29470975b2e6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 0adca3890f8dcc01ee7c59984b9b306ea5636215eb8fe600217591bde145700a [INFO] running `Command { std: "docker" "start" "-a" "0adca3890f8dcc01ee7c59984b9b306ea5636215eb8fe600217591bde145700a", kill_on_drop: false }` [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling pulldown-cmark v0.11.2 [INFO] [stderr] Compiling serde_json v1.0.127 [INFO] [stderr] Checking deno_terminal v0.1.1 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking similar v2.6.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking bumpalo v3.16.0 [INFO] [stderr] Checking crossbeam-channel v0.5.13 [INFO] [stderr] Checking indexmap v2.5.0 [INFO] [stderr] Checking dprint-core v0.66.2 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking file_test_runner v0.5.1 [INFO] [stderr] Checking dprint-development v0.10.1 [INFO] [stderr] Compiling dprint-core-macros v0.1.0 [INFO] [stderr] Checking dprint-plugin-markdown v0.17.8 (/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/format_text.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 33 | format_code_block_text: impl for<'a> FnMut(&str, &'a str, u32) -> Result>, [INFO] [stdout] | ---------------------------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 42 | / || { [INFO] [stdout] 43 | | let mut context = Context::new(markdown_text, config, format_code_block_text); [INFO] [stdout] 44 | | #[allow(clippy::let_and_return)] [INFO] [stdout] 45 | | let print_items = generate(&source_file.into(), &mut context); [INFO] [stdout] 46 | | // eprintln!("{}", print_items.get_as_text()); [INFO] [stdout] 47 | | print_items [INFO] [stdout] 48 | | }, [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/generation/gen_types.rs:53:31 [INFO] [stdout] | [INFO] [stdout] 43 | format_code_block_text: impl for<'b> FnMut(&str, &'b str, u32) -> FormatResult + 'a, [INFO] [stdout] | ----------------------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 53 | format_code_block_text: Box::new(format_code_block_text), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/generation/gen_types.rs:54:21 [INFO] [stdout] | [INFO] [stdout] 43 | format_code_block_text: impl for<'b> FnMut(&str, &'b str, u32) -> FormatResult + 'a, [INFO] [stdout] | ----------------------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 54 | ignore_regex: get_ignore_comment_regex(&configuration.ignore_directive), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/generation/gen_types.rs:55:27 [INFO] [stdout] | [INFO] [stdout] 43 | format_code_block_text: impl for<'b> FnMut(&str, &'b str, u32) -> FormatResult + 'a, [INFO] [stdout] | ----------------------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 55 | ignore_start_regex: get_ignore_comment_regex(&configuration.ignore_start_directive), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/generation/gen_types.rs:56:25 [INFO] [stdout] | [INFO] [stdout] 43 | format_code_block_text: impl for<'b> FnMut(&str, &'b str, u32) -> FormatResult + 'a, [INFO] [stdout] | ----------------------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 56 | ignore_end_regex: get_ignore_comment_regex(&configuration.ignore_end_directive), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [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 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dprint-plugin-markdown` (lib) due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/format_text.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 33 | format_code_block_text: impl for<'a> FnMut(&str, &'a str, u32) -> Result>, [INFO] [stdout] | ---------------------------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 42 | / || { [INFO] [stdout] 43 | | let mut context = Context::new(markdown_text, config, format_code_block_text); [INFO] [stdout] 44 | | #[allow(clippy::let_and_return)] [INFO] [stdout] 45 | | let print_items = generate(&source_file.into(), &mut context); [INFO] [stdout] 46 | | // eprintln!("{}", print_items.get_as_text()); [INFO] [stdout] 47 | | print_items [INFO] [stdout] 48 | | }, [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/generation/gen_types.rs:53:31 [INFO] [stdout] | [INFO] [stdout] 43 | format_code_block_text: impl for<'b> FnMut(&str, &'b str, u32) -> FormatResult + 'a, [INFO] [stdout] | ----------------------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 53 | format_code_block_text: Box::new(format_code_block_text), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/generation/gen_types.rs:54:21 [INFO] [stdout] | [INFO] [stdout] 43 | format_code_block_text: impl for<'b> FnMut(&str, &'b str, u32) -> FormatResult + 'a, [INFO] [stdout] | ----------------------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 54 | ignore_regex: get_ignore_comment_regex(&configuration.ignore_directive), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/generation/gen_types.rs:55:27 [INFO] [stdout] | [INFO] [stdout] 43 | format_code_block_text: impl for<'b> FnMut(&str, &'b str, u32) -> FormatResult + 'a, [INFO] [stdout] | ----------------------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 55 | ignore_start_regex: get_ignore_comment_regex(&configuration.ignore_start_directive), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/generation/gen_types.rs:56:25 [INFO] [stdout] | [INFO] [stdout] 43 | format_code_block_text: impl for<'b> FnMut(&str, &'b str, u32) -> FormatResult + 'a, [INFO] [stdout] | ----------------------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 56 | ignore_end_regex: get_ignore_comment_regex(&configuration.ignore_end_directive), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [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 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dprint-plugin-markdown` (lib test) due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "0adca3890f8dcc01ee7c59984b9b306ea5636215eb8fe600217591bde145700a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0adca3890f8dcc01ee7c59984b9b306ea5636215eb8fe600217591bde145700a", kill_on_drop: false }` [INFO] [stdout] 0adca3890f8dcc01ee7c59984b9b306ea5636215eb8fe600217591bde145700a