This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of OpenCombineJS with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swiftwasm/OpenCombineJS.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
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:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/swiftwasm/OpenCombineJS.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/11] Write sources
[3/11] Write OpenCombineJSExample-entitlement.plist
[5/11] Write swift-version-6F35C1178C84523A.txt
[6/11] Compiling _CJavaScriptKit _CJavaScriptKit.c
[7/30] Compiling COpenCombineHelpers COpenCombineHelpers.cpp
[9/123] Compiling OpenCombine ConduitList.swift
[10/123] Compiling OpenCombine DebugHook.swift
[11/123] Compiling OpenCombine FilterProducer.swift
[12/123] Compiling OpenCombine Locking.swift
[13/124] Compiling OpenCombine Publishers.Map.swift
[14/124] Compiling OpenCombine Publishers.MapError.swift
[15/124] Compiling OpenCombine PartialCompletion.swift
[16/124] Compiling OpenCombine PublishedSubject.swift
[17/124] Compiling OpenCombine Publishers.MeasureInterval.swift
[18/124] Compiling OpenCombine Publishers.Multicast.swift
[19/124] Compiling OpenCombine Publishers.Output.swift
[20/124] Compiling OpenCombine Publishers.PrefixUntilOutput.swift
[21/124] Compiling OpenCombine Publishers.Last.swift
[22/124] Compiling OpenCombine Publishers.MakeConnectable.swift
[23/124] Emitting module JavaScriptKit
[24/124] Compiling OpenCombine Future.swift
[25/124] Compiling OpenCombine ConduitBase.swift
[26/124] Compiling OpenCombine Publishers.PrefixWhile.swift
[27/124] Compiling OpenCombine Publishers.Print.swift
[28/124] Compiling OpenCombine SubscriberTap.swift
[29/124] Compiling OpenCombine SubscriptionStatus.swift
[30/124] Compiling OpenCombine SubscriptionTap.swift
[31/124] Compiling OpenCombine Utils.swift
[32/124] Compiling OpenCombine Violations.swift
[33/124] Compiling OpenCombine ImmediateScheduler.swift
[34/124] Compiling OpenCombine ObservableObject.swift
[35/124] Compiling OpenCombine PassthroughSubject.swift
[36/124] Compiling OpenCombine Published.swift
[37/124] Compiling OpenCombine Publisher.swift
[38/134] Emitting module OpenCombine
[39/134] Compiling JavaScriptKit XcodeSupport.swift
[40/134] Compiling OpenCombine AnyCancellable.swift
[41/134] Compiling OpenCombine AnyPublisher.swift
[42/134] Compiling OpenCombine AnySubscriber.swift
[43/134] Compiling OpenCombine Cancellable.swift
[44/134] Compiling OpenCombine Codable.swift
[45/134] Compiling OpenCombine CombineIdentifier.swift
[46/134] Compiling OpenCombine Future+Concurrency.swift
[47/134] Compiling OpenCombine GENERATED-Publisher+Concurrency.swift
[48/134] Compiling OpenCombine ConnectablePublisher.swift
[49/134] Compiling OpenCombine CurrentValueSubject.swift
[50/134] Compiling OpenCombine CustomCombineIdentifierConvertible.swift
[59/134] Compiling OpenCombine PublishedSubscriber.swift
[60/134] Compiling OpenCombine ReduceProducer.swift
[61/134] Compiling OpenCombine SubjectSubscriber.swift
[72/134] Compiling OpenCombine Publishers.ReceiveOn.swift
[73/134] Compiling OpenCombine Publishers.Reduce.swift
[74/134] Compiling OpenCombine Publishers.RemoveDuplicates.swift
[75/134] Compiling OpenCombine Publishers.ReplaceEmpty.swift
[76/134] Compiling OpenCombine Publishers.ReplaceError.swift
[77/134] Compiling OpenCombine Publishers.Retry.swift
[78/134] Compiling OpenCombine Publishers.Scan.swift
[79/134] Compiling OpenCombine Publishers.Sequence.swift
[80/134] Compiling OpenCombine Publishers.SetFailureType.swift
[81/134] Compiling OpenCombine Publishers.Share.swift
[82/134] Compiling OpenCombine Publishers.Debounce.swift
[83/134] Compiling OpenCombine Publishers.Delay.swift
[84/134] Compiling OpenCombine Publishers.Drop.swift
[85/134] Compiling OpenCombine Publishers.DropUntilOutput.swift
[86/134] Compiling OpenCombine Publishers.DropWhile.swift
[87/134] Compiling OpenCombine Publishers.Filter.swift
[88/134] Compiling OpenCombine Publishers.First.swift
[89/134] Compiling OpenCombine Publishers.FlatMap.swift
[90/134] Compiling OpenCombine Publishers.HandleEvents.swift
[91/134] Compiling OpenCombine Publishers.IgnoreOutput.swift
[92/134] Compiling OpenCombine Publishers.SubscribeOn.swift
[93/134] Compiling OpenCombine Publishers.SwitchToLatest.swift
[94/134] Compiling OpenCombine Publishers.Throttle.swift
[95/134] Compiling OpenCombine Publishers.Timeout.swift
[96/134] Compiling OpenCombine Publishers.Zip.swift
[97/134] Compiling OpenCombine Publishers.swift
[98/134] Compiling OpenCombine Record.swift
[99/134] Compiling OpenCombine Result.Publisher.swift
[100/134] Compiling OpenCombine Result.swift
[101/134] Compiling OpenCombine Scheduler.swift
[102/134] Compiling OpenCombine Subject.swift
[103/134] Compiling OpenCombine Subscriber.swift
[104/134] Compiling OpenCombine Subscribers.Assign.swift
[105/134] Compiling OpenCombine Subscribers.Completion.swift
[106/134] Compiling OpenCombine Subscribers.Demand.swift
[107/134] Compiling OpenCombine Subscribers.Sink.swift
[108/134] Compiling OpenCombine Subscribers.swift
[109/134] Compiling OpenCombine Subscription.swift
[110/134] Compiling OpenCombine Subscriptions.swift
[111/134] Compiling OpenCombine _Introspection.swift
[112/134] Compiling OpenCombine Deferred.swift
[113/134] Compiling OpenCombine Empty.swift
[114/134] Compiling OpenCombine Fail.swift
[115/134] Compiling OpenCombine GENERATED-Publishers.Catch.swift
[116/134] Compiling OpenCombine GENERATED-Publishers.Encode.swift
[117/134] Compiling OpenCombine GENERATED-Publishers.MapKeyPath.swift
[118/134] Compiling OpenCombine Just.swift
[119/134] Compiling OpenCombine Optional.Publisher.swift
[120/134] Compiling OpenCombine Publishers.AllSatisfy.swift
[121/134] Compiling OpenCombine Publishers.AssertNoFailure.swift
[122/134] Compiling OpenCombine Publishers.Autoconnect.swift
[123/134] Compiling OpenCombine Publishers.Breakpoint.swift
[124/134] Compiling OpenCombine Publishers.Buffer.swift
[125/134] Compiling OpenCombine Publishers.Collect.swift
[126/134] Compiling OpenCombine Publishers.CollectByCount.swift
[127/134] Compiling OpenCombine Publishers.CompactMap.swift
[128/134] Compiling OpenCombine Publishers.Comparison.swift
[129/134] Compiling OpenCombine Publishers.Concatenate.swift
[130/134] Compiling OpenCombine Publishers.Contains.swift
[131/134] Compiling OpenCombine Publishers.Count.swift
[132/138] Compiling OpenCombineJS JSValueDecoder.swift
/Users/admin/builder/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: [:])
[133/138] Compiling OpenCombineJS JSPromise.swift
[134/138] Emitting module OpenCombineJS
/Users/admin/builder/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: [:])
[135/138] Compiling OpenCombineJS JSScheduler.swift
[136/140] Emitting module OpenCombineJSExample
/Users/admin/builder/spi-builder-workspace/.build/checkouts/JavaScriptKit/Sources/JavaScriptKit/FundamentalObjects/JSObject.swift:112:23: warning: class property 'global' is not concurrency-safe because non-'Sendable' type 'JSObject' may have shared mutable state; this is an error in the Swift 6 language mode
 16 | /// reference counting system.
 17 | @dynamicMemberLookup
 18 | public class JSObject: Equatable {
    |              `- note: class 'JSObject' does not conform to the 'Sendable' protocol
 19 |     internal var id: JavaScriptObjectRef
 20 |     init(id: JavaScriptObjectRef) {
    :
110 |     /// A `JSObject` of the global scope object.
111 |     /// This allows access to the global properties and global names by accessing the `JSObject` returned.
112 |     public static let global = JSObject(id: _JS_Predef_Value_Global)
    |                       |- warning: class property 'global' is not concurrency-safe because non-'Sendable' type 'JSObject' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'global' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
113 |
114 |     deinit { _release(id) }
[137/140] Compiling OpenCombineJSExample main.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/JavaScriptKit/Sources/JavaScriptKit/FundamentalObjects/JSObject.swift:112:23: warning: class property 'global' is not concurrency-safe because non-'Sendable' type 'JSObject' may have shared mutable state; this is an error in the Swift 6 language mode
 16 | /// reference counting system.
 17 | @dynamicMemberLookup
 18 | public class JSObject: Equatable {
    |              `- note: class 'JSObject' does not conform to the 'Sendable' protocol
 19 |     internal var id: JavaScriptObjectRef
 20 |     init(id: JavaScriptObjectRef) {
    :
110 |     /// A `JSObject` of the global scope object.
111 |     /// This allows access to the global properties and global names by accessing the `JSObject` returned.
112 |     public static let global = JSObject(id: _JS_Predef_Value_Global)
    |                       |- warning: class property 'global' is not concurrency-safe because non-'Sendable' type 'JSObject' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'global' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
113 |
114 |     deinit { _release(id) }
/Users/admin/builder/spi-builder-workspace/Sources/OpenCombineJSExample/main.swift:7:13: warning: main actor-isolated let 'jsFetch' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
 3 | import OpenCombineJS
 4 |
 5 | private let jsFetch = JSObject.global.fetch.function!
   |             `- note: let declared here
 6 | func fetch(_ url: String) -> JSPromise {
   |      `- note: add '@MainActor' to make global function 'fetch' part of global actor 'MainActor'
 7 |   JSPromise(jsFetch(url).object!)!
   |             `- warning: main actor-isolated let 'jsFetch' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
 8 | }
 9 |
[137/140] Write Objects.LinkFileList
[138/140] Linking OpenCombineJSExample
[139/140] Applying OpenCombineJSExample
Build complete! (23.02s)
Fetching https://github.com/OpenCombine/OpenCombine.git
Fetching https://github.com/swiftwasm/JavaScriptKit.git
[1/20468] Fetching javascriptkit
[2/28736] Fetching javascriptkit, opencombine
Fetched https://github.com/OpenCombine/OpenCombine.git from cache (1.54s)
Fetched https://github.com/swiftwasm/JavaScriptKit.git from cache (1.54s)
Computing version for https://github.com/OpenCombine/OpenCombine.git
Computed https://github.com/OpenCombine/OpenCombine.git at 0.13.0 (0.78s)
Computing version for https://github.com/swiftwasm/JavaScriptKit.git
Computed https://github.com/swiftwasm/JavaScriptKit.git at 0.13.0 (0.69s)
Creating working copy for https://github.com/swiftwasm/JavaScriptKit.git
Working copy of https://github.com/swiftwasm/JavaScriptKit.git resolved at 0.13.0
Creating working copy for https://github.com/OpenCombine/OpenCombine.git
Working copy of https://github.com/OpenCombine/OpenCombine.git resolved at 0.13.0
Build complete.
{
  "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" : "/Users/admin/builder/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"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.