The Swift Package Index logo.Swift Package Index

Build Information

Failed to build FoundationExtensions, reference main (4e6192), with Swift 6.1 for Wasm on 25 Jun 2026 14:01:46 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886768-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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4071e0796c748d991a0123890d2f0ecadc8fcc8c
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/wadetregaskis/FoundationExtensions.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/wadetregaskis/FoundationExtensions
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 4e6192d Fixed `longestPrefix` returning the empty prefix _only_ for single-item collections, in some circumstances.
Cloned https://github.com/wadetregaskis/FoundationExtensions.git
Revision (git rev-parse @):
4e6192d618ea15d029a262794b0584a9e0fa668c
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/wadetregaskis/FoundationExtensions.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/wadetregaskis/FoundationExtensions.git
https://github.com/wadetregaskis/FoundationExtensions.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886768-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.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 swiftpackageindex/spi-images
Digest: sha256:87277f180438764e0763769462b4e00642129a1e8364b1cdaa91f88fde66785b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/15] Compiling FoundationExtensions Optional.swift
[4/16] Compiling FoundationExtensions StringProtocol.swift
[5/16] Compiling FoundationExtensions Locale.swift
[6/16] Compiling FoundationExtensions Float.swift
[7/16] Compiling FoundationExtensions IteratorProtocol.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/16] Emitting module FoundationExtensions
/host/spi-builder-workspace/Sources/FoundationExtensions/Date.swift:9:25: error: cannot find 'RelativeDateTimeFormatter' in scope
 7 |     @usableFromInline
 8 |     internal nonisolated(unsafe) static let relativeDateTimeFormatter = {
 9 |         var formatter = RelativeDateTimeFormatter()
   |                         `- error: cannot find 'RelativeDateTimeFormatter' in scope
10 |         formatter.dateTimeStyle = .named
11 |         formatter.unitsStyle = .full
[9/16] Compiling FoundationExtensions BinaryInteger.swift
[10/16] Compiling FoundationExtensions CollectionOfUInt8.swift
[11/16] Compiling FoundationExtensions Comparable.swift
[12/16] Compiling FoundationExtensions Data.swift
[13/16] Compiling FoundationExtensions AsyncSequence.swift
[14/16] Compiling FoundationExtensions BidirectionalCollection.swift
[15/16] Compiling FoundationExtensions Date.swift
/host/spi-builder-workspace/Sources/FoundationExtensions/Date.swift:9:25: error: cannot find 'RelativeDateTimeFormatter' in scope
 7 |     @usableFromInline
 8 |     internal nonisolated(unsafe) static let relativeDateTimeFormatter = {
 9 |         var formatter = RelativeDateTimeFormatter()
   |                         `- error: cannot find 'RelativeDateTimeFormatter' in scope
10 |         formatter.dateTimeStyle = .named
11 |         formatter.unitsStyle = .full
[16/16] Compiling FoundationExtensions Double.swift
/host/spi-builder-workspace/Sources/FoundationExtensions/Date.swift:9:25: error: cannot find 'RelativeDateTimeFormatter' in scope
 7 |     @usableFromInline
 8 |     internal nonisolated(unsafe) static let relativeDateTimeFormatter = {
 9 |         var formatter = RelativeDateTimeFormatter()
   |                         `- error: cannot find 'RelativeDateTimeFormatter' in scope
10 |         formatter.dateTimeStyle = .named
11 |         formatter.unitsStyle = .full
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886768-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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:87277f180438764e0763769462b4e00642129a1e8364b1cdaa91f88fde66785b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/14] Compiling FoundationExtensions Locale.swift
[3/15] Compiling FoundationExtensions Optional.swift
[4/15] Compiling FoundationExtensions Comparable.swift
[5/15] Compiling FoundationExtensions Data.swift
[6/15] Compiling FoundationExtensions Float.swift
[7/15] Compiling FoundationExtensions IteratorProtocol.swift
[8/15] Compiling FoundationExtensions Date.swift
/host/spi-builder-workspace/Sources/FoundationExtensions/Date.swift:9:25: error: cannot find 'RelativeDateTimeFormatter' in scope
 7 |     @usableFromInline
 8 |     internal nonisolated(unsafe) static let relativeDateTimeFormatter = {
 9 |         var formatter = RelativeDateTimeFormatter()
   |                         `- error: cannot find 'RelativeDateTimeFormatter' in scope
10 |         formatter.dateTimeStyle = .named
11 |         formatter.unitsStyle = .full
[9/15] Compiling FoundationExtensions Double.swift
/host/spi-builder-workspace/Sources/FoundationExtensions/Date.swift:9:25: error: cannot find 'RelativeDateTimeFormatter' in scope
 7 |     @usableFromInline
 8 |     internal nonisolated(unsafe) static let relativeDateTimeFormatter = {
 9 |         var formatter = RelativeDateTimeFormatter()
   |                         `- error: cannot find 'RelativeDateTimeFormatter' in scope
10 |         formatter.dateTimeStyle = .named
11 |         formatter.unitsStyle = .full
[10/15] Compiling FoundationExtensions StringProtocol.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/15] Compiling FoundationExtensions AsyncSequence.swift
[12/15] Compiling FoundationExtensions BidirectionalCollection.swift
[13/15] Compiling FoundationExtensions BinaryInteger.swift
[14/15] Compiling FoundationExtensions CollectionOfUInt8.swift
[15/15] Emitting module FoundationExtensions
/host/spi-builder-workspace/Sources/FoundationExtensions/Date.swift:9:25: error: cannot find 'RelativeDateTimeFormatter' in scope
 7 |     @usableFromInline
 8 |     internal nonisolated(unsafe) static let relativeDateTimeFormatter = {
 9 |         var formatter = RelativeDateTimeFormatter()
   |                         `- error: cannot find 'RelativeDateTimeFormatter' in scope
10 |         formatter.dateTimeStyle = .named
11 |         formatter.unitsStyle = .full
BUILD FAILURE 6.1 wasm