Build Information
Successful build of SearchExpressionParser, reference master (f526cf
), with Swift 6.0 for Linux on 2 Nov 2024 21:03:55 UTC.
Swift 6 data race errors: 2
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/CleanCocoa/SearchExpressionParser.git
Reference: master
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
* 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: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/CleanCocoa/SearchExpressionParser.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/20] 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: 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 {
/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 | }
[4/22] Compiling SearchExpressionParser SearchExpressionParser.swift
[5/22] Compiling SearchExpressionParser Character+isWhitespace.swift
[6/22] Compiling SearchExpressionParser TokenCharacterBuffer.swift
[7/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 | }
[8/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 | }
[9/22] Compiling SearchExpressionParser Either.swift
[10/22] Compiling SearchExpressionParser ContainmentEvaluator.swift
[11/22] Compiling SearchExpressionParser PhraseCollectionConvertible.swift
[12/22] Compiling SearchExpressionParser NotExtractor.swift
[13/22] Compiling SearchExpressionParser OrExtractor.swift
[14/22] Compiling SearchExpressionParser ParensExtractors.swift
[15/22] Compiling SearchExpressionParser PhraseExtractor.swift
[16/22] Compiling SearchExpressionParser TokenExtractor.swift
[17/22] Compiling SearchExpressionParser WordExtractor.swift
[18/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: 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 {
[19/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: 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 {
[20/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: 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 {
[21/22] Compiling SearchExpressionParser AndExtractor.swift
[22/22] Compiling SearchExpressionParser BangExtractor.swift
Build complete! (11.18s)
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",
"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"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.