Build Information
Failed to build FoundationExtensions, reference main (4e6192), with Swift 6.2 for Wasm on 25 Jun 2026 14:01:46 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886769-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.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1Build 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.2
Building package at path: $PWD
https://github.com/wadetregaskis/FoundationExtensions.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-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.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:7f35f7a63421c3ef050c9375efcbb60196c0ee099fe4e9f14f3ceef5fa7b1aa5
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/15] Compiling FoundationExtensions Float.swift
[4/15] Compiling FoundationExtensions IteratorProtocol.swift
[5/15] Compiling FoundationExtensions Optional.swift
[6/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
[7/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)
[8/16] Compiling FoundationExtensions Comparable.swift
[9/16] Compiling FoundationExtensions Data.swift
[10/16] Compiling FoundationExtensions BinaryInteger.swift
[11/16] Compiling FoundationExtensions CollectionOfUInt8.swift
[12/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
[13/16] Compiling FoundationExtensions StringProtocol.swift
[14/16] Compiling FoundationExtensions AsyncSequence.swift
[15/16] Compiling FoundationExtensions BidirectionalCollection.swift
[16/16] Compiling FoundationExtensions Locale.swift
BUILD FAILURE 6.2 wasm