[INFO] fetching crate rust-sitter-tool 0.4.2... [INFO] checking rust-sitter-tool-0.4.2 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate rust-sitter-tool 0.4.2 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate rust-sitter-tool 0.4.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] started tweaking crates.io crate rust-sitter-tool 0.4.2 [INFO] finished tweaking crates.io crate rust-sitter-tool 0.4.2 [INFO] tweaked toml for crates.io crate rust-sitter-tool 0.4.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 159 packages to latest compatible versions [INFO] [stderr] Adding encode_unicode v0.3.6 (available: v1.0.0) [INFO] [stderr] Adding fs4 v0.8.4 (available: v0.9.1) [INFO] [stderr] Adding idna v0.5.0 (available: v1.0.2) [INFO] [stderr] Adding jni-sys v0.3.0 (available: v0.4.0) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (available: v0.6.5) [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 syn-inline-mod v0.5.0 (available: v0.6.0) [INFO] [stderr] Adding tree-sitter v0.22.6 (available: v0.23.0) [INFO] [stderr] Adding tree-sitter-cli v0.22.6 (available: v0.23.0) [INFO] [stderr] Adding tree-sitter-config v0.22.6 (available: v0.23.0) [INFO] [stderr] Adding tree-sitter-highlight v0.22.6 (available: v0.23.0) [INFO] [stderr] Adding tree-sitter-loader v0.22.6 (available: v0.23.0) [INFO] [stderr] Adding tree-sitter-tags v0.22.6 (available: v0.23.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding wasmparser v0.206.0 (available: v0.217.0) [INFO] [stderr] Adding windows-sys v0.45.0 (available: v0.59.0) [INFO] [stderr] Adding windows-sys v0.48.0 (available: v0.59.0) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [INFO] [stderr] Adding windows-targets v0.42.2 (available: v0.52.6) [INFO] [stderr] Adding windows-targets v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_aarch64_gnullvm v0.42.2 (available: v0.52.6) [INFO] [stderr] Adding windows_aarch64_gnullvm v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_aarch64_msvc v0.42.2 (available: v0.52.6) [INFO] [stderr] Adding windows_aarch64_msvc v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_i686_gnu v0.42.2 (available: v0.52.6) [INFO] [stderr] Adding windows_i686_gnu v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_i686_msvc v0.42.2 (available: v0.52.6) [INFO] [stderr] Adding windows_i686_msvc v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnu v0.42.2 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnu v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnullvm v0.42.2 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnullvm v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_msvc v0.42.2 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_msvc v0.48.5 (available: v0.52.6) [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] 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] 2d17afab1e51a5364431cabf9841d74bf81ca099948774b79bdf44f473757e2b [INFO] running `Command { std: "docker" "start" "-a" "2d17afab1e51a5364431cabf9841d74bf81ca099948774b79bdf44f473757e2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2d17afab1e51a5364431cabf9841d74bf81ca099948774b79bdf44f473757e2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d17afab1e51a5364431cabf9841d74bf81ca099948774b79bdf44f473757e2b", kill_on_drop: false }` [INFO] [stdout] 2d17afab1e51a5364431cabf9841d74bf81ca099948774b79bdf44f473757e2b [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] b8fe80ee53b980bdbacde383a29ccda991242f003587af731f9629e8c0b71f8f [INFO] running `Command { std: "docker" "start" "-a" "b8fe80ee53b980bdbacde383a29ccda991242f003587af731f9629e8c0b71f8f", kill_on_drop: false }` [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling anyhow v1.0.89 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Compiling tree-sitter v0.22.6 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Compiling tree-sitter-loader v0.22.6 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking cc v1.1.22 [INFO] [stderr] Checking fs4 v0.8.4 [INFO] [stderr] Checking libloading v0.8.5 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Compiling tree-sitter-cli v0.22.6 [INFO] [stderr] Checking home v0.5.9 [INFO] [stderr] Checking ascii v1.1.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking chunked_transfer v1.5.0 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Compiling indoc v2.0.5 [INFO] [stderr] Checking utf8-width v0.1.7 [INFO] [stderr] Checking webbrowser v1.0.2 [INFO] [stderr] Checking filetime v0.2.25 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking html-escape v0.2.13 [INFO] [stderr] Checking clap_builder v4.5.18 [INFO] [stderr] Checking tiny_http v0.12.0 [INFO] [stderr] Checking smallbitvec v2.5.3 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking insta v1.40.0 [INFO] [stderr] Checking quote v1.0.37 [INFO] [stderr] Checking indexmap v2.5.0 [INFO] [stderr] Checking ctrlc v3.4.5 [INFO] [stderr] Checking wasmparser v0.206.0 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling clap_derive v4.5.18 [INFO] [stderr] Checking thiserror v1.0.64 [INFO] [stderr] Checking tree-sitter-tags v0.22.6 [INFO] [stderr] Checking tree-sitter-highlight v0.22.6 [INFO] [stderr] Checking syn-inline-mod v0.5.0 [INFO] [stderr] Checking rust-sitter-common v0.4.2 [INFO] [stderr] Checking clap v4.5.18 [INFO] [stderr] Checking serde v1.0.210 [INFO] [stderr] Checking serde_json v1.0.128 [INFO] [stderr] Checking tree-sitter-config v0.22.6 [INFO] [stderr] Checking rust-sitter-tool v0.4.2 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `syn::ExprLit` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/expansion.rs:54:31 [INFO] [stdout] | [INFO] [stdout] 9 | leaf_type: Type, [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 10 | leaf_attrs: Vec, [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 29 | let leaf_params = leaf_attr.and_then(|a| { [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 34 | let pattern_param = leaf_params.as_ref().and_then(|p| { [INFO] [stdout] | ------------- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 40 | let text_param = leaf_params.as_ref().and_then(|p| { [INFO] [stdout] | ---------- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 46 | let mut skip_over = HashSet::new(); [INFO] [stdout] | ------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 50 | let (inner_type_vec, is_vec) = try_extract_inner_type(&leaf_type, "Vec", &skip_over); [INFO] [stdout] | -------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 51 | let (inner_type_option, is_option) = try_extract_inner_type(&leaf_type, "Option", &skip_over); [INFO] [stdout] | ----------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 54 | if let Some(Expr::Lit(lit)) = pattern_param { [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: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-sitter-tool` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this value of type `syn::ExprLit` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/expansion.rs:54:31 [INFO] [stdout] | [INFO] [stdout] 9 | leaf_type: Type, [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 10 | leaf_attrs: Vec, [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 29 | let leaf_params = leaf_attr.and_then(|a| { [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 34 | let pattern_param = leaf_params.as_ref().and_then(|p| { [INFO] [stdout] | ------------- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 40 | let text_param = leaf_params.as_ref().and_then(|p| { [INFO] [stdout] | ---------- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 46 | let mut skip_over = HashSet::new(); [INFO] [stdout] | ------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 50 | let (inner_type_vec, is_vec) = try_extract_inner_type(&leaf_type, "Vec", &skip_over); [INFO] [stdout] | -------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 51 | let (inner_type_option, is_option) = try_extract_inner_type(&leaf_type, "Option", &skip_over); [INFO] [stdout] | ----------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 54 | if let Some(Expr::Lit(lit)) = pattern_param { [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: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-sitter-tool` (lib test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "b8fe80ee53b980bdbacde383a29ccda991242f003587af731f9629e8c0b71f8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8fe80ee53b980bdbacde383a29ccda991242f003587af731f9629e8c0b71f8f", kill_on_drop: false }` [INFO] [stdout] b8fe80ee53b980bdbacde383a29ccda991242f003587af731f9629e8c0b71f8f