The Swift Package Index logo.Swift Package Index

Build Information

Successful build of AudioVisualService, reference main (ba75d6), with Swift 6.0 for macOS (SPM) on 11 Dec 2025 02:09:05 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/iankoex/AudioVisualService.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/iankoex/AudioVisualService
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at ba75d6c Add Swift package badges to README
Cloned https://github.com/iankoex/AudioVisualService.git
Revision (git rev-parse @):
ba75d6cc7113c2cc35ac87425a69c495e2acc8b0
SUCCESS checkout https://github.com/iankoex/AudioVisualService.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/iankoex/AudioVisualService.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-5BDAB9E9C0126B9D.txt
[3/25] Emitting module AudioVisualService
macro expansion @ObservationTracked:1:34: warning: stored property '_player' of 'Sendable'-conforming class 'AudioVisualService' is mutable; this is an error in the Swift 6 language mode
`- /Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/AudioVisualService.swift:15:33: note: expanded code originates here
 13 | @Observable
 14 | public final class AudioVisualService: Sendable {
 15 |     public var player: AVPlayer?
    +--- macro expansion @ObservationTracked ---------------------------
    |1 | @ObservationIgnored private  var _player: AVPlayer?
    |  |                                  `- warning: stored property '_player' of 'Sendable'-conforming class 'AudioVisualService' is mutable; this is an error in the Swift 6 language mode
    +-------------------------------------------------------------------
 16 |     public var time: CMTime = .zero
 17 |     public var duration: CMTime = .zero
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/CacheManager/CacheManager.swift:54:9: warning: stored property 'cachedCodableURLResponse' of 'Sendable'-conforming class 'CacheManager' is mutable; this is an error in the Swift 6 language mode
 52 |     /// This property holds the decoded `CodableURLResponse` containing information
 53 |     /// about the video's content length, MIME type, and cached data ranges.
 54 |     var cachedCodableURLResponse: CodableURLResponse? = nil
    |         `- warning: stored property 'cachedCodableURLResponse' of 'Sendable'-conforming class 'CacheManager' is mutable; this is an error in the Swift 6 language mode
 55 |
 56 |     /// The maximum duration to retain cached files before automatic cleanup.
[4/27] Compiling AudioVisualService IOSNowPlayableBehavior.swift
[5/27] Compiling AudioVisualService NowPlayable.swift
[6/27] Compiling AudioVisualService AudioTapProcessor.swift
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/Utilities/AudioTapProcessor.swift:21:13: warning: initialization of variable 'callbacks' was never used; consider replacing with assignment to '_' or removing it
 19 |         super.init()
 20 |
 21 |         var callbacks = MTAudioProcessingTapCallbacks(
    |             `- warning: initialization of variable 'callbacks' was never used; consider replacing with assignment to '_' or removing it
 22 |             version: kMTAudioProcessingTapCallbacksVersion_0,
 23 |             clientInfo: UnsafeMutableRawPointer(Unmanaged.passRetained(self).toOpaque()),
[7/27] Compiling AudioVisualService Preloader.swift
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/Utilities/AudioTapProcessor.swift:21:13: warning: initialization of variable 'callbacks' was never used; consider replacing with assignment to '_' or removing it
 19 |         super.init()
 20 |
 21 |         var callbacks = MTAudioProcessingTapCallbacks(
    |             `- warning: initialization of variable 'callbacks' was never used; consider replacing with assignment to '_' or removing it
 22 |             version: kMTAudioProcessingTapCallbacksVersion_0,
 23 |             clientInfo: UnsafeMutableRawPointer(Unmanaged.passRetained(self).toOpaque()),
[8/27] Compiling AudioVisualService ResourceLoader+Delegate.swift
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/ResourceLoader.swift:59:9: warning: actor-isolated instance method 'invalidate()' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
57 |
58 |     deinit {
59 |         invalidate()
   |         `- warning: actor-isolated instance method 'invalidate()' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
60 |     }
61 |
   :
