The Swift Package Index logo.Swift Package Index

Build Information

Failed to build LegoKit, reference 2.1.1 (f63fad), with Swift 6.3 for macOS (SPM) on 15 Apr 2026 15:28:23 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.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
========================================
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",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "legokit",
      "name": "LegoKit",
      "url": "https://github.com/octree/legokit.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/legokit",
      "traits": [
        "default"
      ],
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/octree/legokit.git
[1/506] Fetching legokit
Fetched https://github.com/octree/legokit.git from cache (1.34s)
Creating working copy for https://github.com/octree/legokit.git
Working copy of https://github.com/octree/legokit.git resolved at 2.1.1 (f63fad1)
warning: '.resolve-product-dependencies': dependency 'legokit' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/octree/legokit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--6988338F2F200930.txt
[3/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 {
[4/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 {
[5/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 {
[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 {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/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 {
[8/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 {
[9/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 {
[10/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 {
[11/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 {
[12/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 {
[13/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 {
[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.3 macosSpm