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 FoundationPlus, reference main (3d1ddd), with Swift 6.2 (beta) for Wasm on 12 Sep 2025 17:31:46 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/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Star-Lord-PHB/foundation-plus.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/Star-Lord-PHB/foundation-plus
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 3d1ddd3 refactor: Switch to method based APIs for numeric conversion
Cloned https://github.com/Star-Lord-PHB/foundation-plus.git
Revision (git rev-parse @):
3d1ddd3749f3c0c461a14f5bb608589391a0afa0
SUCCESS checkout https://github.com/Star-Lord-PHB/foundation-plus.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/Star-Lord-PHB/foundation-plus.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/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:3160178686d03086db4c1712d78c1980537bb37521128c64baade7f466b6b4aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/apple/swift-collections
[1/17459] Fetching swift-collections
Fetched https://github.com/apple/swift-collections from cache (1.16s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.2.1 (1.84s)
Creating working copy for https://github.com/apple/swift-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.2.1
Building for debugging...
[0/7] Write sources
[6/7] Write swift-version-24593BA9C3E375BF.txt
[8/28] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[9/29] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[10/29] Compiling InternalCollectionsUtilities _SortedCollection.swift
[11/29] Compiling InternalCollectionsUtilities Descriptions.swift
[12/29] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[13/29] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[14/29] Compiling InternalCollectionsUtilities Debugging.swift
[15/29] Compiling DatePlus Date+Components.swift
/host/spi-builder-workspace/Sources/DatePlus/Calendar+MeasurableComponent.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 |
[16/29] Compiling DatePlus Date+Comparison.swift
/host/spi-builder-workspace/Sources/DatePlus/Calendar+MeasurableComponent.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 |
[17/29] Compiling DatePlus Date+Parsing.swift
/host/spi-builder-workspace/Sources/DatePlus/Calendar+MeasurableComponent.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 |
[18/29] Compiling DatePlus Date+Arithmetic.swift
/host/spi-builder-workspace/Sources/DatePlus/Calendar+MeasurableComponent.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 |
[19/29] Compiling DatePlus Date+QuickAccessor.swift
/host/spi-builder-workspace/Sources/DatePlus/Calendar+MeasurableComponent.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 |
[20/29] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[21/29] Compiling InternalCollectionsUtilities UInt+reversed.swift
[22/29] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[23/29] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[24/29] Emitting module DatePlus
/host/spi-builder-workspace/Sources/DatePlus/Calendar+MeasurableComponent.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 |
[25/29] Compiling DatePlus Calendar+MeasurableComponent.swift
/host/spi-builder-workspace/Sources/DatePlus/Calendar+MeasurableComponent.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 |
[26/29] Emitting module InternalCollectionsUtilities
[27/29] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[28/29] Compiling InternalCollectionsUtilities Integer rank.swift
BUILD FAILURE 6.2 wasm