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.1 for Android on 28 May 2025 05:42:07 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
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.1
Building package at path:  $PWD
https://github.com/swiftwasm/OpenCombineJS.git
https://github.com/swiftwasm/OpenCombineJS.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "javascriptkit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.13.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swiftwasm/JavaScriptKit.git"
    },
    {
      "identity" : "opencombine",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.13.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/OpenCombine/OpenCombine.git"
    }
  ],
  "manifest_display_name" : "OpenCombineJS",
  "name" : "OpenCombineJS",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "OpenCombineJSExample",
      "targets" : [
        "OpenCombineJSExample"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "OpenCombineJS",
      "targets" : [
        "OpenCombineJS"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "OpenCombineJSExample",
      "module_type" : "SwiftTarget",
      "name" : "OpenCombineJSExample",
      "path" : "Sources/OpenCombineJSExample",
      "product_memberships" : [
        "OpenCombineJSExample"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "OpenCombineJS"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "OpenCombineJS",
      "module_type" : "SwiftTarget",
      "name" : "OpenCombineJS",
      "path" : "Sources/OpenCombineJS",
      "product_dependencies" : [
        "JavaScriptKit",
        "OpenCombine"
      ],
      "product_memberships" : [
        "OpenCombineJSExample",
        "OpenCombineJS"
      ],
      "sources" : [
        "JSPromise.swift",
        "JSScheduler.swift",
        "JSValueDecoder.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/OpenCombine/OpenCombine.git
Fetching https://github.com/swiftwasm/JavaScriptKit.git
[1/8280] Fetching opencombine
[2403/31693] Fetching opencombine, javascriptkit
Fetched https://github.com/OpenCombine/OpenCombine.git from cache (0.78s)
Fetched https://github.com/swiftwasm/JavaScriptKit.git from cache (1.01s)
Computing version for https://github.com/OpenCombine/OpenCombine.git
Computed https://github.com/OpenCombine/OpenCombine.git at 0.14.0 (1.66s)
Computing version for https://github.com/swiftwasm/JavaScriptKit.git
Computed https://github.com/swiftwasm/JavaScriptKit.git at 0.29.0 (1.97s)
Fetching https://github.com/swiftlang/swift-syntax
[1/70448] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (4.78s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 600.0.1 (5.52s)
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
Creating working copy for https://github.com/swiftwasm/JavaScriptKit.git
Working copy of https://github.com/swiftwasm/JavaScriptKit.git resolved at 0.29.0
[1/1] Compiling plugin BridgeJSCommandPlugin
[2/2] Compiling plugin BridgeJS
[3/3] Compiling plugin PackageToJS
Building for debugging...
[3/16] Write sources
[7/16] Write swift-version-24593BA9C3E375BF.txt
[8/16] Compiling _CJavaScriptKit _CJavaScriptKit.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/38] Emitting module JavaScriptKit
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/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
[10/40] Compiling COpenCombineHelpers COpenCombineHelpers.cpp
[12/132] Emitting module OpenCombine
[13/144] Compiling OpenCombine Cancellable.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[14/144] Compiling OpenCombine Codable.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[15/144] Compiling OpenCombine CombineIdentifier.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[16/144] Compiling OpenCombine PartialCompletion.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[17/144] Compiling OpenCombine PublishedSubject.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[18/144] Compiling OpenCombine PublishedSubscriber.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[19/144] Compiling OpenCombine DebugHook.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[20/144] Compiling OpenCombine FilterProducer.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[21/144] Compiling OpenCombine Locking.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[22/144] Compiling OpenCombine GENERATED-RootProtocols.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[23/144] Compiling OpenCombine ConduitBase.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[24/144] Compiling OpenCombine ConduitList.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[25/144] Compiling OpenCombine ConcurrencyHelpers.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[26/144] Compiling OpenCombine Future+Concurrency.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[27/144] Compiling OpenCombine GENERATED-Publisher+Concurrency.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[28/144] Compiling OpenCombine ReduceProducer.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/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 OpenCombine SubjectSubscriber.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/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 CurrentValueSubject.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[31/144] Compiling OpenCombine CustomCombineIdentifierConvertible.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[32/144] Compiling OpenCombine Future.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[33/144] Compiling OpenCombine AnyCancellable.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[34/144] Compiling OpenCombine AnyPublisher.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[35/144] Compiling OpenCombine AnySubscriber.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[36/144] Compiling OpenCombine Utils.swift
[37/144] Compiling OpenCombine Violations.swift
[38/144] Compiling OpenCombine ImmediateScheduler.swift
[39/144] Compiling OpenCombine ObservableObject.swift
[40/144] Compiling OpenCombine PassthroughSubject.swift
[41/144] Compiling OpenCombine Published.swift
[42/144] Compiling OpenCombine Publisher+Subscribe.swift
[43/144] Compiling OpenCombine Deferred.swift
[44/144] Compiling OpenCombine Empty.swift
[45/144] Compiling OpenCombine Fail.swift
[46/144] Compiling OpenCombine GENERATED-Publishers.Catch.swift
[47/144] Compiling OpenCombine GENERATED-Publishers.Encode.swift
[48/144] Compiling OpenCombine GENERATED-Publishers.MapKeyPath.swift
[72/144] Compiling OpenCombine SubscriberTap.swift
[73/144] Compiling OpenCombine SubscriptionStatus.swift
[74/144] Compiling OpenCombine SubscriptionTap.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin BridgeJSCommandPlugin
[2/2] Compiling plugin BridgeJS
[3/3] Compiling plugin PackageToJS
Building for debugging...
[3/10] Write swift-version-24593BA9C3E375BF.txt
[5/124] Compiling OpenCombine Cancellable.swift
[6/124] Compiling OpenCombine Codable.swift
[7/124] Compiling OpenCombine CombineIdentifier.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/124] 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
[9/124] Compiling OpenCombine AnyCancellable.swift
[10/124] Compiling OpenCombine AnyPublisher.swift
[11/124] Compiling OpenCombine AnySubscriber.swift
[12/126] Compiling OpenCombine ConcurrencyHelpers.swift
[13/126] Compiling OpenCombine Future+Concurrency.swift
[14/126] Compiling OpenCombine GENERATED-Publisher+Concurrency.swift
[15/126] 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 = {
[16/126] 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 = {
[17/126] Compiling OpenCombine Publishers.AllSatisfy.swift
[18/126] Compiling OpenCombine Publishers.AssertNoFailure.swift
[19/126] Compiling OpenCombine Publishers.Autoconnect.swift
[20/126] Compiling OpenCombine Publishers.Breakpoint.swift
[21/126] Compiling OpenCombine Publishers.Buffer.swift
[22/126] Compiling OpenCombine Publishers.Collect.swift
[23/126] Compiling OpenCombine CurrentValueSubject.swift
[24/126] Compiling OpenCombine CustomCombineIdentifierConvertible.swift
[25/126] Compiling OpenCombine Future.swift
[26/126] Compiling OpenCombine GENERATED-RootProtocols.swift
[27/126] Compiling OpenCombine Just.swift
[28/126] Compiling OpenCombine Optional.Publisher.swift
BUILD FAILURE 6.1 android