>>> 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/9) Installing libffi (3.4.6-r0) (2/9) Installing xz-libs (5.6.3-r0) (3/9) Installing libxml2 (2.13.4-r3) (4/9) Installing llvm19-libs (19.1.2-r0) (5/9) Installing scudo-malloc (19.1.2-r0) (6/9) Installing rust (1.82.0-r1) (7/9) Installing cargo (1.82.0-r1) (8/9) Installing cargo-auditable (0.6.4-r0) (9/9) Installing .makedepends-ast-grep (20241111.125527) Executing busybox-1.37.0-r6.trigger OK: 771 MiB in 115 packages >>> ast-grep: Cleaning up srcdir >>> ast-grep: Cleaning up pkgdir >>> ast-grep: Cleaning up tmpdir >>> ast-grep: Fetching https://distfiles.alpinelinux.org/distfiles/edge/ast-grep-0.28.1.tar.gz >>> 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 libc v0.2.159 Compiling autocfg v1.3.0 Compiling wasm-bindgen-shared v0.2.92 Compiling log v0.4.21 Compiling serde v1.0.210 Compiling parking_lot_core v0.9.10 Compiling bumpalo v3.15.0 Compiling once_cell v1.19.0 Compiling crossbeam-utils v0.8.19 Compiling smallvec v1.13.2 Compiling scopeguard v1.2.0 Compiling pin-project-lite v0.2.14 Compiling wasm-bindgen v0.2.92 Compiling serde_json v1.0.128 Compiling futures-sink v0.3.30 Compiling futures-core v0.3.30 Compiling itoa v1.0.11 Compiling ryu v1.0.18 Compiling thiserror v1.0.64 Compiling tinyvec_macros v0.1.1 Compiling hashbrown v0.14.5 Compiling signal-hook v0.3.17 Compiling bit-vec v0.8.0 Compiling utf8parse v0.2.1 Compiling unicode-bidi v0.3.15 Compiling pin-utils v0.1.0 Compiling bitflags v1.3.2 Compiling futures-task v0.3.30 Compiling futures-io v0.3.30 Compiling percent-encoding v2.3.1 Compiling colorchoice v1.0.1 Compiling anyhow v1.0.89 Compiling dyn-clone v1.0.17 Compiling is_terminal_polyfill v1.70.0 Compiling schemars v0.8.21 Compiling anstyle-query v1.0.3 Compiling equivalent v1.0.1 Compiling same-file v1.0.6 Compiling httparse v1.8.0 Compiling anstyle v1.0.8 Compiling rustix v0.38.37 Compiling heck v0.5.0 Compiling tower-layer v0.3.2 Compiling bitflags v2.5.0 Compiling unsafe-libyaml v0.2.11 Compiling clap_lex v0.7.0 Compiling tower-service v0.3.2 Compiling strsim v0.11.1 Compiling bytes v1.6.0 Compiling byteorder v1.5.0 Compiling linux-raw-sys v0.4.14 Compiling unicode-width v0.1.12 Compiling unicode-segmentation v1.11.0 Compiling termcolor v1.4.1 Compiling similar v2.6.0 Compiling ansi_term v0.12.1 Compiling tinyvec v1.6.0 Compiling tokio v1.40.0 Compiling tracing-core v0.1.32 Compiling lock_api v0.4.12 Compiling slab v0.4.9 Compiling futures-channel v0.3.30 Compiling anstyle-parse v0.2.4 Compiling walkdir v2.5.0 Compiling thread_local v1.1.8 Compiling libloading v0.8.5 Compiling aho-corasick v1.1.3 Compiling bstr v1.9.1 Compiling bit-set v0.8.0 Compiling form_urlencoded v1.2.1 Compiling fxhash v0.2.1 Compiling anstream v0.6.14 Compiling codespan-reporting v0.11.1 Compiling fuzzy-matcher v0.3.7 Compiling newline-converter v0.3.0 Compiling clap_builder v4.5.20 Compiling quote v1.0.36 Compiling tree-sitter v0.22.6 Compiling tree-sitter-php v0.23.0 Compiling tree-sitter-ruby v0.21.0 Compiling tree-sitter-javascript v0.21.4 Compiling tree-sitter-yaml v0.6.1 Compiling tree-sitter-json v0.21.0 Compiling tree-sitter-bash v0.21.0 Compiling tree-sitter-sequel v0.3.5 Compiling tree-sitter-python v0.21.0 Compiling tree-sitter-go v0.21.2 Compiling tree-sitter-lua v0.1.0 Compiling tree-sitter-typescript v0.21.2 Compiling tree-sitter-java v0.21.0 Compiling tree-sitter-dart v0.0.4 Compiling tree-sitter-rust v0.21.2 Compiling tree-sitter-css v0.21.1 Compiling tree-sitter-cpp v0.22.3 Compiling tree-sitter-c v0.21.4 Compiling tree-sitter-html v0.20.4 Compiling indexmap v2.5.0 Compiling syn v2.0.61 Compiling crossbeam-epoch v0.9.18 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 crossbeam-deque v0.8.5 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 crossterm v0.28.1 Compiling idna v0.5.0 Compiling regex-automata v0.4.8 Compiling inquire v0.7.5 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 clap_derive v4.5.18 Compiling auto_impl v1.2.0 Compiling tower-lsp-macros v0.9.0 Compiling async-trait v0.1.80 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 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 2m 45s Compiling cc v1.0.104 Compiling proc-macro2 v1.0.82 Compiling unicode-ident v1.0.12 Compiling memchr v2.7.2 Compiling regex-syntax v0.8.5 Compiling once_cell v1.19.0 Compiling cfg-if v1.0.0 Compiling log v0.4.21 Compiling autocfg v1.3.0 Compiling wasm-bindgen-shared v0.2.92 Compiling serde v1.0.210 Compiling bumpalo v3.15.0 Compiling libc v0.2.159 Compiling hashbrown v0.14.5 Compiling wasm-bindgen v0.2.92 Compiling thiserror v1.0.64 Compiling bit-vec v0.8.0 Compiling equivalent v1.0.1 Compiling crossbeam-utils v0.8.19 Compiling serde_json v1.0.128 Compiling itoa v1.0.11 Compiling ryu v1.0.18 Compiling anyhow v1.0.89 Compiling parking_lot_core v0.9.10 Compiling dyn-clone v1.0.17 Compiling schemars v0.8.21 Compiling scopeguard v1.2.0 Compiling smallvec v1.13.2 Compiling unsafe-libyaml v0.2.11 Compiling same-file v1.0.6 Compiling pin-project-lite v0.2.14 Compiling tinyvec_macros v0.1.1 Compiling futures-core v0.3.30 Compiling futures-sink v0.3.30 Compiling futures-io v0.3.30 Compiling unicode-bidi v0.3.15 Compiling bitflags v1.3.2 Compiling futures-task v0.3.30 Compiling pin-utils v0.1.0 Compiling percent-encoding v2.3.1 Compiling bytes v1.6.0 Compiling httparse v1.8.0 Compiling anstyle v1.0.8 Compiling tower-service v0.3.2 Compiling unicode-segmentation v1.11.0 Compiling tower-layer v0.3.2 Compiling bitflags v2.5.0 Compiling signal-hook v0.3.17 Compiling utf8parse v0.2.1 Compiling is_terminal_polyfill v1.70.0 Compiling colorchoice v1.0.1 Compiling anstyle-query v1.0.3 Compiling rustix v0.38.37 Compiling heck v0.5.0 Compiling clap_lex v0.7.0 Compiling linux-raw-sys v0.4.14 Compiling strsim v0.11.1 Compiling byteorder v1.5.0 Compiling unicode-width v0.1.12 Compiling termcolor v1.4.1 Compiling predicates-core v1.0.6 Compiling ansi_term v0.12.1 Compiling doc-comment v0.3.3 Compiling similar v2.6.0 Compiling difflib v0.4.0 Compiling termtree v0.4.1 Compiling assert_cmd v2.0.16 Compiling normalize-line-endings v0.3.0 Compiling fastrand v2.1.1 Compiling semver v1.0.23 Compiling napi-build v2.1.3 Compiling winnow v0.6.18 Compiling napi-sys v2.4.0 Compiling toml_datetime v0.6.8 Compiling libloading v0.8.5 Compiling walkdir v2.5.0 Compiling tinyvec v1.6.0 Compiling tracing-core v0.1.32 Compiling form_urlencoded v1.2.1 Compiling thread_local v1.1.8 Compiling ast-grep-napi v0.28.1 (/home/buildozer/aports/community/ast-grep/src/ast-grep-0.28.1/crates/napi) Compiling anstyle-parse v0.2.4 Compiling futures-channel v0.3.30 Compiling predicates-tree v1.0.9 Compiling lock_api v0.4.12 Compiling slab v0.4.9 Compiling num-traits v0.2.19 Compiling fuzzy-matcher v0.3.7 Compiling anstream v0.6.14 Compiling codespan-reporting v0.11.1 Compiling bit-set v0.8.0 Compiling fxhash v0.2.1 Compiling aho-corasick v1.1.3 Compiling newline-converter v0.3.0 Compiling convert_case v0.6.0 Compiling tokio v1.40.0 Compiling clap_builder v4.5.20 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 v1.0.1 Compiling mio v0.8.11 Compiling atty v0.2.14 Compiling wait-timeout v0.2.0 Compiling crossbeam-deque v0.8.5 Compiling tree-sitter v0.22.6 Compiling tree-sitter-typescript v0.21.2 Compiling tree-sitter-cpp v0.22.3 Compiling tree-sitter-sequel v0.3.5 Compiling tree-sitter-c v0.21.4 Compiling tree-sitter-rust v0.21.2 Compiling tree-sitter-yaml v0.6.1 Compiling tree-sitter-dart v0.0.4 Compiling tree-sitter-python v0.21.0 Compiling tree-sitter-json v0.21.0 Compiling tree-sitter-bash v0.21.0 Compiling tree-sitter-java v0.21.0 Compiling tree-sitter-ruby v0.21.0 Compiling tree-sitter-lua v0.1.0 Compiling tree-sitter-php v0.23.0 Compiling tree-sitter-go v0.21.2 Compiling tree-sitter-html v0.20.4 Compiling tree-sitter-css v0.21.1 Compiling tree-sitter-javascript v0.21.4 Compiling tree-sitter-javascript-sg v0.21.2 Compiling unicode-normalization v0.1.23 Compiling dashmap v5.5.3 Compiling dashmap v6.1.0 Compiling parking_lot v0.12.2 Compiling signal-hook-mio v0.2.4 Compiling float-cmp v0.9.0 Compiling crossterm v0.25.0 Compiling idna v0.5.0 Compiling inquire v0.7.5 Compiling toml_edit v0.22.22 Compiling regex-automata v0.4.8 Compiling crossterm v0.28.1 Compiling tempfile v3.13.0 Compiling tokio-util v0.7.11 Compiling regex v1.11.0 Compiling bstr v1.9.1 Compiling wasm-bindgen-backend v0.2.92 Compiling serde_derive_internals v0.29.0 Compiling napi-derive-backend v1.0.74 Compiling predicates v3.1.2 Compiling globset v0.4.15 Compiling ignore v0.4.23 Compiling serde_derive v1.0.210 Compiling thiserror-impl v1.0.64 Compiling schemars_derive v0.8.21 Compiling futures-macro v0.3.30 Compiling pin-project-internal v1.1.5 Compiling tracing-attributes v0.1.27 Compiling serde_repr v0.1.19 Compiling async-trait v0.1.80 Compiling tower-lsp-macros v0.9.0 Compiling auto_impl v1.2.0 Compiling clap_derive v4.5.18 Compiling ctor v0.2.8 Compiling wasm-bindgen-macro-support v0.2.92 Compiling futures-util v0.3.30 Compiling napi-derive v2.16.12 Compiling wasm-bindgen-macro v0.2.92 Compiling pin-project v1.1.5 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 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 xtask v0.0.0 (/home/buildozer/aports/community/ast-grep/src/ast-grep-0.28.1/xtask) Compiling ast-grep-py v0.28.1 (/home/buildozer/aports/community/ast-grep/src/ast-grep-0.28.1/crates/pyo3) 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 03s Running unittests src/lib.rs (target/debug/deps/ast_grep-5dfeda01798bf448) 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::injection::test::test_bad_inject ... ok test print::colored_print::test::test_empty_printer ... ok test lang::injection::test::test_deserialize ... ok test print::json_print::test::test_empty_printer ... ok test print::interactive_print::test::test_open_editor ... ok test print::cloud_print::test::test_hint_output ... ok test print::cloud_print::test::test_warning_output ... ok test print::cloud_print::test::test_error_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::error_context::test::test_bare_anyhow ... ok test utils::error_context::test::test_display_error ... ok test utils::error_context::test::test_display_warning ... ok test utils::tracing::test::test_tracing_nothing ... ok test utils::tracing::test::test_tracing ... ok test utils::debug_query::test::test_dump_node ... ok test verify::reporter::test::test_invalid_case_detail ... ok test verify::reporter::test::test_report_summary ... ok test verify::reporter::test::test_valid_case_detail ... ok test utils::test::test_html_embedding_lang_not_found ... ok test utils::debug_query::test::test_missing_node ... ok test lang::injection::test::test_good_injection ... ok test print::interactive_print::test::test_rewrite_with_empty_lines ... ok test print::cloud_print::test::test_no_match_output ... ok test print::interactive_print::test::test_rewrite_nested ... ok test utils::test::test_html_embedding ... ok test verify::find_file::test::test_read_test ... ok test verify::reporter::test::test_many_cases ... ok test lang::lang_globs::test::test_merge_types ... ok test print::interactive_print::test::test_apply_rewrite ... ok test verify::find_file::test::test_read_snapshot ... ok test verify::find_file::test::test_read_multi ... ok test utils::args::test::test_build_globs ... ok test verify::test::test_run_verify_error ... ok test verify::test::test_no_such_rule ... ok test print::json_print::test::test_transform ... ok test verify::test::test_missing ... ok test verify::snapshot::tests::test_not_found ... ok test verify::test::test_reported ... ok test verify::test::test_noisy ... ok test verify::snapshot::tests::test_generate ... ok test verify::snapshot::tests::test_snapshot_action ... ok test verify::case_result::test::test_snapshot ... ok test verify::test::test_validated ... ok test lang::lang_globs::test::test_invalid_language ... ok test lang::lang_globs::test::test_register ... ok test test_cli::test_no_arg_run ... ok test verify::snapshot::tests::test_secondary_label ... 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_case::tests::test_verify_snapshot_without_existing ... ok test verify::test::test_verify_transform ... ok test verify::test_case::tests::test_verify_snapshot_without_existing_2 ... ok test verify::test_case::tests::test_verify_snapshot_with_mismatch ... ok test print::json_print::test::test_single_matched_json ... ok test print::colored_print::test::test_overlap_print ... ok test print::json_print::test::test_rule_json ... ok test verify::test_case::tests::test_unmatching_id - should panic ... 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 test_cli::test_test ... ok test print::colored_print::test::test_non_overlap_print ... ok test print::colored_print::test::test_print_rule_diffs ... 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 lang::lang_globs::test::test_merge_with_globs ... ok test print::json_print::test::test_replace_json ... ok test print::colored_print::test::test_print_matches_without_heading ... ok test print::colored_print::test::test_print_diffs ... ok test print::colored_print::test::test_print_matches ... 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 ... ok test run::test::test_run_with_pattern ... ok test run::test::test_run_with_strictness ... ok test test_cli::test_run ... ok test scan::test::test_run_with_config ... ok test scan::test::test_scan_with_inline_rules_diff ... 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-948ad665fca9bc95) 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-6f6b53f0968d948b) 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-afa8279039be8bb3) 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.03s Running tests/scan_test.rs (target/debug/deps/scan_test-c76dde6dfb438a3d) running 6 tests test test_sg_scan_py_empty_text ... ok test test_sg_scan_inline_rules ... ok test test_sg_scan_multiple_rules_in_one_file ... ok test test_sg_scan_html ... ok test test_sg_rule_off ... ok test test_sg_scan ... ok test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s Running tests/verify_test.rs (target/debug/deps/verify_test-0154cc09ed4f44c8) running 3 tests Running 0 tests Running 1 tests ----------- Case Details ----------- test result: ok. 0 passed; 0 failed; 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 ----------- Case Details ----------- PASS test-rule .. test result: ok. 1 passed; 0 failed; test test_sg_test_error ... ok test test_sg_test ... ok Running 1 tests ----------- Case Details ----------- [Noisy] Expect test-rule to report no issue, but some issues found in: Some(123) [Missing] Expect rule test-rule to report issues, but none found in: None FAIL test-rule NM test test_sg_test_filter ... ok test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s Running unittests src/lib.rs (target/debug/deps/ast_grep_config-2b285191490375b3) running 146 tests test fixer::test::test_parse ... ok test fixer::test::test_parse_str ... ok test maybe::test::test_from_optio ... ok test fixer::test::test_deserialize_object ... ok test maybe::test::test_de_correct_err ... ok test check_var::test::test_transform_already_defined ... ok test check_var::test::test_defined_vars_in_utils ... ok test check_var::test::test_undefined_vars_in_constraints ... ok test maybe::test::test_de_correct_ok ... ok test check_var::test::test_use_vars_in_utils ... ok test fixer::test::test_parse_config ... ok test maybe::test::test_de_wrong_err ... ok test check_var::test::test_defined_vars_cyclic ... ok test check_var::test::test_defined_vars ... ok test check_var::test::test_undefined_vars_in_fix ... ok test check_var::test::test_undefined_vars_in_transform ... ok test rule::deserialize_env::test::test_cyclic_not ... ok test rule::nth_child::test::test_error ... ok test fixer::test::test_relace_range ... ok test rule::deserialize_env::test::test_using_cyclic_local ... 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 rule::nth_child::test::test_positional_an_b ... ok test combined::test::test_non_used_suppression ... ok test rule::referent_rule::test::test_cyclic_all ... ok test rule::referent_rule::test::test_cyclic_error ... ok test rule::deserialize_env::test::test_using_transitive_cycle ... ok test fixer::test::test_replace_fixer ... ok test maybe::test::test_unwrap_absent - should panic ... ok test rule::referent_rule::test::test_cyclic_not ... ok test rule::nth_child::test::test_defined_vars ... ok test rule::referent_rule::test::test_success_rule ... ok test combined::test::test_ignore_node_same_line ... ok test rule::nth_child::test::test_verify_util ... ok test rule::deserialize_env::test::test_local_util_matches ... ok test combined::test::test_ignore_node ... ok test rule::relational_rule::test::test_invalid_field ... ok test rule::nth_child::test::test_find_index_reverse ... 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_no_defined_vars ... ok test rule::relational_rule::test::test_has_field ... ok test rule::stop_by::test::test_stop_by_err ... ok test rule::test::test_augmentation ... ok test rule::stop_by::test::test_stop_by_ok ... ok test rule::nth_child::test::test_find_index_simple ... ok test rule::stop_by::test::test_stop_by_defined_vars ... ok test rule::test::test_maybe_not ... ok test rule_collection::test::test_rules_for_path ... ignored test rule::test::test_deserialize_order ... ok test rule::test::test_multi_augmentation ... ok test rule::test::test_pattern ... ok test rule::test::test_deserialize_rule ... ok test rule::test::test_nested_augmentation ... ok test rule::test::test_precedes_follows ... ok test rule::relational_rule::test::test_defined_vars ... ok test rule::test::test_defined_vars ... ok test rule_collection::test::test_rule_collection_get_tenured_rule ... ok test rule::nth_child::test::test_serialize ... ok test rule::test::test_issue_1164 ... 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::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_rewriter_use_undefined_var ... ok test rule_config::test::test_get_message_transform ... ok test rule_config::test::test_augmented_rule ... ok test rule_config::test::test_rule_message ... ok test rule_core::test::test_rule_error ... ok test rule_core::test::test_cyclic_transform_error ... ok test rule_config::test::test_transform ... ok test rule::relational_rule::test::test_precedes_operator ... 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::relational_rule::test::test_inside_rule ... ok test rule_collection::test::test_rule_collection_get_contingent_rule ... ok test rule_config::test::test_rule_env ... ok test rule_core::test::test_undefined_utils_error ... ok test rule::relational_rule::test::test_inside_inclusive ... ok test rule::relational_rule::test::test_has_immediate ... ok test rule_config::test::test_utils_rule ... ok test rule_config::test::test_wrong_rewriter ... ok test rule_config::test::test_multiple_augment_rule ... ok test rule_core::test::test_utils_error ... ok test rule::relational_rule::test::test_precedes_immediate ... ok test rule::relational_rule::test::test_follows_immediate ... ok test rule_config::test::test_undefined_rewriter ... ok test rule_collection::test::test_files_rule ... ok test rule_collection::test::test_ignore_rule ... ok test rule_core::test::test_constraints_inheriting_env ... ok test rule_core::test::test_rule_with_constraints ... ok test rule::relational_rule::test::test_has_rule ... ok test rule_config::test::test_rewriters_access_utils ... ok test rule_config::test::test_undefined_rewriter_in_transform ... ok test rule_core::test::test_rule_reg_with_utils ... ok test rule_core::test::test_constraints_writing_to_env ... ok test rule_core::test::test_rewriter_writing_to_env ... ok test transform::string_case::test::test_case_conversions ... ok test test::test_deserialize_kind ... ok test rule_config::test::test_use_rewriter_recursive ... ok test transform::string_case::test::test_split_by_separator ... ok test transform::string_case::test::test_split ... ok test transform::string_case::test::test_format ... ok test rule_config::test::test_utils_in_rewriter_should_work ... ok test rule::relational_rule::test::test_has_until_should_not_abort_prematurely ... ok test rule::relational_rule::test::test_follows_operator ... ok test transform::test::test_single_cyclic_transform ... ok test transform::test::test_cyclic_transform ... ok test transform::rewrite::test::test_node_not_found ... ok test transform::test::test_transform_use_matched ... 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 rule_collection::test::test_files_with_ignores_rule ... ok test transform::rewrite::test::test_ignore_unused_rewriters ... ok test transform::transformation::test::test_transform_parse_error ... ok test transform::transformation::test::test_capitalize_convert ... ok test rule::relational_rule::test::test_inside_immediate ... ok test transform::transformation::test::test_wrong_rule ... ok test transform::transformation::test::test_lowercase_convert ... ok test test::test_deserialize_rule_config ... ok test transform::transformation::test::test_no_end_char ... ok test transform::transformation::test::test_no_start_char ... ok test test::test_util_rule_with_vaargs ... ok test transform::transformation::test::test_simple_replace ... ok test transform::transformation::test::test_separation_convert ... ok test test::test_deserialize_inside ... ok test transform::rewrite::test::test_rewrite_use_enclosing_env ... ok test transform::transformation::test::test_uppercase_convert ... ok test transform::rewrite::test::test_rewriters_order ... ok test transform::test::test_transform_indentation ... ok test rule::deserialize_env::test::test_local_util_kinds ... ok test test::test_deserialize_not_inside ... ok test transform::transformation::test::test_transform_indentation_with_insertion ... ok test transform::rewrite::test::test_should_inherit_match_env ... ok test test::test_deserialize_nested ... ok test test::test_deserialize_constraints ... ok test transform::rewrite::test::test_perform_multiple_rewriters ... ok test test::test_deserialize_meta_var ... ok test transform::rewrite::test::test_recursive_rewriters ... 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-1c3ee1a9fb53fdba) running 144 tests test matcher::kind::test::test_kind_potential_kinds ... ok test match_tree::test::test_ellipsis_end ... ok test match_tree::test::test_gh_1087 ... ok test matcher::kind::test::test_kind_non_match ... ok test match_tree::match_node::test::test_relaxed_match ... ok test matcher::kind::test::test_kind_match ... ok test matcher::pattern::test::test_bare_wildcard ... ok test match_tree::match_node::test::test_signature_match ... ok test match_tree::test::test_match_end ... 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::test::test_simple_match ... ok test matcher::pattern::test::test_contextual_wildcard ... ok test match_tree::test::test_single_ellipsis ... 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::node_match::test::test_node_env ... ok test matcher::pattern::test::test_contextual_unmatch_with_env ... ok test matcher::pattern::test::test_doc_pattern ... ok test match_tree::match_node::test::test_cst_match ... ok test matcher::pattern::test::test_contextual_match_with_env ... ok test matcher::node_match::test::test_replace_by ... ok test match_tree::test::test_skip_trivial_node ... ok test matcher::pattern::test::test_extract_meta_var_from_pattern ... ok test matcher::pattern::test::test_extract_duplicate_meta_var ... ok test match_tree::test::test_should_exactly_match ... ok test matcher::pattern::test::test_contextual_pattern ... ok test matcher::pattern::test::test_error_kind ... ok test matcher::pattern::test::test_pattern_size ... ignored test matcher::pattern::test::test_extract_complex_meta_var ... ok test matcher::pattern::test::test_meta_variable_env ... ok test match_tree::test::test_nested_match ... ok test matcher::pattern::test::test_match_non_atomic ... ok test matcher::pattern::test::test_pattern_potential_kinds ... ok test match_tree::test::test_trailing_ellipsis ... ok test match_tree::test::test_match_inner ... ok test match_tree::test::test_meta_var_named ... ok test matcher::pattern::test::test_pattern_with_non_root_meta_var ... ok test meta_var::test::test_match_var ... ok test matcher::pattern::test::test_gh_1087 ... ok test match_tree::test::test_string ... ok test matcher::pattern::test::test_pattern_should_not_pollute_env ... ok test matcher::pattern::test::test_pattern_error ... ok test meta_var::test::test_not_meta_var ... ok test meta_var::test::test_non_ascii_meta_var ... ok test matcher::pattern::test::test_class_assignment ... ok test meta_var::test::test_match_not_constraints ... ok test matcher::pattern::test::test_return ... ok test meta_var::test::test_match_constraints ... ok test matcher::pattern::test::test_pattern_fixed_string ... ok test node::test::test_children ... ok test node::test::test_is_leaf ... ok test match_tree::test::test_named_ellipsis ... ok test match_tree::test::test_leading_ellipsis ... ok test node::test::test_empty ... ok test matcher::pattern::test::test_meta_variable ... ok test node::test::test_child_by_field_id ... ok test matcher::pattern::test::test_whitespace ... ok test node::test::test_field_children ... ok test node::test::test_field ... ok test match_tree::test::test_trivia_in_pattern ... ok test matcher::node_match::test::test_node_match_as_node ... ok test node::test::precedes ... ok test match_tree::test::test_meta_var_multiple_occurrence ... 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 ops::test::test_any_revert_env ... ok test replacer::indent::test::test_indent_replace ... ok test replacer::indent::test::test_leading_text_indent_replace ... ok test replacer::indent::test::test_leading_text_replace ... ok test node::test::test_replace_all_nested ... ok test replacer::indent::test::test_malformed_deindent ... ok test replacer::indent::test::test_long_line_no_deindent ... ok test ops::test::test_all_revert_env ... ok test replacer::indent::test::test_middle_deindent ... ok test replacer::indent::test::test_nested_deindent ... ok test match_tree::match_node::test::test_ast_match ... ok test replacer::indent::test::test_no_deindent ... ok test ops::test::test_or_revert_env ... ok test replacer::indent::test::test_simple_deindent ... ok test replacer::indent::test::test_simple_replace ... ok test replacer::indent::test::test_space_in_middle_deindent ... ok test ops::test::test_all_kinds ... ok test node::test::test_inside ... ok test replacer::structural::test::test_nested_matching_replace ... ok test node::test::test_replace_all_multiple_sorted ... ok test node::test::test_has ... ok test ops::test::test_and_kinds ... ok test ops::test::test_any_kinds ... 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_row_replace ... ok test replacer::template::test::test_multi_ellipsis ... ok test replacer::template::test::test_no_env ... ok test replacer::template::test::test_replace_in_string ... ok test replacer::template::test::test_ellipsis_meta_var ... ok test replacer::structural::test::test_ellipsis_meta_var ... ok test ops::test::test_or_kinds ... ok test source::test::test_row_col ... ok test node::test::test_display_context ... ok test replacer::structural::test::test_single_env ... ok test source::test::test_object_literal ... ok test source::test::test_string ... ok test source::test::test_edit ... ok test source::test::test_tree_sitter ... ok test replacer::template::test::test_single_env ... ok test replacer::structural::test::test_multiple_env ... ok test ops::test::test_and ... ok test replacer::template::test::test_multiple_env ... ok test replacer::template::test::test_example ... ok test replacer::template::test::test_template ... ok test ops::test::test_api_and ... ok test replacer::template::test::test_multiple_occurrences ... ok test node::test::follows ... ok test replacer::structural::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 replacer::template::test::test_template_vars ... 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 ops::test::test_multiple_match ... ok test traversal::test::test_traversal_leaf ... 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-0bbb0439dc6f8926) 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 html::test::test_explicit_lang ... ok test bash::test_bash_replace ... ok test bash::test_bash_pattern ... ok test php::test_php_pattern ... ok test go::test_go_pattern ... ok test scala::test_scala_pattern ... ignored test scala::test_scala_replace ... ignored test scala::test_scala_str ... ignored test swift::test_swift_pattern ... ignored test swift::test_swift_replace ... ignored test swift::test_swift_str ... ignored test ruby::test_ruby_tree_sitter_panic ... ok test python::test_issue_883 ... ok test test::test_guess_by_extension ... ok test ruby::test_ruby_pattern ... 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 lua::test_lua_pattern ... ok test json::test_json_replace ... ok test yaml::test_yaml_str ... ok test test::test_js_string ... ok test ruby::test_ruby_replace ... ok test rust::test_issue_1057 ... ok test html::test::test_html_replace ... ok test rust::test_rust_spread_syntax ... ok test go::test_go_str ... ok test rust::test_rust_pattern ... ok test lua::test_lua_replace ... ok test rust::test_rust_wildcard_pattern ... ok test html::test::test_html_match ... ok test yaml::test_yaml_pattern ... ok test yaml::test_yaml_replace ... ok test python::test_python_str ... ok test go::test_go_replace ... 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-a6104a4fc75ccb6a) 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-c6170d7e84fb63e3) 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-64a8de5656295a05) 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_single_node_replace ... ok test doc::test::test_js_doc_multiple_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.07s Running unittests src/lib.rs (target/debug/deps/ast_grep_py-4d5b45a7aa19dd62) 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-d3d5947dfa3b5ce8) 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-aarch64.so.1 so:libgcc_s.so.1 >>> ast-grep*: Package size: 19.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:21 +0000 elapsed time 0h 3m 55s >>> ast-grep: Cleaning up srcdir >>> ast-grep: Cleaning up pkgdir >>> ast-grep: Uninstalling dependencies... (1/9) Purging .makedepends-ast-grep (20241111.125527) (2/9) Purging cargo-auditable (0.6.4-r0) (3/9) Purging cargo (1.82.0-r1) (4/9) Purging rust (1.82.0-r1) (5/9) Purging llvm19-libs (19.1.2-r0) (6/9) Purging scudo-malloc (19.1.2-r0) (7/9) Purging libffi (3.4.6-r0) (8/9) Purging libxml2 (2.13.4-r3) (9/9) Purging xz-libs (5.6.3-r0) Executing busybox-1.37.0-r6.trigger OK: 431 MiB in 106 packages >>> ast-grep: Updating the community/aarch64 repository index... >>> ast-grep: Signing the index...