Build Information
Successful build of SearchExpressionParser with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 2
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/CleanCocoa/SearchExpressionParser.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/CleanCocoa/SearchExpressionParser
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at f526cf1 make compatible with SPM
Cloned https://github.com/CleanCocoa/SearchExpressionParser.git
Revision (git rev-parse @):
f526cf170f2eb2e8a907e28b656aba080e8f6f96
SUCCESS checkout https://github.com/CleanCocoa/SearchExpressionParser.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/CleanCocoa/SearchExpressionParser.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-6F35C1178C84523A.txt
[3/21] Compiling SearchExpressionParser BangExtractor.swift
[4/21] Compiling SearchExpressionParser NotExtractor.swift
[5/21] Compiling SearchExpressionParser PhraseExtractor.swift
[6/21] Compiling SearchExpressionParser TokenExtractor.swift
[7/21] Compiling SearchExpressionParser WordExtractor.swift
/Users/admin/builder/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 | }
[8/21] Compiling SearchExpressionParser Tokenizer.swift
/Users/admin/builder/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 | }
[9/21] Compiling SearchExpressionParser TokenCharacterBuffer.swift
[10/21] Compiling SearchExpressionParser AndExtractor.swift
[11/21] Compiling SearchExpressionParser OrExtractor.swift
[12/21] Compiling SearchExpressionParser ParensExtractors.swift
[13/21] Compiling SearchExpressionParser SearchExpressionParser.swift
[14/21] Compiling SearchExpressionParser Character+isWhitespace.swift
[15/22] Compiling SearchExpressionParser Tokens.swift
[16/22] Compiling SearchExpressionParser Parser.swift
[17/22] Compiling SearchExpressionParser TokenBuffer.swift
[18/22] Compiling SearchExpressionParser Either.swift
[19/22] Compiling SearchExpressionParser ContainmentEvaluator.swift
[20/22] Emitting module SearchExpressionParser
/Users/admin/builder/spi-builder-workspace/Sources/SearchExpressionParser/Parsing/Expressions.swift:45:23: warning: static property 'cStringFactory' is not concurrency-safe because it is non-isolated 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 non-isolated 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: annotate 'cStringFactory' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 |
47 | public static func cString(string: String) -> CString {
/Users/admin/builder/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 | }
[21/22] Compiling SearchExpressionParser PhraseCollectionConvertible.swift
/Users/admin/builder/spi-builder-workspace/Sources/SearchExpressionParser/Parsing/Expressions.swift:45:23: warning: static property 'cStringFactory' is not concurrency-safe because it is non-isolated 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 non-isolated 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: annotate 'cStringFactory' with '@MainActor' if property should only be accessed from the main actor
| `- 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 Expressions.swift
/Users/admin/builder/spi-builder-workspace/Sources/SearchExpressionParser/Parsing/Expressions.swift:45:23: warning: static property 'cStringFactory' is not concurrency-safe because it is non-isolated 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 non-isolated 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: annotate 'cStringFactory' with '@MainActor' if property should only be accessed from the main actor
| `- 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! (19.36s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "SearchExpressionParser",
"name" : "SearchExpressionParser",
"path" : "/Users/admin/builder/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",
"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"
}
Done.