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 master (3aa6f8), with Swift 6.0 for Linux on 2 Nov 2024 10:33:02 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/viktorstrate/swift-tree-sitter.git
Reference: master
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
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 '/host/spi-builder-workspace/languages/css/tree-sitter-css'...
Cloning into '/host/spi-builder-workspace/languages/html/tree-sitter-html'...
Cloning into '/host/spi-builder-workspace/languages/java/tree-sitter-java'...
Cloning into '/host/spi-builder-workspace/languages/javascript/tree-sitter-javascript'...
Cloning into '/host/spi-builder-workspace/languages/json/tree-sitter-json'...
Cloning into '/host/spi-builder-workspace/languages/php/tree-sitter-php'...
Cloning into '/host/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
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/viktorstrate/swift-tree-sitter.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/13] Compiling TreeSitterLanguages css_scanner.c
[1/13] Compiling TreeSitterLanguages html_parser.c
[2/13] Compiling TreeSitterLanguages json_parser.c
[3/13] Compiling TreeSitterLanguages java_scanner.c
[4/13] Compiling TreeSitterLanguages css_parser.c
[4/13] Write sources
[6/13] Compiling TreeSitterLanguages php_scanner.cc
[7/13] Compiling TreeSitterLanguages java_parser.c
[8/13] Compiling TreeSitterLanguages javascript_parser.c
[9/13] Compiling lib.c
[10/13] Write swift-version-24593BA9C3E375BF.txt
[11/13] Compiling TreeSitterLanguages html_scanner.cc
[12/13] Compiling TreeSitterLanguages php_parser.c
[14/26] Compiling SwiftTreeSitter STSRange.swift
[15/26] Compiling SwiftTreeSitter STSTree.swift
[16/27] Compiling SwiftTreeSitter STSQueryMatch.swift
[17/27] Compiling SwiftTreeSitter STSQueryPredicates.swift
[18/27] Compiling SwiftTreeSitter STSQueryCapture.swift
[19/27] Compiling SwiftTreeSitter STSQueryCursor.swift
[20/27] Compiling SwiftTreeSitter STSPoint.swift
[21/27] Compiling SwiftTreeSitter STSQuery.swift
[22/27] Compiling SwiftTreeSitter STSTreeCursor.swift
[23/27] Compiling SwiftTreeSitter STSNode.swift
[24/27] Compiling SwiftTreeSitter STSParser.swift
[25/27] Compiling SwiftTreeSitter STSInputEdit.swift
[26/27] Compiling SwiftTreeSitter STSLanguage.swift
[27/27] Emitting module SwiftTreeSitter
Build complete! (15.99s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SwiftTreeSitter",
  "name" : "SwiftTreeSitter",
  "path" : "/host/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"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.