Build Information
Failed to build UIHelper, reference main (fedae3
), with Swift 5.9 for macOS (SPM) on 17 Jul 2024 11:43:27 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.46.2
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 fedae39 SelfSize modifier
Cloned https://github.com/NikSativa/UIHelper.git
Revision (git rev-parse @):
fedae391ed1cf07226b5e7ced08afc1a6adb47ce
SUCCESS checkout https://github.com/NikSativa/UIHelper.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.9
Building package at path: $workDir
https://github.com/NikSativa/UIHelper.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/40] Compiling CwlMachBadInstructionHandler mach_excServer.c
[1/40] Compiling CwlCatchExceptionSupport CwlCatchException.m
[2/40] Compiling CwlMachBadInstructionHandler CwlMachBadInstructionHandler.m
[4/42] Emitting module UIHelper
[5/46] Compiling UIHelper BarItemStyleProperty.swift
[6/46] Compiling UIHelper ButtonStyleProperty.swift
[7/46] Compiling UIHelper CollectionViewStyleProperty.swift
[8/46] Compiling UIHelper GradientViewStyleProperty.swift
[9/46] Emitting module CwlCatchException
[10/46] Compiling CwlCatchException CwlCatchException.swift
[11/46] Compiling UIHelper UIScrollView+UIKit.swift
[12/46] Compiling UIHelper UIStackView+UIKit.swift
[13/46] Compiling UIHelper UITableView+UIKit.swift
[14/46] Compiling UIHelper UIView+UIKit.swift
[15/46] Compiling UIHelper AppRootViewControllerProviding.swift
[16/46] Compiling UIHelper AppWindowProvider.swift
[17/46] Compiling UIHelper AutoLayoutBuilder.swift
[18/46] Compiling UIHelper CircleView.swift
[19/46] Compiling UIHelper ImageViewStyleProperty.swift
[20/46] Compiling UIHelper LabelStyleProperty.swift
[21/46] Compiling UIHelper NavigationBarStyleProperty.swift
[22/46] Compiling UIHelper PageControlStyleProperty.swift
[23/46] Compiling UIHelper SliderStyleProperty.swift
[24/46] Compiling UIHelper StackViewStyleProperty.swift
[25/46] Compiling UIHelper SwitchStyleProperty.swift
[26/46] Compiling UIHelper TableViewStyleProperty.swift
[27/46] Compiling UIHelper LayoutConstraint+UIKit.swift
[28/46] Compiling UIHelper UICollectionView+UIKit.swift
[29/46] Compiling UIHelper UICollectionViewFlowLayout+UIKit.swift
[30/46] Compiling UIHelper UIGestureRecognizer+UIKit.swift
[31/46] Compiling UIHelper KeyboardHandling.swift
[32/46] Compiling UIHelper LabelLinksHandler.swift
[33/46] Compiling UIHelper ModalPresenter.swift
[34/46] Compiling UIHelper TransparentTouchView.swift
[35/50] Compiling UIHelper TextFieldStyleProperty.swift
[36/50] Compiling UIHelper TextViewStyleProperty.swift
[37/50] Compiling UIHelper ViewStyleProperty.swift
[38/50] Compiling UIHelper ViewStyle.swift
[39/50] Emitting module CwlPreconditionTesting
[40/50] Compiling CwlPreconditionTesting CwlBadInstructionException.swift
[41/50] Compiling CwlPreconditionTesting CwlDarwinDefinitions.swift
[42/50] Compiling CwlPreconditionTesting CwlCatchBadInstruction.swift
[43/86] Compiling SpryKit Data+Helpers.swift
[44/86] Compiling SpryKit Date+Helpers.swift
[45/86] Compiling SpryKit DispatchTime+Helpers.swift
[46/86] Compiling SpryKit Image+Helpers.swift
[47/86] Compiling SpryKit PThread.swift
/Users/admin/builder/spi-builder-workspace/Source/SwiftUI/SelfSize.swift:25:17: error: 'background(alignment:content:)' is only available in macOS 12.0 or newer
content.background {
^
/Users/admin/builder/spi-builder-workspace/Source/SwiftUI/SelfSize.swift:25:17: note: add 'if #available' version check
content.background {
^
/Users/admin/builder/spi-builder-workspace/Source/SwiftUI/SelfSize.swift:24:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Source/SwiftUI/SelfSize.swift:21:16: note: add @available attribute to enclosing struct
private struct SelfSizeModifier: ViewModifier {
^
[48/86] Compiling SpryKit PropertyReflector.swift
/Users/admin/builder/spi-builder-workspace/Source/SwiftUI/SelfSize.swift:25:17: error: 'background(alignment:content:)' is only available in macOS 12.0 or newer
content.background {
^
/Users/admin/builder/spi-builder-workspace/Source/SwiftUI/SelfSize.swift:25:17: note: add 'if #available' version check
content.background {
^
/Users/admin/builder/spi-builder-workspace/Source/SwiftUI/SelfSize.swift:24:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Source/SwiftUI/SelfSize.swift:21:16: note: add @available attribute to enclosing struct
private struct SelfSizeModifier: ViewModifier {
^
[49/86] Compiling SpryKit Spryable.swift
/Users/admin/builder/spi-builder-workspace/Source/SwiftUI/SelfSize.swift:25:17: error: 'background(alignment:content:)' is only available in macOS 12.0 or newer
content.background {
^
/Users/admin/builder/spi-builder-workspace/Source/SwiftUI/SelfSize.swift:25:17: note: add 'if #available' version check
content.background {
^
/Users/admin/builder/spi-builder-workspace/Source/SwiftUI/SelfSize.swift:24:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Source/SwiftUI/SelfSize.swift:21:16: note: add @available attribute to enclosing struct
private struct SelfSizeModifier: ViewModifier {
^
[50/86] Compiling SpryKit SpryableImpl.swift
/Users/admin/builder/spi-builder-workspace/Source/SwiftUI/SelfSize.swift:25:17: error: 'background(alignment:content:)' is only available in macOS 12.0 or newer
content.background {
^
/Users/admin/builder/spi-builder-workspace/Source/SwiftUI/SelfSize.swift:25:17: note: add 'if #available' version check
content.background {
^
/Users/admin/builder/spi-builder-workspace/Source/SwiftUI/SelfSize.swift:24:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Source/SwiftUI/SelfSize.swift:21:16: note: add @available attribute to enclosing struct
private struct SelfSizeModifier: ViewModifier {
^
error: fatalError
Fetching https://github.com/NikSativa/SpryKit.git
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
Fetching https://github.com/mattgallagher/CwlCatchException.git
[5/439] Fetching cwlcatchexception
[190/1686] Fetching cwlcatchexception, cwlpreconditiontesting
[303/2487] Fetching cwlcatchexception, cwlpreconditiontesting, SpryKit
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git (1.54s)
Fetched https://github.com/NikSativa/SpryKit.git (1.54s)
Fetched https://github.com/mattgallagher/CwlCatchException.git (1.54s)
Computing version for https://github.com/NikSativa/SpryKit.git
Computed https://github.com/NikSativa/SpryKit.git at 2.2.3 (0.40s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.1 (2.62s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.0 (0.53s)
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.2.0
Creating working copy for https://github.com/NikSativa/SpryKit.git
Working copy of https://github.com/NikSativa/SpryKit.git resolved at 2.2.3
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.2.1
BUILD FAILURE 5.9 macosSpm