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, reference 0.1.1 (3aa6f8), with Swift 6.0 for macOS (SPM) on 2 Nov 2024 10:41:46 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/viktorstrate/swift-tree-sitter.git
Reference: 0.1.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/viktorstrate/swift-tree-sitter
 * tag               0.1.1      -> FETCH_HEAD
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/builder/spi-builder-workspace/languages/css/tree-sitter-css'...
Cloning into '/Users/admin/builder/spi-builder-workspace/languages/html/tree-sitter-html'...
Cloning into '/Users/admin/builder/spi-builder-workspace/languages/java/tree-sitter-java'...
Cloning into '/Users/admin/builder/spi-builder-workspace/languages/javascript/tree-sitter-javascript'...
Cloning into '/Users/admin/builder/spi-builder-workspace/languages/json/tree-sitter-json'...
Cloning into '/Users/admin/builder/spi-builder-workspace/languages/php/tree-sitter-php'...
Cloning into '/Users/admin/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 0.1.1
========================================
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",
  "dependencies": [
    {
      "identity": "swift-tree-sitter",
      "name": "SwiftTreeSitter",
      "url": "https://github.com/viktorstrate/swift-tree-sitter.git",
      "version": "unspecified",
      "path": "/Users/admin/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 from cache (1.97s)
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 0.1.1 (3aa6f8d)
warning: '.resolve-product-dependencies': dependency 'swift-tree-sitter' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/viktorstrate/swift-tree-sitter.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/13] Write swift-version--7754E27361AE5C74.txt
[1/13] Compiling TreeSitterLanguages json_parser.c
[2/13] Write sources
[3/13] Compiling TreeSitterLanguages css_parser.c
[4/13] Compiling TreeSitterLanguages html_parser.c
[5/13] Compiling TreeSitterLanguages java_scanner.c
[6/13] Compiling TreeSitterLanguages css_scanner.c
[7/13] Compiling TreeSitterLanguages java_parser.c
[8/13] Compiling TreeSitterLanguages javascript_parser.c
[9/13] Compiling lib.c
[10/13] Compiling TreeSitterLanguages php_parser.c
/Users/admin/builder/spi-builder-workspace/Sources/TreeSitterLanguages/php_scanner.cc:121:5: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
  121 |     auto letter = lexer->lookahead;
      |     ^
1 warning generated.
[11/13] Compiling TreeSitterLanguages php_scanner.cc
[12/13] Compiling TreeSitterLanguages html_scanner.cc
[14/26] Compiling SwiftTreeSitter STSRange.swift
[15/27] Compiling SwiftTreeSitter STSQueryPredicates.swift
[16/27] Compiling SwiftTreeSitter STSTree.swift
[17/27] Compiling SwiftTreeSitter STSTreeCursor.swift
[18/27] Compiling SwiftTreeSitter STSQueryMatch.swift
[19/27] Compiling SwiftTreeSitter STSQueryCursor.swift
[20/27] Compiling SwiftTreeSitter STSQueryCapture.swift
[21/27] Compiling SwiftTreeSitter STSPoint.swift
[22/27] Compiling SwiftTreeSitter STSQuery.swift
[23/27] Compiling SwiftTreeSitter STSInputEdit.swift
[24/27] Compiling SwiftTreeSitter STSLanguage.swift
[25/27] Emitting module SwiftTreeSitter
[26/27] Compiling SwiftTreeSitter STSNode.swift
[27/27] Compiling SwiftTreeSitter STSParser.swift
Build complete! (10.73s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SwiftTreeSitter",
  "name" : "SwiftTreeSitter",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SwiftTreeSitter",
      "targets" : [
        "SwiftTreeSitter"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "TreeSitterLanguages",
      "module_type" : "ClangTarget",
      "name" : "TreeSitterLanguages",
      "path" : "Sources/TreeSitterLanguages",
      "product_memberships" : [
        "SwiftTreeSitter"
      ],
      "sources" : [
        "css_parser.c",
        "css_scanner.c",
        "html_parser.c",
        "html_scanner.cc",
        "java_parser.c",
        "java_scanner.c",
        "javascript_parser.c",
        "json_parser.c",
        "php_parser.c",
        "php_scanner.cc"
      ],
      "target_dependencies" : [
        "CTreeSitter"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SwiftTreeSitterTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftTreeSitterTests",
      "path" : "Tests/SwiftTreeSitterTests",
      "sources" : [
        "LanguageLoaderTests.swift",
        "LanguageTests.swift",
        "ParserTests.swift",
        "QueryCursorTests.swift",
        "QueryTests.swift",
        "TreeCursorTests.swift"
      ],
      "target_dependencies" : [
        "SwiftTreeSitter",
        "TreeSitterLanguages"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftTreeSitter",
      "module_type" : "SwiftTarget",
      "name" : "SwiftTreeSitter",
      "path" : "Sources/SwiftTreeSitter",
      "product_memberships" : [
        "SwiftTreeSitter"
      ],
      "sources" : [
        "STSInputEdit.swift",
        "STSLanguage.swift",
        "STSNode.swift",
        "STSParser.swift",
        "STSPoint.swift",
        "STSQuery.swift",
        "STSQueryCapture.swift",
        "STSQueryCursor.swift",
        "STSQueryMatch.swift",
        "STSQueryPredicates.swift",
        "STSRange.swift",
        "STSTree.swift",
        "STSTreeCursor.swift"
      ],
      "target_dependencies" : [
        "CTreeSitter",
        "TreeSitterLanguages"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CTreeSitter",
      "module_type" : "ClangTarget",
      "name" : "CTreeSitter",
      "path" : "tree-sitter/lib",
      "product_memberships" : [
        "SwiftTreeSitter"
      ],
      "sources" : [
        "src/lib.c"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Done.