The Swift Package Index logo.Swift Package Index

Build Information

Failed to build UIHostingMenu, reference v0.1.4 (eb453f), with Swift 6.3 for Linux on 25 Apr 2026 13:17:22 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/lynnswap/UIHostingMenu.git
Reference: v0.1.4
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/lynnswap/UIHostingMenu
 * tag               v0.1.4     -> FETCH_HEAD
HEAD is now at eb453ff Merge pull request #7 from lynnswap:codex/feature/use-upstream-machokit-0-49-0
Cloned https://github.com/lynnswap/UIHostingMenu.git
Revision (git rev-parse @):
eb453ff2ce1eb238f0fc17515db84690e5c3db63
SUCCESS checkout https://github.com/lynnswap/UIHostingMenu.git at v0.1.4
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.3
Building package at path:  $PWD
https://github.com/lynnswap/UIHostingMenu.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest
Fetching https://github.com/p-x9/MachOKit.git
[1/6695] Fetching machokit
Fetched https://github.com/p-x9/MachOKit.git from cache (0.36s)
Computing version for https://github.com/p-x9/MachOKit.git
warning: 'machokit': /Package.swift:129:1: warning: extension declares a conformance of imported type 'SwiftSetting' to imported protocol 'CaseIterable'; this will not behave correctly if the owners of 'PackageDescription' introduce this conformance in the future
127 | }
128 |
129 | extension SwiftSetting: CaseIterable {
    | |- warning: extension declares a conformance of imported type 'SwiftSetting' to imported protocol 'CaseIterable'; this will not behave correctly if the owners of 'PackageDescription' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
130 |     public static var allCases: [Self] {
131 |         [
Computed https://github.com/p-x9/MachOKit.git at 0.49.0 (0.96s)
Fetching https://github.com/p-x9/ObjectArchiveKit.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/p-x9/swift-binary-parse-support.git
Fetching https://github.com/p-x9/swift-fileio-extra.git
Fetching https://github.com/p-x9/swift-fileio.git
[1/259] Fetching objectarchivekit
[14/505] Fetching objectarchivekit, swift-fileio
[366/553] Fetching objectarchivekit, swift-fileio, swift-fileio-extra
[556/795] Fetching objectarchivekit, swift-fileio, swift-fileio-extra, swift-binary-parse-support
Fetched https://github.com/p-x9/swift-binary-parse-support.git from cache (0.36s)
Fetched https://github.com/p-x9/swift-fileio.git from cache (0.36s)
[1/17436] Fetching swift-crypto
Fetched https://github.com/p-x9/swift-fileio-extra.git from cache (2.39s)
Fetched https://github.com/p-x9/ObjectArchiveKit.git from cache (2.39s)
Fetched https://github.com/apple/swift-crypto.git from cache (2.44s)
Computing version for https://github.com/p-x9/swift-binary-parse-support.git
Computed https://github.com/p-x9/swift-binary-parse-support.git at 0.2.1 (3.20s)
Computing version for https://github.com/p-x9/ObjectArchiveKit.git
Computed https://github.com/p-x9/ObjectArchiveKit.git at 0.5.0 (0.40s)
Computing version for https://github.com/p-x9/swift-fileio-extra.git
Computed https://github.com/p-x9/swift-fileio-extra.git at 0.2.2 (0.41s)
Computing version for https://github.com/p-x9/swift-fileio.git
Computed https://github.com/p-x9/swift-fileio.git at 0.13.0 (0.38s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (2.39s)
Fetching https://github.com/apple/swift-asn1.git
[1/1803] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.64s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.0 (2.92s)
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.0
Creating working copy for https://github.com/p-x9/MachOKit.git
Working copy of https://github.com/p-x9/MachOKit.git resolved at 0.49.0
Creating working copy for https://github.com/p-x9/swift-fileio.git
Working copy of https://github.com/p-x9/swift-fileio.git resolved at 0.13.0
Creating working copy for https://github.com/p-x9/swift-fileio-extra.git
Working copy of https://github.com/p-x9/swift-fileio-extra.git resolved at 0.2.2
Creating working copy for https://github.com/p-x9/ObjectArchiveKit.git
Working copy of https://github.com/p-x9/ObjectArchiveKit.git resolved at 0.5.0
Creating working copy for https://github.com/p-x9/swift-binary-parse-support.git
Working copy of https://github.com/p-x9/swift-binary-parse-support.git resolved at 0.2.1
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.15.1
warning: 'machokit': /host/spi-builder-workspace/.build/checkouts/MachOKit/Package.swift:129:1: warning: extension declares a conformance of imported type 'SwiftSetting' to imported protocol 'CaseIterable'; this will not behave correctly if the owners of 'PackageDescription' introduce this conformance in the future
127 | }
128 |
129 | extension SwiftSetting: CaseIterable {
    | |- warning: extension declares a conformance of imported type 'SwiftSetting' to imported protocol 'CaseIterable'; this will not behave correctly if the owners of 'PackageDescription' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
130 |     public static var allCases: [Self] {
131 |         [
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/8] Emitting module UIHostingMenu
/host/spi-builder-workspace/Sources/UIHostingMenu/UIHostingMenuDemoView.swift:2:8: error: no such module 'SwiftUI'
  1 | import Observation
  2 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  3 |
  4 | #if canImport(UIKit)
[4/8] Compiling UIHostingMenu UIHostingMenu.swift
/host/spi-builder-workspace/Sources/UIHostingMenu/UIHostingMenuDemoView.swift:2:8: error: no such module 'SwiftUI'
  1 | import Observation
  2 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  3 |
  4 | #if canImport(UIKit)
[5/8] Compiling UIHostingMenu _UIHostingMenuSelectorCatalog.swift
/host/spi-builder-workspace/Sources/UIHostingMenu/UIHostingMenuDemoView.swift:2:8: error: no such module 'SwiftUI'
  1 | import Observation
  2 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  3 |
  4 | #if canImport(UIKit)
[6/8] Compiling UIHostingMenu UIHostingMenuDemoView.swift
/host/spi-builder-workspace/Sources/UIHostingMenu/UIHostingMenuDemoView.swift:2:8: error: no such module 'SwiftUI'
  1 | import Observation
  2 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  3 |
  4 | #if canImport(UIKit)
[7/8] Compiling UIHostingMenu _SwiftUIPrivateRuntime.swift
/host/spi-builder-workspace/Sources/UIHostingMenu/UIHostingMenuDemoView.swift:2:8: error: no such module 'SwiftUI'
  1 | import Observation
  2 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  3 |
  4 | #if canImport(UIKit)
[8/8] Compiling UIHostingMenu UIHostingMenu+Preview.swift
/host/spi-builder-workspace/Sources/UIHostingMenu/UIHostingMenuDemoView.swift:2:8: error: no such module 'SwiftUI'
  1 | import Observation
  2 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  3 |
  4 | #if canImport(UIKit)
BUILD FAILURE 6.3 linux