Build Information
Successful build of Cooponent, reference main (a80f70
), with Swift 6.1 for macOS (SPM) on 30 Apr 2025 05:17:57 UTC.
Swift 6 data race errors: 1
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/Talljack/Cooponent.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Talljack/Cooponent
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at a80f702 chore: add Swift language version specification (#2)
Cloned https://github.com/Talljack/Cooponent.git
Revision (git rev-parse @):
a80f702914a6b4fcb676dde3a4d35881d1d9506f
SUCCESS checkout https://github.com/Talljack/Cooponent.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/Talljack/Cooponent.git
https://github.com/Talljack/Cooponent.git
{
"dependencies" : [
],
"manifest_display_name" : "Cooponent",
"name" : "Cooponent",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "macos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "Cooponent",
"targets" : [
"Button",
"Segment",
"Examples"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "Segment",
"module_type" : "SwiftTarget",
"name" : "Segment",
"path" : "Sources/Segment",
"product_memberships" : [
"Cooponent"
],
"sources" : [
"SegmentedControl.swift"
],
"type" : "library"
},
{
"c99name" : "Examples",
"module_type" : "SwiftTarget",
"name" : "Examples",
"path" : "Sources/Examples",
"product_memberships" : [
"Cooponent"
],
"sources" : [
"SegmentedControlExample.swift"
],
"target_dependencies" : [
"Button",
"Segment"
],
"type" : "library"
},
{
"c99name" : "CooponentTests",
"module_type" : "SwiftTarget",
"name" : "CooponentTests",
"path" : "Tests/CooponentTests",
"sources" : [
"CooponentTests.swift"
],
"target_dependencies" : [
"Button",
"Segment"
],
"type" : "test"
},
{
"c99name" : "Button",
"module_type" : "SwiftTarget",
"name" : "Button",
"path" : "Sources/Button",
"product_memberships" : [
"Cooponent"
],
"sources" : [
"CustomButton.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/4] Write sources
[3/4] Write swift-version-2F0A5646E1D333AE.txt
[5/8] Compiling Button CustomButton.swift
[6/8] Emitting module Button
[7/8] Emitting module Segment
/Users/admin/builder/spi-builder-workspace/Sources/Segment/SegmentedControl.swift:6:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | private struct SizeKey: PreferenceKey {
6 | static var defaultValue: CGSize = .zero
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | static func reduce(value: inout CGSize, nextValue: () -> CGSize) {
8 | value = nextValue()
[8/8] Compiling Segment SegmentedControl.swift
/Users/admin/builder/spi-builder-workspace/Sources/Segment/SegmentedControl.swift:6:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | private struct SizeKey: PreferenceKey {
6 | static var defaultValue: CGSize = .zero
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | static func reduce(value: inout CGSize, nextValue: () -> CGSize) {
8 | value = nextValue()
[9/10] Compiling Examples SegmentedControlExample.swift
[10/10] Emitting module Examples
Build complete! (8.69s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Cooponent",
"name" : "Cooponent",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "macos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "Cooponent",
"targets" : [
"Button",
"Segment",
"Examples"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "Segment",
"module_type" : "SwiftTarget",
"name" : "Segment",
"path" : "Sources/Segment",
"product_memberships" : [
"Cooponent"
],
"sources" : [
"SegmentedControl.swift"
],
"type" : "library"
},
{
"c99name" : "Examples",
"module_type" : "SwiftTarget",
"name" : "Examples",
"path" : "Sources/Examples",
"product_memberships" : [
"Cooponent"
],
"sources" : [
"SegmentedControlExample.swift"
],
"target_dependencies" : [
"Button",
"Segment"
],
"type" : "library"
},
{
"c99name" : "CooponentTests",
"module_type" : "SwiftTarget",
"name" : "CooponentTests",
"path" : "Tests/CooponentTests",
"sources" : [
"CooponentTests.swift"
],
"target_dependencies" : [
"Button",
"Segment"
],
"type" : "test"
},
{
"c99name" : "Button",
"module_type" : "SwiftTarget",
"name" : "Button",
"path" : "Sources/Button",
"product_memberships" : [
"Cooponent"
],
"sources" : [
"CustomButton.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Done.