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 main (f0ac93), with Swift 5.9 for Linux on 24 Feb 2025 12:31:59 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tree-sitter/swift-tree-sitter.git
Reference: main
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/tree-sitter/swift-tree-sitter
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at f0ac935 Fix all the URLs (#33)
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 '/host/spi-builder-workspace/tree-sitter-swift'...
Cloned https://github.com/tree-sitter/swift-tree-sitter.git
Revision (git rev-parse @):
f0ac935f7da8ccb659f511ddd6453c9483f4e7bc
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/tree-sitter/swift-tree-sitter.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  $PWD
https://github.com/tree-sitter/swift-tree-sitter.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.9-latest: Pulling from finestructure/spi-images
Digest: sha256:e6feefcc5d5d2f301fe47477cfe0928fc3b12c59579fdacf1d387095b6fee662
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Fetching https://github.com/tree-sitter/tree-sitter
[1/55734] Fetching tree-sitter
Fetched https://github.com/tree-sitter/tree-sitter (2.35s)
Computing version for https://github.com/tree-sitter/tree-sitter
Computed https://github.com/tree-sitter/tree-sitter at 0.23.2 (0.31s)
Creating working copy for https://github.com/tree-sitter/tree-sitter
Working copy of https://github.com/tree-sitter/tree-sitter resolved at 0.23.2
Building for debugging...
[0/3] Compiling scanner.c
[1/3] Compiling lib.c
[3/22] Emitting module SwiftTreeSitter
/host/spi-builder-workspace/Sources/SwiftTreeSitter/LanguageConfiguration.swift:18:7: warning: associated value 'queryDirectoryNotReadable' of 'Sendable'-conforming enum 'LanguageConfigurationError' has non-sendable type 'URL'
        case queryDirectoryNotReadable(URL)
             ^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
              ^
/host/spi-builder-workspace/Sources/SwiftTreeSitter/LanguageConfiguration.swift:1:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/SwiftTreeSitter/Parser.swift:8:10: warning: associated value 'unsupportedEncoding' of 'Sendable'-conforming enum 'ParserError' has non-sendable type 'String.Encoding'
    case unsupportedEncoding(String.Encoding)
         ^
Foundation.String:2:19: note: struct 'Encoding' does not conform to the 'Sendable' protocol
    public struct Encoding : RawRepresentable {
                  ^
/host/spi-builder-workspace/Sources/SwiftTreeSitter/Parser.swift:1:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/SwiftTreeSitter/Predicate.swift:26:7: warning: associated value 'match(_:captureNames:)' of 'Sendable'-conforming enum 'Predicate' has non-sendable type 'NSRegularExpression'
        case match(NSRegularExpression, captureNames: [String])
             ^
Foundation.NSRegularExpression:1:12: note: class 'NSRegularExpression' does not conform to the 'Sendable' protocol
open class NSRegularExpression : NSObject, NSCopying, NSSecureCoding {
           ^
/host/spi-builder-workspace/Sources/SwiftTreeSitter/Predicate.swift:1:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/SwiftTreeSitter/Predicate.swift:27:7: warning: associated value 'notMatch(_:captureNames:)' of 'Sendable'-conforming enum 'Predicate' has non-sendable type 'NSRegularExpression'
        case notMatch(NSRegularExpression, captureNames: [String])
             ^
Foundation.NSRegularExpression:1:12: note: class 'NSRegularExpression' does not conform to the 'Sendable' protocol
open class NSRegularExpression : NSObject, NSCopying, NSSecureCoding {
           ^
[3/24] Compiling parser.c
[5/24] Compiling SwiftTreeSitter Bundle+Extensions.swift
[6/24] Compiling SwiftTreeSitter Encoding+Helpers.swift
[7/24] Compiling SwiftTreeSitter Input.swift
[8/24] Compiling SwiftTreeSitter String+TextProvider.swift
[9/24] Compiling SwiftTreeSitter TSRange.swift
[10/24] Compiling SwiftTreeSitter Tree.swift
[11/24] Compiling SwiftTreeSitter TreeCursor.swift
[12/24] Compiling SwiftTreeSitter SendableTypes.swift
[13/24] Compiling SwiftTreeSitter String+Data.swift
[14/24] Compiling SwiftTreeSitter ResolvingQueryCursor.swift
[15/24] Compiling SwiftTreeSitter ResolvingQueryMatchSequence.swift
[16/24] Compiling SwiftTreeSitter Predicate.swift
/host/spi-builder-workspace/Sources/SwiftTreeSitter/Predicate.swift:26:7: warning: associated value 'match(_:captureNames:)' of 'Sendable'-conforming enum 'Predicate' has non-sendable type 'NSRegularExpression'
        case match(NSRegularExpression, captureNames: [String])
             ^
Foundation.NSRegularExpression:1:12: note: class 'NSRegularExpression' does not conform to the 'Sendable' protocol
open class NSRegularExpression : NSObject, NSCopying, NSSecureCoding {
           ^
/host/spi-builder-workspace/Sources/SwiftTreeSitter/Predicate.swift:1:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/SwiftTreeSitter/Predicate.swift:27:7: warning: associated value 'notMatch(_:captureNames:)' of 'Sendable'-conforming enum 'Predicate' has non-sendable type 'NSRegularExpression'
        case notMatch(NSRegularExpression, captureNames: [String])
             ^
Foundation.NSRegularExpression:1:12: note: class 'NSRegularExpression' does not conform to the 'Sendable' protocol
open class NSRegularExpression : NSObject, NSCopying, NSSecureCoding {
           ^
[17/24] Compiling SwiftTreeSitter Query.swift
/host/spi-builder-workspace/Sources/SwiftTreeSitter/Predicate.swift:26:7: warning: associated value 'match(_:captureNames:)' of 'Sendable'-conforming enum 'Predicate' has non-sendable type 'NSRegularExpression'
        case match(NSRegularExpression, captureNames: [String])
             ^
Foundation.NSRegularExpression:1:12: note: class 'NSRegularExpression' does not conform to the 'Sendable' protocol
open class NSRegularExpression : NSObject, NSCopying, NSSecureCoding {
           ^
/host/spi-builder-workspace/Sources/SwiftTreeSitter/Predicate.swift:1:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/SwiftTreeSitter/Predicate.swift:27:7: warning: associated value 'notMatch(_:captureNames:)' of 'Sendable'-conforming enum 'Predicate' has non-sendable type 'NSRegularExpression'
        case notMatch(NSRegularExpression, captureNames: [String])
             ^
Foundation.NSRegularExpression:1:12: note: class 'NSRegularExpression' does not conform to the 'Sendable' protocol
open class NSRegularExpression : NSObject, NSCopying, NSSecureCoding {
           ^
[18/24] Compiling SwiftTreeSitter QueryDefinitions.swift
/host/spi-builder-workspace/Sources/SwiftTreeSitter/Predicate.swift:26:7: warning: associated value 'match(_:captureNames:)' of 'Sendable'-conforming enum 'Predicate' has non-sendable type 'NSRegularExpression'
        case match(NSRegularExpression, captureNames: [String])
             ^
Foundation.NSRegularExpression:1:12: note: class 'NSRegularExpression' does not conform to the 'Sendable' protocol
open class NSRegularExpression : NSObject, NSCopying, NSSecureCoding {
           ^
/host/spi-builder-workspace/Sources/SwiftTreeSitter/Predicate.swift:1:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/SwiftTreeSitter/Predicate.swift:27:7: warning: associated value 'notMatch(_:captureNames:)' of 'Sendable'-conforming enum 'Predicate' has non-sendable type 'NSRegularExpression'
        case notMatch(NSRegularExpression, captureNames: [String])
             ^
Foundation.NSRegularExpression:1:12: note: class 'NSRegularExpression' does not conform to the 'Sendable' protocol
open class NSRegularExpression : NSObject, NSCopying, NSSecureCoding {
           ^
[19/24] Compiling SwiftTreeSitter InputEdit.swift
/host/spi-builder-workspace/Sources/SwiftTreeSitter/LanguageConfiguration.swift:125:31: warning: unknown operating system for build configuration 'os'
#if os(iOS) || os(tvOS) || os(visionOS) || os(watchOS)
                              ^
/host/spi-builder-workspace/Sources/SwiftTreeSitter/LanguageConfiguration.swift:125:31: note: did you mean 'iOS'?
#if os(iOS) || os(tvOS) || os(visionOS) || os(watchOS)
                              ^~~~~~~~
                              iOS
/host/spi-builder-workspace/Sources/SwiftTreeSitter/LanguageConfiguration.swift:125:31: note: did you mean 'Windows'?
#if os(iOS) || os(tvOS) || os(visionOS) || os(watchOS)
                              ^~~~~~~~
                              Windows
/host/spi-builder-workspace/Sources/SwiftTreeSitter/LanguageConfiguration.swift:18:7: warning: associated value 'queryDirectoryNotReadable' of 'Sendable'-conforming enum 'LanguageConfigurationError' has non-sendable type 'URL'
        case queryDirectoryNotReadable(URL)
             ^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
              ^
/host/spi-builder-workspace/Sources/SwiftTreeSitter/LanguageConfiguration.swift:1:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
[20/24] Compiling SwiftTreeSitter Language.swift
/host/spi-builder-workspace/Sources/SwiftTreeSitter/LanguageConfiguration.swift:125:31: warning: unknown operating system for build configuration 'os'
#if os(iOS) || os(tvOS) || os(visionOS) || os(watchOS)
                              ^
/host/spi-builder-workspace/Sources/SwiftTreeSitter/LanguageConfiguration.swift:125:31: note: did you mean 'iOS'?
#if os(iOS) || os(tvOS) || os(visionOS) || os(watchOS)
                              ^~~~~~~~
                              iOS
/host/spi-builder-workspace/Sources/SwiftTreeSitter/LanguageConfiguration.swift:125:31: note: did you mean 'Windows'?
#if os(iOS) || os(tvOS) || os(visionOS) || os(watchOS)
                              ^~~~~~~~
                              Windows
/host/spi-builder-workspace/Sources/SwiftTreeSitter/LanguageConfiguration.swift:18:7: warning: associated value 'queryDirectoryNotReadable' of 'Sendable'-conforming enum 'LanguageConfigurationError' has non-sendable type 'URL'
        case queryDirectoryNotReadable(URL)
             ^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
              ^
/host/spi-builder-workspace/Sources/SwiftTreeSitter/LanguageConfiguration.swift:1:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
[21/24] Compiling SwiftTreeSitter LanguageConfiguration.swift
/host/spi-builder-workspace/Sources/SwiftTreeSitter/LanguageConfiguration.swift:125:31: warning: unknown operating system for build configuration 'os'
#if os(iOS) || os(tvOS) || os(visionOS) || os(watchOS)
                              ^
/host/spi-builder-workspace/Sources/SwiftTreeSitter/LanguageConfiguration.swift:125:31: note: did you mean 'iOS'?
#if os(iOS) || os(tvOS) || os(visionOS) || os(watchOS)
                              ^~~~~~~~
                              iOS
/host/spi-builder-workspace/Sources/SwiftTreeSitter/LanguageConfiguration.swift:125:31: note: did you mean 'Windows'?
#if os(iOS) || os(tvOS) || os(visionOS) || os(watchOS)
                              ^~~~~~~~
                              Windows
/host/spi-builder-workspace/Sources/SwiftTreeSitter/LanguageConfiguration.swift:18:7: warning: associated value 'queryDirectoryNotReadable' of 'Sendable'-conforming enum 'LanguageConfigurationError' has non-sendable type 'URL'
        case queryDirectoryNotReadable(URL)
             ^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
              ^
/host/spi-builder-workspace/Sources/SwiftTreeSitter/LanguageConfiguration.swift:1:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
[22/24] Compiling SwiftTreeSitter Node.swift
/host/spi-builder-workspace/Sources/SwiftTreeSitter/Parser.swift:8:10: warning: associated value 'unsupportedEncoding' of 'Sendable'-conforming enum 'ParserError' has non-sendable type 'String.Encoding'
    case unsupportedEncoding(String.Encoding)
         ^
Foundation.String:2:19: note: struct 'Encoding' does not conform to the 'Sendable' protocol
    public struct Encoding : RawRepresentable {
                  ^
/host/spi-builder-workspace/Sources/SwiftTreeSitter/Parser.swift:1:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/SwiftTreeSitter/Parser.swift:157:12: warning: capture of 'encoding' with non-sendable type 'String.Encoding' in a `@Sendable` closure
                                using: encoding,
                                       ^
Foundation.String:2:19: note: struct 'Encoding' does not conform to the 'Sendable' protocol
    public struct Encoding : RawRepresentable {
                  ^
[23/24] Compiling SwiftTreeSitter Parser.swift
/host/spi-builder-workspace/Sources/SwiftTreeSitter/Parser.swift:8:10: warning: associated value 'unsupportedEncoding' of 'Sendable'-conforming enum 'ParserError' has non-sendable type 'String.Encoding'
    case unsupportedEncoding(String.Encoding)
         ^
Foundation.String:2:19: note: struct 'Encoding' does not conform to the 'Sendable' protocol
    public struct Encoding : RawRepresentable {
                  ^
/host/spi-builder-workspace/Sources/SwiftTreeSitter/Parser.swift:1:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/SwiftTreeSitter/Parser.swift:157:12: warning: capture of 'encoding' with non-sendable type 'String.Encoding' in a `@Sendable` closure
                                using: encoding,
                                       ^
Foundation.String:2:19: note: struct 'Encoding' does not conform to the 'Sendable' protocol
    public struct Encoding : RawRepresentable {
                  ^
[24/24] Compiling SwiftTreeSitter Point.swift
/host/spi-builder-workspace/Sources/SwiftTreeSitter/Parser.swift:8:10: warning: associated value 'unsupportedEncoding' of 'Sendable'-conforming enum 'ParserError' has non-sendable type 'String.Encoding'
    case unsupportedEncoding(String.Encoding)
         ^
Foundation.String:2:19: note: struct 'Encoding' does not conform to the 'Sendable' protocol
    public struct Encoding : RawRepresentable {
                  ^
/host/spi-builder-workspace/Sources/SwiftTreeSitter/Parser.swift:1:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/SwiftTreeSitter/Parser.swift:157:12: warning: capture of 'encoding' with non-sendable type 'String.Encoding' in a `@Sendable` closure
                                using: encoding,
                                       ^
Foundation.String:2:19: note: struct 'Encoding' does not conform to the 'Sendable' protocol
    public struct Encoding : RawRepresentable {
                  ^
[27/34] Compiling SwiftTreeSitterLayer Queryable.swift
[28/34] Compiling SwiftTreeSitterLayer ParseState.swift
[29/34] Compiling SwiftTreeSitterLayer LanguageLayerQueryCursor.swift
[30/34] Compiling SwiftTreeSitterLayer TreeSitter+Extensions.swift
[31/34] Compiling SwiftTreeSitterLayer Snapshots.swift
[32/34] Emitting module SwiftTreeSitterLayer
[33/34] Compiling SwiftTreeSitterLayer LanguageLayer.swift
[34/34] Compiling SwiftTreeSitterLayer IndexSet+Range.swift
Build complete! (10.97s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "tree-sitter",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.23.0",
            "upper_bound" : "0.24.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/tree-sitter/tree-sitter"
    }
  ],
  "manifest_display_name" : "SwiftTreeSitter",
  "name" : "SwiftTreeSitter",
  "path" : "/host/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"
}
basic-5.9-latest: Pulling from finestructure/spi-images
Digest: sha256:e6feefcc5d5d2f301fe47477cfe0928fc3b12c59579fdacf1d387095b6fee662
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Done.