Build Information
Failed to build WebAPIKit, reference 0.2.0 (2832a1), with Swift 6.3 for Android on 17 Apr 2026 09:21:41 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/swiftpackageindex/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.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: android
Swift version: 6.3
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/swiftpackageindex/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:9008270ea37a55e78725e6225015adb5eff8582da520c5232bf0499f32c36dc4
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest
Fetching https://github.com/swiftwasm/JavaScriptKit.git
[1/36576] Fetching javascriptkit
Fetched https://github.com/swiftwasm/JavaScriptKit.git from cache (3.06s)
Computing version for https://github.com/swiftwasm/JavaScriptKit.git
Computed https://github.com/swiftwasm/JavaScriptKit.git at 0.50.2 (3.68s)
Fetching https://github.com/swiftlang/swift-syntax
[1/74983] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (6.53s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 603.0.0 (10.59s)
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 603.0.0
Creating working copy for https://github.com/swiftwasm/JavaScriptKit.git
Working copy of https://github.com/swiftwasm/JavaScriptKit.git resolved at 0.50.2
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/603.0.0/swift-6.3-RELEASE-ubuntu_jammy_x86_64-MacroSupport.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/603.0.0/swift-6.3-RELEASE-ubuntu_jammy_x86_64-MacroSupport.tar.gz (0.46s)
[1/1] Compiling plugin BridgeJSCommandPlugin
[2/2] Compiling plugin BridgeJS
[3/3] Compiling plugin PackageToJS
Building for debugging...
[3/47] Write sources
[22/47] Compiling _CJavaScriptBigIntSupport _CJavaScriptKit+I64.c
[23/47] Write sources
[24/47] Compiling _CJavaScriptEventLoop _CJavaScriptEventLoop.c
[25/47] Compiling _CJavaScriptKit _CJavaScriptKit.c
[26/47] Write swift-version--4F562202D5529B1.txt
[28/72] Emitting module WebIDL
[29/74] Compiling WebIDL Typedef.swift
[30/74] Compiling WebIDL Value.swift
[31/74] Compiling WebIDL GenericCollection.swift
[32/74] Compiling WebIDL Includes.swift
[33/74] Compiling WebIDL Interface.swift
[34/74] Compiling WebIDL InterfaceMixin.swift
[35/74] Compiling WebIDL Namespace.swift
[36/74] Compiling WebIDL Node.swift
[37/74] Compiling WebIDL Operation.swift
[38/74] Compiling WebIDL Type.swift
[39/74] Compiling WebIDL Dictionary.swift
[40/74] Compiling WebIDL Enum.swift
[41/74] Compiling WebIDL ExtendedAttribute.swift
[42/74] Compiling WebIDL Constant.swift
[43/74] Compiling WebIDL Constructor.swift
[44/74] Compiling WebIDL Declaration.swift
[45/74] Compiling WebIDL Argument.swift
[46/74] Compiling WebIDL Attribute.swift
[47/74] Compiling WebIDL Callback.swift
[48/75] Wrapping AST for WebIDL for debugging
[50/89] Compiling BridgeJSMacros JSFunctionMacro.swift
[51/89] Compiling BridgeJSMacros BridgeJSMacrosPlugin.swift
[52/89] Emitting module BridgeJSMacros
[53/89] Compiling BridgeJSMacros JSClassMacro.swift
[54/89] Compiling BridgeJSMacros JSSetterMacro.swift
[55/89] Compiling BridgeJSMacros JSGetterMacro.swift
[56/89] Compiling BridgeJSMacros JSMacroSupport.swift
[57/90] Wrapping AST for BridgeJSMacros for debugging
[58/90] Write Objects.LinkFileList
[59/90] Linking BridgeJSMacros-tool
[61/114] Compiling JavaScriptKit JSTracing.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/114] Compiling JavaScriptKit JSUndefinedOr.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 |
[63/114] 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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[64/114] 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
[65/114] Compiling JavaScriptKit JSObject.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 |
[66/114] Compiling JavaScriptKit JSString.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 |
[67/114] Compiling JavaScriptKit JSSymbol.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 |
[68/114] Compiling JavaScriptKit ConvertibleToJSValue.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 |
[69/114] Compiling JavaScriptKit Deprecated.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 |
[70/114] 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 |
[71/114] Compiling JavaScriptKit JSArray.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 |
[72/114] Compiling JavaScriptKit JSDate.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 |
[73/114] Compiling JavaScriptKit JSError.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 |
[74/114] 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 |
[75/114] Compiling JavaScriptKit JSThrowingFunction.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 |
[76/114] Compiling JavaScriptKit JSBridgedType.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 |
[77/114] Compiling JavaScriptKit JSException.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 |
[78/114] 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 |
[79/114] Compiling JavaScriptKit JSClosure.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 |
[80/114] Compiling JavaScriptKit JSObject+CallAsFunction.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 |
[81/117] 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: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 = {
[82/117] 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 = {
[83/117] 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 = {
[84/117] 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 |
[85/117] 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 |
[86/117] Compiling JavaScriptKit BridgeJSIntrinsics.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 |
[87/117] Compiling JavaScriptKit ConstructibleFromJSValue.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 |
BUILD FAILURE 6.3 android