The Swift Package Index logo.Swift Package Index

Build Information

Successful build of SwiftHighlight, reference 1.0.0 (6e405a), with Swift 6.3 for macOS (SPM) on 3 Oct 2026 06:55:17 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 5.1.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/CreatureSurvive/SwiftHighlight.git
Reference: 1.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/CreatureSurvive/SwiftHighlight
 * tag               1.0.0      -> FETCH_HEAD
HEAD is now at 6e405ac Run the SwiftUI README example on the main actor
Cloned https://github.com/CreatureSurvive/SwiftHighlight.git
Revision (git rev-parse @):
6e405acc136ab9ee0f6584d28d73cb62a30ee246
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/CreatureSurvive/SwiftHighlight.git at 1.0.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "swifthighlight",
      "name": "SwiftHighlight",
      "url": "https://github.com/CreatureSurvive/SwiftHighlight.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftHighlight",
      "traits": [
        "default"
      ],
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/CreatureSurvive/SwiftHighlight.git
[1/125] Fetching swifthighlight
Fetched https://github.com/CreatureSurvive/SwiftHighlight.git from cache (1.11s)
Creating working copy for https://github.com/CreatureSurvive/SwiftHighlight.git
Working copy of https://github.com/CreatureSurvive/SwiftHighlight.git resolved at 1.0.0 (6e405ac)
warning: '.resolve-product-dependencies': dependency 'swifthighlight' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/CreatureSurvive/SwiftHighlight.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.5.0.app xcrun swift build --arch arm64
Building for debugging...
[0/7] Write SwiftHighlightBenchmarks-entitlement.plist
[0/7] Write sources
[3/7] Write swift-version-69A768CDF2A0BEE1.txt
[5/34] Emitting module SwiftHighlight
[6/36] Compiling SwiftHighlight Matcher.swift
[7/36] Compiling SwiftHighlight PatternParser.swift
[8/36] Compiling SwiftHighlight Program.swift
[9/36] Compiling SwiftHighlight Theme.swift
[10/36] Compiling SwiftHighlight ThemeImport.swift
[11/36] Compiling SwiftHighlight Tokenizer.swift
[12/36] Compiling SwiftHighlight Grammar.swift
[13/36] Compiling SwiftHighlight Language.swift
[14/36] Compiling SwiftHighlight BuiltinGrammars.swift
[15/36] Compiling SwiftHighlight CFamily.swift
[16/36] Compiling SwiftHighlight Data.swift
[17/36] Compiling SwiftHighlight Scope.swift
[18/36] Compiling SwiftHighlight Token.swift
[19/36] Compiling SwiftHighlight ByteSet.swift
[20/36] Compiling SwiftHighlight GrammarKit.swift
[21/36] Compiling SwiftHighlight Scripting.swift
[22/36] Compiling SwiftHighlight Swift.swift
[23/36] Compiling SwiftHighlight LanguageRegistry.swift
[24/36] Compiling SwiftHighlight HighlightSession.swift
[25/36] Compiling SwiftHighlight Highlighter.swift
[26/36] Compiling SwiftHighlight HTMLRendering.swift
[27/36] Compiling SwiftHighlight PlatformRendering.swift
[28/36] Compiling SwiftHighlight RenderSupport.swift
[29/36] Compiling SwiftHighlight SwiftUIRendering.swift
[30/36] Compiling SwiftHighlight BuiltinThemes.swift
[31/36] Compiling SwiftHighlight Web.swift
[32/36] Compiling SwiftHighlight ANSIRendering.swift
[33/36] Compiling SwiftHighlight CodeView.swift
[34/39] Compiling SwiftHighlightBenchmarks main.swift
[35/39] Emitting module SwiftHighlightBenchmarks
[36/39] Compiling SwiftHighlightBenchmarks Legacy.swift
[36/39] Write Objects.LinkFileList
[37/39] Linking SwiftHighlightBenchmarks
[38/39] Applying SwiftHighlightBenchmarks
Build complete! (13.02s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SwiftHighlight",
  "name" : "SwiftHighlight",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "macos",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "16.0"
    },
    {
      "name" : "watchos",
      "version" : "9.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftHighlight",
      "targets" : [
        "SwiftHighlight"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SwiftHighlightBenchmarks",
      "targets" : [
        "SwiftHighlightBenchmarks"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "swift_languages_versions" : [
    "6"
  ],
  "targets" : [
    {
      "c99name" : "SwiftHighlightTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftHighlightTests",
      "path" : "Tests/SwiftHighlightTests",
      "sources" : [
        "APITests.swift",
        "LanguageTests.swift",
        "PatternTests.swift",
        "ReadmeTests.swift",
        "ScreenshotTests.swift",
        "SessionTests.swift",
        "SwiftGrammarTests.swift",
        "TestSupport.swift"
      ],
      "target_dependencies" : [
        "SwiftHighlight"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftHighlightBenchmarks",
      "module_type" : "SwiftTarget",
      "name" : "SwiftHighlightBenchmarks",
      "path" : "Sources/SwiftHighlightBenchmarks",
      "product_memberships" : [
        "SwiftHighlightBenchmarks"
      ],
      "sources" : [
        "Legacy.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "SwiftHighlight"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "SwiftHighlight",
      "module_type" : "SwiftTarget",
      "name" : "SwiftHighlight",
      "path" : "Sources/SwiftHighlight",
      "product_memberships" : [
        "SwiftHighlight",
        "SwiftHighlightBenchmarks"
      ],
      "sources" : [
        "Core/Scope.swift",
        "Core/Token.swift",
        "Engine/ByteSet.swift",
        "Engine/Matcher.swift",
        "Engine/PatternParser.swift",
        "Engine/Program.swift",
        "Engine/Tokenizer.swift",
        "Grammar/Grammar.swift",
        "Grammar/Language.swift",
        "Grammar/LanguageRegistry.swift",
        "HighlightSession.swift",
        "Highlighter.swift",
        "Languages/BuiltinGrammars.swift",
        "Languages/CFamily.swift",
        "Languages/Data.swift",
        "Languages/GrammarKit.swift",
        "Languages/Scripting.swift",
        "Languages/Swift.swift",
        "Languages/Web.swift",
        "Render/ANSIRendering.swift",
        "Render/CodeView.swift",
        "Render/HTMLRendering.swift",
        "Render/PlatformRendering.swift",
        "Render/RenderSupport.swift",
        "Render/SwiftUIRendering.swift",
        "Theme/BuiltinThemes.swift",
        "Theme/Theme.swift",
        "Theme/ThemeImport.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
✅  Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path:  $PWD/.docs/creaturesurvive/swifthighlight/1.0.0
Repository:               CreatureSurvive/SwiftHighlight
Swift version used:       6.3
Target:                   SwiftHighlight
Extracting symbol information for 'SwiftHighlight'...
Finished extracting symbol information for 'SwiftHighlight'. (44.29s)
Building documentation for 'SwiftHighlight'...
warning: 'init(vscodeTheme:)' doesn't exist at '/SwiftHighlight/Theme'
   --> ../Theme/Theme.swift:121:33-121:51
119 | /// Styles are keyed by scope; a token takes the style of its most specific scope with an entry,
120 | /// property by property (`keyword.control` can set only `bold` and inherit `keyword`'s color).
121 + /// Themes are `Codable`, and ``init(vscodeTheme:)`` / ``init(textMateTheme:)`` import the
    |                                 ╰─suggestion: Replace 'init(vscodeTheme:)' with 'init(vscodeTheme:name:)'
122 | /// VS Code, TextMate and Sublime Text formats.
123 | public struct Theme: Hashable, Sendable, Codable, Identifiable {
Finished building documentation for 'SwiftHighlight' (1.40s)
Generated documentation archive at:
  /Users/admin/builder/spi-builder-workspace/.docs/creaturesurvive/swifthighlight/1.0.0
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/2345] Fetching swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.64s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.5.0 (4.02s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3833] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.23s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.99s)
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.5.0
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Building for debugging...
[0/8] Write snippet-extract-tool-entitlement.plist
[1/8] Write sources
[4/8] Write swift-version-69A768CDF2A0BEE1.txt
[6/54] Compiling SymbolKit SemanticVersion.swift
[7/54] Compiling SymbolKit AccessControl.swift
[8/54] Compiling SymbolKit Availability.swift
[9/54] Compiling SymbolKit AvailabilityItem.swift
[10/54] Compiling SymbolKit Domain.swift
[11/58] Compiling SymbolKit Mixin+Equals.swift
[12/58] Compiling SymbolKit Mixin+Hash.swift
[13/58] Compiling SymbolKit Mixin.swift
[14/58] Compiling SymbolKit LineList.swift
[15/58] Compiling SymbolKit Position.swift
[16/58] Compiling Snippets Snippet.swift
[17/58] Emitting module Snippets
[18/58] Compiling Snippets SnippetLanguage.swift
[19/58] Compiling Snippets SnippetParser.swift
[20/58] Emitting module SymbolKit
[21/58] Compiling SymbolKit Relationship.swift
[22/58] Compiling SymbolKit RelationshipKind.swift
[23/58] Compiling SymbolKit SourceOrigin.swift
[24/58] Compiling SymbolKit GenericConstraints.swift
[25/58] Compiling SymbolKit Swift.swift
[26/58] Compiling SymbolKit SourceRange.swift
[27/58] Compiling SymbolKit Metadata.swift
[28/58] Compiling SymbolKit Module.swift
[29/58] Compiling SymbolKit OperatingSystem.swift
[30/58] Compiling SymbolKit Platform.swift
[31/58] Compiling SymbolKit Names.swift
[32/58] Compiling SymbolKit SPI.swift
[33/58] Compiling SymbolKit Snippet.swift
[34/58] Compiling SymbolKit Extension.swift
[35/58] Compiling SymbolKit Symbol.swift
[36/58] Compiling SymbolKit SymbolKind.swift
[37/58] Compiling SymbolKit SymbolGraph.swift
[38/58] Compiling SymbolKit GraphCollector.swift
[39/58] Compiling SymbolKit GenericConstraint.swift
[40/58] Compiling SymbolKit GenericParameter.swift
[41/58] Compiling SymbolKit Generics.swift
[42/58] Compiling SymbolKit Namespace.swift
[43/58] Compiling SymbolKit DeclarationFragments.swift
[44/58] Compiling SymbolKit Fragment.swift
[45/58] Compiling SymbolKit FragmentKind.swift
[46/58] Compiling SymbolKit FunctionParameter.swift
[47/58] Compiling SymbolKit FunctionSignature.swift
[48/58] Compiling SymbolKit Identifier.swift
[49/58] Compiling SymbolKit KindIdentifier.swift
[50/58] Compiling SymbolKit Location.swift
[51/58] Compiling SymbolKit Mutability.swift
[52/58] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[53/58] Compiling SymbolKit UnifiedSymbol.swift
[54/58] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[55/58] Compiling SymbolKit UnifiedSymbolGraph.swift
[56/62] Compiling snippet_extract URL+Status.swift
[57/62] Compiling snippet_extract SymbolGraph+Snippet.swift
[58/62] Emitting module snippet_extract
[59/62] Compiling snippet_extract SnippetBuildCommand.swift
[59/62] Write Objects.LinkFileList
[60/62] Linking snippet-extract-tool
[61/62] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (3.61s)
Building for debugging...
[0/1] Write swift-version-69A768CDF2A0BEE1.txt
Build of target: 'SwiftHighlight' complete! (0.23s)
    2506
17	/Users/admin/builder/spi-builder-workspace/.docs/creaturesurvive/swifthighlight/1.0.0
✅  Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/creaturesurvive/swifthighlight/1.0.0
File count: 2506
Doc size:   17.0MB
Preparing doc bundle ...
Using presigned URL upload - AWS credentials not required
Uploading -creaturesurvive-swifthighlight-1.0.0-268066b9.zip to presigned URL
Starting upload of 3482101 bytes...
Upload completed successfully
Done.