The Swift Package Index logo.Swift Package Index

Build Information

Failed to build LegoKit, reference main (f63fad), with Swift 6.2 for macOS (SPM) on 22 Jun 2025 22:09:54 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: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/octree/legokit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
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 main
========================================
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
[3/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 {
[4/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 {
[5/16] 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 {
[6/16] 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/16] 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 {
[8/16] 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 {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/16] 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 {
[10/16] 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 {
[11/16] 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 {
[12/16] 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 {
[13/16] 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 {
[14/16] 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 {
[15/16] 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 {
[16/16] 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 {
BUILD FAILURE 6.2 macosSpm