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 Wasm on 28 May 2025 05:42:14 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 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:         wasm
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-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/swiftwasm/JavaScriptKit.git
Fetching https://github.com/OpenCombine/OpenCombine.git
[1/8280] Fetching opencombine
[664/31693] Fetching opencombine, javascriptkit
Fetched https://github.com/OpenCombine/OpenCombine.git from cache (0.96s)
Fetched https://github.com/swiftwasm/JavaScriptKit.git from cache (0.96s)
Computing version for https://github.com/OpenCombine/OpenCombine.git
Computed https://github.com/OpenCombine/OpenCombine.git at 0.14.0 (1.51s)
Computing version for https://github.com/swiftwasm/JavaScriptKit.git
Computed https://github.com/swiftwasm/JavaScriptKit.git at 0.29.0 (0.60s)
Fetching https://github.com/swiftlang/swift-syntax
[1/70448] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (4.82s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 600.0.1 (5.47s)
Creating working copy for https://github.com/swiftwasm/JavaScriptKit.git
Working copy of https://github.com/swiftwasm/JavaScriptKit.git resolved at 0.29.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/15] Write sources
[7/15] Compiling _CJavaScriptKit _CJavaScriptKit.c
[8/15] Write swift-version-24593BA9C3E375BF.txt
[10/129] Emitting module OpenCombine
[11/141] Compiling OpenCombine Result.swift
[12/141] Compiling OpenCombine Scheduler.swift
[13/141] Compiling OpenCombine Subject+Void.swift
[14/141] Compiling OpenCombine Subscriber+Void.swift
[15/141] Compiling OpenCombine Subscribers.Assign.swift
[16/141] Compiling OpenCombine Subscribers.Completion.swift
[17/141] Compiling OpenCombine Subscribers.Demand.swift
[18/141] Compiling OpenCombine Subscribers.Sink.swift
[19/141] Compiling OpenCombine Subscribers.swift
[20/141] Compiling OpenCombine Subscription.swift
[21/141] Compiling OpenCombine Subscriptions.swift
[22/141] Compiling OpenCombine _Introspection.swift
[23/141] 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
[24/141] 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
[25/141] Compiling OpenCombine SubscriberTap.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/141] Compiling OpenCombine SubscriptionStatus.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/141] Compiling OpenCombine Publishers.MeasureInterval.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/141] Compiling OpenCombine Publishers.Multicast.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
[29/141] Compiling OpenCombine Publishers.Output.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
[30/141] 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
[31/141] 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
[32/141] 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
[33/141] Compiling OpenCombine SubscriptionTap.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/141] Compiling OpenCombine Publishers.Map.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/141] Compiling OpenCombine Publishers.MapError.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/143] 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
[37/143] 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
[38/143] 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
[44/143] Compiling OpenCombine Publishers.PrefixUntilOutput.swift
[45/143] Compiling OpenCombine Publishers.PrefixWhile.swift
[46/143] Compiling OpenCombine Publishers.Print.swift
[47/143] Compiling JavaScriptKit Macros.swift
[48/143] Compiling JavaScriptKit ThreadLocal.swift
[49/143] Compiling OpenCombine Publishers.RemoveDuplicates.swift
[50/143] Compiling OpenCombine Publishers.ReplaceEmpty.swift
[51/143] Compiling OpenCombine Publishers.ReplaceError.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
<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
<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
[55/143] 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
[56/143] 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
[57/143] 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
[58/143] Compiling OpenCombine Utils.swift
[59/143] Compiling OpenCombine Violations.swift
[60/143] Compiling OpenCombine ImmediateScheduler.swift
[61/143] Compiling OpenCombine ObservableObject.swift
[62/143] Compiling OpenCombine PassthroughSubject.swift
[63/143] Compiling OpenCombine Published.swift
[64/143] Compiling OpenCombine Publisher+Subscribe.swift
[65/143] Compiling OpenCombine Deferred.swift
[66/143] Compiling OpenCombine Empty.swift
[67/143] Compiling OpenCombine Fail.swift
[68/143] Compiling OpenCombine GENERATED-Publishers.Catch.swift
[69/143] Compiling OpenCombine GENERATED-Publishers.Encode.swift
[70/143] Compiling OpenCombine GENERATED-Publishers.MapKeyPath.swift
[84/143] Compiling OpenCombine Publishers.Count.swift
[85/143] Compiling OpenCombine Publishers.Debounce.swift
[86/143] Compiling OpenCombine Publishers.Delay.swift
[87/143] Compiling OpenCombine Publishers.Drop.swift
[88/143] Compiling OpenCombine Publishers.DropUntilOutput.swift
[89/143] Compiling OpenCombine Publishers.DropWhile.swift
[90/143] Compiling OpenCombine Publishers.Filter.swift
[91/143] Compiling OpenCombine Publishers.First.swift
[92/143] Compiling OpenCombine Publishers.FlatMap.swift
[93/143] Compiling OpenCombine Publishers.HandleEvents.swift
[94/143] Compiling OpenCombine Publishers.IgnoreOutput.swift
[95/143] Compiling OpenCombine Publishers.Last.swift
[96/143] Compiling OpenCombine Publishers.MakeConnectable.swift
[97/143] Compiling OpenCombine AnyCancellable.swift
[98/143] Compiling OpenCombine AnyPublisher.swift
[99/143] Compiling OpenCombine AnySubscriber.swift
[100/143] Compiling OpenCombine Cancellable.swift
[101/143] Compiling OpenCombine Codable.swift
[102/143] Compiling OpenCombine CombineIdentifier.swift
[103/143] Compiling OpenCombine ConcurrencyHelpers.swift
[104/143] Compiling OpenCombine Future+Concurrency.swift
[105/143] Compiling OpenCombine GENERATED-Publisher+Concurrency.swift
[106/143] Compiling OpenCombine CurrentValueSubject.swift
[107/143] Compiling OpenCombine CustomCombineIdentifierConvertible.swift
[108/143] Compiling OpenCombine Future.swift
[109/143] Compiling OpenCombine GENERATED-RootProtocols.swift
[110/143] Compiling OpenCombine Just.swift
[111/143] Compiling OpenCombine Optional.Publisher.swift
[112/143] Compiling OpenCombine Publishers.AllSatisfy.swift
[113/143] Compiling OpenCombine Publishers.AssertNoFailure.swift
[114/143] Compiling OpenCombine Publishers.Autoconnect.swift
[115/143] Compiling OpenCombine Publishers.Breakpoint.swift
[116/143] Compiling OpenCombine Publishers.Buffer.swift
[117/143] Compiling OpenCombine Publishers.Collect.swift
[118/143] Compiling OpenCombine Publishers.CollectByCount.swift
[119/143] Compiling OpenCombine Publishers.CompactMap.swift
[120/143] Compiling OpenCombine Publishers.Comparison.swift
[121/143] Compiling OpenCombine Publishers.Concatenate.swift
[122/143] Compiling OpenCombine Publishers.Contains.swift
[123/143] Compiling OpenCombine Publishers.Retry.swift
[124/143] Compiling OpenCombine Publishers.Scan.swift
[125/143] Compiling OpenCombine Publishers.Sequence.swift
[126/143] Compiling OpenCombine Publishers.SetFailureType.swift
[127/143] Compiling OpenCombine Publishers.Share.swift
[128/143] Compiling OpenCombine Publishers.SubscribeOn.swift
[129/143] Compiling OpenCombine Publishers.SwitchToLatest.swift
[130/143] Compiling OpenCombine Publishers.Throttle.swift
[131/143] Compiling OpenCombine Publishers.Timeout.swift
[132/143] Compiling OpenCombine Publishers.Zip.swift
[133/143] Compiling OpenCombine Publishers.swift
[134/143] Compiling OpenCombine Record.swift
[135/143] Compiling OpenCombine Result.Publisher.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
<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
[139/145] Wrapping AST for OpenCombine for debugging
[140/145] Wrapping AST for JavaScriptKit 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 |         })
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-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] Emitting module JavaScriptKit
[6/124] Compiling OpenCombine ConcurrencyHelpers.swift
[7/124] Compiling OpenCombine Future+Concurrency.swift
[8/124] Compiling OpenCombine GENERATED-Publisher+Concurrency.swift
[9/126] Compiling OpenCombine AnyCancellable.swift
[10/126] Compiling OpenCombine AnyPublisher.swift
[11/126] Compiling OpenCombine AnySubscriber.swift
[12/126] Compiling OpenCombine Cancellable.swift
[13/126] Compiling OpenCombine Codable.swift
[14/126] Compiling OpenCombine CombineIdentifier.swift
[15/126] Compiling JavaScriptKit Macros.swift
[16/126] Compiling JavaScriptKit ThreadLocal.swift
[17/126] Compiling OpenCombine GENERATED-RootProtocols.swift
[18/126] Compiling OpenCombine ConduitBase.swift
[19/126] Compiling OpenCombine ConduitList.swift
[20/126] Compiling OpenCombine CurrentValueSubject.swift
[21/126] Compiling OpenCombine CustomCombineIdentifierConvertible.swift
[22/126] Compiling OpenCombine Future.swift
[23/126] Compiling OpenCombine DebugHook.swift
[24/126] Compiling OpenCombine FilterProducer.swift
[25/126] Compiling OpenCombine Locking.swift
[26/126] Compiling OpenCombine PartialCompletion.swift
[27/126] Compiling OpenCombine PublishedSubject.swift
[28/126] Compiling OpenCombine PublishedSubscriber.swift
[30/127] Emitting module OpenCombine
[44/138] Compiling OpenCombine Publishers.Map.swift
[45/138] Compiling OpenCombine Publishers.MapError.swift
[46/138] Compiling OpenCombine Publishers.MeasureInterval.swift
[47/138] Compiling OpenCombine Publishers.Multicast.swift
[48/138] Compiling OpenCombine Publishers.Output.swift
[49/138] Compiling OpenCombine Publishers.PrefixUntilOutput.swift
[50/138] Compiling OpenCombine Publishers.PrefixWhile.swift
[51/138] Compiling OpenCombine Publishers.Print.swift
[52/138] Compiling OpenCombine Publishers.ReceiveOn.swift
[53/138] Compiling OpenCombine Publishers.Reduce.swift
[54/138] Compiling OpenCombine Publishers.RemoveDuplicates.swift
[55/138] Compiling OpenCombine Publishers.ReplaceEmpty.swift
[56/138] Compiling OpenCombine Publishers.ReplaceError.swift
[67/138] Compiling OpenCombine SubscriberTap.swift
[68/138] Compiling OpenCombine SubscriptionStatus.swift
[69/138] Compiling OpenCombine SubscriptionTap.swift
[70/138] Compiling OpenCombine Result.swift
[71/138] Compiling OpenCombine Scheduler.swift
[72/138] Compiling OpenCombine Subject+Void.swift
[73/138] Compiling OpenCombine Subscriber+Void.swift
[74/138] Compiling OpenCombine Subscribers.Assign.swift
[75/138] Compiling OpenCombine Subscribers.Completion.swift
[76/138] Compiling OpenCombine Subscribers.Demand.swift
[77/138] Compiling OpenCombine Subscribers.Sink.swift
[78/138] Compiling OpenCombine Subscribers.swift
[79/138] Compiling OpenCombine Subscription.swift
[80/138] Compiling OpenCombine Subscriptions.swift
[81/138] Compiling OpenCombine _Introspection.swift
[82/138] Compiling OpenCombine Utils.swift
[83/138] Compiling OpenCombine Violations.swift
[84/138] Compiling OpenCombine ImmediateScheduler.swift
[85/138] Compiling OpenCombine ObservableObject.swift
[86/138] Compiling OpenCombine PassthroughSubject.swift
[87/138] Compiling OpenCombine Published.swift
[88/138] Compiling OpenCombine Publisher+Subscribe.swift
[89/138] Compiling OpenCombine Deferred.swift
[90/138] Compiling OpenCombine Empty.swift
[91/138] Compiling OpenCombine Fail.swift
[92/138] Compiling OpenCombine GENERATED-Publishers.Catch.swift
[93/138] Compiling OpenCombine GENERATED-Publishers.Encode.swift
[94/138] Compiling OpenCombine GENERATED-Publishers.MapKeyPath.swift
[95/138] Compiling OpenCombine Publishers.Count.swift
[96/138] Compiling OpenCombine Publishers.Debounce.swift
[97/138] Compiling OpenCombine Publishers.Delay.swift
[98/138] Compiling OpenCombine Publishers.Drop.swift
[99/138] Compiling OpenCombine Publishers.DropUntilOutput.swift
[100/138] Compiling OpenCombine Publishers.DropWhile.swift
[101/138] Compiling OpenCombine Publishers.Filter.swift
[102/138] Compiling OpenCombine Publishers.First.swift
[103/138] Compiling OpenCombine Publishers.FlatMap.swift
[104/138] Compiling OpenCombine Publishers.HandleEvents.swift
[105/138] Compiling OpenCombine Publishers.IgnoreOutput.swift
[106/138] Compiling OpenCombine Publishers.Last.swift
[107/138] Compiling OpenCombine Publishers.MakeConnectable.swift
[108/138] Compiling OpenCombine Just.swift
[109/138] Compiling OpenCombine Optional.Publisher.swift
[110/138] Compiling OpenCombine Publishers.AllSatisfy.swift
[111/138] Compiling OpenCombine Publishers.AssertNoFailure.swift
[112/138] Compiling OpenCombine Publishers.Autoconnect.swift
[113/138] Compiling OpenCombine Publishers.Breakpoint.swift
[114/138] Compiling OpenCombine Publishers.Buffer.swift
[115/138] Compiling OpenCombine Publishers.Collect.swift
[116/138] Compiling OpenCombine Publishers.CollectByCount.swift
[117/138] Compiling OpenCombine Publishers.CompactMap.swift
[118/138] Compiling OpenCombine Publishers.Comparison.swift
[119/138] Compiling OpenCombine Publishers.Concatenate.swift
[120/138] Compiling OpenCombine Publishers.Contains.swift
[121/138] Compiling OpenCombine Publishers.Retry.swift
[122/138] Compiling OpenCombine Publishers.Scan.swift
[123/138] Compiling OpenCombine Publishers.Sequence.swift
[124/138] Compiling OpenCombine Publishers.SetFailureType.swift
[125/138] Compiling OpenCombine Publishers.Share.swift
[126/138] Compiling OpenCombine Publishers.SubscribeOn.swift
[127/138] Compiling OpenCombine Publishers.SwitchToLatest.swift
[128/138] Compiling OpenCombine Publishers.Throttle.swift
[129/138] Compiling OpenCombine Publishers.Timeout.swift
[130/138] Compiling OpenCombine Publishers.Zip.swift
[131/138] Compiling OpenCombine Publishers.swift
[132/138] Compiling OpenCombine Record.swift
[133/138] Compiling OpenCombine Result.Publisher.swift
[134/139] Wrapping AST for OpenCombine for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[136/143] 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: [:])
[137/143] Compiling OpenCombineJS JSScheduler.swift
[138/143] 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: [:])
[139/143] 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.1 wasm