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

Failed to build AudioVisualService, reference main (ba75d6), with Swift 5.10 for macOS (SPM) on 11 Dec 2025 02:06:58 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.4.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:             5.10
Building package at path:  $PWD
https://github.com/iankoex/AudioVisualService.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-33747A42983211AE.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/25] Emitting module AudioVisualService
/var/folders/fs/0w3t9t1d28xc3bj0tgb8hcrw0000gn/T/swift-generated-sources/@__swiftmacro_18AudioVisualServiceAAC6player18ObservationTrackedfMp_.swift:1:34: warning: stored property '_player' of 'Sendable'-conforming class 'AudioVisualService' is mutable
@ObservationIgnored private  var _player: AVPlayer?
                                 ^
/var/folders/fs/0w3t9t1d28xc3bj0tgb8hcrw0000gn/T/swift-generated-sources/@__swiftmacro_18AudioVisualServiceAAC6player10ObservablefMr_.swift:1:1: note: in expansion of macro 'ObservationTracked' on property 'player' here
@ObservationTracked
^
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/CacheManager/CacheManager.swift:54:9: warning: stored property 'cachedCodableURLResponse' of 'Sendable'-conforming class 'CacheManager' is mutable
    var cachedCodableURLResponse: CodableURLResponse? = nil
        ^
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/Helpers/CachingPlayerItem.swift:29:20: error: 'Sendable' class 'CachingPlayerItem' cannot inherit from another class other than 'NSObject'
public final class CachingPlayerItem: AVPlayerItem, Sendable {
                   ^
[4/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
        var callbacks = MTAudioProcessingTapCallbacks(
        ~~~~^~~~~~~~~
        _
[5/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
        var callbacks = MTAudioProcessingTapCallbacks(
        ~~~~^~~~~~~~~
        _
[6/27] Compiling AudioVisualService IOSNowPlayableBehavior.swift
[7/27] Compiling AudioVisualService NowPlayable.swift
[8/27] Compiling AudioVisualService DataRequest.swift
[9/27] Compiling AudioVisualService LoadingRequest.swift
[10/27] Compiling AudioVisualService NowPlayableCommand.swift
[11/27] Compiling AudioVisualService NowPlayableError.swift
[12/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 non-isolated context; this is an error in Swift 6
        invalidate()
        ^
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/ResourceLoader.swift:67:17: note: calls to instance method 'invalidate()' from outside of its actor context are implicitly asynchronous
    public func invalidate() {
                ^
[13/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 non-isolated context; this is an error in Swift 6
        invalidate()
        ^
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/ResourceLoader.swift:67:17: note: calls to instance method 'invalidate()' from outside of its actor context are implicitly asynchronous
    public func invalidate() {
                ^
[14/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
    var cachedCodableURLResponse: CodableURLResponse? = nil
        ^
[15/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
    var cachedCodableURLResponse: CodableURLResponse? = nil
        ^
[16/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
    var cachedCodableURLResponse: CodableURLResponse? = nil
        ^
[17/27] Compiling AudioVisualService CacheManager+Data.swift
[18/27] Compiling AudioVisualService CacheManager+DataRange.swift
[19/27] Compiling AudioVisualService CacheManager+Helpers.swift
[20/27] Compiling AudioVisualService NowPlayableMetadata.swift
[21/27] Compiling AudioVisualService ContentInformationRequest.swift
[22/27] Compiling AudioVisualService AudioVisualService.swift
/var/folders/fs/0w3t9t1d28xc3bj0tgb8hcrw0000gn/T/swift-generated-sources/@__swiftmacro_18AudioVisualServiceAAC6player18ObservationTrackedfMp_.swift:1:34: warning: stored property '_player' of 'Sendable'-conforming class 'AudioVisualService' is mutable
@ObservationIgnored private  var _player: AVPlayer?
                                 ^
/var/folders/fs/0w3t9t1d28xc3bj0tgb8hcrw0000gn/T/swift-generated-sources/@__swiftmacro_18AudioVisualServiceAAC6player10ObservablefMr_.swift:1:1: note: in expansion of macro 'ObservationTracked' on property 'player' here
@ObservationTracked
^
[23/27] Compiling AudioVisualService AudioVisualServiceDelegate.swift
/var/folders/fs/0w3t9t1d28xc3bj0tgb8hcrw0000gn/T/swift-generated-sources/@__swiftmacro_18AudioVisualServiceAAC6player18ObservationTrackedfMp_.swift:1:34: warning: stored property '_player' of 'Sendable'-conforming class 'AudioVisualService' is mutable
@ObservationIgnored private  var _player: AVPlayer?
                                 ^
/var/folders/fs/0w3t9t1d28xc3bj0tgb8hcrw0000gn/T/swift-generated-sources/@__swiftmacro_18AudioVisualServiceAAC6player10ObservablefMr_.swift:1:1: note: in expansion of macro 'ObservationTracked' on property 'player' here
@ObservationTracked
^
[24/27] Compiling AudioVisualService CacheManager+CachedResponse.swift
/var/folders/fs/0w3t9t1d28xc3bj0tgb8hcrw0000gn/T/swift-generated-sources/@__swiftmacro_18AudioVisualServiceAAC6player18ObservationTrackedfMp_.swift:1:34: warning: stored property '_player' of 'Sendable'-conforming class 'AudioVisualService' is mutable
@ObservationIgnored private  var _player: AVPlayer?
                                 ^
/var/folders/fs/0w3t9t1d28xc3bj0tgb8hcrw0000gn/T/swift-generated-sources/@__swiftmacro_18AudioVisualServiceAAC6player10ObservablefMr_.swift:1:1: note: in expansion of macro 'ObservationTracked' on property 'player' here
@ObservationTracked
^
[25/27] Compiling AudioVisualService CachingAVURLAsset.swift
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/Helpers/CachingPlayerItem.swift:29:20: error: 'Sendable' class 'CachingPlayerItem' cannot inherit from another class other than 'NSObject'
public final class CachingPlayerItem: AVPlayerItem, Sendable {
                   ^
[26/27] Compiling AudioVisualService CachingPlayerItem.swift
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/Helpers/CachingPlayerItem.swift:29:20: error: 'Sendable' class 'CachingPlayerItem' cannot inherit from another class other than 'NSObject'
public final class CachingPlayerItem: AVPlayerItem, Sendable {
                   ^
[27/27] Compiling AudioVisualService AVS+NowPlayable.swift
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/Helpers/CachingPlayerItem.swift:29:20: error: 'Sendable' class 'CachingPlayerItem' cannot inherit from another class other than 'NSObject'
public final class CachingPlayerItem: AVPlayerItem, Sendable {
                   ^
error: fatalError
BUILD FAILURE 5.10 macosSpm