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 0.2.0 (e574e4), with Swift 6.2 (beta) for Wasm on 19 Jun 2025 10:27:44 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swiftwasm/OpenCombineJS.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/OpenCombineJS
 * tag               0.2.0      -> FETCH_HEAD
HEAD is now at e574e41 Update CHANGELOG.md
Cloned https://github.com/swiftwasm/OpenCombineJS.git
Revision (git rev-parse @):
e574e418ba468ff5c2d4c499eb56f108aeb4d2ba
SUCCESS checkout https://github.com/swiftwasm/OpenCombineJS.git at 0.2.0
========================================
Build
========================================
Selected platform:         wasm
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-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/swiftwasm/JavaScriptKit.git
Fetching https://github.com/OpenCombine/OpenCombine.git
[1/8280] Fetching opencombine
[747/32081] Fetching opencombine, javascriptkit
Fetched https://github.com/OpenCombine/OpenCombine.git from cache (1.17s)
Fetched https://github.com/swiftwasm/JavaScriptKit.git from cache (1.19s)
Computing version for https://github.com/OpenCombine/OpenCombine.git
Computed https://github.com/OpenCombine/OpenCombine.git at 0.14.0 (1.82s)
Computing version for https://github.com/swiftwasm/JavaScriptKit.git
Computed https://github.com/swiftwasm/JavaScriptKit.git at 0.30.0 (0.58s)
Fetching https://github.com/swiftlang/swift-syntax
[1/70906] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (5.69s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 600.0.1 (6.52s)
Creating working copy for https://github.com/swiftwasm/JavaScriptKit.git
Working copy of https://github.com/swiftwasm/JavaScriptKit.git resolved at 0.30.0
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 600.0.1
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/15] Write sources
[7/15] Compiling _CJavaScriptKit _CJavaScriptKit.c
[8/15] Write swift-version-24593BA9C3E375BF.txt
[10/129] Emitting module OpenCombine
[11/141] Emitting module JavaScriptKit
[12/141] Compiling OpenCombine AnyCancellable.swift
[13/141] Compiling OpenCombine AnyPublisher.swift
[14/141] Compiling OpenCombine AnySubscriber.swift
[15/143] Compiling OpenCombine Cancellable.swift
[16/143] Compiling OpenCombine Codable.swift
[17/143] Compiling OpenCombine CombineIdentifier.swift
[18/143] Compiling OpenCombine Result.swift
[19/143] Compiling OpenCombine Scheduler.swift
[20/143] Compiling OpenCombine Subject+Void.swift
[21/143] Compiling OpenCombine Subscriber+Void.swift
[22/143] Compiling OpenCombine Subscribers.Assign.swift
[23/143] Compiling OpenCombine Subscribers.Completion.swift
[24/143] Compiling OpenCombine Subscribers.Demand.swift
[25/143] Compiling OpenCombine Subscribers.Sink.swift
[26/143] Compiling OpenCombine Subscribers.swift
[27/143] Compiling OpenCombine Subscription.swift
[28/143] Compiling OpenCombine Subscriptions.swift
[29/143] Compiling OpenCombine _Introspection.swift
[30/143] Compiling OpenCombine ConcurrencyHelpers.swift
[31/143] Compiling OpenCombine Future+Concurrency.swift
[32/143] Compiling OpenCombine GENERATED-Publisher+Concurrency.swift
[33/143] Compiling OpenCombine CurrentValueSubject.swift
[34/143] Compiling OpenCombine CustomCombineIdentifierConvertible.swift
[35/143] Compiling OpenCombine Future.swift
[36/143] Compiling OpenCombine Published.swift
[37/143] Compiling OpenCombine Publisher+Subscribe.swift
[38/143] Compiling OpenCombine Deferred.swift
[39/143] Compiling OpenCombine GENERATED-RootProtocols.swift
[40/143] Compiling OpenCombine Utils.swift
[41/143] Compiling OpenCombine Violations.swift
[42/143] Compiling OpenCombine ImmediateScheduler.swift
[43/143] Compiling OpenCombine ObservableObject.swift
[44/143] Compiling OpenCombine PassthroughSubject.swift
[58/143] Compiling OpenCombine Publishers.Map.swift
[59/143] Compiling OpenCombine Publishers.MapError.swift
[60/143] Compiling OpenCombine Publishers.MeasureInterval.swift
[61/143] Compiling OpenCombine Publishers.Multicast.swift
[62/143] Compiling OpenCombine Publishers.Output.swift
[63/143] Compiling OpenCombine Publishers.PrefixUntilOutput.swift
[64/143] Compiling OpenCombine Publishers.PrefixWhile.swift
[65/143] Compiling OpenCombine Publishers.Print.swift
[66/143] Compiling OpenCombine Publishers.ReceiveOn.swift
[67/143] Compiling OpenCombine Publishers.Reduce.swift
[68/143] Compiling OpenCombine Publishers.RemoveDuplicates.swift
[69/143] Compiling OpenCombine Publishers.ReplaceEmpty.swift
[70/143] Compiling OpenCombine Publishers.ReplaceError.swift
[75/143] Compiling JavaScriptKit Macros.swift
[76/143] Compiling JavaScriptKit ThreadLocal.swift
[83/143] Compiling OpenCombine GENERATED-Publishers.Catch.swift
[84/143] Compiling OpenCombine GENERATED-Publishers.Encode.swift
[85/143] Compiling OpenCombine GENERATED-Publishers.MapKeyPath.swift
[86/143] Compiling OpenCombine ConduitBase.swift
[87/143] Compiling OpenCombine ConduitList.swift
[88/143] Compiling OpenCombine DebugHook.swift
[89/143] Compiling OpenCombine FilterProducer.swift
[90/143] Compiling OpenCombine Locking.swift
[91/143] Compiling OpenCombine PartialCompletion.swift
[92/143] Compiling OpenCombine PublishedSubject.swift
[93/143] Compiling OpenCombine PublishedSubscriber.swift
[94/143] Compiling OpenCombine ReduceProducer.swift
[95/143] Compiling OpenCombine SubjectSubscriber.swift
[96/143] Compiling OpenCombine SubscriberTap.swift
[97/143] Compiling OpenCombine SubscriptionStatus.swift
[98/143] Compiling OpenCombine SubscriptionTap.swift
[99/143] Compiling OpenCombine Just.swift
[100/143] Compiling OpenCombine Optional.Publisher.swift
[101/143] Compiling OpenCombine Publishers.AllSatisfy.swift
[102/143] Compiling OpenCombine Publishers.AssertNoFailure.swift
[103/143] Compiling OpenCombine Publishers.Autoconnect.swift
[104/143] Compiling OpenCombine Publishers.Breakpoint.swift
[105/143] Compiling OpenCombine Publishers.Buffer.swift
[106/143] Compiling OpenCombine Publishers.Collect.swift
[107/143] Compiling OpenCombine Publishers.CollectByCount.swift
[108/143] Compiling OpenCombine Publishers.CompactMap.swift
[109/143] Compiling OpenCombine Publishers.Comparison.swift
[110/143] Compiling OpenCombine Publishers.Concatenate.swift
[111/143] Compiling OpenCombine Publishers.Contains.swift
[113/144] Compiling OpenCombine Publishers.Count.swift
[114/144] Compiling OpenCombine Publishers.Debounce.swift
[115/144] Compiling OpenCombine Publishers.Delay.swift
[116/144] Compiling OpenCombine Publishers.Drop.swift
[117/144] Compiling OpenCombine Publishers.DropUntilOutput.swift
[118/144] Compiling OpenCombine Publishers.DropWhile.swift
[119/144] Compiling OpenCombine Publishers.Filter.swift
[120/144] Compiling OpenCombine Publishers.First.swift
[121/144] Compiling OpenCombine Publishers.FlatMap.swift
[122/144] Compiling OpenCombine Publishers.HandleEvents.swift
[123/144] Compiling OpenCombine Publishers.IgnoreOutput.swift
[124/144] Compiling OpenCombine Publishers.Last.swift
[125/144] Compiling OpenCombine Publishers.MakeConnectable.swift
[126/144] Compiling OpenCombine Publishers.Retry.swift
[127/144] Compiling OpenCombine Publishers.Scan.swift
[128/144] Compiling OpenCombine Publishers.Sequence.swift
[129/144] Compiling OpenCombine Publishers.SetFailureType.swift
[130/144] Compiling OpenCombine Publishers.Share.swift
[131/144] Compiling OpenCombine Publishers.SubscribeOn.swift
[132/144] Compiling OpenCombine Publishers.SwitchToLatest.swift
[133/144] Compiling OpenCombine Publishers.Throttle.swift
[134/144] Compiling OpenCombine Publishers.Timeout.swift
[135/144] Compiling OpenCombine Publishers.Zip.swift
[136/144] Compiling OpenCombine Publishers.swift
[137/144] Compiling OpenCombine Record.swift
[138/144] Compiling OpenCombine Result.Publisher.swift
[138/145] Wrapping AST for JavaScriptKit for debugging
[140/145] Wrapping AST for OpenCombine for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[142/149] 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: [:])
[143/149] Compiling OpenCombineJS JSScheduler.swift
[144/149] 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: [:])
[145/149] 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 wasm