Build Information
Successful build of Matchable with Swift 6.0 for Linux.
Swift 6 data race errors: 5
Build Command
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" 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.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/elegantchaos/Matchable.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/elegantchaos/Matchable
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at d53e807 added license
Cloned https://github.com/elegantchaos/Matchable.git
Revision (git rev-parse @):
d53e807009960aafbd54f6229c2542f906628b38
SUCCESS checkout https://github.com/elegantchaos/Matchable.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $workDir
https://github.com/elegantchaos/Matchable.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" 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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/13] Emitting module Matchable
/host/spi-builder-workspace/Sources/Matchable/MatchFailedError.swift:34:16: warning: stored property 'value' of 'Sendable'-conforming generic struct 'MatchFailedError' has non-sendable type 'T'; this is an error in the Swift 6 language mode
22 | /// up in another error for the structure as a whole, and thrown again.
23 |
24 | public struct MatchFailedError<T>: MatchFailedErrorBase {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
25 | public init(_ detail: String, value: T, expected: T, underlyingError: MatchFailedErrorBase? = nil, context: MatchableContext) {
26 | self.detail = detail
:
32 |
33 | public let detail: String
34 | public let value: T
| `- warning: stored property 'value' of 'Sendable'-conforming generic struct 'MatchFailedError' has non-sendable type 'T'; this is an error in the Swift 6 language mode
35 | public let expected: T
36 | public let context: MatchableContext
/host/spi-builder-workspace/Sources/Matchable/MatchFailedError.swift:35:16: warning: stored property 'expected' of 'Sendable'-conforming generic struct 'MatchFailedError' has non-sendable type 'T'; this is an error in the Swift 6 language mode
22 | /// up in another error for the structure as a whole, and thrown again.
23 |
24 | public struct MatchFailedError<T>: MatchFailedErrorBase {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
25 | public init(_ detail: String, value: T, expected: T, underlyingError: MatchFailedErrorBase? = nil, context: MatchableContext) {
26 | self.detail = detail
:
33 | public let detail: String
34 | public let value: T
35 | public let expected: T
| `- warning: stored property 'expected' of 'Sendable'-conforming generic struct 'MatchFailedError' has non-sendable type 'T'; this is an error in the Swift 6 language mode
36 | public let context: MatchableContext
37 | public let underlyingError: MatchFailedErrorBase?
/host/spi-builder-workspace/Sources/Matchable/MatchFailedError.swift:36:16: warning: stored property 'context' of 'Sendable'-conforming generic struct 'MatchFailedError' has non-sendable type 'any MatchableContext'; this is an error in the Swift 6 language mode
34 | public let value: T
35 | public let expected: T
36 | public let context: MatchableContext
| `- warning: stored property 'context' of 'Sendable'-conforming generic struct 'MatchFailedError' has non-sendable type 'any MatchableContext'; this is an error in the Swift 6 language mode
37 | public let underlyingError: MatchFailedErrorBase?
38 | }
/host/spi-builder-workspace/Sources/Matchable/Matchable.swift:27:17: note: protocol 'MatchableContext' does not conform to the 'Sendable' protocol
25 | /// such as whether to take account of case sensitivity when matching text.
26 |
27 | public protocol MatchableContext {
| `- note: protocol 'MatchableContext' does not conform to the 'Sendable' protocol
28 | var file: StaticString { get }
29 | var line: UInt { get }
/host/spi-builder-workspace/Sources/Matchable/Matchable.swift:60:23: warning: static property 'ignoringWhitespace' is not concurrency-safe because non-'Sendable' type 'MatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
52 |
53 | /// Options that can be used to modify the behaviour of the matching.
54 | public struct MatchOptions: OptionSet {
| `- note: consider making struct 'MatchOptions' conform to the 'Sendable' protocol
55 | public let rawValue: Int
56 | public init(rawValue: Int) {
:
58 | }
59 |
60 | public static let ignoringWhitespace = Self(rawValue: 1 << 0)
| |- warning: static property 'ignoringWhitespace' is not concurrency-safe because non-'Sendable' type 'MatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ignoringWhitespace' 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
61 | public static let `default`: MatchOptions = []
62 | }
/host/spi-builder-workspace/Sources/Matchable/Matchable.swift:61:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'MatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
52 |
53 | /// Options that can be used to modify the behaviour of the matching.
54 | public struct MatchOptions: OptionSet {
| `- note: consider making struct 'MatchOptions' conform to the 'Sendable' protocol
55 | public let rawValue: Int
56 | public init(rawValue: Int) {
:
59 |
60 | public static let ignoringWhitespace = Self(rawValue: 1 << 0)
61 | public static let `default`: MatchOptions = []
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'MatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
62 | }
63 |
[4/13] Compiling Matchable Bool+Matchable.swift
[5/13] Compiling Matchable Collections+Matchable.swift
[6/14] Compiling Matchable Integer+Matchable.swift
/host/spi-builder-workspace/Sources/Matchable/MatchFailedError.swift:34:16: warning: stored property 'value' of 'Sendable'-conforming generic struct 'MatchFailedError' has non-sendable type 'T'; this is an error in the Swift 6 language mode
22 | /// up in another error for the structure as a whole, and thrown again.
23 |
24 | public struct MatchFailedError<T>: MatchFailedErrorBase {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
25 | public init(_ detail: String, value: T, expected: T, underlyingError: MatchFailedErrorBase? = nil, context: MatchableContext) {
26 | self.detail = detail
:
32 |
33 | public let detail: String
34 | public let value: T
| `- warning: stored property 'value' of 'Sendable'-conforming generic struct 'MatchFailedError' has non-sendable type 'T'; this is an error in the Swift 6 language mode
35 | public let expected: T
36 | public let context: MatchableContext
/host/spi-builder-workspace/Sources/Matchable/MatchFailedError.swift:35:16: warning: stored property 'expected' of 'Sendable'-conforming generic struct 'MatchFailedError' has non-sendable type 'T'; this is an error in the Swift 6 language mode
22 | /// up in another error for the structure as a whole, and thrown again.
23 |
24 | public struct MatchFailedError<T>: MatchFailedErrorBase {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
25 | public init(_ detail: String, value: T, expected: T, underlyingError: MatchFailedErrorBase? = nil, context: MatchableContext) {
26 | self.detail = detail
:
33 | public let detail: String
34 | public let value: T
35 | public let expected: T
| `- warning: stored property 'expected' of 'Sendable'-conforming generic struct 'MatchFailedError' has non-sendable type 'T'; this is an error in the Swift 6 language mode
36 | public let context: MatchableContext
37 | public let underlyingError: MatchFailedErrorBase?
/host/spi-builder-workspace/Sources/Matchable/MatchFailedError.swift:36:16: warning: stored property 'context' of 'Sendable'-conforming generic struct 'MatchFailedError' has non-sendable type 'any MatchableContext'; this is an error in the Swift 6 language mode
34 | public let value: T
35 | public let expected: T
36 | public let context: MatchableContext
| `- warning: stored property 'context' of 'Sendable'-conforming generic struct 'MatchFailedError' has non-sendable type 'any MatchableContext'; this is an error in the Swift 6 language mode
37 | public let underlyingError: MatchFailedErrorBase?
38 | }
/host/spi-builder-workspace/Sources/Matchable/Matchable.swift:27:17: note: protocol 'MatchableContext' does not conform to the 'Sendable' protocol
25 | /// such as whether to take account of case sensitivity when matching text.
26 |
27 | public protocol MatchableContext {
| `- note: protocol 'MatchableContext' does not conform to the 'Sendable' protocol
28 | var file: StaticString { get }
29 | var line: UInt { get }
[7/14] Compiling Matchable MatchFailedError.swift
/host/spi-builder-workspace/Sources/Matchable/MatchFailedError.swift:34:16: warning: stored property 'value' of 'Sendable'-conforming generic struct 'MatchFailedError' has non-sendable type 'T'; this is an error in the Swift 6 language mode
22 | /// up in another error for the structure as a whole, and thrown again.
23 |
24 | public struct MatchFailedError<T>: MatchFailedErrorBase {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
25 | public init(_ detail: String, value: T, expected: T, underlyingError: MatchFailedErrorBase? = nil, context: MatchableContext) {
26 | self.detail = detail
:
32 |
33 | public let detail: String
34 | public let value: T
| `- warning: stored property 'value' of 'Sendable'-conforming generic struct 'MatchFailedError' has non-sendable type 'T'; this is an error in the Swift 6 language mode
35 | public let expected: T
36 | public let context: MatchableContext
/host/spi-builder-workspace/Sources/Matchable/MatchFailedError.swift:35:16: warning: stored property 'expected' of 'Sendable'-conforming generic struct 'MatchFailedError' has non-sendable type 'T'; this is an error in the Swift 6 language mode
22 | /// up in another error for the structure as a whole, and thrown again.
23 |
24 | public struct MatchFailedError<T>: MatchFailedErrorBase {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
25 | public init(_ detail: String, value: T, expected: T, underlyingError: MatchFailedErrorBase? = nil, context: MatchableContext) {
26 | self.detail = detail
:
33 | public let detail: String
34 | public let value: T
35 | public let expected: T
| `- warning: stored property 'expected' of 'Sendable'-conforming generic struct 'MatchFailedError' has non-sendable type 'T'; this is an error in the Swift 6 language mode
36 | public let context: MatchableContext
37 | public let underlyingError: MatchFailedErrorBase?
/host/spi-builder-workspace/Sources/Matchable/MatchFailedError.swift:36:16: warning: stored property 'context' of 'Sendable'-conforming generic struct 'MatchFailedError' has non-sendable type 'any MatchableContext'; this is an error in the Swift 6 language mode
34 | public let value: T
35 | public let expected: T
36 | public let context: MatchableContext
| `- warning: stored property 'context' of 'Sendable'-conforming generic struct 'MatchFailedError' has non-sendable type 'any MatchableContext'; this is an error in the Swift 6 language mode
37 | public let underlyingError: MatchFailedErrorBase?
38 | }
/host/spi-builder-workspace/Sources/Matchable/Matchable.swift:27:17: note: protocol 'MatchableContext' does not conform to the 'Sendable' protocol
25 | /// such as whether to take account of case sensitivity when matching text.
26 |
27 | public protocol MatchableContext {
| `- note: protocol 'MatchableContext' does not conform to the 'Sendable' protocol
28 | var file: StaticString { get }
29 | var line: UInt { get }
[8/14] Compiling Matchable Date+Matchable.swift
[9/14] Compiling Matchable FloatingPoint+Matchable.swift
[10/14] Compiling Matchable Matchable.swift
/host/spi-builder-workspace/Sources/Matchable/Matchable.swift:60:23: warning: static property 'ignoringWhitespace' is not concurrency-safe because non-'Sendable' type 'MatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
52 |
53 | /// Options that can be used to modify the behaviour of the matching.
54 | public struct MatchOptions: OptionSet {
| `- note: consider making struct 'MatchOptions' conform to the 'Sendable' protocol
55 | public let rawValue: Int
56 | public init(rawValue: Int) {
:
58 | }
59 |
60 | public static let ignoringWhitespace = Self(rawValue: 1 << 0)
| |- warning: static property 'ignoringWhitespace' is not concurrency-safe because non-'Sendable' type 'MatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ignoringWhitespace' 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
61 | public static let `default`: MatchOptions = []
62 | }
/host/spi-builder-workspace/Sources/Matchable/Matchable.swift:61:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'MatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
52 |
53 | /// Options that can be used to modify the behaviour of the matching.
54 | public struct MatchOptions: OptionSet {
| `- note: consider making struct 'MatchOptions' conform to the 'Sendable' protocol
55 | public let rawValue: Int
56 | public init(rawValue: Int) {
:
59 |
60 | public static let ignoringWhitespace = Self(rawValue: 1 << 0)
61 | public static let `default`: MatchOptions = []
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'MatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
62 | }
63 |
[11/14] Compiling Matchable RawRepresentable+Matchable.swift
[12/14] Compiling Matchable MatchableCompound.swift
[13/14] Compiling Matchable Optional+Matchable.swift
[14/14] Compiling Matchable String+Matchable.swift
/host/spi-builder-workspace/Sources/Matchable/Matchable.swift:60:23: warning: static property 'ignoringWhitespace' is not concurrency-safe because non-'Sendable' type 'MatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
52 |
53 | /// Options that can be used to modify the behaviour of the matching.
54 | public struct MatchOptions: OptionSet {
| `- note: consider making struct 'MatchOptions' conform to the 'Sendable' protocol
55 | public let rawValue: Int
56 | public init(rawValue: Int) {
:
58 | }
59 |
60 | public static let ignoringWhitespace = Self(rawValue: 1 << 0)
| |- warning: static property 'ignoringWhitespace' is not concurrency-safe because non-'Sendable' type 'MatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ignoringWhitespace' 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
61 | public static let `default`: MatchOptions = []
62 | }
Build complete! (14.07s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Matchable",
"name" : "Matchable",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.13"
},
{
"name" : "ios",
"version" : "10.0"
},
{
"name" : "tvos",
"version" : "10.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "Matchable",
"targets" : [
"Matchable"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "MatchableTests",
"module_type" : "SwiftTarget",
"name" : "MatchableTests",
"path" : "Tests/MatchableTests",
"sources" : [
"MatchableTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"Matchable"
],
"type" : "test"
},
{
"c99name" : "Matchable",
"module_type" : "SwiftTarget",
"name" : "Matchable",
"path" : "Sources/Matchable",
"product_memberships" : [
"Matchable"
],
"sources" : [
"Bool+Matchable.swift",
"Collections+Matchable.swift",
"Date+Matchable.swift",
"FloatingPoint+Matchable.swift",
"Integer+Matchable.swift",
"MatchFailedError.swift",
"Matchable.swift",
"MatchableCompound.swift",
"Optional+Matchable.swift",
"RawRepresentable+Matchable.swift",
"String+Matchable.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
Done.