The Swift Package Index logo.Swift Package Index

Build Information

Failed to build UIHostingMenu, reference main (eb453f), with Swift 6.2 for Wasm on 20 Apr 2026 08:59:11 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/lynnswap/UIHostingMenu.git
Reference: main
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
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
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 main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/lynnswap/UIHostingMenu.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:2a8b2d9e022a9894c61e0736af7cdaa1ee64c002dbb133a55c0d7e8980b3ad16
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest
Fetching https://github.com/p-x9/MachOKit.git
[1/6648] Fetching machokit
Fetched https://github.com/p-x9/MachOKit.git from cache (0.68s)
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 (1.72s)
Fetching https://github.com/p-x9/swift-binary-parse-support.git
Fetching https://github.com/p-x9/ObjectArchiveKit.git
Fetching https://github.com/p-x9/swift-fileio.git
Fetching https://github.com/p-x9/swift-fileio-extra.git
Fetching https://github.com/apple/swift-crypto.git
[1/242] Fetching swift-binary-parse-support
[89/501] Fetching swift-binary-parse-support, objectarchivekit
[304/549] Fetching swift-binary-parse-support, objectarchivekit, swift-fileio-extra
Fetched https://github.com/p-x9/ObjectArchiveKit.git from cache (0.59s)
Fetched https://github.com/p-x9/swift-binary-parse-support.git from cache (0.60s)
[1/246] Fetching swift-fileio
[56/17664] Fetching swift-fileio, swift-crypto
Fetched https://github.com/p-x9/swift-fileio-extra.git from cache (0.76s)
Fetched https://github.com/p-x9/swift-fileio.git from cache (0.77s)
[697/17418] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (3.46s)
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 (4.10s)
Computing version for https://github.com/p-x9/ObjectArchiveKit.git
Computed https://github.com/p-x9/ObjectArchiveKit.git at 0.5.0 (0.75s)
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.66s)
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.62s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (4.89s)
Fetching https://github.com/apple/swift-asn1.git
[1/1803] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.86s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.0 (4.76s)
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-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.0
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
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
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
[3/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)
[4/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)
[5/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)
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/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)
[7/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)
[8/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)
BUILD FAILURE 6.2 wasm