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 main (2832a1), with Swift 6.2 (beta) for Android on 20 Jun 2025 15:40:10 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 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:         android
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-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/swiftwasm/JavaScriptKit.git
[1/23836] Fetching javascriptkit
Fetched https://github.com/swiftwasm/JavaScriptKit.git from cache (0.90s)
Computing version for https://github.com/swiftwasm/JavaScriptKit.git
Computed https://github.com/swiftwasm/JavaScriptKit.git at 0.30.0 (1.60s)
Fetching https://github.com/swiftlang/swift-syntax
[1/70906] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (8.70s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 600.0.1 (12.61s)
Creating working copy for https://github.com/swiftwasm/JavaScriptKit.git
Working copy of https://github.com/swiftwasm/JavaScriptKit.git resolved at 0.30.0
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 600.0.1
[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] Write swift-version-8C5A4AE7A8CE2BA.txt
[24/43] Compiling _CJavaScriptKit _CJavaScriptKit.c
[27/83] Emitting module WebIDL
error: emit-module command failed with exit code 1 (use -v to see invocation)
[28/85] Emitting module JavaScriptKit
/host/spi-builder-workspace/.build/checkouts/JavaScriptKit/Sources/JavaScriptKit/ThreadLocal.swift:10:8: error: Unsupported platform
  8 | import Glibc
  9 | #else
 10 | #error("Unsupported platform")
    |        `- error: Unsupported platform
 11 | #endif
 12 |
/host/spi-builder-workspace/.build/checkouts/JavaScriptKit/Sources/JavaScriptKit/ThreadLocal.swift:39:22: error: cannot find type 'pthread_key_t' in scope
 37 |     }
 38 |
 39 |     private let key: pthread_key_t
    |                      `- error: cannot find type 'pthread_key_t' in scope
 40 |     private let toPointer: @Sendable (Value) -> UnsafeMutableRawPointer
 41 |     private let fromPointer: @Sendable (UnsafeMutableRawPointer) -> Value
[29/87] Compiling JavaScriptKit Macros.swift
/host/spi-builder-workspace/.build/checkouts/JavaScriptKit/Sources/JavaScriptKit/ThreadLocal.swift:10:8: error: Unsupported platform
  8 | import Glibc
  9 | #else
 10 | #error("Unsupported platform")
    |        `- error: Unsupported platform
 11 | #endif
 12 |
/host/spi-builder-workspace/.build/checkouts/JavaScriptKit/Sources/JavaScriptKit/ThreadLocal.swift:39:22: error: cannot find type 'pthread_key_t' in scope
 37 |     }
 38 |
 39 |     private let key: pthread_key_t
    |                      `- error: cannot find type 'pthread_key_t' in scope
 40 |     private let toPointer: @Sendable (Value) -> UnsafeMutableRawPointer
 41 |     private let fromPointer: @Sendable (UnsafeMutableRawPointer) -> Value
/host/spi-builder-workspace/.build/checkouts/JavaScriptKit/Sources/JavaScriptKit/ThreadLocal.swift:23:33: error: cannot find 'pthread_getspecific' in scope
 21 |     var wrappedValue: Value? {
 22 |         get {
 23 |             guard let pointer = pthread_getspecific(key) else {
    |                                 `- error: cannot find 'pthread_getspecific' in scope
 24 |                 return nil
 25 |             }
/host/spi-builder-workspace/.build/checkouts/JavaScriptKit/Sources/JavaScriptKit/ThreadLocal.swift:29:33: error: cannot find 'pthread_getspecific' in scope
 27 |         }
 28 |         set {
 29 |             if let oldPointer = pthread_getspecific(key) {
    |                                 `- error: cannot find 'pthread_getspecific' in scope
 30 |                 release(oldPointer)
 31 |             }
/host/spi-builder-workspace/.build/checkouts/JavaScriptKit/Sources/JavaScriptKit/ThreadLocal.swift:34:17: error: cannot find 'pthread_setspecific' in scope
 32 |             if let newValue = newValue {
 33 |                 let pointer = toPointer(newValue)
 34 |                 pthread_setspecific(key, pointer)
    |                 `- error: cannot find 'pthread_setspecific' in scope
 35 |             }
 36 |         }
/host/spi-builder-workspace/.build/checkouts/JavaScriptKit/Sources/JavaScriptKit/ThreadLocal.swift:47:19: error: cannot find 'pthread_key_t' in scope
 45 |     /// able to store the value directly in the thread-local storage.
 46 |     init() where Value: AnyObject {
 47 |         var key = pthread_key_t()
    |                   `- error: cannot find 'pthread_key_t' in scope
 48 |         pthread_key_create(&key, nil)
 49 |         self.key = key
/host/spi-builder-workspace/.build/checkouts/JavaScriptKit/Sources/JavaScriptKit/ThreadLocal.swift:48:9: error: cannot find 'pthread_key_create' in scope
 46 |     init() where Value: AnyObject {
 47 |         var key = pthread_key_t()
 48 |         pthread_key_create(&key, nil)
    |         `- error: cannot find 'pthread_key_create' in scope
 49 |         self.key = key
 50 |         self.toPointer = { Unmanaged.passRetained($0).toOpaque() }
/host/spi-builder-workspace/.build/checkouts/JavaScriptKit/Sources/JavaScriptKit/ThreadLocal.swift:48:34: error: 'nil' requires a contextual type
 46 |     init() where Value: AnyObject {
 47 |         var key = pthread_key_t()
 48 |         pthread_key_create(&key, nil)
    |                                  `- error: 'nil' requires a contextual type
 49 |         self.key = key
 50 |         self.toPointer = { Unmanaged.passRetained($0).toOpaque() }
/host/spi-builder-workspace/.build/checkouts/JavaScriptKit/Sources/JavaScriptKit/ThreadLocal.swift:65:19: error: cannot find 'pthread_key_t' in scope
 63 |     /// boxing the value in heap-allocated memory.
 64 |     init(boxing _: Void) {
 65 |         var key = pthread_key_t()
    |                   `- error: cannot find 'pthread_key_t' in scope
 66 |         pthread_key_create(&key, nil)
 67 |         self.key = key
/host/spi-builder-workspace/.build/checkouts/JavaScriptKit/Sources/JavaScriptKit/ThreadLocal.swift:66:9: error: cannot find 'pthread_key_create' in scope
 64 |     init(boxing _: Void) {
 65 |         var key = pthread_key_t()
 66 |         pthread_key_create(&key, nil)
    |         `- error: cannot find 'pthread_key_create' in scope
 67 |         self.key = key
 68 |         self.toPointer = {
/host/spi-builder-workspace/.build/checkouts/JavaScriptKit/Sources/JavaScriptKit/ThreadLocal.swift:66:34: error: 'nil' requires a contextual type
 64 |     init(boxing _: Void) {
 65 |         var key = pthread_key_t()
 66 |         pthread_key_create(&key, nil)
    |                                  `- error: 'nil' requires a contextual type
 67 |         self.key = key
 68 |         self.toPointer = {
[30/87] Compiling JavaScriptKit ThreadLocal.swift
/host/spi-builder-workspace/.build/checkouts/JavaScriptKit/Sources/JavaScriptKit/ThreadLocal.swift:10:8: error: Unsupported platform
  8 | import Glibc
  9 | #else
 10 | #error("Unsupported platform")
    |        `- error: Unsupported platform
 11 | #endif
 12 |
/host/spi-builder-workspace/.build/checkouts/JavaScriptKit/Sources/JavaScriptKit/ThreadLocal.swift:39:22: error: cannot find type 'pthread_key_t' in scope
 37 |     }
 38 |
 39 |     private let key: pthread_key_t
    |                      `- error: cannot find type 'pthread_key_t' in scope
 40 |     private let toPointer: @Sendable (Value) -> UnsafeMutableRawPointer
 41 |     private let fromPointer: @Sendable (UnsafeMutableRawPointer) -> Value
/host/spi-builder-workspace/.build/checkouts/JavaScriptKit/Sources/JavaScriptKit/ThreadLocal.swift:23:33: error: cannot find 'pthread_getspecific' in scope
 21 |     var wrappedValue: Value? {
 22 |         get {
 23 |             guard let pointer = pthread_getspecific(key) else {
    |                                 `- error: cannot find 'pthread_getspecific' in scope
 24 |                 return nil
 25 |             }
/host/spi-builder-workspace/.build/checkouts/JavaScriptKit/Sources/JavaScriptKit/ThreadLocal.swift:29:33: error: cannot find 'pthread_getspecific' in scope
 27 |         }
 28 |         set {
 29 |             if let oldPointer = pthread_getspecific(key) {
    |                                 `- error: cannot find 'pthread_getspecific' in scope
 30 |                 release(oldPointer)
 31 |             }
/host/spi-builder-workspace/.build/checkouts/JavaScriptKit/Sources/JavaScriptKit/ThreadLocal.swift:34:17: error: cannot find 'pthread_setspecific' in scope
 32 |             if let newValue = newValue {
 33 |                 let pointer = toPointer(newValue)
 34 |                 pthread_setspecific(key, pointer)
    |                 `- error: cannot find 'pthread_setspecific' in scope
 35 |             }
 36 |         }
/host/spi-builder-workspace/.build/checkouts/JavaScriptKit/Sources/JavaScriptKit/ThreadLocal.swift:47:19: error: cannot find 'pthread_key_t' in scope
 45 |     /// able to store the value directly in the thread-local storage.
 46 |     init() where Value: AnyObject {
 47 |         var key = pthread_key_t()
    |                   `- error: cannot find 'pthread_key_t' in scope
 48 |         pthread_key_create(&key, nil)
 49 |         self.key = key
/host/spi-builder-workspace/.build/checkouts/JavaScriptKit/Sources/JavaScriptKit/ThreadLocal.swift:48:9: error: cannot find 'pthread_key_create' in scope
 46 |     init() where Value: AnyObject {
 47 |         var key = pthread_key_t()
 48 |         pthread_key_create(&key, nil)
    |         `- error: cannot find 'pthread_key_create' in scope
 49 |         self.key = key
 50 |         self.toPointer = { Unmanaged.passRetained($0).toOpaque() }
/host/spi-builder-workspace/.build/checkouts/JavaScriptKit/Sources/JavaScriptKit/ThreadLocal.swift:48:34: error: 'nil' requires a contextual type
 46 |     init() where Value: AnyObject {
 47 |         var key = pthread_key_t()
 48 |         pthread_key_create(&key, nil)
    |                                  `- error: 'nil' requires a contextual type
 49 |         self.key = key
 50 |         self.toPointer = { Unmanaged.passRetained($0).toOpaque() }
/host/spi-builder-workspace/.build/checkouts/JavaScriptKit/Sources/JavaScriptKit/ThreadLocal.swift:65:19: error: cannot find 'pthread_key_t' in scope
 63 |     /// boxing the value in heap-allocated memory.
 64 |     init(boxing _: Void) {
 65 |         var key = pthread_key_t()
    |                   `- error: cannot find 'pthread_key_t' in scope
 66 |         pthread_key_create(&key, nil)
 67 |         self.key = key
/host/spi-builder-workspace/.build/checkouts/JavaScriptKit/Sources/JavaScriptKit/ThreadLocal.swift:66:9: error: cannot find 'pthread_key_create' in scope
 64 |     init(boxing _: Void) {
 65 |         var key = pthread_key_t()
 66 |         pthread_key_create(&key, nil)
    |         `- error: cannot find 'pthread_key_create' in scope
 67 |         self.key = key
 68 |         self.toPointer = {
/host/spi-builder-workspace/.build/checkouts/JavaScriptKit/Sources/JavaScriptKit/ThreadLocal.swift:66:34: error: 'nil' requires a contextual type
 64 |     init(boxing _: Void) {
 65 |         var key = pthread_key_t()
 66 |         pthread_key_create(&key, nil)
    |                                  `- error: 'nil' requires a contextual type
 67 |         self.key = key
 68 |         self.toPointer = {
[31/87] Compiling WebIDL InterfaceMixin.swift
/host/spi-builder-workspace/.build/checkouts/JavaScriptKit/Sources/JavaScriptKit/ThreadLocal.swift:10:8: error: Unsupported platform
  8 | import Glibc
  9 | #else
 10 | #error("Unsupported platform")
    |        `- error: Unsupported platform
 11 | #endif
 12 |
[32/87] Compiling WebIDL Namespace.swift
/host/spi-builder-workspace/.build/checkouts/JavaScriptKit/Sources/JavaScriptKit/ThreadLocal.swift:10:8: error: Unsupported platform
  8 | import Glibc
  9 | #else
 10 | #error("Unsupported platform")
    |        `- error: Unsupported platform
 11 | #endif
 12 |
[33/87] Compiling WebIDL Node.swift
/host/spi-builder-workspace/.build/checkouts/JavaScriptKit/Sources/JavaScriptKit/ThreadLocal.swift:10:8: error: Unsupported platform
  8 | import Glibc
  9 | #else
 10 | #error("Unsupported platform")
    |        `- error: Unsupported platform
 11 | #endif
 12 |
[34/87] Compiling JavaScriptKit JSArray.swift
[35/87] Compiling JavaScriptKit JSDate.swift
[36/87] Compiling JavaScriptKit JSError.swift
[37/87] Compiling WebIDL Interface.swift
[41/87] Compiling WebIDL Operation.swift
[42/87] Compiling WebIDL Type.swift
[43/87] Compiling JavaScriptKit ConstructibleFromJSValue.swift
[44/87] Compiling JavaScriptKit ConvertibleToJSValue.swift
[45/87] Compiling JavaScriptKit Deprecated.swift
[46/87] Compiling JavaScriptKit JSPromise.swift
/host/spi-builder-workspace/.build/checkouts/JavaScriptKit/Sources/JavaScriptKit/ThreadLocal.swift:10:8: error: Unsupported platform
  8 | import Glibc
  9 | #else
 10 | #error("Unsupported platform")
    |        `- error: Unsupported platform
 11 | #endif
 12 |
[47/87] Compiling JavaScriptKit JSTimer.swift
/host/spi-builder-workspace/.build/checkouts/JavaScriptKit/Sources/JavaScriptKit/ThreadLocal.swift:10:8: error: Unsupported platform
  8 | import Glibc
  9 | #else
 10 | #error("Unsupported platform")
    |        `- error: Unsupported platform
 11 | #endif
 12 |
[48/87] Compiling JavaScriptKit JSTypedArray.swift
/host/spi-builder-workspace/.build/checkouts/JavaScriptKit/Sources/JavaScriptKit/ThreadLocal.swift:10:8: error: Unsupported platform
  8 | import Glibc
  9 | #else
 10 | #error("Unsupported platform")
    |        `- error: Unsupported platform
 11 | #endif
 12 |
/host/spi-builder-workspace/.build/checkouts/JavaScriptKit/Sources/JavaScriptKit/ThreadLocal.swift:10:8: error: Unsupported platform
  8 | import Glibc
  9 | #else
 10 | #error("Unsupported platform")
    |        `- error: Unsupported platform
 11 | #endif
 12 |
/host/spi-builder-workspace/.build/checkouts/JavaScriptKit/Sources/JavaScriptKit/ThreadLocal.swift:10:8: error: Unsupported platform
  8 | import Glibc
  9 | #else
 10 | #error("Unsupported platform")
    |        `- error: Unsupported platform
 11 | #endif
 12 |
/host/spi-builder-workspace/.build/checkouts/JavaScriptKit/Sources/JavaScriptKit/ThreadLocal.swift:10:8: error: Unsupported platform
  8 | import Glibc
  9 | #else
 10 | #error("Unsupported platform")
    |        `- error: Unsupported platform
 11 | #endif
 12 |
[52/87] Compiling JavaScriptKit Features.swift
/host/spi-builder-workspace/.build/checkouts/JavaScriptKit/Sources/JavaScriptKit/ThreadLocal.swift:10:8: error: Unsupported platform
  8 | import Glibc
  9 | #else
 10 | #error("Unsupported platform")
    |        `- error: Unsupported platform
 11 | #endif
 12 |
[53/87] Compiling JavaScriptKit JSBigInt.swift
/host/spi-builder-workspace/.build/checkouts/JavaScriptKit/Sources/JavaScriptKit/ThreadLocal.swift:10:8: error: Unsupported platform
  8 | import Glibc
  9 | #else
 10 | #error("Unsupported platform")
    |        `- error: Unsupported platform
 11 | #endif
 12 |
/host/spi-builder-workspace/.build/checkouts/JavaScriptKit/Sources/JavaScriptKit/ThreadLocal.swift:10:8: error: Unsupported platform
  8 | import Glibc
  9 | #else
 10 | #error("Unsupported platform")
    |        `- error: Unsupported platform
 11 | #endif
 12 |
[55/87] Compiling WebIDL Typedef.swift
[56/87] Compiling WebIDL Value.swift
/host/spi-builder-workspace/.build/checkouts/JavaScriptKit/Sources/JavaScriptKit/ThreadLocal.swift:10:8: error: Unsupported platform
  8 | import Glibc
  9 | #else
 10 | #error("Unsupported platform")
    |        `- error: Unsupported platform
 11 | #endif
 12 |
/host/spi-builder-workspace/.build/checkouts/JavaScriptKit/Sources/JavaScriptKit/ThreadLocal.swift:10:8: error: Unsupported platform
  8 | import Glibc
  9 | #else
 10 | #error("Unsupported platform")
    |        `- error: Unsupported platform
 11 | #endif
 12 |
/host/spi-builder-workspace/.build/checkouts/JavaScriptKit/Sources/JavaScriptKit/ThreadLocal.swift:10:8: error: Unsupported platform
  8 | import Glibc
  9 | #else
 10 | #error("Unsupported platform")
    |        `- error: Unsupported platform
 11 | #endif
 12 |
/host/spi-builder-workspace/.build/checkouts/JavaScriptKit/Sources/JavaScriptKit/ThreadLocal.swift:10:8: error: Unsupported platform
  8 | import Glibc
  9 | #else
 10 | #error("Unsupported platform")
    |        `- error: Unsupported platform
 11 | #endif
 12 |
[61/87] Compiling JavaScriptKit JSValue.swift
/host/spi-builder-workspace/.build/checkouts/JavaScriptKit/Sources/JavaScriptKit/ThreadLocal.swift:10:8: error: Unsupported platform
  8 | import Glibc
  9 | #else
 10 | #error("Unsupported platform")
    |        `- error: Unsupported platform
 11 | #endif
 12 |
[62/87] Compiling JavaScriptKit JSValueDecoder.swift
/host/spi-builder-workspace/.build/checkouts/JavaScriptKit/Sources/JavaScriptKit/ThreadLocal.swift:10:8: error: Unsupported platform
  8 | import Glibc
  9 | #else
 10 | #error("Unsupported platform")
    |        `- error: Unsupported platform
 11 | #endif
 12 |
/host/spi-builder-workspace/.build/checkouts/JavaScriptKit/Sources/JavaScriptKit/ThreadLocal.swift:10:8: error: Unsupported platform
  8 | import Glibc
  9 | #else
 10 | #error("Unsupported platform")
    |        `- error: Unsupported platform
 11 | #endif
 12 |
/host/spi-builder-workspace/.build/checkouts/JavaScriptKit/Sources/JavaScriptKit/ThreadLocal.swift:10:8: error: Unsupported platform
  8 | import Glibc
  9 | #else
 10 | #error("Unsupported platform")
    |        `- error: Unsupported platform
 11 | #endif
 12 |
/host/spi-builder-workspace/.build/checkouts/JavaScriptKit/Sources/JavaScriptKit/ThreadLocal.swift:10:8: error: Unsupported platform
  8 | import Glibc
  9 | #else
 10 | #error("Unsupported platform")
    |        `- error: Unsupported platform
 11 | #endif
 12 |
BUILD FAILURE 6.2 android