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 OpenCombineJS, reference main (e393e6), with Swift 6.2 (beta) for Android on 19 Jun 2025 10:27:19 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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/OpenCombineJS.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/OpenCombineJS
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at e393e6d Update to v2 of Contributor Covenant in shared GitHub repo (#7)
Cloned https://github.com/swiftwasm/OpenCombineJS.git
Revision (git rev-parse @):
e393e6d449511615ea5445b04f4b97dc6e5fb141
SUCCESS checkout https://github.com/swiftwasm/OpenCombineJS.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/swiftwasm/OpenCombineJS.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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/OpenCombine/OpenCombine.git
Fetching https://github.com/swiftwasm/JavaScriptKit.git
[1/8280] Fetching opencombine
[1657/32081] Fetching opencombine, javascriptkit
Fetched https://github.com/OpenCombine/OpenCombine.git from cache (1.89s)
Fetched https://github.com/swiftwasm/JavaScriptKit.git from cache (1.91s)
Computing version for https://github.com/OpenCombine/OpenCombine.git
Computed https://github.com/OpenCombine/OpenCombine.git at 0.14.0 (2.56s)
Computing version for https://github.com/swiftwasm/JavaScriptKit.git
Computed https://github.com/swiftwasm/JavaScriptKit.git at 0.30.0 (0.75s)
Fetching https://github.com/swiftlang/swift-syntax
[1/70906] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (5.68s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 600.0.1 (6.50s)
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/OpenCombine/OpenCombine.git
Working copy of https://github.com/OpenCombine/OpenCombine.git resolved at 0.14.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/16] Write sources
[7/16] Compiling _CJavaScriptKit _CJavaScriptKit.c
[8/16] Write swift-version-8C5A4AE7A8CE2BA.txt
[9/16] Compiling COpenCombineHelpers COpenCombineHelpers.cpp
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/130] 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
[12/132] Emitting module OpenCombine
[13/144] Compiling OpenCombine Result.swift
[14/144] Compiling OpenCombine Scheduler.swift
[15/144] Compiling OpenCombine Subject+Void.swift
[16/144] Compiling OpenCombine Subscriber+Void.swift
[17/144] Compiling OpenCombine Subscribers.Assign.swift
[18/144] Compiling OpenCombine Subscribers.Completion.swift
[19/144] Compiling OpenCombine Subscribers.Demand.swift
[20/144] Compiling OpenCombine Subscribers.Sink.swift
[21/144] Compiling OpenCombine Subscribers.swift
[22/144] Compiling OpenCombine Subscription.swift
[23/144] Compiling OpenCombine Subscriptions.swift
[24/144] Compiling OpenCombine _Introspection.swift
[25/144] Compiling OpenCombine ObservableObject.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 |
[26/144] Compiling OpenCombine PassthroughSubject.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 |
[27/144] Compiling OpenCombine Published.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 |
[28/144] 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 = {
[29/144] 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 = {
[30/144] Compiling OpenCombine Utils.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 |
[31/144] Compiling OpenCombine Violations.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/144] Compiling OpenCombine ImmediateScheduler.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/144] Compiling OpenCombine Publisher+Subscribe.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/144] Compiling OpenCombine Deferred.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 |
[35/144] Compiling OpenCombine Empty.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 |
[36/144] Compiling OpenCombine Fail.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 |
[37/144] Compiling OpenCombine GENERATED-Publishers.Catch.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 |
[38/144] Compiling OpenCombine GENERATED-Publishers.Encode.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 |
[39/144] Compiling OpenCombine Publishers.Breakpoint.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 |
[40/144] Compiling OpenCombine Publishers.Buffer.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 |
[41/144] Compiling OpenCombine Publishers.Collect.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 |
[42/144] Compiling OpenCombine Publishers.AllSatisfy.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 |
[43/144] Compiling OpenCombine Publishers.AssertNoFailure.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 |
[44/144] Compiling OpenCombine Publishers.Autoconnect.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 |
[45/144] Compiling OpenCombine GENERATED-Publishers.MapKeyPath.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 |
[46/144] Compiling OpenCombine Just.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/144] Compiling OpenCombine Optional.Publisher.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.2 android