Build Information
Failed to build WebAPIKit, reference 0.2.0 (2832a1), with Swift 6.2 for Wasm on 28 Oct 2025 16:55:37 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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-wasip1 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swiftwasm/WebAPIKit.git
Reference: 0.2.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.2.0 -> FETCH_HEAD
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 0.2.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-4609320-0":/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-wasip1 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f6b6b9bdb5d5605d727da337418fc455cd8a0394d3a815b70631008c48829755
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift-sdk.json
Fetching https://github.com/swiftwasm/JavaScriptKit.git
[1/27607] Fetching javascriptkit
Fetched https://github.com/swiftwasm/JavaScriptKit.git from cache (1.48s)
Computing version for https://github.com/swiftwasm/JavaScriptKit.git
Computed https://github.com/swiftwasm/JavaScriptKit.git at 0.36.0 (2.13s)
Fetching https://github.com/swiftlang/swift-syntax
[1/72653] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (6.60s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 601.0.1 (10.82s)
Creating working copy for https://github.com/swiftwasm/JavaScriptKit.git
Working copy of https://github.com/swiftwasm/JavaScriptKit.git resolved at 0.36.0
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 601.0.1
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/601.0.1/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/601.0.1/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz (0.46s)
[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] Emitting module JavaScriptKit
[28/86] Compiling WebIDL Interface.swift
[29/86] Compiling WebIDL InterfaceMixin.swift
[30/86] Compiling WebIDL GenericCollection.swift
[31/86] Compiling WebIDL Includes.swift
[32/88] Emitting module WebIDL
[33/88] Compiling WebIDL Argument.swift
[34/88] Compiling WebIDL Attribute.swift
[35/88] Compiling WebIDL Callback.swift
[36/88] Compiling WebIDL Value.swift
[37/88] Compiling JavaScriptKit JSException.swift
[38/88] Compiling JavaScriptKit JSValue.swift
[39/88] Compiling WebIDL Constant.swift
[40/88] Compiling WebIDL Constructor.swift
[41/88] Compiling WebIDL Declaration.swift
[42/88] Compiling WebIDL Dictionary.swift
[43/88] Compiling WebIDL Enum.swift
[44/88] Compiling WebIDL ExtendedAttribute.swift
[45/88] Compiling JavaScriptKit JSValueDecoder.swift
[46/88] Compiling JavaScriptKit Macros.swift
[47/88] Compiling JavaScriptKit ThreadLocal.swift
[48/88] Compiling WebIDL Namespace.swift
[49/88] Compiling WebIDL Node.swift
[50/88] Compiling WebIDL Operation.swift
[51/88] Compiling WebIDL Type.swift
[54/88] Compiling WebIDL Typedef.swift
[70/99] Wrapping AST for JavaScriptKit for debugging
[74/101] Compiling JavaScriptBigIntSupport Int64+I64.swift
[75/101] Emitting module JavaScriptBigIntSupport
[76/101] Compiling JavaScriptBigIntSupport JSBigInt+I64.swift
[78/102] Wrapping AST for WebIDL for debugging
[79/102] Wrapping AST for JavaScriptBigIntSupport for debugging
[81/102] Compiling JavaScriptEventLoop JavaScriptEventLoop+ExecutorFactory.swift
/host/spi-builder-workspace/.build/checkouts/JavaScriptKit/Sources/JavaScriptEventLoop/JavaScriptEventLoop+ExecutorFactory.swift:15:32: error: cannot find type 'MainExecutor' in scope
13 | // MainExecutor is used by the main actor to execute tasks on the main thread
14 | @available(macOS 9999, iOS 9999, watchOS 9999, tvOS 9999, visionOS 9999, *)
15 | extension JavaScriptEventLoop: MainExecutor {
| `- error: cannot find type 'MainExecutor' in scope
16 | public func run() throws {
17 | // This method is called from `swift_task_asyncMainDrainQueueImpl`.
/host/spi-builder-workspace/.build/checkouts/JavaScriptKit/Sources/JavaScriptEventLoop/JavaScriptEventLoop+ExecutorFactory.swift:30:32: error: cannot find type 'SchedulableExecutor' in scope
28 |
29 | @available(macOS 9999, iOS 9999, watchOS 9999, tvOS 9999, visionOS 9999, *)
30 | extension JavaScriptEventLoop: SchedulableExecutor {
| `- error: cannot find type 'SchedulableExecutor' in scope
31 | public func enqueue<C: Clock>(
32 | _ job: consuming ExecutorJob,
/host/spi-builder-workspace/.build/checkouts/JavaScriptKit/Sources/JavaScriptEventLoop/JavaScriptEventLoop+ExecutorFactory.swift:53:32: error: cannot find type 'ExecutorFactory' in scope
51 | // MARK: - ExecutorFactory Implementation
52 | @available(macOS 9999, iOS 9999, watchOS 9999, tvOS 9999, visionOS 9999, *)
53 | extension JavaScriptEventLoop: ExecutorFactory {
| `- error: cannot find type 'ExecutorFactory' in scope
54 | // Forward all operations to the current thread's JavaScriptEventLoop instance
55 | final class CurrentThread: TaskExecutor, SchedulableExecutor, MainExecutor, SerialExecutor {
/host/spi-builder-workspace/.build/checkouts/JavaScriptKit/Sources/JavaScriptEventLoop/JavaScriptEventLoop+ExecutorFactory.swift:55:46: error: cannot find type 'SchedulableExecutor' in scope
53 | extension JavaScriptEventLoop: ExecutorFactory {
54 | // Forward all operations to the current thread's JavaScriptEventLoop instance
55 | final class CurrentThread: TaskExecutor, SchedulableExecutor, MainExecutor, SerialExecutor {
| `- error: cannot find type 'SchedulableExecutor' in scope
56 | func checkIsolated() {}
57 |
/host/spi-builder-workspace/.build/checkouts/JavaScriptKit/Sources/JavaScriptEventLoop/JavaScriptEventLoop+ExecutorFactory.swift:55:67: error: cannot find type 'MainExecutor' in scope
53 | extension JavaScriptEventLoop: ExecutorFactory {
54 | // Forward all operations to the current thread's JavaScriptEventLoop instance
55 | final class CurrentThread: TaskExecutor, SchedulableExecutor, MainExecutor, SerialExecutor {
| `- error: cannot find type 'MainExecutor' in scope
56 | func checkIsolated() {}
57 |
/host/spi-builder-workspace/.build/checkouts/JavaScriptKit/Sources/JavaScriptEventLoop/JavaScriptEventLoop+ExecutorFactory.swift:83:41: error: cannot find type 'MainExecutor' in scope
81 | }
82 |
83 | public static var mainExecutor: any MainExecutor {
| `- error: cannot find type 'MainExecutor' in scope
84 | CurrentThread()
85 | }
/host/spi-builder-workspace/.build/checkouts/JavaScriptKit/Sources/JavaScriptEventLoop/JavaScriptEventLoop+ExecutorFactory.swift:45:35: error: value of type 'C' has no member 'convert'
43 |
44 | private static func delayInMilliseconds<C: Clock>(from duration: C.Duration, clock: C) -> Double {
45 | let swiftDuration = clock.convert(from: duration)!
| `- error: value of type 'C' has no member 'convert'
46 | let (seconds, attoseconds) = swiftDuration.components
47 | return Double(seconds) * 1_000 + (Double(attoseconds) / 1_000_000_000_000_000)
[82/116] Compiling JavaScriptEventLoop JavaScriptEventLoop.swift
/host/spi-builder-workspace/.build/checkouts/JavaScriptKit/Sources/JavaScriptEventLoop/JavaScriptEventLoop.swift:125:13: error: module '_Concurrency' has no member named '_createExecutors'
123 | if #available(macOS 9999, iOS 9999, watchOS 9999, tvOS 9999, visionOS 9999, *) {
124 | // For Swift 6.2 and above, we can use the new `ExecutorFactory` API
125 | _Concurrency._createExecutors(factory: JavaScriptEventLoop.self)
| `- error: module '_Concurrency' has no member named '_createExecutors'
126 | }
127 | #else
[83/116] Compiling JavaScriptEventLoop JobQueue.swift
[84/116] Compiling JavaScriptEventLoop JavaScriptEventLoop+LegacyHooks.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[85/116] Emitting module JavaScriptEventLoop
/host/spi-builder-workspace/.build/checkouts/JavaScriptKit/Sources/JavaScriptEventLoop/JavaScriptEventLoop+ExecutorFactory.swift:15:32: error: cannot find type 'MainExecutor' in scope
13 | // MainExecutor is used by the main actor to execute tasks on the main thread
14 | @available(macOS 9999, iOS 9999, watchOS 9999, tvOS 9999, visionOS 9999, *)
15 | extension JavaScriptEventLoop: MainExecutor {
| `- error: cannot find type 'MainExecutor' in scope
16 | public func run() throws {
17 | // This method is called from `swift_task_asyncMainDrainQueueImpl`.
/host/spi-builder-workspace/.build/checkouts/JavaScriptKit/Sources/JavaScriptEventLoop/JavaScriptEventLoop+ExecutorFactory.swift:30:32: error: cannot find type 'SchedulableExecutor' in scope
28 |
29 | @available(macOS 9999, iOS 9999, watchOS 9999, tvOS 9999, visionOS 9999, *)
30 | extension JavaScriptEventLoop: SchedulableExecutor {
| `- error: cannot find type 'SchedulableExecutor' in scope
31 | public func enqueue<C: Clock>(
32 | _ job: consuming ExecutorJob,
/host/spi-builder-workspace/.build/checkouts/JavaScriptKit/Sources/JavaScriptEventLoop/JavaScriptEventLoop+ExecutorFactory.swift:53:32: error: cannot find type 'ExecutorFactory' in scope
51 | // MARK: - ExecutorFactory Implementation
52 | @available(macOS 9999, iOS 9999, watchOS 9999, tvOS 9999, visionOS 9999, *)
53 | extension JavaScriptEventLoop: ExecutorFactory {
| `- error: cannot find type 'ExecutorFactory' in scope
54 | // Forward all operations to the current thread's JavaScriptEventLoop instance
55 | final class CurrentThread: TaskExecutor, SchedulableExecutor, MainExecutor, SerialExecutor {
/host/spi-builder-workspace/.build/checkouts/JavaScriptKit/Sources/JavaScriptEventLoop/JavaScriptEventLoop+ExecutorFactory.swift:55:46: error: cannot find type 'SchedulableExecutor' in scope
53 | extension JavaScriptEventLoop: ExecutorFactory {
54 | // Forward all operations to the current thread's JavaScriptEventLoop instance
55 | final class CurrentThread: TaskExecutor, SchedulableExecutor, MainExecutor, SerialExecutor {
| `- error: cannot find type 'SchedulableExecutor' in scope
56 | func checkIsolated() {}
57 |
/host/spi-builder-workspace/.build/checkouts/JavaScriptKit/Sources/JavaScriptEventLoop/JavaScriptEventLoop+ExecutorFactory.swift:55:67: error: cannot find type 'MainExecutor' in scope
53 | extension JavaScriptEventLoop: ExecutorFactory {
54 | // Forward all operations to the current thread's JavaScriptEventLoop instance
55 | final class CurrentThread: TaskExecutor, SchedulableExecutor, MainExecutor, SerialExecutor {
| `- error: cannot find type 'MainExecutor' in scope
56 | func checkIsolated() {}
57 |
/host/spi-builder-workspace/.build/checkouts/JavaScriptKit/Sources/JavaScriptEventLoop/JavaScriptEventLoop+ExecutorFactory.swift:83:41: error: cannot find type 'MainExecutor' in scope
81 | }
82 |
83 | public static var mainExecutor: any MainExecutor {
| `- error: cannot find type 'MainExecutor' in scope
84 | CurrentThread()
85 | }
[86/116] Compiling JavaScriptEventLoop JSSending.swift
[87/116] Compiling JavaScriptEventLoop WebWorkerDedicatedExecutor.swift
[88/116] Compiling JavaScriptEventLoop WebWorkerTaskExecutor.swift
[89/116] Compiling WebIDLToSwift Module.swift
[90/116] Compiling WebIDLToSwift ModuleState.swift
[91/117] Compiling WebIDLToSwift SwiftRepresentation.swift
[92/117] Compiling WebIDLToSwift SwiftSource.swift
[93/117] Compiling WebIDLToSwift PackageManifest.swift
/host/spi-builder-workspace/Sources/WebIDLToSwift/Shell.swift:27:20: error: cannot find 'Process' in scope
25 | private static func run(executable: String, arguments: [String]) {
26 | // print("*** running script: \(script)")
27 | let task = Process()
| `- error: cannot find 'Process' in scope
28 | task.standardError = FileHandle.standardError
29 | task.arguments = arguments
[94/117] Compiling WebIDLToSwift Shell.swift
/host/spi-builder-workspace/Sources/WebIDLToSwift/Shell.swift:27:20: error: cannot find 'Process' in scope
25 | private static func run(executable: String, arguments: [String]) {
26 | // print("*** running script: \(script)")
27 | let task = Process()
| `- error: cannot find 'Process' in scope
28 | task.standardError = FileHandle.standardError
29 | task.arguments = arguments
BUILD FAILURE 6.2 wasm