Build Information
Failed to build BetterMenus, reference main (f7d479), with Swift 6.1 for Wasm on 20 Sep 2025 16:18:56 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/b5i/BetterMenus.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/b5i/BetterMenus
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at f7d479f feat: improve `refreshMenu`, bug fixes and more
Cloned https://github.com/b5i/BetterMenus.git
Revision (git rev-parse @):
f7d479f6e55fb18a7281ad97b981106a71976b83
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/b5i/BetterMenus.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/b5i/BetterMenus.git
https://github.com/b5i/BetterMenus.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-collections",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.1",
"upper_bound" : "1.3.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-collections.git"
}
],
"manifest_display_name" : "BetterMenus",
"name" : "BetterMenus",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "16.0"
}
],
"products" : [
{
"name" : "BetterMenus",
"targets" : [
"BetterMenus"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "BetterMenus",
"module_type" : "SwiftTarget",
"name" : "BetterMenus",
"path" : "Sources/BetterMenus",
"product_dependencies" : [
"OrderedCollections"
],
"product_memberships" : [
"BetterMenus"
],
"sources" : [
"BetterMenus.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:062e4aaff76454b333ce7957a8e87c3beb342f1dedb64399abb81cdea021b526
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-collections.git
[1/17515] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.14s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.1 (1.97s)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.1
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/18] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[6/18] Compiling InternalCollectionsUtilities _SortedCollection.swift
[7/19] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[8/19] Compiling InternalCollectionsUtilities UInt+reversed.swift
[9/19] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[10/19] Compiling InternalCollectionsUtilities Integer rank.swift
[11/19] Emitting module InternalCollectionsUtilities
[12/19] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[13/19] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[14/19] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[15/19] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[16/19] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[17/19] Compiling InternalCollectionsUtilities Debugging.swift
[18/19] Compiling InternalCollectionsUtilities Descriptions.swift
[19/19] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[21/75] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[22/75] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[23/75] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[24/75] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[25/75] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[26/75] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[27/75] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[28/82] Compiling OrderedCollections OrderedDictionary+Codable.swift
[29/82] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[30/82] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[31/82] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[32/82] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[33/82] Compiling OrderedCollections OrderedDictionary+Elements.swift
[34/82] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[35/82] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[36/82] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[37/82] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[38/82] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[39/82] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[40/82] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[41/82] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[42/82] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[43/82] Compiling OrderedCollections OrderedDictionary+Values.swift
[44/82] Compiling OrderedCollections OrderedDictionary.swift
[45/82] Compiling OrderedCollections OrderedSet+Codable.swift
[46/82] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[47/82] Compiling OrderedCollections OrderedSet+Descriptions.swift
[48/82] Compiling OrderedCollections OrderedSet+Diffing.swift
[49/82] Compiling OrderedCollections OrderedSet+Equatable.swift
[50/82] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[51/82] Compiling OrderedCollections OrderedSet+Hashable.swift
[52/82] Compiling OrderedCollections OrderedSet+Initializers.swift
[53/82] Compiling OrderedCollections OrderedSet+Insertions.swift
[54/82] Compiling OrderedCollections OrderedSet+Invariants.swift
[55/82] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[56/82] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[57/82] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[58/82] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[59/82] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[60/82] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[61/82] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[62/82] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[63/82] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[64/82] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[65/82] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[66/82] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[67/82] Compiling OrderedCollections _HashTable+Bucket.swift
[68/82] Compiling OrderedCollections _HashTable+BucketIterator.swift
[69/82] Compiling OrderedCollections _HashTable+Constants.swift
[70/82] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[71/82] Compiling OrderedCollections _HashTable+Testing.swift
[72/82] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[73/82] Compiling OrderedCollections _HashTable.swift
[74/82] Compiling OrderedCollections _Hashtable+Header.swift
[75/82] Compiling OrderedCollections OrderedSet+Sendable.swift
[76/82] Compiling OrderedCollections OrderedSet+SubSequence.swift
[77/82] Compiling OrderedCollections OrderedSet+Testing.swift
[78/82] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[79/82] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[80/82] Compiling OrderedCollections OrderedSet.swift
[81/82] Compiling OrderedCollections _UnsafeBitset.swift
[82/82] Emitting module OrderedCollections
error: emit-module command failed with exit code 1 (use -v to see invocation)
[84/85] Emitting module BetterMenus
/host/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:13:8: error: no such module 'UIKit'
11 | /// DSL. Intended for iOS 16.0+.
12 |
13 | import UIKit
| `- error: no such module 'UIKit'
14 | import OrderedCollections
15 |
[85/85] Compiling BetterMenus BetterMenus.swift
/host/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:13:8: error: no such module 'UIKit'
11 | /// DSL. Intended for iOS 16.0+.
12 |
13 | import UIKit
| `- error: no such module 'UIKit'
14 | import OrderedCollections
15 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:062e4aaff76454b333ce7957a8e87c3beb342f1dedb64399abb81cdea021b526
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/15] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[3/15] Compiling InternalCollectionsUtilities Descriptions.swift
[4/15] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[5/15] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[6/15] Compiling InternalCollectionsUtilities Debugging.swift
[7/16] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[8/16] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[9/16] Compiling InternalCollectionsUtilities UInt+reversed.swift
[10/16] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[11/16] Compiling InternalCollectionsUtilities Integer rank.swift
[12/16] Emitting module InternalCollectionsUtilities
[13/16] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[14/16] Compiling InternalCollectionsUtilities _SortedCollection.swift
[15/16] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[16/16] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[18/72] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[19/72] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[20/72] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[21/72] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[22/72] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[23/72] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[24/72] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[25/72] Compiling OrderedCollections OrderedDictionary.swift
[26/72] Compiling OrderedCollections OrderedSet+Codable.swift
[27/72] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[28/72] Compiling OrderedCollections OrderedSet+Descriptions.swift
[29/72] Compiling OrderedCollections OrderedSet+Diffing.swift
[30/72] Compiling OrderedCollections OrderedSet+Equatable.swift
[31/72] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[32/72] Compiling OrderedCollections OrderedSet+Hashable.swift
[33/72] Compiling OrderedCollections OrderedDictionary+Codable.swift
[34/72] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[35/72] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[36/72] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[37/72] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[38/72] Compiling OrderedCollections OrderedDictionary+Elements.swift
[39/72] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[40/72] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[41/79] Compiling OrderedCollections OrderedSet+Initializers.swift
[42/79] Compiling OrderedCollections OrderedSet+Insertions.swift
[43/79] Compiling OrderedCollections OrderedSet+Invariants.swift
[44/79] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[45/79] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[46/79] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[47/79] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[48/79] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[49/79] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[50/79] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[51/79] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[52/79] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[53/79] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[54/79] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[55/79] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[56/79] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[57/79] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[58/79] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[59/79] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[60/79] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[61/79] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[62/79] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[63/79] Compiling OrderedCollections OrderedDictionary+Values.swift
[64/79] Emitting module OrderedCollections
[65/79] Compiling OrderedCollections _HashTable+Bucket.swift
[66/79] Compiling OrderedCollections _HashTable+BucketIterator.swift
[67/79] Compiling OrderedCollections _HashTable+Constants.swift
[68/79] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[69/79] Compiling OrderedCollections _HashTable+Testing.swift
[70/79] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[71/79] Compiling OrderedCollections _HashTable.swift
[72/79] Compiling OrderedCollections _Hashtable+Header.swift
[73/79] Compiling OrderedCollections OrderedSet+Sendable.swift
[74/79] Compiling OrderedCollections OrderedSet+SubSequence.swift
[75/79] Compiling OrderedCollections OrderedSet+Testing.swift
[76/79] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[77/79] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[78/79] Compiling OrderedCollections OrderedSet.swift
[79/79] Compiling OrderedCollections _UnsafeBitset.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[81/82] Emitting module BetterMenus
/host/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:13:8: error: no such module 'UIKit'
11 | /// DSL. Intended for iOS 16.0+.
12 |
13 | import UIKit
| `- error: no such module 'UIKit'
14 | import OrderedCollections
15 |
[82/82] Compiling BetterMenus BetterMenus.swift
/host/spi-builder-workspace/Sources/BetterMenus/BetterMenus.swift:13:8: error: no such module 'UIKit'
11 | /// DSL. Intended for iOS 16.0+.
12 |
13 | import UIKit
| `- error: no such module 'UIKit'
14 | import OrderedCollections
15 |
BUILD FAILURE 6.1 wasm