The Swift Package Index logo.Swift Package Index

Build Information

Failed to build LegoKit, reference 2.1.1 (f63fad), with Swift 6.2 for macOS (SPM) on 22 Jun 2025 22:09:17 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/octree/legokit.git
Reference: 2.1.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/octree/legokit
 * tag               2.1.1      -> FETCH_HEAD
HEAD is now at f63fad1 🐛 bugfix: Visible items were not updated while data changed
Cloned https://github.com/octree/legokit.git
Revision (git rev-parse @):
f63fad109fb7b90489f296a4d0d5efc21a658603
SUCCESS checkout https://github.com/octree/legokit.git at 2.1.1
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/octree/legokit.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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/15] Emitting module LegoKit
/Users/admin/builder/spi-builder-workspace/Sources/LegoKit/Core/Core.swift:27:8: error: no such module 'UIKit'
 25 | //  THE SOFTWARE.
 26 |
 27 | import UIKit
    |        `- error: no such module 'UIKit'
 28 |
 29 | public struct AnyID: Hashable, Sendable, Equatable {
[4/15] Compiling LegoKit LegoPublished.swift
/Users/admin/builder/spi-builder-workspace/Sources/LegoKit/Core/Core.swift:27:8: error: no such module 'UIKit'
 25 | //  THE SOFTWARE.
 26 |
 27 | import UIKit
    |        `- error: no such module 'UIKit'
 28 |
 29 | public struct AnyID: Hashable, Sendable, Equatable {
[5/15] Compiling LegoKit ObservableObject.swift
/Users/admin/builder/spi-builder-workspace/Sources/LegoKit/Core/Core.swift:27:8: error: no such module 'UIKit'
 25 | //  THE SOFTWARE.
 26 |
 27 | import UIKit
    |        `- error: no such module 'UIKit'
 28 |
 29 | public struct AnyID: Hashable, Sendable, Equatable {
[6/15] Compiling LegoKit State.swift
/Users/admin/builder/spi-builder-workspace/Sources/LegoKit/Core/Core.swift:27:8: error: no such module 'UIKit'
 25 | //  THE SOFTWARE.
 26 |
 27 | import UIKit
    |        `- error: no such module 'UIKit'
 28 |
 29 | public struct AnyID: Hashable, Sendable, Equatable {
[7/15] Compiling LegoKit Lego.swift
/Users/admin/builder/spi-builder-workspace/Sources/LegoKit/Core/Core.swift:27:8: error: no such module 'UIKit'
 25 | //  THE SOFTWARE.
 26 |
 27 | import UIKit
    |        `- error: no such module 'UIKit'
 28 |
 29 | public struct AnyID: Hashable, Sendable, Equatable {
[8/15] Compiling LegoKit LegoRenderer.swift
/Users/admin/builder/spi-builder-workspace/Sources/LegoKit/Core/Core.swift:27:8: error: no such module 'UIKit'
 25 | //  THE SOFTWARE.
 26 |
 27 | import UIKit
    |        `- error: no such module 'UIKit'
 28 |
 29 | public struct AnyID: Hashable, Sendable, Equatable {
[9/15] Compiling LegoKit LegoContainer.swift
/Users/admin/builder/spi-builder-workspace/Sources/LegoKit/Core/Core.swift:27:8: error: no such module 'UIKit'
 25 | //  THE SOFTWARE.
 26 |
 27 | import UIKit
    |        `- error: no such module 'UIKit'
 28 |
 29 | public struct AnyID: Hashable, Sendable, Equatable {
[10/15] Compiling LegoKit Core.swift
/Users/admin/builder/spi-builder-workspace/Sources/LegoKit/Core/Core.swift:27:8: error: no such module 'UIKit'
 25 | //  THE SOFTWARE.
 26 |
 27 | import UIKit
    |        `- error: no such module 'UIKit'
 28 |
 29 | public struct AnyID: Hashable, Sendable, Equatable {
[11/15] Compiling LegoKit ItemBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/LegoKit/Core/Core.swift:27:8: error: no such module 'UIKit'
 25 | //  THE SOFTWARE.
 26 |
 27 | import UIKit
    |        `- error: no such module 'UIKit'
 28 |
 29 | public struct AnyID: Hashable, Sendable, Equatable {
[12/15] Compiling LegoKit Binding.swift
/Users/admin/builder/spi-builder-workspace/Sources/LegoKit/Core/Core.swift:27:8: error: no such module 'UIKit'
 25 | //  THE SOFTWARE.
 26 |
 27 | import UIKit
    |        `- error: no such module 'UIKit'
 28 |
 29 | public struct AnyID: Hashable, Sendable, Equatable {
[13/15] Compiling LegoKit StateObject.swift
/Users/admin/builder/spi-builder-workspace/Sources/LegoKit/Core/Core.swift:27:8: error: no such module 'UIKit'
 25 | //  THE SOFTWARE.
 26 |
 27 | import UIKit
    |        `- error: no such module 'UIKit'
 28 |
 29 | public struct AnyID: Hashable, Sendable, Equatable {
[14/15] Compiling LegoKit Section.swift
/Users/admin/builder/spi-builder-workspace/Sources/LegoKit/Core/Core.swift:27:8: error: no such module 'UIKit'
 25 | //  THE SOFTWARE.
 26 |
 27 | import UIKit
    |        `- error: no such module 'UIKit'
 28 |
 29 | public struct AnyID: Hashable, Sendable, Equatable {
[15/15] Compiling LegoKit SectionBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/LegoKit/Core/Core.swift:27:8: error: no such module 'UIKit'
 25 | //  THE SOFTWARE.
 26 |
 27 | import UIKit
    |        `- error: no such module 'UIKit'
 28 |
 29 | public struct AnyID: Hashable, Sendable, Equatable {
[16/16] Compiling LegoKit CFRunLoop+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/LegoKit/Core/Core.swift:27:8: error: no such module 'UIKit'
 25 | //  THE SOFTWARE.
 26 |
 27 | import UIKit
    |        `- error: no such module 'UIKit'
 28 |
 29 | public struct AnyID: Hashable, Sendable, Equatable {
BUILD FAILURE 6.2 macosSpm