=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Skipping vulnerability checks.
WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'.
===> Building for helix-22.12
warning: Both `/work/editors/helix/work/helix-22.12/.cargo/config` and `/work/editors/helix/work/helix-22.12/.cargo/config.toml` exist. Using `/work/editors/helix/work/helix-22.12/.cargo/config`
   Compiling libc v0.2.137
   Compiling memchr v2.5.0
   Compiling cfg-if v1.0.0
   Compiling proc-macro2 v1.0.47
   Compiling quote v1.0.21
   Compiling unicode-ident v1.0.5
   Compiling syn v1.0.104
   Compiling autocfg v1.1.0
   Compiling once_cell v1.16.0
   Compiling version_check v0.9.4
   Compiling thiserror v1.0.37
   Compiling thiserror-impl v1.0.37
   Compiling regex-automata v0.1.10
   Compiling smallvec v1.10.0
   Compiling bstr v1.0.1
   Compiling ahash v0.7.6
   Compiling num-traits v0.2.15
   Compiling itoa v1.0.4
   Compiling log v0.4.17
   Compiling lock_api v0.4.9
   Compiling quick-error v2.0.1
   Compiling parking_lot_core v0.9.4
   Compiling scopeguard v1.1.0
   Compiling getrandom v0.2.8
   Compiling serde v1.0.149
   Compiling crc32fast v1.3.2
   Compiling serde_derive v1.0.149
   Compiling same-file v1.0.6
   Compiling adler v1.0.2
   Compiling miniz_oxide v0.6.2
   Compiling walkdir v2.3.2
   Compiling signal-hook-registry v1.4.0
   Compiling human_format v1.0.3
   Compiling hex v0.4.3
   Compiling time-core v0.1.0
   Compiling bitflags v1.3.2
   Compiling bytesize v1.1.0
   Compiling prodash v21.1.0
   Compiling time-macros v0.2.6
   Compiling git-hash v0.10.1
   Compiling flate2 v1.0.25
   Compiling btoi v0.4.2
   Compiling num_threads v0.1.6
   Compiling sha1_smol v1.0.0
   Compiling git-features v0.24.1
   Compiling time v0.3.17
   Compiling hashbrown v0.12.3
   Compiling minimal-lexical v0.2.1
   Compiling nom v7.1.1
   Compiling git-date v0.3.0
   Compiling signal-hook v0.3.14
   Compiling git-actor v0.14.1
   Compiling git-validate v0.7.0
   Compiling git-object v0.23.0
   Compiling aho-corasick v0.7.20
   Compiling git-path v0.6.0
   Compiling regex-syntax v0.6.28
   Compiling cc v1.0.77
   Compiling tree-sitter v0.20.9
   Compiling regex v1.7.0
   Compiling parking_lot v0.12.1
   Compiling ahash v0.8.2
   Compiling remove_dir_all v0.5.3
   Compiling fastrand v1.8.0
   Compiling anyhow v1.0.66
   Compiling tempfile v3.3.0
   Compiling dashmap v5.4.0
   Compiling git-tempfile v3.0.0
   Compiling memmap2 v0.5.8
   Compiling tinyvec_macros v0.1.0
   Compiling helix-loader v0.6.0 (/work/editors/helix/work/helix-22.12/helix-loader)
   Compiling ryu v1.0.11
   Compiling tinyvec v1.6.0
   Compiling num_cpus v1.14.0
   Compiling hash_hasher v2.0.3
   Compiling encoding_rs v0.8.31
   Compiling unicode-normalization v0.1.22
   Compiling imara-diff v0.1.5
   Compiling mio v0.8.5
   Compiling dirs-sys-next v0.1.2
   Compiling futures-core v0.3.25
   Compiling rustversion v1.0.9
   Compiling pin-project-lite v0.2.9
   Compiling unicode-bidi v0.3.8
   Compiling percent-encoding v2.2.0
   Compiling form_urlencoded v1.1.0
   Compiling idna v0.3.0
   Compiling dirs-next v2.0.0
   Compiling unicode-linebreak v0.1.4
   Compiling git-lock v3.0.0
   Compiling num-integer v0.1.45
   Compiling tokio v1.22.0
   Compiling serde_json v1.0.89
   Compiling url v2.3.1
   Compiling git-traverse v0.19.0
   Compiling slotmap v1.0.6
   Compiling smartstring v1.0.1
   Compiling tokio-macros v1.8.0
   Compiling socket2 v0.4.7
   Compiling bytes v1.3.0
   Compiling arc-swap v1.5.1
   Compiling unicode-general-category v0.6.0
   Compiling castaway v0.2.2
   Compiling etcetera v0.4.0
   Compiling threadpool v1.8.1
   Compiling git-config-value v0.9.0
   Compiling toml v0.5.9
   Compiling git-quote v0.4.0
   Compiling git-sec v0.5.0
   Compiling git-glob v0.5.0
   Compiling slab v0.4.7
   Compiling libloading v0.7.4
   Compiling iana-time-zone v0.1.53
   Compiling static_assertions v1.1.0
   Compiling unicode-bom v1.1.4
   Compiling str_indices v0.4.0
   Compiling unicode-width v0.1.10
   Compiling smawk v0.3.1
   Compiling futures-task v0.3.25
   Compiling textwrap v0.16.0
   Compiling ropey v1.5.1-alpha
