Build Information
Successful build of LetterCase, reference 2.0.0 (8db2ad
), with Swift 6.0 for macOS (SPM) on 22 Jan 2025 13:13:35 UTC.
Swift 6 data race errors: 3
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.2.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.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/rwbutler/LetterCase.git
Reference: 2.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
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
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "lettercase",
"name": "LetterCase",
"url": "https://github.com/rwbutler/LetterCase.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/LetterCase",
"dependencies": [
]
}
]
}
Fetching https://github.com/rwbutler/LetterCase.git
[7/301] Fetching lettercase
Fetched https://github.com/rwbutler/LetterCase.git from cache (0.77s)
Creating working copy for https://github.com/rwbutler/LetterCase.git
Working copy of https://github.com/rwbutler/LetterCase.git resolved at 2.0.0 (8db2adb)
warning: '.resolve-product-dependencies': dependency 'lettercase' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
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.2.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-5BDAB9E9C0126B9D.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: annotate 'preserveSuffix' 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
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: annotate 'preservePunctuation' 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
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: annotate 'stripPunctuation' 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
16 |
17 | public init(rawValue: Int) {
[4/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: annotate 'preserveSuffix' 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
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: annotate 'preservePunctuation' 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
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: annotate 'stripPunctuation' 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
16 |
17 | public init(rawValue: Int) {
[5/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
[6/7] Compiling LetterCase LetterCase.swift
[7/7] Compiling LetterCase StringAdditions.swift
/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: annotate 'stripPunctuation' 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
16 |
17 | public init(rawValue: Int) {
/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: annotate 'preservePunctuation' 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
15 | public static let stripPunctuation = LetterCaseOptions(rawValue: 1 << 2)
16 |
/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: annotate 'preserveSuffix' 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
14 | public static let preservePunctuation = LetterCaseOptions(rawValue: 1 << 1)
15 | public static let stripPunctuation = LetterCaseOptions(rawValue: 1 << 2)
Build complete! (6.99s)
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.