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 AVFoundationCombine with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 0

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/jozsef-vesza/AVFoundation-Combine.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/jozsef-vesza/AVFoundation-Combine
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 543df26 Merge pull request #39 from jozsef-vesza/update-readme-badges
Cloned https://github.com/jozsef-vesza/AVFoundation-Combine.git
Revision (git rev-parse @):
543df269c7c97bcb92978998998c033cd6ef1803
SUCCESS checkout https://github.com/jozsef-vesza/AVFoundation-Combine.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/jozsef-vesza/AVFoundation-Combine.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/2] Write sources
[1/2] Write swift-version-6F35C1178C84523A.txt
[3/8] Compiling AVFoundationCombine PlayheadProgressPublisher.swift
/Users/admin/builder/spi-builder-workspace/Sources/AVFoundationCombine/Publishers/PlayheadProgressPublisher.swift:66:17: warning: capture of 'self' with non-sendable type 'Publishers.PlayheadProgressSubscription<S>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
36 |     }
37 |
38 |     private final class PlayheadProgressSubscription<S: Subscriber>: Subscription where S.Input == TimeInterval {
   |                         `- note: generic class 'PlayheadProgressSubscription' does not conform to the 'Sendable' protocol
39 |         private var subscriber: S?
40 |         private var requested: Subscribers.Demand = .none
   :
64 |             let interval = CMTime(seconds: self.interval, preferredTimescale: CMTimeScale(NSEC_PER_SEC))
65 |             timeObserverToken = player.addPeriodicTimeObserver(forInterval: interval, queue: DispatchQueue.main) { [weak self] time in
66 |                 self?.sendValue(time)
   |                 `- warning: capture of 'self' with non-sendable type 'Publishers.PlayheadProgressSubscription<S>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
67 |             }
68 |         }
[4/8] Compiling AVFoundationCombine AVPlayerItem+Publishers.swift
[5/8] Compiling AVFoundationCombine AVPlayer+Publishers.swift
/Users/admin/builder/spi-builder-workspace/Sources/AVFoundationCombine/Extensions/AVPlayer+Publishers.swift:28:26: warning: cannot form key path to main actor-isolated property 'rate'; this is an error in the Swift 6 language mode
26 |     /// Wrapper around a `NSObject.KeyValueObservingPublisher` for the `rate` property
27 |     func ratePublisher() -> AnyPublisher<Float, Never> {
28 |         publisher(for: \.rate).eraseToAnyPublisher()
   |                          `- warning: cannot form key path to main actor-isolated property 'rate'; this is an error in the Swift 6 language mode
29 |     }
30 |
[6/8] Compiling AVFoundationCombine AVMetadataKey+Typed.swift
[7/8] Emitting module AVFoundationCombine
[8/8] Compiling AVFoundationCombine AVAsset+commonMetadata.swift
Build complete! (30.02s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "AVFoundationCombine",
  "name" : "AVFoundationCombine",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "AVFoundationCombine",
      "targets" : [
        "AVFoundationCombine"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "AVFoundationCombineTests",
      "module_type" : "SwiftTarget",
      "name" : "AVFoundationCombineTests",
      "path" : "Tests/AVFoundationCombineTests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/AVFoundationCombineTests/Resources/Copy/commonKeysSample.mp3",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "AVAsset+CommonMetadataTests.swift",
        "AVPlayerItem+PublishersTests.swift",
        "PlayheadProgressPublisherTests.swift",
        "TestSubscriber.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "AVFoundationCombine"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AVFoundationCombine",
      "module_type" : "SwiftTarget",
      "name" : "AVFoundationCombine",
      "path" : "Sources/AVFoundationCombine",
      "product_memberships" : [
        "AVFoundationCombine"
      ],
      "sources" : [
        "Extensions/AVAsset+commonMetadata.swift",
        "Extensions/AVMetadataKey+Typed.swift",
        "Extensions/AVPlayer+Publishers.swift",
        "Extensions/AVPlayerItem+Publishers.swift",
        "Publishers/PlayheadProgressPublisher.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.