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 CombineExt, reference main (d7b896), with Swift 6.0 for macOS (SPM) on 2 Nov 2024 18:18:08 UTC.

Swift 6 data race errors: 2

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/CombineCommunity/CombineExt.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/CombineCommunity/CombineExt
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at d7b896f Remove exported Foundation import to fix DocC builds
Cloned https://github.com/CombineCommunity/CombineExt.git
Revision (git rev-parse @):
d7b896fa9ca8b47fa7bcde6b43ef9b70bf8c1f56
SUCCESS checkout https://github.com/CombineCommunity/CombineExt.git at main
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
Fetching https://github.com/pointfreeco/combine-schedulers
[1/2347] Fetching combine-schedulers
[424/7332] Fetching combine-schedulers, xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (1.45s)
Fetched https://github.com/pointfreeco/combine-schedulers from cache (1.45s)
Computing version for https://github.com/pointfreeco/combine-schedulers
Computed https://github.com/pointfreeco/combine-schedulers at 0.11.0 (0.64s)
Fetching https://github.com/pointfreeco/swift-concurrency-extras
[1/758] Fetching swift-concurrency-extras
Fetched https://github.com/pointfreeco/swift-concurrency-extras from cache (1.05s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 0.9.0 (0.64s)
Computing version for https://github.com/pointfreeco/swift-concurrency-extras
Computed https://github.com/pointfreeco/swift-concurrency-extras at 0.1.2 (0.63s)
Creating working copy for https://github.com/pointfreeco/combine-schedulers
Working copy of https://github.com/pointfreeco/combine-schedulers resolved at 0.11.0
Creating working copy for https://github.com/pointfreeco/swift-concurrency-extras
Working copy of https://github.com/pointfreeco/swift-concurrency-extras resolved at 0.1.2
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 0.9.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "combineext",
      "name": "CombineExt",
      "url": "https://github.com/CombineCommunity/CombineExt.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/CombineExt",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/CombineCommunity/CombineExt.git
