The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of AudioVisualService, reference 0.0.1 (3a3d27), with Swift 6.2 for macOS (SPM) on 10 Dec 2025 17:53:20 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.0.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: 0.0.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/iankoex/AudioVisualService
 * tag               0.0.1      -> FETCH_HEAD
HEAD is now at 3a3d275 update readme and release
Cloned https://github.com/iankoex/AudioVisualService.git
Revision (git rev-parse @):
3a3d2755a22ae8dbc1ae887d746f2325efdde3cd
SUCCESS checkout https://github.com/iankoex/AudioVisualService.git at 0.0.1
========================================
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": "audiovisualservice",
      "name": "AudioVisualService",
      "url": "https://github.com/iankoex/AudioVisualService.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/AudioVisualService",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/iankoex/AudioVisualService.git
[1/242] Fetching audiovisualservice
Fetched https://github.com/iankoex/AudioVisualService.git from cache (0.76s)
Creating working copy for https://github.com/iankoex/AudioVisualService.git
Working copy of https://github.com/iankoex/AudioVisualService.git resolved at 0.0.1 (3a3d275)
warning: '.resolve-product-dependencies': dependency 'audiovisualservice' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/iankoex/AudioVisualService.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-49B95AFC49DCD68C.txt
[3/18] Compiling AudioVisualService CodableURLResponse.swift
[4/18] Compiling AudioVisualService CachingAVURLAsset.swift
[5/18] Compiling AudioVisualService CacheManager+Helpers.swift
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/CacheManager/CacheManager+Helpers.swift:79:44: warning: instance method 'makeIterator' is unavailable from asynchronous contexts; this is an error in the Swift 6 language mode
77 |
78 |             var cacheFiles: [(fileURL: URL, modificationDate: Date)] = []
79 |             for case let fileURL as URL in enumerator {
   |                                            `- warning: instance method 'makeIterator' is unavailable from asynchronous contexts; this is an error in the Swift 6 language mode
80 |                 guard let resourceValues = try? fileURL.resourceValues(forKeys: Set(resourceKeys)) else { continue }
81 |                 guard resourceValues.isDirectory == false else { continue }
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/CacheManager/CacheManager.swift:53:9: warning: stored property 'cachedCodableURLResponse' of 'Sendable'-conforming class 'CacheManager' is mutable; this is an error in the Swift 6 language mode
 51 |     /// This property holds the decoded `CodableURLResponse` containing information
 52 |     /// about the video's content length, MIME type, and cached data ranges.
 53 |     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
 54 |
 55 |     /// The maximum duration to retain cached files before automatic cleanup.
[6/18] Compiling AudioVisualService CacheManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/CacheManager/CacheManager+Helpers.swift:79:44: warning: instance method 'makeIterator' is unavailable from asynchronous contexts; this is an error in the Swift 6 language mode
77 |
78 |             var cacheFiles: [(fileURL: URL, modificationDate: Date)] = []
79 |             for case let fileURL as URL in enumerator {
   |                                            `- warning: instance method 'makeIterator' is unavailable from asynchronous contexts; this is an error in the Swift 6 language mode
80 |                 guard let resourceValues = try? fileURL.resourceValues(forKeys: Set(resourceKeys)) else { continue }
81 |                 guard resourceValues.isDirectory == false else { continue }
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/CacheManager/CacheManager.swift:53:9: warning: stored property 'cachedCodableURLResponse' of 'Sendable'-conforming class 'CacheManager' is mutable; this is an error in the Swift 6 language mode
 51 |     /// This property holds the decoded `CodableURLResponse` containing information
 52 |     /// about the video's content length, MIME type, and cached data ranges.
 53 |     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
 54 |
 55 |     /// The maximum duration to retain cached files before automatic cleanup.
[7/18] Compiling AudioVisualService DataRequest.swift
[8/18] Compiling AudioVisualService ResourceLoader+Delegate.swift
[9/18] Compiling AudioVisualService Preloader.swift
[10/18] Compiling AudioVisualService ContentInformationRequest.swift
[11/18] Compiling AudioVisualService LoadingRequest.swift
[12/19] Compiling AudioVisualService AudioVisualServiceDelegate.swift
[13/19] Compiling AudioVisualService CacheManager+CachedResponse.swift
[14/19] Compiling AudioVisualService CacheManager+Data.swift
[15/19] Compiling AudioVisualService CacheManager+DataRange.swift
[16/19] Emitting module AudioVisualService
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/CacheManager/CacheManager.swift:53:9: warning: stored property 'cachedCodableURLResponse' of 'Sendable'-conforming class 'CacheManager' is mutable; this is an error in the Swift 6 language mode
 51 |     /// This property holds the decoded `CodableURLResponse` containing information
 52 |     /// about the video's content length, MIME type, and cached data ranges.
 53 |     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
 54 |
 55 |     /// The maximum duration to retain cached files before automatic cleanup.
[17/19] Compiling AudioVisualService CachingPlayerItem.swift
[18/19] Compiling AudioVisualService URL+md5String.swift
[19/19] Compiling AudioVisualService ResourceLoader.swift
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/ResourceLoader.swift:58: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
56 |
57 |     deinit {
58 |         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
59 |     }
60 |
   :
64 |     /// It ensures that all loading requests are properly completed and any ongoing
65 |     /// network operations are cancelled. The URL session is also invalidated.
66 |     public func invalidate() {
   |                 `- note: calls to instance method 'invalidate()' from outside of its actor context are implicitly asynchronous
67 |         let pendingRequests = pendingRequests
68 |         self.loadingRequests.forEach {
Build complete! (9.17s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "AudioVisualService",
  "name" : "AudioVisualService",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "macos",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "14.0"
    },
    {
      "name" : "watchos",
      "version" : "7.0"
    }
  ],
  "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" : [
        "AudioVisualServiceDelegate.swift",
        "CacheManager/CacheManager+CachedResponse.swift",
        "CacheManager/CacheManager+Data.swift",
        "CacheManager/CacheManager+DataRange.swift",
        "CacheManager/CacheManager+Helpers.swift",
        "CacheManager/CacheManager.swift",
        "CacheManager/CodableURLResponse.swift",
        "CachingAVURLAsset.swift",
        "CachingPlayerItem.swift",
        "Extensions/URL+md5String.swift",
        "Preloader.swift",
        "ResourceLoaderDelegate/ContentInformationRequest.swift",
        "ResourceLoaderDelegate/DataRequest.swift",
        "ResourceLoaderDelegate/LoadingRequest.swift",
        "ResourceLoaderDelegate/ResourceLoader+Delegate.swift",
        "ResourceLoaderDelegate/ResourceLoader.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.8"
}
Done.