Build Information
Successful build of SearchExpressionParser, reference 1.2.0 (a5c9d6), with Swift 6.1 for Wasm on 16 Apr 2026 16:37:09 UTC.
Swift 6 data race errors: 2
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/CleanCocoa/SearchExpressionParser.git
Reference: 1.2.0
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/CleanCocoa/SearchExpressionParser
* tag 1.2.0 -> FETCH_HEAD
HEAD is now at a5c9d69 chore: archive assertion-failures change
Cloned https://github.com/CleanCocoa/SearchExpressionParser.git
Revision (git rev-parse @):
a5c9d695b6c09ae8e7253acd23d7ddd3f07fcfd7
SUCCESS checkout https://github.com/CleanCocoa/SearchExpressionParser.git at 1.2.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/CleanCocoa/SearchExpressionParser.git
https://github.com/CleanCocoa/SearchExpressionParser.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:276d66a16377d3ee059b2e3429cbc1154d9f01e42871e5d702fd5d8b9044d93d
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/20] Compiling SearchExpressionParser TokenExtractor.swift
[4/20] Compiling SearchExpressionParser WordExtractor.swift
[5/20] Compiling SearchExpressionParser SearchExpressionParser.swift
[6/20] Compiling SearchExpressionParser Character+isWhitespace.swift
[7/20] Compiling SearchExpressionParser TokenCharacterBuffer.swift
[8/22] Compiling SearchExpressionParser ParensExtractors.swift
[9/22] Compiling SearchExpressionParser PhraseExtractor.swift
[10/22] Compiling SearchExpressionParser AndExtractor.swift
[11/22] Compiling SearchExpressionParser BangExtractor.swift
[12/22] Compiling SearchExpressionParser Either.swift
/host/spi-builder-workspace/Sources/SearchExpressionParser/NormalForm/ContainmentEvaluator.swift:33:14: warning: 'maxRecursion' is deprecated: maxRecursion is no longer used. The algorithm is iterative.
31 | public init(evaluable: Evaluable) {
32 | self.evaluable = evaluable
33 | self.maxRecursion = 50
| `- warning: 'maxRecursion' is deprecated: maxRecursion is no longer used. The algorithm is iterative.
34 | }
35 |
[13/22] Compiling SearchExpressionParser ContainmentEvaluator.swift
/host/spi-builder-workspace/Sources/SearchExpressionParser/NormalForm/ContainmentEvaluator.swift:33:14: warning: 'maxRecursion' is deprecated: maxRecursion is no longer used. The algorithm is iterative.
31 | public init(evaluable: Evaluable) {
32 | self.evaluable = evaluable
33 | self.maxRecursion = 50
| `- warning: 'maxRecursion' is deprecated: maxRecursion is no longer used. The algorithm is iterative.
34 | }
35 |
[14/22] Compiling SearchExpressionParser PhraseCollectionConvertible.swift
/host/spi-builder-workspace/Sources/SearchExpressionParser/NormalForm/ContainmentEvaluator.swift:33:14: warning: 'maxRecursion' is deprecated: maxRecursion is no longer used. The algorithm is iterative.
31 | public init(evaluable: Evaluable) {
32 | self.evaluable = evaluable
33 | self.maxRecursion = 50
| `- warning: 'maxRecursion' is deprecated: maxRecursion is no longer used. The algorithm is iterative.
34 | }
35 |
[15/22] Compiling SearchExpressionParser NotExtractor.swift
[16/22] Compiling SearchExpressionParser OrExtractor.swift
[17/22] Compiling SearchExpressionParser Tokenizer.swift
/host/spi-builder-workspace/Sources/SearchExpressionParser/Tokenization/Tokenizer.swift:87:9: warning: stored property 'kind' of 'Sendable'-conforming struct 'TokenizerError' has non-sendable type 'TokenizerError.Kind'; this is an error in the Swift 6 language mode
78 |
79 | internal struct TokenizerError: Error {
80 | enum Kind {
| `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
81 | case cannotExtractOpeningParens
82 | case cannotExtractQuotationMark
:
85 | }
86 |
87 | let kind: Kind
| `- warning: stored property 'kind' of 'Sendable'-conforming struct 'TokenizerError' has non-sendable type 'TokenizerError.Kind'; this is an error in the Swift 6 language mode
88 | let range: Range<Int>
89 | }
[18/22] Compiling SearchExpressionParser Tokens.swift
/host/spi-builder-workspace/Sources/SearchExpressionParser/Tokenization/Tokenizer.swift:87:9: warning: stored property 'kind' of 'Sendable'-conforming struct 'TokenizerError' has non-sendable type 'TokenizerError.Kind'; this is an error in the Swift 6 language mode
78 |
79 | internal struct TokenizerError: Error {
80 | enum Kind {
| `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
81 | case cannotExtractOpeningParens
82 | case cannotExtractQuotationMark
:
85 | }
86 |
87 | let kind: Kind
| `- warning: stored property 'kind' of 'Sendable'-conforming struct 'TokenizerError' has non-sendable type 'TokenizerError.Kind'; this is an error in the Swift 6 language mode
88 | let range: Range<Int>
89 | }
[19/22] Emitting module SearchExpressionParser
/host/spi-builder-workspace/Sources/SearchExpressionParser/Parsing/Expressions.swift:45:23: warning: static property 'cStringFactory' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
43 | public let cString: CString
44 |
45 | public static var cStringFactory: (String) -> CString = ContainsNode.cString(string:)
| |- warning: static property 'cStringFactory' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'cStringFactory' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'cStringFactory' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 |
47 | public static func cString(string: String) -> CString {
/host/spi-builder-workspace/Sources/SearchExpressionParser/Tokenization/Tokenizer.swift:87:9: warning: stored property 'kind' of 'Sendable'-conforming struct 'TokenizerError' has non-sendable type 'TokenizerError.Kind'; this is an error in the Swift 6 language mode
78 |
79 | internal struct TokenizerError: Error {
80 | enum Kind {
| `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
81 | case cannotExtractOpeningParens
82 | case cannotExtractQuotationMark
:
85 | }
86 |
87 | let kind: Kind
| `- warning: stored property 'kind' of 'Sendable'-conforming struct 'TokenizerError' has non-sendable type 'TokenizerError.Kind'; this is an error in the Swift 6 language mode
88 | let range: Range<Int>
89 | }
[20/22] Compiling SearchExpressionParser Expressions.swift
/host/spi-builder-workspace/Sources/SearchExpressionParser/Parsing/Expressions.swift:45:23: warning: static property 'cStringFactory' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
43 | public let cString: CString
44 |
45 | public static var cStringFactory: (String) -> CString = ContainsNode.cString(string:)
| |- warning: static property 'cStringFactory' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'cStringFactory' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'cStringFactory' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 |
47 | public static func cString(string: String) -> CString {
[21/22] Compiling SearchExpressionParser Parser.swift
/host/spi-builder-workspace/Sources/SearchExpressionParser/Parsing/Expressions.swift:45:23: warning: static property 'cStringFactory' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
43 | public let cString: CString
44 |
45 | public static var cStringFactory: (String) -> CString = ContainsNode.cString(string:)
| |- warning: static property 'cStringFactory' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'cStringFactory' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'cStringFactory' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 |
47 | public static func cString(string: String) -> CString {
[22/22] Compiling SearchExpressionParser TokenBuffer.swift
/host/spi-builder-workspace/Sources/SearchExpressionParser/Parsing/Expressions.swift:45:23: warning: static property 'cStringFactory' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
43 | public let cString: CString
44 |
45 | public static var cStringFactory: (String) -> CString = ContainsNode.cString(string:)
| |- warning: static property 'cStringFactory' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'cStringFactory' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'cStringFactory' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 |
47 | public static func cString(string: String) -> CString {
Build complete! (8.96s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "SearchExpressionParser",
"name" : "SearchExpressionParser",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.13"
}
],
"products" : [
{
"name" : "SearchExpressionParser",
"targets" : [
"SearchExpressionParser"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SearchExpressionParserTests",
"module_type" : "SwiftTarget",
"name" : "SearchExpressionParserTests",
"path" : "Tests/SearchExpressionParserTests",
"sources" : [
"AnyEquatable.swift",
"BalanceParenthesesTests.swift",
"ContainmentEvaluatorTests.swift",
"Descriptions.swift",
"ExpressionTests.swift",
"ParserTests.swift",
"PhraseCollectionConvertibleTests.swift",
"StackOverflowTests.swift",
"TestHelpers.swift",
"TokenizerTests.swift",
"XCTAssertEqual+Expression.swift",
"XCTAssertEqual+Token.swift"
],
"target_dependencies" : [
"SearchExpressionParser"
],
"type" : "test"
},
{
"c99name" : "SearchExpressionParser",
"module_type" : "SwiftTarget",
"name" : "SearchExpressionParser",
"path" : "Sources/SearchExpressionParser",
"product_memberships" : [
"SearchExpressionParser"
],
"sources" : [
"Either.swift",
"NormalForm/ContainmentEvaluator.swift",
"NormalForm/PhraseCollectionConvertible.swift",
"Parsing/Expressions.swift",
"Parsing/Parser.swift",
"Parsing/TokenBuffer.swift",
"SearchExpressionParser.swift",
"Tokenization/Character+isWhitespace.swift",
"Tokenization/TokenCharacterBuffer.swift",
"Tokenization/TokenExtractor/AndExtractor.swift",
"Tokenization/TokenExtractor/BangExtractor.swift",
"Tokenization/TokenExtractor/NotExtractor.swift",
"Tokenization/TokenExtractor/OrExtractor.swift",
"Tokenization/TokenExtractor/ParensExtractors.swift",
"Tokenization/TokenExtractor/PhraseExtractor.swift",
"Tokenization/TokenExtractor/TokenExtractor.swift",
"Tokenization/TokenExtractor/WordExtractor.swift",
"Tokenization/Tokenizer.swift",
"Tokenization/Tokens.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
wasm-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:276d66a16377d3ee059b2e3429cbc1154d9f01e42871e5d702fd5d8b9044d93d
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
Done.