The Swift Package Index logo.Swift Package Index

Build Information

Successful build of SwiftTreeSitter, reference 0.25.0 (08ef81), with Swift 6.3 for macOS (SPM) on 16 Apr 2026 07:56:37 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tree-sitter/swift-tree-sitter.git
Reference: 0.25.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/tree-sitter/swift-tree-sitter
 * tag               0.25.0     -> FETCH_HEAD
HEAD is now at 08ef81e Bump core library to 0.25.5
Submodule path 'tree-sitter-swift': checked out 'eda05af7ac41adb4eb19c346883c0fa32fe3bdd8'
Submodule 'tree-sitter-swift' (https://github.com/alex-pinkus/tree-sitter-swift) registered for path 'tree-sitter-swift'
Cloning into '/Users/admin/builder/spi-builder-workspace/tree-sitter-swift'...
Cloned https://github.com/tree-sitter/swift-tree-sitter.git
Revision (git rev-parse @):
08ef81eb8620617b55b08868126707ad72bf754f
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/tree-sitter/swift-tree-sitter.git at 0.25.0
Fetching https://github.com/tree-sitter/tree-sitter
[1/67430] Fetching tree-sitter
Fetched https://github.com/tree-sitter/tree-sitter from cache (3.53s)
Computing version for https://github.com/tree-sitter/tree-sitter
Computed https://github.com/tree-sitter/tree-sitter at 0.25.5 (4.17s)
Creating working copy for https://github.com/tree-sitter/tree-sitter
Working copy of https://github.com/tree-sitter/tree-sitter resolved at 0.25.5
========================================
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": "swift-tree-sitter",
      "name": "SwiftTreeSitter",
      "url": "https://github.com/tree-sitter/swift-tree-sitter.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-tree-sitter",
      "traits": [
        "default"
      ],
      "dependencies": [
        {
          "identity": "tree-sitter",
          "name": "TreeSitter",
          "url": "https://github.com/tree-sitter/tree-sitter",
          "version": "0.25.10",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/tree-sitter",
          "traits": [
            "default"
          ],
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/tree-sitter/swift-tree-sitter.git
[1/1714] Fetching swift-tree-sitter
Fetched https://github.com/tree-sitter/swift-tree-sitter.git from cache (1.03s)
Fetching https://github.com/tree-sitter/tree-sitter from cache
Fetched https://github.com/tree-sitter/tree-sitter from cache (0.76s)
Computing version for https://github.com/tree-sitter/tree-sitter
Computed https://github.com/tree-sitter/tree-sitter at 0.25.10 (1.42s)
Creating working copy for https://github.com/tree-sitter/swift-tree-sitter.git
Working copy of https://github.com/tree-sitter/swift-tree-sitter.git resolved at 0.25.0 (08ef81e)
Creating working copy for https://github.com/tree-sitter/tree-sitter
Working copy of https://github.com/tree-sitter/tree-sitter resolved at 0.25.10
warning: '.resolve-product-dependencies': dependency 'swift-tree-sitter' is not used by any target
Found 1 product dependencies
  - TreeSitter
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/tree-sitter/swift-tree-sitter.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/18] Write swift-version--6988338F2F200930.txt
[1/18] Compiling stdlib.c
[2/18] Compiling scanner.c
[3/18] Compiling alloc.c
[4/18] Compiling language.c
[5/18] Compiling wasm_store.c
[6/18] Compiling lexer.c
[7/18] Write sources
[8/18] Compiling tree_cursor.c
[9/18] Write sources
[10/18] Compiling parser.c
[11/18] Compiling subtree.c
[12/18] Compiling stack.c
[13/18] Compiling get_changed_ranges.c
[14/18] Compiling tree.c
[15/18] Compiling query.c
[16/18] Compiling node.c
[17/37] Compiling parser.c
[19/37] Compiling SwiftTreeSitter Node.swift
[20/37] Compiling SwiftTreeSitter Parser.swift
[21/37] Compiling SwiftTreeSitter ResolvingQueryCursor.swift
[22/37] Compiling SwiftTreeSitter ResolvingQueryMatchSequence.swift
[23/37] Compiling SwiftTreeSitter Input.swift
[24/37] Compiling SwiftTreeSitter InputEdit.swift
[25/37] Compiling SwiftTreeSitter Point.swift
[26/37] Compiling SwiftTreeSitter Predicate.swift
[27/37] Compiling SwiftTreeSitter Query.swift
[28/37] Compiling SwiftTreeSitter QueryDefinitions.swift
[29/37] Emitting module SwiftTreeSitter
[30/37] Compiling SwiftTreeSitter Bundle+Extensions.swift
[31/37] Compiling SwiftTreeSitter Encoding+Helpers.swift
[32/37] Compiling SwiftTreeSitter SendableTypes.swift
[33/37] Compiling SwiftTreeSitter String+Data.swift
[34/37] Compiling SwiftTreeSitter String+TextProvider.swift
[35/37] Compiling SwiftTreeSitter TSRange.swift
[36/37] Compiling SwiftTreeSitter Language.swift
[37/37] Compiling SwiftTreeSitter LanguageConfiguration.swift
[38/39] Compiling SwiftTreeSitter Tree.swift
[39/39] Compiling SwiftTreeSitter TreeCursor.swift
[40/47] Compiling SwiftTreeSitterLayer Snapshots.swift
[41/47] Compiling SwiftTreeSitterLayer Queryable.swift
[42/47] Compiling SwiftTreeSitterLayer ParseState.swift
[43/47] Compiling SwiftTreeSitterLayer TreeSitter+Extensions.swift
[44/47] Compiling SwiftTreeSitterLayer LanguageLayerQueryCursor.swift
[45/47] Compiling SwiftTreeSitterLayer IndexSet+Range.swift
[46/47] Emitting module SwiftTreeSitterLayer
[47/47] Compiling SwiftTreeSitterLayer LanguageLayer.swift
Build complete! (7.72s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "tree-sitter",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.25.0",
            "upper_bound" : "0.26.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/tree-sitter/tree-sitter"
    }
  ],
  "manifest_display_name" : "SwiftTreeSitter",
  "name" : "SwiftTreeSitter",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.13"
    },
    {
      "name" : "maccatalyst",
      "version" : "13.0"
    },
    {
      "name" : "ios",
      "version" : "12.0"
    },
    {
      "name" : "tvos",
      "version" : "12.0"
    },
    {
      "name" : "watchos",
      "version" : "5.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftTreeSitter",
      "targets" : [
        "SwiftTreeSitter"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SwiftTreeSitterLayer",
      "targets" : [
        "SwiftTreeSitterLayer"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "TestTreeSitterSwift",
      "module_type" : "ClangTarget",
      "name" : "TestTreeSitterSwift",
      "path" : "tree-sitter-swift",
      "sources" : [
        "src/parser.c",
        "src/scanner.c"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SwiftTreeSitterTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftTreeSitterTests",
      "path" : "Tests/SwiftTreeSitterTests",
      "sources" : [
        "LanguageConfigurationTests.swift",
        "NodeTests.swift",
        "ParserTests.swift",
        "PredicateTests.swift",
        "QueryTests.swift",
        "ResolvingQueryCursorTests.swift"
      ],
      "target_dependencies" : [
        "SwiftTreeSitter",
        "TestTreeSitterSwift"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftTreeSitterLayerTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftTreeSitterLayerTests",
      "path" : "Tests/SwiftTreeSitterLayerTests",
      "sources" : [
        "LanguageLayerTests.swift"
      ],
      "target_dependencies" : [
        "SwiftTreeSitterLayer",
        "TestTreeSitterSwift"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftTreeSitterLayer",
      "module_type" : "SwiftTarget",
      "name" : "SwiftTreeSitterLayer",
      "path" : "Sources/SwiftTreeSitterLayer",
      "product_memberships" : [
        "SwiftTreeSitterLayer"
      ],
      "sources" : [
        "IndexSet+Range.swift",
        "LanguageLayer.swift",
        "LanguageLayerQueryCursor.swift",
        "ParseState.swift",
        "Queryable.swift",
        "Snapshots.swift",
        "TreeSitter+Extensions.swift"
      ],
      "target_dependencies" : [
        "SwiftTreeSitter"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SwiftTreeSitter",
      "module_type" : "SwiftTarget",
      "name" : "SwiftTreeSitter",
      "path" : "Sources/SwiftTreeSitter",
      "product_dependencies" : [
        "TreeSitter"
      ],
      "product_memberships" : [
        "SwiftTreeSitter",
        "SwiftTreeSitterLayer"
      ],
      "sources" : [
        "Bundle+Extensions.swift",
        "Encoding+Helpers.swift",
        "Input.swift",
        "InputEdit.swift",
        "Language.swift",
        "LanguageConfiguration.swift",
        "Node.swift",
        "Parser.swift",
        "Point.swift",
        "Predicate.swift",
        "Query.swift",
        "QueryDefinitions.swift",
        "ResolvingQueryCursor.swift",
        "ResolvingQueryMatchSequence.swift",
        "SendableTypes.swift",
        "String+Data.swift",
        "String+TextProvider.swift",
        "TSRange.swift",
        "Tree.swift",
        "TreeCursor.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
✅  Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path:  $PWD/.docs/tree-sitter/swift-tree-sitter/0.25.0
Repository:               tree-sitter/swift-tree-sitter
Swift version used:       6.3
Target:                   SwiftTreeSitter
Extracting symbol information for 'SwiftTreeSitter'...
Finished extracting symbol information for 'SwiftTreeSitter'. (27.71s)
Building documentation for 'SwiftTreeSitter'...
warning: Missing 'Image' child directive
The 'Chapter' directive must have exactly one 'Image' child directive
  --> Tutorials/Using-Tree-Sitter.tutorial:6:5-12:6
4  |     }
5  |
6  +     @Chapter(name: "Tree-Sitter Essentials") {
7  + 		Learn how to use parse text, process edits, and perform queries with tree-sitter.
8  +
9  +         @TutorialReference(tutorial: "doc:Parsing")
10 + 		@TutorialReference(tutorial: "doc:Processing-Edits")
11 + 		@TutorialReference(tutorial: "doc:Queries")
12 +     }
13 |
14 | 	@Chapter(name: "Doing more with Queries") {
warning: Missing 'Image' child directive
The 'Chapter' directive must have exactly one 'Image' child directive
  --> Tutorials/Using-Tree-Sitter.tutorial:14:2-18:3
12 |     }
13 |
14 + 	@Chapter(name: "Doing more with Queries") {
15 + 		Learn how to take full advantage of the tree-sitter query system.
16 +
17 + 		@TutorialReference(tutorial: "doc:Resolving-Queries")
18 + 	}
19 | }
Finished building documentation for 'SwiftTreeSitter' (0.57s)
Generated documentation archive at:
  /Users/admin/builder/spi-builder-workspace/.docs/tree-sitter/swift-tree-sitter/0.25.0
Fetching https://github.com/swiftlang/swift-docc-plugin
Updating https://github.com/tree-sitter/tree-sitter
[1/2277] Fetching swift-docc-plugin
Updated https://github.com/tree-sitter/tree-sitter (0.83s)
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.14s)
Computing version for https://github.com/tree-sitter/tree-sitter
Computed https://github.com/tree-sitter/tree-sitter at 0.25.5 (1.92s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.6 (2.68s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3672] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.16s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.90s)
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.6
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 sources
[1/8] Write snippet-extract-tool-entitlement.plist
[4/8] Write swift-version--6988338F2F200930.txt
[6/53] Compiling SymbolKit GenericConstraint.swift
[7/53] Compiling SymbolKit GenericParameter.swift
[8/53] Compiling SymbolKit Generics.swift
[9/53] Compiling SymbolKit Namespace.swift
[10/57] Compiling SymbolKit Names.swift
[11/57] Compiling SymbolKit SPI.swift
[12/57] Compiling SymbolKit Snippet.swift
[13/57] Compiling SymbolKit Extension.swift
[14/57] Compiling SymbolKit Mixin+Equals.swift
[15/57] Compiling SymbolKit Mixin+Hash.swift
[16/57] Compiling SymbolKit Mixin.swift
[17/57] Compiling SymbolKit LineList.swift
[18/57] Compiling SymbolKit Position.swift
[19/57] Emitting module SymbolKit
[20/57] Compiling SymbolKit SemanticVersion.swift
[21/57] Compiling SymbolKit AccessControl.swift
[22/57] Compiling SymbolKit Availability.swift
[23/57] Compiling SymbolKit AvailabilityItem.swift
[24/57] Compiling SymbolKit Domain.swift
[25/57] Compiling SymbolKit Relationship.swift
[26/57] Compiling SymbolKit RelationshipKind.swift
[27/57] Compiling SymbolKit SourceOrigin.swift
[28/57] Compiling SymbolKit GenericConstraints.swift
[29/57] Compiling SymbolKit Swift.swift
[30/57] Compiling SymbolKit SourceRange.swift
[31/57] Compiling SymbolKit Metadata.swift
[32/57] Compiling SymbolKit Module.swift
[33/57] Compiling SymbolKit OperatingSystem.swift
[34/57] Compiling SymbolKit Platform.swift
[35/57] Compiling SymbolKit Identifier.swift
[36/57] Compiling SymbolKit KindIdentifier.swift
[37/57] Compiling SymbolKit Location.swift
[38/57] Compiling SymbolKit Mutability.swift
[39/57] Compiling SymbolKit DeclarationFragments.swift
[40/57] Compiling SymbolKit Fragment.swift
[41/57] Compiling SymbolKit FragmentKind.swift
[42/57] Compiling SymbolKit FunctionParameter.swift
[43/57] Compiling SymbolKit FunctionSignature.swift
[44/57] Compiling SymbolKit Symbol.swift
[45/57] Compiling SymbolKit SymbolKind.swift
[46/57] Compiling SymbolKit SymbolGraph.swift
[47/57] Compiling SymbolKit GraphCollector.swift
[48/57] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[49/57] Compiling SymbolKit UnifiedSymbol.swift
[50/57] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[51/57] Compiling SymbolKit UnifiedSymbolGraph.swift
[52/57] Emitting module Snippets
[53/57] Compiling Snippets SnippetParser.swift
[54/57] Compiling Snippets Snippet.swift
[55/61] Compiling snippet_extract URL+Status.swift
[56/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[57/61] Emitting module snippet_extract
[58/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (4.33s)
Building for debugging...
[0/1] Write swift-version--6988338F2F200930.txt
Build of target: 'SwiftTreeSitter' complete! (0.20s)
     998
7	/Users/admin/builder/spi-builder-workspace/.docs/tree-sitter/swift-tree-sitter/0.25.0
✅  Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/tree-sitter/swift-tree-sitter/0.25.0
File count: 998
Doc size:   7.0MB
Preparing doc bundle ...
Uploading prod-tree-sitter-swift-tree-sitter-0.25.0-8406a617.zip to s3://spi-docs-inbox/prod-tree-sitter-swift-tree-sitter-0.25.0-8406a617.zip
Copying... [13%]
Copying... [22%]
Copying... [31%]
Copying... [40%]
Copying... [54%]
Copying... [63%]
Copying... [72%]
Copying... [81%]
Copying... [94%]
Copying... [100%]
Done.