The Swift Package Index logo.Swift Package Index

Build Information

Successful build of SwiftTreeSitter, reference main (cbe31c), with Swift 6.3 for macOS (SPM) on 14 Aug 2026 14:51:01 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: undefined version: run 'make version' to update
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tree-sitter/swift-tree-sitter.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/tree-sitter/swift-tree-sitter
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at cbe31cb Clarify deferred sublayer validation requirements
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 @):
cbe31cb3601aa29c1f64b6e4328733511126d6d5
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/tree-sitter/swift-tree-sitter.git at main
Fetching https://github.com/tree-sitter/tree-sitter
[1/71088] Fetching tree-sitter
Fetched https://github.com/tree-sitter/tree-sitter from cache (5.58s)
Computing version for https://github.com/tree-sitter/tree-sitter
Computed https://github.com/tree-sitter/tree-sitter at 0.25.10 (6.23s)
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
========================================
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/1751] Fetching swift-tree-sitter
Fetched https://github.com/tree-sitter/swift-tree-sitter.git from cache (1.13s)
Fetching https://github.com/tree-sitter/tree-sitter from cache
Fetched https://github.com/tree-sitter/tree-sitter from cache (0.88s)
Computing version for https://github.com/tree-sitter/tree-sitter
Computed https://github.com/tree-sitter/tree-sitter at 0.25.10 (0.95s)
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 main (cbe31cb)
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 wasm_store.c
[3/18] Compiling lexer.c
[4/18] Compiling language.c
[5/18] Compiling alloc.c
[6/18] Compiling subtree.c
[7/18] Write sources
[9/18] Compiling get_changed_ranges.c
[10/18] Compiling stack.c
[11/18] Compiling parser.c
[12/18] Compiling tree_cursor.c
[13/18] Compiling node.c
[14/18] Compiling scanner.c
[15/18] Compiling query.c
[16/18] Compiling tree.c
[17/37] Compiling parser.c
[19/37] Compiling SwiftTreeSitter String+TextProvider.swift
[20/37] Compiling SwiftTreeSitter TSRange.swift
[21/37] Compiling SwiftTreeSitter SendableTypes.swift
[22/37] Compiling SwiftTreeSitter String+Data.swift
[23/39] Compiling SwiftTreeSitter ResolvingQueryCursor.swift
[24/39] Compiling SwiftTreeSitter ResolvingQueryMatchSequence.swift
[25/39] Compiling SwiftTreeSitter Point.swift
[26/39] Compiling SwiftTreeSitter Predicate.swift
[27/39] Compiling SwiftTreeSitter Query.swift
[28/39] Compiling SwiftTreeSitter QueryDefinitions.swift
[29/39] Compiling SwiftTreeSitter Input.swift
[30/39] Compiling SwiftTreeSitter InputEdit.swift
[31/39] Compiling SwiftTreeSitter Node.swift
[32/39] Compiling SwiftTreeSitter Parser.swift
[33/39] Compiling SwiftTreeSitter Bundle+Extensions.swift
[34/39] Compiling SwiftTreeSitter Encoding+Helpers.swift
[35/39] Compiling SwiftTreeSitter Language.swift
[36/39] Compiling SwiftTreeSitter LanguageConfiguration.swift
[37/39] Emitting module SwiftTreeSitter
[38/39] Compiling SwiftTreeSitter Tree.swift
[39/39] Compiling SwiftTreeSitter TreeCursor.swift
[40/47] Compiling SwiftTreeSitterLayer TreeSitter+Extensions.swift
[41/47] Compiling SwiftTreeSitterLayer ParseState.swift
[42/47] Compiling SwiftTreeSitterLayer LanguageLayerQueryCursor.swift
[43/47] Compiling SwiftTreeSitterLayer Snapshots.swift
[44/47] Compiling SwiftTreeSitterLayer Queryable.swift
[45/47] Emitting module SwiftTreeSitterLayer
[46/47] Compiling SwiftTreeSitterLayer IndexSet+Range.swift
[47/47] Compiling SwiftTreeSitterLayer LanguageLayer.swift
Build complete! (8.24s)
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/main
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.05s)
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.71s)
Generated documentation archive at:
  /Users/admin/builder/spi-builder-workspace/.docs/tree-sitter/swift-tree-sitter/main
