in particular, it fails during tests:all_elm
due to snapshot diff in src/snapshots/tree_grepper__tests__all_elm.snap
.
tested on a couple aarch64-linux
machines by cloning the repo and running nix build .
; builds fine on both x86_64-linux
and aarch64-darwin
architectures.
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking sources
unpacking source archive /nix/store/m1lwymy7crix0yjpz1pvynwigpajpzqp-source
source root is source
@nix { "action": "setPhase", "phase": "patchPhase" }
patching sources
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "configurePhase" }
configuring
[naersk] cargo_version (read): 1.58.0
[naersk] cargo_message_format (set): json-diagnostic-rendered-ansi
[naersk] cargo_release: --release
[naersk] cargo_options:
[naersk] cargo_build_options: $cargo_release -j "$NIX_BUILD_CORES" --message-format=$cargo_message_format
[naersk] cargo_test_options: $cargo_release -j "$NIX_BUILD_CORES"
[naersk] RUST_TEST_THREADS: 4
[naersk] cargo_bins_jq_filter: select(.reason == "compiler-artifact" and .executable != null and .profile.test == false)
[naersk] cargo_build_output_json (created): /build/tmp.2yA9wKmoml
[naersk] crate_sources: /nix/store/ji1czlc3rn4dgaxk99a69v2iscrffr8j-crates-io
[naersk] RUSTFLAGS:
[naersk] CARGO_BUILD_RUSTFLAGS:
[naersk] CARGO_BUILD_RUSTFLAGS (updated): --remap-path-prefix /nix/store/ji1czlc3rn4dgaxk99a69v2iscrffr8j-crates-io=/sources
[naersk] pre-installing dep /nix/store/rx4y648b4czjl1w6iaqi83xk0s29iqrl-tree-grepper-deps-2.4.1
@nix { "action": "setPhase", "phase": "vendorPhase" }
vendorPhase
+ ln -s /nix/store/i3xpjija6www6nsh0slj345fknz0h1a3-source vendor/tree-sitter-cpp
+ ln -s /nix/store/pp7c5w2ax2yqq0s6js4acwcm0raznsqz-source vendor/tree-sitter-elixir
+ ln -s /nix/store/jikm0mn77ig4dmi6bqairj8b43sqrx38-source vendor/tree-sitter-elm
+ ln -s /nix/store/jjcxzwrrs6nb3zsgy9cym3p9d7s82n0h-source vendor/tree-sitter-haskell
+ ln -s /nix/store/pqybkdf41sw75sjn2m1lkk8iz7dak4sv-source vendor/tree-sitter-javascript
+ ln -s /nix/store/cq2yl1qxpvxrwnjcymnsyibr34h41qkw-source vendor/tree-sitter-php
+ ln -s /nix/store/3kmibk473zaj5cci6xml93zqxm39dnai-source vendor/tree-sitter-ruby
+ ln -s /nix/store/3r0bjffqcr7r2ys3q7bkc083wwfb33li-source vendor/tree-sitter-rust
+ ln -s /nix/store/xibxgnqcsasgvxbwxzz66yksp48j1h5c-source vendor/tree-sitter-typescript
@nix { "action": "setPhase", "phase": "buildPhase" }
building
cargo build $cargo_release -j "$NIX_BUILD_CORES" --message-format=$cargo_message_format
Compiling tree-grepper v2.4.1 (/build/source)
Finished release [optimized] target(s) in 2m 23s
@nix { "action": "setPhase", "phase": "checkPhase" }
running tests
Compiling tree-grepper v2.4.1 (/build/source)
warning: In file included from /nix/store/ypwq2n4h5fik81hchgxn6bjpynyay4dm-glibc-2.33-108-dev/include/bits/libc-header-start.h:33,
warning: from /nix/store/ypwq2n4h5fik81hchgxn6bjpynyay4dm-glibc-2.33-108-dev/include/stdint.h:26,
warning: from /nix/store/qxxm10h05039397bm9syfjp3rx482ls8-gcc-9.3.0/lib/gcc/aarch64-unknown-linux-gnu/9.3.0/include/stdint.h:9,
warning: from vendor/tree-sitter-cpp/src/tree_sitter/parser.h:9,
warning: from vendor/tree-sitter-cpp/src/parser.c:1:
warning: /nix/store/ypwq2n4h5fik81hchgxn6bjpynyay4dm-glibc-2.33-108-dev/include/features.h:397:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
warning: 397 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O)
warning: | ^~~~~~~
warning: In file included from /nix/store/ypwq2n4h5fik81hchgxn6bjpynyay4dm-glibc-2.33-108-dev/include/bits/libc-header-start.h:33,
warning: from /nix/store/ypwq2n4h5fik81hchgxn6bjpynyay4dm-glibc-2.33-108-dev/include/stdint.h:26,
warning: from /nix/store/qxxm10h05039397bm9syfjp3rx482ls8-gcc-9.3.0/lib/gcc/aarch64-unknown-linux-gnu/9.3.0/include/stdint.h:9,
warning: from vendor/tree-sitter-cpp/src/tree_sitter/parser.h:9,
warning: from vendor/tree-sitter-cpp/src/scanner.cc:1:
warning: /nix/store/ypwq2n4h5fik81hchgxn6bjpynyay4dm-glibc-2.33-108-dev/include/features.h:397:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
warning: 397 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O)
warning: | ^~~~~~~
warning: In file included from /nix/store/ypwq2n4h5fik81hchgxn6bjpynyay4dm-glibc-2.33-108-dev/include/bits/libc-header-start.h:33,
warning: from /nix/store/ypwq2n4h5fik81hchgxn6bjpynyay4dm-glibc-2.33-108-dev/include/stdint.h:26,
warning: from /nix/store/qxxm10h05039397bm9syfjp3rx482ls8-gcc-9.3.0/lib/gcc/aarch64-unknown-linux-gnu/9.3.0/include/stdint.h:9,
warning: from vendor/tree-sitter-elixir/src/tree_sitter/parser.h:9,
warning: from vendor/tree-sitter-elixir/src/parser.c:1:
warning: /nix/store/ypwq2n4h5fik81hchgxn6bjpynyay4dm-glibc-2.33-108-dev/include/features.h:397:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
warning: 397 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O)
warning: | ^~~~~~~
warning: In file included from /nix/store/ypwq2n4h5fik81hchgxn6bjpynyay4dm-glibc-2.33-108-dev/include/bits/libc-header-start.h:33,
warning: from /nix/store/ypwq2n4h5fik81hchgxn6bjpynyay4dm-glibc-2.33-108-dev/include/stdint.h:26,
warning: from /nix/store/qxxm10h05039397bm9syfjp3rx482ls8-gcc-9.3.0/lib/gcc/aarch64-unknown-linux-gnu/9.3.0/include/stdint.h:9,
warning: from vendor/tree-sitter-elixir/src/tree_sitter/parser.h:9,
warning: from vendor/tree-sitter-elixir/src/scanner.cc:1:
warning: /nix/store/ypwq2n4h5fik81hchgxn6bjpynyay4dm-glibc-2.33-108-dev/include/features.h:397:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
warning: 397 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O)
warning: | ^~~~~~~
warning: In file included from /nix/store/ypwq2n4h5fik81hchgxn6bjpynyay4dm-glibc-2.33-108-dev/include/bits/libc-header-start.h:33,
warning: from /nix/store/ypwq2n4h5fik81hchgxn6bjpynyay4dm-glibc-2.33-108-dev/include/stdint.h:26,
warning: from /nix/store/qxxm10h05039397bm9syfjp3rx482ls8-gcc-9.3.0/lib/gcc/aarch64-unknown-linux-gnu/9.3.0/include/stdint.h:9,
warning: from vendor/tree-sitter-elm/src/tree_sitter/parser.h:9,
warning: from vendor/tree-sitter-elm/src/parser.c:1:
warning: /nix/store/ypwq2n4h5fik81hchgxn6bjpynyay4dm-glibc-2.33-108-dev/include/features.h:397:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
warning: 397 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O)
warning: | ^~~~~~~
warning: In file included from /nix/store/ypwq2n4h5fik81hchgxn6bjpynyay4dm-glibc-2.33-108-dev/include/bits/libc-header-start.h:33,
warning: from /nix/store/ypwq2n4h5fik81hchgxn6bjpynyay4dm-glibc-2.33-108-dev/include/stdint.h:26,
warning: from /nix/store/qxxm10h05039397bm9syfjp3rx482ls8-gcc-9.3.0/lib/gcc/aarch64-unknown-linux-gnu/9.3.0/include/stdint.h:9,
warning: from vendor/tree-sitter-elm/src/tree_sitter/parser.h:9,
warning: from vendor/tree-sitter-elm/src/scanner.cc:1:
warning: /nix/store/ypwq2n4h5fik81hchgxn6bjpynyay4dm-glibc-2.33-108-dev/include/features.h:397:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
warning: 397 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O)
warning: | ^~~~~~~
warning: In file included from /nix/store/ypwq2n4h5fik81hchgxn6bjpynyay4dm-glibc-2.33-108-dev/include/bits/libc-header-start.h:33,
warning: from /nix/store/ypwq2n4h5fik81hchgxn6bjpynyay4dm-glibc-2.33-108-dev/include/stdint.h:26,
warning: from /nix/store/qxxm10h05039397bm9syfjp3rx482ls8-gcc-9.3.0/lib/gcc/aarch64-unknown-linux-gnu/9.3.0/include/stdint.h:9,
warning: from vendor/tree-sitter-haskell/src/tree_sitter/parser.h:9,
warning: from vendor/tree-sitter-haskell/src/parser.c:1:
warning: /nix/store/ypwq2n4h5fik81hchgxn6bjpynyay4dm-glibc-2.33-108-dev/include/features.h:397:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
warning: 397 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O)
warning: | ^~~~~~~
warning: In file included from /nix/store/ypwq2n4h5fik81hchgxn6bjpynyay4dm-glibc-2.33-108-dev/include/bits/libc-header-start.h:33,
warning: from /nix/store/ypwq2n4h5fik81hchgxn6bjpynyay4dm-glibc-2.33-108-dev/include/stdint.h:26,
warning: from /nix/store/qxxm10h05039397bm9syfjp3rx482ls8-gcc-9.3.0/lib/gcc/aarch64-unknown-linux-gnu/9.3.0/include/stdint.h:9,
warning: from vendor/tree-sitter-haskell/src/tree_sitter/parser.h:9,
warning: from vendor/tree-sitter-haskell/src/scanner.c:12:
warning: /nix/store/ypwq2n4h5fik81hchgxn6bjpynyay4dm-glibc-2.33-108-dev/include/features.h:397:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
warning: 397 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O)
warning: | ^~~~~~~
warning: In file included from /nix/store/ypwq2n4h5fik81hchgxn6bjpynyay4dm-glibc-2.33-108-dev/include/bits/libc-header-start.h:33,
warning: from /nix/store/ypwq2n4h5fik81hchgxn6bjpynyay4dm-glibc-2.33-108-dev/include/stdint.h:26,
warning: from /nix/store/qxxm10h05039397bm9syfjp3rx482ls8-gcc-9.3.0/lib/gcc/aarch64-unknown-linux-gnu/9.3.0/include/stdint.h:9,
warning: from vendor/tree-sitter-javascript/src/tree_sitter/parser.h:9,
warning: from vendor/tree-sitter-javascript/src/parser.c:1:
warning: /nix/store/ypwq2n4h5fik81hchgxn6bjpynyay4dm-glibc-2.33-108-dev/include/features.h:397:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
warning: 397 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O)
warning: | ^~~~~~~
warning: In file included from /nix/store/ypwq2n4h5fik81hchgxn6bjpynyay4dm-glibc-2.33-108-dev/include/bits/libc-header-start.h:33,
warning: from /nix/store/ypwq2n4h5fik81hchgxn6bjpynyay4dm-glibc-2.33-108-dev/include/stdint.h:26,
warning: from /nix/store/qxxm10h05039397bm9syfjp3rx482ls8-gcc-9.3.0/lib/gcc/aarch64-unknown-linux-gnu/9.3.0/include/stdint.h:9,
warning: from vendor/tree-sitter-javascript/src/tree_sitter/parser.h:9,
warning: from vendor/tree-sitter-javascript/src/scanner.c:1:
warning: /nix/store/ypwq2n4h5fik81hchgxn6bjpynyay4dm-glibc-2.33-108-dev/include/features.h:397:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
warning: 397 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O)
warning: | ^~~~~~~
warning: In file included from /nix/store/ypwq2n4h5fik81hchgxn6bjpynyay4dm-glibc-2.33-108-dev/include/bits/libc-header-start.h:33,
warning: from /nix/store/ypwq2n4h5fik81hchgxn6bjpynyay4dm-glibc-2.33-108-dev/include/stdint.h:26,
warning: from /nix/store/qxxm10h05039397bm9syfjp3rx482ls8-gcc-9.3.0/lib/gcc/aarch64-unknown-linux-gnu/9.3.0/include/stdint.h:9,
warning: from vendor/tree-sitter-php/src/tree_sitter/parser.h:9,
warning: from vendor/tree-sitter-php/src/parser.c:1:
warning: /nix/store/ypwq2n4h5fik81hchgxn6bjpynyay4dm-glibc-2.33-108-dev/include/features.h:397:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
warning: 397 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O)
warning: | ^~~~~~~
warning: In file included from /nix/store/ypwq2n4h5fik81hchgxn6bjpynyay4dm-glibc-2.33-108-dev/include/bits/libc-header-start.h:33,
warning: from /nix/store/ypwq2n4h5fik81hchgxn6bjpynyay4dm-glibc-2.33-108-dev/include/stdint.h:26,
warning: from /nix/store/qxxm10h05039397bm9syfjp3rx482ls8-gcc-9.3.0/lib/gcc/aarch64-unknown-linux-gnu/9.3.0/include/stdint.h:9,
warning: from vendor/tree-sitter-php/src/tree_sitter/parser.h:9,
warning: from vendor/tree-sitter-php/src/scanner.cc:1:
warning: /nix/store/ypwq2n4h5fik81hchgxn6bjpynyay4dm-glibc-2.33-108-dev/include/features.h:397:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
warning: 397 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O)
warning: | ^~~~~~~
warning: In file included from /nix/store/ypwq2n4h5fik81hchgxn6bjpynyay4dm-glibc-2.33-108-dev/include/bits/libc-header-start.h:33,
warning: from /nix/store/ypwq2n4h5fik81hchgxn6bjpynyay4dm-glibc-2.33-108-dev/include/stdint.h:26,
warning: from /nix/store/qxxm10h05039397bm9syfjp3rx482ls8-gcc-9.3.0/lib/gcc/aarch64-unknown-linux-gnu/9.3.0/include/stdint.h:9,
warning: from vendor/tree-sitter-ruby/src/tree_sitter/parser.h:9,
warning: from vendor/tree-sitter-ruby/src/parser.c:1:
warning: /nix/store/ypwq2n4h5fik81hchgxn6bjpynyay4dm-glibc-2.33-108-dev/include/features.h:397:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
warning: 397 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O)
warning: | ^~~~~~~
warning: In file included from /nix/store/ypwq2n4h5fik81hchgxn6bjpynyay4dm-glibc-2.33-108-dev/include/bits/libc-header-start.h:33,
warning: from /nix/store/ypwq2n4h5fik81hchgxn6bjpynyay4dm-glibc-2.33-108-dev/include/stdint.h:26,
warning: from /nix/store/qxxm10h05039397bm9syfjp3rx482ls8-gcc-9.3.0/lib/gcc/aarch64-unknown-linux-gnu/9.3.0/include/stdint.h:9,
warning: from vendor/tree-sitter-ruby/src/tree_sitter/parser.h:9,
warning: from vendor/tree-sitter-ruby/src/scanner.cc:1:
warning: /nix/store/ypwq2n4h5fik81hchgxn6bjpynyay4dm-glibc-2.33-108-dev/include/features.h:397:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
warning: 397 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O)
warning: | ^~~~~~~
warning: In file included from /nix/store/ypwq2n4h5fik81hchgxn6bjpynyay4dm-glibc-2.33-108-dev/include/bits/libc-header-start.h:33,
warning: from /nix/store/ypwq2n4h5fik81hchgxn6bjpynyay4dm-glibc-2.33-108-dev/include/stdint.h:26,
warning: from /nix/store/qxxm10h05039397bm9syfjp3rx482ls8-gcc-9.3.0/lib/gcc/aarch64-unknown-linux-gnu/9.3.0/include/stdint.h:9,
warning: from vendor/tree-sitter-rust/src/tree_sitter/parser.h:9,
warning: from vendor/tree-sitter-rust/src/parser.c:1:
warning: /nix/store/ypwq2n4h5fik81hchgxn6bjpynyay4dm-glibc-2.33-108-dev/include/features.h:397:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
warning: 397 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O)
warning: | ^~~~~~~
warning: In file included from /nix/store/ypwq2n4h5fik81hchgxn6bjpynyay4dm-glibc-2.33-108-dev/include/bits/libc-header-start.h:33,
warning: from /nix/store/ypwq2n4h5fik81hchgxn6bjpynyay4dm-glibc-2.33-108-dev/include/stdint.h:26,
warning: from /nix/store/qxxm10h05039397bm9syfjp3rx482ls8-gcc-9.3.0/lib/gcc/aarch64-unknown-linux-gnu/9.3.0/include/stdint.h:9,
warning: from vendor/tree-sitter-rust/src/tree_sitter/parser.h:9,
warning: from vendor/tree-sitter-rust/src/scanner.c:1:
warning: /nix/store/ypwq2n4h5fik81hchgxn6bjpynyay4dm-glibc-2.33-108-dev/include/features.h:397:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
warning: 397 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O)
warning: | ^~~~~~~
warning: In file included from /nix/store/ypwq2n4h5fik81hchgxn6bjpynyay4dm-glibc-2.33-108-dev/include/bits/libc-header-start.h:33,
warning: from /nix/store/ypwq2n4h5fik81hchgxn6bjpynyay4dm-glibc-2.33-108-dev/include/stdint.h:26,
warning: from /nix/store/qxxm10h05039397bm9syfjp3rx482ls8-gcc-9.3.0/lib/gcc/aarch64-unknown-linux-gnu/9.3.0/include/stdint.h:9,
warning: from vendor/tree-sitter-typescript/typescript/src/tree_sitter/parser.h:9,
warning: from vendor/tree-sitter-typescript/typescript/src/parser.c:1:
warning: /nix/store/ypwq2n4h5fik81hchgxn6bjpynyay4dm-glibc-2.33-108-dev/include/features.h:397:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
warning: 397 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O)
warning: | ^~~~~~~
warning: In file included from /nix/store/ypwq2n4h5fik81hchgxn6bjpynyay4dm-glibc-2.33-108-dev/include/bits/libc-header-start.h:33,
warning: from /nix/store/ypwq2n4h5fik81hchgxn6bjpynyay4dm-glibc-2.33-108-dev/include/stdint.h:26,
warning: from /nix/store/qxxm10h05039397bm9syfjp3rx482ls8-gcc-9.3.0/lib/gcc/aarch64-unknown-linux-gnu/9.3.0/include/stdint.h:9,
warning: from vendor/tree-sitter-typescript/typescript/src/tree_sitter/parser.h:9,
warning: from vendor/tree-sitter-typescript/typescript/src/../../common/scanner.h:1,
warning: from vendor/tree-sitter-typescript/typescript/src/scanner.c:1:
warning: /nix/store/ypwq2n4h5fik81hchgxn6bjpynyay4dm-glibc-2.33-108-dev/include/features.h:397:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
warning: 397 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O)
warning: | ^~~~~~~
Finished test [unoptimized + debuginfo] target(s) in 1m 16s
Running unittests (target/debug/deps/tree_grepper-e0ac10aa105a161a)
running 19 tests
test language::tests::parse_query_problem ... ok
test extractor::tests::test_underscore_names_are_ignored ... ok
test extractor::tests::test_matches_are_extracted ... ok
test language::tests::to_str_reflects_from_str ... ok
test language::tests::parse_query_smoke_test ... ok
test extractor::tests::test_underscore_names_can_still_be_used_in_matchers ... ok
test tests::all_haskell ... ok
test tests::all_javascript ... ok
test tests::all_php ... ok
stored new snapshot /build/source/src/snapshots/tree_grepper__tests__all_elm.snap.new
test tests::all_elm ... FAILED
test tests::all_elixir ... ok
test tests::all_typescript ... ok
test tests::all_cpp ... ok
test tests::json_output ... ok
test tests::lines_output ... ok
test tests::all_ruby ... ok
test tests::pretty_json_output ... ok
test tests::json_lines_output ... ok
test tests::all_rust ... ok
failures:
---- tests::all_elm stdout ----
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Differences ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Snapshot file: src/snapshots/tree_grepper__tests__all_elm.snap
Snapshot: all_elm
Source: src/main.rs:284
-old snapshot
+new results
────────────────────────────────────────────────────────────────────────────────
call(&["tree-grepper", "-q", "elm", "(_)", "--format=pretty-json", "--sort",
"--no-gitignore", "vendor/tree-sitter-elm/examples"])
────────────┬───────────────────────────────────────────────────────────────────
5013 5013 │ "column": 127
5014 5014 │ }
5015 5015 │ },
5016 5016 │ {
5017 │- "kind": "ERROR",
5017 │+ "kind": "case_of_branch",
5018 5018 │ "name": "query",
5019 │- "text": "True ->\n case ab of\n True ->\n case ab of\n True ->\n Just\n { s = 5\n }\n\n _ ->\n Nothing\n\n _ ->\n Nothing",
5019 │+ "text": "True ->\n case ab of\n True ->\n case ab of\n True ->\n Just\n { s = 5\n }\n\n _ ->\n Nothing\n\n _ ->\n Nothing\n\n _ ->\n Nothing",
5020 5020 │ "start": {
5021 5021 │ "row": 34,
5022 5022 │ "column": 121
5023 5023 │ },
5024 5024 │ "end": {
5025 │- "row": 47,
5025 │+ "row": 50,
5026 5026 │ "column": 140
5027 5027 │ }
5028 5028 │ },
5029 5029 │ {
┈┈┈┈┈┈┈┈┈┈┈┈┼┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
5091 5091 │ "column": 128
5092 5092 │ }
5093 5093 │ },
5094 5094 │ {
5095 │- "kind": "bin_op_expr",
5096 │- "name": "query",
5097 │- "text": "case ab of\n True ->\n case ab of\n True ->\n Just\n { s = 5\n }",
5098 │- "start": {
5099 │- "row": 35,
5100 │- "column": 125
5101 │- },
5102 │- "end": {
5103 │- "row": 41,
5104 │- "column": 146
5105 │- }
5106 │- },
5107 │- {
5108 5095 │ "kind": "case_of_expr",
5109 5096 │ "name": "query",
5110 │- "text": "case ab of\n True ->\n case ab of\n True ->\n Just",
5097 │+ "text": "case ab of\n True ->\n case ab of\n True ->\n Just\n { s = 5\n }\n\n _ ->\n Nothing\n\n _ ->\n Nothing\n\n _ ->\n Nothing",
5111 5098 │ "start": {
5112 5099 │ "row": 35,
5113 5100 │ "column": 125
5114 5101 │ },
5115 5102 │ "end": {
5116 │- "row": 39,
5117 │- "column": 145
5103 │+ "row": 50,
5104 │+ "column": 140
5118 5105 │ }
5119 5106 │ },
5120 5107 │ {
5121 5108 │ "kind": "case",
┈┈┈┈┈┈┈┈┈┈┈┈┼┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
5184 5171 │ },
5185 5172 │ {
5186 5173 │ "kind": "case_of_branch",
5187 5174 │ "name": "query",
5188 │- "text": "True ->\n case ab of\n True ->\n Just",
5175 │+ "text": "True ->\n case ab of\n True ->\n Just\n { s = 5\n }\n\n _ ->\n Nothing",
5189 5176 │ "start": {
5190 5177 │ "row": 36,
5191 5178 │ "column": 129
5192 5179 │ },
5193 5180 │ "end": {
5194 │- "row": 39,
5195 │- "column": 145
5181 │+ "row": 44,
5182 │+ "column": 148
5196 5183 │ }
5197 5184 │ },
5198 5185 │ {
5199 5186 │ "kind": "pattern",
┈┈┈┈┈┈┈┈┈┈┈┈┼┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
5262 5249 │ },
5263 5250 │ {
5264 5251 │ "kind": "case_of_expr",
5265 5252 │ "name": "query",
5266 │- "text": "case ab of\n True ->\n Just",
5253 │+ "text": "case ab of\n True ->\n Just\n { s = 5\n }\n\n _ ->\n Nothing",
5267 5254 │ "start": {
5268 5255 │ "row": 37,
5269 5256 │ "column": 133
5270 5257 │ },
5271 5258 │ "end": {
5272 │- "row": 39,
5273 │- "column": 145
5259 │+ "row": 44,
5260 │+ "column": 148
5274 5261 │ }
5275 5262 │ },
5276 5263 │ {
5277 5264 │ "kind": "case",
┈┈┈┈┈┈┈┈┈┈┈┈┼┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
5340 5327 │ },
5341 5328 │ {
5342 5329 │ "kind": "case_of_branch",
5343 5330 │ "name": "query",
5344 │- "text": "True ->\n Just",
5331 │+ "text": "True ->\n Just\n { s = 5\n }",
5345 5332 │ "start": {
5346 5333 │ "row": 38,
5347 5334 │ "column": 137
5348 5335 │ },
5349 5336 │ "end": {
5350 │- "row": 39,
5351 │- "column": 145
5337 │+ "row": 41,
5338 │+ "column": 146
5352 5339 │ }
5353 5340 │ },
5354 5341 │ {
5355 5342 │ "kind": "pattern",
┈┈┈┈┈┈┈┈┈┈┈┈┼┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
5416 5403 │ "column": 144
5417 5404 │ }
5418 5405 │ },
5419 5406 │ {
5420 │- "kind": "value_expr",
5407 │+ "kind": "function_call_expr",
5421 5408 │ "name": "query",
5422 │- "text": "Just",
5409 │+ "text": "Just\n { s = 5\n }",
5423 5410 │ "start": {
5424 5411 │ "row": 39,
5425 5412 │ "column": 141
5426 5413 │ },
5427 5414 │ "end": {
5428 │- "row": 39,
5429 │- "column": 145
5415 │+ "row": 41,
5416 │+ "column": 146
5430 5417 │ }
5431 5418 │ },
5432 5419 │ {
5433 │- "kind": "upper_case_qid",
5420 │+ "kind": "value_expr",
5434 5421 │ "name": "query",
5435 5422 │ "text": "Just",
5436 5423 │ "start": {
5437 5424 │ "row": 39,
┈┈┈┈┈┈┈┈┈┈┈┈┼┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
5442 5429 │ "column": 145
5443 5430 │ }
5444 5431 │ },
5445 5432 │ {
5446 │- "kind": "upper_case_identifier",
5433 │+ "kind": "upper_case_qid",
5447 5434 │ "name": "query",
5448 5435 │ "text": "Just",
5449 5436 │ "start": {
5450 5437 │ "row": 39,
┈┈┈┈┈┈┈┈┈┈┈┈┼┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
5455 5442 │ "column": 145
5456 5443 │ }
5457 5444 │ },
5458 5445 │ {
5459 │- "kind": "operator",
5460 │- "name": "query",
5461 │- "text": "",
5462 │- "start": {
5463 │- "row": 39,
5464 │- "column": 145
5465 │- },
5466 │- "end": {
5467 │- "row": 39,
5468 │- "column": 145
5469 │- }
5470 │- },
5471 │- {
5472 │- "kind": "operator_identifier",
5446 │+ "kind": "upper_case_identifier",
5473 5447 │ "name": "query",
5474 │- "text": "",
5448 │+ "text": "Just",
5475 5449 │ "start": {
5476 5450 │ "row": 39,
5477 │- "column": 145
5451 │+ "column": 141
5478 5452 │ },
5479 5453 │ "end": {
5480 5454 │ "row": 39,
5481 5455 │ "column": 145
┈┈┈┈┈┈┈┈┈┈┈┈┼┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
5559 5533 │ "column": 152
5560 5534 │ }
5561 5535 │ },
5562 5536 │ {
5537 │+ "kind": "case_of_branch",
5538 │+ "name": "query",
5539 │+ "text": "_ ->\n Nothing",
5540 │+ "start": {
5541 │+ "row": 43,
5542 │+ "column": 137
5543 │+ },
5544 │+ "end": {
5545 │+ "row": 44,
5546 │+ "column": 148
5547 │+ }
5548 │+ },
5549 │+ {
5550 │+ "kind": "pattern",
5551 │+ "name": "query",
5552 │+ "text": "_",
5553 │+ "start": {
5554 │+ "row": 43,
5555 │+ "column": 137
5556 │+ },
5557 │+ "end": {
5558 │+ "row": 43,
5559 │+ "column": 138
5560 │+ }
5561 │+ },
5562 │+ {
5563 │+ "kind": "anything_pattern",
5564 │+ "name": "query",
5565 │+ "text": "_",
5566 │+ "start": {
5567 │+ "row": 43,
5568 │+ "column": 137
5569 │+ },
5570 │+ "end": {
5571 │+ "row": 43,
5572 │+ "column": 138
5573 │+ }
5574 │+ },
5575 │+ {
5563 5576 │ "kind": "underscore",
5564 5577 │ "name": "query",
5565 5578 │ "text": "_",
5566 5579 │ "start": {
┈┈┈┈┈┈┈┈┈┈┈┈┼┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
5585 5598 │ "column": 141
5586 5599 │ }
5587 5600 │ },
5588 5601 │ {
5589 │- "kind": "ERROR",
5602 │+ "kind": "value_expr",
5590 5603 │ "name": "query",
5591 │- "text": "N",
5604 │+ "text": "Nothing",
5592 5605 │ "start": {
5593 5606 │ "row": 44,
5594 5607 │ "column": 141
5595 5608 │ },
5596 5609 │ "end": {
5597 5610 │ "row": 44,
5598 │- "column": 142
5611 │+ "column": 148
5599 5612 │ }
5600 5613 │ },
5601 5614 │ {
5602 │- "kind": "lower_case_identifier",
5615 │+ "kind": "upper_case_qid",
5603 5616 │ "name": "query",
5604 │- "text": "othing",
5617 │+ "text": "Nothing",
5605 5618 │ "start": {
5606 5619 │ "row": 44,
5607 │- "column": 142
5620 │+ "column": 141
5608 5621 │ },
5609 5622 │ "end": {
5610 5623 │ "row": 44,
5611 5624 │ "column": 148
5612 5625 │ }
5613 5626 │ },
5614 5627 │ {
5628 │+ "kind": "upper_case_identifier",
5629 │+ "name": "query",
5630 │+ "text": "Nothing",
5631 │+ "start": {
5632 │+ "row": 44,
5633 │+ "column": 141
5634 │+ },
5635 │+ "end": {
5636 │+ "row": 44,
5637 │+ "column": 148
5638 │+ }
5639 │+ },
5640 │+ {
5641 │+ "kind": "case_of_branch",
5642 │+ "name": "query",
5643 │+ "text": "_ ->\n Nothing",
5644 │+ "start": {
5645 │+ "row": 46,
5646 │+ "column": 129
5647 │+ },
5648 │+ "end": {
5649 │+ "row": 47,
5650 │+ "column": 140
5651 │+ }
5652 │+ },
5653 │+ {
5654 │+ "kind": "pattern",
5655 │+ "name": "query",
5656 │+ "text": "_",
5657 │+ "start": {
5658 │+ "row": 46,
5659 │+ "column": 129
5660 │+ },
5661 │+ "end": {
5662 │+ "row": 46,
5663 │+ "column": 130
5664 │+ }
5665 │+ },
5666 │+ {
5667 │+ "kind": "anything_pattern",
5668 │+ "name": "query",
5669 │+ "text": "_",
5670 │+ "start": {
5671 │+ "row": 46,
5672 │+ "column": 129
5673 │+ },
5674 │+ "end": {
5675 │+ "row": 46,
5676 │+ "column": 130
5677 │+ }
5678 │+ },
5679 │+ {
5615 5680 │ "kind": "underscore",
5616 5681 │ "name": "query",
5617 5682 │ "text": "_",
5618 5683 │ "start": {
┈┈┈┈┈┈┈┈┈┈┈┈┼┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
5637 5702 │ "column": 133
5638 5703 │ }
5639 5704 │ },
5640 5705 │ {
5641 │- "kind": "ERROR",
5706 │+ "kind": "value_expr",
5707 │+ "name": "query",
5708 │+ "text": "Nothing",
5709 │+ "start": {
5710 │+ "row": 47,
5711 │+ "column": 133
5712 │+ },
5713 │+ "end": {
5714 │+ "row": 47,
5715 │+ "column": 140
5716 │+ }
5717 │+ },
5718 │+ {
5719 │+ "kind": "upper_case_qid",
5642 5720 │ "name": "query",
5643 │- "text": "N",
5721 │+ "text": "Nothing",
5644 5722 │ "start": {
5645 5723 │ "row": 47,
5646 5724 │ "column": 133
5647 5725 │ },
5648 5726 │ "end": {
5649 5727 │ "row": 47,
5650 │- "column": 134
5728 │+ "column": 140
5651 5729 │ }
5652 5730 │ },
5653 5731 │ {
5654 │- "kind": "lower_case_identifier",
5732 │+ "kind": "upper_case_identifier",
5655 5733 │ "name": "query",
5656 │- "text": "othing",
5734 │+ "text": "Nothing",
5657 5735 │ "start": {
5658 5736 │ "row": 47,
5659 │- "column": 134
5737 │+ "column": 133
5660 5738 │ },
5661 5739 │ "end": {
5662 5740 │ "row": 47,
5663 5741 │ "column": 140
────────────┴───────────────────────────────────────────────────────────────────
To update snapshots run `cargo insta review`
thread 'tests::all_elm' panicked at 'snapshot assertion for 'all_elm' failed in line 284', /sources/insta-1.13.0/src/runtime.rs:391:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
failures:
tests::all_elm
test result: FAILED. 18 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 3.30s
error: test failed, to rerun pass '--bin tree-grepper'