The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of SwiftTreeSitter, reference main (08ef81), with Swift 5.9 for Linux on 3 Jun 2025 03:09:04 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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.63.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 08ef81e Bump core library to 0.25.5
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 @):
08ef81eb8620617b55b08868126707ad72bf754f
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-2":/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:943c57f5f023c04804daf623375860c13f93d33d0cb4f0a89054871e5f11529c
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/57527] Fetching tree-sitter
Fetched https://github.com/tree-sitter/tree-sitter (2.89s)
Computing version for https://github.com/tree-sitter/tree-sitter
Computed https://github.com/tree-sitter/tree-sitter at 0.25.5 (0.36s)
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.5
Building for debugging...
[0/15] Compiling alloc.c
[1/15] Compiling wasm_store.c
[2/15] Compiling scanner.c
[3/15] Compiling stdlib.c
[3/15] Compiling get_changed_ranges.c
[5/15] Compiling tree.c
[6/15] Compiling tree_cursor.c
[7/15] Compiling stack.c
[8/15] Compiling lexer.c
[9/15] Compiling node.c
[10/15] Compiling subtree.c
[11/15] Compiling parser.c
[12/15] Compiling language.c
[13/15] Compiling query.c
[14/34] Compiling parser.c
[16/34] 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
[17/34] 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
[18/34] 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
[19/36] 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 {
           ^
[20/36] 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 {
           ^
[21/36] 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 {
           ^
[22/36] 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/36] 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/36] 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 {
                  ^
[25/36] Compiling SwiftTreeSitter SendableTypes.swift
[26/36] Compiling SwiftTreeSitter String+Data.swift
[27/36] Compiling SwiftTreeSitter String+TextProvider.swift
[28/36] Compiling SwiftTreeSitter TSRange.swift
[29/36] Compiling SwiftTreeSitter ResolvingQueryCursor.swift
[30/36] Compiling SwiftTreeSitter ResolvingQueryMatchSequence.swift
[31/36] 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 {
           ^
[32/36] Compiling SwiftTreeSitter Bundle+Extensions.swift
[33/36] Compiling SwiftTreeSitter Encoding+Helpers.swift
[34/36] Compiling SwiftTreeSitter Input.swift
[35/36] Compiling SwiftTreeSitter Tree.swift
[36/36] Compiling SwiftTreeSitter TreeCursor.swift
[39/46] Compiling SwiftTreeSitterLayer ParseState.swift
[40/46] Compiling SwiftTreeSitterLayer LanguageLayerQueryCursor.swift
[41/46] Compiling SwiftTreeSitterLayer Queryable.swift
[42/46] Compiling SwiftTreeSitterLayer Snapshots.swift
[43/46] Compiling SwiftTreeSitterLayer TreeSitter+Extensions.swift
[44/46] Compiling SwiftTreeSitterLayer IndexSet+Range.swift
[45/46] Emitting module SwiftTreeSitterLayer
[46/46] Compiling SwiftTreeSitterLayer LanguageLayer.swift
Build complete! (15.74s)
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" : "/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:943c57f5f023c04804daf623375860c13f93d33d0cb4f0a89054871e5f11529c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Done.