The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build DurationPicker, reference main (798a9f), with Swift 6.2 (beta) for macOS (SPM) on 21 Jun 2025 07:05:28 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mac-gallagher/DurationPicker.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/mac-gallagher/DurationPicker
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 798a9f9 Update README (#3)
Cloned https://github.com/mac-gallagher/DurationPicker.git
Revision (git rev-parse @):
798a9f9b6c162eb6f00deb29d10175c00d1caa25
SUCCESS checkout https://github.com/mac-gallagher/DurationPicker.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/mac-gallagher/DurationPicker.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.txt
[3/15] Compiling DurationPicker DurationPicker+Mode.swift
/Users/admin/builder/spi-builder-workspace/Sources/DurationPicker/Internal/DurationPickerContentView.swift:23:8: error: no such module 'UIKit'
21 | /// SOFTWARE.
22 |
23 | import UIKit
   |        `- error: no such module 'UIKit'
24 |
25 | /// A view which displays a single monospaced, right-aligned label. Used as a row for `DurationPickerView`.
[4/16] Compiling DurationPicker TimeConstants.swift
/Users/admin/builder/spi-builder-workspace/Sources/DurationPicker/Internal/DurationPickerContentView.swift:23:8: error: no such module 'UIKit'
21 | /// SOFTWARE.
22 |
23 | import UIKit
   |        `- error: no such module 'UIKit'
24 |
25 | /// A view which displays a single monospaced, right-aligned label. Used as a row for `DurationPickerView`.
[5/16] Compiling DurationPicker DurationFormatter.swift
/Users/admin/builder/spi-builder-workspace/Sources/DurationPicker/Internal/DurationPickerContentView.swift:23:8: error: no such module 'UIKit'
21 | /// SOFTWARE.
22 |
23 | import UIKit
   |        `- error: no such module 'UIKit'
24 |
25 | /// A view which displays a single monospaced, right-aligned label. Used as a row for `DurationPickerView`.
[6/16] Compiling DurationPicker TimeComponents.swift
/Users/admin/builder/spi-builder-workspace/Sources/DurationPicker/Internal/DurationPickerContentView.swift:23:8: error: no such module 'UIKit'
21 | /// SOFTWARE.
22 |
23 | import UIKit
   |        `- error: no such module 'UIKit'
24 |
25 | /// A view which displays a single monospaced, right-aligned label. Used as a row for `DurationPickerView`.
[7/16] Compiling DurationPicker UILabel++.swift
/Users/admin/builder/spi-builder-workspace/Sources/DurationPicker/Internal/DurationPickerContentView.swift:23:8: error: no such module 'UIKit'
21 | /// SOFTWARE.
22 |
23 | import UIKit
   |        `- error: no such module 'UIKit'
24 |
25 | /// A view which displays a single monospaced, right-aligned label. Used as a row for `DurationPickerView`.
[8/16] Compiling DurationPicker TimeUtils.swift
/Users/admin/builder/spi-builder-workspace/Sources/DurationPicker/Internal/DurationPickerContentView.swift:23:8: error: no such module 'UIKit'
21 | /// SOFTWARE.
22 |
23 | import UIKit
   |        `- error: no such module 'UIKit'
24 |
25 | /// A view which displays a single monospaced, right-aligned label. Used as a row for `DurationPickerView`.
[9/16] Compiling DurationPicker Numbers++.swift
/Users/admin/builder/spi-builder-workspace/Sources/DurationPicker/Internal/DurationPickerContentView.swift:23:8: error: no such module 'UIKit'
21 | /// SOFTWARE.
22 |
23 | import UIKit
   |        `- error: no such module 'UIKit'
24 |
25 | /// A view which displays a single monospaced, right-aligned label. Used as a row for `DurationPickerView`.
[10/16] Compiling DurationPicker String++.swift
/Users/admin/builder/spi-builder-workspace/Sources/DurationPicker/Internal/DurationPickerContentView.swift:23:8: error: no such module 'UIKit'
21 | /// SOFTWARE.
22 |
23 | import UIKit
   |        `- error: no such module 'UIKit'
24 |
25 | /// A view which displays a single monospaced, right-aligned label. Used as a row for `DurationPickerView`.
[11/16] Compiling DurationPicker CGFloat++.swift
/Users/admin/builder/spi-builder-workspace/Sources/DurationPicker/Internal/DurationPickerContentView.swift:23:8: error: no such module 'UIKit'
21 | /// SOFTWARE.
22 |
23 | import UIKit
   |        `- error: no such module 'UIKit'
24 |
25 | /// A view which displays a single monospaced, right-aligned label. Used as a row for `DurationPickerView`.
[12/16] Compiling DurationPicker CGSize++.swift
/Users/admin/builder/spi-builder-workspace/Sources/DurationPicker/Internal/DurationPickerContentView.swift:23:8: error: no such module 'UIKit'
21 | /// SOFTWARE.
22 |
23 | import UIKit
   |        `- error: no such module 'UIKit'
24 |
25 | /// A view which displays a single monospaced, right-aligned label. Used as a row for `DurationPickerView`.
[13/16] Compiling DurationPicker DurationPicker.swift
/Users/admin/builder/spi-builder-workspace/Sources/DurationPicker/Internal/DurationPickerContentView.swift:23:8: error: no such module 'UIKit'
21 | /// SOFTWARE.
22 |
23 | import UIKit
   |        `- error: no such module 'UIKit'
24 |
25 | /// A view which displays a single monospaced, right-aligned label. Used as a row for `DurationPickerView`.
error: emit-module command failed with exit code 1 (use -v to see invocation)
[14/16] Emitting module DurationPicker
/Users/admin/builder/spi-builder-workspace/Sources/DurationPicker/Internal/DurationPickerContentView.swift:23:8: error: no such module 'UIKit'
21 | /// SOFTWARE.
22 |
23 | import UIKit
   |        `- error: no such module 'UIKit'
24 |
25 | /// A view which displays a single monospaced, right-aligned label. Used as a row for `DurationPickerView`.
[15/16] Compiling DurationPicker DurationPickerContentView.swift
/Users/admin/builder/spi-builder-workspace/Sources/DurationPicker/Internal/DurationPickerContentView.swift:23:8: error: no such module 'UIKit'
21 | /// SOFTWARE.
22 |
23 | import UIKit
   |        `- error: no such module 'UIKit'
24 |
25 | /// A view which displays a single monospaced, right-aligned label. Used as a row for `DurationPickerView`.
[16/16] Compiling DurationPicker DurationPickerView.swift
/Users/admin/builder/spi-builder-workspace/Sources/DurationPicker/Internal/DurationPickerContentView.swift:23:8: error: no such module 'UIKit'
21 | /// SOFTWARE.
22 |
23 | import UIKit
   |        `- error: no such module 'UIKit'
24 |
25 | /// A view which displays a single monospaced, right-aligned label. Used as a row for `DurationPickerView`.
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Sources/DurationPicker/Resources/Localizable.xcstrings
BUILD FAILURE 6.2 macosSpm