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, reference master (543df2), with Swift 6.0 for macOS (SPM) on 28 Nov 2024 01:43:53 UTC.

Swift 6 data race errors: 0

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 -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: 4.58.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
========================================
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": "avfoundation-combine",
      "name": "AVFoundationCombine",
      "url": "https://github.com/jozsef-vesza/AVFoundation-Combine.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/AVFoundation-Combine",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/jozsef-vesza/AVFoundation-Combine.git
[1/1302] Fetching avfoundation-combine
Fetched https://github.com/jozsef-vesza/AVFoundation-Combine.git from cache (0.97s)
Creating working copy for https://github.com/jozsef-vesza/AVFoundation-Combine.git
Working copy of https://github.com/jozsef-vesza/AVFoundation-Combine.git resolved at master (543df26)
warning: '.resolve-product-dependencies': dependency 'avfoundation-combine' 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/jozsef-vesza/AVFoundation-Combine.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 -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/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.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 AVPlayer+Publishers.swift
[5/8] Compiling AVFoundationCombine AVPlayerItem+Publishers.swift
[6/8] Emitting module AVFoundationCombine
[7/8] Compiling AVFoundationCombine AVAsset+commonMetadata.swift
[8/8] Compiling AVFoundationCombine AVMetadataKey+Typed.swift
Build complete! (11.55s)
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.