The Swift Package Index logo.Swift Package Index

Build Information

Successful build of CombineExtensions, reference main (fc80f3), with Swift 6.1 for macOS (SPM) on 19 Jul 2026 00:18:58 UTC.

Swift 6 data race errors: 2

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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

Build Log

========================================
RunAll
========================================
Builder version: undefined version: run 'make version' to update
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/shareup/combine-extensions.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/shareup/combine-extensions
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at fc80f31 Add WallClockScheduler (#32)
Cloned https://github.com/shareup/combine-extensions.git
Revision (git rev-parse @):
fc80f31fc9f6fdc3c8a9763f8b4feacff2452743
SUCCESS checkout https://github.com/shareup/combine-extensions.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/shareup/combine-extensions.git
https://github.com/shareup/combine-extensions.git
{
  "dependencies" : [
    {
      "identity" : "synchronized",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.0.0",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/shareup/synchronized.git"
    }
  ],
  "manifest_display_name" : "CombineExtensions",
  "name" : "CombineExtensions",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "tvos",
      "version" : "14.0"
    },
    {
      "name" : "watchos",
      "version" : "7.0"
    }
  ],
  "products" : [
    {
      "name" : "CombineExtensions",
      "targets" : [
        "CombineExtensions"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "CombineTestExtensions",
      "targets" : [
        "CombineTestExtensions"
      ],
      "type" : {
        "library" : [
          "dynamic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CombineTestExtensions",
      "module_type" : "SwiftTarget",
      "name" : "CombineTestExtensions",
      "path" : "Sources/CombineTestExtensions",
      "product_memberships" : [
        "CombineTestExtensions"
      ],
      "sources" : [
        "Publisher+Test.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CombineExtensionsTests",
      "module_type" : "SwiftTarget",
      "name" : "CombineExtensionsTests",
      "path" : "Tests/CombineExtensionsTests",
      "sources" : [
        "AgainAtTests.swift",
        "AnyConnectablePublisherTests.swift",
        "BufferPassthroughSubjectTests.swift",
        "DistinctTests.swift",
        "EnumeratedTests.swift",
        "InputStreamPublisherTests.swift",
        "KeyedSubscriptionStoreTests.swift",
        "MulticastLatestTests.swift",
        "OnCancelTests.swift",
        "OutputStreamPublisherTests.swift",
        "PublisherSinkTests.swift",
        "PublisherTestExtensionsTests.swift",
        "ReduceLatestTests.swift",
        "RetryIfTests.swift",
        "SingleSubscriptionStoreTests.swift",
        "TestSchedulerTests.swift",
        "ThrottleWhileTests.swift",
        "UISchedulerTests.swift",
        "WallClockSchedulerTests.swift"
      ],
      "target_dependencies" : [
        "CombineExtensions",
        "CombineTestExtensions"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CombineExtensions",
      "module_type" : "SwiftTarget",
      "name" : "CombineExtensions",
      "path" : "Sources/CombineExtensions",
      "product_dependencies" : [
        "Synchronized"
      ],
      "product_memberships" : [
        "CombineExtensions"
      ],
      "sources" : [
        "AgainAt.swift",
        "AnyConnectablePublisher.swift",
        "BufferPassthroughSubject.swift",
        "Distinct.swift",
        "Enumerated.swift",
        "InputStreamPublisher.swift",
        "KeyedSubscriptionStore.swift",
        "MulticastLatest.swift",
        "OnCancel.swift",
        "OutputStreamPublisher.swift",
        "Publisher+Sink.swift",
        "ReduceLatest.swift",
        "RetryIf.swift",
        "SingleSubscriptionStore.swift",
        "TestScheduler.swift",
        "ThrottleWhile.swift",
        "UIScheduler.swift",
        "WallClockScheduler.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
Building for debugging...
[0/6] Write sources
[3/6] Write swift-version-2F0A5646E1D333AE.txt
[5/12] Emitting module Synchronized
[6/12] Compiling Synchronized RecursiveLock.swift
[7/12] Compiling Synchronized Lock.swift
[8/12] Compiling Synchronized Locked.swift
[9/30] Compiling CombineExtensions OnCancel.swift
[10/30] Compiling CombineExtensions OutputStreamPublisher.swift
[11/30] Compiling CombineExtensions KeyedSubscriptionStore.swift
[12/30] Compiling CombineExtensions MulticastLatest.swift
[13/30] Compiling CombineExtensions Enumerated.swift
[14/30] Compiling CombineExtensions InputStreamPublisher.swift
[15/30] Compiling CombineExtensions RetryIf.swift
[16/30] Compiling CombineExtensions SingleSubscriptionStore.swift
[17/31] Compiling CombineExtensions TestScheduler.swift
[18/31] Compiling CombineExtensions ThrottleWhile.swift
[19/31] Compiling CombineExtensions BufferPassthroughSubject.swift
[20/31] Compiling CombineExtensions Distinct.swift
[21/31] Compiling CombineExtensions UIScheduler.swift
/Users/admin/builder/spi-builder-workspace/Sources/CombineExtensions/UIScheduler.swift:16:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'UIScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
 7 | /// https://github.com/pointfreeco/combine-schedulers/blob/main/Sources/CombineSchedulers/UIScheduler.swift
 8 | ///
 9 | public struct UIScheduler: Scheduler {
   |               `- note: consider making struct 'UIScheduler' conform to the 'Sendable' protocol
10 |     public typealias SchedulerOptions = Never
11 |     public typealias SchedulerTimeType = DispatchQueue.SchedulerTimeType
   :
14 |     ///
15 |     /// You cannot create instances of the UI scheduler yourself. Use only the shared instance.
16 |     public static let shared = Self()
   |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'UIScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 |     public var now: SchedulerTimeType { DispatchQueue.main.now }
/Users/admin/builder/spi-builder-workspace/Sources/CombineExtensions/UIScheduler.swift:65:13: warning: var 'setSpecific' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
63 | private let key = DispatchSpecificKey<UInt8>()
64 | private let value: UInt8 = 0
65 | private var setSpecific: () = { DispatchQueue.main.setSpecific(key: key, value: value) }()
   |             |- warning: var 'setSpecific' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: convert 'setSpecific' to a 'let' constant to make 'Sendable' shared state immutable
   |             |- note: add '@MainActor' to make var 'setSpecific' part of global actor 'MainActor'
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
66 |
[22/31] Compiling CombineExtensions Publisher+Sink.swift
[23/31] Compiling CombineExtensions ReduceLatest.swift
[24/31] Emitting module CombineExtensions
/Users/admin/builder/spi-builder-workspace/Sources/CombineExtensions/UIScheduler.swift:16:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'UIScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
 7 | /// https://github.com/pointfreeco/combine-schedulers/blob/main/Sources/CombineSchedulers/UIScheduler.swift
 8 | ///
 9 | public struct UIScheduler: Scheduler {
   |               `- note: consider making struct 'UIScheduler' conform to the 'Sendable' protocol
10 |     public typealias SchedulerOptions = Never
11 |     public typealias SchedulerTimeType = DispatchQueue.SchedulerTimeType
   :
14 |     ///
15 |     /// You cannot create instances of the UI scheduler yourself. Use only the shared instance.
16 |     public static let shared = Self()
   |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'UIScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 |     public var now: SchedulerTimeType { DispatchQueue.main.now }
/Users/admin/builder/spi-builder-workspace/Sources/CombineExtensions/UIScheduler.swift:65:13: warning: var 'setSpecific' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
63 | private let key = DispatchSpecificKey<UInt8>()
64 | private let value: UInt8 = 0
65 | private var setSpecific: () = { DispatchQueue.main.setSpecific(key: key, value: value) }()
   |             |- warning: var 'setSpecific' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: convert 'setSpecific' to a 'let' constant to make 'Sendable' shared state immutable
   |             |- note: add '@MainActor' to make var 'setSpecific' part of global actor 'MainActor'
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
66 |
[25/31] Compiling CombineExtensions AgainAt.swift
[26/31] Compiling CombineExtensions AnyConnectablePublisher.swift
[27/31] Compiling CombineExtensions WallClockScheduler.swift
/Users/admin/builder/spi-builder-workspace/Sources/CombineExtensions/WallClockScheduler.swift:68:13: warning: capture of 'action' with non-sendable type '() -> Void' in a '@Sendable' closure
 66 |         ) {
 67 |             defer { options.group?.leave() }
 68 |             action()
    |             |- warning: capture of 'action' with non-sendable type '() -> Void' in a '@Sendable' closure
    |             `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 69 |         }
 70 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CombineExtensions/WallClockScheduler.swift:100:13: warning: capture of 'action' with non-sendable type '() -> Void' in a '@Sendable' closure
 98 |         ) {
 99 |             defer { options.group?.leave() }
100 |             action()
    |             |- warning: capture of 'action' with non-sendable type '() -> Void' in a '@Sendable' closure
    |             `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
101 |         }
102 |     }
[28/31] Emitting module CombineTestExtensions
[29/31] Compiling CombineTestExtensions Publisher+Test.swift
[29/31] Write Objects.LinkFileList
[30/31] Linking libCombineTestExtensions.dylib
Build complete! (12.16s)
Fetching https://github.com/shareup/synchronized.git
[1/226] Fetching synchronized
Fetched https://github.com/shareup/synchronized.git from cache (0.64s)
Computing version for https://github.com/shareup/synchronized.git
Computed https://github.com/shareup/synchronized.git at 4.0.1 (1.24s)
Creating working copy for https://github.com/shareup/synchronized.git
Working copy of https://github.com/shareup/synchronized.git resolved at 4.0.1
Build complete.
{
  "dependencies" : [
    {
      "identity" : "synchronized",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.0.0",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/shareup/synchronized.git"
    }
  ],
  "manifest_display_name" : "CombineExtensions",
  "name" : "CombineExtensions",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "tvos",
      "version" : "14.0"
    },
    {
      "name" : "watchos",
      "version" : "7.0"
    }
  ],
  "products" : [
    {
      "name" : "CombineExtensions",
      "targets" : [
        "CombineExtensions"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "CombineTestExtensions",
      "targets" : [
        "CombineTestExtensions"
      ],
      "type" : {
        "library" : [
          "dynamic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CombineTestExtensions",
      "module_type" : "SwiftTarget",
      "name" : "CombineTestExtensions",
      "path" : "Sources/CombineTestExtensions",
      "product_memberships" : [
        "CombineTestExtensions"
      ],
      "sources" : [
        "Publisher+Test.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CombineExtensionsTests",
      "module_type" : "SwiftTarget",
      "name" : "CombineExtensionsTests",
      "path" : "Tests/CombineExtensionsTests",
      "sources" : [
        "AgainAtTests.swift",
        "AnyConnectablePublisherTests.swift",
        "BufferPassthroughSubjectTests.swift",
        "DistinctTests.swift",
        "EnumeratedTests.swift",
        "InputStreamPublisherTests.swift",
        "KeyedSubscriptionStoreTests.swift",
        "MulticastLatestTests.swift",
        "OnCancelTests.swift",
        "OutputStreamPublisherTests.swift",
        "PublisherSinkTests.swift",
        "PublisherTestExtensionsTests.swift",
        "ReduceLatestTests.swift",
        "RetryIfTests.swift",
        "SingleSubscriptionStoreTests.swift",
        "TestSchedulerTests.swift",
        "ThrottleWhileTests.swift",
        "UISchedulerTests.swift",
        "WallClockSchedulerTests.swift"
      ],
      "target_dependencies" : [
        "CombineExtensions",
        "CombineTestExtensions"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CombineExtensions",
      "module_type" : "SwiftTarget",
      "name" : "CombineExtensions",
      "path" : "Sources/CombineExtensions",
      "product_dependencies" : [
        "Synchronized"
      ],
      "product_memberships" : [
        "CombineExtensions"
      ],
      "sources" : [
        "AgainAt.swift",
        "AnyConnectablePublisher.swift",
        "BufferPassthroughSubject.swift",
        "Distinct.swift",
        "Enumerated.swift",
        "InputStreamPublisher.swift",
        "KeyedSubscriptionStore.swift",
        "MulticastLatest.swift",
        "OnCancel.swift",
        "OutputStreamPublisher.swift",
        "Publisher+Sink.swift",
        "ReduceLatest.swift",
        "RetryIf.swift",
        "SingleSubscriptionStore.swift",
        "TestScheduler.swift",
        "ThrottleWhile.swift",
        "UIScheduler.swift",
        "WallClockScheduler.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Done.