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 Linux on 19 Jun 2025 10:25:39 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.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:         linux
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-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/OpenCombine/OpenCombine.git
Fetching https://github.com/swiftwasm/JavaScriptKit.git
[1/8280] Fetching opencombine
[8199/32081] Fetching opencombine, javascriptkit
Fetched https://github.com/OpenCombine/OpenCombine.git from cache (0.92s)
Fetched https://github.com/swiftwasm/JavaScriptKit.git from cache (0.93s)
Computing version for https://github.com/OpenCombine/OpenCombine.git
Computed https://github.com/OpenCombine/OpenCombine.git at 0.14.0 (1.39s)
Computing version for https://github.com/swiftwasm/JavaScriptKit.git
Computed https://github.com/swiftwasm/JavaScriptKit.git at 0.30.0 (0.46s)
Fetching https://github.com/swiftlang/swift-syntax
[1/70906] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (5.43s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 600.0.1 (6.09s)
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.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
[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-24593BA9C3E375BF.txt
[9/16] Compiling COpenCombineHelpers COpenCombineHelpers.cpp
[11/130] Compiling OpenCombine AnyCancellable.swift
[12/130] Compiling OpenCombine AnyPublisher.swift
[13/130] Compiling OpenCombine AnySubscriber.swift
[14/132] Compiling OpenCombine Published.swift
[15/132] Compiling OpenCombine Publisher+Subscribe.swift
[16/132] Compiling OpenCombine Deferred.swift
[17/132] Compiling OpenCombine ConcurrencyHelpers.swift
[18/132] Compiling OpenCombine Future+Concurrency.swift
[19/132] Compiling OpenCombine GENERATED-Publisher+Concurrency.swift
[20/132] Compiling OpenCombine CurrentValueSubject.swift
[21/132] Compiling OpenCombine CustomCombineIdentifierConvertible.swift
[22/132] Compiling OpenCombine Future.swift
[23/132] Emitting module JavaScriptKit
[24/132] Compiling OpenCombine Cancellable.swift
[25/132] Compiling OpenCombine Codable.swift
[26/132] Compiling OpenCombine CombineIdentifier.swift
[27/132] Compiling OpenCombine ImmediateScheduler.swift
[28/132] Compiling OpenCombine ObservableObject.swift
[29/132] Compiling OpenCombine PassthroughSubject.swift
[30/132] Compiling OpenCombine GENERATED-RootProtocols.swift
[31/132] Compiling OpenCombine Utils.swift
[32/132] Compiling OpenCombine Violations.swift
[33/132] Emitting module OpenCombine
[47/144] Compiling OpenCombine Just.swift
[48/144] Compiling OpenCombine Optional.Publisher.swift
[49/144] Compiling OpenCombine Publishers.AllSatisfy.swift
[50/144] Compiling OpenCombine Publishers.AssertNoFailure.swift
[51/144] Compiling OpenCombine Publishers.Autoconnect.swift
[52/144] Compiling OpenCombine Publishers.Breakpoint.swift
[53/144] Compiling OpenCombine Publishers.Buffer.swift
[54/144] Compiling OpenCombine Publishers.Collect.swift
[55/144] Compiling OpenCombine Publishers.CollectByCount.swift
[56/144] Compiling OpenCombine Publishers.CompactMap.swift
[57/144] Compiling OpenCombine Publishers.Comparison.swift
[58/144] Compiling OpenCombine Publishers.Concatenate.swift
[59/144] Compiling OpenCombine Publishers.Contains.swift
[60/144] Compiling OpenCombine ConduitBase.swift
[61/144] Compiling OpenCombine ConduitList.swift
[62/144] Compiling OpenCombine DebugHook.swift
[63/144] Compiling OpenCombine FilterProducer.swift
[64/144] Compiling OpenCombine Locking.swift
[65/144] Compiling OpenCombine PartialCompletion.swift
[66/144] Compiling OpenCombine PublishedSubject.swift
[67/144] Compiling OpenCombine PublishedSubscriber.swift
[68/144] Compiling OpenCombine ReduceProducer.swift
[69/144] Compiling OpenCombine SubjectSubscriber.swift
[70/144] Compiling OpenCombine SubscriberTap.swift
[71/144] Compiling OpenCombine SubscriptionStatus.swift
[72/144] Compiling OpenCombine SubscriptionTap.swift
[73/144] Compiling OpenCombine Publishers.Count.swift
[74/144] Compiling OpenCombine Publishers.Debounce.swift
[75/144] Compiling OpenCombine Publishers.Delay.swift
[76/144] Compiling OpenCombine Publishers.Drop.swift
[77/144] Compiling OpenCombine Publishers.DropUntilOutput.swift
[78/144] Compiling OpenCombine Publishers.DropWhile.swift
[79/144] Compiling OpenCombine Publishers.Filter.swift
[80/144] Compiling OpenCombine Publishers.First.swift
[81/144] Compiling OpenCombine Publishers.FlatMap.swift
[82/144] Compiling OpenCombine Publishers.HandleEvents.swift
[83/144] Compiling OpenCombine Publishers.IgnoreOutput.swift
[84/144] Compiling OpenCombine Publishers.Last.swift
[85/144] Compiling OpenCombine Publishers.MakeConnectable.swift
[94/144] Compiling JavaScriptKit Macros.swift
[95/144] Compiling JavaScriptKit ThreadLocal.swift
[96/144] Compiling OpenCombine GENERATED-Publishers.Catch.swift
[97/144] Compiling OpenCombine GENERATED-Publishers.Encode.swift
[98/144] Compiling OpenCombine GENERATED-Publishers.MapKeyPath.swift
[99/144] Compiling OpenCombine Publishers.Map.swift
[100/144] Compiling OpenCombine Publishers.MapError.swift
[101/144] Compiling OpenCombine Publishers.MeasureInterval.swift
[102/144] Compiling OpenCombine Publishers.Multicast.swift
[103/144] Compiling OpenCombine Publishers.Output.swift
[104/144] Compiling OpenCombine Publishers.PrefixUntilOutput.swift
[105/144] Compiling OpenCombine Publishers.PrefixWhile.swift
[106/144] Compiling OpenCombine Publishers.Print.swift
[107/144] Compiling OpenCombine Publishers.ReceiveOn.swift
[108/144] Compiling OpenCombine Publishers.Reduce.swift
[109/144] Compiling OpenCombine Publishers.RemoveDuplicates.swift
[110/144] Compiling OpenCombine Publishers.ReplaceEmpty.swift
[111/144] Compiling OpenCombine Publishers.ReplaceError.swift
[112/144] Compiling OpenCombine Publishers.Retry.swift
[113/144] Compiling OpenCombine Publishers.Scan.swift
[114/144] Compiling OpenCombine Publishers.Sequence.swift
[115/144] Compiling OpenCombine Publishers.SetFailureType.swift
[116/144] Compiling OpenCombine Publishers.Share.swift
[117/144] Compiling OpenCombine Publishers.SubscribeOn.swift
[118/144] Compiling OpenCombine Publishers.SwitchToLatest.swift
[119/144] Compiling OpenCombine Publishers.Throttle.swift
[120/144] Compiling OpenCombine Publishers.Timeout.swift
[121/144] Compiling OpenCombine Publishers.Zip.swift
[122/144] Compiling OpenCombine Publishers.swift
[123/144] Compiling OpenCombine Record.swift
[124/144] Compiling OpenCombine Result.Publisher.swift
[128/145] Compiling OpenCombine Result.swift
[129/145] Compiling OpenCombine Scheduler.swift
[130/145] Compiling OpenCombine Subject+Void.swift
[131/145] Compiling OpenCombine Subscriber+Void.swift
[132/145] Compiling OpenCombine Subscribers.Assign.swift
[133/145] Compiling OpenCombine Subscribers.Completion.swift
[134/145] Compiling OpenCombine Subscribers.Demand.swift
[135/145] Compiling OpenCombine Subscribers.Sink.swift
[136/145] Compiling OpenCombine Subscribers.swift
[137/145] Compiling OpenCombine Subscription.swift
[138/145] Compiling OpenCombine Subscriptions.swift
[139/145] Compiling OpenCombine _Introspection.swift
[140/148] Wrapping AST for JavaScriptKit for debugging
[141/150] Wrapping AST for OpenCombine for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[143/150] Compiling OpenCombineJS JSValueDecoder.swift
/host/spi-builder-workspace/Sources/OpenCombineJS/JSValueDecoder.swift:18:1: warning: extension declares a conformance of imported type 'JSValueDecoder' to imported protocol 'TopLevelDecoder'; this will not behave correctly if the owners of 'JavaScriptKit' introduce this conformance in the future
16 | import OpenCombine
17 |
18 | extension JSValueDecoder: TopLevelDecoder {
   | |- warning: extension declares a conformance of imported type 'JSValueDecoder' to imported protocol 'TopLevelDecoder'; this will not behave correctly if the owners of 'JavaScriptKit' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
19 |   public func decode<T: Decodable>(_ type: T.Type, from value: JSValue) throws -> T {
20 |     try decode(type, from: value, userInfo: [:])
[144/150] Compiling OpenCombineJS JSScheduler.swift
[145/150] Emitting module OpenCombineJS
/host/spi-builder-workspace/Sources/OpenCombineJS/JSPromise.swift:24:25: error: type 'JSValue' does not conform to protocol 'Error'
22 |
23 |     /// `Future` instance that handles subscriptions to this publisher.
24 |     private var future: Future<JSValue, JSValue>
   |                         `- error: type 'JSValue' does not conform to protocol 'Error'
25 |
26 |     fileprivate init(promise: JSPromise) {
/host/spi-builder-workspace/Sources/OpenCombineJS/JSPromise.swift:38:17: error: no type for 'Downstream.Failure' can satisfy both 'Downstream.Failure == JSValue' and 'Downstream.Failure : Error'
36 |     }
37 |
38 |     public func receive<Downstream: Subscriber>(subscriber: Downstream)
   |                 `- error: no type for 'Downstream.Failure' can satisfy both 'Downstream.Failure == JSValue' and 'Downstream.Failure : Error'
39 |       where Downstream.Input == JSValue, Downstream.Failure == JSValue
40 |     {
/host/spi-builder-workspace/Sources/OpenCombineJS/JSPromise.swift:19:15: error: type 'JSPromise.PromisePublisher' does not conform to protocol 'Publisher'
17 |
18 | public extension JSPromise {
19 |   final class PromisePublisher: Publisher {
   |               |- error: type 'JSPromise.PromisePublisher' does not conform to protocol 'Publisher'
   |               `- note: add stubs for conformance
20 |     public typealias Output = JSValue
21 |     public typealias Failure = JSValue
   |                      `- note: possibly intended match 'JSPromise.PromisePublisher.Failure' (aka 'JSValue') does not conform to 'Error'
22 |
23 |     /// `Future` instance that handles subscriptions to this publisher.
   :
36 |     }
37 |
38 |     public func receive<Downstream: Subscriber>(subscriber: Downstream)
   |                 `- note: candidate has non-matching type '<Downstream> (subscriber: Downstream) -> ()' [with Failure = <<error type>>]
39 |       where Downstream.Input == JSValue, Downstream.Failure == JSValue
40 |     {
/host/spi-builder-workspace/.build/checkouts/OpenCombine/Sources/OpenCombine/GENERATED-RootProtocols.swift:59:20: note: protocol requires nested type 'Failure'
 57 |     ///
 58 |     /// Use `Never` if this `Publisher` does not publish errors.
 59 |     associatedtype Failure: Error
    |                    `- note: protocol requires nested type 'Failure'
 60 |
 61 |     /// Attaches the specified subscriber to this publisher.
    :
 68 |     /// - Parameter subscriber: The subscriber to attach to this publisher. After
 69 |     ///   attaching, the subscriber can start to receive values.
 70 |     func receive<Subscriber: OpenCombine.Subscriber>(subscriber: Subscriber)
    |          `- note: protocol requires function 'receive(subscriber:)' with type '<Subscriber> (subscriber: Subscriber) -> ()'
 71 |         where Failure == Subscriber.Failure, Output == Subscriber.Input
 72 | }
/host/spi-builder-workspace/Sources/OpenCombineJS/JSValueDecoder.swift:18:1: warning: extension declares a conformance of imported type 'JSValueDecoder' to imported protocol 'TopLevelDecoder'; this will not behave correctly if the owners of 'JavaScriptKit' introduce this conformance in the future
16 | import OpenCombine
17 |
18 | extension JSValueDecoder: TopLevelDecoder {
   | |- warning: extension declares a conformance of imported type 'JSValueDecoder' to imported protocol 'TopLevelDecoder'; this will not behave correctly if the owners of 'JavaScriptKit' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
19 |   public func decode<T: Decodable>(_ type: T.Type, from value: JSValue) throws -> T {
20 |     try decode(type, from: value, userInfo: [:])
[146/150] Compiling OpenCombineJS JSPromise.swift
/host/spi-builder-workspace/Sources/OpenCombineJS/JSPromise.swift:24:25: error: type 'JSValue' does not conform to protocol 'Error'
22 |
23 |     /// `Future` instance that handles subscriptions to this publisher.
24 |     private var future: Future<JSValue, JSValue>
   |                         `- error: type 'JSValue' does not conform to protocol 'Error'
25 |
26 |     fileprivate init(promise: JSPromise) {
/host/spi-builder-workspace/Sources/OpenCombineJS/JSPromise.swift:38:17: error: no type for 'Downstream.Failure' can satisfy both 'Downstream.Failure == JSValue' and 'Downstream.Failure : Error'
36 |     }
37 |
38 |     public func receive<Downstream: Subscriber>(subscriber: Downstream)
   |                 `- error: no type for 'Downstream.Failure' can satisfy both 'Downstream.Failure == JSValue' and 'Downstream.Failure : Error'
39 |       where Downstream.Input == JSValue, Downstream.Failure == JSValue
40 |     {
/host/spi-builder-workspace/Sources/OpenCombineJS/JSPromise.swift:19:15: error: type 'JSPromise.PromisePublisher' does not conform to protocol 'Publisher'
17 |
18 | public extension JSPromise {
19 |   final class PromisePublisher: Publisher {
   |               |- error: type 'JSPromise.PromisePublisher' does not conform to protocol 'Publisher'
   |               `- note: add stubs for conformance
20 |     public typealias Output = JSValue
21 |     public typealias Failure = JSValue
   |                      `- note: possibly intended match 'JSPromise.PromisePublisher.Failure' (aka 'JSValue') does not conform to 'Error'
22 |
23 |     /// `Future` instance that handles subscriptions to this publisher.
   :
36 |     }
37 |
38 |     public func receive<Downstream: Subscriber>(subscriber: Downstream)
   |                 `- note: candidate has non-matching type '<Downstream> (subscriber: Downstream) -> ()' [with Failure = <<error type>>]
39 |       where Downstream.Input == JSValue, Downstream.Failure == JSValue
40 |     {
/host/spi-builder-workspace/.build/checkouts/OpenCombine/Sources/OpenCombine/GENERATED-RootProtocols.swift:59:20: note: protocol requires nested type 'Failure'
 57 |     ///
 58 |     /// Use `Never` if this `Publisher` does not publish errors.
 59 |     associatedtype Failure: Error
    |                    `- note: protocol requires nested type 'Failure'
 60 |
 61 |     /// Attaches the specified subscriber to this publisher.
    :
 68 |     /// - Parameter subscriber: The subscriber to attach to this publisher. After
 69 |     ///   attaching, the subscriber can start to receive values.
 70 |     func receive<Subscriber: OpenCombine.Subscriber>(subscriber: Subscriber)
    |          `- note: protocol requires function 'receive(subscriber:)' with type '<Subscriber> (subscriber: Subscriber) -> ()'
 71 |         where Failure == Subscriber.Failure, Output == Subscriber.Input
 72 | }
/host/spi-builder-workspace/Sources/OpenCombineJS/JSPromise.swift:27:17: error: cannot infer contextual base in reference to member 'init'
25 |
26 |     fileprivate init(promise: JSPromise) {
27 |       future = .init { resolver in
   |                 `- error: cannot infer contextual base in reference to member 'init'
28 |         promise.then(success: {
29 |           resolver(.success($0))
/host/spi-builder-workspace/Sources/OpenCombineJS/JSPromise.swift:29:21: error: cannot infer contextual base in reference to member 'success'
27 |       future = .init { resolver in
28 |         promise.then(success: {
29 |           resolver(.success($0))
   |                     `- error: cannot infer contextual base in reference to member 'success'
30 |           return JSValue.undefined
31 |         }, failure: {
/host/spi-builder-workspace/Sources/OpenCombineJS/JSPromise.swift:32:21: error: cannot infer contextual base in reference to member 'failure'
30 |           return JSValue.undefined
31 |         }, failure: {
32 |           resolver(.failure($0))
   |                     `- error: cannot infer contextual base in reference to member 'failure'
33 |           return JSValue.undefined
34 |         })
BUILD FAILURE 6.2 linux