Fetching https://github.com/swiftlang/swift-docc-plugin
Updating https://github.com/tree-sitter/tree-sitter
[1/2345] Fetching swift-docc-plugin
Updated https://github.com/tree-sitter/tree-sitter (1.12s)
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.79s)
Computing version for https://github.com/tree-sitter/tree-sitter
Computed https://github.com/tree-sitter/tree-sitter at 0.25.10 (2.36s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.5.0 (2.19s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3807] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.41s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (2.14s)
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
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
Building for debugging...
[0/8] Write sources
[2/8] Write snippet-extract-tool-entitlement.plist
[2/8] Write sources
[4/8] Write swift-version--6988338F2F200930.txt
[6/54] Compiling SymbolKit GenericConstraint.swift
[7/54] Compiling SymbolKit GenericParameter.swift
[8/54] Compiling SymbolKit Generics.swift
[9/54] Compiling SymbolKit Namespace.swift
[10/58] Emitting module SymbolKit
[11/58] Compiling SymbolKit DeclarationFragments.swift
[12/58] Compiling SymbolKit Fragment.swift
[13/58] Compiling SymbolKit FragmentKind.swift
[14/58] Compiling SymbolKit FunctionParameter.swift
[15/58] Compiling SymbolKit FunctionSignature.swift
[16/58] Compiling SymbolKit Names.swift
[17/58] Compiling SymbolKit SPI.swift
[18/58] Compiling SymbolKit Snippet.swift
[19/58] Compiling SymbolKit Extension.swift
[20/58] Compiling SymbolKit Mixin+Equals.swift
[21/58] Compiling SymbolKit Mixin+Hash.swift
[22/58] Compiling SymbolKit Mixin.swift
[23/58] Compiling SymbolKit LineList.swift
[24/58] Compiling SymbolKit Position.swift
[25/58] Compiling SymbolKit SourceRange.swift
[26/58] Compiling SymbolKit Metadata.swift
[27/58] Compiling SymbolKit Module.swift
[28/58] Compiling SymbolKit OperatingSystem.swift
[29/58] Compiling SymbolKit Platform.swift
[30/58] Compiling SymbolKit Identifier.swift
[31/58] Compiling SymbolKit KindIdentifier.swift
[32/58] Compiling SymbolKit Location.swift
[33/58] Compiling SymbolKit Mutability.swift
[34/58] Compiling SymbolKit Symbol.swift
[35/58] Compiling SymbolKit SymbolKind.swift
[36/58] Compiling SymbolKit SymbolGraph.swift
[37/58] Compiling SymbolKit GraphCollector.swift
[38/58] Compiling SymbolKit SemanticVersion.swift
[39/58] Compiling SymbolKit AccessControl.swift
[40/58] Compiling SymbolKit Availability.swift
[41/58] Compiling SymbolKit AvailabilityItem.swift
[42/58] Compiling SymbolKit Domain.swift
[43/58] Compiling SymbolKit Relationship.swift
[44/58] Compiling SymbolKit RelationshipKind.swift
[45/58] Compiling SymbolKit SourceOrigin.swift
[46/58] Compiling SymbolKit GenericConstraints.swift
[47/58] Compiling SymbolKit Swift.swift
[48/58] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[49/58] Compiling SymbolKit UnifiedSymbol.swift
[50/58] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[51/58] Compiling SymbolKit UnifiedSymbolGraph.swift
[52/58] Compiling Snippets SnippetParser.swift
[53/58] Emitting module Snippets
[54/58] Compiling Snippets SnippetLanguage.swift
[55/58] Compiling Snippets Snippet.swift
[56/62] Compiling snippet_extract URL+Status.swift
[57/62] Compiling snippet_extract SymbolGraph+Snippet.swift
[58/62] Compiling snippet_extract SnippetBuildCommand.swift
[59/62] Emitting module snippet_extract
[59/62] Write Objects.LinkFileList
[60/62] Linking snippet-extract-tool
[61/62] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (4.19s)
Building for debugging...
[0/1] Write swift-version--6988338F2F200930.txt
Build of target: 'SwiftTreeSitter' complete! (0.20s)
    1000
7	/Users/admin/builder/spi-builder-workspace/.docs/tree-sitter/swift-tree-sitter/main
✅  Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/tree-sitter/swift-tree-sitter/main
File count: 1000
Doc size:   7.0MB
Preparing doc bundle ...
Using presigned URL upload - AWS credentials not required
Uploading -tree-sitter-swift-tree-sitter-main-9cdace7b.zip to presigned URL
Starting upload of 1459696 bytes...
Upload completed successfully
Done.