Build Information
Failed to build WebAPIKit, reference 0.1.0 (8508bf
), with Swift 6.2 (beta) for Wasm on 20 Jun 2025 15:39:43 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" 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.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swiftwasm/WebAPIKit.git
Reference: 0.1.0
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/swiftwasm/WebAPIKit
* tag 0.1.0 -> FETCH_HEAD
HEAD is now at 8508bf2 Use version requirement
Cloned https://github.com/swiftwasm/WebAPIKit.git
Revision (git rev-parse @):
8508bf2e0d0c743869383384589c20db7d62d14a
SUCCESS checkout https://github.com/swiftwasm/WebAPIKit.git at 0.1.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/swiftwasm/WebAPIKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" 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:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/swiftwasm/JavaScriptKit.git
[1/23836] Fetching javascriptkit
Fetched https://github.com/swiftwasm/JavaScriptKit.git from cache (3.94s)
Computing version for https://github.com/swiftwasm/JavaScriptKit.git
Computed https://github.com/swiftwasm/JavaScriptKit.git at 0.30.0 (6.63s)
Fetching https://github.com/swiftlang/swift-syntax
[1/70906] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (6.56s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 600.0.1 (11.57s)
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 600.0.1
Creating working copy for https://github.com/swiftwasm/JavaScriptKit.git
Working copy of https://github.com/swiftwasm/JavaScriptKit.git resolved at 0.30.0
[1/1] Compiling plugin BridgeJSCommandPlugin
[2/2] Compiling plugin BridgeJS
[3/3] Compiling plugin PackageToJS
Building for debugging...
[3/43] Write sources
[22/43] Compiling _CJavaScriptBigIntSupport _CJavaScriptKit+I64.c
[23/43] Compiling _CJavaScriptKit _CJavaScriptKit.c
[24/43] Compiling _CJavaScriptEventLoop _CJavaScriptEventLoop.c
[25/43] Write swift-version-24593BA9C3E375BF.txt
[27/83] Emitting module WebIDL
[28/85] Compiling JavaScriptKit JSSymbol.swift
[29/85] Compiling JavaScriptKit JSThrowingFunction.swift
[30/85] Compiling WebIDL Typedef.swift
[31/85] Compiling WebIDL Value.swift
[36/85] Compiling JavaScriptKit JSValue.swift
[37/85] Compiling JavaScriptKit JSValueDecoder.swift
[38/87] Compiling JavaScriptKit Features.swift
[39/87] Compiling JavaScriptKit JSBigInt.swift
[40/87] Compiling JavaScriptKit JSClosure.swift
[41/87] Compiling JavaScriptKit JSFunction.swift
[42/87] Compiling JavaScriptKit JSObject.swift
[43/87] Compiling JavaScriptKit JSString.swift
[47/87] Compiling JavaScriptKit ConstructibleFromJSValue.swift
[48/87] Compiling JavaScriptKit ConvertibleToJSValue.swift
[49/87] Compiling JavaScriptKit Deprecated.swift
[50/87] Compiling JavaScriptKit JSPromise.swift
[51/87] Compiling JavaScriptKit JSTimer.swift
[52/87] Compiling JavaScriptKit JSTypedArray.swift
[56/87] Emitting module JavaScriptKit
[57/87] Compiling JavaScriptKit JSArray.swift
[58/87] Compiling JavaScriptKit JSDate.swift
[59/87] Compiling JavaScriptKit JSError.swift
[69/88] Wrapping AST for WebIDL for debugging
[71/88] Compiling JavaScriptKit Macros.swift
[72/88] Compiling JavaScriptKit ThreadLocal.swift
[74/105] Compiling WebIDLToSwift PackageManifest.swift
/host/spi-builder-workspace/Sources/WebIDLToSwift/IDLBuilder.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 | import WebIDL
3 |
[75/105] Compiling WebIDLToSwift Shell.swift
/host/spi-builder-workspace/Sources/WebIDLToSwift/IDLBuilder.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 | import WebIDL
3 |
[76/105] Compiling WebIDLToSwift SwiftRepresentation.swift
/host/spi-builder-workspace/Sources/WebIDLToSwift/IDLBuilder.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 | import WebIDL
3 |
[77/105] Compiling WebIDLToSwift SwiftSource.swift
/host/spi-builder-workspace/Sources/WebIDLToSwift/IDLBuilder.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 | import WebIDL
3 |
[77/111] Wrapping AST for JavaScriptKit for debugging
[79/115] Emitting module JavaScriptBigIntSupport
[80/115] Compiling JavaScriptBigIntSupport Int64+I64.swift
[81/115] Compiling JavaScriptBigIntSupport JSBigInt+I64.swift
[82/116] Compiling JavaScriptEventLoop JavaScriptEventLoop+ExecutorFactory.swift
[84/116] Compiling WebIDLToSwift WebIDLToSwift.swift
/host/spi-builder-workspace/Sources/WebIDLToSwift/IDLBuilder.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 | import WebIDL
3 |
[85/116] Compiling JavaScriptEventLoop JavaScriptEventLoop+LegacyHooks.swift
[86/116] Compiling JavaScriptEventLoop JavaScriptEventLoop.swift
[86/116] Wrapping AST for JavaScriptBigIntSupport for debugging
[88/116] Compiling WebIDLToSwift WebIDL+SwiftRepresentation.swift
/host/spi-builder-workspace/Sources/WebIDLToSwift/IDLBuilder.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 | import WebIDL
3 |
[89/116] Compiling WebIDLToSwift UnionType+SwiftRepresentable.swift
/host/spi-builder-workspace/Sources/WebIDLToSwift/IDLBuilder.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 | import WebIDL
3 |
[90/116] Compiling WebIDLToSwift UnionType.swift
/host/spi-builder-workspace/Sources/WebIDLToSwift/IDLBuilder.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 | import WebIDL
3 |
[91/116] Emitting module JavaScriptEventLoop
[92/116] Compiling JavaScriptEventLoop JSSending.swift
[93/116] Compiling JavaScriptEventLoop WebWorkerDedicatedExecutor.swift
[94/116] Compiling JavaScriptEventLoop JobQueue.swift
[95/116] Compiling JavaScriptEventLoop WebWorkerTaskExecutor.swift
[96/117] Wrapping AST for JavaScriptEventLoop for debugging
[98/124] Compiling ECMAScript Attributes.swift
[99/124] Compiling ECMAScript Iterators.swift
[100/124] Emitting module ECMAScript
[101/124] Compiling ECMAScript ArrayBufferView.swift
[102/124] Compiling ECMAScript ArrayBuffer.swift
[103/124] Compiling ECMAScript DataView.swift
[104/124] Compiling ECMAScript BridgedDictionary.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[106/125] Emitting module WebIDLToSwift
/host/spi-builder-workspace/Sources/WebIDLToSwift/IDLBuilder.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 | import WebIDL
3 |
[107/125] Compiling WebIDLToSwift ClosurePattern.swift
/host/spi-builder-workspace/Sources/WebIDLToSwift/IDLBuilder.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 | import WebIDL
3 |
[108/125] Compiling WebIDLToSwift IDLBuilder.swift
/host/spi-builder-workspace/Sources/WebIDLToSwift/IDLBuilder.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 | import WebIDL
3 |
[109/125] Compiling WebIDLToSwift Module.swift
/host/spi-builder-workspace/Sources/WebIDLToSwift/IDLBuilder.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 | import WebIDL
3 |
[110/125] Compiling WebIDLToSwift ModuleState.swift
/host/spi-builder-workspace/Sources/WebIDLToSwift/IDLBuilder.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 | import WebIDL
3 |
[111/125] Compiling WebIDLToSwift IDLParser.swift
/host/spi-builder-workspace/Sources/WebIDLToSwift/IDLBuilder.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 | import WebIDL
3 |
[112/125] Compiling WebIDLToSwift MergeDeclarations.swift
/host/spi-builder-workspace/Sources/WebIDLToSwift/IDLBuilder.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 | import WebIDL
3 |
[112/125] Wrapping AST for ECMAScript for debugging
[114/128] Compiling WebAPIBase ToJSValue.swift
[115/128] Emitting module WebAPIBase
BUILD FAILURE 6.2 wasm