The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build WebAPIKit, reference 0.2.0 (2832a1), with Swift 6.2 for Linux on 28 Oct 2025 16:55:25 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:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build 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:         linux
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-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:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b3eaa5734a03a9b8084848018342ef6c4e4ec1a618756d8de460b693a5f488ea
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/swiftwasm/JavaScriptKit.git
[1/27607] Fetching javascriptkit
Fetched https://github.com/swiftwasm/JavaScriptKit.git from cache (1.60s)
Computing version for https://github.com/swiftwasm/JavaScriptKit.git
Computed https://github.com/swiftwasm/JavaScriptKit.git at 0.36.0 (2.16s)
Fetching https://github.com/swiftlang/swift-syntax
[1/72653] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (6.19s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 601.0.1 (9.39s)
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.49s)
[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 WebIDL
[28/85] Compiling WebIDL Typedef.swift
[29/85] Compiling WebIDL Value.swift
[30/85] Compiling JavaScriptKit Deprecated.swift
[31/85] Compiling JavaScriptKit Features.swift
[32/85] Compiling JavaScriptKit JSBigInt.swift
[33/85] Compiling JavaScriptKit JSArray.swift
[34/85] Compiling JavaScriptKit JSDate.swift
[35/85] Compiling JavaScriptKit JSError.swift
[39/88] Compiling JavaScriptKit JSString.swift
[40/88] Compiling JavaScriptKit JSSymbol.swift
[42/88] Compiling JavaScriptKit JSBridgedType.swift
[43/88] Compiling JavaScriptKit JSException.swift
[44/88] Compiling JavaScriptKit JSValue.swift
[46/88] Compiling JavaScriptKit JSFunction.swift
[47/88] Compiling JavaScriptKit JSObject.swift
[48/88] Compiling JavaScriptKit ConvertibleToJSValue.swift
[49/88] Compiling JavaScriptKit JSPromise.swift
[50/88] Compiling JavaScriptKit JSTimer.swift
[51/88] Compiling JavaScriptKit JSTypedArray.swift
[52/88] Compiling JavaScriptKit BridgeJSInstrincics.swift
[53/88] Compiling JavaScriptKit ConstructibleFromJSValue.swift
[65/89] Emitting module JavaScriptKit
[69/89] Wrapping AST for WebIDL for debugging
[71/103] Compiling WebIDLToSwift Module.swift
[72/103] Compiling WebIDLToSwift ModuleState.swift
[73/104] Compiling JavaScriptKit JSValueDecoder.swift
[74/104] Compiling JavaScriptKit Macros.swift
[75/104] Compiling JavaScriptKit ThreadLocal.swift
[77/105] Compiling WebIDLToSwift WebIDL+SwiftRepresentation.swift
[77/105] Wrapping AST for JavaScriptKit for debugging
[79/116] 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)
[80/116] Compiling JavaScriptEventLoop JavaScriptEventLoop+LegacyHooks.swift
[81/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
[82/116] Compiling JavaScriptBigIntSupport Int64+I64.swift
[83/116] Emitting module JavaScriptBigIntSupport
[84/116] Compiling JavaScriptBigIntSupport JSBigInt+I64.swift
[86/117] Emitting module WebIDLToSwift
[87/117] Compiling WebIDLToSwift ClosurePattern.swift
/host/spi-builder-workspace/Sources/WebIDLToSwift/ClosurePattern.swift:114:23: warning: string interpolation produces a debug description for a function value; did you mean to make this explicit?
112 |             @inlinable public static subscript(name: JSString, in jsObject: JSObject) -> \(closureType) {
113 |                 get {
114 |                     \(getter)
    |                       |- warning: string interpolation produces a debug description for a function value; did you mean to make this explicit?
    |                       `- note: use 'String(describing:)' to silence this warning
115 |                 }
116 |                 set {
/host/spi-builder-workspace/Sources/WebIDLToSwift/ClosurePattern.swift:117:23: warning: string interpolation produces a debug description for a function value; did you mean to make this explicit?
115 |                 }
116 |                 set {
117 |                     \(setter)
    |                       |- warning: string interpolation produces a debug description for a function value; did you mean to make this explicit?
    |                       `- note: use 'String(describing:)' to silence this warning
118 |                 }
119 |             }
[88/117] Compiling WebIDLToSwift IDLBuilder.swift
/host/spi-builder-workspace/Sources/WebIDLToSwift/ClosurePattern.swift:114:23: warning: string interpolation produces a debug description for a function value; did you mean to make this explicit?
112 |             @inlinable public static subscript(name: JSString, in jsObject: JSObject) -> \(closureType) {
113 |                 get {
114 |                     \(getter)
    |                       |- warning: string interpolation produces a debug description for a function value; did you mean to make this explicit?
    |                       `- note: use 'String(describing:)' to silence this warning
115 |                 }
116 |                 set {
/host/spi-builder-workspace/Sources/WebIDLToSwift/ClosurePattern.swift:117:23: warning: string interpolation produces a debug description for a function value; did you mean to make this explicit?
115 |                 }
116 |                 set {
117 |                     \(setter)
    |                       |- warning: string interpolation produces a debug description for a function value; did you mean to make this explicit?
    |                       `- note: use 'String(describing:)' to silence this warning
118 |                 }
119 |             }
[88/117] Wrapping AST for JavaScriptBigIntSupport for debugging
[90/117] Compiling WebIDLToSwift WebIDLToSwift.swift
[91/117] Compiling WebIDLToSwift UnionType+SwiftRepresentable.swift
[92/117] Compiling WebIDLToSwift UnionType.swift
[93/117] Compiling WebIDLToSwift SwiftRepresentation.swift
[94/117] Compiling WebIDLToSwift SwiftSource.swift
[95/117] Compiling WebIDLToSwift PackageManifest.swift
/host/spi-builder-workspace/Sources/WebIDLToSwift/Shell.swift:30:14: warning: 'launchPath' is deprecated: renamed to 'executableURL' [#DeprecatedDeclaration]
28 |         task.standardError = FileHandle.standardError
29 |         task.arguments = arguments
30 |         task.launchPath = findExecutable(executable)
   |              |- warning: 'launchPath' is deprecated: renamed to 'executableURL' [#DeprecatedDeclaration]
   |              `- note: use 'executableURL' instead
31 |         task.currentDirectoryURL = projectRoot
32 |         task.launch()
/host/spi-builder-workspace/Sources/WebIDLToSwift/Shell.swift:32:14: warning: 'launch()' is deprecated: renamed to 'run' [#DeprecatedDeclaration]
30 |         task.launchPath = findExecutable(executable)
31 |         task.currentDirectoryURL = projectRoot
32 |         task.launch()
   |              |- warning: 'launch()' is deprecated: renamed to 'run' [#DeprecatedDeclaration]
   |              `- note: use 'run' instead
33 |         task.waitUntilExit()
34 |         if task.terminationStatus != 0 {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[96/117] Compiling WebIDLToSwift Shell.swift
/host/spi-builder-workspace/Sources/WebIDLToSwift/Shell.swift:30:14: warning: 'launchPath' is deprecated: renamed to 'executableURL' [#DeprecatedDeclaration]
28 |         task.standardError = FileHandle.standardError
29 |         task.arguments = arguments
30 |         task.launchPath = findExecutable(executable)
   |              |- warning: 'launchPath' is deprecated: renamed to 'executableURL' [#DeprecatedDeclaration]
   |              `- note: use 'executableURL' instead
31 |         task.currentDirectoryURL = projectRoot
32 |         task.launch()
/host/spi-builder-workspace/Sources/WebIDLToSwift/Shell.swift:32:14: warning: 'launch()' is deprecated: renamed to 'run' [#DeprecatedDeclaration]
30 |         task.launchPath = findExecutable(executable)
31 |         task.currentDirectoryURL = projectRoot
32 |         task.launch()
   |              |- warning: 'launch()' is deprecated: renamed to 'run' [#DeprecatedDeclaration]
   |              `- note: use 'run' instead
33 |         task.waitUntilExit()
34 |         if task.terminationStatus != 0 {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[97/117] Compiling JavaScriptEventLoop JobQueue.swift
[98/117] Compiling JavaScriptEventLoop WebWorkerDedicatedExecutor.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[99/117] 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 |     }
[100/117] Compiling JavaScriptEventLoop JSSending.swift
[101/117] Compiling JavaScriptEventLoop WebWorkerTaskExecutor.swift
/host/spi-builder-workspace/Sources/WebIDLToSwift/IDLParser.swift:12:14: warning: 'launchPath' is deprecated: renamed to 'executableURL' [#DeprecatedDeclaration]
10 |         task.standardError = FileHandle.standardError
11 |         task.arguments = ["start", "--silent"] + modules
12 |         task.launchPath = findExecutable("npm")
   |              |- warning: 'launchPath' is deprecated: renamed to 'executableURL' [#DeprecatedDeclaration]
   |              `- note: use 'executableURL' instead
13 |         task.currentDirectoryURL = URL(fileURLWithPath: #file)
14 |             .deletingLastPathComponent()
BUILD FAILURE 6.2 linux