[1/2222] Fetching combineext
Fetched https://github.com/CombineCommunity/CombineExt.git from cache (1.01s)
Creating working copy for https://github.com/CombineCommunity/CombineExt.git
Working copy of https://github.com/CombineCommunity/CombineExt.git resolved at main (d7b896f)
warning: '.resolve-product-dependencies': dependency 'combineext' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/CombineCommunity/CombineExt.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/39] Emitting module CombineExt
/Users/admin/builder/spi-builder-workspace/Sources/Operators/Internal/Timer.swift:164:28: warning: generic parameter 'S' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 78 |     ///     XCTAssertEqual(output, Array(0...1_001))
 79 |     ///
 80 |     internal final class Timer<S: Scheduler>: ConnectablePublisher {
    |                                `- note: 'S' previously declared here
 81 |       internal typealias Output = S.SchedulerTimeType
 82 |       internal typealias Failure = Never
    :
162 |         }
163 |
164 |         func addSubscriber<S: Subscriber>(_ sub: S)
    |                            `- warning: generic parameter 'S' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
165 |         where
166 |           S.Failure == Failure,
/Users/admin/builder/spi-builder-workspace/Sources/Operators/Internal/Timer.swift:232:29: warning: generic parameter 'S' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 78 |     ///     XCTAssertEqual(output, Array(0...1_001))
 79 |     ///
 80 |     internal final class Timer<S: Scheduler>: ConnectablePublisher {
    |                                `- note: 'S' previously declared here
 81 |       internal typealias Output = S.SchedulerTimeType
 82 |       internal typealias Failure = Never
    :
230 |       }
231 |
232 |       internal func receive<S: Subscriber>(subscriber: S)
    |                             `- warning: generic parameter 'S' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
233 |       where Failure == S.Failure, Output == S.Input {
234 |         routingSubscription.addSubscriber(subscriber)
[4/43] Compiling CombineExt MapMany.swift
[5/43] Compiling CombineExt MapToResult.swift
[6/43] Compiling CombineExt MapToValue.swift
[7/43] Compiling CombineExt Materialize.swift
[8/43] Compiling CombineExt ObjectOwnership.swift
[9/43] Compiling CombineExt Amb.swift
[10/43] Compiling CombineExt AssignOwnership.swift
[11/43] Compiling CombineExt AssignToMany.swift
[12/43] Compiling CombineExt FilterMany.swift
[13/43] Compiling CombineExt FlatMapBatches.swift
[14/43] Compiling CombineExt FlatMapFirst.swift
[15/43] Compiling CombineExt FlatMapLatest.swift
[16/43] Compiling CombineExt IgnoreFailure.swift
/Users/admin/builder/spi-builder-workspace/Sources/Operators/Internal/Timer.swift:164:28: warning: generic parameter 'S' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 78 |     ///     XCTAssertEqual(output, Array(0...1_001))
 79 |     ///
 80 |     internal final class Timer<S: Scheduler>: ConnectablePublisher {
    |                                `- note: 'S' previously declared here
 81 |       internal typealias Output = S.SchedulerTimeType
 82 |       internal typealias Failure = Never
    :
162 |         }
163 |
164 |         func addSubscriber<S: Subscriber>(_ sub: S)
    |                            `- warning: generic parameter 'S' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
165 |         where
166 |           S.Failure == Failure,
/Users/admin/builder/spi-builder-workspace/Sources/Operators/Internal/Timer.swift:232:29: warning: generic parameter 'S' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 78 |     ///     XCTAssertEqual(output, Array(0...1_001))
 79 |     ///
 80 |     internal final class Timer<S: Scheduler>: ConnectablePublisher {
    |                                `- note: 'S' previously declared here
 81 |       internal typealias Output = S.SchedulerTimeType
 82 |       internal typealias Failure = Never
    :
230 |       }
231 |
232 |       internal func receive<S: Subscriber>(subscriber: S)
    |                             `- warning: generic parameter 'S' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
233 |       where Failure == S.Failure, Output == S.Input {
234 |         routingSubscription.addSubscriber(subscriber)
[17/43] Compiling CombineExt IgnoreOutputSetOutputType.swift
/Users/admin/builder/spi-builder-workspace/Sources/Operators/Internal/Timer.swift:164:28: warning: generic parameter 'S' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 78 |     ///     XCTAssertEqual(output, Array(0...1_001))
 79 |     ///
 80 |     internal final class Timer<S: Scheduler>: ConnectablePublisher {
    |                                `- note: 'S' previously declared here
 81 |       internal typealias Output = S.SchedulerTimeType
 82 |       internal typealias Failure = Never
    :
162 |         }
163 |
164 |         func addSubscriber<S: Subscriber>(_ sub: S)
    |                            `- warning: generic parameter 'S' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
165 |         where
166 |           S.Failure == Failure,
/Users/admin/builder/spi-builder-workspace/Sources/Operators/Internal/Timer.swift:232:29: warning: generic parameter 'S' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 78 |     ///     XCTAssertEqual(output, Array(0...1_001))
 79 |     ///
 80 |     internal final class Timer<S: Scheduler>: ConnectablePublisher {
    |                                `- note: 'S' previously declared here
 81 |       internal typealias Output = S.SchedulerTimeType
 82 |       internal typealias Failure = Never
    :
230 |       }
231 |
232 |       internal func receive<S: Subscriber>(subscriber: S)
    |                             `- warning: generic parameter 'S' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
233 |       where Failure == S.Failure, Output == S.Input {
234 |         routingSubscription.addSubscriber(subscriber)
[18/43] Compiling CombineExt Lock.swift
/Users/admin/builder/spi-builder-workspace/Sources/Operators/Internal/Timer.swift:164:28: warning: generic parameter 'S' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 78 |     ///     XCTAssertEqual(output, Array(0...1_001))
 79 |     ///
 80 |     internal final class Timer<S: Scheduler>: ConnectablePublisher {
    |                                `- note: 'S' previously declared here
 81 |       internal typealias Output = S.SchedulerTimeType
 82 |       internal typealias Failure = Never
    :
162 |         }
163 |
164 |         func addSubscriber<S: Subscriber>(_ sub: S)
    |                            `- warning: generic parameter 'S' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
165 |         where
166 |           S.Failure == Failure,
/Users/admin/builder/spi-builder-workspace/Sources/Operators/Internal/Timer.swift:232:29: warning: generic parameter 'S' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 78 |     ///     XCTAssertEqual(output, Array(0...1_001))
 79 |     ///
 80 |     internal final class Timer<S: Scheduler>: ConnectablePublisher {
    |                                `- note: 'S' previously declared here
 81 |       internal typealias Output = S.SchedulerTimeType
 82 |       internal typealias Failure = Never
    :
230 |       }
231 |
232 |       internal func receive<S: Subscriber>(subscriber: S)
    |                             `- warning: generic parameter 'S' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
233 |       where Failure == S.Failure, Output == S.Input {
234 |         routingSubscription.addSubscriber(subscriber)
[19/43] Compiling CombineExt Timer.swift
/Users/admin/builder/spi-builder-workspace/Sources/Operators/Internal/Timer.swift:164:28: warning: generic parameter 'S' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 78 |     ///     XCTAssertEqual(output, Array(0...1_001))
 79 |     ///
 80 |     internal final class Timer<S: Scheduler>: ConnectablePublisher {
    |                                `- note: 'S' previously declared here
 81 |       internal typealias Output = S.SchedulerTimeType
 82 |       internal typealias Failure = Never
    :
162 |         }
163 |
164 |         func addSubscriber<S: Subscriber>(_ sub: S)
    |                            `- warning: generic parameter 'S' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
165 |         where
166 |           S.Failure == Failure,
/Users/admin/builder/spi-builder-workspace/Sources/Operators/Internal/Timer.swift:232:29: warning: generic parameter 'S' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 78 |     ///     XCTAssertEqual(output, Array(0...1_001))
 79 |     ///
 80 |     internal final class Timer<S: Scheduler>: ConnectablePublisher {
    |                                `- note: 'S' previously declared here
 81 |       internal typealias Output = S.SchedulerTimeType
 82 |       internal typealias Failure = Never
    :
230 |       }
231 |
232 |       internal func receive<S: Subscriber>(subscriber: S)
    |                             `- warning: generic parameter 'S' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
233 |       where Failure == S.Failure, Output == S.Input {
234 |         routingSubscription.addSubscriber(subscriber)
[20/43] Compiling CombineExt ShareReplay.swift
[21/43] Compiling CombineExt Toggle.swift
[22/43] Compiling CombineExt WithLatestFrom.swift
[23/43] Compiling CombineExt ZipMany.swift
[24/43] Compiling CombineExt MergeMany.swift
[25/43] Compiling CombineExt Nwise.swift
[26/43] Compiling CombineExt Partition.swift
[27/43] Compiling CombineExt PrefixDuration.swift
[28/43] Compiling CombineExt PrefixWhileBehavior.swift
[29/43] Compiling CombineExt RemoveAllDuplicates.swift
[30/43] Compiling CombineExt RetryWhen.swift
[31/43] Compiling CombineExt SetOutputType.swift
[32/43] Compiling CombineExt CombineLatestMany.swift
[33/43] Compiling CombineExt Create.swift
[34/43] Compiling CombineExt Dematerialize.swift
[35/43] Compiling CombineExt Enumerated.swift
[36/43] Compiling CombineExt DemandBuffer.swift
[37/43] Compiling CombineExt Sink.swift
[38/43] Compiling CombineExt Optional.swift
[39/43] Compiling CombineExt Event.swift
[40/43] Compiling CombineExt CurrentValueRelay.swift
[41/43] Compiling CombineExt PassthroughRelay.swift
[42/43] Compiling CombineExt Relay.swift
[43/43] Compiling CombineExt ReplaySubject.swift
Build complete! (15.91s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "combine-schedulers",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.8.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/pointfreeco/combine-schedulers"
    }
  ],
  "manifest_display_name" : "CombineExt",
  "name" : "CombineExt",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "10.0"
    },
    {
      "name" : "macos",
      "version" : "10.12"
    },
    {
      "name" : "watchos",
      "version" : "3.0"
    }
  ],
  "products" : [
    {
      "name" : "CombineExt",
      "targets" : [
        "CombineExt"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "CombineExtTests",
      "module_type" : "SwiftTarget",
      "name" : "CombineExtTests",
      "path" : "Tests",
      "product_dependencies" : [
        "CombineSchedulers"
      ],
      "sources" : [
        "AmbTests.swift",
        "AssignOwnershipTests.swift",
        "AssignToManyTests.swift",
        "CombineLatestManyTests.swift",
        "CreateTests.swift",
        "CurrentValueRelayTests.swift",
        "DematerializeTests.swift",
        "EnumeratedTests.swift",
        "FilterManyTests.swift",
        "FlatMapBatchesTests.swift",
        "FlatMapFirstTests.swift",
        "FlatMapLatestTests.swift",
        "IgnoreFailureTests.swift",
        "IgnoreOutputSetOutputTypeTests.swift",
        "MapManyTests.swift",
        "MapToResultTests.swift",
        "MapToValueTests.swift",
        "MaterializeTests.swift",
        "MergeManyTests.swift",
        "NwiseTests.swift",
        "OptionalTests.swift",
        "PartitionTests.swift",
        "PassthroughRelayTests.swift",
        "PrefixDurationTests.swift",
        "PrefixWhileBehaviorTests.swift",
        "RemoveAllDuplicatesTests.swift",
        "ReplaySubjectTests.swift",
        "RetryWhenTests.swift",
        "SetOutputTypeTests.swift",
        "ShareReplayTests.swift",
        "ToggleTests.swift",
        "WithLatestFromTests.swift",
        "ZipManyTests.swift"
      ],
      "target_dependencies" : [
        "CombineExt"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CombineExt",
      "module_type" : "SwiftTarget",
      "name" : "CombineExt",
      "path" : "Sources",
      "product_memberships" : [
        "CombineExt"
      ],
      "sources" : [
        "Common/DemandBuffer.swift",
        "Common/Sink.swift",
        "Convenience/Optional.swift",
        "Models/Event.swift",
        "Models/ObjectOwnership.swift",
        "Operators/Amb.swift",
        "Operators/AssignOwnership.swift",
        "Operators/AssignToMany.swift",
        "Operators/CombineLatestMany.swift",
        "Operators/Create.swift",
        "Operators/Dematerialize.swift",
        "Operators/Enumerated.swift",
        "Operators/FilterMany.swift",
        "Operators/FlatMapBatches.swift",
        "Operators/FlatMapFirst.swift",
        "Operators/FlatMapLatest.swift",
        "Operators/IgnoreFailure.swift",
        "Operators/IgnoreOutputSetOutputType.swift",
        "Operators/Internal/Lock.swift",
        "Operators/Internal/Timer.swift",
        "Operators/MapMany.swift",
        "Operators/MapToResult.swift",
        "Operators/MapToValue.swift",
        "Operators/Materialize.swift",
        "Operators/MergeMany.swift",
        "Operators/Nwise.swift",
        "Operators/Partition.swift",
        "Operators/PrefixDuration.swift",
        "Operators/PrefixWhileBehavior.swift",
        "Operators/RemoveAllDuplicates.swift",
        "Operators/RetryWhen.swift",
        "Operators/SetOutputType.swift",
        "Operators/ShareReplay.swift",
        "Operators/Toggle.swift",
        "Operators/WithLatestFrom.swift",
        "Operators/ZipMany.swift",
        "Relays/CurrentValueRelay.swift",
        "Relays/PassthroughRelay.swift",
        "Relays/Relay.swift",
        "Subjects/ReplaySubject.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Done.