>>> diffsitter: Building community/diffsitter 0.8.2-r0 (using abuild 3.14.1-r0) started Sun, 27 Oct 2024 14:35:05 +0000 >>> diffsitter: Validating /home/buildozer/aports/community/diffsitter/APKBUILD... >>> diffsitter: Analyzing dependencies... >>> diffsitter: Installing for build: build-base cargo cargo-auditable tree-sitter-python tree-sitter-rust (1/11) Installing libffi (3.4.6-r0) (2/11) Installing xz-libs (5.6.3-r0) (3/11) Installing libxml2 (2.13.4-r1) (4/11) Installing llvm19-libs (19.1.1-r0) (5/11) Installing scudo-malloc (19.1.1-r0) (6/11) Installing rust (1.82.0-r0) (7/11) Installing cargo (1.82.0-r0) (8/11) Installing cargo-auditable (0.6.4-r0) (9/11) Installing tree-sitter-python (0.23.2-r0) (10/11) Installing tree-sitter-rust (0.23.0-r0) (11/11) Installing .makedepends-diffsitter (20241027.143511) Executing busybox-1.37.0-r3.trigger OK: 627 MiB in 110 packages >>> diffsitter: Cleaning up srcdir >>> diffsitter: Cleaning up pkgdir >>> diffsitter: Cleaning up tmpdir >>> diffsitter: Fetching https://distfiles.alpinelinux.org/distfiles/edge/diffsitter-0.8.2.tar.gz >>> diffsitter: Fetching https://distfiles.alpinelinux.org/distfiles/edge/diffsitter-0.8.2.tar.gz >>> diffsitter: Checking sha512sums... diffsitter-0.8.2.tar.gz: OK update-rust-libc.patch: OK >>> diffsitter: Unpacking /var/cache/distfiles/diffsitter-0.8.2.tar.gz... >>> diffsitter: update-rust-libc.patch patching file Cargo.lock Compiling proc-macro2 v1.0.76 Compiling unicode-ident v1.0.12 Compiling libc v0.2.155 Compiling memchr v2.7.1 Compiling thiserror v1.0.56 Compiling serde v1.0.195 Compiling rustix v0.38.28 Compiling crossbeam-utils v0.8.18 Compiling linux-raw-sys v0.4.12 Compiling bitflags v2.4.1 Compiling siphasher v0.3.11 Compiling rand_core v0.6.4 Compiling cfg-if v1.0.0 Compiling utf8parse v0.2.1 Compiling version_check v0.9.4 Compiling log v0.4.20 Compiling anstyle-query v1.0.2 Compiling ucd-trie v0.1.6 Compiling rayon-core v1.12.0 Compiling colorchoice v1.0.0 Compiling heck v0.4.1 Compiling anstyle v1.0.4 Compiling regex-syntax v0.8.2 Compiling once_cell v1.19.0 Compiling adler v1.0.2 Compiling syn v1.0.109 Compiling anyhow v1.0.79 Compiling equivalent v1.0.1 Compiling unicode-width v0.1.11 Compiling gimli v0.28.1 Compiling rustversion v1.0.14 Compiling anstyle-parse v0.2.3 Compiling hashbrown v0.14.3 Compiling rustc-demangle v0.1.23 Compiling strsim v0.10.0 Compiling clap_lex v0.6.0 Compiling miniz_oxide v0.7.1 Compiling either v1.9.0 Compiling phf_shared v0.11.2 Compiling rand v0.8.5 Compiling serde_json v1.0.111 Compiling humantime v2.1.0 Compiling anstream v0.6.7 Compiling termcolor v1.4.0 Compiling cargo-emit v0.2.1 Compiling itoa v1.0.10 Compiling lazy_static v1.4.0 Compiling ryu v1.0.16 Compiling libloading v0.8.1 Compiling unicode-segmentation v1.10.1 Compiling xdg v2.5.2 Compiling unicase v2.7.0 Compiling aho-corasick v1.1.2 Compiling object v0.32.2 Compiling crossbeam-epoch v0.9.17 Compiling quote v1.0.35 Compiling indexmap v2.1.0 Compiling phf_generator v0.11.2 Compiling crossbeam-deque v0.8.4 Compiling syn v2.0.48 Compiling jobserver v0.1.27 Compiling cc v1.0.83 Compiling rayon v1.8.0 Compiling errno v0.3.8 Compiling getrandom v0.2.11 Compiling console v0.15.8 Compiling uuid v1.6.1 Compiling regex-automata v0.4.3 Compiling backtrace v0.3.69 Compiling tree-sitter v0.20.10 Compiling addr2line v0.21.0 Compiling terminal_size v0.3.0 Compiling is-terminal v0.4.10 Compiling clap_builder v4.4.16 Compiling logging_timer_proc_macros v1.1.0 Compiling logging_timer v1.1.0 Compiling thiserror-impl v1.0.56 Compiling serde_derive v1.0.195 Compiling phf_macros v0.11.2 Compiling clap_derive v4.4.7 Compiling strum_macros v0.25.3 Compiling enum_dispatch v0.3.12 Compiling regex v1.10.2 Compiling env_logger v0.10.1 Compiling phf v0.11.2 Compiling pretty_env_logger v0.5.0 Compiling pest v2.7.6 Compiling diffsitter v0.8.2 (/home/buildozer/aports/community/diffsitter/src/diffsitter-0.8.2) Compiling strum v0.25.0 warning: unused import: `anyhow::Result` --> build.rs:22:5 | 22 | use anyhow::Result; | ^^^^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default warning: unused import: `std::fmt::Write` --> build.rs:23:5 | 23 | use std::fmt::Write; | ^^^^^^^^^^^^^^^ warning: `diffsitter` (build script) generated 2 warnings Compiling clap v4.4.16 Compiling clap_complete v4.4.6 Compiling pest_meta v2.7.6 Compiling pest_generator v2.7.6 Compiling pest_derive v2.7.6 Compiling serde_spanned v0.6.5 Compiling toml_datetime v0.6.5 Compiling os_info v3.7.0 Compiling json5 v0.4.1 Compiling toml_edit v0.21.0 Compiling toml v0.8.8 Compiling human-panic v1.2.3 Finished `release` profile [optimized] target(s) in 1m 20s Compiling proc-macro2 v1.0.76 Compiling unicode-ident v1.0.12 Compiling cfg-if v1.0.0 Compiling libc v0.2.155 Compiling memchr v2.7.1 Compiling serde v1.0.195 Compiling thiserror v1.0.56 Compiling rustix v0.38.28 Compiling bitflags v2.4.1 Compiling linux-raw-sys v0.4.12 Compiling crossbeam-utils v0.8.18 Compiling anstyle v1.0.4 Compiling utf8parse v0.2.1 Compiling rand_core v0.6.4 Compiling version_check v0.9.4 Compiling siphasher v0.3.11 Compiling unicode-width v0.1.11 Compiling anstyle-query v1.0.2 Compiling once_cell v1.19.0 Compiling ucd-trie v0.1.6 Compiling regex-syntax v0.8.2 Compiling colorchoice v1.0.0 Compiling heck v0.4.1 Compiling rayon-core v1.12.0 Compiling log v0.4.20 Compiling rustversion v1.0.14 Compiling equivalent v1.0.1 Compiling gimli v0.28.1 Compiling hashbrown v0.14.3 Compiling adler v1.0.2 Compiling syn v1.0.109 Compiling anyhow v1.0.79 Compiling anstyle-parse v0.2.3 Compiling either v1.9.0 Compiling lazy_static v1.4.0 Compiling strsim v0.10.0 Compiling miniz_oxide v0.7.1 Compiling rustc-demangle v0.1.23 Compiling rand v0.8.5 Compiling clap_lex v0.6.0 Compiling termcolor v1.4.0 Compiling humantime v2.1.0 Compiling phf_shared v0.11.2 Compiling anstream v0.6.7 Compiling cargo-emit v0.2.1 Compiling serde_json v1.0.111 Compiling ryu v1.0.16 Compiling itoa v1.0.10 Compiling libloading v0.8.1 Compiling xdg v2.5.2 Compiling unicode-segmentation v1.10.1 Compiling predicates-core v1.0.6 Compiling linked-hash-map v0.5.6 Compiling termtree v0.4.1 Compiling diff v0.1.13 Compiling unicase v2.7.0 Compiling aho-corasick v1.1.2 Compiling object v0.32.2 Compiling yansi v0.5.1 Compiling itertools v0.11.0 Compiling predicates-tree v1.0.9 Compiling downcast v0.11.0 Compiling fragile v2.0.0 Compiling similar v2.4.0 Compiling yaml-rust v0.4.5 Compiling pretty_assertions v1.4.0 Compiling crossbeam-epoch v0.9.17 Compiling quote v1.0.35 Compiling indexmap v2.1.0 Compiling phf_generator v0.11.2 Compiling syn v2.0.48 Compiling crossbeam-deque v0.8.4 Compiling jobserver v0.1.27 Compiling cc v1.0.83 Compiling rayon v1.8.0 Compiling errno v0.3.8 Compiling getrandom v0.2.11 Compiling console v0.15.8 Compiling uuid v1.6.1 Compiling predicates v3.0.4 Compiling backtrace v0.3.69 Compiling tree-sitter v0.20.10 Compiling insta v1.34.0 Compiling regex-automata v0.4.3 Compiling addr2line v0.21.0 Compiling terminal_size v0.3.0 Compiling is-terminal v0.4.10 Compiling clap_builder v4.4.16 Compiling logging_timer_proc_macros v1.1.0 Compiling test-case-core v3.3.1 Compiling logging_timer v1.1.0 Compiling regex v1.10.2 Compiling serde_derive v1.0.195 Compiling thiserror-impl v1.0.56 Compiling phf_macros v0.11.2 Compiling clap_derive v4.4.7 Compiling strum_macros v0.25.3 Compiling enum_dispatch v0.3.12 Compiling mockall_derive v0.12.1 Compiling test-case-macros v3.3.1 Compiling env_logger v0.10.1 Compiling pretty_env_logger v0.5.0 Compiling test-case v3.3.1 Compiling phf v0.11.2 Compiling pest v2.7.6 Compiling diffsitter v0.8.2 (/home/buildozer/aports/community/diffsitter/src/diffsitter-0.8.2) warning: unused import: `anyhow::Result` --> build.rs:22:5 | 22 | use anyhow::Result; | ^^^^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default warning: unused import: `std::fmt::Write` --> build.rs:23:5 | 23 | use std::fmt::Write; | ^^^^^^^^^^^^^^^ warning: `diffsitter` (build script) generated 2 warnings Compiling strum v0.25.0 Compiling clap v4.4.16 Compiling clap_complete v4.4.6 Compiling pest_meta v2.7.6 Compiling mockall v0.12.1 Compiling pest_generator v2.7.6 Compiling pest_derive v2.7.6 Compiling toml_datetime v0.6.5 Compiling serde_spanned v0.6.5 Compiling os_info v3.7.0 Compiling json5 v0.4.1 Compiling toml_edit v0.21.0 Compiling toml v0.8.8 Compiling human-panic v1.2.3 warning: unused import: `crate::GrammarConfig` --> src/input_processing.rs:507:9 | 507 | use crate::GrammarConfig; | ^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default warning: unused import: `tree_sitter::Parser` --> src/input_processing.rs:508:9 | 508 | use tree_sitter::Parser; | ^^^^^^^^^^^^^^^^^^^ warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead --> src/bin/diffsitter.rs:207:5 | 207 | setup_panic!(); | ^^^^^^^^^^^^^^ | = note: `#[warn(deprecated)]` on by default = note: this warning originates in the macro `$crate::setup_panic` which comes from the expansion of the macro `setup_panic` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead --> src/bin/diffsitter.rs:207:5 | 207 | setup_panic!(); | ^^^^^^^^^^^^^^ | = note: this warning originates in the macro `$crate::setup_panic` which comes from the expansion of the macro `setup_panic` (in Nightly builds, run with -Z macro-backtrace for more info) warning: `diffsitter` (bin "diffsitter" test) generated 2 warnings (1 duplicate) warning: `diffsitter` (lib test) generated 2 warnings (run `cargo fix --lib -p diffsitter --tests` to apply 2 suggestions) warning: `diffsitter` (bin "diffsitter") generated 2 warnings (1 duplicate) Finished `test` profile [unoptimized + debuginfo] target(s) in 37.86s Running unittests src/lib.rs (target/debug/deps/libdiffsitter-614bc1c715bae920) running 25 tests test diff::tests::common_prefix::no_common_prefix ... ok test diff::tests::common_prefix::with_common_prefix ... ok test diff::tests::common_suffix::no_common_suffix ... ok test diff::tests::common_suffix::with_common_suffix ... ok test diff::tests::mid_snake ... ok test diff::tests::mid_snake_empty_input ... ok test diff::tests::myers_diff_no_diff ... ok test diff::tests::myers_diff_empty_inputs ... ok test diff::tests::myers_diff_one_addition ... ok test diff::tests::myers_diff_one_deletion ... ok test diff::tests::myers_diff_single_substitution ... ok test diff::tests::myers_diff_single_substitution_with_common_elements ... ok test neg_idx_vec::tests::test_negative_indices ... ok test neg_idx_vec::tests::test_positive_indices ... ok test parse::tests::dynamic_load_parsers ... ignored test input_processing::tests::test_should_filter_node ... ok test render::tests::test_custom_renderer_tags_collision::_gibberish_false_expects ... ok test render::tests::test_default_render_keys ... ok test render::tests::test_get_renderer_default_map::_json_expects ... ok test render::tests::test_custom_renderer_tags_collision::_unified_true_expects ... ok test render::tests::test_custom_renderer_tags_collision::_json_true_expects ... ok test render::tests::test_get_renderer_default_map::_unified_expects ... ok test neg_idx_vec::tests::test_negative_overflow - should panic ... ok test neg_idx_vec::tests::test_positive_overflow - should panic ... ok test config::tests::test_sample_config ... ok test result: ok. 24 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.01s Running unittests src/bin/diffsitter.rs (target/debug/deps/diffsitter-e2a8d5c051c6a80a) running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running unittests src/bin/diffsitter_utils.rs (target/debug/deps/diffsitter_utils-9cd231a2aa970a91) running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running unittests src/bin/diffsitter_completions.rs (target/debug/deps/diffsitter_completions-ee6797bcda530c35) running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running tests/regression_test.rs (target/debug/deps/regression_test-b03b03e6c3532ea1) running 1 test stored new snapshot /home/buildozer/aports/community/diffsitter/src/diffsitter-0.8.2/tests/snapshots/regression_test__tests__short_python_split_graphemes_true_strip_whitespace_true.snap.new test tests::diff_hunks_snapshot::_short_python_py_true_true_expects ... FAILED failures: ---- tests::diff_hunks_snapshot::_short_python_py_true_true_expects stdout ---- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot file: tests/snapshots/regression_test__tests__short_python_split_graphemes_true_strip_whitespace_true.snap Snapshot: short_python_split_graphemes_true_strip_whitespace_true Source: tests/regression_test.rs:64 ──────────────────────────────────────────────────────────────────────────────── Expression: diff_hunks ──────────────────────────────────────────────────────────────────────────────── -old snapshot +new results ────────────┬─────────────────────────────────────────────────────────────────── 15 15 │ end_position: Point { 16 16 │ row: 4, 17 17 │ column: 13, 18 18 │ }, 19 │- kind_id: 231, 19 │+ kind_id: 233, 20 20 │ }, 21 21 │ Entry { 22 22 │ reference: {Node string_content (1, 7) - (5, 4)}, 23 23 │ text: "o", ┈┈┈┈┈┈┈┈┈┈┈┈┼┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ 28 28 │ end_position: Point { 29 29 │ row: 4, 30 30 │ column: 14, 31 31 │ }, 32 │- kind_id: 231, 32 │+ kind_id: 233, 33 33 │ }, 34 34 │ Entry { 35 35 │ reference: {Node string_content (1, 7) - (5, 4)}, 36 36 │ text: "t", ┈┈┈┈┈┈┈┈┈┈┈┈┼┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ 41 41 │ end_position: Point { 42 42 │ row: 4, 43 43 │ column: 15, 44 44 │ }, 45 │- kind_id: 231, 45 │+ kind_id: 233, 46 46 │ }, 47 47 │ ], 48 48 │ }, 49 49 │ ], ────────────┴─────────────────────────────────────────────────────────────────── To update snapshots run `cargo insta review` Stopped on the first failure. Run `cargo insta test` to run all snapshots. thread 'tests::diff_hunks_snapshot::_short_python_py_true_true_expects' panicked at /home/buildozer/.cargo/registry/src/index.crates.io-6f17d22bba15001f/insta-1.34.0/src/runtime.rs:563:9: snapshot assertion for 'short_python_split_graphemes_true_strip_whitespace_true' failed in line 64 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace failures: tests::diff_hunks_snapshot::_short_python_py_true_true_expects test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 7 filtered out; finished in 0.06s error: test failed, to rerun pass `--test regression_test` >>> ERROR: diffsitter: check failed >>> diffsitter: Uninstalling dependencies... (1/11) Purging .makedepends-diffsitter (20241027.143511) (2/11) Purging cargo-auditable (0.6.4-r0) (3/11) Purging tree-sitter-python (0.23.2-r0) (4/11) Purging tree-sitter-rust (0.23.0-r0) (5/11) Purging cargo (1.82.0-r0) (6/11) Purging rust (1.82.0-r0) (7/11) Purging llvm19-libs (19.1.1-r0) (8/11) Purging scudo-malloc (19.1.1-r0) (9/11) Purging libffi (3.4.6-r0) (10/11) Purging libxml2 (2.13.4-r1) (11/11) Purging xz-libs (5.6.3-r0) Executing busybox-1.37.0-r3.trigger OK: 243 MiB in 99 packages