Build Information
Successful build of LetterCase, reference master (8db2ad
), with Swift 6.0 for Linux on 21 Jan 2025 00:55:04 UTC.
Swift 6 data race errors: 3
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" 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 -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.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/rwbutler/LetterCase.git
Reference: master
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
* 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: linux
Swift version: 6.0
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-1":/host -w "$PWD" 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 -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.0-latest: Pulling from finestructure/spi-images
Digest: sha256:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/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: 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)
/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: 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 |
/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: 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] Compiling LetterCase LetterCase.swift
[5/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: 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)
/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: 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 |
/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: 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) {
[6/7] Compiling LetterCase StringAdditions.swift
/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: 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) {
/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: 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 |
/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: 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)
[7/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
Build complete! (11.38s)
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.0-latest: Pulling from finestructure/spi-images
Digest: sha256:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.