Build Information
Successful build of SwiftTreeSitter, reference main (f0ac93
), with Swift 5.10 for Linux on 24 Feb 2025 12:32:00 UTC.
Swift 6 data race errors: 0
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-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.10
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-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:8b386ca1081dd55ec0944429387f246ccb59ef99c9c8cbb418b0abd78460b38f
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Fetching https://github.com/tree-sitter/tree-sitter
[1/55734] Fetching tree-sitter
Fetched https://github.com/tree-sitter/tree-sitter from cache (2.36s)
Computing version for https://github.com/tree-sitter/tree-sitter
Computed https://github.com/tree-sitter/tree-sitter at 0.23.2 (0.29s)
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/6] Write sources
[2/6] Compiling scanner.c
[3/6] Compiling lib.c
[4/6] Compiling parser.c
[4/6] Write swift-version-24593BA9C3E375BF.txt
[7/25] 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/LanguageConfiguration.swift:112:13: warning: static property 'bundleContainerURL' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
static let bundleContainerURL: URL? = {
^
/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 {
^
[8/27] Compiling SwiftTreeSitter SendableTypes.swift
[9/27] Compiling SwiftTreeSitter String+Data.swift
[10/27] Compiling SwiftTreeSitter Tree.swift
[11/27] Compiling SwiftTreeSitter TreeCursor.swift
[12/27] Compiling SwiftTreeSitter Bundle+Extensions.swift
[13/27] Compiling SwiftTreeSitter Encoding+Helpers.swift
[14/27] Compiling SwiftTreeSitter Input.swift
[15/27] 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 {
^
[16/27] 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 {
^
[17/27] 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 {
^
[18/27] 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
/host/spi-builder-workspace/Sources/SwiftTreeSitter/LanguageConfiguration.swift:112:13: warning: static property 'bundleContainerURL' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
static let bundleContainerURL: URL? = {
^
[19/27] 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
/host/spi-builder-workspace/Sources/SwiftTreeSitter/LanguageConfiguration.swift:112:13: warning: static property 'bundleContainerURL' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
static let bundleContainerURL: URL? = {
^
[20/27] 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
/host/spi-builder-workspace/Sources/SwiftTreeSitter/LanguageConfiguration.swift:112:13: warning: static property 'bundleContainerURL' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
static let bundleContainerURL: URL? = {
^
[21/27] 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 {
^
[22/27] 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 {
^
[23/27] 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 {
^
[24/27] Compiling SwiftTreeSitter String+TextProvider.swift
[25/27] Compiling SwiftTreeSitter TSRange.swift
[26/27] Compiling SwiftTreeSitter ResolvingQueryCursor.swift
[27/27] Compiling SwiftTreeSitter ResolvingQueryMatchSequence.swift
[29/36] Compiling SwiftTreeSitterLayer ParseState.swift
[30/36] Compiling SwiftTreeSitterLayer Snapshots.swift
[31/36] Compiling SwiftTreeSitterLayer Queryable.swift
[32/36] Compiling SwiftTreeSitterLayer TreeSitter+Extensions.swift
[33/36] Compiling SwiftTreeSitterLayer LanguageLayerQueryCursor.swift
[34/36] Compiling SwiftTreeSitterLayer LanguageLayer.swift
[35/36] Compiling SwiftTreeSitterLayer IndexSet+Range.swift
[36/36] Emitting module SwiftTreeSitterLayer
Build complete! (14.24s)
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.10-latest: Pulling from finestructure/spi-images
Digest: sha256:8b386ca1081dd55ec0944429387f246ccb59ef99c9c8cbb418b0abd78460b38f
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Done.