Build Information
Successful build of LetterCase, reference master (8db2ad
), with Swift 6.1 for macOS (SPM) on 30 Apr 2025 09:18:29 UTC.
Swift 6 data race errors: 3
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
Build Log
========================================
RunAll
========================================
Builder version: 4.61.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/rwbutler/LetterCase.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/rwbutler/LetterCase
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
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 master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/rwbutler/LetterCase.git
https://github.com/rwbutler/LetterCase.git
{
"dependencies" : [
],
"manifest_display_name" : "LetterCase",
"name" : "LetterCase",
"path" : "/Users/admin/builder/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 ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/7] Compiling LetterCase LetterCaseOptions.swift
/Users/admin/builder/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)
/Users/admin/builder/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 |
/Users/admin/builder/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
/Users/admin/builder/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)
/Users/admin/builder/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 |
/Users/admin/builder/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 StringAdditions.swift
[7/7] Compiling LetterCase KeyDecodingStrategyAdditions.swift
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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
Build complete! (4.00s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "LetterCase",
"name" : "LetterCase",
"path" : "/Users/admin/builder/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"
}
Done.