>>> ast-grep: Building community/ast-grep 0.28.1-r0 (using abuild 3.16.0_rc4-r0) started Sat, 08 Nov 2025 05:04:12 +0000 >>> ast-grep: Validating /home/buildozer/aports/community/ast-grep/APKBUILD... >>> ast-grep: Analyzing dependencies... >>> ast-grep: Installing for build: build-base cargo cargo-auditable ( 1/10) Installing libffi (3.5.2-r0) ( 2/10) Installing xz-libs (5.8.1-r0) ( 3/10) Installing libxml2 (2.13.9-r0) ( 4/10) Installing llvm21-libs (21.1.2-r1) ( 5/10) Installing scudo-malloc (21.1.2-r0) ( 6/10) Installing rust (1.91.0-r0) ( 7/10) Installing sqlite-libs (3.51.0-r0) ( 8/10) Installing cargo (1.91.0-r0) ( 9/10) Installing cargo-auditable (0.7.1-r0) (10/10) Installing .makedepends-ast-grep (20251108.050422) busybox-1.37.0-r24.trigger: Executing script... OK: 835 MiB in 115 packages >>> ast-grep: Cleaning up srcdir >>> ast-grep: Cleaning up pkgdir >>> ast-grep: Cleaning up tmpdir >>> ast-grep: Fetching https://distfiles.alpinelinux.org/distfiles/v3.23/ast-grep-0.28.1.tar.gz Connecting to distfiles.alpinelinux.org (172.105.82.32:443) saving to '/var/cache/distfiles/v3.23/ast-grep-0.28.1.tar.gz.part' ast-grep-0.28.1.tar. 100% |********************************| 835k 0:00:00 ETA '/var/cache/distfiles/v3.23/ast-grep-0.28.1.tar.gz.part' saved /var/cache/distfiles/v3.23/ast-grep-0.28.1.tar.gz: OK /home/buildozer/aports/community/ast-grep/remove-some-parsers.patch: OK >>> ast-grep: Fetching https://distfiles.alpinelinux.org/distfiles/v3.23/ast-grep-0.28.1.tar.gz /var/cache/distfiles/v3.23/ast-grep-0.28.1.tar.gz: OK /home/buildozer/aports/community/ast-grep/remove-some-parsers.patch: OK >>> ast-grep: Unpacking /var/cache/distfiles/v3.23/ast-grep-0.28.1.tar.gz... >>> ast-grep: remove-some-parsers.patch patching file crates/language/src/parsers.rs patching file crates/language/Cargo.toml patching file crates/language/src/csharp.rs patching file crates/language/src/elixir.rs patching file crates/language/src/haskell.rs patching file crates/language/src/kotlin.rs patching file crates/language/src/swift.rs patching file crates/language/src/scala.rs Updating crates.io index Downloading crates ... Downloaded colorchoice v1.0.1 Downloaded is_terminal_polyfill v1.70.0 Downloaded equivalent v1.0.1 Downloaded clap_lex v0.7.0 Downloaded clap_derive v4.5.18 Downloaded wasm-bindgen-shared v0.2.92 Downloaded tower-lsp-macros v0.9.0 Downloaded atty v0.2.14 Downloaded toml_datetime v0.6.8 Downloaded normalize-line-endings v0.3.0 Downloaded predicates-core v1.0.6 Downloaded predicates-tree v1.0.9 Downloaded newline-converter v0.3.0 Downloaded doc-comment v0.3.3 Downloaded termcolor v1.4.1 Downloaded fastrand v2.1.1 Downloaded assert_cmd v2.0.16 Downloaded signal-hook-mio v0.2.4 Downloaded proc-macro2 v1.0.82 Downloaded dashmap v6.1.0 Downloaded ansi_term v0.12.1 Downloaded futures v0.3.30 Downloaded parking_lot v0.12.2 Downloaded url v2.5.0 Downloaded mio v0.8.11 Downloaded crossterm v0.28.1 Downloaded unicode-normalization v0.1.23 Downloaded wasm-bindgen v0.2.92 Downloaded idna v0.5.0 Downloaded tree-sitter-c v0.21.4 Downloaded rustix v0.38.37 Downloaded tree-sitter-rust v0.21.2 Downloaded bstr v1.9.1 Downloaded pyo3 v0.22.4 Downloaded tree-sitter-bash v0.21.0 Downloaded tokio v1.40.0 Downloaded tree-sitter-elixir v0.2.0 Downloaded regex-automata v0.4.8 Downloaded regex-syntax v0.8.5 Downloaded libc v0.2.159 Downloaded tree-sitter-haskell v0.21.0 Downloaded tree-sitter-cpp v0.22.3 Downloaded linux-raw-sys v0.4.14 Downloaded tree-sitter-c-sharp v0.21.3 Downloaded crossterm v0.25.0 Downloaded napi-derive v2.16.12 Downloaded tree-sitter-ruby v0.21.0 Downloaded pyo3-ffi v0.22.4 Downloaded pyo3-build-config v0.22.4 Downloaded napi-build v2.1.3 Downloaded regex v1.11.0 Downloaded syn v2.0.61 Downloaded tree-sitter-java v0.21.0 Downloaded tree-sitter-python v0.21.0 Downloaded rayon v1.10.0 Downloaded aho-corasick v1.1.3 Downloaded napi-derive-backend v1.0.74 Downloaded futures-util v0.3.30 Downloaded winnow v0.6.18 Downloaded tree-sitter-javascript v0.21.4 Downloaded tree-sitter v0.22.6 Downloaded clap_builder v4.5.20 Downloaded mio v1.0.1 Downloaded tokio-util v0.7.11 Downloaded tower v0.4.13 Downloaded toml_edit v0.22.22 Downloaded plotters v0.3.5 Downloaded hashbrown v0.14.5 Downloaded serde_json v1.0.128 Downloaded bumpalo v3.15.0 Downloaded tree-sitter-yaml v0.6.1 Downloaded inquire v0.7.5 Downloaded napi v2.16.11 Downloaded unicode-segmentation v1.11.0 Downloaded tracing v0.1.40 Downloaded tower-lsp v0.20.0 Downloaded pyo3-macros-backend v0.22.4 Downloaded tree-sitter-go v0.21.2 Downloaded itertools v0.10.5 Downloaded signal-hook v0.3.17 Downloaded similar v2.6.0 Downloaded unicode-bidi v0.3.15 Downloaded lsp-types v0.94.1 Downloaded bytes v1.6.0 Downloaded tracing-core v0.1.32 Downloaded unsafe-libyaml v0.2.11 Downloaded cc v1.0.104 Downloaded indexmap v2.5.0 Downloaded memchr v2.7.2 Downloaded tinyvec v1.6.0 Downloaded pin-project v1.1.5 Downloaded bitflags v2.5.0 Downloaded tree-sitter-javascript-sg v0.21.2 Downloaded semver v1.0.23 Downloaded anyhow v1.0.89 Downloaded schemars v0.8.21 Downloaded tree-sitter-dart v0.0.4 Downloaded serde_yaml v0.9.34+deprecated Downloaded rayon-core v1.12.1 Downloaded serde v1.0.210 Downloaded clap_complete v4.5.33 Downloaded codespan-reporting v0.11.1 Downloaded predicates v3.1.2 Downloaded errno v0.3.8 Downloaded tempfile v3.13.0 Downloaded async-trait v0.1.80 Downloaded auto_impl v1.2.0 Downloaded lock_api v0.4.12 Downloaded smallvec v1.13.2 Downloaded httparse v1.8.0 Downloaded libloading v0.8.5 Downloaded target-lexicon v0.12.14 Downloaded half v2.4.1 Downloaded crossbeam-epoch v0.9.18 Downloaded parking_lot_core v0.9.10 Downloaded futures-channel v0.3.30 Downloaded pin-project-lite v0.2.14 Downloaded log v0.4.21 Downloaded ignore v0.4.23 Downloaded ryu v1.0.18 Downloaded thread_local v1.1.8 Downloaded tree-sitter-php v0.23.0 Downloaded fuzzy-matcher v0.3.7 Downloaded float-cmp v0.9.0 Downloaded scopeguard v1.2.0 Downloaded serde_repr v0.1.19 Downloaded pin-project-internal v1.1.5 Downloaded tracing-attributes v0.1.27 Downloaded wasm-bindgen-backend v0.2.92 Downloaded crossbeam-utils v0.8.19 Downloaded criterion v0.5.1 Downloaded signal-hook-registry v1.4.2 Downloaded unicode-width v0.1.12 Downloaded difflib v0.4.0 Downloaded bitflags v1.3.2 Downloaded form_urlencoded v1.2.1 Downloaded bit-vec v0.8.0 Downloaded bit-set v0.8.0 Downloaded tree-sitter-css v0.21.1 Downloaded tree-sitter-lua v0.1.0 Downloaded num-traits v0.2.19 Downloaded dashmap v5.5.3 Downloaded percent-encoding v2.3.1 Downloaded futures-core v0.3.30 Downloaded pin-utils v0.1.0 Downloaded convert_case v0.6.0 Downloaded indoc v2.0.5 Downloaded globset v0.4.15 Downloaded ciborium v0.2.2 Downloaded anstream v0.6.14 Downloaded clap v4.5.20 Downloaded byteorder v1.5.0 Downloaded futures-io v0.3.30 Downloaded napi-sys v2.4.0 Downloaded tree-sitter-swift v0.5.0 Downloaded memoffset v0.9.1 Downloaded pyo3-macros v0.22.4 Downloaded serde_derive_internals v0.29.0 Downloaded tree-sitter-typescript v0.21.2 Downloaded termtree v0.4.1 Downloaded tree-sitter-sequel v0.3.5 Downloaded ctor v0.2.8 Downloaded pythonize v0.22.0 Downloaded quote v1.0.36 Downloaded futures-macro v0.3.30 Downloaded futures-task v0.3.30 Downloaded slab v0.4.9 Downloaded wasm-bindgen-macro v0.2.92 Downloaded tree-sitter-facade-sg v0.22.2 Downloaded unicode-ident v1.0.12 Downloaded serde_derive v1.0.210 Downloaded wait-timeout v0.2.0 Downloaded fxhash v0.2.1 Downloaded tree-sitter-scala v0.22.1 Downloaded thiserror-impl v1.0.64 Downloaded thiserror v1.0.64 Downloaded wasm-bindgen-macro-support v0.2.92 Downloaded tree-sitter-html v0.20.4 Downloaded tree-sitter-json v0.21.0 Downloaded tinyvec_macros v0.1.1 Downloaded futures-sink v0.3.30 Downloaded tower-layer v0.3.2 Downloaded schemars_derive v0.8.21 Downloaded once_cell v1.19.0 Downloaded dyn-clone v1.0.17 Downloaded anes v0.1.6 Downloaded cfg-if v1.0.0 Downloaded ciborium-ll v0.2.2 Downloaded utf8parse v0.2.1 Downloaded tower-service v0.3.2 Downloaded unindent v0.2.3 Downloaded ciborium-io v0.2.2 Downloaded anstyle-parse v0.2.4 Downloaded anstyle-query v1.0.3 Downloaded itoa v1.0.11 Downloaded anstyle v1.0.8 Downloaded walkdir v2.5.0 Downloaded cast v0.3.0 Downloaded criterion-plot v0.5.0 Downloaded autocfg v1.3.0 Downloaded either v1.11.0 Downloaded crossbeam-deque v0.8.5 Downloaded heck v0.5.0 Downloaded oorandom v11.1.3 Downloaded strsim v0.11.1 Downloaded plotters-backend v0.3.5 Downloaded is-terminal v0.4.12 Downloaded plotters-svg v0.3.5 Downloaded tree-sitter-kotlin v0.3.8 Downloaded tinytemplate v1.2.1 Downloaded same-file v1.0.6 Compiling cc v1.0.104 Compiling proc-macro2 v1.0.82 Compiling unicode-ident v1.0.12 Compiling memchr v2.7.2 Compiling regex-syntax v0.8.5 Compiling cfg-if v1.0.0 Compiling libc v0.2.159 Compiling autocfg v1.3.0 Compiling serde v1.0.210 Compiling log v0.4.21 Compiling wasm-bindgen-shared v0.2.92 Compiling bumpalo v3.15.0 Compiling once_cell v1.19.0 Compiling parking_lot_core v0.9.10 Compiling smallvec v1.13.2 Compiling scopeguard v1.2.0 Compiling crossbeam-utils v0.8.19 Compiling wasm-bindgen v0.2.92 Compiling pin-project-lite v0.2.14 Compiling thiserror v1.0.64 Compiling hashbrown v0.14.5 Compiling futures-core v0.3.30 Compiling ryu v1.0.18 Compiling tinyvec_macros v0.1.1 Compiling itoa v1.0.11 Compiling serde_json v1.0.128 Compiling futures-sink v0.3.30 Compiling bit-vec v0.8.0 Compiling signal-hook v0.3.17 Compiling utf8parse v0.2.1 Compiling pin-utils v0.1.0 Compiling futures-task v0.3.30 Compiling bitflags v1.3.2 Compiling futures-io v0.3.30 Compiling unicode-bidi v0.3.15 Compiling percent-encoding v2.3.1 Compiling same-file v1.0.6 Compiling dyn-clone v1.0.17 Compiling anstyle v1.0.8 Compiling colorchoice v1.0.1 Compiling equivalent v1.0.1 Compiling is_terminal_polyfill v1.70.0 Compiling anstyle-query v1.0.3 Compiling httparse v1.8.0 Compiling anyhow v1.0.89 Compiling schemars v0.8.21 Compiling bitflags v2.5.0 Compiling tokio v1.40.0 Compiling tower-layer v0.3.2 Compiling heck v0.5.0 Compiling tinyvec v1.6.0 Compiling unsafe-libyaml v0.2.11 Compiling futures-channel v0.3.30 Compiling anstyle-parse v0.2.4 Compiling clap_lex v0.7.0 Compiling tower-service v0.3.2 Compiling bytes v1.6.0 Compiling walkdir v2.5.0 Compiling rustix v0.38.37 Compiling strsim v0.11.1 Compiling form_urlencoded v1.2.1 Compiling unicode-segmentation v1.11.0 Compiling byteorder v1.5.0 Compiling linux-raw-sys v0.4.14 Compiling unicode-width v0.1.12 Compiling libloading v0.8.5 Compiling termcolor v1.4.1 Compiling similar v2.6.0 Compiling ansi_term v0.12.1 Compiling tracing-core v0.1.32 Compiling thread_local v1.1.8 Compiling bit-set v0.8.0 Compiling anstream v0.6.14 Compiling lock_api v0.4.12 Compiling slab v0.4.9 Compiling fuzzy-matcher v0.3.7 Compiling fxhash v0.2.1 Compiling codespan-reporting v0.11.1 Compiling aho-corasick v1.1.3 Compiling bstr v1.9.1 Compiling clap_builder v4.5.20 Compiling newline-converter v0.3.0 Compiling crossbeam-epoch v0.9.18 Compiling indexmap v2.5.0 Compiling quote v1.0.36 Compiling crossbeam-deque v0.8.5 Compiling unicode-normalization v0.1.23 Compiling syn v2.0.61 Compiling tree-sitter v0.22.6 Compiling signal-hook-registry v1.4.2 Compiling mio v0.8.11 Compiling mio v1.0.1 Compiling tree-sitter-cpp v0.22.3 Compiling tree-sitter-ruby v0.21.0 Compiling tree-sitter-css v0.21.1 Compiling tree-sitter-python v0.21.0 Compiling tree-sitter-bash v0.21.0 Compiling tree-sitter-sequel v0.3.5 Compiling tree-sitter-dart v0.0.4 Compiling tree-sitter-rust v0.21.2 Compiling tree-sitter-lua v0.1.0 Compiling tree-sitter-java v0.21.0 Compiling tree-sitter-yaml v0.6.1 Compiling tree-sitter-javascript v0.21.4 Compiling tree-sitter-go v0.21.2 Compiling tree-sitter-c v0.21.4 Compiling tree-sitter-html v0.20.4 Compiling tree-sitter-php v0.23.0 Compiling tree-sitter-json v0.21.0 Compiling tree-sitter-typescript v0.21.2 Compiling atty v0.2.14 Compiling parking_lot v0.12.2 Compiling dashmap v5.5.3 Compiling dashmap v6.1.0 Compiling idna v0.5.0 Compiling signal-hook-mio v0.2.4 Compiling crossterm v0.25.0 Compiling inquire v0.7.5 Compiling tokio-util v0.7.11 Compiling regex-automata v0.4.8 Compiling crossterm v0.28.1 Compiling regex v1.11.0 Compiling globset v0.4.15 Compiling ignore v0.4.23 Compiling wasm-bindgen-backend v0.2.92 Compiling serde_derive_internals v0.29.0 Compiling serde_derive v1.0.210 Compiling thiserror-impl v1.0.64 Compiling futures-macro v0.3.30 Compiling pin-project-internal v1.1.5 Compiling schemars_derive v0.8.21 Compiling tracing-attributes v0.1.27 Compiling serde_repr v0.1.19 Compiling tower-lsp-macros v0.9.0 Compiling auto_impl v1.2.0 Compiling async-trait v0.1.80 Compiling clap_derive v4.5.18 Compiling wasm-bindgen-macro-support v0.2.92 Compiling futures-util v0.3.30 Compiling wasm-bindgen-macro v0.2.92 Compiling tracing v0.1.40 Compiling pin-project v1.1.5 Compiling clap v4.5.20 Compiling clap_complete v4.5.33 Compiling tree-sitter-facade-sg v0.22.2 Compiling ast-grep-core v0.28.1 (/home/buildozer/aports/community/ast-grep/src/ast-grep-0.28.1/crates/core) warning: hiding a lifetime that's elided elsewhere is confusing --> crates/core/src/lib.rs:43:15 | 43 | pub fn root(&self) -> Node { | ^^^^^ ^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default help: use `'_` for type paths | 43 | pub fn root(&self) -> Node<'_, D> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> crates/core/src/matcher/pattern.rs:50:23 | 50 | pub fn fixed_string(&self) -> Cow { | ^^^^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 50 | pub fn fixed_string(&self) -> Cow<'_, str> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> crates/core/src/matcher/pattern.rs:159:23 | 159 | pub fn fixed_string(&self) -> Cow { | ^^^^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 159 | pub fn fixed_string(&self) -> Cow<'_, str> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> crates/core/src/matcher/pattern.rs:246:35 | 246 | fn single_matcher(root: &Root) -> Node { | ^^^^^^^^ ^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 246 | fn single_matcher(root: &Root) -> Node<'_, D> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> crates/core/src/replacer/indent.rs:139:51 | 139 | pub fn extract_with_deindent(content: &C, range: Range) -> DeindentedExtract { | ^^ ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 139 | pub fn extract_with_deindent(content: &C, range: Range) -> DeindentedExtract<'_, C> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> crates/core/src/source.rs:145:22 | 145 | fn decode_str(src: &str) -> Cow<[Self::Underlying]>; | ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 145 | fn decode_str(src: &str) -> Cow<'_, [Self::Underlying]>; | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> crates/core/src/source.rs:148:26 | 148 | fn encode_bytes(bytes: &[Self::Underlying]) -> Cow; | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 148 | fn encode_bytes(bytes: &[Self::Underlying]) -> Cow<'_, str>; | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> crates/core/src/source.rs:186:22 | 186 | fn decode_str(src: &str) -> Cow<[Self::Underlying]> { | ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 186 | fn decode_str(src: &str) -> Cow<'_, [Self::Underlying]> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> crates/core/src/source.rs:189:26 | 189 | fn encode_bytes(bytes: &[Self::Underlying]) -> Cow { | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 189 | fn encode_bytes(bytes: &[Self::Underlying]) -> Cow<'_, str> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> crates/core/src/traversal.rs:75:36 | 75 | pub fn visit(self, node: Node) -> Visit<'_, D, A::Traversal<'_, D>, M> | ^^^^^^^ ^^ ^^ the same lifetime is elided here | | | | | the same lifetime is elided here | the lifetime is hidden here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: consistently use `'_` | 75 | pub fn visit(self, node: Node<'_, D>) -> Visit<'_, D, A::Traversal<'_, D>, M> | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> crates/core/src/traversal.rs:135:29 | 135 | fn traverse(node: Node) -> Self::Traversal<'_, D>; | ^^^^^^^ ^^ the same lifetime is elided here | | | the lifetime is hidden here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: consistently use `'_` | 135 | fn traverse(node: Node<'_, D>) -> Self::Traversal<'_, D>; | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> crates/core/src/traversal.rs:141:29 | 141 | fn traverse(node: Node) -> Self::Traversal<'_, D> { | ^^^^^^^ ^^ the same lifetime is elided here | | | the lifetime is hidden here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: consistently use `'_` | 141 | fn traverse(node: Node<'_, D>) -> Self::Traversal<'_, D> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> crates/core/src/traversal.rs:148:29 | 148 | fn traverse(node: Node) -> Self::Traversal<'_, D> { | ^^^^^^^ ^^ the same lifetime is elided here | | | the lifetime is hidden here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: consistently use `'_` | 148 | fn traverse(node: Node<'_, D>) -> Self::Traversal<'_, D> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> crates/core/src/node.rs:52:15 | 52 | pub fn root(&self) -> Node { | ^^^^^ ^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 52 | pub fn root(&self) -> Node<'_, D> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> crates/core/src/node.rs:165:15 | 165 | pub fn kind(&self) -> Cow { | ^^^^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 165 | pub fn kind(&self) -> Cow<'_, str> { | +++ warning: `ast-grep-core` (lib) generated 15 warnings (run `cargo fix --lib -p ast-grep-core` to apply 15 suggestions) Compiling tower v0.4.13 Compiling futures v0.3.30 Compiling url v2.5.0 Compiling serde_yaml v0.9.34+deprecated Compiling ast-grep-language v0.28.1 (/home/buildozer/aports/community/ast-grep/src/ast-grep-0.28.1/crates/language) Compiling ast-grep-dynamic v0.28.1 (/home/buildozer/aports/community/ast-grep/src/ast-grep-0.28.1/crates/dynamic) warning: hiding a lifetime that's elided elsewhere is confusing --> crates/language/src/lib.rs:61:46 | 61 | fn pre_process_pattern(expando: char, query: &str) -> std::borrow::Cow { | ^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default help: use `'_` for type paths | 61 | fn pre_process_pattern(expando: char, query: &str) -> std::borrow::Cow<'_, str> { | +++ warning: `ast-grep-language` (lib) generated 1 warning (run `cargo fix --lib -p ast-grep-language` to apply 1 suggestion) Compiling lsp-types v0.94.1 Compiling ast-grep-config v0.28.1 (/home/buildozer/aports/community/ast-grep/src/ast-grep-0.28.1/crates/config) warning: hiding a lifetime that's elided elsewhere is confusing --> crates/config/src/combined.rs:41:32 | 41 | fn check_suppression(&mut self, node: &Node) -> MaySuppressed { | ^^^^^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default help: use `'_` for type paths | 41 | fn check_suppression(&mut self, node: &Node) -> MaySuppressed<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> crates/config/src/rule/referent_rule.rs:24:22 | 24 | pub(crate) fn read(&self) -> RwLockReadGuard> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 24 | pub(crate) fn read(&self) -> RwLockReadGuard<'_, HashMap> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> crates/config/src/rule/referent_rule.rs:27:12 | 27 | fn write(&self) -> RwLockWriteGuard> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 27 | fn write(&self) -> RwLockWriteGuard<'_, HashMap> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> crates/config/src/rule/referent_rule.rs:68:16 | 68 | fn get_local(&self) -> RwLockReadGuard>> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 68 | fn get_local(&self) -> RwLockReadGuard<'_, HashMap>> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> crates/config/src/rule/referent_rule.rs:72:17 | 72 | fn get_global(&self) -> RwLockReadGuard>> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 72 | fn get_global(&self) -> RwLockReadGuard<'_, HashMap>> { | +++ warning: `ast-grep-config` (lib) generated 5 warnings (run `cargo fix --lib -p ast-grep-config` to apply 5 suggestions) Compiling tower-lsp v0.20.0 Compiling ast-grep-lsp v0.28.1 (/home/buildozer/aports/community/ast-grep/src/ast-grep-0.28.1/crates/lsp) Compiling ast-grep v0.28.1 (/home/buildozer/aports/community/ast-grep/src/ast-grep-0.28.1/crates/cli) warning: struct `LabelJSON` is never constructed --> crates/cli/src/print/json_print.rs:48:8 | 48 | struct LabelJSON<'a> { | ^^^^^^^^^ | = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default warning: creating a shared reference to mutable static --> crates/cli/src/lang/lang_globs.rs:17:17 | 17 | debug_assert!(LANG_GLOBS.is_empty()); | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static | = note: for more information, see = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default warning: hiding a lifetime that's elided elsewhere is confusing --> crates/cli/src/print/colored_print.rs:232:28 | 232 | fn adjust_dir_separator(p: &Path) -> Cow { | ^^^^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default help: use `'_` for type paths | 232 | fn adjust_dir_separator(p: &Path) -> Cow<'_, str> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> crates/cli/src/verify/test_case.rs:25:22 | 25 | pub fn verify_rule(&self, rule_config: &RuleConfig) -> CaseResult { | ^^^^^ the lifetime is elided here ^^^^^^^^^^ the same lifetime is hidden here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 25 | pub fn verify_rule(&self, rule_config: &RuleConfig) -> CaseResult<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> crates/cli/src/verify/test_case.rs:31:5 | 31 | &self, | ^^^^^ the lifetime is elided here ... 34 | ) -> CaseResult { | ^^^^^^^^^^ the same lifetime is hidden here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 34 | ) -> CaseResult<'_> { | ++++ warning: `ast-grep` (lib) generated 5 warnings (run `cargo fix --lib -p ast-grep` to apply 3 suggestions) Finished `release` profile [optimized] target(s) in 2m 58s Compiling cc v1.0.104 Compiling proc-macro2 v1.0.82 Compiling unicode-ident v1.0.12 Compiling memchr v2.7.2 Compiling regex-syntax v0.8.5 Compiling once_cell v1.19.0 Compiling cfg-if v1.0.0 Compiling log v0.4.21 Compiling autocfg v1.3.0 Compiling wasm-bindgen-shared v0.2.92 Compiling serde v1.0.210 Compiling bumpalo v3.15.0 Compiling libc v0.2.159 Compiling hashbrown v0.14.5 Compiling wasm-bindgen v0.2.92 Compiling thiserror v1.0.64 Compiling equivalent v1.0.1 Compiling bit-vec v0.8.0 Compiling itoa v1.0.11 Compiling crossbeam-utils v0.8.19 Compiling serde_json v1.0.128 Compiling ryu v1.0.18 Compiling parking_lot_core v0.9.10 Compiling anyhow v1.0.89 Compiling scopeguard v1.2.0 Compiling smallvec v1.13.2 Compiling schemars v0.8.21 Compiling dyn-clone v1.0.17 Compiling same-file v1.0.6 Compiling unsafe-libyaml v0.2.11 Compiling pin-project-lite v0.2.14 Compiling tinyvec_macros v0.1.1 Compiling futures-core v0.3.30 Compiling futures-sink v0.3.30 Compiling futures-io v0.3.30 Compiling unicode-bidi v0.3.15 Compiling bitflags v1.3.2 Compiling futures-task v0.3.30 Compiling pin-utils v0.1.0 Compiling percent-encoding v2.3.1 Compiling httparse v1.8.0 Compiling bytes v1.6.0 Compiling signal-hook v0.3.17 Compiling tower-layer v0.3.2 Compiling anstyle v1.0.8 Compiling bitflags v2.5.0 Compiling tower-service v0.3.2 Compiling unicode-segmentation v1.11.0 Compiling utf8parse v0.2.1 Compiling colorchoice v1.0.1 Compiling anstyle-query v1.0.3 Compiling is_terminal_polyfill v1.70.0 Compiling tinyvec v1.6.0 Compiling rustix v0.38.37 Compiling linux-raw-sys v0.4.14 Compiling futures-channel v0.3.30 Compiling heck v0.5.0 Compiling clap_lex v0.7.0 Compiling walkdir v2.5.0 Compiling form_urlencoded v1.2.1 Compiling anstyle-parse v0.2.4 Compiling tracing-core v0.1.32 Compiling strsim v0.11.1 Compiling thread_local v1.1.8 Compiling libloading v0.8.5 Compiling byteorder v1.5.0 Compiling unicode-width v0.1.12 Compiling termcolor v1.4.1 Compiling predicates-core v1.0.6 Compiling ansi_term v0.12.1 Compiling doc-comment v0.3.3 Compiling similar v2.6.0 Compiling assert_cmd v2.0.16 Compiling difflib v0.4.0 Compiling normalize-line-endings v0.3.0 Compiling termtree v0.4.1 Compiling fastrand v2.1.1 Compiling bit-set v0.8.0 Compiling semver v1.0.23 Compiling napi-build v2.1.3 Compiling toml_datetime v0.6.8 Compiling anstream v0.6.14 Compiling napi-sys v2.4.0 Compiling winnow v0.6.18 Compiling fuzzy-matcher v0.3.7 Compiling predicates-tree v1.0.9 Compiling aho-corasick v1.1.3 Compiling ast-grep-napi v0.28.1 (/home/buildozer/aports/community/ast-grep/src/ast-grep-0.28.1/crates/napi) Compiling lock_api v0.4.12 Compiling slab v0.4.9 Compiling num-traits v0.2.19 Compiling fxhash v0.2.1 Compiling codespan-reporting v0.11.1 Compiling newline-converter v0.3.0 Compiling convert_case v0.6.0 Compiling clap_builder v4.5.20 Compiling tokio v1.40.0 Compiling indexmap v2.5.0 Compiling crossbeam-epoch v0.9.18 Compiling quote v1.0.36 Compiling unicode-normalization v0.1.23 Compiling crossbeam-deque v0.8.5 Compiling syn v2.0.61 Compiling tree-sitter v0.22.6 Compiling tree-sitter-typescript v0.21.2 Compiling tree-sitter-cpp v0.22.3 Compiling tree-sitter-dart v0.0.4 Compiling tree-sitter-python v0.21.0 Compiling tree-sitter-yaml v0.6.1 Compiling tree-sitter-ruby v0.21.0 Compiling tree-sitter-javascript v0.21.4 Compiling tree-sitter-bash v0.21.0 Compiling tree-sitter-java v0.21.0 Compiling tree-sitter-rust v0.21.2 Compiling tree-sitter-lua v0.1.0 Compiling tree-sitter-css v0.21.1 Compiling tree-sitter-c v0.21.4 Compiling tree-sitter-html v0.20.4 Compiling tree-sitter-go v0.21.2 Compiling tree-sitter-php v0.23.0 Compiling tree-sitter-json v0.21.0 Compiling tree-sitter-sequel v0.3.5 Compiling tree-sitter-javascript-sg v0.21.2 Compiling signal-hook-registry v1.4.2 Compiling mio v0.8.11 Compiling mio v1.0.1 Compiling atty v0.2.14 Compiling wait-timeout v0.2.0 Compiling dashmap v5.5.3 Compiling dashmap v6.1.0 Compiling parking_lot v0.12.2 Compiling idna v0.5.0 Compiling float-cmp v0.9.0 Compiling signal-hook-mio v0.2.4 Compiling crossterm v0.25.0 Compiling inquire v0.7.5 Compiling toml_edit v0.22.22 Compiling regex-automata v0.4.8 Compiling crossterm v0.28.1 Compiling tempfile v3.13.0 Compiling tokio-util v0.7.11 Compiling regex v1.11.0 Compiling bstr v1.9.1 Compiling wasm-bindgen-backend v0.2.92 Compiling serde_derive_internals v0.29.0 Compiling napi-derive-backend v1.0.74 Compiling predicates v3.1.2 Compiling globset v0.4.15 Compiling ignore v0.4.23 Compiling serde_derive v1.0.210 Compiling thiserror-impl v1.0.64 Compiling schemars_derive v0.8.21 Compiling futures-macro v0.3.30 Compiling pin-project-internal v1.1.5 Compiling tracing-attributes v0.1.27 Compiling serde_repr v0.1.19 Compiling async-trait v0.1.80 Compiling tower-lsp-macros v0.9.0 Compiling auto_impl v1.2.0 Compiling clap_derive v4.5.18 Compiling ctor v0.2.8 Compiling wasm-bindgen-macro-support v0.2.92 Compiling futures-util v0.3.30 Compiling wasm-bindgen-macro v0.2.92 Compiling napi-derive v2.16.12 Compiling tracing v0.1.40 Compiling pin-project v1.1.5 Compiling clap v4.5.20 Compiling clap_complete v4.5.33 Compiling tree-sitter-facade-sg v0.22.2 Compiling ast-grep-core v0.28.1 (/home/buildozer/aports/community/ast-grep/src/ast-grep-0.28.1/crates/core) warning: hiding a lifetime that's elided elsewhere is confusing --> crates/core/src/lib.rs:43:15 | 43 | pub fn root(&self) -> Node { | ^^^^^ ^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default help: use `'_` for type paths | 43 | pub fn root(&self) -> Node<'_, D> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> crates/core/src/matcher/pattern.rs:50:23 | 50 | pub fn fixed_string(&self) -> Cow { | ^^^^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 50 | pub fn fixed_string(&self) -> Cow<'_, str> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> crates/core/src/matcher/pattern.rs:159:23 | 159 | pub fn fixed_string(&self) -> Cow { | ^^^^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 159 | pub fn fixed_string(&self) -> Cow<'_, str> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> crates/core/src/matcher/pattern.rs:246:35 | 246 | fn single_matcher(root: &Root) -> Node { | ^^^^^^^^ ^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 246 | fn single_matcher(root: &Root) -> Node<'_, D> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> crates/core/src/replacer/indent.rs:139:51 | 139 | pub fn extract_with_deindent(content: &C, range: Range) -> DeindentedExtract { | ^^ ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 139 | pub fn extract_with_deindent(content: &C, range: Range) -> DeindentedExtract<'_, C> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> crates/core/src/source.rs:145:22 | 145 | fn decode_str(src: &str) -> Cow<[Self::Underlying]>; | ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 145 | fn decode_str(src: &str) -> Cow<'_, [Self::Underlying]>; | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> crates/core/src/source.rs:148:26 | 148 | fn encode_bytes(bytes: &[Self::Underlying]) -> Cow; | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 148 | fn encode_bytes(bytes: &[Self::Underlying]) -> Cow<'_, str>; | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> crates/core/src/source.rs:186:22 | 186 | fn decode_str(src: &str) -> Cow<[Self::Underlying]> { | ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 186 | fn decode_str(src: &str) -> Cow<'_, [Self::Underlying]> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> crates/core/src/source.rs:189:26 | 189 | fn encode_bytes(bytes: &[Self::Underlying]) -> Cow { | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 189 | fn encode_bytes(bytes: &[Self::Underlying]) -> Cow<'_, str> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> crates/core/src/traversal.rs:75:36 | 75 | pub fn visit(self, node: Node) -> Visit<'_, D, A::Traversal<'_, D>, M> | ^^^^^^^ ^^ ^^ the same lifetime is elided here | | | | | the same lifetime is elided here | the lifetime is hidden here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: consistently use `'_` | 75 | pub fn visit(self, node: Node<'_, D>) -> Visit<'_, D, A::Traversal<'_, D>, M> | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> crates/core/src/traversal.rs:135:29 | 135 | fn traverse(node: Node) -> Self::Traversal<'_, D>; | ^^^^^^^ ^^ the same lifetime is elided here | | | the lifetime is hidden here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: consistently use `'_` | 135 | fn traverse(node: Node<'_, D>) -> Self::Traversal<'_, D>; | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> crates/core/src/traversal.rs:141:29 | 141 | fn traverse(node: Node) -> Self::Traversal<'_, D> { | ^^^^^^^ ^^ the same lifetime is elided here | | | the lifetime is hidden here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: consistently use `'_` | 141 | fn traverse(node: Node<'_, D>) -> Self::Traversal<'_, D> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> crates/core/src/traversal.rs:148:29 | 148 | fn traverse(node: Node) -> Self::Traversal<'_, D> { | ^^^^^^^ ^^ the same lifetime is elided here | | | the lifetime is hidden here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: consistently use `'_` | 148 | fn traverse(node: Node<'_, D>) -> Self::Traversal<'_, D> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> crates/core/src/node.rs:52:15 | 52 | pub fn root(&self) -> Node { | ^^^^^ ^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 52 | pub fn root(&self) -> Node<'_, D> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> crates/core/src/node.rs:165:15 | 165 | pub fn kind(&self) -> Cow { | ^^^^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 165 | pub fn kind(&self) -> Cow<'_, str> { | +++ warning: `ast-grep-core` (lib) generated 15 warnings (run `cargo fix --lib -p ast-grep-core` to apply 15 suggestions) Compiling futures v0.3.30 Compiling tower v0.4.13 Compiling serde_yaml v0.9.34+deprecated Compiling ast-grep-language v0.28.1 (/home/buildozer/aports/community/ast-grep/src/ast-grep-0.28.1/crates/language) Compiling url v2.5.0 Compiling ast-grep-dynamic v0.28.1 (/home/buildozer/aports/community/ast-grep/src/ast-grep-0.28.1/crates/dynamic) warning: hiding a lifetime that's elided elsewhere is confusing --> crates/language/src/lib.rs:61:46 | 61 | fn pre_process_pattern(expando: char, query: &str) -> std::borrow::Cow { | ^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default help: use `'_` for type paths | 61 | fn pre_process_pattern(expando: char, query: &str) -> std::borrow::Cow<'_, str> { | +++ warning: `ast-grep-language` (lib) generated 1 warning (run `cargo fix --lib -p ast-grep-language` to apply 1 suggestion) warning: `ast-grep-core` (lib test) generated 15 warnings (15 duplicates) Compiling lsp-types v0.94.1 Compiling napi v2.16.11 Compiling ast-grep-config v0.28.1 (/home/buildozer/aports/community/ast-grep/src/ast-grep-0.28.1/crates/config) warning: hiding a lifetime that's elided elsewhere is confusing --> crates/config/src/combined.rs:41:32 | 41 | fn check_suppression(&mut self, node: &Node) -> MaySuppressed { | ^^^^^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default help: use `'_` for type paths | 41 | fn check_suppression(&mut self, node: &Node) -> MaySuppressed<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> crates/config/src/rule/referent_rule.rs:24:22 | 24 | pub(crate) fn read(&self) -> RwLockReadGuard> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 24 | pub(crate) fn read(&self) -> RwLockReadGuard<'_, HashMap> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> crates/config/src/rule/referent_rule.rs:27:12 | 27 | fn write(&self) -> RwLockWriteGuard> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 27 | fn write(&self) -> RwLockWriteGuard<'_, HashMap> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> crates/config/src/rule/referent_rule.rs:68:16 | 68 | fn get_local(&self) -> RwLockReadGuard>> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 68 | fn get_local(&self) -> RwLockReadGuard<'_, HashMap>> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> crates/config/src/rule/referent_rule.rs:72:17 | 72 | fn get_global(&self) -> RwLockReadGuard>> { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 72 | fn get_global(&self) -> RwLockReadGuard<'_, HashMap>> { | +++ warning: `ast-grep-language` (lib test) generated 1 warning (1 duplicate) warning: `ast-grep-config` (lib) generated 5 warnings (run `cargo fix --lib -p ast-grep-config` to apply 5 suggestions) Compiling ast-grep-py v0.28.1 (/home/buildozer/aports/community/ast-grep/src/ast-grep-0.28.1/crates/pyo3) Compiling xtask v0.0.0 (/home/buildozer/aports/community/ast-grep/src/ast-grep-0.28.1/xtask) warning: unexpected `cfg` condition value: `noop` --> crates/napi/src/lib.rs:81:1 | 81 | #[napi] | ^^^^^^^ | = note: expected values for `feature` are: `napi-noop-in-unit-test` = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate = help: try referring to `napi` crate for guidance on how handle this unexpected cfg = help: the attribute macro `napi` may come from an old version of the `napi_derive` crate, try updating your dependency with `cargo update -p napi_derive` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default = note: this warning originates in the attribute macro `napi` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition value: `noop` --> crates/napi/src/lib.rs:92:1 | 92 | #[napi(ts_return_type = "Promise")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `napi-noop-in-unit-test` = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate = help: try referring to `napi` crate for guidance on how handle this unexpected cfg = help: the attribute macro `napi` may come from an old version of the `napi_derive` crate, try updating your dependency with `cargo update -p napi_derive` = note: see for more information about checking conditional configuration = note: this warning originates in the attribute macro `napi` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition value: `noop` --> crates/napi/src/lib.rs:98:1 | 98 | #[napi] | ^^^^^^^ | = note: expected values for `feature` are: `napi-noop-in-unit-test` = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate = help: try referring to `napi` crate for guidance on how handle this unexpected cfg = help: the attribute macro `napi` may come from an old version of the `napi_derive` crate, try updating your dependency with `cargo update -p napi_derive` = note: see for more information about checking conditional configuration = note: this warning originates in the attribute macro `napi` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition value: `noop` --> crates/napi/src/lib.rs:107:1 | 107 | #[napi] | ^^^^^^^ | = note: expected values for `feature` are: `napi-noop-in-unit-test` = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate = help: try referring to `napi` crate for guidance on how handle this unexpected cfg = help: the attribute macro `napi` may come from an old version of the `napi_derive` crate, try updating your dependency with `cargo update -p napi_derive` = note: see for more information about checking conditional configuration = note: this warning originates in the attribute macro `napi` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition value: `noop` --> crates/napi/src/lib.rs:124:1 | 124 | / #[napi( 125 | | ts_args_type = "lang: Lang, config: FindConfig, callback: (err: null | Error, result: SgNode[]) => void", 126 | | ts_return_type = "Promise" 127 | | )] | |__^ | = note: expected values for `feature` are: `napi-noop-in-unit-test` = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate = help: try referring to `napi` crate for guidance on how handle this unexpected cfg = help: the attribute macro `napi` may come from an old version of the `napi_derive` crate, try updating your dependency with `cargo update -p napi_derive` = note: see for more information about checking conditional configuration = note: this warning originates in the attribute macro `napi` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition value: `noop` --> crates/napi/src/find_files.rs:89:1 | 89 | #[napi(ts_return_type = "Promise")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `napi-noop-in-unit-test` = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate = help: try referring to `napi` crate for guidance on how handle this unexpected cfg = help: the attribute macro `napi` may come from an old version of the `napi_derive` crate, try updating your dependency with `cargo update -p napi_derive` = note: see for more information about checking conditional configuration = note: this warning originates in the attribute macro `napi` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition value: `noop` --> crates/napi/src/napi_lang.rs:13:1 | 13 | #[napi(string_enum)] | ^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `napi-noop-in-unit-test` = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate = help: try referring to `napi` crate for guidance on how handle this unexpected cfg = help: the attribute macro `napi` may come from an old version of the `napi_derive` crate, try updating your dependency with `cargo update -p napi_derive` = note: see for more information about checking conditional configuration = note: this warning originates in the attribute macro `napi` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition value: `noop` --> crates/napi/src/sg_node.rs:45:1 | 45 | #[napi] | ^^^^^^^ | = note: expected values for `feature` are: `napi-noop-in-unit-test` = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate = help: try referring to `napi` crate for guidance on how handle this unexpected cfg = help: the attribute macro `napi` may come from an old version of the `napi_derive` crate, try updating your dependency with `cargo update -p napi_derive` = note: see for more information about checking conditional configuration = note: this warning originates in the attribute macro `napi` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition value: `noop` --> crates/napi/src/sg_node.rs:50:1 | 50 | #[napi] | ^^^^^^^ | = note: expected values for `feature` are: `napi-noop-in-unit-test` = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate = help: try referring to `napi` crate for guidance on how handle this unexpected cfg = help: the attribute macro `napi` may come from an old version of the `napi_derive` crate, try updating your dependency with `cargo update -p napi_derive` = note: see for more information about checking conditional configuration = note: this warning originates in the attribute macro `napi` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition value: `noop` --> crates/napi/src/sg_node.rs:86:1 | 86 | #[napi] | ^^^^^^^ | = note: expected values for `feature` are: `napi-noop-in-unit-test` = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate = help: try referring to `napi` crate for guidance on how handle this unexpected cfg = help: the attribute macro `napi` may come from an old version of the `napi_derive` crate, try updating your dependency with `cargo update -p napi_derive` = note: see for more information about checking conditional configuration = note: this warning originates in the attribute macro `napi` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition value: `noop` --> crates/napi/src/sg_node.rs:151:1 | 151 | #[napi] | ^^^^^^^ | = note: expected values for `feature` are: `napi-noop-in-unit-test` = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate = help: try referring to `napi` crate for guidance on how handle this unexpected cfg = help: the attribute macro `napi` may come from an old version of the `napi_derive` crate, try updating your dependency with `cargo update -p napi_derive` = note: see for more information about checking conditional configuration = note: this warning originates in the attribute macro `napi` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition value: `noop` --> crates/napi/src/sg_node.rs:309:1 | 309 | #[napi] | ^^^^^^^ | = note: expected values for `feature` are: `napi-noop-in-unit-test` = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate = help: try referring to `napi` crate for guidance on how handle this unexpected cfg = help: the attribute macro `napi` may come from an old version of the `napi_derive` crate, try updating your dependency with `cargo update -p napi_derive` = note: see for more information about checking conditional configuration = note: this warning originates in the attribute macro `napi` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition value: `noop` --> crates/napi/src/sg_node.rs:348:1 | 348 | #[napi] | ^^^^^^^ | = note: expected values for `feature` are: `napi-noop-in-unit-test` = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate = help: try referring to `napi` crate for guidance on how handle this unexpected cfg = help: the attribute macro `napi` may come from an old version of the `napi_derive` crate, try updating your dependency with `cargo update -p napi_derive` = note: see for more information about checking conditional configuration = note: this warning originates in the attribute macro `napi` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition value: `noop` --> crates/napi/src/sg_node.rs:351:1 | 351 | #[napi] | ^^^^^^^ | = note: expected values for `feature` are: `napi-noop-in-unit-test` = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate = help: try referring to `napi` crate for guidance on how handle this unexpected cfg = help: the attribute macro `napi` may come from an old version of the `napi_derive` crate, try updating your dependency with `cargo update -p napi_derive` = note: see for more information about checking conditional configuration = note: this warning originates in the attribute macro `napi` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition value: `noop` --> crates/napi/src/lib.rs:23:7 | 23 | #[napi] | ^^^^^^^ ... 73 | impl_lang_mod!(html, Html); | -------------------------- in this macro invocation | = note: expected values for `feature` are: `napi-noop-in-unit-test` = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate = help: try referring to `napi` crate for guidance on how handle this unexpected cfg = help: the attribute macro `napi` may come from an old version of the `napi_derive` crate, try updating your dependency with `cargo update -p napi_derive` = note: see for more information about checking conditional configuration = note: this warning originates in the attribute macro `napi` which comes from the expansion of the macro `impl_lang_mod` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition value: `noop` --> crates/napi/src/lib.rs:23:7 | 23 | #[napi] | ^^^^^^^ ... 74 | impl_lang_mod!(js, JavaScript); | ------------------------------ in this macro invocation | = note: expected values for `feature` are: `napi-noop-in-unit-test` = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate = help: try referring to `napi` crate for guidance on how handle this unexpected cfg = help: the attribute macro `napi` may come from an old version of the `napi_derive` crate, try updating your dependency with `cargo update -p napi_derive` = note: see for more information about checking conditional configuration = note: this warning originates in the attribute macro `napi` which comes from the expansion of the macro `impl_lang_mod` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition value: `noop` --> crates/napi/src/lib.rs:23:7 | 23 | #[napi] | ^^^^^^^ ... 75 | impl_lang_mod!(jsx, JavaScript); | ------------------------------- in this macro invocation | = note: expected values for `feature` are: `napi-noop-in-unit-test` = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate = help: try referring to `napi` crate for guidance on how handle this unexpected cfg = help: the attribute macro `napi` may come from an old version of the `napi_derive` crate, try updating your dependency with `cargo update -p napi_derive` = note: see for more information about checking conditional configuration = note: this warning originates in the attribute macro `napi` which comes from the expansion of the macro `impl_lang_mod` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition value: `noop` --> crates/napi/src/lib.rs:23:7 | 23 | #[napi] | ^^^^^^^ ... 76 | impl_lang_mod!(ts, TypeScript); | ------------------------------ in this macro invocation | = note: expected values for `feature` are: `napi-noop-in-unit-test` = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate = help: try referring to `napi` crate for guidance on how handle this unexpected cfg = help: the attribute macro `napi` may come from an old version of the `napi_derive` crate, try updating your dependency with `cargo update -p napi_derive` = note: see for more information about checking conditional configuration = note: this warning originates in the attribute macro `napi` which comes from the expansion of the macro `impl_lang_mod` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition value: `noop` --> crates/napi/src/lib.rs:23:7 | 23 | #[napi] | ^^^^^^^ ... 77 | impl_lang_mod!(tsx, Tsx); | ------------------------ in this macro invocation | = note: expected values for `feature` are: `napi-noop-in-unit-test` = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate = help: try referring to `napi` crate for guidance on how handle this unexpected cfg = help: the attribute macro `napi` may come from an old version of the `napi_derive` crate, try updating your dependency with `cargo update -p napi_derive` = note: see for more information about checking conditional configuration = note: this warning originates in the attribute macro `napi` which comes from the expansion of the macro `impl_lang_mod` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition value: `noop` --> crates/napi/src/lib.rs:23:7 | 23 | #[napi] | ^^^^^^^ ... 78 | impl_lang_mod!(css, Css); | ------------------------ in this macro invocation | = note: expected values for `feature` are: `napi-noop-in-unit-test` = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate = help: try referring to `napi` crate for guidance on how handle this unexpected cfg = help: the attribute macro `napi` may come from an old version of the `napi_derive` crate, try updating your dependency with `cargo update -p napi_derive` = note: see for more information about checking conditional configuration = note: this warning originates in the attribute macro `napi` which comes from the expansion of the macro `impl_lang_mod` (in Nightly builds, run with -Z macro-backtrace for more info) warning: hiding a lifetime that's elided elsewhere is confusing --> crates/napi/src/doc.rs:101:22 | 101 | fn decode_str(src: &str) -> Cow<[Self::Underlying]> { | ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default help: use `'_` for type paths | 101 | fn decode_str(src: &str) -> Cow<'_, [Self::Underlying]> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> crates/napi/src/doc.rs:106:26 | 106 | fn encode_bytes(bytes: &[Self::Underlying]) -> Cow { | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 106 | fn encode_bytes(bytes: &[Self::Underlying]) -> Cow<'_, str> { | +++ warning: `ast-grep-config` (lib test) generated 5 warnings (5 duplicates) warning: `ast-grep-napi` (lib test) generated 22 warnings (run `cargo fix --lib -p ast-grep-napi --tests` to apply 2 suggestions) Compiling tower-lsp v0.20.0 Compiling ast-grep-lsp v0.28.1 (/home/buildozer/aports/community/ast-grep/src/ast-grep-0.28.1/crates/lsp) Compiling ast-grep v0.28.1 (/home/buildozer/aports/community/ast-grep/src/ast-grep-0.28.1/crates/cli) warning: struct `LabelJSON` is never constructed --> crates/cli/src/print/json_print.rs:48:8 | 48 | struct LabelJSON<'a> { | ^^^^^^^^^ | = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default warning: creating a shared reference to mutable static --> crates/cli/src/lang/lang_globs.rs:17:17 | 17 | debug_assert!(LANG_GLOBS.is_empty()); | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static | = note: for more information, see = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default warning: hiding a lifetime that's elided elsewhere is confusing --> crates/cli/src/print/colored_print.rs:232:28 | 232 | fn adjust_dir_separator(p: &Path) -> Cow { | ^^^^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default help: use `'_` for type paths | 232 | fn adjust_dir_separator(p: &Path) -> Cow<'_, str> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> crates/cli/src/verify/test_case.rs:25:22 | 25 | pub fn verify_rule(&self, rule_config: &RuleConfig) -> CaseResult { | ^^^^^ the lifetime is elided here ^^^^^^^^^^ the same lifetime is hidden here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 25 | pub fn verify_rule(&self, rule_config: &RuleConfig) -> CaseResult<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> crates/cli/src/verify/test_case.rs:31:5 | 31 | &self, | ^^^^^ the lifetime is elided here ... 34 | ) -> CaseResult { | ^^^^^^^^^^ the same lifetime is hidden here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 34 | ) -> CaseResult<'_> { | ++++ warning: creating a shared reference to mutable static --> crates/cli/src/lang/lang_globs.rs:156:18 | 156 | assert_eq!(LANG_GLOBS.len(), 2); | ^^^^^^^^^^^^^^^^ shared reference to mutable static | = note: for more information, see = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives warning: `ast-grep` (lib) generated 5 warnings (run `cargo fix --lib -p ast-grep` to apply 3 suggestions) warning: `ast-grep` (lib test) generated 6 warnings (5 duplicates) Finished `test` profile [unoptimized + debuginfo] target(s) in 1m 07s Running unittests src/lib.rs (target/debug/deps/ast_grep-eeb43208497bfb1c) running 91 tests Cargo.toml +2 test lsp::test::test_lsp_start ... ignored, test lsp later test lang::test::test_sg_lang_size ... ok test lang::custom_lang::test::test_custom_lang ... ok test lang::lang_globs::test::test_parse_globs ... ok test lang::lang_globs::test::test_invalid_language ... ok test lang::injection::test::test_bad_inject ... ok test print::colored_print::test::test_empty_printer ... ok test lang::injection::test::test_deserialize ... ok test print::json_print::test::test_empty_printer ... ok test print::interactive_print::test::test_open_editor ... ok test print::cloud_print::test::test_hint_output ... ok test print::cloud_print::test::test_error_output ... ok test print::cloud_print::test::test_warning_output ... ok test print::cloud_print::test::test_info_output ... ok test new::test::test_create_util ... ok test new::test::test_create_new ... ok test print::cloud_print::test::test_no_match_output ... ok test lang::injection::test::test_good_injection ... ok test scan::test::test_scan_with_inline_rules_error ... ok test print::interactive_print::test::test_rewrite_with_empty_lines ... ok test print::interactive_print::test::test_rewrite_nested ... ok test lang::lang_globs::test::test_merge_types ... ok test print::interactive_print::test::test_apply_rewrite ... ok test utils::debug_query::test::test_dump_node ... ok test utils::error_context::test::test_bare_anyhow ... ok test utils::error_context::test::test_display_error ... ok test utils::error_context::test::test_display_warning ... ok test utils::debug_query::test::test_missing_node ... ok test utils::tracing::test::test_tracing ... ok test utils::tracing::test::test_tracing_nothing ... ok test print::json_print::test::test_transform ... ok test utils::test::test_html_embedding_lang_not_found ... ok test utils::test::test_html_embedding ... ok test utils::args::test::test_build_globs ... ok test verify::reporter::test::test_invalid_case_detail ... ok test verify::find_file::test::test_read_test ... ok test verify::reporter::test::test_report_summary ... ok test verify::reporter::test::test_valid_case_detail ... ok test verify::reporter::test::test_many_cases ... ok test verify::find_file::test::test_read_multi ... ok test test_cli::test_no_arg_run ... ok test verify::find_file::test::test_read_snapshot ... ok test lang::lang_globs::test::test_register ... ok test verify::case_result::test::test_snapshot ... ok test verify::snapshot::tests::test_generate ... ok test verify::test::test_run_verify_error ... ok test print::colored_print::test::test_overlap_print ... ok test print::json_print::test::test_single_matched_json ... ok test verify::snapshot::tests::test_not_found ... ok test verify::test::test_missing ... ok test verify::test::test_no_such_rule ... ok test verify::snapshot::tests::test_snapshot_action ... ok test verify::test::test_reported ... ok test verify::snapshot::tests::test_secondary_label ... ok test verify::test::test_noisy ... ok test verify::test::test_validated ... ok test print::json_print::test::test_rule_json ... ok test verify::test_case::tests::test_invalid ... ok test print::json_print::test::test_multi_matched_json ... ok test verify::test_case::tests::test_verify_snapshot_with_existing ... ok test verify::test_case::tests::test_verify_rule ... ok test test_cli::test_default_subcommand ... ok test test_cli::test_wrong_usage ... ok test verify::test_case::tests::test_verify_snapshot_without_existing ... ok test verify::test::test_verify_transform ... ok test verify::test_case::tests::test_verify_snapshot_without_existing_2 ... ok test verify::test_case::tests::test_verify_snapshot_with_mismatch ... ok test test_cli::test_version_and_help ... ok test verify::test_case::tests::test_unmatching_id - should panic ... ok test print::colored_print::test::test_print_rules ... ok test test_cli::test_shell ... ok test test_cli::test_test ... ok test print::colored_print::test::test_print_rule_diffs ... ok test print::colored_print::test::test_non_overlap_print ... ok test completions::test::test_generate_command ... ok test print::json_print::test::test_invariant ... ok test print::json_print::test::test_replace_json ... ok test print::colored_print::test::test_print_matches_without_heading ... ok test print::json_print::test::test_streaming ... ok test print::colored_print::test::test_print_diffs ... ok test print::colored_print::test::test_print_matches ... ok test lang::lang_globs::test::test_merge_with_globs ... ok test print::colored_print::test::test_before_after ... ok test run::test::test_run_with_specific_lang ... ok test test_cli::test_scan ... ok test test_cli::test_run ... ok test scan::test::test_scan_with_inline_rules_diff ... ok test scan::test::test_run_with_config ... ok test run::test::test_run_with_pattern ... ok test scan::test::test_scan_with_inline_rules ... ok test run::test::test_run_with_strictness ... ok test result: ok. 90 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.15s Running unittests src/bin/ast-grep.rs (target/debug/deps/ast_grep-ce5b2040ff6983b3) running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running unittests src/main.rs (target/debug/deps/sg-27ffa5d66e2b0d04) running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running tests/run_test.rs (target/debug/deps/run_test-e3b5aba09a4635c7) running 3 tests test test_simple_infer_lang ... ok test test_simple_specific_lang ... ok test test_js_in_html ... ok test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s Running tests/scan_test.rs (target/debug/deps/scan_test-cc0c8274be06296e) running 6 tests test test_sg_scan_py_empty_text ... ok test test_sg_scan_inline_rules ... ok test test_sg_scan_multiple_rules_in_one_file ... ok test test_sg_scan_html ... ok test test_sg_rule_off ... ok test test_sg_scan ... ok test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s Running tests/verify_test.rs (target/debug/deps/verify_test-ab2a43baa03710ac) running 3 tests Running 1 tests Running 1 tests Running 0 tests ----------- Case Details ----------- ----------- Case Details ----------- [Noisy] Expect test-rule to report no issue, but some issues found in: test result: ok. 0 passed; 0 failed; Some(123) [Missing] Expect rule test-rule to report issues, but none found in: None FAIL test-rule NM ----------- Case Details ----------- PASS test-rule .. test result: ok. 1 passed; 0 failed; test test_sg_test_error ... ok test test_sg_test ... ok Running 1 tests ----------- Case Details ----------- [Noisy] Expect test-rule to report no issue, but some issues found in: Some(123) [Missing] Expect rule test-rule to report issues, but none found in: None FAIL test-rule NM test test_sg_test_filter ... ok test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s Running unittests src/lib.rs (target/debug/deps/ast_grep_config-4a8f45c1352b9293) running 146 tests test fixer::test::test_parse_str ... ok test fixer::test::test_parse ... ok test check_var::test::test_defined_vars_in_utils ... ok test maybe::test::test_from_optio ... ok test check_var::test::test_undefined_vars_in_constraints ... ok test check_var::test::test_transform_already_defined ... ok test fixer::test::test_deserialize_object ... ok test maybe::test::test_de_correct_err ... ok test maybe::test::test_de_correct_ok ... ok test check_var::test::test_use_vars_in_utils ... ok test fixer::test::test_parse_config ... ok test check_var::test::test_defined_vars ... ok test check_var::test::test_defined_vars_cyclic ... ok test maybe::test::test_de_wrong_err ... ok test rule::nth_child::test::test_error ... ok test rule::deserialize_env::test::test_cyclic_not ... ok test rule::deserialize_env::test::test_using_cyclic_local ... ok test rule::deserialize_env::test::test_using_global_rule_in_local ... ok test check_var::test::test_undefined_vars_in_fix ... ok test fixer::test::test_relace_range ... ok test rule::nth_child::test::test_parse_selector ... ok test rule::nth_child::test::test_positional ... ok test fixer::test::test_replace_fixer ... ok test rule::nth_child::test::test_positional_an_b ... ok test rule::nth_child::test::test_defined_vars ... ok test rule::deserialize_env::test::test_using_transitive_cycle ... ok test rule::referent_rule::test::test_cyclic_all ... ok test rule::referent_rule::test::test_cyclic_error ... ok test maybe::test::test_unwrap_absent - should panic ... ok test check_var::test::test_undefined_vars_in_transform ... ok test rule::referent_rule::test::test_cyclic_not ... ok test combined::test::test_non_used_suppression ... ok test rule::deserialize_env::test::test_local_util_matches ... ok test rule::nth_child::test::test_verify_util ... ok test rule::referent_rule::test::test_success_rule ... ok test combined::test::test_ignore_node ... ok test rule::nth_child::test::test_find_index_reverse ... ok test combined::test::test_ignore_node_same_line ... ok test rule::nth_child::test::test_find_index_simple ... ok test rule::relational_rule::test::test_has_field ... ok test rule::relational_rule::test::test_invalid_field ... ok test rule::relational_rule::test::test_inside_field ... ok test rule::stop_by::test::test_relational ... ok test rule::relational_rule::test::test_defined_vars ... ok test rule::stop_by::test::test_stop_by_err ... ok test rule::stop_by::test::test_stop_by_no_defined_vars ... ok test rule::stop_by::test::test_stop_by_defined_vars ... ok test rule::test::test_augmentation ... ok test rule::stop_by::test::test_stop_by_ok ... ok test rule::nth_child::test::test_serialize ... ok test rule::nth_child::test::test_find_of_rule ... ok test rule::test::test_maybe_not ... ok test rule::test::test_multi_augmentation ... ok test rule::test::test_defined_vars ... ok test rule::test::test_deserialize_rule ... ok test rule::test::test_deserialize_order ... ok test rule::relational_rule::test::test_has_until_should_not_abort_prematurely ... ok test rule::test::test_pattern ... ok test rule::test::test_nested_augmentation ... ok test rule::test::test_precedes_follows ... ok test rule_collection::test::test_rules_for_path ... ignored test rule::relational_rule::test::test_has_rule ... ok test rule::test::test_issue_1225 ... ok test rule::test::test_issue_1164 ... ok test rule::relational_rule::test::test_has_until_should_be_inclusive ... ok test rule::relational_rule::test::test_has_immediate ... ok test rule_collection::test::test_rule_collection_get_tenured_rule ... ok test rule::relational_rule::test::test_follows_immediate ... ok test rule::relational_rule::test::test_precedes_operator ... ok test rule::relational_rule::test::test_inside_inclusive ... ok test rule::relational_rule::test::test_inside_rule ... ok test rule::relational_rule::test::test_follows_operator ... ok test rule_config::test::test_rewriter_should_have_fix ... ok test rule::relational_rule::test::test_precedes_immediate ... ok test rule_config::test::test_get_fixer ... ok test rule_config::test::test_augmented_rule ... ok test rule_config::test::test_get_message_transform ... ok test rule::relational_rule::test::test_inside_immediate ... ok test rule_config::test::test_add_rewriters ... ok test rule_config::test::test_rewriter_utils_should_not_pollute_registration ... ok test rule_config::test::test_rewriter_use_undefined_var ... ok test rule_config::test::test_rule_message ... ok test rule_config::test::test_multiple_augment_rule ... ok test rule_config::test::test_rewriter_use_upper_var ... ok test rule_collection::test::test_files_rule ... ok test rule_config::test::test_transform ... ok test rule_core::test::test_rule_error ... ok test rule_config::test::test_rule_env ... ok test rule_collection::test::test_ignore_rule ... ok test rule_core::test::test_cyclic_transform_error ... ok test rule_config::test::test_wrong_rewriter ... ok test rule_collection::test::test_rule_collection_get_contingent_rule ... ok test rule_config::test::test_utils_rule ... ok test rule_config::test::test_rewriters_access_utils ... ok test rule_core::test::test_constraints_inheriting_env ... ok test rule_core::test::test_undefined_utils_error ... ok test rule_core::test::test_utils_error ... ok test rule_config::test::test_undefined_rewriter ... ok test rule_core::test::test_rule_with_constraints ... ok test rule_config::test::test_undefined_rewriter_in_transform ... ok test rule_config::test::test_utils_in_rewriter_should_work ... ok test rule_core::test::test_constraints_writing_to_env ... ok test rule_core::test::test_rule_reg_with_utils ... ok test rule_core::test::test_rewriter_writing_to_env ... ok test rule_config::test::test_use_rewriter_recursive ... ok test transform::string_case::test::test_case_conversions ... ok test transform::string_case::test::test_format ... ok test transform::string_case::test::test_split_by_separator ... ok test test::test_deserialize_kind ... ok test transform::string_case::test::test_split ... ok test transform::test::test_single_cyclic_transform ... ok test transform::test::test_cyclic_transform ... ok test transform::rewrite::test::test_node_not_found ... ok test transform::rewrite::test::test_perform_one_rewrite ... ok test transform::rewrite::test::test_rewriters_overlapping ... ok test transform::rewrite::test::test_ignore_unused_rewriters ... ok test test::test_util_rule_with_vaargs ... ok test transform::test::test_transform_use_matched ... ok test transform::rewrite::test::test_rewriters_join_by ... ok test transform::rewrite::test::test_rewrite_use_enclosing_env ... ok test rule_collection::test::test_files_with_ignores_rule ... ok test test::test_deserialize_rule_config ... ok test transform::transformation::test::test_capitalize_convert ... ok test transform::transformation::test::test_transform_parse_error ... ok test transform::transformation::test::test_lowercase_convert ... ok test transform::transformation::test::test_wrong_rule ... ok test transform::transformation::test::test_no_start_char ... ok test transform::transformation::test::test_no_end_char ... ok test transform::transformation::test::test_separation_convert ... ok test test::test_deserialize_inside ... ok test transform::transformation::test::test_simple_replace ... ok test test::test_deserialize_not_inside ... ok test transform::transformation::test::test_uppercase_convert ... ok test transform::rewrite::test::test_perform_multiple_rewriters ... ok test transform::rewrite::test::test_rewriters_order ... ok test transform::rewrite::test::test_recursive_rewriters ... ok test rule::deserialize_env::test::test_local_util_kinds ... ok test transform::test::test_transform_indentation ... ok test transform::transformation::test::test_transform_indentation_with_insertion ... ok test transform::rewrite::test::test_should_inherit_match_env ... ok test test::test_deserialize_constraints ... ok test test::test_deserialize_meta_var ... ok test test::test_deserialize_nested ... ok test transform::transformation::test::test_dependent_trans ... ok test transform::transformation::test::test_insert_env ... ok test transform::transformation::test::test_replace ... ok test result: ok. 145 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.04s Running unittests src/lib.rs (target/debug/deps/ast_grep_core-6b25b61bb36058bf) running 144 tests test matcher::kind::test::test_kind_potential_kinds ... ok test match_tree::test::test_gh_1087 ... ok test match_tree::match_node::test::test_signature_match ... ok test match_tree::test::test_ellipsis_end ... ok test matcher::kind::test::test_kind_non_match ... ok test matcher::kind::test::test_kind_match ... ok test match_tree::test::test_match_end ... ok test matcher::node_match::test::test_node_match_as_node ... ok test match_tree::match_node::test::test_relaxed_match ... ok test matcher::pattern::test::test_bare_wildcard ... ok test match_tree::match_node::test::test_cst_match ... ok test match_tree::test::test_simple_match ... ok test match_tree::test::test_single_ellipsis ... ok test matcher::pattern::test::test_bare_wildcard_in_context ... ok test matcher::node_match::test::test_node_env ... ok test matcher::pattern::test::test_contextual_pattern_vars ... ok test matcher::pattern::test::test_contextual_potential_kinds ... ok test matcher::node_match::test::test_replace_by ... ok test matcher::pattern::test::test_contextual_wildcard ... ok test matcher::pattern::test::test_contextual_match_with_env ... ok test matcher::pattern::test::test_debug_pattern ... ok test match_tree::test::test_skip_trivial_node ... ok test matcher::pattern::test::test_doc_pattern ... ok test match_tree::test::test_match_inner ... ok test match_tree::test::test_should_exactly_match ... ok test matcher::pattern::test::test_contextual_unmatch_with_env ... ok test matcher::pattern::test::test_contextual_pattern ... ok test matcher::pattern::test::test_error_kind ... ok test matcher::pattern::test::test_extract_duplicate_meta_var ... ok test matcher::pattern::test::test_extract_complex_meta_var ... ok test matcher::pattern::test::test_extract_meta_var_from_pattern ... ok test matcher::pattern::test::test_multi_node_meta_var ... ignored test matcher::pattern::test::test_multi_node_pattern ... ignored test match_tree::test::test_nested_match ... ok test match_tree::test::test_string ... ok test matcher::pattern::test::test_match_non_atomic ... ok test match_tree::test::test_trailing_ellipsis ... ok test matcher::pattern::test::test_pattern_size ... ignored test match_tree::test::test_meta_var_named ... ok test matcher::pattern::test::test_meta_variable_env ... ok test matcher::pattern::test::test_pattern_error ... ok test matcher::pattern::test::test_class_assignment ... ok test matcher::pattern::test::test_pattern_potential_kinds ... ok test match_tree::test::test_named_ellipsis ... ok test matcher::pattern::test::test_pattern_fixed_string ... ok test matcher::pattern::test::test_gh_1087 ... ok test match_tree::test::test_leading_ellipsis ... ok test matcher::pattern::test::test_pattern_with_non_root_meta_var ... ok test matcher::pattern::test::test_pattern_should_not_pollute_env ... ok test matcher::pattern::test::test_meta_variable ... ok test match_tree::test::test_meta_var_multiple_occurrence ... ok test match_tree::test::test_trivia_in_pattern ... ok test matcher::pattern::test::test_return ... ok test meta_var::test::test_match_constraints ... ok test meta_var::test::test_match_var ... ok test meta_var::test::test_match_not_constraints ... ok test meta_var::test::test_non_ascii_meta_var ... ok test meta_var::test::test_not_meta_var ... ok test match_tree::match_node::test::test_ast_match ... ok test matcher::pattern::test::test_whitespace ... ok test node::test::test_children ... ok test node::test::test_child_by_field_id ... ok test node::test::test_empty ... ok test node::test::test_is_leaf ... ok test node::test::precedes ... ok test node::test::test_field ... ok test node::test::test_field_children ... ok test pinned::test::test_node_match ... ignored test ops::test::test_not ... ok test node::test::test_has ... ok test node::test::test_replace_all_nested ... ok test ops::test::test_any_revert_env ... ok test pinned::test::test_borrow ... ok test replacer::indent::test::test_first_line_indent_deindent ... ok test pinned::test::test_vec_node ... ok test ops::test::test_all_revert_env ... ok test replacer::indent::test::test_indent_replace ... ok test replacer::indent::test::test_leading_text_indent_replace ... ok test replacer::indent::test::test_leading_text_replace ... ok test replacer::indent::test::test_long_line_no_deindent ... ok test ops::test::test_or_revert_env ... ok test replacer::indent::test::test_malformed_deindent ... ok test replacer::indent::test::test_middle_deindent ... ok test node::test::test_inside ... ok test replacer::indent::test::test_nested_deindent ... ok test ops::test::test_all_kinds ... ok test replacer::indent::test::test_no_deindent ... ok test replacer::indent::test::test_simple_deindent ... ok test node::test::test_replace_all_multiple_sorted ... ok test replacer::indent::test::test_simple_replace ... ok test node::test::test_display_context ... ok test ops::test::test_any_kinds ... ok test replacer::indent::test::test_space_in_middle_deindent ... ok test ops::test::test_and_kinds ... ok test node::test::test_multi_line_context ... ok test node::test::follows ... ok test replacer::structural::test::test_nested_matching_replace ... ok test ops::test::test_or_kinds ... ok test replacer::structural::test::test_multi_ellipsis ... ok test node::test::test_remove ... ok test replacer::structural::test::test_replace_in_string ... ok test replacer::structural::test::test_ellipsis_meta_var ... ok test replacer::structural::test::test_no_env ... ok test replacer::template::test::test_nested_matching_replace ... ok test replacer::structural::test::test_multiple_env ... ok test replacer::template::test::test_multi_row_replace ... ok test replacer::template::test::test_multi_ellipsis ... ok test ops::test::test_and ... ok test ops::test::test_api_and ... ok test replacer::template::test::test_ellipsis_meta_var ... ok test replacer::template::test::test_no_env ... ok test replacer::template::test::test_replace_in_string ... ok test replacer::structural::test::test_single_env ... ok test replacer::template::test::test_example ... ok test replacer::template::test::test_template_vars ... ok test replacer::template::test::test_multiple_env ... ok test replacer::structural::test::test_multiple_occurrences ... ok test replacer::template::test::test_multiple_occurrences ... ok test replacer::template::test::test_single_env ... ok test source::test::test_row_col ... ok test source::test::test_object_literal ... ok test source::test::test_edit ... ok test source::test::test_string ... ok test replacer::template::test::test_template ... ok test source::test::test_tree_sitter ... ok test test::test_replace_by_rule ... ok test test::test_replace ... ok test traversal::test::test_non_root_traverse ... ok test test::test_replace_unnamed_node ... ok test test::test_replace_trivia_with_skipped ... ok test test::test_replace_trivia ... ok test traversal::test::test_fused_traversal ... ok test traversal::test::test_different_order ... ok test traversal::test::tes_pre_order ... ok test ops::test::test_multiple_match_order ... ok test traversal::test::test_post_order ... ok test meta_var::test::test_multi_var_match ... ok test ops::test::test_or ... ok test ops::test::test_multiple_match ... ok test traversal::test::test_traversal_leaf ... ok test ops::test::test_api_or ... ok test traversal::test::test_pre_order_visitor ... ok test meta_var::test::test_multi_var_match_with_trailing ... ok test traversal::test::test_post_order_visitor ... ok test result: ok. 140 passed; 0 failed; 4 ignored; 0 measured; 0 filtered out; finished in 0.04s Running unittests src/lib.rs (target/debug/deps/ast_grep_language-ff0fd72439bdf724) running 53 tests test csharp::test_c_sharp_pattern ... ignored test csharp::test_c_sharp_replace ... ignored test elixir::test_elixir_pattern ... ignored test elixir::test_elixir_replace ... ignored test elixir::test_elixir_str ... ignored test haskell::test_haskell_replace ... ignored test haskell::test_haskell_str ... ignored test kotlin::test_kotlin_pattern ... ignored test kotlin::test_kotlin_replace ... ignored test kotlin::test_kotlin_str ... ignored test bash::test_bash_pattern_no_match ... ok test html::test::test_html_extraction ... ok test php::test_php_pattern ... ok test bash::test_bash_pattern ... ok test html::test::test_explicit_lang ... ok test bash::test_bash_replace ... ok test python::test_issue_883 ... ok test go::test_go_pattern ... ok test scala::test_scala_pattern ... ignored test scala::test_scala_replace ... ignored test scala::test_scala_str ... ignored test swift::test_swift_pattern ... ignored test swift::test_swift_replace ... ignored test swift::test_swift_str ... ignored test ruby::test_ruby_tree_sitter_panic ... ok test ruby::test_ruby_pattern ... ok test test::test_guess_by_extension ... ok test json::test_json_pattern ... ok test json::test_json_str ... ok test css::test_css_pattern ... ok test css::test_css_replace ... ok test lua::test_lua_pattern ... ok test test::test_js_string ... ok test yaml::test_yaml_str ... ok test json::test_json_replace ... ok test rust::test_issue_1057 ... ok test ruby::test_ruby_replace ... ok test rust::test_rust_spread_syntax ... ok test html::test::test_html_replace ... ok test lua::test_lua_replace ... ok test rust::test_rust_pattern ... ok test go::test_go_str ... ok test rust::test_rust_wildcard_pattern ... ok test html::test::test_html_match ... ok test yaml::test_yaml_pattern ... ok test yaml::test_yaml_replace ... ok test cpp::test_cpp_pattern ... ok test python::test_python_str ... ok test python::test_python_pattern ... ok test go::test_go_replace ... ok test cpp::test_cpp_replace ... ok test python::test_python_replace ... ok test rust::test_rust_replace ... ok test result: ok. 37 passed; 0 failed; 16 ignored; 0 measured; 0 filtered out; finished in 0.02s Running unittests src/lib.rs (target/debug/deps/ast_grep_lsp-b0e6e86784ff9c4c) running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running tests/basic.rs (target/debug/deps/basic-66fb7637c53d4b2c) running 4 tests test test_code_action ... ignored, fixAll conflicts with quickfix test req_resp_should_work ... ok test test_basic ... ok test test_execute_apply_all_fixes ... ok test result: ok. 3 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.01s Running unittests src/lib.rs (target/debug/deps/ast_grep_napi-a13f915c2f825017) running 6 tests test napi_lang::test::test_from_str ... ok test napi_lang::test::test_lang_globs ... ok test doc::test::test_js_doc ... ok test doc::test::test_js_doc_multiple_node_replace ... ok test doc::test::test_js_doc_single_node_replace ... ok test napi_lang::test::test_lang_option ... ok test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.09s Running unittests src/lib.rs (target/debug/deps/ast_grep_py-e4edbeca6941b91a) running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running unittests src/main.rs (target/debug/deps/xtask-aa7b77a0d054fce0) running 1 test test schema::test::test_json_schema ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s Doc-tests ast_grep running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests ast_grep_config running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests ast_grep_core running 8 tests test crates/core/src/replacer/indent.rs - replacer::indent::get_new_line (line 104) ... ignored test crates/core/src/replacer/indent.rs - replacer::indent::get_new_line (line 16) ... ignored test crates/core/src/replacer/indent.rs - replacer::indent::get_new_line (line 28) ... ignored test crates/core/src/replacer/indent.rs - replacer::indent::get_new_line (line 55) ... ignored test crates/core/src/replacer/indent.rs - replacer::indent::get_new_line (line 63) ... ignored test crates/core/src/replacer/indent.rs - replacer::indent::get_new_line (line 74) ... ignored test crates/core/src/replacer/indent.rs - replacer::indent::get_new_line (line 81) ... ignored test crates/core/src/replacer/indent.rs - replacer::indent::get_new_line (line 94) ... ignored test result: ok. 0 passed; 0 failed; 8 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests ast_grep_language running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests ast_grep_lsp running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s >>> ast-grep: Entering fakeroot... >>> ast-grep-bash-completion*: Running split function bashcomp... 'usr/share/bash-completion/completions' -> '/home/buildozer/aports/community/ast-grep/pkg/ast-grep-bash-completion/usr/share/bash-completion/completions' >>> ast-grep-bash-completion*: Preparing subpackage ast-grep-bash-completion... >>> ast-grep-bash-completion*: Running postcheck for ast-grep-bash-completion >>> ast-grep-fish-completion*: Running split function fishcomp... 'usr/share/fish/vendor_completions.d' -> '/home/buildozer/aports/community/ast-grep/pkg/ast-grep-fish-completion/usr/share/fish/vendor_completions.d' >>> ast-grep-fish-completion*: Preparing subpackage ast-grep-fish-completion... >>> ast-grep-fish-completion*: Running postcheck for ast-grep-fish-completion >>> ast-grep-zsh-completion*: Running split function zshcomp... 'usr/share/zsh/site-functions' -> '/home/buildozer/aports/community/ast-grep/pkg/ast-grep-zsh-completion/usr/share/zsh/site-functions' >>> ast-grep-zsh-completion*: Preparing subpackage ast-grep-zsh-completion... >>> ast-grep-zsh-completion*: Running postcheck for ast-grep-zsh-completion >>> ast-grep*: Running postcheck for ast-grep >>> ast-grep*: Preparing package ast-grep... >>> ast-grep*: Stripping binaries >>> ast-grep*: Scanning shared objects >>> ast-grep-bash-completion*: Tracing dependencies... >>> ast-grep-bash-completion*: Package size: 26.8 KB >>> ast-grep-bash-completion*: Compressing data... >>> ast-grep-bash-completion*: Create checksum... >>> ast-grep-bash-completion*: Create ast-grep-bash-completion-0.28.1-r0.apk >>> ast-grep-fish-completion*: Tracing dependencies... >>> ast-grep-fish-completion*: Package size: 20.5 KB >>> ast-grep-fish-completion*: Compressing data... >>> ast-grep-fish-completion*: Create checksum... >>> ast-grep-fish-completion*: Create ast-grep-fish-completion-0.28.1-r0.apk >>> ast-grep-zsh-completion*: Tracing dependencies... >>> ast-grep-zsh-completion*: Package size: 22.9 KB >>> ast-grep-zsh-completion*: Compressing data... >>> ast-grep-zsh-completion*: Create checksum... >>> ast-grep-zsh-completion*: Create ast-grep-zsh-completion-0.28.1-r0.apk >>> ast-grep*: Tracing dependencies... so:libc.musl-x86.so.1 so:libgcc_s.so.1 >>> ast-grep*: Package size: 20.0 MB >>> ast-grep*: Compressing data... >>> ast-grep*: Create checksum... >>> ast-grep*: Create ast-grep-0.28.1-r0.apk >>> ast-grep: Build complete at Sat, 08 Nov 2025 05:08:38 +0000 elapsed time 0h 4m 26s >>> ast-grep: Cleaning up srcdir >>> ast-grep: Cleaning up pkgdir >>> ast-grep: Uninstalling dependencies... ( 1/10) Purging .makedepends-ast-grep (20251108.050422) ( 2/10) Purging cargo-auditable (0.7.1-r0) ( 3/10) Purging cargo (1.91.0-r0) ( 4/10) Purging rust (1.91.0-r0) ( 5/10) Purging llvm21-libs (21.1.2-r1) ( 6/10) Purging scudo-malloc (21.1.2-r0) ( 7/10) Purging sqlite-libs (3.51.0-r0) ( 8/10) Purging libffi (3.5.2-r0) ( 9/10) Purging libxml2 (2.13.9-r0) (10/10) Purging xz-libs (5.8.1-r0) busybox-1.37.0-r24.trigger: Executing script... OK: 426 MiB in 105 packages >>> ast-grep: Updating the community/x86 repository index... >>> ast-grep: Signing the index...