The Swift Package Index logo.Swift Package Index

Build Information

Failed to build UIHelper, reference 2.1.1 (1cf7c3), with Swift 6.0 for macOS (SPM) on 22 Apr 2026 20:35:30 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/NikSativa/UIHelper.git
Reference: 2.1.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/NikSativa/UIHelper
 * tag               2.1.1      -> FETCH_HEAD
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 2.1.1
========================================
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
[0/3] Write sources
[2/3] Write swift-version-5BDAB9E9C0126B9D.txt
[4/42] Emitting module UIHelper
[5/46] Compiling UIHelper GradientView.swift
[6/46] Compiling UIHelper KeyboardHandler.swift
[7/46] Compiling UIHelper KeyboardHandlerConfiguration.swift
[8/46] Compiling UIHelper KeyboardHandling.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 ButtonStyleProperty.swift
[19/46] Compiling UIHelper CollectionViewStyleProperty.swift
[20/46] Compiling UIHelper GradientViewStyleProperty.swift
[21/46] Compiling UIHelper ImageViewStyleProperty.swift
[22/46] Compiling UIHelper StackViewStyleProperty.swift
[23/46] Compiling UIHelper SwitchStyleProperty.swift
[24/46] Compiling UIHelper TableViewStyleProperty.swift
[25/46] Compiling UIHelper TextFieldStyleProperty.swift
[26/46] Compiling UIHelper LabelStyleProperty.swift
[27/46] Compiling UIHelper NavigationBarStyleProperty.swift
[28/46] Compiling UIHelper PageControlStyleProperty.swift
[29/46] Compiling UIHelper SliderStyleProperty.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 TextViewStyleProperty.swift
[35/46] Compiling UIHelper ViewStyleProperty.swift
[36/46] Compiling UIHelper ViewStyle.swift
[37/46] Compiling UIHelper resource_bundle_accessor.swift
[38/46] Compiling UIHelper LabelLinksHandler.swift
[39/46] Compiling UIHelper ModalPresenter.swift
[40/46] Compiling UIHelper TransparentTouchView.swift
[41/46] Compiling UIHelper BarItemStyleProperty.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.86s)
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/507] Fetching threading
[72/1764] Fetching threading, cwlpreconditiontesting
[1765/76799] Fetching threading, cwlpreconditiontesting, swift-syntax
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (3.41s)
Fetched https://github.com/NikSativa/Threading.git from cache (3.41s)
Fetched https://github.com/apple/swift-syntax.git from cache (3.41s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 600.0.1 (3.38s)
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
[5/460] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.75s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (0.58s)
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/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
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/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
BUILD FAILURE 6.0 macosSpm