Build Information
Failed to build ResponsesAPI, reference main (b2cd5e
), with Swift 6.2 (beta) for Wasm on 26 Aug 2025 20:02:48 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-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: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/m1guelpf/swift-openai-responses.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/m1guelpf/swift-openai-responses
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at b2cd5e1 new web search updates
Cloned https://github.com/m1guelpf/swift-openai-responses.git
Revision (git rev-parse @):
b2cd5e1f60232f71962476de7134c3d29997f90e
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/m1guelpf/swift-openai-responses.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/m1guelpf/swift-openai-responses.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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: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/m1guelpf/EventSource.git
[1/605] Fetching eventsource
Fetched https://github.com/m1guelpf/EventSource.git from cache (0.31s)
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/pointfreeco/swift-macro-testing
Fetching https://github.com/swiftlang/swift-docc-plugin
Fetching https://github.com/SwiftyLab/MetaCodable.git
[1/2094] Fetching swift-docc-plugin
[106/3002] Fetching swift-docc-plugin, swift-macro-testing
[2417/108884] Fetching swift-docc-plugin, swift-macro-testing, metacodable
[4062/180715] Fetching swift-docc-plugin, swift-macro-testing, metacodable, swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (10.37s)
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (10.54s)
Fetched https://github.com/pointfreeco/swift-macro-testing from cache (10.55s)
Fetched https://github.com/SwiftyLab/MetaCodable.git from cache (10.73s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.1 (14.69s)
Computing version for https://github.com/pointfreeco/swift-macro-testing
Computed https://github.com/pointfreeco/swift-macro-testing at 0.6.3 (0.47s)
Fetching https://github.com/pointfreeco/swift-snapshot-testing
[1/15341] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (4.58s)
Computing version for https://github.com/SwiftyLab/MetaCodable.git
Computed https://github.com/SwiftyLab/MetaCodable.git at 1.5.0 (8.46s)
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/apple/swift-collections.git
[1/17354] Fetching swift-collections
[3299/33043] Fetching swift-collections, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.64s)
Fetched https://github.com/apple/swift-collections.git from cache (2.16s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.5 (2.85s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3478] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.67s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.48s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.6.1 (0.72s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.18.6 (0.57s)
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/4577] Fetching swift-custom-dump
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (0.45s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (0.94s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5505] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (1.08s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.1 (1.81s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.6.1 (0.42s)
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.3.3
Creating working copy for https://github.com/SwiftyLab/MetaCodable.git
Working copy of https://github.com/SwiftyLab/MetaCodable.git resolved at 1.5.0
Creating working copy for https://github.com/pointfreeco/swift-macro-testing
Working copy of https://github.com/pointfreeco/swift-macro-testing resolved at 0.6.3
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.18.6
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 601.0.1
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.6.1
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.5
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
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.6.1
Creating working copy for https://github.com/m1guelpf/EventSource.git
Working copy of https://github.com/m1guelpf/EventSource.git resolved at compiler-fix (1942aa5)
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
[3/3] Compiling plugin MetaProtocolCodable
[4/4] Compiling plugin GenerateManual
[5/5] Compiling plugin GenerateDoccReference
Building for debugging...
[5/59] Write sources
[33/59] Compiling _SwiftSyntaxCShims dummy.c
[34/59] Write swift-version-24593BA9C3E375BF.txt
[36/99] Emitting module SwiftSyntax601
[37/99] Compiling EventSource Data+Trim.swift
/host/spi-builder-workspace/.build/checkouts/EventSource/Sources/EventSource/Data+Trim.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | extension Data {
[38/99] Compiling EventSource EventParser.swift
/host/spi-builder-workspace/.build/checkouts/EventSource/Sources/EventSource/Data+Trim.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | extension Data {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[39/99] Emitting module EventSource
/host/spi-builder-workspace/.build/checkouts/EventSource/Sources/EventSource/Data+Trim.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | extension Data {
[40/99] Compiling EventSource EventSource.swift
/host/spi-builder-workspace/.build/checkouts/EventSource/Sources/EventSource/Data+Trim.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | extension Data {
[41/100] Compiling EventSource Headers.swift
/host/spi-builder-workspace/.build/checkouts/EventSource/Sources/EventSource/Data+Trim.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | extension Data {
[42/100] Compiling EventSource SessionDelegate.swift
/host/spi-builder-workspace/.build/checkouts/EventSource/Sources/EventSource/Data+Trim.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | extension Data {
[43/100] Compiling EventSource Mutex.swift
/host/spi-builder-workspace/.build/checkouts/EventSource/Sources/EventSource/Data+Trim.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | extension Data {
[44/100] Compiling EventSource ServerEvent.swift
/host/spi-builder-workspace/.build/checkouts/EventSource/Sources/EventSource/Data+Trim.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | extension Data {
[45/100] Compiling EventSource Extensions.swift
/host/spi-builder-workspace/.build/checkouts/EventSource/Sources/EventSource/Data+Trim.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | extension Data {
[46/100] Compiling EventSource EventSourceError.swift
/host/spi-builder-workspace/.build/checkouts/EventSource/Sources/EventSource/Data+Trim.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | extension Data {
[47/100] Emitting module SwiftSyntax600
[48/100] Emitting module SwiftSyntax510
BUILD FAILURE 6.2 wasm