warning: unreachable expression
  --> helix-loader/src/lib.rs:48:5
   |
44 |       return std::path::PathBuf::from("/usr/pkg/share/helix").join(RT_DIR);
   |       -------------------------------------------------------------------- any code following this expression is unreachable
...
48 | /     std::env::current_exe()
49 | |         .ok()
50 | |         .and_then(|path| std::fs::canonicalize(path).ok())
51 | |         .and_then(|path| path.parent().map(|path| path.to_path_buf().join(RT_DIR)))
52 | |         .unwrap()
   | |_________________^ unreachable expression
   |
   = note: `#[warn(unreachable_code)]` on by default

warning: constant `REMOTE_NAME` is never used
  --> helix-loader/src/grammar.rs:60:7
   |
60 | const REMOTE_NAME: &str = "origin";
   |       ^^^^^^^^^^^
   |
   = note: `#[warn(dead_code)]` on by default

warning: enum `FetchStatus` is never used
   --> helix-loader/src/grammar.rs:185:6
    |
185 | enum FetchStatus {
    |      ^^^^^^^^^^^

warning: function `fetch_grammar` is never used
   --> helix-loader/src/grammar.rs:196:4
    |
196 | fn fetch_grammar(grammar: GrammarConfiguration) -> Result<FetchStatus> {
    |    ^^^^^^^^^^^^^

warning: function `set_remote` is never used
   --> helix-loader/src/grammar.rs:248:4
    |
248 | fn set_remote(repository_dir: &Path, remote_url: &str) -> Result<String> {
    |    ^^^^^^^^^^

warning: function `get_remote_url` is never used
   --> helix-loader/src/grammar.rs:256:4
    |
256 | fn get_remote_url(repository_dir: &Path) -> Option<String> {
    |    ^^^^^^^^^^^^^^

warning: function `get_revision` is never used
   --> helix-loader/src/grammar.rs:260:4
    |
260 | fn get_revision(repository_dir: &Path) -> Option<String> {
    |    ^^^^^^^^^^^^

warning: function `git` is never used
   --> helix-loader/src/grammar.rs:266:4
    |
266 | fn git<I, S>(repository_dir: &Path, args: I) -> Result<String>
    |    ^^^

warning: `helix-loader` (lib) generated 8 warnings
   Compiling chrono v0.4.23
   Compiling compact_str v0.6.1
   Compiling git-ref v0.20.0
   Compiling git-diff v0.23.0
   Compiling hashbrown v0.13.1
   Compiling nix v0.25.0
   Compiling git-bitmap v0.2.0
   Compiling atoi v1.0.0
   Compiling git-command v0.2.0
   Compiling git-chunk v0.4.0
   Compiling filetime v0.2.18
   Compiling home v0.5.4
   Compiling futures-util v0.3.25
   Compiling unicode-segmentation v1.10.0
   Compiling clru v0.5.0
   Compiling git-pack v0.27.0
   Compiling helix-core v0.6.0 (/work/editors/helix/work/helix-22.12/helix-core)
   Compiling git-url v0.11.0
   Compiling git-index v0.9.1
   Compiling git-prompt v0.2.0
   Compiling git-attributes v0.6.0
   Compiling git-revision v0.7.0
   Compiling io-close v0.3.7
   Compiling either v1.8.0
   Compiling utf8-width v0.1.6
   Compiling lazy_static v1.4.0
   Compiling pin-utils v0.1.0
   Compiling bstr v0.2.17
   Compiling byte-unit v4.0.17
   Compiling which v4.3.0
   Compiling git-worktree v0.9.0
   Compiling git-refspec v0.4.0
   Compiling git-credentials v0.7.0
   Compiling git-odb v0.37.0
   Compiling git-config v0.12.0
   Compiling git-discover v0.9.0
   Compiling git-mailmap v0.6.0
   Compiling serde_repr v0.1.9
   Compiling lsp-types v0.93.2
   Compiling git-repository v0.29.0
   Compiling futures-executor v0.3.25
   Compiling tokio-stream v0.1.11
   Compiling signal-hook-mio v0.2.3
   Compiling unicase v2.6.0
   Compiling thread_local v1.1.4
   Compiling crossbeam-utils v0.8.14
warning: `helix-loader` (lib) generated 8 warnings (8 duplicates)
   Compiling crossterm v0.25.0
   Compiling helix-lsp v0.6.0 (/work/editors/helix/work/helix-22.12/helix-lsp)
   Compiling helix-vcs v0.6.0 (/work/editors/helix/work/helix-22.12/helix-vcs)
   Compiling helix-dap v0.6.0 (/work/editors/helix/work/helix-22.12/helix-dap)
   Compiling chardetng v0.1.17
   Compiling grep-matcher v0.1.5
   Compiling fnv v1.0.7
   Compiling pulldown-cmark v0.9.2
   Compiling globset v0.4.9
   Compiling helix-view v0.6.0 (/work/editors/helix/work/helix-22.12/helix-view)
   Compiling helix-term v0.6.0 (/work/editors/helix/work/helix-22.12/helix-term)
warning: unused import: `std::process::Command`
 --> helix-term/build.rs:3:5
  |
3 | use std::process::Command;
  |     ^^^^^^^^^^^^^^^^^^^^^
  |
  = note: `#[warn(unused_imports)]` on by default

warning: `helix-term` (build script) generated 1 warning
   Compiling encoding_rs_io v0.1.7
   Compiling termini v0.1.4
   Compiling cassowary v0.3.0
   Compiling bytecount v0.6.3
   Compiling grep-searcher v0.1.10
   Compiling helix-tui v0.6.0 (/work/editors/helix/work/helix-22.12/helix-tui)
   Compiling ignore v0.4.18
   Compiling grep-regex v0.1.10
   Compiling fuzzy-matcher v0.3.7
   Compiling signal-hook-tokio v0.3.1
   Compiling fern v0.6.1
   Compiling content_inspector v0.2.4
    Finished release [optimized] target(s) in 39m 20s
Building 123 grammars
113 grammars already built
10 grammars failed to build
	Failure 0/10: Parser compilation failed.
Stdout: 
Stderr: /work/editors/helix/work/helix-22.12/runtime/grammars/sources/beancount/src/scanner.cc: In member function 'unsigned int {anonymous}::Scanner::serialize(char*)':
/work/editors/helix/work/helix-22.12/runtime/grammars/sources/beancount/src/scanner.cc:28:28: error: 'UINT8_MAX' was not declared in this scope
         if (indent_count > UINT8_MAX)
                            ^

	Failure 1/10: Parser compilation failed.
Stdout: 
Stderr: /work/editors/helix/work/helix-22.12/runtime/grammars/sources/html/src/scanner.cc: In member function 'unsigned int {anonymous}::Scanner::serialize(char*)':
/work/editors/helix/work/helix-22.12/runtime/grammars/sources/html/src/scanner.cc:30:40: error: 'UINT16_MAX' was not declared in this scope
     uint16_t tag_count = tags.size() > UINT16_MAX ? UINT16_MAX : tags.size();
                                        ^
/work/editors/helix/work/helix-22.12/runtime/grammars/sources/html/src/scanner.cc:41:27: error: 'UINT8_MAX' was not declared in this scope
         if (name_length > UINT8_MAX) name_length = UINT8_MAX;
                           ^

	Failure 2/10: Parser compilation failed.
Stdout: 
Stderr: In file included from /work/editors/helix/work/helix-22.12/runtime/grammars/sources/vue/src/scanner.cc:3:0:
/work/editors/helix/work/helix-22.12/runtime/grammars/sources/vue/src/./tree_sitter_html/scanner.cc: In member function 'unsigned int {anonymous}::Scanner::serialize(char*)':
/work/editors/helix/work/helix-22.12/runtime/grammars/sources/vue/src/./tree_sitter_html/scanner.cc:30:40: error: 'UINT16_MAX' was not declared in this scope
     uint16_t tag_count = tags.size() > UINT16_MAX ? UINT16_MAX : tags.size();
                                        ^
/work/editors/helix/work/helix-22.12/runtime/grammars/sources/vue/src/./tree_sitter_html/scanner.cc:41:27: error: 'UINT8_MAX' was not declared in this scope
         if (name_length > UINT8_MAX) name_length = UINT8_MAX;
                           ^

	Failure 3/10: Parser compilation failed.
Stdout: 
Stderr: /work/editors/helix/work/helix-22.12/runtime/grammars/sources/markdown/tree-sitter-markdown/src/scanner.cc: In member function 'unsigned int TreeSitterMarkdown::Scanner::serialize(char*)':
/work/editors/helix/work/helix-22.12/runtime/grammars/sources/markdown/tree-sitter-markdown/src/scanner.cc:218:28: error: 'UINT8_MAX' was not declared in this scope
         if (blocks_count > UINT8_MAX - i) blocks_count = UINT8_MAX - i;
                            ^
/work/editors/helix/work/helix-22.12/runtime/grammars/sources/markdown/tree-sitter-markdown/src/scanner.cc: At global scope:
/work/editors/helix/work/helix-22.12/runtime/grammars/sources/markdown/tree-sitter-markdown/src/scanner.cc:1287:55: warning: unused parameter 'valid_symbols' [-Wunused-parameter]
     bool parse_pipe_table(TSLexer *lexer, const bool *valid_symbols) {
                                                       ^

	Failure 4/10: Parser compilation failed.
Stdout: 
Stderr: /work/editors/helix/work/helix-22.12/runtime/grammars/sources/python/src/scanner.cc: In member function 'unsigned int {anonymous}::Scanner::serialize(char*)':
/work/editors/helix/work/helix-22.12/runtime/grammars/sources/python/src/scanner.cc:107:27: error: 'UINT8_MAX' was not declared in this scope
     if (delimiter_count > UINT8_MAX) delimiter_count = UINT8_MAX;
                           ^
In file included from /work/editors/helix/work/helix-22.12/runtime/grammars/sources/python/src/parser.c:1:0:
/work/editors/helix/work/helix-22.12/runtime/grammars/sources/python/src/parser.c: In function 'ts_lex_keywords':
/work/editors/helix/work/helix-22.12/runtime/grammars/sources/python/src/tree_sitter/parser.h:136:8: warning: variable 'eof' set but not used [-Wunused-but-set-variable]
   bool eof = false;             \
        ^
/work/editors/helix/work/helix-22.12/runtime/grammars/sources/python/src/parser.c:5049:3: note: in expansion of macro 'START_LEXER'
   START_LEXER();
   ^

	Failure 5/10: Parser compilation failed.
Stdout: 
Stderr: /work/editors/helix/work/helix-22.12/runtime/grammars/sources/php/src/scanner.cc: In static member function 'static bool {anonymous}::Scanner::is_escapable_sequence(TSLexer*)':
/work/editors/helix/work/helix-22.12/runtime/grammars/sources/php/src/scanner.cc:121:5: warning: 'auto' changes meaning in C++11; please remove it [-Wc++0x-compat]
     auto letter = lexer->lookahead;
     ^
/work/editors/helix/work/helix-22.12/runtime/grammars/sources/php/src/scanner.cc:121:10: error: 'letter' does not name a type
     auto letter = lexer->lookahead;
          ^
/work/editors/helix/work/helix-22.12/runtime/grammars/sources/php/src/scanner.cc:123:9: error: 'letter' was not declared in this scope
     if (letter == 'n' ||
         ^
/work/editors/helix/work/helix-22.12/runtime/grammars/sources/php/src/scanner.cc:136:9: error: 'letter' was not declared in this scope
     if (letter == 'x') {
         ^
/work/editors/helix/work/helix-22.12/runtime/grammars/sources/php/src/scanner.cc:142:9: error: 'letter' was not declared in this scope
     if (letter == 'u') {
         ^
/work/editors/helix/work/helix-22.12/runtime/grammars/sources/php/src/scanner.cc: At global scope:
/work/editors/helix/work/helix-22.12/runtime/grammars/sources/php/src/scanner.cc:379:51: warning: unused parameter 'p' [-Wunused-parameter]
 void tree_sitter_php_external_scanner_reset(void *p) {}
                                                   ^
In file included from /work/editors/helix/work/helix-22.12/runtime/grammars/sources/php/src/parser.c:1:0:
/work/editors/helix/work/helix-22.12/runtime/grammars/sources/php/src/parser.c: In function 'ts_lex_keywords':
/work/editors/helix/work/helix-22.12/runtime/grammars/sources/php/src/tree_sitter/parser.h:135:8: warning: variable 'eof' set but not used [-Wunused-but-set-variable]
   bool eof = false;             \
        ^
/work/editors/helix/work/helix-22.12/runtime/grammars/sources/php/src/parser.c:5544:3: note: in expansion of macro 'START_LEXER'
   START_LEXER();
   ^

	Failure 6/10: Parser compilation failed.
Stdout: 
Stderr: In file included from /work/editors/helix/work/helix-22.12/runtime/grammars/sources/astro/src/scanner.cc:7:0:
/work/editors/helix/work/helix-22.12/runtime/grammars/sources/astro/src/tag.h: In function 'const string toLower(std::string)':
/work/editors/helix/work/helix-22.12/runtime/grammars/sources/astro/src/tag.h:142:18: warning: range-based 'for' loops only available with -std=c++11 or -std=gnu++11
     for(char &a: str) {
                  ^
/work/editors/helix/work/helix-22.12/runtime/grammars/sources/astro/src/scanner.cc: In member function 'unsigned int {anonymous}::Scanner::serialize(char*)':
/work/editors/helix/work/helix-22.12/runtime/grammars/sources/astro/src/scanner.cc:32:44: error: 'UINT16_MAX' was not declared in this scope
         uint16_t tag_count = tags.size() > UINT16_MAX ? UINT16_MAX : tags.size();
                                            ^
/work/editors/helix/work/helix-22.12/runtime/grammars/sources/astro/src/scanner.cc:43:35: error: 'UINT8_MAX' was not declared in this scope
                 if (name_length > UINT8_MAX) name_length = UINT8_MAX;
                                   ^

	Failure 7/10: Parser compilation failed.
Stdout: 
Stderr: /work/editors/helix/work/helix-22.12/runtime/grammars/sources/elm/src/scanner.cc: In member function 'unsigned int {anonymous}::Scanner::serialize(char*)':
/work/editors/helix/work/helix-22.12/runtime/grammars/sources/elm/src/scanner.cc:46:33: error: 'UINT8_MAX' was not declared in this scope
             if (runback_count > UINT8_MAX)
                                 ^
In file included from /work/editors/helix/work/helix-22.12/runtime/grammars/sources/elm/src/parser.c:1:0:
/work/editors/helix/work/helix-22.12/runtime/grammars/sources/elm/src/parser.c: In function 'ts_lex_keywords':
/work/editors/helix/work/helix-22.12/runtime/grammars/sources/elm/src/tree_sitter/parser.h:136:8: warning: variable 'eof' set but not used [-Wunused-but-set-variable]
   bool eof = false;             \
        ^
/work/editors/helix/work/helix-22.12/runtime/grammars/sources/elm/src/parser.c:6895:3: note: in expansion of macro 'START_LEXER'
   START_LEXER();
   ^

	Failure 8/10: Parser compilation failed.
Stdout: 
Stderr: /work/editors/helix/work/helix-22.12/runtime/grammars/sources/gdscript/src/scanner.cc: In member function 'unsigned int {anonymous}::Scanner::serialize(char*)':
/work/editors/helix/work/helix-22.12/runtime/grammars/sources/gdscript/src/scanner.cc:94:22: error: 'UINT8_MAX' was not declared in this scope
     if (stack_size > UINT8_MAX) stack_size = UINT8_MAX;
                      ^
In file included from /work/editors/helix/work/helix-22.12/runtime/grammars/sources/gdscript/src/parser.c:1:0:
/work/editors/helix/work/helix-22.12/runtime/grammars/sources/gdscript/src/parser.c: In function 'ts_lex_keywords':
/work/editors/helix/work/helix-22.12/runtime/grammars/sources/gdscript/src/tree_sitter/parser.h:135:8: warning: variable 'eof' set but not used [-Wunused-but-set-variable]
   bool eof = false;             \
        ^
/work/editors/helix/work/helix-22.12/runtime/grammars/sources/gdscript/src/parser.c:2128:3: note: in expansion of macro 'START_LEXER'
   START_LEXER();
   ^

	Failure 9/10: Parser compilation failed.
Stdout: 
Stderr: /work/editors/helix/work/helix-22.12/runtime/grammars/sources/org/src/scanner.cc: In member function 'unsigned int {anonymous}::Scanner::serialize(char*)':
/work/editors/helix/work/helix-22.12/runtime/grammars/sources/org/src/scanner.cc:46:24: error: 'UINT8_MAX' was not declared in this scope
     if (indent_count > UINT8_MAX) indent_count = UINT8_MAX;
                        ^