The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of SwiftTreeSitter with Swift 5.9 for macOS (SPM).

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.27.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/viktorstrate/swift-tree-sitter.git
Reference: master
Initialized empty Git repository in /Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/viktorstrate/swift-tree-sitter
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 3aa6f8d Pass string lengths as bytes rather than characters
Submodule path 'languages/css/tree-sitter-css': checked out 'a03f1d2d1dfbf6f8e0fdca5f9ff030228241eb57'
Submodule path 'languages/html/tree-sitter-html': checked out '161a92474a7bb2e9e830e48e76426f38299d99d1'
Submodule path 'languages/java/tree-sitter-java': checked out '8a6ab8e8adb119bc35b133040077b60f6cf539ea'
Submodule path 'languages/javascript/tree-sitter-javascript': checked out 'fdeb68ac8d2bd5a78b943528bb68ceda3aade2eb'
Submodule path 'languages/json/tree-sitter-json': checked out '203e239408d642be83edde8988d6e7b20a19f0e8'
Submodule path 'languages/php/tree-sitter-php': checked out '0ce134234214427b6aeb2735e93a307881c6cd6f'
Submodule path 'tree-sitter': checked out 'ccd6bf554d922596ce905730d98a77af368bba5c'
Submodule 'languages/css/tree-sitter-css' (https://github.com/tree-sitter/tree-sitter-css.git) registered for path 'languages/css/tree-sitter-css'
Submodule 'languages/html/tree-sitter-html' (https://github.com/tree-sitter/tree-sitter-html.git) registered for path 'languages/html/tree-sitter-html'
Submodule 'languages/java/tree-sitter-java' (https://github.com/tree-sitter/tree-sitter-java.git) registered for path 'languages/java/tree-sitter-java'
Submodule 'languages/javascript/tree-sitter-javascript' (https://github.com/tree-sitter/tree-sitter-javascript.git) registered for path 'languages/javascript/tree-sitter-javascript'
Submodule 'languages/json/tree-sitter-json' (https://github.com/tree-sitter/tree-sitter-json.git) registered for path 'languages/json/tree-sitter-json'
Submodule 'languages/php/tree-sitter-php' (https://github.com/tree-sitter/tree-sitter-php.git) registered for path 'languages/php/tree-sitter-php'
Submodule 'tree-sitter' (https://github.com/tree-sitter/tree-sitter.git) registered for path 'tree-sitter'
Cloning into '/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/languages/css/tree-sitter-css'...
Cloning into '/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/languages/html/tree-sitter-html'...
Cloning into '/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/languages/java/tree-sitter-java'...
Cloning into '/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/languages/javascript/tree-sitter-javascript'...
Cloning into '/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/languages/json/tree-sitter-json'...
Cloning into '/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/languages/php/tree-sitter-php'...
Cloning into '/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/tree-sitter'...
Cloned https://github.com/viktorstrate/swift-tree-sitter.git
Revision (git rev-parse @):
3aa6f8d567e1d4d96a71c5bc0f483173d8213159
SUCCESS checkout https://github.com/viktorstrate/swift-tree-sitter.git at master
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "swift-tree-sitter",
      "name": "SwiftTreeSitter",
      "url": "https://github.com/viktorstrate/swift-tree-sitter.git",
      "version": "unspecified",
      "path": "/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-tree-sitter",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/viktorstrate/swift-tree-sitter.git
[1/940] Fetching swift-tree-sitter
Fetched https://github.com/viktorstrate/swift-tree-sitter.git (0.46s)
Creating working copy for https://github.com/viktorstrate/swift-tree-sitter.git
Working copy of https://github.com/viktorstrate/swift-tree-sitter.git resolved at master
warning: '.resolve-product-dependencies': dependency 'swift-tree-sitter' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  $PWD/checkout
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.0.0.app xcrun swift build --arch arm64
Building for debugging...
[0/11] Compiling TreeSitterLanguages json_parser.c
[1/11] Compiling TreeSitterLanguages css_scanner.c
[2/11] Compiling TreeSitterLanguages html_parser.c
[3/11] Compiling TreeSitterLanguages java_scanner.c
[4/11] Compiling TreeSitterLanguages css_parser.c
[5/11] Compiling lib.c
[6/11] Compiling TreeSitterLanguages javascript_parser.c
[7/11] Compiling TreeSitterLanguages java_parser.c
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TreeSitterLanguages/php_scanner.cc:121:5: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
    auto letter = lexer->lookahead;
    ^
1 warning generated.
[8/11] Compiling TreeSitterLanguages php_scanner.cc
[9/11] Compiling TreeSitterLanguages html_scanner.cc
[10/11] Compiling TreeSitterLanguages php_parser.c
[12/24] Compiling SwiftTreeSitter STSTree.swift
[13/24] Compiling SwiftTreeSitter STSQueryMatch.swift
[14/24] Compiling SwiftTreeSitter STSQueryPredicates.swift
[15/24] Compiling SwiftTreeSitter STSQueryCapture.swift
[16/24] Compiling SwiftTreeSitter STSQueryCursor.swift
[17/24] Compiling SwiftTreeSitter STSRange.swift
[18/25] Compiling SwiftTreeSitter STSTreeCursor.swift
[19/25] Compiling SwiftTreeSitter STSInputEdit.swift
[20/25] Compiling SwiftTreeSitter STSLanguage.swift
[21/25] Emitting module SwiftTreeSitter
[22/25] Compiling SwiftTreeSitter STSNode.swift
[23/25] Compiling SwiftTreeSitter STSParser.swift
[24/25] Compiling SwiftTreeSitter STSPoint.swift
[25/25] Compiling SwiftTreeSitter STSQuery.swift
Build complete! (10.52s)
Build complete.
Done.