Build Information
Successful build of LetterCase, reference 2.0.0 (8db2ad
), with Swift 6.1 for Linux on 30 Apr 2025 09:09:24 UTC.
Swift 6 data race errors: 3
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.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/rwbutler/LetterCase.git
Reference: 2.0.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/rwbutler/LetterCase
* tag 2.0.0 -> FETCH_HEAD
HEAD is now at 8db2adb Updated pods
Cloned https://github.com/rwbutler/LetterCase.git
Revision (git rev-parse @):
8db2adb8cfb9431e25ceed1a6904eda580ffd22b
SUCCESS checkout https://github.com/rwbutler/LetterCase.git at 2.0.0
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/rwbutler/LetterCase.git
https://github.com/rwbutler/LetterCase.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "LetterCase",
"name" : "LetterCase",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "LetterCase",
"targets" : [
"LetterCase"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "LetterCase",
"module_type" : "SwiftTarget",
"name" : "LetterCase",
"path" : "LetterCase/Classes",
"product_memberships" : [
"LetterCase"
],
"sources" : [
"KeyDecodingStrategyAdditions.swift",
"LetterCase.swift",
"LetterCaseOptions.swift",
"StringAdditions.swift"
],
"type" : "library"
}
],
"tools_version" : "4.2"
}
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/7] Compiling LetterCase LetterCaseOptions.swift
/host/spi-builder-workspace/LetterCase/Classes/LetterCaseOptions.swift:13:23: warning: static property 'preserveSuffix' is not concurrency-safe because non-'Sendable' type 'LetterCaseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct LetterCaseOptions: OptionSet {
| `- note: consider making struct 'LetterCaseOptions' conform to the 'Sendable' protocol
11 | public let rawValue: Int
12 |
13 | public static let preserveSuffix = LetterCaseOptions(rawValue: 1 << 0)
| |- warning: static property 'preserveSuffix' is not concurrency-safe because non-'Sendable' type 'LetterCaseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'preserveSuffix' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | public static let preservePunctuation = LetterCaseOptions(rawValue: 1 << 1)
15 | public static let stripPunctuation = LetterCaseOptions(rawValue: 1 << 2)
/host/spi-builder-workspace/LetterCase/Classes/LetterCaseOptions.swift:14:23: warning: static property 'preservePunctuation' is not concurrency-safe because non-'Sendable' type 'LetterCaseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct LetterCaseOptions: OptionSet {
| `- note: consider making struct 'LetterCaseOptions' conform to the 'Sendable' protocol
11 | public let rawValue: Int
12 |
13 | public static let preserveSuffix = LetterCaseOptions(rawValue: 1 << 0)
14 | public static let preservePunctuation = LetterCaseOptions(rawValue: 1 << 1)
| |- warning: static property 'preservePunctuation' is not concurrency-safe because non-'Sendable' type 'LetterCaseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'preservePunctuation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | public static let stripPunctuation = LetterCaseOptions(rawValue: 1 << 2)
16 |
/host/spi-builder-workspace/LetterCase/Classes/LetterCaseOptions.swift:15:23: warning: static property 'stripPunctuation' is not concurrency-safe because non-'Sendable' type 'LetterCaseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct LetterCaseOptions: OptionSet {
| `- note: consider making struct 'LetterCaseOptions' conform to the 'Sendable' protocol
11 | public let rawValue: Int
12 |
13 | public static let preserveSuffix = LetterCaseOptions(rawValue: 1 << 0)
14 | public static let preservePunctuation = LetterCaseOptions(rawValue: 1 << 1)
15 | public static let stripPunctuation = LetterCaseOptions(rawValue: 1 << 2)
| |- warning: static property 'stripPunctuation' is not concurrency-safe because non-'Sendable' type 'LetterCaseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'stripPunctuation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | public init(rawValue: Int) {
[4/7] Compiling LetterCase LetterCase.swift
[5/7] Emitting module LetterCase
/host/spi-builder-workspace/LetterCase/Classes/LetterCaseOptions.swift:13:23: warning: static property 'preserveSuffix' is not concurrency-safe because non-'Sendable' type 'LetterCaseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct LetterCaseOptions: OptionSet {
| `- note: consider making struct 'LetterCaseOptions' conform to the 'Sendable' protocol
11 | public let rawValue: Int
12 |
13 | public static let preserveSuffix = LetterCaseOptions(rawValue: 1 << 0)
| |- warning: static property 'preserveSuffix' is not concurrency-safe because non-'Sendable' type 'LetterCaseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'preserveSuffix' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | public static let preservePunctuation = LetterCaseOptions(rawValue: 1 << 1)
15 | public static let stripPunctuation = LetterCaseOptions(rawValue: 1 << 2)
/host/spi-builder-workspace/LetterCase/Classes/LetterCaseOptions.swift:14:23: warning: static property 'preservePunctuation' is not concurrency-safe because non-'Sendable' type 'LetterCaseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct LetterCaseOptions: OptionSet {
| `- note: consider making struct 'LetterCaseOptions' conform to the 'Sendable' protocol
11 | public let rawValue: Int
12 |
13 | public static let preserveSuffix = LetterCaseOptions(rawValue: 1 << 0)
14 | public static let preservePunctuation = LetterCaseOptions(rawValue: 1 << 1)
| |- warning: static property 'preservePunctuation' is not concurrency-safe because non-'Sendable' type 'LetterCaseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'preservePunctuation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | public static let stripPunctuation = LetterCaseOptions(rawValue: 1 << 2)
16 |
/host/spi-builder-workspace/LetterCase/Classes/LetterCaseOptions.swift:15:23: warning: static property 'stripPunctuation' is not concurrency-safe because non-'Sendable' type 'LetterCaseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct LetterCaseOptions: OptionSet {
| `- note: consider making struct 'LetterCaseOptions' conform to the 'Sendable' protocol
11 | public let rawValue: Int
12 |
13 | public static let preserveSuffix = LetterCaseOptions(rawValue: 1 << 0)
14 | public static let preservePunctuation = LetterCaseOptions(rawValue: 1 << 1)
15 | public static let stripPunctuation = LetterCaseOptions(rawValue: 1 << 2)
| |- warning: static property 'stripPunctuation' is not concurrency-safe because non-'Sendable' type 'LetterCaseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'stripPunctuation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | public init(rawValue: Int) {
[6/7] Compiling LetterCase KeyDecodingStrategyAdditions.swift
/host/spi-builder-workspace/LetterCase/Classes/KeyDecodingStrategyAdditions.swift:65:70: warning: capture of 'letterCase' with non-sendable type 'LetterCase' in a '@Sendable' closure
63 | return lastKey
64 | }
65 | let newLetterCaseKey = lastKey.stringValue.convert(from: letterCase, to: newLetterCase)
| `- warning: capture of 'letterCase' with non-sendable type 'LetterCase' in a '@Sendable' closure
66 | return AnyKey(string: newLetterCaseKey)
67 | }
/host/spi-builder-workspace/LetterCase/Classes/LetterCase.swift:10:13: note: consider making enum 'LetterCase' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public enum LetterCase: String {
| `- note: consider making enum 'LetterCase' conform to the 'Sendable' protocol
11 |
12 | public typealias Options = LetterCaseOptions
/host/spi-builder-workspace/LetterCase/Classes/KeyDecodingStrategyAdditions.swift:65:86: warning: capture of 'newLetterCase' with non-sendable type 'LetterCase' in a '@Sendable' closure
63 | return lastKey
64 | }
65 | let newLetterCaseKey = lastKey.stringValue.convert(from: letterCase, to: newLetterCase)
| `- warning: capture of 'newLetterCase' with non-sendable type 'LetterCase' in a '@Sendable' closure
66 | return AnyKey(string: newLetterCaseKey)
67 | }
/host/spi-builder-workspace/LetterCase/Classes/LetterCase.swift:10:13: note: consider making enum 'LetterCase' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public enum LetterCase: String {
| `- note: consider making enum 'LetterCase' conform to the 'Sendable' protocol
11 |
12 | public typealias Options = LetterCaseOptions
/host/spi-builder-workspace/LetterCase/Classes/KeyDecodingStrategyAdditions.swift:107:70: warning: capture of 'letterCase' with non-sendable type 'LetterCase' in a '@Sendable' closure
105 | return lastKey
106 | }
107 | let newLetterCaseKey = lastKey.stringValue.convert(from: letterCase, to: newLetterCase)
| `- warning: capture of 'letterCase' with non-sendable type 'LetterCase' in a '@Sendable' closure
108 | return AnyKey(string: newLetterCaseKey)
109 | }
/host/spi-builder-workspace/LetterCase/Classes/LetterCase.swift:10:13: note: consider making enum 'LetterCase' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public enum LetterCase: String {
| `- note: consider making enum 'LetterCase' conform to the 'Sendable' protocol
11 |
12 | public typealias Options = LetterCaseOptions
/host/spi-builder-workspace/LetterCase/Classes/KeyDecodingStrategyAdditions.swift:107:86: warning: capture of 'newLetterCase' with non-sendable type 'LetterCase' in a '@Sendable' closure
105 | return lastKey
106 | }
107 | let newLetterCaseKey = lastKey.stringValue.convert(from: letterCase, to: newLetterCase)
| `- warning: capture of 'newLetterCase' with non-sendable type 'LetterCase' in a '@Sendable' closure
108 | return AnyKey(string: newLetterCaseKey)
109 | }
/host/spi-builder-workspace/LetterCase/Classes/LetterCase.swift:10:13: note: consider making enum 'LetterCase' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public enum LetterCase: String {
| `- note: consider making enum 'LetterCase' conform to the 'Sendable' protocol
11 |
12 | public typealias Options = LetterCaseOptions
[7/7] Compiling LetterCase StringAdditions.swift
Build complete! (7.84s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "LetterCase",
"name" : "LetterCase",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "LetterCase",
"targets" : [
"LetterCase"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "LetterCase",
"module_type" : "SwiftTarget",
"name" : "LetterCase",
"path" : "LetterCase/Classes",
"product_memberships" : [
"LetterCase"
],
"sources" : [
"KeyDecodingStrategyAdditions.swift",
"LetterCase.swift",
"LetterCaseOptions.swift",
"StringAdditions.swift"
],
"type" : "library"
}
],
"tools_version" : "4.2"
}
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.