Build Information
Failed to build WebAPIKit, reference main (2832a1
), with Swift 6.2 (beta) for Wasm on 20 Jun 2025 15:39:49 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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: 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/swiftwasm/WebAPIKit
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 2832a10 Regenerate with @webref/idl 3.60.3
Cloned https://github.com/swiftwasm/WebAPIKit.git
Revision (git rev-parse @):
2832a10fdfd8b4990591d2b72d35cfacf7c647f3
SUCCESS checkout https://github.com/swiftwasm/WebAPIKit.git at main
========================================
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-4609320-0":/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 (0.88s)
Computing version for https://github.com/swiftwasm/JavaScriptKit.git
Computed https://github.com/swiftwasm/JavaScriptKit.git at 0.30.0 (2.46s)
Fetching https://github.com/swiftlang/swift-syntax
[1/70906] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (4.77s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 600.0.1 (7.19s)
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 _CJavaScriptEventLoop _CJavaScriptEventLoop.c
[24/43] Compiling _CJavaScriptKit _CJavaScriptKit.c
[25/43] Write swift-version-24593BA9C3E375BF.txt
[27/83] Compiling JavaScriptKit JSException.swift
[28/83] Compiling JavaScriptKit JSValue.swift
[29/83] Compiling JavaScriptKit JSValueDecoder.swift
[30/83] Compiling JavaScriptKit JSFunction.swift
[31/83] Compiling JavaScriptKit JSObject.swift
[32/83] Compiling JavaScriptKit JSString.swift
[33/83] Compiling JavaScriptKit ConstructibleFromJSValue.swift
[34/83] Compiling JavaScriptKit ConvertibleToJSValue.swift
[35/83] Compiling JavaScriptKit Deprecated.swift
[36/83] Compiling JavaScriptKit JSSymbol.swift
[37/83] Compiling JavaScriptKit JSThrowingFunction.swift
[38/83] Compiling JavaScriptKit JSBridgedType.swift
[42/87] Emitting module WebIDL
[43/87] Compiling JavaScriptKit JSArray.swift
[44/87] Compiling JavaScriptKit JSDate.swift
[45/87] Compiling JavaScriptKit JSError.swift
[46/87] Compiling JavaScriptKit JSPromise.swift
[47/87] Compiling JavaScriptKit JSTimer.swift
[48/87] Compiling JavaScriptKit JSBigInt.swift
[49/87] Compiling JavaScriptKit JSClosure.swift
[52/87] Compiling JavaScriptKit JSTypedArray.swift
[56/87] Compiling JavaScriptKit Features.swift
[60/87] Emitting module JavaScriptKit
[67/87] Compiling JavaScriptKit Macros.swift
[68/87] Compiling JavaScriptKit ThreadLocal.swift
[69/88] Wrapping AST for JavaScriptKit for debugging
[71/99] Compiling WebIDL Typedef.swift
[72/99] Compiling WebIDL Value.swift
[73/100] Wrapping AST for WebIDL for debugging
[75/114] Compiling JavaScriptBigIntSupport Int64+I64.swift
[76/114] Emitting module JavaScriptBigIntSupport
[77/114] Compiling JavaScriptBigIntSupport JSBigInt+I64.swift
[79/115] Compiling JavaScriptEventLoop JavaScriptEventLoop.swift
[80/115] Compiling JavaScriptEventLoop JobQueue.swift
[80/115] Wrapping AST for JavaScriptBigIntSupport for debugging
[82/115] Compiling JavaScriptEventLoop JavaScriptEventLoop+ExecutorFactory.swift
[83/115] Compiling JavaScriptEventLoop JavaScriptEventLoop+LegacyHooks.swift
[84/115] 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 |
[85/115] 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 |
[86/115] 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 |
[87/116] 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 |
[88/116] 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 |
[89/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 |
[90/116] 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 |
[91/116] 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 |
[92/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 |
[93/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 |
[94/116] 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 |
[95/116] 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 |
[96/116] Emitting module JavaScriptEventLoop
[97/116] Compiling JavaScriptEventLoop JSSending.swift
[98/116] Compiling JavaScriptEventLoop WebWorkerDedicatedExecutor.swift
[99/116] Compiling JavaScriptEventLoop WebWorkerTaskExecutor.swift
[100/117] Wrapping AST for JavaScriptEventLoop for debugging
[102/124] Compiling ECMAScript ArrayBufferView.swift
[103/124] Emitting module ECMAScript
[104/124] Compiling ECMAScript Iterators.swift
[105/124] Compiling ECMAScript ArrayBuffer.swift
[106/124] Compiling ECMAScript BridgedDictionary.swift
[107/124] Compiling ECMAScript Attributes.swift
[108/124] Compiling ECMAScript DataView.swift
[109/128] Wrapping AST for ECMAScript for debugging
[111/128] Compiling WebAPIBase ToJSValue.swift
[112/128] Emitting module WebAPIBase
[113/128] Compiling WebAPIBase Generated.swift
[114/129] Wrapping AST for WebAPIBase for debugging
[116/134] Compiling DOM RotationMatrixType.swift
[117/134] Compiling DOM Support.swift
[118/134] Compiling DOM RenderingContext.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[119/134] 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 |
[120/134] 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 |
[121/134] 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 |
BUILD FAILURE 6.2 wasm