>>> ast-grep: Building community/ast-grep 0.28.1-r0 (using abuild 3.15.0_rc3-r1) started Tue, 29 Apr 2025 09:25:25 +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/9) Installing libffi (3.4.8-r0) (2/9) Installing xz-libs (5.8.1-r0) (3/9) Installing libxml2 (2.13.7-r1) (4/9) Installing llvm20-libs (20.1.3-r0) (5/9) Installing scudo-malloc (20.1.3-r0) (6/9) Installing rust (1.86.0-r2) (7/9) Installing cargo (1.86.0-r2) (8/9) Installing cargo-auditable (0.6.6-r1) (9/9) Installing .makedepends-ast-grep (20250429.092530) Executing busybox-1.37.0-r16.trigger OK: 790 MiB in 112 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.22/ast-grep-0.28.1.tar.gz Connecting to distfiles.alpinelinux.org (172.105.82.32:443) saving to '/var/cache/distfiles/v3.22/ast-grep-0.28.1.tar.gz.part' ast-grep-0.28.1.tar. 100% |********************************| 835k 0:00:00 ETA '/var/cache/distfiles/v3.22/ast-grep-0.28.1.tar.gz.part' saved >>> ast-grep: Fetching https://distfiles.alpinelinux.org/distfiles/v3.22/ast-grep-0.28.1.tar.gz >>> ast-grep: Checking sha512sums... ast-grep-0.28.1.tar.gz: OK remove-some-parsers.patch: OK >>> ast-grep: Unpacking /var/cache/distfiles/v3.22/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 tower-lsp-macros v0.9.0 Downloaded pythonize v0.22.0 Downloaded serde_derive_internals v0.29.0 Downloaded tree-sitter-html v0.20.4 Downloaded tree-sitter-yaml v0.6.1 Downloaded lsp-types v0.94.1 Downloaded clap_complete v4.5.33 Downloaded tower-lsp v0.20.0 Downloaded napi v2.16.11 Downloaded bumpalo v3.15.0 Downloaded tree-sitter-go v0.21.2 Downloaded tree-sitter-javascript v0.21.4 Downloaded tree-sitter-rust v0.21.2 Downloaded tree-sitter-typescript v0.21.2 Downloaded pyo3-macros v0.22.4 Downloaded tree-sitter-facade-sg v0.22.2 Downloaded tree-sitter-json v0.21.0 Downloaded tree-sitter-python v0.21.0 Downloaded tree-sitter-dart v0.0.4 Downloaded pyo3-build-config v0.22.4 Downloaded tree-sitter-css v0.21.1 Downloaded tree-sitter-lua v0.1.0 Downloaded pyo3-ffi v0.22.4 Downloaded pyo3-macros-backend v0.22.4 Downloaded tree-sitter-java v0.21.0 Downloaded tree-sitter-javascript-sg v0.21.2 Downloaded tree-sitter-c v0.21.4 Downloaded tree-sitter-ruby v0.21.0 Downloaded tree-sitter-elixir v0.2.0 Downloaded tree-sitter-bash v0.21.0 Downloaded tree-sitter-php v0.23.0 Downloaded pyo3 v0.22.4 Downloaded tree-sitter-swift v0.5.0 Downloaded tree-sitter-haskell v0.21.0 Downloaded tree-sitter-c-sharp v0.21.3 Downloaded tree-sitter-cpp v0.22.3 Downloaded tree-sitter-sequel v0.3.5 Downloaded tree-sitter-kotlin v0.3.8 Downloaded tree-sitter-scala v0.22.1 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 autocfg v1.3.0 Compiling libc v0.2.159 Compiling log v0.4.21 Compiling serde v1.0.210 Compiling wasm-bindgen-shared v0.2.92 Compiling once_cell v1.19.0 Compiling bumpalo v3.15.0 Compiling parking_lot_core v0.9.10 Compiling scopeguard v1.2.0 Compiling smallvec v1.13.2 Compiling crossbeam-utils v0.8.19 Compiling pin-project-lite v0.2.14 Compiling wasm-bindgen v0.2.92 Compiling hashbrown v0.14.5 Compiling itoa v1.0.11 Compiling ryu v1.0.18 Compiling futures-sink v0.3.30 Compiling futures-core v0.3.30 Compiling thiserror v1.0.64 Compiling serde_json v1.0.128 Compiling tinyvec_macros v0.1.1 Compiling signal-hook v0.3.17 Compiling bit-vec v0.8.0 Compiling unicode-bidi v0.3.15 Compiling percent-encoding v2.3.1 Compiling bitflags v1.3.2 Compiling futures-io v0.3.30 Compiling futures-task v0.3.30 Compiling utf8parse v0.2.1 Compiling pin-utils v0.1.0 Compiling same-file v1.0.6 Compiling anstyle v1.0.8 Compiling anstyle-query v1.0.3 Compiling httparse v1.8.0 Compiling colorchoice v1.0.1 Compiling dyn-clone v1.0.17 Compiling schemars v0.8.21 Compiling equivalent v1.0.1 Compiling anyhow v1.0.89 Compiling is_terminal_polyfill v1.70.0 Compiling unsafe-libyaml v0.2.11 Compiling anstyle-parse v0.2.4 Compiling tokio v1.40.0 Compiling tinyvec v1.6.0 Compiling tower-layer v0.3.2 Compiling tower-service v0.3.2 Compiling clap_lex v0.7.0 Compiling walkdir v2.5.0 Compiling heck v0.5.0 Compiling bitflags v2.5.0 Compiling rustix v0.38.37 Compiling bytes v1.6.0 Compiling strsim v0.11.1 Compiling unicode-segmentation v1.11.0 Compiling linux-raw-sys v0.4.14 Compiling futures-channel v0.3.30 Compiling form_urlencoded v1.2.1 Compiling unicode-width v0.1.12 Compiling byteorder v1.5.0 Compiling libloading v0.8.5 Compiling termcolor v1.4.1 Compiling tracing-core v0.1.32 Compiling thread_local v1.1.8 Compiling similar v2.6.0 Compiling ansi_term v0.12.1 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 aho-corasick v1.1.3 Compiling bstr v1.9.1 Compiling codespan-reporting v0.11.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 syn v2.0.61 Compiling signal-hook-registry v1.4.2 Compiling mio v1.0.1 Compiling mio v0.8.11 Compiling atty v0.2.14 Compiling unicode-normalization v0.1.23 Compiling tree-sitter v0.22.6 Compiling tree-sitter-bash v0.21.0 Compiling tree-sitter-yaml v0.6.1 Compiling tree-sitter-typescript v0.21.2 Compiling tree-sitter-python v0.21.0 Compiling tree-sitter-json v0.21.0 Compiling tree-sitter-java v0.21.0 Compiling tree-sitter-lua v0.1.0 Compiling tree-sitter-sequel v0.3.5 Compiling tree-sitter-dart v0.0.4 Compiling tree-sitter-css v0.21.1 Compiling tree-sitter-php v0.23.0 Compiling tree-sitter-ruby v0.21.0 Compiling tree-sitter-cpp v0.22.3 Compiling tree-sitter-go v0.21.2 Compiling tree-sitter-rust v0.21.2 Compiling tree-sitter-c v0.21.4 Compiling tree-sitter-html v0.20.4 Compiling tree-sitter-javascript v0.21.4 Compiling parking_lot v0.12.2 Compiling dashmap v5.5.3 Compiling dashmap v6.1.0 Compiling signal-hook-mio v0.2.4 Compiling crossterm v0.25.0 Compiling idna v0.5.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 tracing-attributes v0.1.27 Compiling schemars_derive v0.8.21 Compiling serde_repr v0.1.19 Compiling auto_impl v1.2.0 Compiling tower-lsp-macros v0.9.0 Compiling clap_derive v4.5.18 Compiling async-trait v0.1.80 Compiling wasm-bindgen-macro-support v0.2.92 Compiling futures-util v0.3.30 Compiling pin-project v1.1.5 Compiling tracing v0.1.40 Compiling wasm-bindgen-macro v0.2.92 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) Compiling futures v0.3.30 Compiling tower v0.4.13 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) 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) 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: creating a shared reference to mutable static is discouraged --> 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)]` on by default warning: `ast-grep` (lib) generated 1 warning Finished `release` profile [optimized] target(s) in 3m 17s 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 libc v0.2.159 Compiling bumpalo v3.15.0 Compiling hashbrown v0.14.5 Compiling wasm-bindgen v0.2.92 Compiling thiserror v1.0.64 Compiling bit-vec v0.8.0 Compiling equivalent v1.0.1 Compiling ryu v1.0.18 Compiling crossbeam-utils v0.8.19 Compiling serde_json v1.0.128 Compiling itoa v1.0.11 Compiling anyhow v1.0.89 Compiling parking_lot_core v0.9.10 Compiling schemars v0.8.21 Compiling smallvec v1.13.2 Compiling dyn-clone v1.0.17 Compiling scopeguard v1.2.0 Compiling unsafe-libyaml v0.2.11 Compiling same-file v1.0.6 Compiling pin-project-lite v0.2.14 Compiling futures-sink v0.3.30 Compiling futures-core v0.3.30 Compiling tinyvec_macros v0.1.1 Compiling futures-task v0.3.30 Compiling bitflags v1.3.2 Compiling pin-utils v0.1.0 Compiling unicode-bidi v0.3.15 Compiling futures-io v0.3.30 Compiling percent-encoding v2.3.1 Compiling bytes v1.6.0 Compiling httparse v1.8.0 Compiling tower-layer v0.3.2 Compiling unicode-segmentation v1.11.0 Compiling anstyle v1.0.8 Compiling bitflags v2.5.0 Compiling signal-hook v0.3.17 Compiling tower-service v0.3.2 Compiling utf8parse v0.2.1 Compiling anstyle-query v1.0.3 Compiling colorchoice v1.0.1 Compiling rustix v0.38.37 Compiling is_terminal_polyfill v1.70.0 Compiling linux-raw-sys v0.4.14 Compiling tinyvec v1.6.0 Compiling walkdir v2.5.0 Compiling tracing-core v0.1.32 Compiling futures-channel v0.3.30 Compiling anstyle-parse v0.2.4 Compiling clap_lex v0.7.0 Compiling strsim v0.11.1 Compiling heck v0.5.0 Compiling thread_local v1.1.8 Compiling libloading v0.8.5 Compiling byteorder v1.5.0 Compiling unicode-width v0.1.12 Compiling form_urlencoded v1.2.1 Compiling termcolor v1.4.1 Compiling predicates-core v1.0.6 Compiling bit-set v0.8.0 Compiling similar v2.6.0 Compiling doc-comment v0.3.3 Compiling ansi_term v0.12.1 Compiling assert_cmd v2.0.16 Compiling difflib v0.4.0 Compiling termtree v0.4.1 Compiling normalize-line-endings v0.3.0 Compiling fastrand v2.1.1 Compiling semver v1.0.23 Compiling napi-build v2.1.3 Compiling toml_datetime v0.6.8 Compiling anstream v0.6.14 Compiling fuzzy-matcher v0.3.7 Compiling napi-sys v2.4.0 Compiling winnow v0.6.18 Compiling predicates-tree v1.0.9 Compiling lock_api v0.4.12 Compiling slab v0.4.9 Compiling aho-corasick v1.1.3 Compiling num-traits v0.2.19 Compiling fxhash v0.2.1 Compiling ast-grep-napi v0.28.1 (/home/buildozer/aports/community/ast-grep/src/ast-grep-0.28.1/crates/napi) Compiling newline-converter v0.3.0 Compiling convert_case v0.6.0 Compiling codespan-reporting v0.11.1 Compiling clap_builder v4.5.20 Compiling tokio v1.40.0 Compiling indexmap v2.5.0 Compiling crossbeam-epoch v0.9.18 Compiling crossbeam-deque v0.8.5 Compiling quote v1.0.36 Compiling unicode-normalization v0.1.23 Compiling syn v2.0.61 Compiling tree-sitter v0.22.6 Compiling tree-sitter-typescript v0.21.2 Compiling tree-sitter-go v0.21.2 Compiling tree-sitter-bash v0.21.0 Compiling tree-sitter-rust v0.21.2 Compiling tree-sitter-python v0.21.0 Compiling tree-sitter-ruby v0.21.0 Compiling tree-sitter-sequel v0.3.5 Compiling tree-sitter-javascript v0.21.4 Compiling tree-sitter-css v0.21.1 Compiling tree-sitter-lua v0.1.0 Compiling tree-sitter-json v0.21.0 Compiling tree-sitter-html v0.20.4 Compiling tree-sitter-cpp v0.22.3 Compiling tree-sitter-php v0.23.0 Compiling tree-sitter-c v0.21.4 Compiling tree-sitter-java v0.21.0 Compiling tree-sitter-yaml v0.6.1 Compiling tree-sitter-dart v0.0.4 Compiling tree-sitter-javascript-sg v0.21.2 Compiling signal-hook-registry v1.4.2 Compiling mio v1.0.1 Compiling mio v0.8.11 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 signal-hook-mio v0.2.4 Compiling crossterm v0.25.0 Compiling float-cmp v0.9.0 Compiling toml_edit v0.22.22 Compiling inquire v0.7.5 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 serde_repr v0.1.19 Compiling tracing-attributes v0.1.27 Compiling async-trait v0.1.80 Compiling auto_impl v1.2.0 Compiling tower-lsp-macros v0.9.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 pin-project v1.1.5 Compiling napi-derive v2.16.12 Compiling tracing v0.1.40 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) Compiling futures v0.3.30 Compiling tower v0.4.13 Compiling serde_yaml v0.9.34+deprecated Compiling url v2.5.0 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) 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) 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: `ast-grep-napi` (lib test) generated 20 warnings 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: creating a shared reference to mutable static is discouraged --> 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)]` on by default warning: creating a shared reference to mutable static is discouraged --> 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 1 warning warning: `ast-grep` (lib test) generated 2 warnings (1 duplicate) Finished `test` profile [unoptimized + debuginfo] target(s) in 1m 11s Running unittests src/lib.rs (target/debug/deps/ast_grep-3a7387396a43a25e) 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::injection::test::test_bad_inject ... ok test lang::lang_globs::test::test_parse_globs ... 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::cloud_print::test::test_error_output ... ok test print::cloud_print::test::test_info_output ... ok test print::cloud_print::test::test_hint_output ... ok test print::cloud_print::test::test_warning_output ... ok test print::interactive_print::test::test_open_editor ... ok test new::test::test_create_util ... ok test new::test::test_create_new ... ok test lang::lang_globs::test::test_invalid_language ... ok test lang::injection::test::test_good_injection ... ok test scan::test::test_scan_with_inline_rules_error ... ok test print::cloud_print::test::test_no_match_output ... ok test print::interactive_print::test::test_rewrite_with_empty_lines ... ok test print::interactive_print::test::test_rewrite_nested ... ok test print::interactive_print::test::test_apply_rewrite ... ok test lang::lang_globs::test::test_merge_types ... ok test utils::error_context::test::test_bare_anyhow ... ok test utils::debug_query::test::test_dump_node ... ok test utils::error_context::test::test_display_error ... ok test utils::error_context::test::test_display_warning ... ok test print::json_print::test::test_transform ... 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 utils::test::test_html_embedding_lang_not_found ... ok test utils::args::test::test_build_globs ... ok test utils::test::test_html_embedding ... ok test verify::reporter::test::test_invalid_case_detail ... ok test lang::lang_globs::test::test_register ... ok test verify::reporter::test::test_report_summary ... ok test verify::reporter::test::test_valid_case_detail ... ok test test_cli::test_no_arg_run ... ok test verify::find_file::test::test_read_test ... ok test verify::reporter::test::test_many_cases ... ok test verify::find_file::test::test_read_multi ... ok test verify::find_file::test::test_read_snapshot ... ok test verify::case_result::test::test_snapshot ... ok test verify::snapshot::tests::test_generate ... ok test print::json_print::test::test_single_matched_json ... ok test verify::test::test_run_verify_error ... ok test verify::snapshot::tests::test_not_found ... ok test verify::test::test_missing ... ok test verify::test::test_no_such_rule ... ok test print::colored_print::test::test_overlap_print ... ok test verify::snapshot::tests::test_secondary_label ... ok test verify::test::test_reported ... ok test verify::snapshot::tests::test_snapshot_action ... ok test verify::test::test_noisy ... ok test print::json_print::test::test_rule_json ... ok test verify::test::test_validated ... ok test print::json_print::test::test_multi_matched_json ... ok test verify::test_case::tests::test_verify_rule ... ok test verify::test_case::tests::test_invalid ... ok test verify::test_case::tests::test_verify_snapshot_with_existing ... ok test test_cli::test_default_subcommand ... ok test verify::test_case::tests::test_verify_snapshot_without_existing ... ok test test_cli::test_wrong_usage ... ok test verify::test::test_verify_transform ... ok test verify::test_case::tests::test_verify_snapshot_with_mismatch ... ok test verify::test_case::tests::test_verify_snapshot_without_existing_2 ... ok test print::colored_print::test::test_print_rules ... ok test test_cli::test_version_and_help ... ok test verify::test_case::tests::test_unmatching_id - should panic ... ok test test_cli::test_shell ... ok test print::colored_print::test::test_print_rule_diffs ... ok test test_cli::test_test ... ok test print::colored_print::test::test_non_overlap_print ... ok test completions::test::test_generate_command ... ok test print::json_print::test::test_streaming ... ok test print::json_print::test::test_invariant ... ok test print::colored_print::test::test_print_matches_without_heading ... ok test print::json_print::test::test_replace_json ... ok test print::colored_print::test::test_print_matches ... ok test print::colored_print::test::test_print_diffs ... 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 run::test::test_run_with_strictness ... ok test run::test::test_run_with_pattern ... ok test scan::test::test_scan_with_inline_rules ... 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 result: ok. 90 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.16s Running unittests src/bin/ast-grep.rs (target/debug/deps/ast_grep-3fef40d65ba4e0db) 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-6aba24a4a5f2a9d0) 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-c0e7bb16080546a2) 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-edb772568e626132) running 6 tests test test_sg_scan_py_empty_text ... ok test test_sg_scan_inline_rules ... ok test test_sg_scan_html ... ok test test_sg_scan_multiple_rules_in_one_file ... 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.04s Running tests/verify_test.rs (target/debug/deps/verify_test-0926d95fb43eae2d) running 3 tests Running 1 tests Running 0 tests ----------- Case Details ----------- test result: ok. 0 passed; 0 failed; ----------- Case Details ----------- Running 1 tests PASS test-rule .. test result: ok. 1 passed; 0 failed; test test_sg_test ... ok ----------- 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_error ... 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.02s Running unittests src/lib.rs (target/debug/deps/ast_grep_config-45cf08ff166a3994) 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 check_var::test::test_use_vars_in_utils ... ok test check_var::test::test_transform_already_defined ... ok test fixer::test::test_deserialize_object ... ok test check_var::test::test_undefined_vars_in_constraints ... ok test maybe::test::test_de_correct_err ... ok test maybe::test::test_from_optio ... ok test check_var::test::test_defined_vars_cyclic ... ok test maybe::test::test_de_correct_ok ... ok test fixer::test::test_parse_config ... ok test check_var::test::test_defined_vars ... ok test check_var::test::test_undefined_vars_in_transform ... ok test maybe::test::test_de_wrong_err ... ok test rule::deserialize_env::test::test_cyclic_not ... ok test fixer::test::test_relace_range ... ok test rule::deserialize_env::test::test_using_cyclic_local ... ok test rule::nth_child::test::test_error ... ok test check_var::test::test_undefined_vars_in_fix ... ok test rule::deserialize_env::test::test_using_global_rule_in_local ... 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 maybe::test::test_unwrap_absent - should panic ... 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 rule::referent_rule::test::test_cyclic_not ... ok test combined::test::test_non_used_suppression ... ok test combined::test::test_ignore_node_same_line ... ok test rule::referent_rule::test::test_success_rule ... ok test combined::test::test_ignore_node ... ok test rule::deserialize_env::test::test_local_util_matches ... ok test rule::nth_child::test::test_verify_util ... ok test rule::nth_child::test::test_find_index_reverse ... ok test rule::nth_child::test::test_find_index_simple ... ok test rule::relational_rule::test::test_invalid_field ... ok test rule::relational_rule::test::test_has_field ... ok test rule::relational_rule::test::test_inside_field ... ok test rule::stop_by::test::test_relational ... ok test rule::stop_by::test::test_stop_by_err ... ok test rule::relational_rule::test::test_defined_vars ... 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::stop_by::test::test_stop_by_ok ... ok test rule::test::test_augmentation ... ok test rule::nth_child::test::test_serialize ... ok test rule::test::test_deserialize_order ... ok test rule::nth_child::test::test_find_of_rule ... ok test rule::test::test_deserialize_rule ... ok test rule::test::test_multi_augmentation ... ok test rule::test::test_maybe_not ... ok test rule::test::test_defined_vars ... 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_collection::test::test_rules_for_path ... ignored test rule::test::test_precedes_follows ... ok test rule::test::test_issue_1164 ... ok test rule::test::test_issue_1225 ... ok test rule::relational_rule::test::test_has_rule ... 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_inside_immediate ... ok test rule::relational_rule::test::test_has_until_should_be_inclusive ... ok test rule::relational_rule::test::test_follows_operator ... ok test rule::relational_rule::test::test_precedes_immediate ... ok test rule::relational_rule::test::test_inside_rule ... ok test rule::relational_rule::test::test_follows_immediate ... ok test rule_config::test::test_rewriter_should_have_fix ... ok test rule::relational_rule::test::test_inside_inclusive ... ok test rule::relational_rule::test::test_precedes_operator ... ok test rule_config::test::test_get_fixer ... ok test rule_config::test::test_rewriter_utils_should_not_pollute_registration ... ok test rule_config::test::test_augmented_rule ... ok test rule_config::test::test_add_rewriters ... ok test rule_config::test::test_get_message_transform ... ok test rule_config::test::test_rewriter_use_undefined_var ... ok test rule_config::test::test_rewriter_use_upper_var ... ok test rule_collection::test::test_rule_collection_get_contingent_rule ... ok test rule_config::test::test_rule_message ... 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_multiple_augment_rule ... ok test rule_config::test::test_wrong_rewriter ... ok test rule_config::test::test_transform ... ok test rule_collection::test::test_files_rule ... ok test rule_config::test::test_undefined_rewriter ... ok test rule_core::test::test_undefined_utils_error ... ok test rule_config::test::test_utils_rule ... ok test rule_core::test::test_rule_with_constraints ... ok test rule_core::test::test_utils_error ... ok test rule_config::test::test_rewriters_access_utils ... ok test rule_core::test::test_constraints_inheriting_env ... ok test rule_core::test::test_constraints_writing_to_env ... ok test rule_config::test::test_undefined_rewriter_in_transform ... ok test rule_core::test::test_rule_reg_with_utils ... ok test rule_config::test::test_utils_in_rewriter_should_work ... ok test rule_core::test::test_rewriter_writing_to_env ... ok test rule_config::test::test_use_rewriter_recursive ... ok test test::test_deserialize_kind ... 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 transform::string_case::test::test_split ... ok test transform::test::test_single_cyclic_transform ... ok test test::test_util_rule_with_vaargs ... ok test transform::test::test_cyclic_transform ... ok test rule::deserialize_env::test::test_local_util_kinds ... ok test rule_collection::test::test_files_with_ignores_rule ... ok test transform::rewrite::test::test_rewriters_overlapping ... ok test transform::rewrite::test::test_perform_one_rewrite ... ok test transform::test::test_transform_use_matched ... ok test transform::rewrite::test::test_node_not_found ... ok test transform::rewrite::test::test_rewriters_join_by ... ok test transform::transformation::test::test_capitalize_convert ... ok test transform::rewrite::test::test_rewrite_use_enclosing_env ... ok test test::test_deserialize_rule_config ... ok test transform::rewrite::test::test_ignore_unused_rewriters ... ok test transform::transformation::test::test_transform_parse_error ... ok test transform::transformation::test::test_lowercase_convert ... ok test transform::transformation::test::test_no_end_char ... ok test transform::transformation::test::test_wrong_rule ... ok test transform::transformation::test::test_no_start_char ... ok test transform::rewrite::test::test_rewriters_order ... ok test test::test_deserialize_inside ... ok test transform::transformation::test::test_separation_convert ... ok test transform::transformation::test::test_uppercase_convert ... ok test transform::transformation::test::test_simple_replace ... ok test transform::rewrite::test::test_perform_multiple_rewriters ... ok test transform::test::test_transform_indentation ... ok test test::test_deserialize_not_inside ... ok test transform::rewrite::test::test_recursive_rewriters ... ok test transform::rewrite::test::test_should_inherit_match_env ... ok test test::test_deserialize_nested ... ok test transform::transformation::test::test_transform_indentation_with_insertion ... ok test test::test_deserialize_constraints ... ok test test::test_deserialize_meta_var ... ok test transform::transformation::test::test_insert_env ... ok test transform::transformation::test::test_dependent_trans ... 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-afeeecc43d5ea388) running 144 tests test match_tree::test::test_ellipsis_end ... ok test match_tree::test::test_gh_1087 ... ok test matcher::kind::test::test_kind_potential_kinds ... ok test matcher::kind::test::test_kind_non_match ... ok test match_tree::match_node::test::test_signature_match ... ok test match_tree::match_node::test::test_relaxed_match ... ok test matcher::node_match::test::test_node_match_as_node ... ok test matcher::kind::test::test_kind_match ... ok test matcher::pattern::test::test_bare_wildcard ... ok test match_tree::test::test_match_end ... ok test matcher::pattern::test::test_bare_wildcard_in_context ... ok test match_tree::match_node::test::test_cst_match ... ok test matcher::pattern::test::test_contextual_pattern_vars ... ok test match_tree::test::test_simple_match ... ok test match_tree::test::test_single_ellipsis ... ok test matcher::pattern::test::test_contextual_potential_kinds ... ok test matcher::node_match::test::test_node_env ... ok test matcher::pattern::test::test_contextual_wildcard ... ok test matcher::node_match::test::test_replace_by ... ok test matcher::pattern::test::test_doc_pattern ... ok test matcher::pattern::test::test_multi_node_meta_var ... ignored test matcher::pattern::test::test_multi_node_pattern ... ignored test matcher::pattern::test::test_contextual_match_with_env ... ok test match_tree::test::test_skip_trivial_node ... 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_debug_pattern ... ok test matcher::pattern::test::test_extract_duplicate_meta_var ... ok test matcher::pattern::test::test_extract_meta_var_from_pattern ... ok test match_tree::test::test_match_inner ... ok test matcher::pattern::test::test_contextual_pattern ... ok test matcher::pattern::test::test_error_kind ... ok test matcher::pattern::test::test_extract_complex_meta_var ... ok test matcher::pattern::test::test_match_non_atomic ... ok test matcher::pattern::test::test_pattern_size ... ignored test matcher::pattern::test::test_meta_variable_env ... ok test match_tree::test::test_nested_match ... ok test matcher::pattern::test::test_pattern_potential_kinds ... ok test matcher::pattern::test::test_pattern_fixed_string ... ok test matcher::pattern::test::test_pattern_error ... ok test matcher::pattern::test::test_gh_1087 ... ok test match_tree::test::test_trailing_ellipsis ... ok test match_tree::test::test_leading_ellipsis ... ok test match_tree::test::test_meta_var_named ... ok test matcher::pattern::test::test_pattern_should_not_pollute_env ... ok test matcher::pattern::test::test_pattern_with_non_root_meta_var ... ok test match_tree::test::test_string ... ok test match_tree::test::test_named_ellipsis ... ok test matcher::pattern::test::test_class_assignment ... ok test meta_var::test::test_match_var ... ok test matcher::pattern::test::test_return ... ok test matcher::pattern::test::test_meta_variable ... ok test meta_var::test::test_match_constraints ... ok test meta_var::test::test_match_not_constraints ... ok test match_tree::test::test_trivia_in_pattern ... ok test meta_var::test::test_non_ascii_meta_var ... ok test matcher::pattern::test::test_whitespace ... ok test meta_var::test::test_not_meta_var ... ok test match_tree::test::test_meta_var_multiple_occurrence ... ok test node::test::test_children ... ok test node::test::test_empty ... ok test node::test::test_child_by_field_id ... ok test node::test::test_is_leaf ... ok test node::test::test_field ... ok test node::test::test_field_children ... ok test node::test::precedes ... ok test match_tree::match_node::test::test_ast_match ... ok test node::test::test_replace_all_nested ... ok test pinned::test::test_node_match ... ignored test ops::test::test_any_revert_env ... ok test ops::test::test_not ... ok test replacer::indent::test::test_first_line_indent_deindent ... ok test node::test::test_has ... ok test pinned::test::test_vec_node ... ok test pinned::test::test_borrow ... ok test replacer::indent::test::test_indent_replace ... ok test replacer::indent::test::test_leading_text_indent_replace ... ok test ops::test::test_all_revert_env ... ok test replacer::indent::test::test_leading_text_replace ... ok test replacer::indent::test::test_long_line_no_deindent ... ok test replacer::indent::test::test_malformed_deindent ... ok test ops::test::test_or_revert_env ... ok test ops::test::test_all_kinds ... ok test replacer::indent::test::test_middle_deindent ... ok test node::test::test_replace_all_multiple_sorted ... ok test node::test::test_inside ... ok test replacer::indent::test::test_nested_deindent ... ok test replacer::indent::test::test_no_deindent ... ok test replacer::indent::test::test_simple_deindent ... ok test replacer::indent::test::test_simple_replace ... ok test ops::test::test_and_kinds ... ok test replacer::indent::test::test_space_in_middle_deindent ... ok test node::test::test_display_context ... ok test ops::test::test_any_kinds ... ok test node::test::test_multi_line_context ... ok test replacer::structural::test::test_nested_matching_replace ... ok test node::test::follows ... ok test replacer::structural::test::test_multi_ellipsis ... ok test ops::test::test_or_kinds ... ok test replacer::structural::test::test_replace_in_string ... ok test ops::test::test_and ... ok test replacer::structural::test::test_no_env ... ok test replacer::structural::test::test_ellipsis_meta_var ... ok test replacer::template::test::test_nested_matching_replace ... ok test replacer::template::test::test_multi_ellipsis ... ok test replacer::template::test::test_multi_row_replace ... ok test node::test::test_remove ... ok test replacer::template::test::test_ellipsis_meta_var ... ok test replacer::structural::test::test_single_env ... ok test replacer::structural::test::test_multiple_env ... ok test replacer::template::test::test_no_env ... ok test replacer::template::test::test_replace_in_string ... 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 ops::test::test_api_and ... ok test replacer::template::test::test_single_env ... ok test source::test::test_row_col ... ok test replacer::template::test::test_multiple_occurrences ... ok test source::test::test_edit ... ok test source::test::test_object_literal ... ok test source::test::test_tree_sitter ... ok test source::test::test_string ... ok test replacer::template::test::test_template ... ok test traversal::test::test_non_root_traverse ... ok test test::test_replace ... ok test test::test_replace_by_rule ... 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_different_order ... ok test traversal::test::test_fused_traversal ... ok test traversal::test::test_post_order ... ok test traversal::test::tes_pre_order ... ok test meta_var::test::test_multi_var_match ... ok test ops::test::test_multiple_match_order ... 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 ops::test::test_or ... 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.05s Running unittests src/lib.rs (target/debug/deps/ast_grep_language-73d295366413bdea) 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 bash::test_bash_pattern ... ok test bash::test_bash_replace ... ok test html::test::test_explicit_lang ... ok test php::test_php_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 python::test_issue_883 ... ok test go::test_go_pattern ... ok test ruby::test_ruby_pattern ... ok test test::test_guess_by_extension ... ok test json::test_json_pattern ... ok test css::test_css_pattern ... ok test css::test_css_replace ... ok test json::test_json_str ... ok test test::test_js_string ... ok test json::test_json_replace ... ok test rust::test_issue_1057 ... ok test yaml::test_yaml_str ... ok test html::test::test_html_replace ... ok test lua::test_lua_pattern ... ok test rust::test_rust_spread_syntax ... ok test ruby::test_ruby_replace ... ok test rust::test_rust_pattern ... ok test rust::test_rust_wildcard_pattern ... ok test go::test_go_str ... ok test lua::test_lua_replace ... ok test html::test::test_html_match ... ok test yaml::test_yaml_pattern ... ok test yaml::test_yaml_replace ... ok test go::test_go_replace ... ok test python::test_python_str ... ok test cpp::test_cpp_pattern ... ok test python::test_python_pattern ... 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-3b766c96bdf24db3) 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-bad96b9ce455568c) 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-1a455295eb324e33) 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-468aaa324f8191f6) 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-ff6e002824018bdc) 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-bash-completion*: Scanning shared objects >>> ast-grep-fish-completion*: Scanning shared objects >>> ast-grep-zsh-completion*: Scanning shared objects >>> 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 Tue, 29 Apr 2025 09:30:09 +0000 elapsed time 0h 4m 44s >>> ast-grep: Cleaning up srcdir >>> ast-grep: Cleaning up pkgdir >>> ast-grep: Uninstalling dependencies... (1/9) Purging .makedepends-ast-grep (20250429.092530) (2/9) Purging cargo-auditable (0.6.6-r1) (3/9) Purging cargo (1.86.0-r2) (4/9) Purging rust (1.86.0-r2) (5/9) Purging llvm20-libs (20.1.3-r0) (6/9) Purging scudo-malloc (20.1.3-r0) (7/9) Purging libffi (3.4.8-r0) (8/9) Purging libxml2 (2.13.7-r1) (9/9) Purging xz-libs (5.8.1-r0) Executing busybox-1.37.0-r16.trigger OK: 400 MiB in 103 packages >>> ast-grep: Updating the community/x86 repository index... >>> ast-grep: Signing the index...