Build Information
Failed to build FoundationExtensions, reference 5.0.3 (4e6192), with Swift 6.1 for Wasm on 25 Jun 2026 14:01:32 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886770-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>&1Build Log
========================================
RunAll
========================================
Builder version: 4071e0796c748d991a0123890d2f0ecadc8fcc8c
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/wadetregaskis/FoundationExtensions.git
Reference: 5.0.3
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
* tag 5.0.3 -> FETCH_HEAD
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 5.0.3
========================================
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-53886770-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 Locale.swift
[4/15] Compiling FoundationExtensions Optional.swift
[5/15] Compiling FoundationExtensions Float.swift
[6/15] Compiling FoundationExtensions IteratorProtocol.swift
[7/16] Compiling FoundationExtensions Comparable.swift
[8/16] Compiling FoundationExtensions Data.swift
[9/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
[10/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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/16] Compiling FoundationExtensions AsyncSequence.swift
[12/16] Compiling FoundationExtensions BidirectionalCollection.swift
[13/16] Compiling FoundationExtensions BinaryInteger.swift
[14/16] Compiling FoundationExtensions CollectionOfUInt8.swift
[15/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
[16/16] Compiling FoundationExtensions StringProtocol.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-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 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
[3/14] 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
[4/15] Compiling FoundationExtensions Locale.swift
[5/15] Compiling FoundationExtensions Optional.swift
[6/15] Compiling FoundationExtensions Float.swift
[7/15] Compiling FoundationExtensions IteratorProtocol.swift
[8/15] Compiling FoundationExtensions StringProtocol.swift
[9/15] Compiling FoundationExtensions BinaryInteger.swift
[10/15] Compiling FoundationExtensions CollectionOfUInt8.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 Comparable.swift
[14/15] Compiling FoundationExtensions Data.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