The Swift Package Index logo.Swift Package Index

Build Information

Failed to build HighlightKit, reference 0.2.0 (524c18), with Swift 6.2 for macOS (SPM) on 18 Jul 2026 18:04:19 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: undefined version: run 'make version' to update
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/PhraseHQ/HighlightKit.git
Reference: 0.2.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/PhraseHQ/HighlightKit
 * tag               0.2.0      -> FETCH_HEAD
HEAD is now at 524c185 Release 0.2.0
Cloned https://github.com/PhraseHQ/HighlightKit.git
Revision (git rev-parse @):
524c185b0553756498c1b6a1765e8d119c4623a6
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/PhraseHQ/HighlightKit.git at 0.2.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/PhraseHQ/HighlightKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64
Building for debugging...
[0/7] Write sources
[2/7] Write highlight-bench-entitlement.plist
[3/7] Write swift-version--3CB7CFEC50E0D141.txt
[5/87] Compiling HighlightKit Makefile.swift
[6/87] Compiling HighlightKit Markdown.swift
[7/87] Compiling HighlightKit Matlab.swift
[8/87] Compiling HighlightKit Nginx.swift
[9/87] Compiling HighlightKit Nim.swift
[10/87] Compiling HighlightKit Nix.swift
[11/87] Compiling HighlightKit Objectivec.swift
[12/87] Compiling HighlightKit Ocaml.swift
[13/87] Compiling HighlightKit Perl.swift
[14/87] Compiling HighlightKit Leaf.swift
[15/87] Compiling HighlightKit Less.swift
[16/87] Compiling HighlightKit CssShared.swift
[17/87] Compiling HighlightKit Ecmascript.swift
[18/87] Compiling HighlightKit JavaShared.swift
[19/87] Compiling HighlightKit KwsSwift.swift
[20/87] Compiling HighlightKit Lisp.swift
[21/87] Compiling HighlightKit Llvm.swift
[22/87] Compiling HighlightKit Lua.swift
[23/95] Compiling HighlightKit ModeCompiler.swift
[24/95] Compiling HighlightKit MultiMatcher.swift
[25/95] Compiling HighlightKit RegexSource.swift
[26/95] Compiling HighlightKit Highlighter.swift
[27/95] Compiling HighlightKit Ada.swift
[28/95] Compiling HighlightKit Apache.swift
[29/95] Compiling HighlightKit Applescript.swift
[30/95] Compiling HighlightKit Armasm.swift
[31/95] Compiling HighlightKit Bash.swift
[32/95] Compiling HighlightKit Typescript.swift
[33/95] Compiling HighlightKit Vim.swift
[34/95] Compiling HighlightKit Xml.swift
[35/95] Compiling HighlightKit Yaml.swift
[36/95] Compiling HighlightKit DefaultThemes.swift
[37/95] Compiling HighlightKit DynamicTheme.swift
[38/95] Compiling HighlightKit HighlightScope.swift
[39/95] Compiling HighlightKit HighlightTheme.swift
[40/95] Compiling HighlightKit Rust.swift
/Users/admin/builder/spi-builder-workspace/Sources/HighlightKit/Languages/Swift.swift:5:23: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
  3 | extension LanguageCatalog {
  4 |     /// Swift. Port of highlight.js `languages/swift.js`.
  5 |     public static let swift = LanguageDescriptor(name: "swift") {
    |                       `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
  6 |         let whitespace = Mode(match: #"\s+"#, relevance: 0)
  7 |         // https://docs.swift.org/swift-book/ReferenceManual/LexicalStructure.html#ID411
[41/95] Compiling HighlightKit Scala.swift
/Users/admin/builder/spi-builder-workspace/Sources/HighlightKit/Languages/Swift.swift:5:23: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
  3 | extension LanguageCatalog {
  4 |     /// Swift. Port of highlight.js `languages/swift.js`.
  5 |     public static let swift = LanguageDescriptor(name: "swift") {
    |                       `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
  6 |         let whitespace = Mode(match: #"\s+"#, relevance: 0)
  7 |         // https://docs.swift.org/swift-book/ReferenceManual/LexicalStructure.html#ID411
[42/95] Compiling HighlightKit Scheme.swift
/Users/admin/builder/spi-builder-workspace/Sources/HighlightKit/Languages/Swift.swift:5:23: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
  3 | extension LanguageCatalog {
  4 |     /// Swift. Port of highlight.js `languages/swift.js`.
  5 |     public static let swift = LanguageDescriptor(name: "swift") {
    |                       `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
  6 |         let whitespace = Mode(match: #"\s+"#, relevance: 0)
  7 |         // https://docs.swift.org/swift-book/ReferenceManual/LexicalStructure.html#ID411
[43/95] Compiling HighlightKit Scss.swift
/Users/admin/builder/spi-builder-workspace/Sources/HighlightKit/Languages/Swift.swift:5:23: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
  3 | extension LanguageCatalog {
  4 |     /// Swift. Port of highlight.js `languages/swift.js`.
  5 |     public static let swift = LanguageDescriptor(name: "swift") {
    |                       `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
  6 |         let whitespace = Mode(match: #"\s+"#, relevance: 0)
  7 |         // https://docs.swift.org/swift-book/ReferenceManual/LexicalStructure.html#ID411
[44/95] Compiling HighlightKit Shell.swift
/Users/admin/builder/spi-builder-workspace/Sources/HighlightKit/Languages/Swift.swift:5:23: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
  3 | extension LanguageCatalog {
  4 |     /// Swift. Port of highlight.js `languages/swift.js`.
  5 |     public static let swift = LanguageDescriptor(name: "swift") {
    |                       `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
  6 |         let whitespace = Mode(match: #"\s+"#, relevance: 0)
  7 |         // https://docs.swift.org/swift-book/ReferenceManual/LexicalStructure.html#ID411
[45/95] Compiling HighlightKit Sql.swift
/Users/admin/builder/spi-builder-workspace/Sources/HighlightKit/Languages/Swift.swift:5:23: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
  3 | extension LanguageCatalog {
  4 |     /// Swift. Port of highlight.js `languages/swift.js`.
  5 |     public static let swift = LanguageDescriptor(name: "swift") {
    |                       `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
  6 |         let whitespace = Mode(match: #"\s+"#, relevance: 0)
  7 |         // https://docs.swift.org/swift-book/ReferenceManual/LexicalStructure.html#ID411
[46/95] Compiling HighlightKit Stylus.swift
/Users/admin/builder/spi-builder-workspace/Sources/HighlightKit/Languages/Swift.swift:5:23: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
  3 | extension LanguageCatalog {
  4 |     /// Swift. Port of highlight.js `languages/swift.js`.
  5 |     public static let swift = LanguageDescriptor(name: "swift") {
    |                       `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
  6 |         let whitespace = Mode(match: #"\s+"#, relevance: 0)
  7 |         // https://docs.swift.org/swift-book/ReferenceManual/LexicalStructure.html#ID411
[47/95] Compiling HighlightKit Swift.swift
/Users/admin/builder/spi-builder-workspace/Sources/HighlightKit/Languages/Swift.swift:5:23: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
  3 | extension LanguageCatalog {
  4 |     /// Swift. Port of highlight.js `languages/swift.js`.
  5 |     public static let swift = LanguageDescriptor(name: "swift") {
    |                       `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
  6 |         let whitespace = Mode(match: #"\s+"#, relevance: 0)
  7 |         // https://docs.swift.org/swift-book/ReferenceManual/LexicalStructure.html#ID411
[48/95] Compiling HighlightKit Delphi.swift
[49/95] Compiling HighlightKit Diff.swift
[50/95] Compiling HighlightKit Dockerfile.swift
[51/95] Compiling HighlightKit Dos.swift
[52/95] Compiling HighlightKit Elm.swift
[53/95] Compiling HighlightKit Erlang.swift
[54/95] Compiling HighlightKit Fortran.swift
[55/95] Compiling HighlightKit Fsharp.swift
[56/95] Compiling HighlightKit Go.swift
[57/95] Compiling HighlightKit Groovy.swift
/Users/admin/builder/spi-builder-workspace/Sources/HighlightKit/Languages/Swift.swift:5:23: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
  3 | extension LanguageCatalog {
  4 |     /// Swift. Port of highlight.js `languages/swift.js`.
  5 |     public static let swift = LanguageDescriptor(name: "swift") {
    |                       `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
  6 |         let whitespace = Mode(match: #"\s+"#, relevance: 0)
  7 |         // https://docs.swift.org/swift-book/ReferenceManual/LexicalStructure.html#ID411
[58/95] Compiling HighlightKit Haskell.swift
/Users/admin/builder/spi-builder-workspace/Sources/HighlightKit/Languages/Swift.swift:5:23: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
  3 | extension LanguageCatalog {
  4 |     /// Swift. Port of highlight.js `languages/swift.js`.
  5 |     public static let swift = LanguageDescriptor(name: "swift") {
    |                       `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
  6 |         let whitespace = Mode(match: #"\s+"#, relevance: 0)
  7 |         // https://docs.swift.org/swift-book/ReferenceManual/LexicalStructure.html#ID411
[59/95] Compiling HighlightKit Http.swift
/Users/admin/builder/spi-builder-workspace/Sources/HighlightKit/Languages/Swift.swift:5:23: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
  3 | extension LanguageCatalog {
  4 |     /// Swift. Port of highlight.js `languages/swift.js`.
  5 |     public static let swift = LanguageDescriptor(name: "swift") {
    |                       `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
  6 |         let whitespace = Mode(match: #"\s+"#, relevance: 0)
  7 |         // https://docs.swift.org/swift-book/ReferenceManual/LexicalStructure.html#ID411
[60/95] Compiling HighlightKit Ini.swift
/Users/admin/builder/spi-builder-workspace/Sources/HighlightKit/Languages/Swift.swift:5:23: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
  3 | extension LanguageCatalog {
  4 |     /// Swift. Port of highlight.js `languages/swift.js`.
  5 |     public static let swift = LanguageDescriptor(name: "swift") {
    |                       `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
  6 |         let whitespace = Mode(match: #"\s+"#, relevance: 0)
  7 |         // https://docs.swift.org/swift-book/ReferenceManual/LexicalStructure.html#ID411
[61/95] Compiling HighlightKit Java.swift
/Users/admin/builder/spi-builder-workspace/Sources/HighlightKit/Languages/Swift.swift:5:23: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
  3 | extension LanguageCatalog {
  4 |     /// Swift. Port of highlight.js `languages/swift.js`.
  5 |     public static let swift = LanguageDescriptor(name: "swift") {
    |                       `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
  6 |         let whitespace = Mode(match: #"\s+"#, relevance: 0)
  7 |         // https://docs.swift.org/swift-book/ReferenceManual/LexicalStructure.html#ID411
[62/95] Compiling HighlightKit Javascript.swift
/Users/admin/builder/spi-builder-workspace/Sources/HighlightKit/Languages/Swift.swift:5:23: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
  3 | extension LanguageCatalog {
  4 |     /// Swift. Port of highlight.js `languages/swift.js`.
  5 |     public static let swift = LanguageDescriptor(name: "swift") {
    |                       `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
  6 |         let whitespace = Mode(match: #"\s+"#, relevance: 0)
  7 |         // https://docs.swift.org/swift-book/ReferenceManual/LexicalStructure.html#ID411
[63/95] Compiling HighlightKit Json.swift
/Users/admin/builder/spi-builder-workspace/Sources/HighlightKit/Languages/Swift.swift:5:23: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
  3 | extension LanguageCatalog {
  4 |     /// Swift. Port of highlight.js `languages/swift.js`.
  5 |     public static let swift = LanguageDescriptor(name: "swift") {
    |                       `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
  6 |         let whitespace = Mode(match: #"\s+"#, relevance: 0)
  7 |         // https://docs.swift.org/swift-book/ReferenceManual/LexicalStructure.html#ID411
[64/95] Compiling HighlightKit Kotlin.swift
/Users/admin/builder/spi-builder-workspace/Sources/HighlightKit/Languages/Swift.swift:5:23: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
  3 | extension LanguageCatalog {
  4 |     /// Swift. Port of highlight.js `languages/swift.js`.
  5 |     public static let swift = LanguageDescriptor(name: "swift") {
    |                       `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
  6 |         let whitespace = Mode(match: #"\s+"#, relevance: 0)
  7 |         // https://docs.swift.org/swift-book/ReferenceManual/LexicalStructure.html#ID411
[65/95] Compiling HighlightKit LanguageCatalog.swift
/Users/admin/builder/spi-builder-workspace/Sources/HighlightKit/Languages/Swift.swift:5:23: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
  3 | extension LanguageCatalog {
  4 |     /// Swift. Port of highlight.js `languages/swift.js`.
  5 |     public static let swift = LanguageDescriptor(name: "swift") {
    |                       `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
  6 |         let whitespace = Mode(match: #"\s+"#, relevance: 0)
  7 |         // https://docs.swift.org/swift-book/ReferenceManual/LexicalStructure.html#ID411
error: emit-module command failed with exit code 1 (use -v to see invocation)
[66/95] Compiling HighlightKit Php.swift
[67/95] Compiling HighlightKit Plaintext.swift
[68/95] Compiling HighlightKit Powershell.swift
[69/95] Compiling HighlightKit Prolog.swift
[70/95] Compiling HighlightKit Properties.swift
[71/95] Compiling HighlightKit Python.swift
[72/95] Compiling HighlightKit R.swift
[73/95] Compiling HighlightKit Ruby.swift
[74/95] Compiling HighlightKit CommonModes.swift
[75/95] Compiling HighlightKit CompiledMode.swift
[76/95] Compiling HighlightKit HighlightEngine.swift
[77/95] Compiling HighlightKit HighlightResult.swift
[78/95] Compiling HighlightKit HighlightToken.swift
[79/95] Compiling HighlightKit Keywords.swift
[80/95] Compiling HighlightKit LanguageDefinition.swift
[81/95] Compiling HighlightKit LanguageRegistry.swift
[82/95] Compiling HighlightKit Mode.swift
[83/95] Compiling HighlightKit Basic.swift
[84/95] Compiling HighlightKit C.swift
[85/95] Compiling HighlightKit Clojure.swift
[86/95] Compiling HighlightKit Cmake.swift
[87/95] Compiling HighlightKit Coffeescript.swift
[88/95] Compiling HighlightKit Cpp.swift
[89/95] Compiling HighlightKit Csharp.swift
[90/95] Compiling HighlightKit Css.swift
[91/95] Compiling HighlightKit Dart.swift
[92/95] Emitting module HighlightKit
/Users/admin/builder/spi-builder-workspace/Sources/HighlightKit/Languages/Swift.swift:5:23: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
  3 | extension LanguageCatalog {
  4 |     /// Swift. Port of highlight.js `languages/swift.js`.
  5 |     public static let swift = LanguageDescriptor(name: "swift") {
    |                       `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
  6 |         let whitespace = Mode(match: #"\s+"#, relevance: 0)
  7 |         // https://docs.swift.org/swift-book/ReferenceManual/LexicalStructure.html#ID411
BUILD FAILURE 6.2 macosSpm