Build Information
Successful build of Helpers, reference v0.7.0 (cc32e5
), with Swift 6.1 for macOS (SPM) on 1 May 2025 12:20:45 UTC.
Swift 6 data race errors: 8
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.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/toastersocks/Helpers.git
Reference: v0.7.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/toastersocks/Helpers
* tag v0.7.0 -> FETCH_HEAD
HEAD is now at cc32e57 Merge branch 'main' of https://github.com/toastersocks/Helpers
Cloned https://github.com/toastersocks/Helpers.git
Revision (git rev-parse @):
cc32e570cc0b2b45bdd6ac88f089a3755f46770c
SUCCESS checkout https://github.com/toastersocks/Helpers.git at v0.7.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": "helpers",
"name": "Helpers",
"url": "https://github.com/toastersocks/Helpers.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Helpers",
"dependencies": [
]
}
]
}
Fetching https://github.com/toastersocks/Helpers.git
[1/109] Fetching helpers
Fetched https://github.com/toastersocks/Helpers.git from cache (0.59s)
Creating working copy for https://github.com/toastersocks/Helpers.git
Working copy of https://github.com/toastersocks/Helpers.git resolved at v0.7.0 (cc32e57)
warning: '.resolve-product-dependencies': dependency 'helpers' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/toastersocks/Helpers.git
https://github.com/toastersocks/Helpers.git
{
"dependencies" : [
],
"manifest_display_name" : "Helpers",
"name" : "Helpers",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "11.0"
},
{
"name" : "watchos",
"version" : "8.0"
}
],
"products" : [
{
"name" : "Helpers",
"targets" : [
"Helpers"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "HelpersTests",
"module_type" : "SwiftTarget",
"name" : "HelpersTests",
"path" : "Tests/HelpersTests",
"sources" : [
"HelpersTests.swift"
],
"target_dependencies" : [
"Helpers"
],
"type" : "test"
},
{
"c99name" : "Helpers",
"module_type" : "SwiftTarget",
"name" : "Helpers",
"path" : "Sources/Helpers",
"product_memberships" : [
"Helpers"
],
"sources" : [
"Backport.swift",
"Backports.swift",
"Combine+.swift",
"Extensions.swift",
"PreviewHelpers.swift",
"Variadic.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
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/9] Compiling Helpers PreviewHelpers.swift
[4/9] Emitting module Helpers
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Extensions.swift:18:20: warning: static property 'red' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | enum Rainbow {
18 | static var red: Color = .red
| |- warning: static property 'red' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'red' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'red' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | static var orange: Color = .orange
20 | static var yellow: Color = .yellow
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Extensions.swift:19:20: warning: static property 'orange' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 | enum Rainbow {
18 | static var red: Color = .red
19 | static var orange: Color = .orange
| |- warning: static property 'orange' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'orange' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'orange' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | static var yellow: Color = .yellow
21 | static var green: Color = .green
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Extensions.swift:20:20: warning: static property 'yellow' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 | static var red: Color = .red
19 | static var orange: Color = .orange
20 | static var yellow: Color = .yellow
| |- warning: static property 'yellow' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'yellow' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'yellow' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | static var green: Color = .green
22 | static var blue: Color = .blue
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Extensions.swift:21:20: warning: static property 'green' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 | static var orange: Color = .orange
20 | static var yellow: Color = .yellow
21 | static var green: Color = .green
| |- warning: static property 'green' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'green' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'green' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | static var blue: Color = .blue
23 | static var indigo: Color = .indigo
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Extensions.swift:22:20: warning: static property 'blue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | static var yellow: Color = .yellow
21 | static var green: Color = .green
22 | static var blue: Color = .blue
| |- warning: static property 'blue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'blue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'blue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | static var indigo: Color = .indigo
24 | static var violet: Color = .purple
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Extensions.swift:23:20: warning: static property 'indigo' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 | static var green: Color = .green
22 | static var blue: Color = .blue
23 | static var indigo: Color = .indigo
| |- warning: static property 'indigo' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'indigo' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'indigo' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | static var violet: Color = .purple
25 |
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Extensions.swift:24:20: warning: static property 'violet' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 | static var blue: Color = .blue
23 | static var indigo: Color = .indigo
24 | static var violet: Color = .purple
| |- warning: static property 'violet' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'violet' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'violet' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | static var allColors: [Color] = [
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Extensions.swift:26:20: warning: static property 'allColors' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 | static var violet: Color = .purple
25 |
26 | static var allColors: [Color] = [
| |- warning: static property 'allColors' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'allColors' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'allColors' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | .red,
28 | .orange,
[5/9] Compiling Helpers Combine+.swift
[6/9] Compiling Helpers Backports.swift
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Backports.swift:32:30: warning: call to main actor-isolated initializer 'init(_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
26 |
27 | public extension Backport where Content: View {
28 | @ViewBuilder func fontWeight(_ weight: Font.Weight) -> some View {
| `- note: add '@MainActor' to make instance method 'fontWeight' part of global actor 'MainActor'
29 | if #available(iOS 16, macOS 13, watchOS 9, *) {
30 | content.fontWeight(weight)
31 | } else {
32 | content.modifier(FontWeightModifier(weight))
| `- warning: call to main actor-isolated initializer 'init(_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
33 | }
34 | }
:
68 | }
69 |
70 | init(_ weight: Font.Weight) {
| |- note: calls to initializer 'init(_:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
71 | self._weight = State(initialValue: weight)
72 | }
[7/9] Compiling Helpers Backport.swift
[8/9] Compiling Helpers Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Extensions.swift:18:20: warning: static property 'red' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | enum Rainbow {
18 | static var red: Color = .red
| |- warning: static property 'red' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'red' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'red' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | static var orange: Color = .orange
20 | static var yellow: Color = .yellow
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Extensions.swift:19:20: warning: static property 'orange' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 | enum Rainbow {
18 | static var red: Color = .red
19 | static var orange: Color = .orange
| |- warning: static property 'orange' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'orange' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'orange' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | static var yellow: Color = .yellow
21 | static var green: Color = .green
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Extensions.swift:20:20: warning: static property 'yellow' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 | static var red: Color = .red
19 | static var orange: Color = .orange
20 | static var yellow: Color = .yellow
| |- warning: static property 'yellow' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'yellow' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'yellow' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | static var green: Color = .green
22 | static var blue: Color = .blue
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Extensions.swift:21:20: warning: static property 'green' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 | static var orange: Color = .orange
20 | static var yellow: Color = .yellow
21 | static var green: Color = .green
| |- warning: static property 'green' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'green' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'green' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | static var blue: Color = .blue
23 | static var indigo: Color = .indigo
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Extensions.swift:22:20: warning: static property 'blue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | static var yellow: Color = .yellow
21 | static var green: Color = .green
22 | static var blue: Color = .blue
| |- warning: static property 'blue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'blue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'blue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | static var indigo: Color = .indigo
24 | static var violet: Color = .purple
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Extensions.swift:23:20: warning: static property 'indigo' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 | static var green: Color = .green
22 | static var blue: Color = .blue
23 | static var indigo: Color = .indigo
| |- warning: static property 'indigo' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'indigo' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'indigo' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | static var violet: Color = .purple
25 |
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Extensions.swift:24:20: warning: static property 'violet' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 | static var blue: Color = .blue
23 | static var indigo: Color = .indigo
24 | static var violet: Color = .purple
| |- warning: static property 'violet' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'violet' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'violet' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | static var allColors: [Color] = [
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Extensions.swift:26:20: warning: static property 'allColors' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 | static var violet: Color = .purple
25 |
26 | static var allColors: [Color] = [
| |- warning: static property 'allColors' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'allColors' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'allColors' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | .red,
28 | .orange,
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Extensions.swift:44:13: warning: capture of 'self' with non-sendable type 'Binding<Optional<T>>' in a '@Sendable' closure
40 |
41 | extension Binding {
42 | public func replacingNil<T>(with defaultValue: T) -> Binding<T> where Value == T? {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
43 | Binding<T> {
44 | wrappedValue ?? defaultValue
| `- warning: capture of 'self' with non-sendable type 'Binding<Optional<T>>' in a '@Sendable' closure
45 | } set: { newValue in
46 | wrappedValue = newValue
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Extensions.swift:44:29: warning: capture of 'defaultValue' with non-sendable type 'T' in a '@Sendable' closure
40 |
41 | extension Binding {
42 | public func replacingNil<T>(with defaultValue: T) -> Binding<T> where Value == T? {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
43 | Binding<T> {
44 | wrappedValue ?? defaultValue
| `- warning: capture of 'defaultValue' with non-sendable type 'T' in a '@Sendable' closure
45 | } set: { newValue in
46 | wrappedValue = newValue
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Extensions.swift:44:29: warning: implicit capture of 'defaultValue' requires that 'T' conforms to 'Sendable'; this is an error in the Swift 6 language mode
40 |
41 | extension Binding {
42 | public func replacingNil<T>(with defaultValue: T) -> Binding<T> where Value == T? {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
43 | Binding<T> {
44 | wrappedValue ?? defaultValue
| `- warning: implicit capture of 'defaultValue' requires that 'T' conforms to 'Sendable'; this is an error in the Swift 6 language mode
45 | } set: { newValue in
46 | wrappedValue = newValue
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Extensions.swift:46:13: warning: capture of 'self' with non-sendable type 'Binding<Optional<T>>' in a '@Sendable' closure
40 |
41 | extension Binding {
42 | public func replacingNil<T>(with defaultValue: T) -> Binding<T> where Value == T? {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
43 | Binding<T> {
44 | wrappedValue ?? defaultValue
45 | } set: { newValue in
46 | wrappedValue = newValue
| `- warning: capture of 'self' with non-sendable type 'Binding<Optional<T>>' in a '@Sendable' closure
47 | }
48 | }
[9/9] Compiling Helpers Variadic.swift
Build complete! (8.60s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Helpers",
"name" : "Helpers",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "11.0"
},
{
"name" : "watchos",
"version" : "8.0"
}
],
"products" : [
{
"name" : "Helpers",
"targets" : [
"Helpers"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "HelpersTests",
"module_type" : "SwiftTarget",
"name" : "HelpersTests",
"path" : "Tests/HelpersTests",
"sources" : [
"HelpersTests.swift"
],
"target_dependencies" : [
"Helpers"
],
"type" : "test"
},
{
"c99name" : "Helpers",
"module_type" : "SwiftTarget",
"name" : "Helpers",
"path" : "Sources/Helpers",
"product_memberships" : [
"Helpers"
],
"sources" : [
"Backport.swift",
"Backports.swift",
"Combine+.swift",
"Extensions.swift",
"PreviewHelpers.swift",
"Variadic.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Done.