The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build BetterMenus, reference main (f7d479), with Swift 6.0 for Linux on 20 Sep 2025 16:17:30 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:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build 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:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/b5i/BetterMenus.git
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:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:046a2cda21bb64b2d09e6d52c84584e938ec1698de194871f3d7088597b2bb28
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-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.15s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.1 (0.66s)
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 UnsafeBufferPointer+Extras.swift
[6/19] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[7/19] Compiling InternalCollectionsUtilities Debugging.swift
[8/19] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[9/19] Compiling InternalCollectionsUtilities _SortedCollection.swift
[10/19] Compiling InternalCollectionsUtilities Descriptions.swift
[11/19] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[12/19] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[13/19] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[14/19] Compiling InternalCollectionsUtilities UInt+reversed.swift
[15/19] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[16/19] Compiling InternalCollectionsUtilities Integer rank.swift
[17/19] Emitting module InternalCollectionsUtilities
[18/19] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[19/19] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.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+Hashable.swift
[29/82] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[30/82] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[31/82] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[32/82] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[33/82] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[34/82] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[35/82] Compiling OrderedCollections OrderedDictionary+Values.swift
[36/82] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[37/82] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[38/82] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[39/82] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[40/82] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[41/82] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[42/82] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[43/82] Compiling OrderedCollections OrderedSet+Initializers.swift
[44/82] Compiling OrderedCollections OrderedSet+Insertions.swift
[45/82] Compiling OrderedCollections OrderedSet+Invariants.swift
[46/82] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[47/82] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[48/82] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[49/82] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[50/82] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[51/82] Compiling OrderedCollections OrderedDictionary.swift
[52/82] Compiling OrderedCollections OrderedSet+Codable.swift
[53/82] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[54/82] Compiling OrderedCollections OrderedSet+Descriptions.swift
[55/82] Compiling OrderedCollections OrderedSet+Diffing.swift
[56/82] Compiling OrderedCollections OrderedSet+Equatable.swift
[57/82] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[58/82] Compiling OrderedCollections OrderedSet+Hashable.swift
[59/82] Compiling OrderedCollections OrderedDictionary+Codable.swift
[60/82] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[61/82] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[62/82] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[63/82] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[64/82] Compiling OrderedCollections OrderedDictionary+Elements.swift
[65/82] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[66/82] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.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] Emitting module OrderedCollections
[76/82] Compiling OrderedCollections OrderedSet+Sendable.swift
[77/82] Compiling OrderedCollections OrderedSet+SubSequence.swift
[78/82] Compiling OrderedCollections OrderedSet+Testing.swift
[79/82] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[80/82] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[81/82] Compiling OrderedCollections OrderedSet.swift
[82/82] Compiling OrderedCollections _UnsafeBitset.swift
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 |
BUILD FAILURE 6.0 linux