65 |     /// It ensures that all loading requests are properly completed and any ongoing
66 |     /// network operations are cancelled. The URL session is also invalidated.
67 |     public func invalidate() {
   |                 `- note: calls to instance method 'invalidate()' from outside of its actor context are implicitly asynchronous
68 |         let pendingRequests = pendingRequests
69 |         self.loadingRequests.forEach {
[9/27] Compiling AudioVisualService ResourceLoader.swift
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/ResourceLoader.swift:59:9: warning: actor-isolated instance method 'invalidate()' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
57 |
58 |     deinit {
59 |         invalidate()
   |         `- warning: actor-isolated instance method 'invalidate()' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
60 |     }
61 |
   :
65 |     /// It ensures that all loading requests are properly completed and any ongoing
66 |     /// network operations are cancelled. The URL session is also invalidated.
67 |     public func invalidate() {
   |                 `- note: calls to instance method 'invalidate()' from outside of its actor context are implicitly asynchronous
68 |         let pendingRequests = pendingRequests
69 |         self.loadingRequests.forEach {
[10/27] Compiling AudioVisualService DataRequest.swift
[11/27] Compiling AudioVisualService LoadingRequest.swift
[12/27] Compiling AudioVisualService CachingAVURLAsset.swift
[13/27] Compiling AudioVisualService CachingPlayerItem.swift
[14/27] Compiling AudioVisualService AVS+NowPlayable.swift
[15/27] Compiling AudioVisualService CacheManager+Data.swift
[16/27] Compiling AudioVisualService CacheManager+DataRange.swift
[17/27] Compiling AudioVisualService CacheManager+Helpers.swift
[18/27] Compiling AudioVisualService CacheManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/CacheManager/CacheManager.swift:54:9: warning: stored property 'cachedCodableURLResponse' of 'Sendable'-conforming class 'CacheManager' is mutable; this is an error in the Swift 6 language mode
 52 |     /// This property holds the decoded `CodableURLResponse` containing information
 53 |     /// about the video's content length, MIME type, and cached data ranges.
 54 |     var cachedCodableURLResponse: CodableURLResponse? = nil
    |         `- warning: stored property 'cachedCodableURLResponse' of 'Sendable'-conforming class 'CacheManager' is mutable; this is an error in the Swift 6 language mode
 55 |
 56 |     /// The maximum duration to retain cached files before automatic cleanup.
[19/27] Compiling AudioVisualService CodableURLResponse.swift
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/CacheManager/CacheManager.swift:54:9: warning: stored property 'cachedCodableURLResponse' of 'Sendable'-conforming class 'CacheManager' is mutable; this is an error in the Swift 6 language mode
 52 |     /// This property holds the decoded `CodableURLResponse` containing information
 53 |     /// about the video's content length, MIME type, and cached data ranges.
 54 |     var cachedCodableURLResponse: CodableURLResponse? = nil
    |         `- warning: stored property 'cachedCodableURLResponse' of 'Sendable'-conforming class 'CacheManager' is mutable; this is an error in the Swift 6 language mode
 55 |
 56 |     /// The maximum duration to retain cached files before automatic cleanup.
[20/27] Compiling AudioVisualService URL+md5String.swift
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/CacheManager/CacheManager.swift:54:9: warning: stored property 'cachedCodableURLResponse' of 'Sendable'-conforming class 'CacheManager' is mutable; this is an error in the Swift 6 language mode
 52 |     /// This property holds the decoded `CodableURLResponse` containing information
 53 |     /// about the video's content length, MIME type, and cached data ranges.
 54 |     var cachedCodableURLResponse: CodableURLResponse? = nil
    |         `- warning: stored property 'cachedCodableURLResponse' of 'Sendable'-conforming class 'CacheManager' is mutable; this is an error in the Swift 6 language mode
 55 |
 56 |     /// The maximum duration to retain cached files before automatic cleanup.
[21/27] Compiling AudioVisualService NowPlayableCommand.swift
[22/27] Compiling AudioVisualService NowPlayableError.swift
[23/27] Compiling AudioVisualService NowPlayableMetadata.swift
[24/27] Compiling AudioVisualService ContentInformationRequest.swift
[25/27] Compiling AudioVisualService AudioVisualService.swift
macro expansion @ObservationTracked:1:34: warning: stored property '_player' of 'Sendable'-conforming class 'AudioVisualService' is mutable; this is an error in the Swift 6 language mode
`- /Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/AudioVisualService.swift:15:33: note: expanded code originates here
 13 | @Observable
 14 | public final class AudioVisualService: Sendable {
 15 |     public var player: AVPlayer?
    +--- macro expansion @ObservationTracked ---------------------------
    |1 | @ObservationIgnored private  var _player: AVPlayer?
    |  |                                  `- warning: stored property '_player' of 'Sendable'-conforming class 'AudioVisualService' is mutable; this is an error in the Swift 6 language mode
    +-------------------------------------------------------------------
 16 |     public var time: CMTime = .zero
 17 |     public var duration: CMTime = .zero
[26/27] Compiling AudioVisualService AudioVisualServiceDelegate.swift
macro expansion @ObservationTracked:1:34: warning: stored property '_player' of 'Sendable'-conforming class 'AudioVisualService' is mutable; this is an error in the Swift 6 language mode
`- /Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/AudioVisualService.swift:15:33: note: expanded code originates here
 13 | @Observable
 14 | public final class AudioVisualService: Sendable {
 15 |     public var player: AVPlayer?
    +--- macro expansion @ObservationTracked ---------------------------
    |1 | @ObservationIgnored private  var _player: AVPlayer?
    |  |                                  `- warning: stored property '_player' of 'Sendable'-conforming class 'AudioVisualService' is mutable; this is an error in the Swift 6 language mode
    +-------------------------------------------------------------------
 16 |     public var time: CMTime = .zero
 17 |     public var duration: CMTime = .zero
[27/27] Compiling AudioVisualService CacheManager+CachedResponse.swift
macro expansion @ObservationTracked:1:34: warning: stored property '_player' of 'Sendable'-conforming class 'AudioVisualService' is mutable; this is an error in the Swift 6 language mode
`- /Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/AudioVisualService.swift:15:33: note: expanded code originates here
 13 | @Observable
 14 | public final class AudioVisualService: Sendable {
 15 |     public var player: AVPlayer?
    +--- macro expansion @ObservationTracked ---------------------------
    |1 | @ObservationIgnored private  var _player: AVPlayer?
    |  |                                  `- warning: stored property '_player' of 'Sendable'-conforming class 'AudioVisualService' is mutable; this is an error in the Swift 6 language mode
    +-------------------------------------------------------------------
 16 |     public var time: CMTime = .zero
 17 |     public var duration: CMTime = .zero
Build complete! (11.55s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "AudioVisualService",
  "name" : "AudioVisualService",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "AudioVisualService",
      "targets" : [
        "AudioVisualService"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "AudioVisualServiceTests",
      "module_type" : "SwiftTarget",
      "name" : "AudioVisualServiceTests",
      "path" : "Tests/AudioVisualServiceTests",
      "sources" : [
        "CachingPlayerItemTests.swift"
      ],
      "target_dependencies" : [
        "AudioVisualService"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AudioVisualService",
      "module_type" : "SwiftTarget",
      "name" : "AudioVisualService",
      "path" : "Sources/AudioVisualService",
      "product_memberships" : [
        "AudioVisualService"
      ],
      "sources" : [
        "AudioVisualService.swift",
        "AudioVisualServiceDelegate.swift",
        "CacheManager/CacheManager+CachedResponse.swift",
        "CacheManager/CacheManager+Data.swift",
        "CacheManager/CacheManager+DataRange.swift",
        "CacheManager/CacheManager+Helpers.swift",
        "CacheManager/CacheManager.swift",
        "CacheManager/CodableURLResponse.swift",
        "Extensions/URL+md5String.swift",
        "Helpers/CachingAVURLAsset.swift",
        "Helpers/CachingPlayerItem.swift",
        "NowPlayable/AVS+NowPlayable.swift",
        "NowPlayable/IOSNowPlayableBehavior.swift",
        "NowPlayable/NowPlayable.swift",
        "NowPlayable/NowPlayableCommand.swift",
        "NowPlayable/NowPlayableError.swift",
        "NowPlayable/NowPlayableMetadata.swift",
        "ResourceLoaderDelegate/ContentInformationRequest.swift",
        "ResourceLoaderDelegate/DataRequest.swift",
        "ResourceLoaderDelegate/LoadingRequest.swift",
        "ResourceLoaderDelegate/ResourceLoader+Delegate.swift",
        "ResourceLoaderDelegate/ResourceLoader.swift",
        "Utilities/AudioTapProcessor.swift",
        "Utilities/Preloader.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.8"
}
Done.