>>> ast-grep: Building community/ast-grep 0.28.1-r0 (using abuild 3.14.1-r1) started Mon, 11 Nov 2024 12:55:26 +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/8) Installing libffi (3.4.6-r0) (2/8) Installing xz-libs (5.6.3-r0) (3/8) Installing libxml2 (2.13.4-r3) (4/8) Installing llvm19-libs (19.1.2-r0) (5/8) Installing rust (1.82.0-r1) (6/8) Installing cargo (1.82.0-r1) (7/8) Installing cargo-auditable (0.6.4-r0) (8/8) Installing .makedepends-ast-grep (20241111.125527) Executing busybox-1.37.0-r6.trigger OK: 511 MiB in 109 packages >>> ast-grep: Cleaning up srcdir >>> ast-grep: Cleaning up pkgdir >>> ast-grep: Cleaning up tmpdir >>> ast-grep: Fetching https://distfiles.alpinelinux.org/distfiles/edge/ast-grep-0.28.1.tar.gz Connecting to distfiles.alpinelinux.org (172.105.82.32:443) saving to '/var/cache/distfiles/edge/ast-grep-0.28.1.tar.gz.part' ast-grep-0.28.1.tar. 100% |********************************| 835k 0:00:00 ETA '/var/cache/distfiles/edge/ast-grep-0.28.1.tar.gz.part' saved >>> ast-grep: Fetching https://distfiles.alpinelinux.org/distfiles/edge/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/edge/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 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 serde v1.0.210 Compiling wasm-bindgen-shared v0.2.92 Compiling log v0.4.21 Compiling bumpalo v3.15.0 Compiling parking_lot_core v0.9.10 Compiling once_cell v1.19.0 Compiling scopeguard v1.2.0 Compiling smallvec v1.13.2 Compiling crossbeam-utils v0.8.19 Compiling wasm-bindgen v0.2.92 Compiling pin-project-lite v0.2.14 Compiling hashbrown v0.14.5 Compiling itoa v1.0.11 Compiling futures-sink v0.3.30 Compiling ryu v1.0.18 Compiling tinyvec_macros v0.1.1 Compiling thiserror v1.0.64 Compiling serde_json v1.0.128 Compiling futures-core v0.3.30 Compiling bit-vec v0.8.0 Compiling signal-hook v0.3.17 Compiling bitflags v1.3.2 Compiling percent-encoding v2.3.1 Compiling pin-utils v0.1.0 Compiling utf8parse v0.2.1 Compiling futures-io v0.3.30 Compiling futures-task v0.3.30 Compiling unicode-bidi v0.3.15 Compiling colorchoice v1.0.1 Compiling httparse v1.8.0 Compiling anstyle v1.0.8 Compiling anstyle-query v1.0.3 Compiling anyhow v1.0.89 Compiling is_terminal_polyfill v1.70.0 Compiling same-file v1.0.6 Compiling schemars v0.8.21 Compiling dyn-clone v1.0.17 Compiling equivalent v1.0.1 Compiling tower-service v0.3.2 Compiling unsafe-libyaml v0.2.11 Compiling heck v0.5.0 Compiling rustix v0.38.37 Compiling bytes v1.6.0 Compiling clap_lex v0.7.0 Compiling bitflags v2.5.0 Compiling tower-layer v0.3.2 Compiling strsim v0.11.1 Compiling byteorder v1.5.0 Compiling unicode-segmentation v1.11.0 Compiling linux-raw-sys v0.4.14 Compiling unicode-width v0.1.12 Compiling termcolor v1.4.1 Compiling similar v2.6.0 Compiling ansi_term v0.12.1 Compiling libloading v0.8.5 Compiling anstyle-parse v0.2.4 Compiling tokio v1.40.0 Compiling tinyvec v1.6.0 Compiling walkdir v2.5.0 Compiling futures-channel v0.3.30 Compiling form_urlencoded v1.2.1 Compiling fxhash v0.2.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 codespan-reporting v0.11.1 Compiling fuzzy-matcher v0.3.7 Compiling aho-corasick v1.1.3 Compiling bstr v1.9.1 Compiling newline-converter v0.3.0 Compiling clap_builder v4.5.20 Compiling indexmap v2.5.0 Compiling crossbeam-epoch v0.9.18 Compiling quote v1.0.36 Compiling signal-hook-registry v1.4.2 Compiling mio v1.0.1 Compiling mio v0.8.11 Compiling atty v0.2.14 Compiling syn v2.0.61 Compiling unicode-normalization v0.1.23 Compiling crossbeam-deque v0.8.5 Compiling parking_lot v0.12.2 Compiling dashmap v5.5.3 Compiling dashmap v6.1.0 Compiling tree-sitter v0.22.6 Compiling tree-sitter-lua v0.1.0 Compiling tree-sitter-c v0.21.4 Compiling tree-sitter-php v0.23.0 Compiling tree-sitter-json v0.21.0 Compiling tree-sitter-cpp v0.22.3 Compiling tree-sitter-rust v0.21.2 Compiling tree-sitter-dart v0.0.4 Compiling tree-sitter-sequel v0.3.5 Compiling tree-sitter-python v0.21.0 Compiling tree-sitter-typescript v0.21.2 Compiling tree-sitter-javascript v0.21.4 Compiling tree-sitter-yaml v0.6.1 Compiling tree-sitter-go v0.21.2 Compiling tree-sitter-bash v0.21.0 Compiling tree-sitter-css v0.21.1 Compiling tree-sitter-ruby v0.21.0 Compiling tree-sitter-java v0.21.0 Compiling tree-sitter-html v0.20.4 Compiling signal-hook-mio v0.2.4 Compiling crossterm v0.25.0 Compiling crossterm v0.28.1 Compiling idna v0.5.0 Compiling inquire v0.7.5 Compiling regex-automata v0.4.8 Compiling tokio-util v0.7.11 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 wasm-bindgen-macro-support v0.2.92 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 serde_repr v0.1.19 Compiling schemars_derive v0.8.21 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 v0.2.92 Compiling futures-util v0.3.30 Compiling pin-project v1.1.5 Compiling tree-sitter-facade-sg v0.22.2 Compiling tracing v0.1.40 Compiling ast-grep-core v0.28.1 (/home/buildozer/aports/community/ast-grep/src/ast-grep-0.28.1/crates/core) Compiling clap v4.5.20 Compiling clap_complete v4.5.33 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-dynamic v0.28.1 (/home/buildozer/aports/community/ast-grep/src/ast-grep-0.28.1/crates/dynamic) Compiling ast-grep-language v0.28.1 (/home/buildozer/aports/community/ast-grep/src/ast-grep-0.28.1/crates/language) 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) Finished `release` profile [optimized] target(s) in 3m 08s 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 wasm-bindgen v0.2.92 Compiling hashbrown v0.14.5 Compiling thiserror v1.0.64 Compiling equivalent v1.0.1 Compiling bit-vec v0.8.0 Compiling itoa v1.0.11 Compiling serde_json v1.0.128 Compiling crossbeam-utils v0.8.19 Compiling ryu v1.0.18 Compiling anyhow v1.0.89 Compiling parking_lot_core v0.9.10 Compiling smallvec v1.13.2 Compiling scopeguard v1.2.0 Compiling dyn-clone v1.0.17 Compiling schemars v0.8.21 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 tinyvec_macros v0.1.1 Compiling futures-core v0.3.30 Compiling unicode-bidi v0.3.15 Compiling futures-task v0.3.30 Compiling bitflags v1.3.2 Compiling pin-utils v0.1.0 Compiling futures-io v0.3.30 Compiling percent-encoding v2.3.1 Compiling httparse v1.8.0 Compiling bytes v1.6.0 Compiling unicode-segmentation v1.11.0 Compiling tower-layer v0.3.2 Compiling bitflags v2.5.0 Compiling tower-service v0.3.2 Compiling anstyle v1.0.8 Compiling signal-hook v0.3.17 Compiling utf8parse v0.2.1 Compiling colorchoice v1.0.1 Compiling rustix v0.38.37 Compiling anstyle-query v1.0.3 Compiling is_terminal_polyfill v1.70.0 Compiling strsim v0.11.1 Compiling linux-raw-sys v0.4.14 Compiling clap_lex v0.7.0 Compiling heck v0.5.0 Compiling unicode-width v0.1.12 Compiling byteorder v1.5.0 Compiling termcolor v1.4.1 Compiling ansi_term v0.12.1 Compiling predicates-core v1.0.6 Compiling doc-comment v0.3.3 Compiling similar v2.6.0 Compiling difflib v0.4.0 Compiling normalize-line-endings v0.3.0 Compiling assert_cmd v2.0.16 Compiling termtree v0.4.1 Compiling fastrand v2.1.1 Compiling semver v1.0.23 Compiling napi-build v2.1.3 Compiling napi-sys v2.4.0 Compiling winnow v0.6.18 Compiling toml_datetime v0.6.8 Compiling libloading v0.8.5 Compiling anstyle-parse v0.2.4 Compiling tracing-core v0.1.32 Compiling thread_local v1.1.8 Compiling tinyvec v1.6.0 Compiling futures-channel v0.3.30 Compiling walkdir v2.5.0 Compiling bit-set v0.8.0 Compiling ast-grep-napi v0.28.1 (/home/buildozer/aports/community/ast-grep/src/ast-grep-0.28.1/crates/napi) Compiling form_urlencoded v1.2.1 Compiling predicates-tree v1.0.9 Compiling anstream v0.6.14 Compiling fxhash v0.2.1 Compiling fuzzy-matcher v0.3.7 Compiling codespan-reporting v0.11.1 Compiling lock_api v0.4.12 Compiling slab v0.4.9 Compiling num-traits v0.2.19 Compiling aho-corasick v1.1.3 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 quote v1.0.36 Compiling crossbeam-epoch v0.9.18 Compiling syn v2.0.61 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 crossbeam-deque v0.8.5 Compiling unicode-normalization v0.1.23 Compiling dashmap v5.5.3 Compiling dashmap v6.1.0 Compiling parking_lot v0.12.2 Compiling tree-sitter v0.22.6 Compiling tree-sitter-typescript v0.21.2 Compiling tree-sitter-java v0.21.0 Compiling tree-sitter-go v0.21.2 Compiling tree-sitter-python v0.21.0 Compiling tree-sitter-dart v0.0.4 Compiling tree-sitter-json v0.21.0 Compiling tree-sitter-javascript v0.21.4 Compiling tree-sitter-ruby v0.21.0 Compiling tree-sitter-c v0.21.4 Compiling tree-sitter-sequel v0.3.5 Compiling tree-sitter-cpp v0.22.3 Compiling tree-sitter-lua v0.1.0 Compiling tree-sitter-yaml v0.6.1 Compiling tree-sitter-css v0.21.1 Compiling tree-sitter-bash v0.21.0 Compiling tree-sitter-rust v0.21.2 Compiling tree-sitter-html v0.20.4 Compiling tree-sitter-php v0.23.0 Compiling tree-sitter-javascript-sg v0.21.2 Compiling signal-hook-mio v0.2.4 Compiling crossterm v0.25.0 Compiling float-cmp v0.9.0 Compiling idna v0.5.0 Compiling inquire v0.7.5 Compiling regex-automata v0.4.8 Compiling toml_edit v0.22.22 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 wasm-bindgen-macro-support v0.2.92 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 auto_impl v1.2.0 Compiling tower-lsp-macros v0.9.0 Compiling clap_derive v4.5.18 Compiling ctor v0.2.8 Compiling napi-derive v2.16.12 Compiling wasm-bindgen-macro v0.2.92 Compiling futures-util v0.3.30 Compiling pin-project v1.1.5 Compiling tree-sitter-facade-sg v0.22.2 Compiling tracing v0.1.40 Compiling ast-grep-core v0.28.1 (/home/buildozer/aports/community/ast-grep/src/ast-grep-0.28.1/crates/core) Compiling clap v4.5.20 Compiling clap_complete v4.5.33 Compiling tower v0.4.13 Compiling futures v0.3.30 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) 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) 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) Finished `test` profile [unoptimized + debuginfo] target(s) in 1m 17s Running unittests src/lib.rs (target/debug/deps/ast_grep-de08a87fd856da6a) 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_error_output ... ok test print::cloud_print::test::test_hint_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 scan::test::test_scan_with_inline_rules_error ... ok test utils::tracing::test::test_tracing ... ok test utils::tracing::test::test_tracing_nothing ... ok test utils::error_context::test::test_display_warning ... ok test utils::error_context::test::test_display_error ... ok test utils::debug_query::test::test_dump_node ... ok test verify::reporter::test::test_invalid_case_detail ... ok test print::cloud_print::test::test_no_match_output ... ok test utils::test::test_html_embedding_lang_not_found ... ok test verify::reporter::test::test_report_summary ... ok test verify::reporter::test::test_valid_case_detail ... ok test print::interactive_print::test::test_rewrite_nested ... ok test print::interactive_print::test::test_rewrite_with_empty_lines ... ok test lang::injection::test::test_good_injection ... ok test utils::debug_query::test::test_missing_node ... ok test verify::reporter::test::test_many_cases ... ok test lang::lang_globs::test::test_merge_types ... ok test utils::test::test_html_embedding ... ok test utils::error_context::test::test_bare_anyhow ... ok test verify::find_file::test::test_read_test ... ok test verify::find_file::test::test_read_snapshot ... ok test print::interactive_print::test::test_apply_rewrite ... ok test verify::find_file::test::test_read_multi ... ok test verify::test::test_run_verify_error ... ok test utils::args::test::test_build_globs ... ok test print::json_print::test::test_transform ... ok test verify::test::test_no_such_rule ... ok test verify::snapshot::tests::test_not_found ... ok test verify::test::test_noisy ... ok test verify::case_result::test::test_snapshot ... ok test verify::snapshot::tests::test_generate ... ok test verify::test::test_reported ... ok test verify::snapshot::tests::test_snapshot_action ... ok test verify::test::test_validated ... ok test verify::snapshot::tests::test_secondary_label ... ok test lang::lang_globs::test::test_register ... ok test verify::test_case::tests::test_unmatching_id - should panic ... ok test test_cli::test_no_arg_run ... ok test verify::test_case::tests::test_invalid ... ok test verify::test_case::tests::test_verify_rule ... ok test verify::test_case::tests::test_verify_snapshot_with_existing ... ok test verify::test::test_missing ... ok test verify::test_case::tests::test_verify_snapshot_without_existing ... ok test verify::test::test_verify_transform ... ok test print::json_print::test::test_single_matched_json ... 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 print::colored_print::test::test_overlap_print ... ok test print::json_print::test::test_rule_json ... ok test print::json_print::test::test_multi_matched_json ... ok test test_cli::test_wrong_usage ... ok test test_cli::test_default_subcommand ... ok test test_cli::test_version_and_help ... ok test print::colored_print::test::test_print_rules ... ok test test_cli::test_shell ... ok test print::colored_print::test::test_non_overlap_print ... ok test print::colored_print::test::test_print_rule_diffs ... ok test test_cli::test_test ... ok test completions::test::test_generate_command ... ok test print::json_print::test::test_invariant ... ok test print::json_print::test::test_streaming ... ok test print::json_print::test::test_replace_json ... ok test print::colored_print::test::test_print_matches_without_heading ... ok test lang::lang_globs::test::test_merge_with_globs ... ok test print::colored_print::test::test_print_matches ... ok test print::colored_print::test::test_print_diffs ... 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 scan::test::test_scan_with_inline_rules_diff ... ok test test_cli::test_run ... ok test run::test::test_run_with_strictness ... ok test scan::test::test_run_with_config ... ok test scan::test::test_scan_with_inline_rules ... ok test run::test::test_run_with_pattern ... ok test result: ok. 90 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.14s Running unittests src/bin/ast-grep.rs (target/debug/deps/ast_grep-74b6e21fee48b65e) 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-68365b39fb9c6211) 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-d7e0995a4f0d7db2) 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-e4f7723eb4371737) running 6 tests test test_sg_scan_inline_rules ... ok test test_sg_scan_py_empty_text ... 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.05s Running tests/verify_test.rs (target/debug/deps/verify_test-f84eab59d9cb0f4c) running 3 tests Running 0 tests Running 1 tests Running 1 tests ----------- Case Details ----------- test result: ok. 0 passed; 0 failed; ----------- Case Details ----------- ----------- Case Details ----------- PASS test-rule .. [Noisy] Expect test-rule to report no issue, but some issues found in: test result: ok. 1 passed; 0 failed; Some(123) [Missing] Expect rule test-rule to report issues, but none found in: None FAIL test-rule NM test test_sg_test ... ok 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.03s Running unittests src/lib.rs (target/debug/deps/ast_grep_config-c3b88f2d23a1adf8) running 146 tests test fixer::test::test_parse_str ... ok test fixer::test::test_parse ... ok test maybe::test::test_from_optio ... ok test maybe::test::test_de_correct_err ... ok test maybe::test::test_de_correct_ok ... 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_undefined_vars_in_constraints ... ok test check_var::test::test_transform_already_defined ... ok test check_var::test::test_undefined_vars_in_fix ... ok test fixer::test::test_deserialize_object ... ok test check_var::test::test_defined_vars_cyclic ... ok test check_var::test::test_defined_vars ... ok test maybe::test::test_de_wrong_err ... ok test maybe::test::test_unwrap_absent - should panic ... ok test check_var::test::test_undefined_vars_in_transform ... ok test fixer::test::test_parse_config ... ok test rule::nth_child::test::test_error ... ok test rule::deserialize_env::test::test_using_global_rule_in_local ... ok test rule::deserialize_env::test::test_cyclic_not ... ok test rule::deserialize_env::test::test_using_cyclic_local ... ok test rule::nth_child::test::test_parse_selector ... ok test fixer::test::test_relace_range ... ok test rule::nth_child::test::test_positional ... 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 rule::referent_rule::test::test_cyclic_not ... ok test fixer::test::test_replace_fixer ... ok test rule::referent_rule::test::test_success_rule ... ok test combined::test::test_non_used_suppression ... ok test rule::nth_child::test::test_verify_util ... ok test rule::deserialize_env::test::test_local_util_matches ... ok test rule::relational_rule::test::test_invalid_field ... ok test combined::test::test_ignore_node_same_line ... ok test combined::test::test_ignore_node ... ok test rule::stop_by::test::test_relational ... ok test rule::nth_child::test::test_find_index_reverse ... ok test rule::stop_by::test::test_stop_by_no_defined_vars ... ok test rule::test::test_augmentation ... ok test rule::nth_child::test::test_find_index_simple ... ok test rule::stop_by::test::test_stop_by_err ... ok test rule::relational_rule::test::test_inside_field ... ok test rule::stop_by::test::test_stop_by_ok ... ok test rule::stop_by::test::test_stop_by_defined_vars ... ok test rule_collection::test::test_rules_for_path ... ignored test rule::relational_rule::test::test_has_field ... ok test rule::test::test_maybe_not ... ok test rule::test::test_deserialize_order ... ok test rule::test::test_multi_augmentation ... ok test rule::test::test_pattern ... ok test rule::test::test_precedes_follows ... ok test rule::test::test_nested_augmentation ... ok test rule::test::test_deserialize_rule ... ok test rule::test::test_defined_vars ... ok test rule_collection::test::test_rule_collection_get_tenured_rule ... ok test rule::test::test_issue_1164 ... ok test rule::relational_rule::test::test_defined_vars ... ok test rule::nth_child::test::test_serialize ... ok test rule::test::test_issue_1225 ... ok test rule_config::test::test_rewriter_should_have_fix ... ok test rule_config::test::test_get_fixer ... ok test rule::relational_rule::test::test_has_until_should_not_abort_prematurely ... ok test rule::nth_child::test::test_find_of_rule ... 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_rule_message ... ok test rule_config::test::test_get_message_transform ... ok test rule_config::test::test_augmented_rule ... ok test rule_core::test::test_rule_error ... ok test rule_config::test::test_rewriter_use_undefined_var ... ok test rule_core::test::test_cyclic_transform_error ... ok test rule::relational_rule::test::test_has_rule ... ok test rule_config::test::test_rewriter_use_upper_var ... ok test rule::relational_rule::test::test_has_until_should_be_inclusive ... ok test rule_collection::test::test_rule_collection_get_contingent_rule ... ok test rule::relational_rule::test::test_precedes_operator ... ok test rule_core::test::test_undefined_utils_error ... ok test rule_config::test::test_rule_env ... ok test rule_config::test::test_transform ... ok test rule_core::test::test_utils_error ... ok test rule::relational_rule::test::test_inside_immediate ... ok test rule::relational_rule::test::test_inside_rule ... ok test rule_config::test::test_utils_rule ... ok test rule::relational_rule::test::test_precedes_immediate ... ok test rule::relational_rule::test::test_inside_inclusive ... ok test rule_config::test::test_multiple_augment_rule ... ok test rule_core::test::test_constraints_inheriting_env ... ok test rule_core::test::test_rule_with_constraints ... ok test rule_collection::test::test_files_rule ... ok test rule_collection::test::test_ignore_rule ... ok test rule_config::test::test_rewriters_access_utils ... ok test rule_core::test::test_rule_reg_with_utils ... ok test rule_config::test::test_undefined_rewriter ... ok test rule::relational_rule::test::test_follows_operator ... ok test rule::relational_rule::test::test_has_immediate ... ok test rule_core::test::test_constraints_writing_to_env ... ok test rule_config::test::test_undefined_rewriter_in_transform ... ok test rule_config::test::test_utils_in_rewriter_should_work ... ok test rule::relational_rule::test::test_follows_immediate ... ok test rule_config::test::test_wrong_rewriter ... ok test transform::string_case::test::test_case_conversions ... ok test rule_core::test::test_rewriter_writing_to_env ... 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 test::test_deserialize_kind ... ok test rule_config::test::test_use_rewriter_recursive ... ok test transform::test::test_single_cyclic_transform ... ok test transform::test::test_cyclic_transform ... ok test transform::test::test_transform_use_matched ... ok test test::test_util_rule_with_vaargs ... ok test transform::rewrite::test::test_node_not_found ... ok test transform::rewrite::test::test_rewriters_overlapping ... ok test transform::rewrite::test::test_perform_one_rewrite ... ok test transform::rewrite::test::test_rewriters_join_by ... ok test transform::transformation::test::test_capitalize_convert ... ok test transform::transformation::test::test_transform_parse_error ... ok test transform::rewrite::test::test_rewrite_use_enclosing_env ... ok test transform::transformation::test::test_lowercase_convert ... ok test transform::transformation::test::test_wrong_rule ... ok test rule_collection::test::test_files_with_ignores_rule ... ok test transform::transformation::test::test_no_end_char ... ok test transform::transformation::test::test_no_start_char ... ok test test::test_deserialize_rule_config ... ok test transform::transformation::test::test_separation_convert ... ok test transform::transformation::test::test_simple_replace ... ok test test::test_deserialize_inside ... ok test transform::transformation::test::test_uppercase_convert ... ok test transform::rewrite::test::test_rewriters_order ... ok test transform::rewrite::test::test_perform_multiple_rewriters ... ok test transform::rewrite::test::test_recursive_rewriters ... ok test transform::test::test_transform_indentation ... ok test test::test_deserialize_not_inside ... ok test transform::transformation::test::test_transform_indentation_with_insertion ... ok test rule::deserialize_env::test::test_local_util_kinds ... ok test transform::rewrite::test::test_should_inherit_match_env ... ok test test::test_deserialize_nested ... ok test transform::rewrite::test::test_ignore_unused_rewriters ... ok test test::test_deserialize_constraints ... ok test test::test_deserialize_meta_var ... ok test transform::transformation::test::test_replace ... ok test transform::transformation::test::test_insert_env ... ok test transform::transformation::test::test_dependent_trans ... 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-2f6433f8ca04463c) running 144 tests test match_tree::test::test_ellipsis_end ... ok test matcher::kind::test::test_kind_potential_kinds ... ok test match_tree::match_node::test::test_relaxed_match ... ok test match_tree::match_node::test::test_signature_match ... ok test match_tree::test::test_match_end ... ok test matcher::kind::test::test_kind_match ... ok test match_tree::test::test_gh_1087 ... ok test matcher::kind::test::test_kind_non_match ... ok test matcher::node_match::test::test_node_match_as_node ... ok test matcher::pattern::test::test_bare_wildcard ... ok test matcher::pattern::test::test_contextual_pattern_vars ... ok test matcher::pattern::test::test_bare_wildcard_in_context ... ok test matcher::pattern::test::test_contextual_potential_kinds ... ok test match_tree::match_node::test::test_cst_match ... ok test match_tree::test::test_simple_match ... ok test matcher::pattern::test::test_contextual_wildcard ... ok test matcher::node_match::test::test_replace_by ... 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_debug_pattern ... ok test matcher::pattern::test::test_doc_pattern ... ok test matcher::node_match::test::test_node_env ... ok test match_tree::test::test_single_ellipsis ... ok test matcher::pattern::test::test_extract_duplicate_meta_var ... ok test matcher::pattern::test::test_contextual_unmatch_with_env ... ok test matcher::pattern::test::test_extract_meta_var_from_pattern ... ok test matcher::pattern::test::test_contextual_match_with_env ... ok test matcher::pattern::test::test_contextual_pattern ... ok test matcher::pattern::test::test_pattern_size ... ignored test matcher::pattern::test::test_error_kind ... ok test matcher::pattern::test::test_extract_complex_meta_var ... ok test match_tree::test::test_skip_trivial_node ... ok test match_tree::test::test_should_exactly_match ... ok test matcher::pattern::test::test_pattern_potential_kinds ... ok test matcher::pattern::test::test_pattern_with_non_root_meta_var ... ok test meta_var::test::test_match_var ... ok test match_tree::test::test_match_inner ... ok test matcher::pattern::test::test_meta_variable_env ... ok test matcher::pattern::test::test_match_non_atomic ... ok test meta_var::test::test_non_ascii_meta_var ... ok test meta_var::test::test_not_meta_var ... ok test matcher::pattern::test::test_pattern_fixed_string ... ok test matcher::pattern::test::test_pattern_should_not_pollute_env ... ok test matcher::pattern::test::test_gh_1087 ... ok test matcher::pattern::test::test_pattern_error ... ok test match_tree::test::test_nested_match ... ok test meta_var::test::test_match_constraints ... ok test meta_var::test::test_match_not_constraints ... ok test matcher::pattern::test::test_return ... ok test node::test::test_children ... ok test match_tree::test::test_trailing_ellipsis ... ok test node::test::test_empty ... ok test match_tree::test::test_meta_var_named ... ok test match_tree::test::test_leading_ellipsis ... ok test matcher::pattern::test::test_class_assignment ... ok test match_tree::test::test_string ... ok test node::test::test_is_leaf ... ok test matcher::pattern::test::test_whitespace ... ok test matcher::pattern::test::test_meta_variable ... ok test node::test::test_child_by_field_id ... ok test node::test::test_field ... ok test match_tree::test::test_named_ellipsis ... ok test node::test::test_field_children ... ok test node::test::precedes ... ok test match_tree::test::test_trivia_in_pattern ... ok test pinned::test::test_node_match ... ignored test ops::test::test_not ... 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 node::test::test_replace_all_nested ... ok test replacer::indent::test::test_indent_replace ... ok test replacer::indent::test::test_leading_text_indent_replace ... ok test ops::test::test_any_revert_env ... ok test replacer::indent::test::test_leading_text_replace ... ok test replacer::indent::test::test_long_line_no_deindent ... ok test match_tree::test::test_meta_var_multiple_occurrence ... ok test replacer::indent::test::test_malformed_deindent ... ok test replacer::indent::test::test_middle_deindent ... ok test replacer::indent::test::test_nested_deindent ... ok test ops::test::test_all_revert_env ... 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_or_revert_env ... ok test replacer::indent::test::test_space_in_middle_deindent ... ok test match_tree::match_node::test::test_ast_match ... ok test replacer::structural::test::test_nested_matching_replace ... ok test ops::test::test_all_kinds ... ok test ops::test::test_any_kinds ... ok test node::test::test_inside ... ok test node::test::test_has ... ok test ops::test::test_and_kinds ... ok test node::test::test_replace_all_multiple_sorted ... ok test replacer::structural::test::test_multi_ellipsis ... ok test replacer::structural::test::test_replace_in_string ... ok test node::test::test_multi_line_context ... ok test replacer::template::test::test_nested_matching_replace ... ok test replacer::structural::test::test_no_env ... ok test replacer::template::test::test_multi_ellipsis ... ok test replacer::template::test::test_no_env ... ok test ops::test::test_or_kinds ... ok test replacer::template::test::test_multi_row_replace ... ok test replacer::template::test::test_replace_in_string ... ok test node::test::test_display_context ... ok test replacer::structural::test::test_ellipsis_meta_var ... ok test replacer::structural::test::test_multiple_env ... ok test replacer::template::test::test_ellipsis_meta_var ... ok test source::test::test_row_col ... ok test source::test::test_edit ... ok test source::test::test_object_literal ... ok test replacer::structural::test::test_single_env ... ok test source::test::test_string ... ok test replacer::template::test::test_single_env ... ok test replacer::template::test::test_multiple_env ... ok test source::test::test_tree_sitter ... ok test replacer::template::test::test_example ... ok test replacer::template::test::test_template ... ok test ops::test::test_and ... ok test replacer::template::test::test_template_vars ... ok test ops::test::test_api_and ... ok test replacer::structural::test::test_multiple_occurrences ... ok test node::test::follows ... ok test replacer::template::test::test_multiple_occurrences ... ok test node::test::test_remove ... ok test traversal::test::test_non_root_traverse ... ok test test::test_replace_by_rule ... ok test test::test_replace ... ok test test::test_replace_unnamed_node ... ok test test::test_replace_trivia_with_skipped ... ok test traversal::test::test_fused_traversal ... ok test test::test_replace_trivia ... ok test traversal::test::test_different_order ... ok test traversal::test::tes_pre_order ... ok test traversal::test::test_post_order ... ok test ops::test::test_multiple_match_order ... ok test meta_var::test::test_multi_var_match ... ok test traversal::test::test_traversal_leaf ... ok test ops::test::test_multiple_match ... ok test ops::test::test_api_or ... ok test ops::test::test_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-7a9101b31a770b0d) 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_replace ... ok test bash::test_bash_pattern ... ok test html::test::test_explicit_lang ... ok test php::test_php_pattern ... ok test go::test_go_pattern ... ok test css::test_css_replace ... 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 python::test_issue_883 ... ok test test::test_guess_by_extension ... ok test ruby::test_ruby_tree_sitter_panic ... ok test json::test_json_pattern ... ok test ruby::test_ruby_pattern ... ok test css::test_css_pattern ... ok test json::test_json_str ... ok test lua::test_lua_pattern ... ok test json::test_json_replace ... ok test yaml::test_yaml_str ... ok test test::test_js_string ... ok test html::test::test_html_replace ... ok test lua::test_lua_replace ... ok test go::test_go_str ... ok test rust::test_issue_1057 ... ok test html::test::test_html_match ... ok test rust::test_rust_spread_syntax ... ok test ruby::test_ruby_replace ... ok test yaml::test_yaml_pattern ... ok test yaml::test_yaml_replace ... ok test rust::test_rust_wildcard_pattern ... ok test rust::test_rust_pattern ... ok test go::test_go_replace ... ok test cpp::test_cpp_pattern ... ok test python::test_python_str ... 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-5b5fbc0dc7486ce1) 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-e28ae885eab2b450) 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.02s Running unittests src/lib.rs (target/debug/deps/ast_grep_napi-8626fb37190290d7) 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.11s Running unittests src/lib.rs (target/debug/deps/ast_grep_py-74b721833802040a) 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-a7c9c874a5abb05c) 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.01s 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-armv7.so.1 so:libgcc_s.so.1 >>> ast-grep*: Package size: 18.8 MB >>> ast-grep*: Compressing data... >>> ast-grep*: Create checksum... >>> ast-grep*: Create ast-grep-0.28.1-r0.apk >>> ast-grep: Build complete at Mon, 11 Nov 2024 12:59:57 +0000 elapsed time 0h 4m 31s >>> ast-grep: Cleaning up srcdir >>> ast-grep: Cleaning up pkgdir >>> ast-grep: Uninstalling dependencies... (1/8) Purging .makedepends-ast-grep (20241111.125527) (2/8) Purging cargo-auditable (0.6.4-r0) (3/8) Purging cargo (1.82.0-r1) (4/8) Purging rust (1.82.0-r1) (5/8) Purging llvm19-libs (19.1.2-r0) (6/8) Purging libffi (3.4.6-r0) (7/8) Purging libxml2 (2.13.4-r3) (8/8) Purging xz-libs (5.6.3-r0) Executing busybox-1.37.0-r6.trigger OK: 275 MiB in 101 packages >>> ast-grep: Updating the community/armv7 repository index... >>> ast-grep: Signing the index...