The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build UIHelper, reference main (fedae3), with Swift 5.8 for macOS (SPM) on 17 Jul 2024 11:43:06 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-14.3.1.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.8
Building package at path:  $workDir
https://github.com/NikSativa/UIHelper.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-14.3.1.app xcrun swift build --arch arm64
Building for debugging...
[0/40] Compiling CwlMachBadInstructionHandler mach_excServer.c
[1/40] Compiling CwlCatchExceptionSupport CwlCatchException.m
[2/42] Compiling CwlMachBadInstructionHandler CwlMachBadInstructionHandler.m
[4/42] Emitting module UIHelper
[5/46] Compiling UIHelper LayoutConstraint+UIKit.swift
[6/46] Compiling UIHelper UICollectionView+UIKit.swift
[7/46] Compiling UIHelper UICollectionViewFlowLayout+UIKit.swift
[8/46] Compiling UIHelper UIGestureRecognizer+UIKit.swift
[9/46] Compiling UIHelper UIViewController+UIKit.swift
[10/46] Compiling UIHelper GradientView.swift
[11/46] Compiling UIHelper KeyboardHandler.swift
[12/46] Compiling UIHelper KeyboardHandlerConfiguration.swift
[13/46] Compiling UIHelper TextFieldStyleProperty.swift
[14/46] Compiling UIHelper TextViewStyleProperty.swift
[15/46] Compiling UIHelper ViewStyleProperty.swift
[16/46] Compiling UIHelper ViewStyle.swift
[17/46] Compiling UIHelper BarItemStyleProperty.swift
[18/46] Compiling UIHelper ButtonStyleProperty.swift
[19/46] Compiling UIHelper CollectionViewStyleProperty.swift
[20/46] Compiling UIHelper GradientViewStyleProperty.swift
[21/46] Compiling UIHelper UIScrollView+UIKit.swift
[22/46] Compiling UIHelper UIStackView+UIKit.swift
[23/46] Compiling UIHelper UITableView+UIKit.swift
[24/46] Compiling UIHelper UIView+UIKit.swift
[25/46] Compiling UIHelper SliderStyleProperty.swift
[26/46] Compiling UIHelper StackViewStyleProperty.swift
[27/46] Compiling UIHelper SwitchStyleProperty.swift
[28/46] Compiling UIHelper TableViewStyleProperty.swift
[29/46] Compiling UIHelper KeyboardHandling.swift
[30/46] Compiling UIHelper LabelLinksHandler.swift
[31/46] Compiling UIHelper ModalPresenter.swift
[32/46] Compiling UIHelper TransparentTouchView.swift
[33/46] Compiling UIHelper ImageViewStyleProperty.swift
[34/46] Compiling UIHelper LabelStyleProperty.swift
[35/46] Compiling UIHelper NavigationBarStyleProperty.swift
[36/46] Compiling UIHelper PageControlStyleProperty.swift
[37/46] Compiling UIHelper AppRootViewControllerProviding.swift
[38/46] Compiling UIHelper AppWindowProvider.swift
[39/46] Compiling UIHelper AutoLayoutBuilder.swift
[40/46] Compiling UIHelper CircleView.swift
[41/46] Compiling CwlCatchException CwlCatchException.swift
[42/46] Emitting module CwlCatchException
[43/50] Compiling CwlPreconditionTesting CwlDarwinDefinitions.swift
[44/50] Emitting module CwlPreconditionTesting
[45/50] Compiling CwlPreconditionTesting CwlCatchBadInstruction.swift
[46/50] Compiling CwlPreconditionTesting CwlBadInstructionException.swift
[47/83] Compiling SpryKit Data+Helpers.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/83] Compiling SpryKit Date+Helpers.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/83] Compiling SpryKit DispatchTime+Helpers.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/83] Compiling SpryKit Image+Helpers.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 {
               ^
Fetching https://github.com/mattgallagher/CwlCatchException.git
Fetching https://github.com/NikSativa/SpryKit.git
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/439] Fetching cwlcatchexception
[190/1240] Fetching cwlcatchexception, SpryKit
[311/2487] Fetching cwlcatchexception, SpryKit, cwlpreconditiontesting
Fetched https://github.com/NikSativa/SpryKit.git (1.48s)
Computing version for https://github.com/NikSativa/SpryKit.git
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git (1.48s)
Fetched https://github.com/mattgallagher/CwlCatchException.git (1.48s)
Computed https://github.com/NikSativa/SpryKit.git at 2.2.3 (0.56s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.1 (3.17s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.0 (0.79s)
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.8 macosSpm