Build Information
Successful build of Matchable, reference v1.0.7 (d53e80
), with Swift 6.1 for Linux on 27 Apr 2025 01:35:02 UTC.
Swift 6 data race errors: 5
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/elegantchaos/Matchable.git
Reference: v1.0.7
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
* tag v1.0.7 -> FETCH_HEAD
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 v1.0.7
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/elegantchaos/Matchable.git
https://github.com/elegantchaos/Matchable.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"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"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/13] Compiling Matchable MatchableCompound.swift
[4/14] Compiling Matchable RawRepresentable+Matchable.swift
[5/14] Compiling Matchable Optional+Matchable.swift
[6/14] Compiling Matchable Bool+Matchable.swift
[7/14] Compiling Matchable Collections+Matchable.swift
[8/14] 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: add '@MainActor' to make static property 'ignoringWhitespace' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 | }
63 |
[9/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 }
[10/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 }
[11/14] Compiling Matchable Date+Matchable.swift
[12/14] Compiling Matchable FloatingPoint+Matchable.swift
[13/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: add '@MainActor' to make static property 'ignoringWhitespace' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 | }
63 |
[14/14] Compiling Matchable String+Matchable.swift
Build complete! (5.73s)
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"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.