[INFO] fetching crate dprint-plugin-toml 0.6.2... [INFO] checking dprint-plugin-toml-0.6.2 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate dprint-plugin-toml 0.6.2 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate dprint-plugin-toml 0.6.2 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-3-tc2/source/rust-toolchain.toml [INFO] started tweaking crates.io crate dprint-plugin-toml 0.6.2 [INFO] finished tweaking crates.io crate dprint-plugin-toml 0.6.2 [INFO] tweaked toml for crates.io crate dprint-plugin-toml 0.6.2 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 105 packages to latest compatible versions [INFO] [stderr] Adding ahash v0.7.8 (available: v0.8.11) [INFO] [stderr] Adding deno_terminal v0.1.1 (available: v0.2.0) [INFO] [stderr] Adding dprint-core v0.66.2 (available: v0.67.1) [INFO] [stderr] Adding encode_unicode v0.3.6 (available: v1.0.0) [INFO] [stderr] Adding file_test_runner v0.5.1 (available: v0.7.2) [INFO] [stderr] Adding itertools v0.10.5 (available: v0.13.0) [INFO] [stderr] Adding logos v0.12.1 (available: v0.14.2) [INFO] [stderr] Adding logos-derive v0.12.1 (available: v0.14.2) [INFO] [stderr] Adding regex-syntax v0.6.29 (available: v0.8.4) [INFO] [stderr] Adding rustc-hash v1.1.0 (available: v2.0.0) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.79) [INFO] [stderr] Adding taplo v0.12.1 (available: v0.13.2) [INFO] [stderr] Adding unicode-width v0.1.14 (available: v0.2.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding which v2.0.1 (available: v6.0.3) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `taplo` dependency) [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6c44106fc416336fb1a6b2480788b41d00fc040b404f272c240dc2eaf596e87f [INFO] running `Command { std: "docker" "start" "-a" "6c44106fc416336fb1a6b2480788b41d00fc040b404f272c240dc2eaf596e87f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6c44106fc416336fb1a6b2480788b41d00fc040b404f272c240dc2eaf596e87f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c44106fc416336fb1a6b2480788b41d00fc040b404f272c240dc2eaf596e87f", kill_on_drop: false }` [INFO] [stdout] 6c44106fc416336fb1a6b2480788b41d00fc040b404f272c240dc2eaf596e87f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0b58a1de66a8104a6217f0aac2b7a251f03cda75d1e65c444a09e6916d7b2cdc [INFO] running `Command { std: "docker" "start" "-a" "0b58a1de66a8104a6217f0aac2b7a251f03cda75d1e65c444a09e6916d7b2cdc", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `taplo` dependency) [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking gimli v0.31.0 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Checking object v0.36.4 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Checking rustc-demangle v0.1.24 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking bstr v1.10.0 [INFO] [stderr] Checking countme v3.0.1 [INFO] [stderr] Checking text-size v1.1.1 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking deno_terminal v0.1.1 [INFO] [stderr] Checking crossbeam-channel v0.5.13 [INFO] [stderr] Checking bumpalo v3.16.0 [INFO] [stderr] Checking arc-swap v1.7.1 [INFO] [stderr] Checking ahash v0.8.11 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Compiling dprint-core-macros v0.1.0 [INFO] [stderr] Checking similar v2.6.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking thiserror v1.0.64 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking indexmap v2.5.0 [INFO] [stderr] Checking rowan v0.15.16 [INFO] [stderr] Checking dprint-core v0.66.2 [INFO] [stderr] Checking addr2line v0.24.1 [INFO] [stderr] Compiling logos-derive v0.12.1 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking globset v0.4.15 [INFO] [stderr] Checking file_test_runner v0.5.1 [INFO] [stderr] Checking dprint-development v0.10.1 [INFO] [stderr] Checking logos v0.12.1 [INFO] [stderr] Checking backtrace v0.3.74 [INFO] [stderr] Checking taplo v0.12.1 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking which v2.0.1 [INFO] [stderr] Checking debug-here v0.2.2 [INFO] [stderr] Checking dprint-plugin-toml v0.6.2 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `std::option::Option>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/generation/generate.rs:537:9 [INFO] [stdout] | [INFO] [stdout] 536 | fn get_child_with_kind(node: SyntaxNode, kind: SyntaxKind) -> Result { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 537 | match node.children().find(|c| c.kind() == kind) { [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: this value of type `std::option::Option, taplo::rowan::SyntaxToken>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/generation/generate.rs:544:9 [INFO] [stdout] | [INFO] [stdout] 543 | fn get_token_with_kind(node: SyntaxNode, kind: SyntaxKind) -> Result { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 544 | match node.children_with_tokens().find(|c| c.kind() == kind) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [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 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dprint-plugin-toml` (lib) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this value of type `std::option::Option>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/generation/generate.rs:537:9 [INFO] [stdout] | [INFO] [stdout] 536 | fn get_child_with_kind(node: SyntaxNode, kind: SyntaxKind) -> Result { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 537 | match node.children().find(|c| c.kind() == kind) { [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: this value of type `std::option::Option, taplo::rowan::SyntaxToken>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/generation/generate.rs:544:9 [INFO] [stdout] | [INFO] [stdout] 543 | fn get_token_with_kind(node: SyntaxNode, kind: SyntaxKind) -> Result { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 544 | match node.children_with_tokens().find(|c| c.kind() == kind) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [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 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dprint-plugin-toml` (lib test) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "0b58a1de66a8104a6217f0aac2b7a251f03cda75d1e65c444a09e6916d7b2cdc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b58a1de66a8104a6217f0aac2b7a251f03cda75d1e65c444a09e6916d7b2cdc", kill_on_drop: false }` [INFO] [stdout] 0b58a1de66a8104a6217f0aac2b7a251f03cda75d1e65c444a09e6916d7b2cdc