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 1.1.2 (fedae3), with Swift 5.10 for macOS (SPM) on 17 Jul 2024 11:44:15 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.4.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: 1.1.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/NikSativa/UIHelper
 * tag               1.1.2      -> FETCH_HEAD
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 1.1.2
Fetching https://github.com/mattgallagher/CwlCatchException.git
Fetching https://github.com/NikSativa/SpryKit.git
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/801] Fetching SpryKit
[98/1240] Fetching SpryKit, cwlcatchexception
[287/2487] Fetching SpryKit, cwlcatchexception, cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (1.53s)
Fetched https://github.com/NikSativa/SpryKit.git from cache (1.53s)
Computing version for https://github.com/NikSativa/SpryKit.git
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (1.53s)
Computed https://github.com/NikSativa/SpryKit.git at 2.2.3 (0.45s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.1 (2.49s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.0 (0.56s)
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/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.2.1
Creating working copy for https://github.com/NikSativa/SpryKit.git
Working copy of https://github.com/NikSativa/SpryKit.git resolved at 2.2.3
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "uihelper",
      "name": "UIHelper",
      "url": "https://github.com/NikSativa/UIHelper.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/UIHelper",
      "dependencies": [
        {
          "identity": "sprykit",
          "name": "SpryKit",
          "url": "https://github.com/NikSativa/SpryKit.git",
          "version": "2.2.3",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SpryKit",
          "dependencies": [
            {
              "identity": "cwlpreconditiontesting",
              "name": "CwlPreconditionTesting",
              "url": "https://github.com/mattgallagher/CwlPreconditionTesting.git",
              "version": "2.2.1",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/CwlPreconditionTesting",
              "dependencies": [
                {
                  "identity": "cwlcatchexception",
                  "name": "CwlCatchException",
                  "url": "https://github.com/mattgallagher/CwlCatchException.git",
                  "version": "2.2.0",
                  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/CwlCatchException",
                  "dependencies": [
                  ]
                }
              ]
            }
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/NikSativa/UIHelper.git
[1/275] Fetching uihelper
Fetched https://github.com/NikSativa/UIHelper.git from cache (1.87s)
Fetching https://github.com/NikSativa/SpryKit.git from cache
Fetched https://github.com/NikSativa/SpryKit.git from cache (0.46s)
Computing version for https://github.com/NikSativa/SpryKit.git
Computed https://github.com/NikSativa/SpryKit.git at 2.2.3 (0.44s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git from cache
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (0.50s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.1 (0.03s)
Fetching https://github.com/mattgallagher/CwlCatchException.git from cache
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.45s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.0 (0.03s)
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.2.1
Creating working copy for https://github.com/NikSativa/UIHelper.git
Working copy of https://github.com/NikSativa/UIHelper.git resolved at 1.1.2 (fedae39)
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/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.2.0
warning: '.resolve-product-dependencies': dependency 'uihelper' is not used by any target
Found 1 product dependencies
  - SpryKit
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $workDir
https://github.com/NikSativa/UIHelper.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/9] Write sources
[5/9] Write swift-version-33747A42983211AE.txt
[6/46] Compiling CwlMachBadInstructionHandler mach_excServer.c
[7/46] Compiling CwlCatchExceptionSupport CwlCatchException.m
[8/48] Compiling CwlMachBadInstructionHandler CwlMachBadInstructionHandler.m
[10/48] Emitting module UIHelper
[11/52] Compiling UIHelper BarItemStyleProperty.swift
[12/52] Compiling UIHelper ButtonStyleProperty.swift
[13/52] Compiling UIHelper CollectionViewStyleProperty.swift
[14/52] Compiling UIHelper GradientViewStyleProperty.swift
[15/52] Compiling UIHelper KeyboardHandling.swift
[16/52] Compiling UIHelper LabelLinksHandler.swift
[17/52] Compiling UIHelper ModalPresenter.swift
[18/52] Compiling UIHelper TransparentTouchView.swift
[19/52] Compiling UIHelper SliderStyleProperty.swift
[20/52] Compiling UIHelper StackViewStyleProperty.swift
[21/52] Compiling UIHelper SwitchStyleProperty.swift
[22/52] Compiling UIHelper TableViewStyleProperty.swift
[23/52] Compiling UIHelper LayoutConstraint+UIKit.swift
[24/52] Compiling UIHelper UICollectionView+UIKit.swift
[25/52] Compiling UIHelper UICollectionViewFlowLayout+UIKit.swift
[26/52] Compiling UIHelper UIGestureRecognizer+UIKit.swift
[27/52] Compiling UIHelper UIViewController+UIKit.swift
[28/52] Compiling UIHelper GradientView.swift
[29/52] Compiling UIHelper KeyboardHandler.swift
[30/52] Compiling UIHelper KeyboardHandlerConfiguration.swift
[31/52] Compiling UIHelper AppRootViewControllerProviding.swift
[32/52] Compiling UIHelper AppWindowProvider.swift
[33/52] Compiling UIHelper AutoLayoutBuilder.swift
[34/52] Compiling UIHelper CircleView.swift
[35/52] Compiling UIHelper UIScrollView+UIKit.swift
[36/52] Compiling UIHelper UIStackView+UIKit.swift
[37/52] Compiling UIHelper UITableView+UIKit.swift
[38/52] Compiling UIHelper UIView+UIKit.swift
[39/52] Compiling UIHelper ImageViewStyleProperty.swift
[40/52] Compiling UIHelper LabelStyleProperty.swift
[41/52] Compiling UIHelper NavigationBarStyleProperty.swift
[42/52] Compiling UIHelper PageControlStyleProperty.swift
[43/52] Compiling UIHelper TextFieldStyleProperty.swift
[44/52] Compiling UIHelper TextViewStyleProperty.swift
[45/52] Compiling UIHelper ViewStyleProperty.swift
[46/52] Compiling UIHelper ViewStyle.swift
[47/52] Emitting module CwlCatchException
[48/52] Compiling CwlCatchException CwlCatchException.swift
[49/56] Compiling CwlPreconditionTesting CwlDarwinDefinitions.swift
[50/56] Emitting module CwlPreconditionTesting
[51/56] Compiling CwlPreconditionTesting CwlCatchBadInstruction.swift
[52/56] Compiling CwlPreconditionTesting CwlBadInstructionException.swift
[53/92] Compiling SpryKit XCTAssertHaveReceived.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 {
               ^
[54/92] Compiling SpryKit XCTAssertHaveRecordedCalls.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 {
               ^
[55/92] Compiling SpryKit XCTAssertThrowsAssertion.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 {
               ^
[56/92] Compiling SpryKit XCTAssertThrowsError.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
BUILD FAILURE 5.10 macosSpm