Build Information
Failed to build UIHelper, reference main (1cf7c3), with Swift 6.0 for macOS (SPM) on 22 Apr 2026 20:49:50 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/NikSativa/UIHelper.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/NikSativa/UIHelper
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 1cf7c3a split sceneSize/windowSize, fix SwiftUI helpers
Cloned https://github.com/NikSativa/UIHelper.git
Revision (git rev-parse @):
1cf7c3a8955b50f0b150424ddd8f415a7175649e
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/NikSativa/UIHelper.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/NikSativa/UIHelper.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Copying PrivacyInfo.xcprivacy
[1/3] Write sources
[2/3] Write swift-version-5BDAB9E9C0126B9D.txt
[4/42] Emitting module UIHelper
[5/46] Compiling UIHelper StackViewStyleProperty.swift
[6/46] Compiling UIHelper SwitchStyleProperty.swift
[7/46] Compiling UIHelper TableViewStyleProperty.swift
[8/46] Compiling UIHelper TextFieldStyleProperty.swift
[9/46] Compiling UIHelper AppRootViewControllerProviding.swift
[10/46] Compiling UIHelper AppWindowProvider.swift
[11/46] Compiling UIHelper AutoLayoutBuilder.swift
[12/46] Compiling UIHelper CircleView.swift
[13/46] Compiling UIHelper LayoutConstraint+UIKit.swift
[14/46] Compiling UIHelper UIStackView+UIKit.swift
[15/46] Compiling UIHelper UITableView+UIKit.swift
[16/46] Compiling UIHelper UIView+UIKit.swift
[17/46] Compiling UIHelper UIViewController+UIKit.swift
[18/46] Compiling UIHelper LabelStyleProperty.swift
[19/46] Compiling UIHelper NavigationBarStyleProperty.swift
[20/46] Compiling UIHelper PageControlStyleProperty.swift
[21/46] Compiling UIHelper SliderStyleProperty.swift
[22/46] Compiling UIHelper ButtonStyleProperty.swift
[23/46] Compiling UIHelper CollectionViewStyleProperty.swift
[24/46] Compiling UIHelper GradientViewStyleProperty.swift
[25/46] Compiling UIHelper ImageViewStyleProperty.swift
[26/46] Compiling UIHelper LabelLinksHandler.swift
[27/46] Compiling UIHelper ModalPresenter.swift
[28/46] Compiling UIHelper TransparentTouchView.swift
[29/46] Compiling UIHelper BarItemStyleProperty.swift
[30/46] Compiling UIHelper UICollectionView+UIKit.swift
[31/46] Compiling UIHelper UICollectionViewFlowLayout+UIKit.swift
[32/46] Compiling UIHelper UIGestureRecognizer+UIKit.swift
[33/46] Compiling UIHelper UIScrollView+UIKit.swift
[34/46] Compiling UIHelper GradientView.swift
[35/46] Compiling UIHelper KeyboardHandler.swift
[36/46] Compiling UIHelper KeyboardHandlerConfiguration.swift
[37/46] Compiling UIHelper KeyboardHandling.swift
[38/46] Compiling UIHelper TextViewStyleProperty.swift
[39/46] Compiling UIHelper ViewStyleProperty.swift
[40/46] Compiling UIHelper ViewStyle.swift
[41/46] Compiling UIHelper resource_bundle_accessor.swift
[42/46] Compiling UIHelper SceneSize.swift
/Users/admin/builder/spi-builder-workspace/Source/SwiftUI/SceneSize.swift:53:17: error: main actor-isolated property 'size' can not be mutated from a Sendable closure
40 | private struct SceneSizeModifier: ViewModifier {
41 | @State
42 | private var size: CGRect = .zero
| `- note: mutation of this property is only permitted within the actor
43 |
44 | func body(content: Content) -> some View {
:
51 | )
52 | .onPreferenceChange(SceneSizePreferenceKey.self) { new in
53 | size = new
| `- error: main actor-isolated property 'size' can not be mutated from a Sendable closure
54 | }
55 | .environment(\.sceneSize, size)
/Users/admin/builder/spi-builder-workspace/Source/SwiftUI/SelfSize.swift:40:17: warning: capture of 'size' with non-sendable type '(CGSize) -> Void' in a `@Sendable` closure
38 | )
39 | .onPreferenceChange(SelfSizeKey.self) { [size] new in
40 | size(new)
| |- warning: capture of 'size' with non-sendable type '(CGSize) -> Void' in a `@Sendable` closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
41 | }
42 | }
/Users/admin/builder/spi-builder-workspace/Source/SwiftUI/WindowSize.swift:134:23: error: call to main actor-isolated instance method 'emit()' in a synchronous nonisolated context
132 | queue: .main
133 | ) { [weak self] _ in
134 | self?.emit()
| `- error: call to main actor-isolated instance method 'emit()' in a synchronous nonisolated context
135 | }
136 | observers.append(token)
:
139 | }
140 |
141 | func emit() {
| `- note: calls to instance method 'emit()' from outside of its actor context are implicitly asynchronous
142 | let current = window?.frame ?? .zero
143 | guard current != lastEmitted else {
[43/46] Compiling UIHelper ScreenSize.swift
/Users/admin/builder/spi-builder-workspace/Source/SwiftUI/SceneSize.swift:53:17: error: main actor-isolated property 'size' can not be mutated from a Sendable closure
40 | private struct SceneSizeModifier: ViewModifier {
41 | @State
42 | private var size: CGRect = .zero
| `- note: mutation of this property is only permitted within the actor
43 |
44 | func body(content: Content) -> some View {
:
51 | )
52 | .onPreferenceChange(SceneSizePreferenceKey.self) { new in
53 | size = new
| `- error: main actor-isolated property 'size' can not be mutated from a Sendable closure
54 | }
55 | .environment(\.sceneSize, size)
/Users/admin/builder/spi-builder-workspace/Source/SwiftUI/SelfSize.swift:40:17: warning: capture of 'size' with non-sendable type '(CGSize) -> Void' in a `@Sendable` closure
38 | )
39 | .onPreferenceChange(SelfSizeKey.self) { [size] new in
40 | size(new)
| |- warning: capture of 'size' with non-sendable type '(CGSize) -> Void' in a `@Sendable` closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
41 | }
42 | }
/Users/admin/builder/spi-builder-workspace/Source/SwiftUI/WindowSize.swift:134:23: error: call to main actor-isolated instance method 'emit()' in a synchronous nonisolated context
132 | queue: .main
133 | ) { [weak self] _ in
134 | self?.emit()
| `- error: call to main actor-isolated instance method 'emit()' in a synchronous nonisolated context
135 | }
136 | observers.append(token)
:
139 | }
140 |
141 | func emit() {
| `- note: calls to instance method 'emit()' from outside of its actor context are implicitly asynchronous
142 | let current = window?.frame ?? .zero
143 | guard current != lastEmitted else {
[44/46] Compiling UIHelper SelfSize.swift
/Users/admin/builder/spi-builder-workspace/Source/SwiftUI/SceneSize.swift:53:17: error: main actor-isolated property 'size' can not be mutated from a Sendable closure
40 | private struct SceneSizeModifier: ViewModifier {
41 | @State
42 | private var size: CGRect = .zero
| `- note: mutation of this property is only permitted within the actor
43 |
44 | func body(content: Content) -> some View {
:
51 | )
52 | .onPreferenceChange(SceneSizePreferenceKey.self) { new in
53 | size = new
| `- error: main actor-isolated property 'size' can not be mutated from a Sendable closure
54 | }
55 | .environment(\.sceneSize, size)
/Users/admin/builder/spi-builder-workspace/Source/SwiftUI/SelfSize.swift:40:17: warning: capture of 'size' with non-sendable type '(CGSize) -> Void' in a `@Sendable` closure
38 | )
39 | .onPreferenceChange(SelfSizeKey.self) { [size] new in
40 | size(new)
| |- warning: capture of 'size' with non-sendable type '(CGSize) -> Void' in a `@Sendable` closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
41 | }
42 | }
/Users/admin/builder/spi-builder-workspace/Source/SwiftUI/WindowSize.swift:134:23: error: call to main actor-isolated instance method 'emit()' in a synchronous nonisolated context
132 | queue: .main
133 | ) { [weak self] _ in
134 | self?.emit()
| `- error: call to main actor-isolated instance method 'emit()' in a synchronous nonisolated context
135 | }
136 | observers.append(token)
:
139 | }
140 |
141 | func emit() {
| `- note: calls to instance method 'emit()' from outside of its actor context are implicitly asynchronous
142 | let current = window?.frame ?? .zero
143 | guard current != lastEmitted else {
[45/46] Compiling UIHelper View+Condition.swift
/Users/admin/builder/spi-builder-workspace/Source/SwiftUI/SceneSize.swift:53:17: error: main actor-isolated property 'size' can not be mutated from a Sendable closure
40 | private struct SceneSizeModifier: ViewModifier {
41 | @State
42 | private var size: CGRect = .zero
| `- note: mutation of this property is only permitted within the actor
43 |
44 | func body(content: Content) -> some View {
:
51 | )
52 | .onPreferenceChange(SceneSizePreferenceKey.self) { new in
53 | size = new
| `- error: main actor-isolated property 'size' can not be mutated from a Sendable closure
54 | }
55 | .environment(\.sceneSize, size)
/Users/admin/builder/spi-builder-workspace/Source/SwiftUI/SelfSize.swift:40:17: warning: capture of 'size' with non-sendable type '(CGSize) -> Void' in a `@Sendable` closure
38 | )
39 | .onPreferenceChange(SelfSizeKey.self) { [size] new in
40 | size(new)
| |- warning: capture of 'size' with non-sendable type '(CGSize) -> Void' in a `@Sendable` closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
41 | }
42 | }
/Users/admin/builder/spi-builder-workspace/Source/SwiftUI/WindowSize.swift:134:23: error: call to main actor-isolated instance method 'emit()' in a synchronous nonisolated context
132 | queue: .main
133 | ) { [weak self] _ in
134 | self?.emit()
| `- error: call to main actor-isolated instance method 'emit()' in a synchronous nonisolated context
135 | }
136 | observers.append(token)
:
139 | }
140 |
141 | func emit() {
| `- note: calls to instance method 'emit()' from outside of its actor context are implicitly asynchronous
142 | let current = window?.frame ?? .zero
143 | guard current != lastEmitted else {
[46/46] Compiling UIHelper WindowSize.swift
/Users/admin/builder/spi-builder-workspace/Source/SwiftUI/SceneSize.swift:53:17: error: main actor-isolated property 'size' can not be mutated from a Sendable closure
40 | private struct SceneSizeModifier: ViewModifier {
41 | @State
42 | private var size: CGRect = .zero
| `- note: mutation of this property is only permitted within the actor
43 |
44 | func body(content: Content) -> some View {
:
51 | )
52 | .onPreferenceChange(SceneSizePreferenceKey.self) { new in
53 | size = new
| `- error: main actor-isolated property 'size' can not be mutated from a Sendable closure
54 | }
55 | .environment(\.sceneSize, size)
/Users/admin/builder/spi-builder-workspace/Source/SwiftUI/SelfSize.swift:40:17: warning: capture of 'size' with non-sendable type '(CGSize) -> Void' in a `@Sendable` closure
38 | )
39 | .onPreferenceChange(SelfSizeKey.self) { [size] new in
40 | size(new)
| |- warning: capture of 'size' with non-sendable type '(CGSize) -> Void' in a `@Sendable` closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
41 | }
42 | }
/Users/admin/builder/spi-builder-workspace/Source/SwiftUI/WindowSize.swift:134:23: error: call to main actor-isolated instance method 'emit()' in a synchronous nonisolated context
132 | queue: .main
133 | ) { [weak self] _ in
134 | self?.emit()
| `- error: call to main actor-isolated instance method 'emit()' in a synchronous nonisolated context
135 | }
136 | observers.append(token)
:
139 | }
140 |
141 | func emit() {
| `- note: calls to instance method 'emit()' from outside of its actor context are implicitly asynchronous
142 | let current = window?.frame ?? .zero
143 | guard current != lastEmitted else {
Fetching https://github.com/NikSativa/SpryKit.git
[1/1161] Fetching sprykit
Fetched https://github.com/NikSativa/SpryKit.git from cache (0.82s)
Computing version for https://github.com/NikSativa/SpryKit.git
Computed https://github.com/NikSativa/SpryKit.git at 3.2.0 (0.53s)
Fetching https://github.com/NikSativa/Threading.git
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
Fetching https://github.com/apple/swift-syntax.git
[1/1257] Fetching cwlpreconditiontesting
[228/1764] Fetching cwlpreconditiontesting, threading
[1765/76799] Fetching cwlpreconditiontesting, threading, swift-syntax
Fetched https://github.com/NikSativa/Threading.git from cache (3.82s)
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (3.82s)
Fetched https://github.com/apple/swift-syntax.git from cache (3.82s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 600.0.1 (3.30s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (0.58s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/460] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.72s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (0.57s)
Computing version for https://github.com/NikSativa/Threading.git
Computed https://github.com/NikSativa/Threading.git at 2.3.1 (0.48s)
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 600.0.1
Creating working copy for https://github.com/NikSativa/Threading.git
Working copy of https://github.com/NikSativa/Threading.git resolved at 2.3.1
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.2.2
Creating working copy for https://github.com/NikSativa/SpryKit.git
Working copy of https://github.com/NikSativa/SpryKit.git resolved at 3.2.0
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.2.1
BUILD FAILURE 6.0 macosSpm