[INFO] fetching crate ast-grep 0.26.3... [INFO] checking ast-grep-0.26.3 against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] extracting crate ast-grep 0.26.3 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate ast-grep 0.26.3 on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ast-grep 0.26.3 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate ast-grep 0.26.3 [INFO] tweaked toml for crates.io crate ast-grep 0.26.3 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate crates.io crate ast-grep 0.26.3 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded newline-converter v0.3.0 [INFO] [stderr] Downloaded tree-sitter-facade-sg v0.22.2 [INFO] [stderr] Downloaded tower-lsp-macros v0.9.0 [INFO] [stderr] Downloaded ast-grep-dynamic v0.26.3 [INFO] [stderr] Downloaded ast-grep-lsp v0.26.3 [INFO] [stderr] Downloaded tree-sitter-json v0.21.0 [INFO] [stderr] Downloaded tree-sitter-html v0.20.4 [INFO] [stderr] Downloaded bit-set v0.8.0 [INFO] [stderr] Downloaded ast-grep-language v0.26.3 [INFO] [stderr] Downloaded tree-sitter-lua v0.1.0 [INFO] [stderr] Downloaded ast-grep-config v0.26.3 [INFO] [stderr] Downloaded tree-sitter-css v0.21.1 [INFO] [stderr] Downloaded tower-lsp v0.20.0 [INFO] [stderr] Downloaded ast-grep-core v0.26.3 [INFO] [stderr] Downloaded tree-sitter-go v0.21.2 [INFO] [stderr] Downloaded inquire v0.7.5 [INFO] [stderr] Downloaded tree-sitter-javascript v0.21.4 [INFO] [stderr] Downloaded tree-sitter-java v0.21.0 [INFO] [stderr] Downloaded tree-sitter v0.22.6 [INFO] [stderr] Downloaded lsp-types v0.94.1 [INFO] [stderr] Downloaded tree-sitter-python v0.21.0 [INFO] [stderr] Downloaded tree-sitter-c v0.21.4 [INFO] [stderr] Downloaded tree-sitter-dart v0.0.4 [INFO] [stderr] Downloaded serde_derive_internals v0.29.0 [INFO] [stderr] Downloaded web-tree-sitter-sg v0.22.2 [INFO] [stderr] Downloaded tree-sitter-rust v0.21.2 [INFO] [stderr] Downloaded tree-sitter-bash v0.21.0 [INFO] [stderr] Downloaded tree-sitter-php v0.22.8 [INFO] [stderr] Downloaded tree-sitter-elixir v0.2.0 [INFO] [stderr] Downloaded tree-sitter-ruby v0.21.0 [INFO] [stderr] Downloaded tree-sitter-sequel v0.3.5 [INFO] [stderr] Downloaded tree-sitter-haskell v0.21.0 [INFO] [stderr] Downloaded tree-sitter-typescript v0.21.2 [INFO] [stderr] Downloaded tree-sitter-cpp v0.22.3 [INFO] [stderr] Downloaded tree-sitter-swift v0.5.0 [INFO] [stderr] Downloaded tree-sitter-scala v0.22.1 [INFO] [stderr] Downloaded tree-sitter-c-sharp v0.21.3 [INFO] [stderr] Downloaded tree-sitter-kotlin v0.3.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 65a6b6404b017472af6abbfa70610f7e841a8370982a4a7b05807a85744db8e4 [INFO] running `Command { std: "docker" "start" "-a" "65a6b6404b017472af6abbfa70610f7e841a8370982a4a7b05807a85744db8e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "65a6b6404b017472af6abbfa70610f7e841a8370982a4a7b05807a85744db8e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65a6b6404b017472af6abbfa70610f7e841a8370982a4a7b05807a85744db8e4", kill_on_drop: false }` [INFO] [stdout] 65a6b6404b017472af6abbfa70610f7e841a8370982a4a7b05807a85744db8e4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "-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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 283e4ff52d90cd2c7a41aed17c2630ace3784c9389d1f0ceabb54c36b1aebf4c [INFO] running `Command { std: "docker" "start" "-a" "283e4ff52d90cd2c7a41aed17c2630ace3784c9389d1f0ceabb54c36b1aebf4c", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.104 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Compiling proc-macro2 v1.0.82 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.92 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling bumpalo v3.15.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.92 [INFO] [stderr] Compiling serde_json v1.0.127 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Checking bit-vec v0.8.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking bit-set v0.8.0 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking colorchoice v1.0.1 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling syn v2.0.61 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v1.0.1 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking dyn-clone v1.0.17 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking anstyle-query v1.0.3 [INFO] [stderr] Compiling schemars v0.8.21 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Compiling tree-sitter v0.22.6 [INFO] [stderr] Compiling tree-sitter-swift v0.5.0 [INFO] [stderr] Compiling tree-sitter-cpp v0.22.3 [INFO] [stderr] Checking signal-hook-mio v0.2.4 [INFO] [stderr] Compiling tree-sitter-bash v0.21.0 [INFO] [stderr] Compiling tree-sitter-sequel v0.3.5 [INFO] [stderr] Compiling tree-sitter-ruby v0.21.0 [INFO] [stderr] Compiling tree-sitter-css v0.21.1 [INFO] [stderr] Compiling tree-sitter-html v0.20.4 [INFO] [stderr] Compiling tree-sitter-c-sharp v0.21.3 [INFO] [stderr] Compiling tree-sitter-kotlin v0.3.8 [INFO] [stderr] Compiling tree-sitter-python v0.21.0 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Compiling tree-sitter-lua v0.1.0 [INFO] [stderr] Compiling tree-sitter-go v0.21.2 [INFO] [stderr] Compiling tree-sitter-c v0.21.4 [INFO] [stderr] Compiling tree-sitter-rust v0.21.2 [INFO] [stderr] Compiling tree-sitter-dart v0.0.4 [INFO] [stderr] Compiling tree-sitter-json v0.21.0 [INFO] [stderr] Compiling tree-sitter-elixir v0.2.0 [INFO] [stderr] Compiling tree-sitter-typescript v0.21.2 [INFO] [stderr] Compiling tree-sitter-javascript v0.21.4 [INFO] [stderr] Compiling tree-sitter-java v0.21.0 [INFO] [stderr] Compiling tree-sitter-scala v0.22.1 [INFO] [stderr] Compiling tree-sitter-php v0.22.8 [INFO] [stderr] Compiling tree-sitter-haskell v0.21.0 [INFO] [stderr] Checking parking_lot v0.12.2 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking tokio v1.39.3 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Checking clap_builder v4.5.15 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking bstr v1.9.1 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.92 [INFO] [stderr] Compiling serde_derive_internals v0.29.0 [INFO] [stderr] Checking globset v0.4.14 [INFO] [stderr] Checking ignore v0.4.22 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.92 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.92 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Checking tree-sitter-facade-sg v0.22.2 [INFO] [stderr] Compiling serde_repr v0.1.19 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling schemars_derive v0.8.21 [INFO] [stderr] Checking thiserror v1.0.63 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking ast-grep-core v0.26.3 [INFO] [stderr] Compiling auto_impl v1.2.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling tower-lsp-macros v0.9.0 [INFO] [stderr] Compiling clap_derive v4.5.13 [INFO] [stderr] Checking serde v1.0.209 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking unicode-width v0.1.12 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking newline-converter v0.3.0 [INFO] [stderr] Checking lsp-types v0.94.1 [INFO] [stderr] Checking fuzzy-matcher v0.3.7 [INFO] [stderr] Checking clap v4.5.16 [INFO] [stderr] Checking crossterm v0.25.0 [INFO] [stderr] Checking libloading v0.8.5 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Checking ast-grep-config v0.26.3 [INFO] [stderr] Checking ast-grep-dynamic v0.26.3 [INFO] [stderr] Checking clap_complete v4.5.23 [INFO] [stderr] Checking crossterm v0.28.1 [INFO] [stderr] Checking inquire v0.7.5 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking predicates-core v1.0.6 [INFO] [stderr] Checking similar v2.6.0 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Checking termtree v0.4.1 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Compiling assert_cmd v2.0.16 [INFO] [stderr] Checking predicates-tree v1.0.9 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking fastrand v2.1.0 [INFO] [stderr] Checking predicates v3.1.2 [INFO] [stderr] Checking tempfile v3.12.0 [INFO] [stderr] Checking ast-grep-language v0.26.3 [INFO] [stderr] Checking tower-lsp v0.20.0 [INFO] [stderr] Checking ast-grep-lsp v0.26.3 [INFO] [stderr] Checking ast-grep v0.26.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.31s [INFO] running `Command { std: "docker" "inspect" "283e4ff52d90cd2c7a41aed17c2630ace3784c9389d1f0ceabb54c36b1aebf4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "283e4ff52d90cd2c7a41aed17c2630ace3784c9389d1f0ceabb54c36b1aebf4c", kill_on_drop: false }` [INFO] [stdout] 283e4ff52d90cd2c7a41aed17c2630ace3784c9389d1f0ceabb54c36b1aebf4c [INFO] checking ast-grep-0.26.3 against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] extracting crate ast-grep 0.26.3 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate ast-grep 0.26.3 on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ast-grep 0.26.3 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate ast-grep 0.26.3 [INFO] tweaked toml for crates.io crate ast-grep 0.26.3 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate crates.io crate ast-grep 0.26.3 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] df04c5ca2fb051145521d37fb868b9757f80aecebfadc16b00034757ac1dd853 [INFO] running `Command { std: "docker" "start" "-a" "df04c5ca2fb051145521d37fb868b9757f80aecebfadc16b00034757ac1dd853", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "df04c5ca2fb051145521d37fb868b9757f80aecebfadc16b00034757ac1dd853", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df04c5ca2fb051145521d37fb868b9757f80aecebfadc16b00034757ac1dd853", kill_on_drop: false }` [INFO] [stdout] df04c5ca2fb051145521d37fb868b9757f80aecebfadc16b00034757ac1dd853 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 893d092bf57b7bc354cc530cbb48e1738fbb536dae827d250b9109fa6fc63b54 [INFO] running `Command { std: "docker" "start" "-a" "893d092bf57b7bc354cc530cbb48e1738fbb536dae827d250b9109fa6fc63b54", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.104 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Compiling proc-macro2 v1.0.82 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.92 [INFO] [stderr] Compiling bumpalo v3.15.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.92 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling serde_json v1.0.127 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Checking bit-vec v0.8.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking bit-set v0.8.0 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling syn v2.0.61 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking mio v1.0.1 [INFO] [stderr] Checking dyn-clone v1.0.17 [INFO] [stderr] Compiling schemars v0.8.21 [INFO] [stderr] Checking anstyle-query v1.0.3 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Checking colorchoice v1.0.1 [INFO] [stderr] Checking signal-hook-mio v0.2.4 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Compiling tree-sitter v0.22.6 [INFO] [stderr] Compiling tree-sitter-java v0.21.0 [INFO] [stderr] Compiling tree-sitter-c v0.21.4 [INFO] [stderr] Compiling tree-sitter-c-sharp v0.21.3 [INFO] [stderr] Compiling tree-sitter-go v0.21.2 [INFO] [stderr] Compiling tree-sitter-kotlin v0.3.8 [INFO] [stderr] Compiling tree-sitter-html v0.20.4 [INFO] [stderr] Compiling tree-sitter-haskell v0.21.0 [INFO] [stderr] Compiling tree-sitter-swift v0.5.0 [INFO] [stderr] Compiling tree-sitter-rust v0.21.2 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Compiling tree-sitter-dart v0.0.4 [INFO] [stderr] Compiling tree-sitter-typescript v0.21.2 [INFO] [stderr] Compiling tree-sitter-sequel v0.3.5 [INFO] [stderr] Compiling tree-sitter-css v0.21.1 [INFO] [stderr] Compiling tree-sitter-ruby v0.21.0 [INFO] [stderr] Compiling tree-sitter-javascript v0.21.4 [INFO] [stderr] Compiling tree-sitter-lua v0.1.0 [INFO] [stderr] Compiling tree-sitter-python v0.21.0 [INFO] [stderr] Compiling tree-sitter-cpp v0.22.3 [INFO] [stderr] Compiling tree-sitter-json v0.21.0 [INFO] [stderr] Compiling tree-sitter-bash v0.21.0 [INFO] [stderr] Compiling tree-sitter-scala v0.22.1 [INFO] [stderr] Compiling tree-sitter-elixir v0.2.0 [INFO] [stderr] Compiling tree-sitter-php v0.22.8 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking parking_lot v0.12.2 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking tokio v1.39.3 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Checking clap_builder v4.5.15 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking bstr v1.9.1 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.92 [INFO] [stderr] Compiling serde_derive_internals v0.29.0 [INFO] [stderr] Checking globset v0.4.14 [INFO] [stderr] Checking ignore v0.4.22 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.92 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.92 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Checking tree-sitter-facade-sg v0.22.2 [INFO] [stderr] Compiling schemars_derive v0.8.21 [INFO] [stderr] Checking thiserror v1.0.63 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking ast-grep-core v0.26.3 [INFO] [stderr] Compiling serde_repr v0.1.19 [INFO] [stderr] Compiling tower-lsp-macros v0.9.0 [INFO] [stderr] Compiling auto_impl v1.2.0 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling clap_derive v4.5.13 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking serde v1.0.209 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking unicode-width v0.1.12 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking newline-converter v0.3.0 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking lsp-types v0.94.1 [INFO] [stderr] Checking clap v4.5.16 [INFO] [stderr] Checking fuzzy-matcher v0.3.7 [INFO] [stderr] Checking crossterm v0.25.0 [INFO] [stderr] Checking libloading v0.8.5 [INFO] [stderr] Checking ast-grep-config v0.26.3 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Checking ast-grep-dynamic v0.26.3 [INFO] [stderr] Checking clap_complete v4.5.23 [INFO] [stderr] Checking crossterm v0.28.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking inquire v0.7.5 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking predicates-core v1.0.6 [INFO] [stderr] Checking similar v2.6.0 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Checking termtree v0.4.1 [INFO] [stderr] Compiling assert_cmd v2.0.16 [INFO] [stderr] Checking predicates-tree v1.0.9 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking fastrand v2.1.0 [INFO] [stderr] Checking predicates v3.1.2 [INFO] [stderr] Checking tempfile v3.12.0 [INFO] [stderr] Checking ast-grep-language v0.26.3 [INFO] [stderr] Checking tower-lsp v0.20.0 [INFO] [stderr] Checking ast-grep-lsp v0.26.3 [INFO] [stderr] Checking ast-grep v0.26.3 (/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/config.rs:169:3 [INFO] [stdout] | [INFO] [stdout] 138 | global_rules: GlobalRules, [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 141 | let mut configs = vec![]; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 163 | let configs = if let Some(filter) = rule_filter { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 169 | RuleCollection::try_new(configs).context(EC::GlobPattern) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] = 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/config.rs:212:6 [INFO] [stdout] | [INFO] [stdout] 202 | pub fn read_config_from_dir>(path: P) -> Result> { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 209 | let sg_config = from_str(&config_str).context(EC::ParseConfiguration)?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 212 | Ok(Some((config_path, sg_config))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/lang/lang_globs.rs:77:3 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn merge_types(types_vec: impl Iterator) -> Types { [INFO] [stdout] | -------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 77 | builder.build().expect("file types must be valid") [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/lang/lang_globs.rs:88:3 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn merge_globs(lang: &SgLang, type1: Types) -> Types { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 88 | builder.build().expect("file type must be valid") [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/print/cloud_print.rs:38:15 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn new(w: W) -> Self { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 37 | Self { [INFO] [stdout] 38 | writer: Mutex::new(w), [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/print/colored_print.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn stdout>(color: C) -> Self { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 74 | let color = color.into(); [INFO] [stdout] 75 | ColoredPrinter::new(StandardStream::stdout(color)).color(color) [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/print/colored_print.rs:82:15 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn new(writer: W) -> Self { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 81 | Self { [INFO] [stdout] 82 | writer: Mutex::new(writer), [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/print/interactive_print.rs:82:36 [INFO] [stdout] | [INFO] [stdout] 78 | matches: Matches!('a), [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 82 | utils::run_in_alternate_screen(|| { [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 83 | | let matches: Vec<_> = matches.collect(); [INFO] [stdout] 84 | | let first_match = match matches.first() { [INFO] [stdout] 85 | | Some(n) => n.start_pos().0, [INFO] [stdout] ... | [INFO] [stdout] 98 | | } [INFO] [stdout] 99 | | }) [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/print/interactive_print.rs:103:36 [INFO] [stdout] | [INFO] [stdout] 102 | fn print_matches<'a>(&self, matches: Matches!('a), path: &Path) -> Result<()> { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 103 | utils::run_in_alternate_screen(|| print_matches_and_confirm_next(self, matches, path)) [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/print/json_print.rs:272:15 [INFO] [stdout] | [INFO] [stdout] 268 | pub fn new(output: W, style: JsonStyle) -> Self { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 272 | output: Mutex::new(output), [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/run.rs:272:8 [INFO] [stdout] | [INFO] [stdout] 264 | fn new(arg: RunArg, printer: Printer) -> Result { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 265 | let lang = arg.lang.ok_or(anyhow::anyhow!(EC::LanguageNotSpecified))?; [INFO] [stdout] | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 266 | let pattern = arg.build_pattern(lang)?; [INFO] [stdout] 267 | let rewrite = if let Some(s) = &arg.rewrite { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 272 | Ok(Self { [INFO] [stdout] | ________^ [INFO] [stdout] 273 | | arg, [INFO] [stdout] 274 | | printer, [INFO] [stdout] 275 | | pattern, [INFO] [stdout] 276 | | rewrite, [INFO] [stdout] 277 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/run.rs:321:10 [INFO] [stdout] | [INFO] [stdout] 316 | let ret = if path_lang == lang { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 321 | Some(ret.into_iter().map(|n| n.0).collect()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/run.rs:330:20 [INFO] [stdout] | [INFO] [stdout] 328 | let grep = lang.ast_grep(src); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 329 | let has_match = grep.root().find(&self.pattern).is_some(); [INFO] [stdout] 330 | has_match.then(|| MatchUnit { [INFO] [stdout] | ____________________^ [INFO] [stdout] 331 | | path: PathBuf::from("STDIN"), [INFO] [stdout] 332 | | matcher: self.pattern.clone(), [INFO] [stdout] 333 | | grep, [INFO] [stdout] 334 | | }) [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/scan.rs:117:8 [INFO] [stdout] | [INFO] [stdout] 106 | fn try_new(mut arg: ScanArg, printer: P) -> Result { [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] 107 | let configs = if let Some(path) = &arg.rule { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 108 | let rules = read_rule_file(path, None)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 111 | let rules = from_yaml_string(text, &Default::default()) [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 117 | Ok(Self { [INFO] [stdout] | ________^ [INFO] [stdout] 118 | | arg, [INFO] [stdout] 119 | | printer, [INFO] [stdout] 120 | | configs, [INFO] [stdout] 121 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/scan.rs:188:8 [INFO] [stdout] | [INFO] [stdout] 179 | fn try_new(arg: ScanArg, printer: P) -> Result { [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] 180 | let rules = if let Some(path) = &arg.rule { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 186 | return Err(anyhow::anyhow!(EC::RuleNotSpecified)); [INFO] [stdout] | ------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 187 | }; [INFO] [stdout] 188 | Ok(Self { printer, rules }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/utils.rs:113:16 [INFO] [stdout] | [INFO] [stdout] 109 | fn run_path(self) -> Result<()> [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 113 | run_worker(Arc::new(self)) [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/utils.rs:149:8 [INFO] [stdout] | [INFO] [stdout] 142 | fn once(t: T) -> Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 143 | let (tx, rx) = mpsc::channel(); [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] 149 | Ok(Items(rx)) [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/utils.rs:199:24 [INFO] [stdout] | [INFO] [stdout] 172 | fn run_worker(worker: Arc) -> Result<()> { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 173 | let (tx, rx) = mpsc::channel(); [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] 174 | let w = worker.clone(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 175 | let walker = worker.build_walk(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 199 | worker.consume_items(Items(rx)) [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/utils.rs:182:16 [INFO] [stdout] | [INFO] [stdout] 180 | let tx = tx.clone(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 181 | let w = w.clone(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 182 | Box::new(move |result| { [INFO] [stdout] | ________________^ [INFO] [stdout] 183 | | let Some(p) = filter_result(result) else { [INFO] [stdout] 184 | | return WalkState::Continue; [INFO] [stdout] 185 | | }; [INFO] [stdout] ... | [INFO] [stdout] 195 | | WalkState::Continue [INFO] [stdout] 196 | | }) [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/utils.rs:241:76 [INFO] [stdout] | [INFO] [stdout] 241 | filter(&grep, path, lang, configs).map(|pre_scan| (path.to_path_buf(), grep.clone(), pre_scan)); [INFO] [stdout] | -------- ^^^^^^^^^^^^ [INFO] [stdout] | | [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/utils.rs:249:12 [INFO] [stdout] | [INFO] [stdout] 247 | let grep = AstGrep { inner: doc.clone() }; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 248 | let pre_scan = filter(&grep, path, l, configs)?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 249 | Some((path.to_path_buf(), grep, pre_scan)) [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/utils.rs:270:20 [INFO] [stdout] | [INFO] [stdout] 264 | let do_match = |ast_grep: AstGrep, matcher: Pattern, lang: SgLang| { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 270 | has_match.then(|| { [INFO] [stdout] | ____________________^ [INFO] [stdout] 271 | | ( [INFO] [stdout] 272 | | MatchUnit { [INFO] [stdout] 273 | | grep: ast_grep, [INFO] [stdout] ... | [INFO] [stdout] 278 | | ) [INFO] [stdout] 279 | | }) [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/utils.rs:272:9 [INFO] [stdout] | [INFO] [stdout] 264 | let do_match = |ast_grep: AstGrep, matcher: Pattern, lang: SgLang| { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 272 | / MatchUnit { [INFO] [stdout] 273 | | grep: ast_grep, [INFO] [stdout] 274 | | path: path.to_path_buf(), [INFO] [stdout] 275 | | matcher, [INFO] [stdout] 276 | | }, [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/mod.rs:52:22 [INFO] [stdout] | [INFO] [stdout] 52 | .flat_map(|sc| sc.join().unwrap()) [INFO] [stdout] | -- ^^^^^^^^^ [INFO] [stdout] | | [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: aborting due to 24 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ast-grep` (lib) due to 25 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/config.rs:169:3 [INFO] [stdout] | [INFO] [stdout] 138 | global_rules: GlobalRules, [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 141 | let mut configs = vec![]; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 163 | let configs = if let Some(filter) = rule_filter { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 169 | RuleCollection::try_new(configs).context(EC::GlobPattern) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] = 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/config.rs:212:6 [INFO] [stdout] | [INFO] [stdout] 202 | pub fn read_config_from_dir>(path: P) -> Result> { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 209 | let sg_config = from_str(&config_str).context(EC::ParseConfiguration)?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 212 | Ok(Some((config_path, sg_config))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/lang/lang_globs.rs:77:3 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn merge_types(types_vec: impl Iterator) -> Types { [INFO] [stdout] | -------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 77 | builder.build().expect("file types must be valid") [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/lang/lang_globs.rs:88:3 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn merge_globs(lang: &SgLang, type1: Types) -> Types { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 88 | builder.build().expect("file type must be valid") [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/print/cloud_print.rs:38:15 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn new(w: W) -> Self { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 37 | Self { [INFO] [stdout] 38 | writer: Mutex::new(w), [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/print/cloud_print.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 127 | let globals = GlobalRules::default(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 128 | / from_yaml_string( [INFO] [stdout] 129 | | &format!( [INFO] [stdout] 130 | | r" [INFO] [stdout] 131 | | id: test [INFO] [stdout] ... | [INFO] [stdout] 138 | | .unwrap() [INFO] [stdout] 139 | | .pop() [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/print/colored_print.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn stdout>(color: C) -> Self { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 74 | let color = color.into(); [INFO] [stdout] 75 | ColoredPrinter::new(StandardStream::stdout(color)).color(color) [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/print/colored_print.rs:82:15 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn new(writer: W) -> Self { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 81 | Self { [INFO] [stdout] 82 | writer: Mutex::new(writer), [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/print/interactive_print.rs:82:36 [INFO] [stdout] | [INFO] [stdout] 78 | matches: Matches!('a), [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 82 | utils::run_in_alternate_screen(|| { [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 83 | | let matches: Vec<_> = matches.collect(); [INFO] [stdout] 84 | | let first_match = match matches.first() { [INFO] [stdout] 85 | | Some(n) => n.start_pos().0, [INFO] [stdout] ... | [INFO] [stdout] 98 | | } [INFO] [stdout] 99 | | }) [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/print/interactive_print.rs:103:36 [INFO] [stdout] | [INFO] [stdout] 102 | fn print_matches<'a>(&self, matches: Matches!('a), path: &Path) -> Result<()> { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 103 | utils::run_in_alternate_screen(|| print_matches_and_confirm_next(self, matches, path)) [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/print/interactive_print.rs:256:5 [INFO] [stdout] | [INFO] [stdout] 255 | let globals = GlobalRules::default(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 256 | / from_yaml_string( [INFO] [stdout] 257 | | &format!( [INFO] [stdout] 258 | | r" [INFO] [stdout] 259 | | id: test [INFO] [stdout] ... | [INFO] [stdout] 267 | | .unwrap() [INFO] [stdout] 268 | | .pop() [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/print/interactive_print.rs:278:5 [INFO] [stdout] | [INFO] [stdout] 274 | matcher: impl Matcher, [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 278 | / Visitor::new(&matcher) [INFO] [stdout] 279 | | .reentrant(false) [INFO] [stdout] 280 | | .visit(root) [INFO] [stdout] 281 | | .map(|nm| Diff::generate(nm, &matcher, fixer)) [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/print/json_print.rs:272:15 [INFO] [stdout] | [INFO] [stdout] 268 | pub fn new(output: W, style: JsonStyle) -> Self { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 272 | output: Mutex::new(output), [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/print/json_print.rs:484:5 [INFO] [stdout] | [INFO] [stdout] 483 | let globals = GlobalRules::default(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 484 | / from_yaml_string( [INFO] [stdout] 485 | | &format!( [INFO] [stdout] 486 | | r#" [INFO] [stdout] 487 | | id: test [INFO] [stdout] ... | [INFO] [stdout] 497 | | .unwrap() [INFO] [stdout] 498 | | .pop() [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/print/json_print.rs:575:18 [INFO] [stdout] | [INFO] [stdout] 575 | .map(|s| serde_json::from_str(s).unwrap()) [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/run.rs:272:8 [INFO] [stdout] | [INFO] [stdout] 264 | fn new(arg: RunArg, printer: Printer) -> Result { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 265 | let lang = arg.lang.ok_or(anyhow::anyhow!(EC::LanguageNotSpecified))?; [INFO] [stdout] | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 266 | let pattern = arg.build_pattern(lang)?; [INFO] [stdout] 267 | let rewrite = if let Some(s) = &arg.rewrite { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 272 | Ok(Self { [INFO] [stdout] | ________^ [INFO] [stdout] 273 | | arg, [INFO] [stdout] 274 | | printer, [INFO] [stdout] 275 | | pattern, [INFO] [stdout] 276 | | rewrite, [INFO] [stdout] 277 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/run.rs:321:10 [INFO] [stdout] | [INFO] [stdout] 316 | let ret = if path_lang == lang { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 321 | Some(ret.into_iter().map(|n| n.0).collect()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/run.rs:330:20 [INFO] [stdout] | [INFO] [stdout] 328 | let grep = lang.ast_grep(src); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 329 | let has_match = grep.root().find(&self.pattern).is_some(); [INFO] [stdout] 330 | has_match.then(|| MatchUnit { [INFO] [stdout] | ____________________^ [INFO] [stdout] 331 | | path: PathBuf::from("STDIN"), [INFO] [stdout] 332 | | matcher: self.pattern.clone(), [INFO] [stdout] 333 | | grep, [INFO] [stdout] 334 | | }) [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/scan.rs:117:8 [INFO] [stdout] | [INFO] [stdout] 106 | fn try_new(mut arg: ScanArg, printer: P) -> Result { [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] 107 | let configs = if let Some(path) = &arg.rule { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 108 | let rules = read_rule_file(path, None)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 111 | let rules = from_yaml_string(text, &Default::default()) [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 117 | Ok(Self { [INFO] [stdout] | ________^ [INFO] [stdout] 118 | | arg, [INFO] [stdout] 119 | | printer, [INFO] [stdout] 120 | | configs, [INFO] [stdout] 121 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/scan.rs:188:8 [INFO] [stdout] | [INFO] [stdout] 179 | fn try_new(arg: ScanArg, printer: P) -> Result { [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] 180 | let rules = if let Some(path) = &arg.rule { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 186 | return Err(anyhow::anyhow!(EC::RuleNotSpecified)); [INFO] [stdout] | ------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 187 | }; [INFO] [stdout] 188 | Ok(Self { printer, rules }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/utils.rs:113:16 [INFO] [stdout] | [INFO] [stdout] 109 | fn run_path(self) -> Result<()> [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 113 | run_worker(Arc::new(self)) [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/utils.rs:149:8 [INFO] [stdout] | [INFO] [stdout] 142 | fn once(t: T) -> Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 143 | let (tx, rx) = mpsc::channel(); [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] 149 | Ok(Items(rx)) [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/utils.rs:199:24 [INFO] [stdout] | [INFO] [stdout] 172 | fn run_worker(worker: Arc) -> Result<()> { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 173 | let (tx, rx) = mpsc::channel(); [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] 174 | let w = worker.clone(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 175 | let walker = worker.build_walk(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 199 | worker.consume_items(Items(rx)) [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/utils.rs:182:16 [INFO] [stdout] | [INFO] [stdout] 180 | let tx = tx.clone(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 181 | let w = w.clone(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 182 | Box::new(move |result| { [INFO] [stdout] | ________________^ [INFO] [stdout] 183 | | let Some(p) = filter_result(result) else { [INFO] [stdout] 184 | | return WalkState::Continue; [INFO] [stdout] 185 | | }; [INFO] [stdout] ... | [INFO] [stdout] 195 | | WalkState::Continue [INFO] [stdout] 196 | | }) [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/utils.rs:241:76 [INFO] [stdout] | [INFO] [stdout] 241 | filter(&grep, path, lang, configs).map(|pre_scan| (path.to_path_buf(), grep.clone(), pre_scan)); [INFO] [stdout] | -------- ^^^^^^^^^^^^ [INFO] [stdout] | | [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/utils.rs:249:12 [INFO] [stdout] | [INFO] [stdout] 247 | let grep = AstGrep { inner: doc.clone() }; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 248 | let pre_scan = filter(&grep, path, l, configs)?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 249 | Some((path.to_path_buf(), grep, pre_scan)) [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/utils.rs:270:20 [INFO] [stdout] | [INFO] [stdout] 264 | let do_match = |ast_grep: AstGrep, matcher: Pattern, lang: SgLang| { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 270 | has_match.then(|| { [INFO] [stdout] | ____________________^ [INFO] [stdout] 271 | | ( [INFO] [stdout] 272 | | MatchUnit { [INFO] [stdout] 273 | | grep: ast_grep, [INFO] [stdout] ... | [INFO] [stdout] 278 | | ) [INFO] [stdout] 279 | | }) [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/utils.rs:272:9 [INFO] [stdout] | [INFO] [stdout] 264 | let do_match = |ast_grep: AstGrep, matcher: Pattern, lang: SgLang| { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 272 | / MatchUnit { [INFO] [stdout] 273 | | grep: ast_grep, [INFO] [stdout] 274 | | path: path.to_path_buf(), [INFO] [stdout] 275 | | matcher, [INFO] [stdout] 276 | | }, [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/mod.rs:52:22 [INFO] [stdout] | [INFO] [stdout] 52 | .flat_map(|sc| sc.join().unwrap()) [INFO] [stdout] | -- ^^^^^^^^^ [INFO] [stdout] | | [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/verify/mod.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 221 | let globals = GlobalRules::default(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 222 | let inner = from_str(&get_rule_text(rule)).unwrap(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 223 | RuleConfig::try_from(inner, &globals).unwrap() [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/mod.rs:228:5 [INFO] [stdout] | [INFO] [stdout] 227 | let rule = get_rule_config("all: []"); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 228 | RuleCollection::try_new(vec![rule]).expect("RuleCollection must be valid") [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/mod.rs:233:5 [INFO] [stdout] | [INFO] [stdout] 232 | let rule = get_rule_config("any: []"); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 233 | RuleCollection::try_new(vec![rule]).expect("RuleCollection must be valid") [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/lib.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 120 | let Err(err) = sg(args) else { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 123 | / err [INFO] [stdout] 124 | | .downcast::() [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 33 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ast-grep` (lib test) due to 34 previous errors [INFO] running `Command { std: "docker" "inspect" "893d092bf57b7bc354cc530cbb48e1738fbb536dae827d250b9109fa6fc63b54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "893d092bf57b7bc354cc530cbb48e1738fbb536dae827d250b9109fa6fc63b54", kill_on_drop: false }` [INFO] [stdout] 893d092bf57b7bc354cc530cbb48e1738fbb536dae827d250b9109fa6fc63b54