Build Information
Successful build of AudioVisualService, reference 0.0.1 (3a3d27), with Swift 6.1 for macOS (SPM) on 10 Dec 2025 17:56:19 UTC.
Swift 6 data race errors: 1
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.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 InferSendableFromCapturesBuild 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
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/iankoex/AudioVisualService.git
https://github.com/iankoex/AudioVisualService.git
{
"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"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.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-2F0A5646E1D333AE.txt
[3/18] Compiling AudioVisualService DataRequest.swift
[4/18] Compiling AudioVisualService Preloader.swift
[5/18] Compiling AudioVisualService ContentInformationRequest.swift
[6/18] Compiling AudioVisualService LoadingRequest.swift
[7/18] Compiling AudioVisualService ResourceLoader+Delegate.swift
[8/19] Compiling AudioVisualService CodableURLResponse.swift
[9/19] Compiling AudioVisualService CachingAVURLAsset.swift
[10/19] Compiling AudioVisualService AudioVisualServiceDelegate.swift
[11/19] Compiling AudioVisualService CacheManager+CachedResponse.swift
[12/19] 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; 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; 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.
[13/19] 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; 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; 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.
[14/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.
[15/19] Compiling AudioVisualService CachingPlayerItem.swift
[16/19] Compiling AudioVisualService URL+md5String.swift
[17/19] Compiling AudioVisualService CacheManager+Data.swift
[18/19] Compiling AudioVisualService CacheManager+DataRange.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.19s)
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.