Build Information
Successful build of ProtoKit with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/moximillian/protokit.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/moximillian/protokit
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 21ef89f Xcode 14.2: Explicit any annotations
Cloned https://github.com/moximillian/protokit.git
Revision (git rev-parse @):
21ef89f7f0fc6400ed73ce2586d8fe5b16cffe42
SUCCESS checkout https://github.com/moximillian/protokit.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/moximillian/protokit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-6F35C1178C84523A.txt
[4/5] Emitting module Then
[5/5] Compiling Then Then.swift
[6/22] Compiling ProtoKit SwiftUIExtensions.swift
[7/23] Compiling ProtoKit Error.swift
/Users/admin/builder/spi-builder-workspace/Sources/ProtoKit/Extensions.swift:107:1: warning: extension declares a conformance of imported type 'NSColor' to imported protocol 'CustomReflectable'; this will not behave correctly if the owners of 'AppKit' introduce this conformance in the future
105 |
106 | // UIColor extension for human readable object values
107 | extension UnifiedColor: CustomReflectable {
| |- warning: extension declares a conformance of imported type 'NSColor' to imported protocol 'CustomReflectable'; this will not behave correctly if the owners of 'AppKit' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
108 | public var customMirror: Mirror {
109 | var red: CGFloat = 0
[8/23] Compiling ProtoKit Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/ProtoKit/Extensions.swift:107:1: warning: extension declares a conformance of imported type 'NSColor' to imported protocol 'CustomReflectable'; this will not behave correctly if the owners of 'AppKit' introduce this conformance in the future
105 |
106 | // UIColor extension for human readable object values
107 | extension UnifiedColor: CustomReflectable {
| |- warning: extension declares a conformance of imported type 'NSColor' to imported protocol 'CustomReflectable'; this will not behave correctly if the owners of 'AppKit' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
108 | public var customMirror: Mirror {
109 | var red: CGFloat = 0
[9/23] Compiling ProtoKit ProgressText.swift
[10/23] Compiling ProtoKit CircleShape.swift
[11/23] Compiling ProtoKit Line.swift
[12/23] Compiling ProtoKit UnifiedCollection.swift
[13/23] Compiling ProtoKit NotificationService.swift
/Users/admin/builder/spi-builder-workspace/Sources/ProtoKit/SegueHandlerType.swift:30:5: warning: call to main actor-isolated instance method 'performSegue(withIdentifier:sender:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
27 |
28 | extension SegueHandlerType {
29 | public func perform(segue: Segues, sender: Any? = nil) {
| `- note: add '@MainActor' to make instance method 'perform(segue:sender:)' part of global actor 'MainActor'
30 | performSegue(withIdentifier: segue.rawValue, sender: sender)
| `- warning: call to main actor-isolated instance method 'performSegue(withIdentifier:sender:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
31 | }
32 |
AppKit.NSViewController:51:26: note: calls to instance method 'performSegue(withIdentifier:sender:)' from outside of its actor context are implicitly asynchronous
49 | @MainActor open func prepare(for segue: NSStoryboardSegue, sender: Any?)
50 | @available(macOS 10.10, *)
51 | @MainActor open func performSegue(withIdentifier identifier: NSStoryboardSegue.Identifier, sender: Any?)
| `- note: calls to instance method 'performSegue(withIdentifier:sender:)' from outside of its actor context are implicitly asynchronous
52 | @available(macOS 10.10, *)
53 | @MainActor open func shouldPerformSegue(withIdentifier identifier: NSStoryboardSegue.Identifier, sender: Any?) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/ProtoKit/SegueHandlerType.swift:30:5: warning: sending task-isolated value of type 'Any?' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
28 | extension SegueHandlerType {
29 | public func perform(segue: Segues, sender: Any? = nil) {
30 | performSegue(withIdentifier: segue.rawValue, sender: sender)
| `- warning: sending task-isolated value of type 'Any?' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
31 | }
32 |
[14/23] Compiling ProtoKit SegueHandlerType.swift
/Users/admin/builder/spi-builder-workspace/Sources/ProtoKit/SegueHandlerType.swift:30:5: warning: call to main actor-isolated instance method 'performSegue(withIdentifier:sender:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
27 |
28 | extension SegueHandlerType {
29 | public func perform(segue: Segues, sender: Any? = nil) {
| `- note: add '@MainActor' to make instance method 'perform(segue:sender:)' part of global actor 'MainActor'
30 | performSegue(withIdentifier: segue.rawValue, sender: sender)
| `- warning: call to main actor-isolated instance method 'performSegue(withIdentifier:sender:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
31 | }
32 |
AppKit.NSViewController:51:26: note: calls to instance method 'performSegue(withIdentifier:sender:)' from outside of its actor context are implicitly asynchronous
49 | @MainActor open func prepare(for segue: NSStoryboardSegue, sender: Any?)
50 | @available(macOS 10.10, *)
51 | @MainActor open func performSegue(withIdentifier identifier: NSStoryboardSegue.Identifier, sender: Any?)
| `- note: calls to instance method 'performSegue(withIdentifier:sender:)' from outside of its actor context are implicitly asynchronous
52 | @available(macOS 10.10, *)
53 | @MainActor open func shouldPerformSegue(withIdentifier identifier: NSStoryboardSegue.Identifier, sender: Any?) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/ProtoKit/SegueHandlerType.swift:30:5: warning: sending task-isolated value of type 'Any?' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
28 | extension SegueHandlerType {
29 | public func perform(segue: Segues, sender: Any? = nil) {
30 | performSegue(withIdentifier: segue.rawValue, sender: sender)
| `- warning: sending task-isolated value of type 'Any?' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
31 | }
32 |
[15/23] Compiling ProtoKit Configurable.swift
/Users/admin/builder/spi-builder-workspace/Sources/ProtoKit/Configurable.swift:22:31: warning: call to main actor-isolated static method 'instantiate(storyboardName:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
19 | extension Configurable {
20 | /// instantiate Self from a specific Storyboard using a configuration
21 | public static func instantiate(storyboardName name: String, with config: Self.Config) -> Self {
| `- note: add '@MainActor' to make static method 'instantiate(storyboardName:with:)' part of global actor 'MainActor'
22 | let viewController = Self.instantiate(storyboardName: name)
| `- warning: call to main actor-isolated static method 'instantiate(storyboardName:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
23 | viewController.configure(with: config)
24 | return viewController
/Users/admin/builder/spi-builder-workspace/Sources/ProtoKit/Instantiable.swift:38:22: note: calls to static method 'instantiate(storyboardName:)' from outside of its actor context are implicitly asynchronous
36 | extension UnifiedViewController {
37 | /// instantiate Self from a specific Storyboard
38 | public static func instantiate(storyboardName name: String) -> Self {
| `- note: calls to static method 'instantiate(storyboardName:)' from outside of its actor context are implicitly asynchronous
39 |
40 | let storyboard = UnifiedStoryboard(name: name, bundle: nil)
[16/23] Compiling ProtoKit CoreDataStack.swift
/Users/admin/builder/spi-builder-workspace/Sources/ProtoKit/Configurable.swift:22:31: warning: call to main actor-isolated static method 'instantiate(storyboardName:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
19 | extension Configurable {
20 | /// instantiate Self from a specific Storyboard using a configuration
21 | public static func instantiate(storyboardName name: String, with config: Self.Config) -> Self {
| `- note: add '@MainActor' to make static method 'instantiate(storyboardName:with:)' part of global actor 'MainActor'
22 | let viewController = Self.instantiate(storyboardName: name)
| `- warning: call to main actor-isolated static method 'instantiate(storyboardName:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
23 | viewController.configure(with: config)
24 | return viewController
/Users/admin/builder/spi-builder-workspace/Sources/ProtoKit/Instantiable.swift:38:22: note: calls to static method 'instantiate(storyboardName:)' from outside of its actor context are implicitly asynchronous
36 | extension UnifiedViewController {
37 | /// instantiate Self from a specific Storyboard
38 | public static func instantiate(storyboardName name: String) -> Self {
| `- note: calls to static method 'instantiate(storyboardName:)' from outside of its actor context are implicitly asynchronous
39 |
40 | let storyboard = UnifiedStoryboard(name: name, bundle: nil)
[17/23] Compiling ProtoKit Instantiable.swift
[18/23] Compiling ProtoKit KVO.swift
[19/23] Compiling ProtoKit AssociatedObjectStore.swift
/Users/admin/builder/spi-builder-workspace/Sources/ProtoKit/Closurable.swift:79:5: warning: main actor-isolated property 'target' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
75 | #elseif canImport(AppKit)
76 | /// Associates a target closure with the control.
77 | public func addTarget(closure: @escaping (Self) -> Void) {
| `- note: add '@MainActor' to make instance method 'addTarget(closure:)' part of global actor 'MainActor'
78 | let container = getContainer(for: closure)
79 | target = container
| `- warning: main actor-isolated property 'target' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
80 | action = container.action
81 | }
AppKit.NSControl:4:30: note: mutation of this property is only permitted within the actor
2 | public init(frame frameRect: NSRect)
3 | public init?(coder: NSCoder)
4 | @MainActor weak open var target: AnyObject? { get set }
| `- note: mutation of this property is only permitted within the actor
5 | open var action: Selector? { get set }
6 | open var tag: Int { get set }
/Users/admin/builder/spi-builder-workspace/Sources/ProtoKit/Closurable.swift:80:5: warning: main actor-isolated property 'action' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
75 | #elseif canImport(AppKit)
76 | /// Associates a target closure with the control.
77 | public func addTarget(closure: @escaping (Self) -> Void) {
| `- note: add '@MainActor' to make instance method 'addTarget(closure:)' part of global actor 'MainActor'
78 | let container = getContainer(for: closure)
79 | target = container
80 | action = container.action
| `- warning: main actor-isolated property 'action' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
81 | }
82 | #endif
AppKit.NSControl:5:14: note: mutation of this property is only permitted within the actor
3 | public init?(coder: NSCoder)
4 | @MainActor weak open var target: AnyObject? { get set }
5 | open var action: Selector? { get set }
| `- note: mutation of this property is only permitted within the actor
6 | open var tag: Int { get set }
7 | open var ignoresMultiClick: Bool { get set }
[20/23] Compiling ProtoKit Closurable.swift
/Users/admin/builder/spi-builder-workspace/Sources/ProtoKit/Closurable.swift:79:5: warning: main actor-isolated property 'target' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
75 | #elseif canImport(AppKit)
76 | /// Associates a target closure with the control.
77 | public func addTarget(closure: @escaping (Self) -> Void) {
| `- note: add '@MainActor' to make instance method 'addTarget(closure:)' part of global actor 'MainActor'
78 | let container = getContainer(for: closure)
79 | target = container
| `- warning: main actor-isolated property 'target' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
80 | action = container.action
81 | }
AppKit.NSControl:4:30: note: mutation of this property is only permitted within the actor
2 | public init(frame frameRect: NSRect)
3 | public init?(coder: NSCoder)
4 | @MainActor weak open var target: AnyObject? { get set }
| `- note: mutation of this property is only permitted within the actor
5 | open var action: Selector? { get set }
6 | open var tag: Int { get set }
/Users/admin/builder/spi-builder-workspace/Sources/ProtoKit/Closurable.swift:80:5: warning: main actor-isolated property 'action' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
75 | #elseif canImport(AppKit)
76 | /// Associates a target closure with the control.
77 | public func addTarget(closure: @escaping (Self) -> Void) {
| `- note: add '@MainActor' to make instance method 'addTarget(closure:)' part of global actor 'MainActor'
78 | let container = getContainer(for: closure)
79 | target = container
80 | action = container.action
| `- warning: main actor-isolated property 'action' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
81 | }
82 | #endif
AppKit.NSControl:5:14: note: mutation of this property is only permitted within the actor
3 | public init?(coder: NSCoder)
4 | @MainActor weak open var target: AnyObject? { get set }
5 | open var action: Selector? { get set }
| `- note: mutation of this property is only permitted within the actor
6 | open var tag: Int { get set }
7 | open var ignoresMultiClick: Bool { get set }
[21/23] Emitting module ProtoKit
/Users/admin/builder/spi-builder-workspace/Sources/ProtoKit/Extensions.swift:107:1: warning: extension declares a conformance of imported type 'NSColor' to imported protocol 'CustomReflectable'; this will not behave correctly if the owners of 'AppKit' introduce this conformance in the future
105 |
106 | // UIColor extension for human readable object values
107 | extension UnifiedColor: CustomReflectable {
| |- warning: extension declares a conformance of imported type 'NSColor' to imported protocol 'CustomReflectable'; this will not behave correctly if the owners of 'AppKit' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
108 | public var customMirror: Mirror {
109 | var red: CGFloat = 0
[22/23] Compiling ProtoKit SelfPresentable.swift
[23/23] Compiling ProtoKit Arrow.swift
Build complete! (36.78s)
Fetching https://github.com/devxoul/Then
[1/793] Fetching then
Fetched https://github.com/devxoul/Then from cache (0.85s)
Computing version for https://github.com/devxoul/Then
Computed https://github.com/devxoul/Then at 3.0.0 (0.95s)
Creating working copy for https://github.com/devxoul/Then
Working copy of https://github.com/devxoul/Then resolved at 3.0.0
Build complete.
{
"dependencies" : [
{
"identity" : "then",
"requirement" : {
"range" : [
{
"lower_bound" : "3.0.0",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/devxoul/Then"
}
],
"manifest_display_name" : "ProtoKit",
"name" : "ProtoKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "13.0"
},
{
"name" : "ios",
"version" : "16.0"
},
{
"name" : "tvos",
"version" : "16.0"
}
],
"products" : [
{
"name" : "ProtoKit",
"targets" : [
"ProtoKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ProtoKitTests",
"module_type" : "SwiftTarget",
"name" : "ProtoKitTests",
"path" : ".",
"sources" : [
"Tests/ClosurableTests.swift",
"Tests/KVOTests.swift",
"Tests/NotificationServiceTests.swift",
"Tests/SelfPresentableTests.swift",
"Tests/UnifiedCollectionTests.swift"
],
"target_dependencies" : [
"ProtoKit"
],
"type" : "test"
},
{
"c99name" : "ProtoKit",
"module_type" : "SwiftTarget",
"name" : "ProtoKit",
"path" : ".",
"product_dependencies" : [
"Then"
],
"product_memberships" : [
"ProtoKit"
],
"sources" : [
"Sources/ProtoKit/AssociatedObjectStore.swift",
"Sources/ProtoKit/Closurable.swift",
"Sources/ProtoKit/Configurable.swift",
"Sources/ProtoKit/CoreDataStack.swift",
"Sources/ProtoKit/Error.swift",
"Sources/ProtoKit/Extensions.swift",
"Sources/ProtoKit/Instantiable.swift",
"Sources/ProtoKit/KVO.swift",
"Sources/ProtoKit/NotificationService.swift",
"Sources/ProtoKit/SegueHandlerType.swift",
"Sources/ProtoKit/SelfPresentable.swift",
"Sources/ProtoKit/SwiftUI/Arrow.swift",
"Sources/ProtoKit/SwiftUI/CircleShape.swift",
"Sources/ProtoKit/SwiftUI/Line.swift",
"Sources/ProtoKit/SwiftUI/ProgressText.swift",
"Sources/ProtoKit/SwiftUI/SwiftUIExtensions.swift",
"Sources/ProtoKit/UnifiedCollection.swift"
],
"type" : "library"
}
],
"tools_version" : "5.8"
}
Done.