Build Information
Successful build of whisperkit, reference v0.18.0 (e2adab), with Swift 6.1 for macOS (SPM) on 20 Apr 2026 01:51:39 UTC.
Swift 6 data race errors: 2
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
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[164/269] Compiling Crypto MessageAuthenticationCode.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[165/269] Compiling Crypto AES.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[166/269] Compiling Crypto ECDSASignature_boring.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[167/269] Compiling Crypto ECDSA_boring.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[168/269] Compiling Crypto EdDSA_boring.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[169/269] Compiling Crypto MLDSA_boring.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[170/269] Compiling Crypto MLDSA_wrapper.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[171/269] Compiling Crypto ECDSA.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[172/269] Compiling Crypto Ed25519.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[173/269] Compiling Crypto MLDSA.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[174/269] Compiling Crypto Signature.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[175/269] Compiling Crypto CryptoKitErrors_boring.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[176/269] Compiling Crypto Optional+withUnsafeBytes_boring.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[177/269] Compiling Crypto RNG_boring.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[178/269] Compiling Crypto SafeCompare_boring.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[179/269] Compiling Crypto Zeroization_boring.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[180/269] Compiling Crypto PrettyBytes.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[181/269] Compiling Crypto SafeCompare.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[182/269] Compiling Crypto SecureBytes.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[183/269] Compiling Crypto Zeroization.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[184/269] Compiling Crypto resource_bundle_accessor.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[226/269] Compiling Crypto AESWrap.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[227/269] Compiling Crypto AESWrap_boring.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[228/269] Compiling Crypto Ed25519_boring.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[229/269] Compiling Crypto NISTCurvesKeys_boring.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[230/269] Compiling Crypto X25519Keys_boring.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[231/269] Compiling Crypto Curve25519.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[242/269] Compiling Jinja Utilities.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[245/270] Compiling Jinja Tests.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[246/270] Compiling Jinja PropertyMembers.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[247/270] Compiling Jinja Token.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[248/270] Compiling Jinja Template.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[264/270] Compiling Jinja Value.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[267/270] Emitting module Jinja
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[268/278] Compiling Hub resource_bundle_accessor.swift
[269/278] Compiling Hub YYJSONParser.swift
[270/278] Compiling Hub BinaryDistinct.swift
[271/278] Compiling Hub Config.swift
[272/278] Compiling Hub Downloader.swift
[273/278] Emitting module Hub
[274/278] Compiling Hub Hub.swift
[275/278] Compiling Hub HubApi.swift
[276/303] Compiling Tokenizers Trie.swift
[277/304] Compiling ArgmaxCore ArgmaxCoreError.swift
[278/304] Compiling ArgmaxCore ConcurrencyUtilities.swift
[279/304] Emitting module Tokenizers
[280/304] Compiling ArgmaxCore FloatType.swift
[281/304] Compiling ArgmaxCore FoundationExtensions.swift
[282/304] Compiling Tokenizers Normalizer.swift
[283/304] Compiling Tokenizers UnigramTokenizer.swift
[284/304] Compiling Tokenizers PreTokenizer.swift
[285/304] Compiling Tokenizers TokenLattice.swift
[286/304] Compiling Tokenizers Tokenizer.swift
[287/304] Compiling Tokenizers PostProcessor.swift
[288/304] Compiling Tokenizers String+PreTokenization.swift
[289/304] Compiling ArgmaxCore ModelState.swift
[290/305] Compiling ArgmaxCore ModelManager.swift
[291/305] Compiling ArgmaxCore ModelUtilities.swift
[292/305] Compiling ArgmaxCore MLTensorExtensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/ArgmaxCore/MLTensorExtensions.swift:78:9: warning: sending value of non-Sendable type '() async -> ()' risks causing data races; this is an error in the Swift 6 language mode
76 | let semaphore = DispatchSemaphore(value: 0)
77 | var result = try! MLMultiArray(shape: [1], dataType: .float16, initialValue: 0.0)
78 | Task(priority: .high) {
| |- warning: sending value of non-Sendable type '() async -> ()' risks causing data races; this is an error in the Swift 6 language mode
| `- note: Passing value of non-Sendable type '() async -> ()' as a 'sending' argument risks causing races in between local and caller code
79 | result = await self.toMLMultiArray()
80 | semaphore.signal()
81 | }
82 | semaphore.wait()
83 | return result
| `- note: access can happen concurrently
84 | }
85 | }
[293/305] Compiling ArgmaxCore ModelDownloader.swift
[294/305] Compiling ArgmaxCore Logging.swift
/Users/admin/builder/spi-builder-workspace/Sources/ArgmaxCore/Logging.swift:17:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Logging' may have shared mutable state; this is an error in the Swift 6 language mode
14 | /// Logging.shared.logLevel = config.verbose ? config.logLevel : .none
15 | /// ```
16 | open class Logging {
| `- note: class 'Logging' does not conform to the 'Sendable' protocol
17 | public static let shared = Logging()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Logging' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | public var logLevel: LogLevel = .none
19 |
/Users/admin/builder/spi-builder-workspace/Sources/ArgmaxCore/MLModelExtensions.swift:18:30: warning: type 'any MLFeatureProvider' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
16 | return try await prediction(from: input, options: options)
17 | } else {
18 | return try await Task {
| `- warning: type 'any MLFeatureProvider' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
19 | try prediction(from: input, options: options)
20 | }.value
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLFeatureProvider.h:17:11: note: protocol 'MLFeatureProvider' does not conform to the 'Sendable' protocol
15 | */
16 | API_AVAILABLE(macos(10.13), ios(11.0), watchos(4.0), tvos(11.0))
17 | @protocol MLFeatureProvider
| `- note: protocol 'MLFeatureProvider' does not conform to the 'Sendable' protocol
18 |
19 | @property (readonly, nonatomic) NSSet<NSString *> *featureNames;
/Users/admin/builder/spi-builder-workspace/Sources/ArgmaxCore/MLModelExtensions.swift:4:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreML'
2 | // Copyright © 2024 Argmax, Inc. All rights reserved.
3 |
4 | import CoreML
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreML'
5 |
6 | // MARK: - Async Prediction
/Users/admin/builder/spi-builder-workspace/Sources/ArgmaxCore/MLModelExtensions.swift:18:30: warning: type 'any MLFeatureProvider' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
16 | return try await prediction(from: input, options: options)
17 | } else {
18 | return try await Task {
| `- warning: type 'any MLFeatureProvider' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
19 | try prediction(from: input, options: options)
20 | }.value
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLFeatureProvider.h:17:11: note: protocol 'MLFeatureProvider' does not conform to the 'Sendable' protocol
15 | */
16 | API_AVAILABLE(macos(10.13), ios(11.0), watchos(4.0), tvos(11.0))
17 | @protocol MLFeatureProvider
| `- note: protocol 'MLFeatureProvider' does not conform to the 'Sendable' protocol
18 |
19 | @property (readonly, nonatomic) NSSet<NSString *> *featureNames;
/Users/admin/builder/spi-builder-workspace/Sources/ArgmaxCore/MLModelExtensions.swift:20:15: warning: type 'any MLFeatureProvider' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
18 | return try await Task {
19 | try prediction(from: input, options: options)
20 | }.value
| `- warning: type 'any MLFeatureProvider' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
21 | }
22 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLFeatureProvider.h:17:11: note: protocol 'MLFeatureProvider' does not conform to the 'Sendable' protocol
15 | */
16 | API_AVAILABLE(macos(10.13), ios(11.0), watchos(4.0), tvos(11.0))
17 | @protocol MLFeatureProvider
| `- note: protocol 'MLFeatureProvider' does not conform to the 'Sendable' protocol
18 |
19 | @property (readonly, nonatomic) NSSet<NSString *> *featureNames;
/Users/admin/builder/spi-builder-workspace/Sources/ArgmaxCore/MLModelExtensions.swift:18:35: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
16 | return try await prediction(from: input, options: options)
17 | } else {
18 | return try await Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
19 | try prediction(from: input, options: options)
| `- note: closure captures 'self' which is accessible to code in the current task
20 | }.value
21 | }
[295/305] Compiling ArgmaxCore MLModelExtensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/ArgmaxCore/Logging.swift:17:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Logging' may have shared mutable state; this is an error in the Swift 6 language mode
14 | /// Logging.shared.logLevel = config.verbose ? config.logLevel : .none
15 | /// ```
16 | open class Logging {
| `- note: class 'Logging' does not conform to the 'Sendable' protocol
17 | public static let shared = Logging()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Logging' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | public var logLevel: LogLevel = .none
19 |
/Users/admin/builder/spi-builder-workspace/Sources/ArgmaxCore/MLModelExtensions.swift:18:30: warning: type 'any MLFeatureProvider' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
16 | return try await prediction(from: input, options: options)
17 | } else {
18 | return try await Task {
| `- warning: type 'any MLFeatureProvider' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
19 | try prediction(from: input, options: options)
20 | }.value
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLFeatureProvider.h:17:11: note: protocol 'MLFeatureProvider' does not conform to the 'Sendable' protocol
15 | */
16 | API_AVAILABLE(macos(10.13), ios(11.0), watchos(4.0), tvos(11.0))
17 | @protocol MLFeatureProvider
| `- note: protocol 'MLFeatureProvider' does not conform to the 'Sendable' protocol
18 |
19 | @property (readonly, nonatomic) NSSet<NSString *> *featureNames;
/Users/admin/builder/spi-builder-workspace/Sources/ArgmaxCore/MLModelExtensions.swift:4:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreML'
2 | // Copyright © 2024 Argmax, Inc. All rights reserved.
3 |
4 | import CoreML
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreML'
5 |
6 | // MARK: - Async Prediction
/Users/admin/builder/spi-builder-workspace/Sources/ArgmaxCore/MLModelExtensions.swift:18:30: warning: type 'any MLFeatureProvider' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
16 | return try await prediction(from: input, options: options)
17 | } else {
18 | return try await Task {
| `- warning: type 'any MLFeatureProvider' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
19 | try prediction(from: input, options: options)
20 | }.value
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLFeatureProvider.h:17:11: note: protocol 'MLFeatureProvider' does not conform to the 'Sendable' protocol
15 | */
16 | API_AVAILABLE(macos(10.13), ios(11.0), watchos(4.0), tvos(11.0))
17 | @protocol MLFeatureProvider
| `- note: protocol 'MLFeatureProvider' does not conform to the 'Sendable' protocol
18 |
19 | @property (readonly, nonatomic) NSSet<NSString *> *featureNames;
/Users/admin/builder/spi-builder-workspace/Sources/ArgmaxCore/MLModelExtensions.swift:20:15: warning: type 'any MLFeatureProvider' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
18 | return try await Task {
19 | try prediction(from: input, options: options)
20 | }.value
| `- warning: type 'any MLFeatureProvider' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
21 | }
22 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLFeatureProvider.h:17:11: note: protocol 'MLFeatureProvider' does not conform to the 'Sendable' protocol
15 | */
16 | API_AVAILABLE(macos(10.13), ios(11.0), watchos(4.0), tvos(11.0))
17 | @protocol MLFeatureProvider
| `- note: protocol 'MLFeatureProvider' does not conform to the 'Sendable' protocol
18 |
19 | @property (readonly, nonatomic) NSSet<NSString *> *featureNames;
/Users/admin/builder/spi-builder-workspace/Sources/ArgmaxCore/MLModelExtensions.swift:18:35: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
16 | return try await prediction(from: input, options: options)
17 | } else {
18 | return try await Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
19 | try prediction(from: input, options: options)
| `- note: closure captures 'self' which is accessible to code in the current task
20 | }.value
21 | }
[296/305] Compiling ArgmaxCore MLModelLoading.swift
[297/305] Compiling ArgmaxCore MLMultiArrayExtensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/ArgmaxCore/MLMultiArrayExtensions.swift:88:9: warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
70 | // MARK: - MLMultiArray Indexing & Fill
71 |
72 | public extension MLMultiArray {
| `- note: add @available attribute to enclosing extension
73 | /// Computes the linear offset from multi-dimensional indices using strides.
74 | @inline(__always)
:
84 | /// Fills a range of indices in the last dimension with a value.
85 | /// Requires shape [1, 1, n].
86 | func fillLastDimension(indexes: Range<Int>, with value: FloatType) {
| `- note: add @available attribute to enclosing instance method
87 | precondition(shape.count == 3 && shape[0] == 1 && shape[1] == 1, "Must have [1, 1, n] shape")
88 | withUnsafeMutableBufferPointer(ofType: FloatType.self) { ptr, strides in
| |- warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
89 | for index in indexes {
90 | ptr[index * strides[2]] = value
[302/305] Emitting module ArgmaxCore
/Users/admin/builder/spi-builder-workspace/Sources/ArgmaxCore/Logging.swift:17:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Logging' may have shared mutable state; this is an error in the Swift 6 language mode
14 | /// Logging.shared.logLevel = config.verbose ? config.logLevel : .none
15 | /// ```
16 | open class Logging {
| `- note: class 'Logging' does not conform to the 'Sendable' protocol
17 | public static let shared = Logging()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Logging' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | public var logLevel: LogLevel = .none
19 |
[303/347] Compiling WhisperKit ResultWriter.swift
[304/347] Compiling WhisperKit TextUtilities.swift
[305/349] Emitting module WhisperKit
[306/349] Compiling WhisperKit Logging.swift
[307/349] Compiling WhisperKit ModelUtilities.swift
[308/349] Compiling TTSKit Sampling.swift
[309/349] Compiling TTSKit Qwen3Models.swift
[310/349] Compiling TTSKit Qwen3MultiCodeDecoder.swift
[311/349] Emitting module TTSKit
[312/349] Compiling WhisperKit AudioStreamTranscriber.swift
[313/349] Compiling WhisperKit Configurations.swift
[314/351] Compiling WhisperKit TranscriptionUtilities.swift
[315/351] Compiling WhisperKit WhisperError.swift
[316/351] Compiling TTSKit TTSError.swift
[317/351] Compiling TTSKit TextChunker.swift
[318/351] Compiling TTSKit KVCache.swift
[319/351] Compiling TTSKit PromptCache.swift
[320/351] Compiling TTSKit AudioOutput.swift
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/WhisperKit.swift:783:39: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
781 |
782 | // Add a new task to the task group for each audio array
783 | taskGroup.addTask {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
784 | do {
785 | let transcribeResult: [TranscriptionResult] = try await self.transcribe(
| `- note: closure captures 'self' which is accessible to code in the current task
786 | audioArray: audioArray,
787 | decodeOptions: batchedDecodeOptions,
[321/351] Compiling TTSKit EmbedTypes.swift
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/WhisperKit.swift:783:39: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
781 |
782 | // Add a new task to the task group for each audio array
783 | taskGroup.addTask {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
784 | do {
785 | let transcribeResult: [TranscriptionResult] = try await self.transcribe(
| `- note: closure captures 'self' which is accessible to code in the current task
786 | audioArray: audioArray,
787 | decodeOptions: batchedDecodeOptions,
[322/351] Compiling TTSKit Qwen3Embedders.swift
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/LogitsFilter.swift:155:25: warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
153 | guard let logprobsInputDescriptor = BNNSNDArrayDescriptor(
154 | data: logprobsInputPointer,
155 | scalarType: FloatType.self,
| `- warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
156 | shape: .vector(logits.count, stride: 1)
157 | ) else {
Accelerate.Float16:4:11: note: conformance of 'Float16' to 'BNNSScalar' has been explicitly marked unavailable here
2 | @available(macOS, unavailable)
3 | @available(macCatalyst, unavailable)
4 | extension Float16 : BNNSScalar {
| `- note: conformance of 'Float16' to 'BNNSScalar' has been explicitly marked unavailable here
5 | public static var bnnsDataType: BNNSDataType { get }
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/LogitsFilter.swift:163:25: warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
161 |
162 | let logprobs = BNNSNDArrayDescriptor.allocateUninitialized(
163 | scalarType: FloatType.self,
| `- warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
164 | shape: .vector(logits.count, stride: 1)
165 | )
Accelerate.Float16:4:11: note: conformance of 'Float16' to 'BNNSScalar' has been explicitly marked unavailable here
2 | @available(macOS, unavailable)
3 | @available(macCatalyst, unavailable)
4 | extension Float16 : BNNSScalar {
| `- note: conformance of 'Float16' to 'BNNSScalar' has been explicitly marked unavailable here
5 | public static var bnnsDataType: BNNSDataType { get }
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/LogitsFilter.swift:169:22: warning: 'applyActivation(activation:input:output:batchSize:filterParameters:)' is deprecated: Use the BNNSGraph API instead.
167 |
168 | do {
169 | try BNNS.applyActivation(
| `- warning: 'applyActivation(activation:input:output:batchSize:filterParameters:)' is deprecated: Use the BNNSGraph API instead.
170 | activation: BNNS.ActivationFunction.logSoftmax,
171 | input: logprobsInputDescriptor,
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/LogitsFilter.swift:170:34: warning: 'ActivationFunction' is deprecated: Use the BNNSGraph API instead.
168 | do {
169 | try BNNS.applyActivation(
170 | activation: BNNS.ActivationFunction.logSoftmax,
| `- warning: 'ActivationFunction' is deprecated: Use the BNNSGraph API instead.
171 | input: logprobsInputDescriptor,
172 | output: logprobs,
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/LogitsFilter.swift:185:29: warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
183 | guard let logSumExpInputDescriptor = BNNSNDArrayDescriptor(
184 | data: logSumExpInputPointer,
185 | scalarType: FloatType.self,
| `- warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
186 | shape: .vector(timeTokenCount, stride: 1)
187 | ) else {
Accelerate.Float16:4:11: note: conformance of 'Float16' to 'BNNSScalar' has been explicitly marked unavailable here
2 | @available(macOS, unavailable)
3 | @available(macCatalyst, unavailable)
4 | extension Float16 : BNNSScalar {
| `- note: conformance of 'Float16' to 'BNNSScalar' has been explicitly marked unavailable here
5 | public static var bnnsDataType: BNNSDataType { get }
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/LogitsFilter.swift:193:29: warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
191 |
192 | let timestampLogProb = BNNSNDArrayDescriptor.allocateUninitialized(
193 | scalarType: FloatType.self,
| `- warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
194 | shape: .vector(1, stride: 1)
195 | )
Accelerate.Float16:4:11: note: conformance of 'Float16' to 'BNNSScalar' has been explicitly marked unavailable here
2 | @available(macOS, unavailable)
3 | @available(macCatalyst, unavailable)
4 | extension Float16 : BNNSScalar {
| `- note: conformance of 'Float16' to 'BNNSScalar' has been explicitly marked unavailable here
5 | public static var bnnsDataType: BNNSDataType { get }
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/LogitsFilter.swift:212:29: warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
210 | guard let maxTextTokenLogProbInputDescriptor = BNNSNDArrayDescriptor(
211 | data: maxTextTokenLogProbInputPointer,
212 | scalarType: FloatType.self,
| `- warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
213 | shape: .vector(noTimeTokenCount, stride: 1)
214 | ) else {
Accelerate.Float16:4:11: note: conformance of 'Float16' to 'BNNSScalar' has been explicitly marked unavailable here
2 | @available(macOS, unavailable)
3 | @available(macCatalyst, unavailable)
4 | extension Float16 : BNNSScalar {
| `- note: conformance of 'Float16' to 'BNNSScalar' has been explicitly marked unavailable here
5 | public static var bnnsDataType: BNNSDataType { get }
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/LogitsFilter.swift:220:29: warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
218 |
219 | let maxTextTokenLogProb = BNNSNDArrayDescriptor.allocateUninitialized(
220 | scalarType: FloatType.self,
| `- warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
221 | shape: .vector(1, stride: 1)
222 | )
Accelerate.Float16:4:11: note: conformance of 'Float16' to 'BNNSScalar' has been explicitly marked unavailable here
2 | @available(macOS, unavailable)
3 | @available(macCatalyst, unavailable)
4 | extension Float16 : BNNSScalar {
| `- note: conformance of 'Float16' to 'BNNSScalar' has been explicitly marked unavailable here
5 | public static var bnnsDataType: BNNSDataType { get }
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/TokenSampler.swift:80:36: warning: 'asIntArray()' is deprecated: Use await toIntArray() instead.
78 |
79 | return (
80 | token: nextTokenTensor.asIntArray()[0],
| `- warning: 'asIntArray()' is deprecated: Use await toIntArray() instead.
81 | logprob: nextLogprobTensor.asFloatArray()[0]
82 | )
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/TokenSampler.swift:81:40: warning: 'asFloatArray()' is deprecated: Use await toFloatArray() instead.
79 | return (
80 | token: nextTokenTensor.asIntArray()[0],
81 | logprob: nextLogprobTensor.asFloatArray()[0]
| `- warning: 'asFloatArray()' is deprecated: Use await toFloatArray() instead.
82 | )
83 | }
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/TokenSampler.swift:103:29: warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
101 | let logitsDescriptor = BNNSNDArrayDescriptor(
102 | data: logitsRawPointer,
103 | scalarType: FloatType.self,
| `- warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
104 | shape: .vector(logits.count, stride: 1)
105 | )!
Accelerate.Float16:4:11: note: conformance of 'Float16' to 'BNNSScalar' has been explicitly marked unavailable here
2 | @available(macOS, unavailable)
3 | @available(macCatalyst, unavailable)
4 | extension Float16 : BNNSScalar {
| `- note: conformance of 'Float16' to 'BNNSScalar' has been explicitly marked unavailable here
5 | public static var bnnsDataType: BNNSDataType { get }
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/TokenSampler.swift:112:33: warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
110 | if temperature != 0.0 {
111 | let scaledLogits = BNNSNDArrayDescriptor.allocateUninitialized(
112 | scalarType: FloatType.self,
| `- warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
113 | shape: .vector(logits.count, stride: 1)
114 | )
Accelerate.Float16:4:11: note: conformance of 'Float16' to 'BNNSScalar' has been explicitly marked unavailable here
2 | @available(macOS, unavailable)
3 | @available(macCatalyst, unavailable)
4 | extension Float16 : BNNSScalar {
| `- note: conformance of 'Float16' to 'BNNSScalar' has been explicitly marked unavailable here
5 | public static var bnnsDataType: BNNSDataType { get }
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/TokenSampler.swift:116:27: warning: 'applyActivation(activation:input:output:batchSize:filterParameters:)' is deprecated: Use the BNNSGraph API instead.
114 | )
115 |
116 | try! BNNS.applyActivation(
| `- warning: 'applyActivation(activation:input:output:batchSize:filterParameters:)' is deprecated: Use the BNNSGraph API instead.
117 | activation: BNNS.ActivationFunction.linear(alpha: Float(1 / temperature)),
118 | input: logitsDescriptor,
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/TokenSampler.swift:117:38: warning: 'ActivationFunction' is deprecated: Use the BNNSGraph API instead.
115 |
116 | try! BNNS.applyActivation(
117 | activation: BNNS.ActivationFunction.linear(alpha: Float(1 / temperature)),
| `- warning: 'ActivationFunction' is deprecated: Use the BNNSGraph API instead.
118 | input: logitsDescriptor,
119 | output: scaledLogits,
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/TokenSampler.swift:133:22: warning: 'applyActivation(activation:input:output:batchSize:filterParameters:)' is deprecated: Use the BNNSGraph API instead.
131 | )
132 |
133 | try BNNS.applyActivation(
| `- warning: 'applyActivation(activation:input:output:batchSize:filterParameters:)' is deprecated: Use the BNNSGraph API instead.
134 | activation: BNNS.ActivationFunction.softmax,
135 | input: softmaxInput!,
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/TokenSampler.swift:134:34: warning: 'ActivationFunction' is deprecated: Use the BNNSGraph API instead.
132 |
133 | try BNNS.applyActivation(
134 | activation: BNNS.ActivationFunction.softmax,
| `- warning: 'ActivationFunction' is deprecated: Use the BNNSGraph API instead.
135 | input: softmaxInput!,
136 | output: softmaxOutput!,
[323/351] Compiling TTSKit Qwen3GenerateTask.swift
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/LogitsFilter.swift:155:25: warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
153 | guard let logprobsInputDescriptor = BNNSNDArrayDescriptor(
154 | data: logprobsInputPointer,
155 | scalarType: FloatType.self,
| `- warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
156 | shape: .vector(logits.count, stride: 1)
157 | ) else {
Accelerate.Float16:4:11: note: conformance of 'Float16' to 'BNNSScalar' has been explicitly marked unavailable here
2 | @available(macOS, unavailable)
3 | @available(macCatalyst, unavailable)
4 | extension Float16 : BNNSScalar {
| `- note: conformance of 'Float16' to 'BNNSScalar' has been explicitly marked unavailable here
5 | public static var bnnsDataType: BNNSDataType { get }
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/LogitsFilter.swift:163:25: warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
161 |
162 | let logprobs = BNNSNDArrayDescriptor.allocateUninitialized(
163 | scalarType: FloatType.self,
| `- warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
164 | shape: .vector(logits.count, stride: 1)
165 | )
Accelerate.Float16:4:11: note: conformance of 'Float16' to 'BNNSScalar' has been explicitly marked unavailable here
2 | @available(macOS, unavailable)
3 | @available(macCatalyst, unavailable)
4 | extension Float16 : BNNSScalar {
| `- note: conformance of 'Float16' to 'BNNSScalar' has been explicitly marked unavailable here
5 | public static var bnnsDataType: BNNSDataType { get }
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/LogitsFilter.swift:169:22: warning: 'applyActivation(activation:input:output:batchSize:filterParameters:)' is deprecated: Use the BNNSGraph API instead.
167 |
168 | do {
169 | try BNNS.applyActivation(
| `- warning: 'applyActivation(activation:input:output:batchSize:filterParameters:)' is deprecated: Use the BNNSGraph API instead.
170 | activation: BNNS.ActivationFunction.logSoftmax,
171 | input: logprobsInputDescriptor,
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/LogitsFilter.swift:170:34: warning: 'ActivationFunction' is deprecated: Use the BNNSGraph API instead.
168 | do {
169 | try BNNS.applyActivation(
170 | activation: BNNS.ActivationFunction.logSoftmax,
| `- warning: 'ActivationFunction' is deprecated: Use the BNNSGraph API instead.
171 | input: logprobsInputDescriptor,
172 | output: logprobs,
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/LogitsFilter.swift:185:29: warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
183 | guard let logSumExpInputDescriptor = BNNSNDArrayDescriptor(
184 | data: logSumExpInputPointer,
185 | scalarType: FloatType.self,
| `- warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
186 | shape: .vector(timeTokenCount, stride: 1)
187 | ) else {
Accelerate.Float16:4:11: note: conformance of 'Float16' to 'BNNSScalar' has been explicitly marked unavailable here
2 | @available(macOS, unavailable)
3 | @available(macCatalyst, unavailable)
4 | extension Float16 : BNNSScalar {
| `- note: conformance of 'Float16' to 'BNNSScalar' has been explicitly marked unavailable here
5 | public static var bnnsDataType: BNNSDataType { get }
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/LogitsFilter.swift:193:29: warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
191 |
192 | let timestampLogProb = BNNSNDArrayDescriptor.allocateUninitialized(
193 | scalarType: FloatType.self,
| `- warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
194 | shape: .vector(1, stride: 1)
195 | )
Accelerate.Float16:4:11: note: conformance of 'Float16' to 'BNNSScalar' has been explicitly marked unavailable here
2 | @available(macOS, unavailable)
3 | @available(macCatalyst, unavailable)
4 | extension Float16 : BNNSScalar {
| `- note: conformance of 'Float16' to 'BNNSScalar' has been explicitly marked unavailable here
5 | public static var bnnsDataType: BNNSDataType { get }
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/LogitsFilter.swift:212:29: warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
210 | guard let maxTextTokenLogProbInputDescriptor = BNNSNDArrayDescriptor(
211 | data: maxTextTokenLogProbInputPointer,
212 | scalarType: FloatType.self,
| `- warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
213 | shape: .vector(noTimeTokenCount, stride: 1)
214 | ) else {
Accelerate.Float16:4:11: note: conformance of 'Float16' to 'BNNSScalar' has been explicitly marked unavailable here
2 | @available(macOS, unavailable)
3 | @available(macCatalyst, unavailable)
4 | extension Float16 : BNNSScalar {
| `- note: conformance of 'Float16' to 'BNNSScalar' has been explicitly marked unavailable here
5 | public static var bnnsDataType: BNNSDataType { get }
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/LogitsFilter.swift:220:29: warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
218 |
219 | let maxTextTokenLogProb = BNNSNDArrayDescriptor.allocateUninitialized(
220 | scalarType: FloatType.self,
| `- warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
221 | shape: .vector(1, stride: 1)
222 | )
Accelerate.Float16:4:11: note: conformance of 'Float16' to 'BNNSScalar' has been explicitly marked unavailable here
2 | @available(macOS, unavailable)
3 | @available(macCatalyst, unavailable)
4 | extension Float16 : BNNSScalar {
| `- note: conformance of 'Float16' to 'BNNSScalar' has been explicitly marked unavailable here
5 | public static var bnnsDataType: BNNSDataType { get }
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/TokenSampler.swift:80:36: warning: 'asIntArray()' is deprecated: Use await toIntArray() instead.
78 |
79 | return (
80 | token: nextTokenTensor.asIntArray()[0],
| `- warning: 'asIntArray()' is deprecated: Use await toIntArray() instead.
81 | logprob: nextLogprobTensor.asFloatArray()[0]
82 | )
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/TokenSampler.swift:81:40: warning: 'asFloatArray()' is deprecated: Use await toFloatArray() instead.
79 | return (
80 | token: nextTokenTensor.asIntArray()[0],
81 | logprob: nextLogprobTensor.asFloatArray()[0]
| `- warning: 'asFloatArray()' is deprecated: Use await toFloatArray() instead.
82 | )
83 | }
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/TokenSampler.swift:103:29: warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
101 | let logitsDescriptor = BNNSNDArrayDescriptor(
102 | data: logitsRawPointer,
103 | scalarType: FloatType.self,
| `- warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
104 | shape: .vector(logits.count, stride: 1)
105 | )!
Accelerate.Float16:4:11: note: conformance of 'Float16' to 'BNNSScalar' has been explicitly marked unavailable here
2 | @available(macOS, unavailable)
3 | @available(macCatalyst, unavailable)
4 | extension Float16 : BNNSScalar {
| `- note: conformance of 'Float16' to 'BNNSScalar' has been explicitly marked unavailable here
5 | public static var bnnsDataType: BNNSDataType { get }
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/TokenSampler.swift:112:33: warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
110 | if temperature != 0.0 {
111 | let scaledLogits = BNNSNDArrayDescriptor.allocateUninitialized(
112 | scalarType: FloatType.self,
| `- warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
113 | shape: .vector(logits.count, stride: 1)
114 | )
Accelerate.Float16:4:11: note: conformance of 'Float16' to 'BNNSScalar' has been explicitly marked unavailable here
2 | @available(macOS, unavailable)
3 | @available(macCatalyst, unavailable)
4 | extension Float16 : BNNSScalar {
| `- note: conformance of 'Float16' to 'BNNSScalar' has been explicitly marked unavailable here
5 | public static var bnnsDataType: BNNSDataType { get }
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/TokenSampler.swift:116:27: warning: 'applyActivation(activation:input:output:batchSize:filterParameters:)' is deprecated: Use the BNNSGraph API instead.
114 | )
115 |
116 | try! BNNS.applyActivation(
| `- warning: 'applyActivation(activation:input:output:batchSize:filterParameters:)' is deprecated: Use the BNNSGraph API instead.
117 | activation: BNNS.ActivationFunction.linear(alpha: Float(1 / temperature)),
118 | input: logitsDescriptor,
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/TokenSampler.swift:117:38: warning: 'ActivationFunction' is deprecated: Use the BNNSGraph API instead.
115 |
116 | try! BNNS.applyActivation(
117 | activation: BNNS.ActivationFunction.linear(alpha: Float(1 / temperature)),
| `- warning: 'ActivationFunction' is deprecated: Use the BNNSGraph API instead.
118 | input: logitsDescriptor,
119 | output: scaledLogits,
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/TokenSampler.swift:133:22: warning: 'applyActivation(activation:input:output:batchSize:filterParameters:)' is deprecated: Use the BNNSGraph API instead.
131 | )
132 |
133 | try BNNS.applyActivation(
| `- warning: 'applyActivation(activation:input:output:batchSize:filterParameters:)' is deprecated: Use the BNNSGraph API instead.
134 | activation: BNNS.ActivationFunction.softmax,
135 | input: softmaxInput!,
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/TokenSampler.swift:134:34: warning: 'ActivationFunction' is deprecated: Use the BNNSGraph API instead.
132 |
133 | try BNNS.applyActivation(
134 | activation: BNNS.ActivationFunction.softmax,
| `- warning: 'ActivationFunction' is deprecated: Use the BNNSGraph API instead.
135 | input: softmaxInput!,
136 | output: softmaxOutput!,
[324/351] Compiling TTSKit Qwen3SpeechDecoder.swift
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/LogitsFilter.swift:155:25: warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
153 | guard let logprobsInputDescriptor = BNNSNDArrayDescriptor(
154 | data: logprobsInputPointer,
155 | scalarType: FloatType.self,
| `- warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
156 | shape: .vector(logits.count, stride: 1)
157 | ) else {
Accelerate.Float16:4:11: note: conformance of 'Float16' to 'BNNSScalar' has been explicitly marked unavailable here
2 | @available(macOS, unavailable)
3 | @available(macCatalyst, unavailable)
4 | extension Float16 : BNNSScalar {
| `- note: conformance of 'Float16' to 'BNNSScalar' has been explicitly marked unavailable here
5 | public static var bnnsDataType: BNNSDataType { get }
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/LogitsFilter.swift:163:25: warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
161 |
162 | let logprobs = BNNSNDArrayDescriptor.allocateUninitialized(
163 | scalarType: FloatType.self,
| `- warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
164 | shape: .vector(logits.count, stride: 1)
165 | )
Accelerate.Float16:4:11: note: conformance of 'Float16' to 'BNNSScalar' has been explicitly marked unavailable here
2 | @available(macOS, unavailable)
3 | @available(macCatalyst, unavailable)
4 | extension Float16 : BNNSScalar {
| `- note: conformance of 'Float16' to 'BNNSScalar' has been explicitly marked unavailable here
5 | public static var bnnsDataType: BNNSDataType { get }
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/LogitsFilter.swift:169:22: warning: 'applyActivation(activation:input:output:batchSize:filterParameters:)' is deprecated: Use the BNNSGraph API instead.
167 |
168 | do {
169 | try BNNS.applyActivation(
| `- warning: 'applyActivation(activation:input:output:batchSize:filterParameters:)' is deprecated: Use the BNNSGraph API instead.
170 | activation: BNNS.ActivationFunction.logSoftmax,
171 | input: logprobsInputDescriptor,
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/LogitsFilter.swift:170:34: warning: 'ActivationFunction' is deprecated: Use the BNNSGraph API instead.
168 | do {
169 | try BNNS.applyActivation(
170 | activation: BNNS.ActivationFunction.logSoftmax,
| `- warning: 'ActivationFunction' is deprecated: Use the BNNSGraph API instead.
171 | input: logprobsInputDescriptor,
172 | output: logprobs,
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/LogitsFilter.swift:185:29: warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
183 | guard let logSumExpInputDescriptor = BNNSNDArrayDescriptor(
184 | data: logSumExpInputPointer,
185 | scalarType: FloatType.self,
| `- warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
186 | shape: .vector(timeTokenCount, stride: 1)
187 | ) else {
Accelerate.Float16:4:11: note: conformance of 'Float16' to 'BNNSScalar' has been explicitly marked unavailable here
2 | @available(macOS, unavailable)
3 | @available(macCatalyst, unavailable)
4 | extension Float16 : BNNSScalar {
| `- note: conformance of 'Float16' to 'BNNSScalar' has been explicitly marked unavailable here
5 | public static var bnnsDataType: BNNSDataType { get }
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/LogitsFilter.swift:193:29: warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
191 |
192 | let timestampLogProb = BNNSNDArrayDescriptor.allocateUninitialized(
193 | scalarType: FloatType.self,
| `- warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
194 | shape: .vector(1, stride: 1)
195 | )
Accelerate.Float16:4:11: note: conformance of 'Float16' to 'BNNSScalar' has been explicitly marked unavailable here
2 | @available(macOS, unavailable)
3 | @available(macCatalyst, unavailable)
4 | extension Float16 : BNNSScalar {
| `- note: conformance of 'Float16' to 'BNNSScalar' has been explicitly marked unavailable here
5 | public static var bnnsDataType: BNNSDataType { get }
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/LogitsFilter.swift:212:29: warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
210 | guard let maxTextTokenLogProbInputDescriptor = BNNSNDArrayDescriptor(
211 | data: maxTextTokenLogProbInputPointer,
212 | scalarType: FloatType.self,
| `- warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
213 | shape: .vector(noTimeTokenCount, stride: 1)
214 | ) else {
Accelerate.Float16:4:11: note: conformance of 'Float16' to 'BNNSScalar' has been explicitly marked unavailable here
2 | @available(macOS, unavailable)
3 | @available(macCatalyst, unavailable)
4 | extension Float16 : BNNSScalar {
| `- note: conformance of 'Float16' to 'BNNSScalar' has been explicitly marked unavailable here
5 | public static var bnnsDataType: BNNSDataType { get }
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/LogitsFilter.swift:220:29: warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
218 |
219 | let maxTextTokenLogProb = BNNSNDArrayDescriptor.allocateUninitialized(
220 | scalarType: FloatType.self,
| `- warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
221 | shape: .vector(1, stride: 1)
222 | )
Accelerate.Float16:4:11: note: conformance of 'Float16' to 'BNNSScalar' has been explicitly marked unavailable here
2 | @available(macOS, unavailable)
3 | @available(macCatalyst, unavailable)
4 | extension Float16 : BNNSScalar {
| `- note: conformance of 'Float16' to 'BNNSScalar' has been explicitly marked unavailable here
5 | public static var bnnsDataType: BNNSDataType { get }
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/TokenSampler.swift:80:36: warning: 'asIntArray()' is deprecated: Use await toIntArray() instead.
78 |
79 | return (
80 | token: nextTokenTensor.asIntArray()[0],
| `- warning: 'asIntArray()' is deprecated: Use await toIntArray() instead.
81 | logprob: nextLogprobTensor.asFloatArray()[0]
82 | )
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/TokenSampler.swift:81:40: warning: 'asFloatArray()' is deprecated: Use await toFloatArray() instead.
79 | return (
80 | token: nextTokenTensor.asIntArray()[0],
81 | logprob: nextLogprobTensor.asFloatArray()[0]
| `- warning: 'asFloatArray()' is deprecated: Use await toFloatArray() instead.
82 | )
83 | }
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/TokenSampler.swift:103:29: warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
101 | let logitsDescriptor = BNNSNDArrayDescriptor(
102 | data: logitsRawPointer,
103 | scalarType: FloatType.self,
| `- warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
104 | shape: .vector(logits.count, stride: 1)
105 | )!
Accelerate.Float16:4:11: note: conformance of 'Float16' to 'BNNSScalar' has been explicitly marked unavailable here
2 | @available(macOS, unavailable)
3 | @available(macCatalyst, unavailable)
4 | extension Float16 : BNNSScalar {
| `- note: conformance of 'Float16' to 'BNNSScalar' has been explicitly marked unavailable here
5 | public static var bnnsDataType: BNNSDataType { get }
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/TokenSampler.swift:112:33: warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
110 | if temperature != 0.0 {
111 | let scaledLogits = BNNSNDArrayDescriptor.allocateUninitialized(
112 | scalarType: FloatType.self,
| `- warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
113 | shape: .vector(logits.count, stride: 1)
114 | )
Accelerate.Float16:4:11: note: conformance of 'Float16' to 'BNNSScalar' has been explicitly marked unavailable here
2 | @available(macOS, unavailable)
3 | @available(macCatalyst, unavailable)
4 | extension Float16 : BNNSScalar {
| `- note: conformance of 'Float16' to 'BNNSScalar' has been explicitly marked unavailable here
5 | public static var bnnsDataType: BNNSDataType { get }
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/TokenSampler.swift:116:27: warning: 'applyActivation(activation:input:output:batchSize:filterParameters:)' is deprecated: Use the BNNSGraph API instead.
114 | )
115 |
116 | try! BNNS.applyActivation(
| `- warning: 'applyActivation(activation:input:output:batchSize:filterParameters:)' is deprecated: Use the BNNSGraph API instead.
117 | activation: BNNS.ActivationFunction.linear(alpha: Float(1 / temperature)),
118 | input: logitsDescriptor,
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/TokenSampler.swift:117:38: warning: 'ActivationFunction' is deprecated: Use the BNNSGraph API instead.
115 |
116 | try! BNNS.applyActivation(
117 | activation: BNNS.ActivationFunction.linear(alpha: Float(1 / temperature)),
| `- warning: 'ActivationFunction' is deprecated: Use the BNNSGraph API instead.
118 | input: logitsDescriptor,
119 | output: scaledLogits,
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/TokenSampler.swift:133:22: warning: 'applyActivation(activation:input:output:batchSize:filterParameters:)' is deprecated: Use the BNNSGraph API instead.
131 | )
132 |
133 | try BNNS.applyActivation(
| `- warning: 'applyActivation(activation:input:output:batchSize:filterParameters:)' is deprecated: Use the BNNSGraph API instead.
134 | activation: BNNS.ActivationFunction.softmax,
135 | input: softmaxInput!,
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/TokenSampler.swift:134:34: warning: 'ActivationFunction' is deprecated: Use the BNNSGraph API instead.
132 |
133 | try BNNS.applyActivation(
134 | activation: BNNS.ActivationFunction.softmax,
| `- warning: 'ActivationFunction' is deprecated: Use the BNNSGraph API instead.
135 | input: softmaxInput!,
136 | output: softmaxOutput!,
[325/351] Compiling TTSKit Qwen3TextProjector.swift
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/TextDecoder.swift:435:47: warning: capture of 'keyTensorPointer' with non-sendable type 'UnsafeMutableRawBufferPointer' in a '@Sendable' closure
433 | // `tensor[0, j, 0, k + index] = slice[0, j, 0, k + index]`
434 | let keyDestIndex = j * keyTargetStrides[1] + (index + k) * keyTargetStrides[3]
435 | let keyDest = keyTensorPointer.baseAddress! + keyDestIndex * bytesPerSample
| `- warning: capture of 'keyTensorPointer' with non-sendable type 'UnsafeMutableRawBufferPointer' in a '@Sendable' closure
436 |
437 | let keySliceIndex = j * sliceStrides[1] + k * sliceStrides[3]
Swift.UnsafeMutableRawBufferPointer:1:23: note: struct 'UnsafeMutableRawBufferPointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutableRawBufferPointer {
| `- note: struct 'UnsafeMutableRawBufferPointer' does not conform to the 'Sendable' protocol
2 | @inlinable public init(start: UnsafeMutableRawPointer?, count: Int)
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/TextDecoder.swift:438:48: warning: capture of 'keySlicePointer' with non-sendable type 'UnsafeRawBufferPointer' in a '@Sendable' closure
436 |
437 | let keySliceIndex = j * sliceStrides[1] + k * sliceStrides[3]
438 | let keySlice = keySlicePointer.baseAddress! + keySliceIndex * bytesPerSample
| `- warning: capture of 'keySlicePointer' with non-sendable type 'UnsafeRawBufferPointer' in a '@Sendable' closure
439 | memcpy(keyDest, keySlice, bytesPerSample)
440 |
Swift.UnsafeRawBufferPointer:1:23: note: struct 'UnsafeRawBufferPointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeRawBufferPointer {
| `- note: struct 'UnsafeRawBufferPointer' does not conform to the 'Sendable' protocol
2 | @inlinable public init(start: UnsafeRawPointer?, count: Int)
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/TextDecoder.swift:442:47: warning: capture of 'valueTensorPointer' with non-sendable type 'UnsafeMutableRawBufferPointer' in a '@Sendable' closure
440 |
441 | let valDestIndex = j * valueTargetStrides[1] + (index + k) * valueTargetStrides[3]
442 | let valDest = valueTensorPointer.baseAddress! + valDestIndex * bytesPerSample
| `- warning: capture of 'valueTensorPointer' with non-sendable type 'UnsafeMutableRawBufferPointer' in a '@Sendable' closure
443 |
444 | let valSliceIndex = j * sliceStrides[1] + k * sliceStrides[3]
Swift.UnsafeMutableRawBufferPointer:1:23: note: struct 'UnsafeMutableRawBufferPointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutableRawBufferPointer {
| `- note: struct 'UnsafeMutableRawBufferPointer' does not conform to the 'Sendable' protocol
2 | @inlinable public init(start: UnsafeMutableRawPointer?, count: Int)
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/TextDecoder.swift:445:48: warning: capture of 'valueSlicePointer' with non-sendable type 'UnsafeRawBufferPointer' in a '@Sendable' closure
443 |
444 | let valSliceIndex = j * sliceStrides[1] + k * sliceStrides[3]
445 | let valSlice = valueSlicePointer.baseAddress! + valSliceIndex * bytesPerSample
| `- warning: capture of 'valueSlicePointer' with non-sendable type 'UnsafeRawBufferPointer' in a '@Sendable' closure
446 | memcpy(valDest, valSlice, bytesPerSample)
447 | }
Swift.UnsafeRawBufferPointer:1:23: note: struct 'UnsafeRawBufferPointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeRawBufferPointer {
| `- note: struct 'UnsafeRawBufferPointer' does not conform to the 'Sendable' protocol
2 | @inlinable public init(start: UnsafeRawPointer?, count: Int)
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/TextDecoder.swift:498:31: warning: 'getModelOutputDimention(_:named:position:)' is deprecated: renamed to 'getModelOutputDimension'
496 |
497 | public var supportsWordTimestamps: Bool {
498 | return ModelUtilities.getModelOutputDimention(model, named: "alignment_heads_weights", position: 0) != nil
| |- warning: 'getModelOutputDimention(_:named:position:)' is deprecated: renamed to 'getModelOutputDimension'
| `- note: use 'getModelOutputDimension' instead
499 | }
500 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/TextDecoder.swift:502:31: warning: 'getModelOutputDimention(_:named:position:)' is deprecated: renamed to 'getModelOutputDimension'
500 |
501 | public var logitsSize: Int? {
502 | return ModelUtilities.getModelOutputDimention(model, named: "logits", position: 2)
| |- warning: 'getModelOutputDimention(_:named:position:)' is deprecated: renamed to 'getModelOutputDimension'
| `- note: use 'getModelOutputDimension' instead
503 | }
504 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/TextDecoder.swift:506:31: warning: 'getModelInputDimention(_:named:position:)' is deprecated: renamed to 'getModelInputDimension'
504 |
505 | public var kvCacheEmbedDim: Int? {
506 | return ModelUtilities.getModelInputDimention(model, named: "key_cache", position: 1)
| |- warning: 'getModelInputDimention(_:named:position:)' is deprecated: renamed to 'getModelInputDimension'
| `- note: use 'getModelInputDimension' instead
507 | }
508 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/TextDecoder.swift:510:31: warning: 'getModelInputDimention(_:named:position:)' is deprecated: renamed to 'getModelInputDimension'
508 |
509 | public var kvCacheMaxSequenceLength: Int? {
510 | return ModelUtilities.getModelInputDimention(model, named: "key_cache", position: 3)
| |- warning: 'getModelInputDimention(_:named:position:)' is deprecated: renamed to 'getModelInputDimension'
| `- note: use 'getModelInputDimension' instead
511 | }
512 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/TextDecoder.swift:514:31: warning: 'getModelInputDimention(_:named:position:)' is deprecated: renamed to 'getModelInputDimension'
512 |
513 | public var windowSize: Int? {
514 | return ModelUtilities.getModelInputDimention(model, named: "encoder_output_embeds", position: 3)
| |- warning: 'getModelInputDimention(_:named:position:)' is deprecated: renamed to 'getModelInputDimension'
| `- note: use 'getModelInputDimension' instead
515 | }
516 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/TextDecoder.swift:518:31: warning: 'getModelInputDimention(_:named:position:)' is deprecated: renamed to 'getModelInputDimension'
516 |
517 | public var embedSize: Int? {
518 | return ModelUtilities.getModelInputDimention(model, named: "encoder_output_embeds", position: 1)
| |- warning: 'getModelInputDimention(_:named:position:)' is deprecated: renamed to 'getModelInputDimension'
| `- note: use 'getModelInputDimension' instead
519 | }
520 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/TextDecoder.swift:924:51: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
922 | // Call the callback if it is provided on a background thread
923 | if let callback = callback {
924 | Task.detached(priority: .low) { [weak self] in
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
925 | guard let self = self else { return }
| `- note: closure captures non-Sendable 'self'
926 | let shouldContinue = callback(result)
| `- note: closure captures non-Sendable 'callback'
927 | if let shouldContinue = shouldContinue, !shouldContinue, !isPrefill {
928 | Logging.debug("Early stopping")
[326/351] Compiling TTSKit TTSKit.swift
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/TextDecoder.swift:435:47: warning: capture of 'keyTensorPointer' with non-sendable type 'UnsafeMutableRawBufferPointer' in a '@Sendable' closure
433 | // `tensor[0, j, 0, k + index] = slice[0, j, 0, k + index]`
434 | let keyDestIndex = j * keyTargetStrides[1] + (index + k) * keyTargetStrides[3]
435 | let keyDest = keyTensorPointer.baseAddress! + keyDestIndex * bytesPerSample
| `- warning: capture of 'keyTensorPointer' with non-sendable type 'UnsafeMutableRawBufferPointer' in a '@Sendable' closure
436 |
437 | let keySliceIndex = j * sliceStrides[1] + k * sliceStrides[3]
Swift.UnsafeMutableRawBufferPointer:1:23: note: struct 'UnsafeMutableRawBufferPointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutableRawBufferPointer {
| `- note: struct 'UnsafeMutableRawBufferPointer' does not conform to the 'Sendable' protocol
2 | @inlinable public init(start: UnsafeMutableRawPointer?, count: Int)
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/TextDecoder.swift:438:48: warning: capture of 'keySlicePointer' with non-sendable type 'UnsafeRawBufferPointer' in a '@Sendable' closure
436 |
437 | let keySliceIndex = j * sliceStrides[1] + k * sliceStrides[3]
438 | let keySlice = keySlicePointer.baseAddress! + keySliceIndex * bytesPerSample
| `- warning: capture of 'keySlicePointer' with non-sendable type 'UnsafeRawBufferPointer' in a '@Sendable' closure
439 | memcpy(keyDest, keySlice, bytesPerSample)
440 |
Swift.UnsafeRawBufferPointer:1:23: note: struct 'UnsafeRawBufferPointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeRawBufferPointer {
| `- note: struct 'UnsafeRawBufferPointer' does not conform to the 'Sendable' protocol
2 | @inlinable public init(start: UnsafeRawPointer?, count: Int)
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/TextDecoder.swift:442:47: warning: capture of 'valueTensorPointer' with non-sendable type 'UnsafeMutableRawBufferPointer' in a '@Sendable' closure
440 |
441 | let valDestIndex = j * valueTargetStrides[1] + (index + k) * valueTargetStrides[3]
442 | let valDest = valueTensorPointer.baseAddress! + valDestIndex * bytesPerSample
| `- warning: capture of 'valueTensorPointer' with non-sendable type 'UnsafeMutableRawBufferPointer' in a '@Sendable' closure
443 |
444 | let valSliceIndex = j * sliceStrides[1] + k * sliceStrides[3]
Swift.UnsafeMutableRawBufferPointer:1:23: note: struct 'UnsafeMutableRawBufferPointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutableRawBufferPointer {
| `- note: struct 'UnsafeMutableRawBufferPointer' does not conform to the 'Sendable' protocol
2 | @inlinable public init(start: UnsafeMutableRawPointer?, count: Int)
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/TextDecoder.swift:445:48: warning: capture of 'valueSlicePointer' with non-sendable type 'UnsafeRawBufferPointer' in a '@Sendable' closure
443 |
444 | let valSliceIndex = j * sliceStrides[1] + k * sliceStrides[3]
445 | let valSlice = valueSlicePointer.baseAddress! + valSliceIndex * bytesPerSample
| `- warning: capture of 'valueSlicePointer' with non-sendable type 'UnsafeRawBufferPointer' in a '@Sendable' closure
446 | memcpy(valDest, valSlice, bytesPerSample)
447 | }
Swift.UnsafeRawBufferPointer:1:23: note: struct 'UnsafeRawBufferPointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeRawBufferPointer {
| `- note: struct 'UnsafeRawBufferPointer' does not conform to the 'Sendable' protocol
2 | @inlinable public init(start: UnsafeRawPointer?, count: Int)
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/TextDecoder.swift:498:31: warning: 'getModelOutputDimention(_:named:position:)' is deprecated: renamed to 'getModelOutputDimension'
496 |
497 | public var supportsWordTimestamps: Bool {
498 | return ModelUtilities.getModelOutputDimention(model, named: "alignment_heads_weights", position: 0) != nil
| |- warning: 'getModelOutputDimention(_:named:position:)' is deprecated: renamed to 'getModelOutputDimension'
| `- note: use 'getModelOutputDimension' instead
499 | }
500 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/TextDecoder.swift:502:31: warning: 'getModelOutputDimention(_:named:position:)' is deprecated: renamed to 'getModelOutputDimension'
500 |
501 | public var logitsSize: Int? {
502 | return ModelUtilities.getModelOutputDimention(model, named: "logits", position: 2)
| |- warning: 'getModelOutputDimention(_:named:position:)' is deprecated: renamed to 'getModelOutputDimension'
| `- note: use 'getModelOutputDimension' instead
503 | }
504 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/TextDecoder.swift:506:31: warning: 'getModelInputDimention(_:named:position:)' is deprecated: renamed to 'getModelInputDimension'
504 |
505 | public var kvCacheEmbedDim: Int? {
506 | return ModelUtilities.getModelInputDimention(model, named: "key_cache", position: 1)
| |- warning: 'getModelInputDimention(_:named:position:)' is deprecated: renamed to 'getModelInputDimension'
| `- note: use 'getModelInputDimension' instead
507 | }
508 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/TextDecoder.swift:510:31: warning: 'getModelInputDimention(_:named:position:)' is deprecated: renamed to 'getModelInputDimension'
508 |
509 | public var kvCacheMaxSequenceLength: Int? {
510 | return ModelUtilities.getModelInputDimention(model, named: "key_cache", position: 3)
| |- warning: 'getModelInputDimention(_:named:position:)' is deprecated: renamed to 'getModelInputDimension'
| `- note: use 'getModelInputDimension' instead
511 | }
512 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/TextDecoder.swift:514:31: warning: 'getModelInputDimention(_:named:position:)' is deprecated: renamed to 'getModelInputDimension'
512 |
513 | public var windowSize: Int? {
514 | return ModelUtilities.getModelInputDimention(model, named: "encoder_output_embeds", position: 3)
| |- warning: 'getModelInputDimention(_:named:position:)' is deprecated: renamed to 'getModelInputDimension'
| `- note: use 'getModelInputDimension' instead
515 | }
516 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/TextDecoder.swift:518:31: warning: 'getModelInputDimention(_:named:position:)' is deprecated: renamed to 'getModelInputDimension'
516 |
517 | public var embedSize: Int? {
518 | return ModelUtilities.getModelInputDimention(model, named: "encoder_output_embeds", position: 1)
| |- warning: 'getModelInputDimention(_:named:position:)' is deprecated: renamed to 'getModelInputDimension'
| `- note: use 'getModelInputDimension' instead
519 | }
520 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/TextDecoder.swift:924:51: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
922 | // Call the callback if it is provided on a background thread
923 | if let callback = callback {
924 | Task.detached(priority: .low) { [weak self] in
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
925 | guard let self = self else { return }
| `- note: closure captures non-Sendable 'self'
926 | let shouldContinue = callback(result)
| `- note: closure captures non-Sendable 'callback'
927 | if let shouldContinue = shouldContinue, !shouldContinue, !isPrefill {
928 | Logging.debug("Early stopping")
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:20:37: warning: type 'MLModel' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
18 | public extension WhisperMLModel {
19 | func loadModel(at modelPath: URL, computeUnits: MLComputeUnits, prewarmMode: Bool = false) async throws {
20 | let loadedModel = try await Task {
| `- warning: type 'MLModel' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
21 | let modelConfig = MLModelConfiguration()
22 | modelConfig.computeUnits = computeUnits
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLModel.h:28:12: note: class 'MLModel' does not conform to the 'Sendable' protocol
26 | API_AVAILABLE(macos(10.13), ios(11.0), watchos(4.0), tvos(11.0))
27 | ML_EXPORT
28 | @interface MLModel : NSObject
| `- note: class 'MLModel' does not conform to the 'Sendable' protocol
29 |
30 | /// A model holds a description of its required inputs and expected outputs.
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:6:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreML'
4 | import Accelerate
5 | import AVFAudio
6 | import CoreML
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreML'
7 | import Hub
8 | import NaturalLanguage
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:20:37: warning: type 'MLModel' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
18 | public extension WhisperMLModel {
19 | func loadModel(at modelPath: URL, computeUnits: MLComputeUnits, prewarmMode: Bool = false) async throws {
20 | let loadedModel = try await Task {
| `- warning: type 'MLModel' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
21 | let modelConfig = MLModelConfiguration()
22 | modelConfig.computeUnits = computeUnits
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLModel.h:28:12: note: class 'MLModel' does not conform to the 'Sendable' protocol
26 | API_AVAILABLE(macos(10.13), ios(11.0), watchos(4.0), tvos(11.0))
27 | ML_EXPORT
28 | @interface MLModel : NSObject
| `- note: class 'MLModel' does not conform to the 'Sendable' protocol
29 |
30 | /// A model holds a description of its required inputs and expected outputs.
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:24:11: warning: type 'MLModel' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
22 | modelConfig.computeUnits = computeUnits
23 | return try await MLModel.load(contentsOf: modelPath, configuration: modelConfig)
24 | }.value
| `- warning: type 'MLModel' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
25 |
26 | model = prewarmMode ? nil : loadedModel
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLModel.h:28:12: note: class 'MLModel' does not conform to the 'Sendable' protocol
26 | API_AVAILABLE(macos(10.13), ios(11.0), watchos(4.0), tvos(11.0))
27 | ML_EXPORT
28 | @interface MLModel : NSObject
| `- note: class 'MLModel' does not conform to the 'Sendable' protocol
29 |
30 | /// A model holds a description of its required inputs and expected outputs.
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:893:16: warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
878 |
879 | /// Model Prediction Output Type
880 | public class MelSpectrogramOutput: MLFeatureProvider {
| `- note: add @available attribute to enclosing class
881 | /// Source provided by CoreML
882 | private let provider: MLFeatureProvider
:
891 | @available(macCatalyst, unavailable)
892 | public var melspectrogram_featuresShapedArray: MLShapedArray<Float16> {
893 | return MLShapedArray<Float16>(self.melspectrogramFeatures)
| |- warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
894 | }
895 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:893:37: warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
878 |
879 | /// Model Prediction Output Type
880 | public class MelSpectrogramOutput: MLFeatureProvider {
| `- note: add @available attribute to enclosing class
881 | /// Source provided by CoreML
882 | private let provider: MLFeatureProvider
:
891 | @available(macCatalyst, unavailable)
892 | public var melspectrogram_featuresShapedArray: MLShapedArray<Float16> {
893 | return MLShapedArray<Float16>(self.melspectrogramFeatures)
| |- warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
894 | }
895 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:954:16: warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
939 |
940 | /// Model Prediction Output Type
941 | public class AudioEncoderOutput: MLFeatureProvider {
| `- note: add @available attribute to enclosing class
942 | /// Source provided by CoreML
943 | private let provider: MLFeatureProvider
:
952 | @available(macCatalyst, unavailable)
953 | public var encoder_output_embedsShapedArray: MLShapedArray<Float16> {
954 | return MLShapedArray<Float16>(self.encoder_output_embeds)
| |- warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
955 | }
956 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:954:37: warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
939 |
940 | /// Model Prediction Output Type
941 | public class AudioEncoderOutput: MLFeatureProvider {
| `- note: add @available attribute to enclosing class
942 | /// Source provided by CoreML
943 | private let provider: MLFeatureProvider
:
952 | @available(macCatalyst, unavailable)
953 | public var encoder_output_embedsShapedArray: MLShapedArray<Float16> {
954 | return MLShapedArray<Float16>(self.encoder_output_embeds)
| |- warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
955 | }
956 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1057:16: warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
1042 |
1043 | /// Model Prediction Output Type
1044 | public class TextDecoderOutput: MLFeatureProvider {
| `- note: add @available attribute to enclosing class
1045 | /// Source provided by CoreML
1046 | private let provider: MLFeatureProvider
:
1055 | @available(macCatalyst, unavailable)
1056 | public var logitsShapedArray: MLShapedArray<Float16> {
1057 | return MLShapedArray<Float16>(self.logits)
| |- warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
1058 | }
1059 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1057:37: warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
1042 |
1043 | /// Model Prediction Output Type
1044 | public class TextDecoderOutput: MLFeatureProvider {
| `- note: add @available attribute to enclosing class
1045 | /// Source provided by CoreML
1046 | private let provider: MLFeatureProvider
:
1055 | @available(macCatalyst, unavailable)
1056 | public var logitsShapedArray: MLShapedArray<Float16> {
1057 | return MLShapedArray<Float16>(self.logits)
| |- warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
1058 | }
1059 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1069:16: warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
1042 |
1043 | /// Model Prediction Output Type
1044 | public class TextDecoderOutput: MLFeatureProvider {
| `- note: add @available attribute to enclosing class
1045 | /// Source provided by CoreML
1046 | private let provider: MLFeatureProvider
:
1067 | @available(macCatalyst, unavailable)
1068 | public var key_cache_updatesShapedArray: MLShapedArray<Float16> {
1069 | return MLShapedArray<Float16>(self.key_cache_updates)
| |- warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
1070 | }
1071 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1069:37: warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
1042 |
1043 | /// Model Prediction Output Type
1044 | public class TextDecoderOutput: MLFeatureProvider {
| `- note: add @available attribute to enclosing class
1045 | /// Source provided by CoreML
1046 | private let provider: MLFeatureProvider
:
1067 | @available(macCatalyst, unavailable)
1068 | public var key_cache_updatesShapedArray: MLShapedArray<Float16> {
1069 | return MLShapedArray<Float16>(self.key_cache_updates)
| |- warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
1070 | }
1071 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1081:16: warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
1042 |
1043 | /// Model Prediction Output Type
1044 | public class TextDecoderOutput: MLFeatureProvider {
| `- note: add @available attribute to enclosing class
1045 | /// Source provided by CoreML
1046 | private let provider: MLFeatureProvider
:
1079 | @available(macCatalyst, unavailable)
1080 | public var value_cache_updatesShapedArray: MLShapedArray<Float16> {
1081 | return MLShapedArray<Float16>(self.value_cache_updates)
| |- warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
1082 | }
1083 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1081:37: warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
1042 |
1043 | /// Model Prediction Output Type
1044 | public class TextDecoderOutput: MLFeatureProvider {
| `- note: add @available attribute to enclosing class
1045 | /// Source provided by CoreML
1046 | private let provider: MLFeatureProvider
:
1079 | @available(macCatalyst, unavailable)
1080 | public var value_cache_updatesShapedArray: MLShapedArray<Float16> {
1081 | return MLShapedArray<Float16>(self.value_cache_updates)
| |- warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
1082 | }
1083 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1096:16: warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
1042 |
1043 | /// Model Prediction Output Type
1044 | public class TextDecoderOutput: MLFeatureProvider {
| `- note: add @available attribute to enclosing class
1045 | /// Source provided by CoreML
1046 | private let provider: MLFeatureProvider
:
1094 | return nil
1095 | }
1096 | return MLShapedArray<Float16>(alignment_heads_weights)
| |- warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
1097 | }
1098 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1096:37: warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
1042 |
1043 | /// Model Prediction Output Type
1044 | public class TextDecoderOutput: MLFeatureProvider {
| `- note: add @available attribute to enclosing class
1045 | /// Source provided by CoreML
1046 | private let provider: MLFeatureProvider
:
1094 | return nil
1095 | }
1096 | return MLShapedArray<Float16>(alignment_heads_weights)
| |- warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
1097 | }
1098 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1163:16: warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
1148 |
1149 | /// Model Prediction Output Type
1150 | public class TextDecoderCachePrefillOutput: MLFeatureProvider {
| `- note: add @available attribute to enclosing class
1151 | /// Source provided by CoreML
1152 | private let provider: MLFeatureProvider
:
1161 | @available(macCatalyst, unavailable)
1162 | public var key_cache_prefillShapedArray: MLShapedArray<Float16> {
1163 | return MLShapedArray<Float16>(self.key_cache_prefill)
| |- warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
1164 | }
1165 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1163:37: warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
1148 |
1149 | /// Model Prediction Output Type
1150 | public class TextDecoderCachePrefillOutput: MLFeatureProvider {
| `- note: add @available attribute to enclosing class
1151 | /// Source provided by CoreML
1152 | private let provider: MLFeatureProvider
:
1161 | @available(macCatalyst, unavailable)
1162 | public var key_cache_prefillShapedArray: MLShapedArray<Float16> {
1163 | return MLShapedArray<Float16>(self.key_cache_prefill)
| |- warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
1164 | }
1165 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1175:16: warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
1148 |
1149 | /// Model Prediction Output Type
1150 | public class TextDecoderCachePrefillOutput: MLFeatureProvider {
| `- note: add @available attribute to enclosing class
1151 | /// Source provided by CoreML
1152 | private let provider: MLFeatureProvider
:
1173 | @available(macCatalyst, unavailable)
1174 | public var value_cache_prefillShapedArray: MLShapedArray<Float16> {
1175 | return MLShapedArray<Float16>(self.value_cache_prefill)
| |- warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
1176 | }
1177 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1175:37: warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
1148 |
1149 | /// Model Prediction Output Type
1150 | public class TextDecoderCachePrefillOutput: MLFeatureProvider {
| `- note: add @available attribute to enclosing class
1151 | /// Source provided by CoreML
1152 | private let provider: MLFeatureProvider
:
1173 | @available(macCatalyst, unavailable)
1174 | public var value_cache_prefillShapedArray: MLShapedArray<Float16> {
1175 | return MLShapedArray<Float16>(self.value_cache_prefill)
| |- warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
1176 | }
1177 |
[328/351] Compiling WhisperKit FeatureExtractor.swift
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:20:37: warning: type 'MLModel' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
18 | public extension WhisperMLModel {
19 | func loadModel(at modelPath: URL, computeUnits: MLComputeUnits, prewarmMode: Bool = false) async throws {
20 | let loadedModel = try await Task {
| `- warning: type 'MLModel' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
21 | let modelConfig = MLModelConfiguration()
22 | modelConfig.computeUnits = computeUnits
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLModel.h:28:12: note: class 'MLModel' does not conform to the 'Sendable' protocol
26 | API_AVAILABLE(macos(10.13), ios(11.0), watchos(4.0), tvos(11.0))
27 | ML_EXPORT
28 | @interface MLModel : NSObject
| `- note: class 'MLModel' does not conform to the 'Sendable' protocol
29 |
30 | /// A model holds a description of its required inputs and expected outputs.
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:6:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreML'
4 | import Accelerate
5 | import AVFAudio
6 | import CoreML
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreML'
7 | import Hub
8 | import NaturalLanguage
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:20:37: warning: type 'MLModel' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
18 | public extension WhisperMLModel {
19 | func loadModel(at modelPath: URL, computeUnits: MLComputeUnits, prewarmMode: Bool = false) async throws {
20 | let loadedModel = try await Task {
| `- warning: type 'MLModel' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
21 | let modelConfig = MLModelConfiguration()
22 | modelConfig.computeUnits = computeUnits
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLModel.h:28:12: note: class 'MLModel' does not conform to the 'Sendable' protocol
26 | API_AVAILABLE(macos(10.13), ios(11.0), watchos(4.0), tvos(11.0))
27 | ML_EXPORT
28 | @interface MLModel : NSObject
| `- note: class 'MLModel' does not conform to the 'Sendable' protocol
29 |
30 | /// A model holds a description of its required inputs and expected outputs.
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:24:11: warning: type 'MLModel' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
22 | modelConfig.computeUnits = computeUnits
23 | return try await MLModel.load(contentsOf: modelPath, configuration: modelConfig)
24 | }.value
| `- warning: type 'MLModel' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
25 |
26 | model = prewarmMode ? nil : loadedModel
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLModel.h:28:12: note: class 'MLModel' does not conform to the 'Sendable' protocol
26 | API_AVAILABLE(macos(10.13), ios(11.0), watchos(4.0), tvos(11.0))
27 | ML_EXPORT
28 | @interface MLModel : NSObject
| `- note: class 'MLModel' does not conform to the 'Sendable' protocol
29 |
30 | /// A model holds a description of its required inputs and expected outputs.
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:893:16: warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
878 |
879 | /// Model Prediction Output Type
880 | public class MelSpectrogramOutput: MLFeatureProvider {
| `- note: add @available attribute to enclosing class
881 | /// Source provided by CoreML
882 | private let provider: MLFeatureProvider
:
891 | @available(macCatalyst, unavailable)
892 | public var melspectrogram_featuresShapedArray: MLShapedArray<Float16> {
893 | return MLShapedArray<Float16>(self.melspectrogramFeatures)
| |- warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
894 | }
895 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:893:37: warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
878 |
879 | /// Model Prediction Output Type
880 | public class MelSpectrogramOutput: MLFeatureProvider {
| `- note: add @available attribute to enclosing class
881 | /// Source provided by CoreML
882 | private let provider: MLFeatureProvider
:
891 | @available(macCatalyst, unavailable)
892 | public var melspectrogram_featuresShapedArray: MLShapedArray<Float16> {
893 | return MLShapedArray<Float16>(self.melspectrogramFeatures)
| |- warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
894 | }
895 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:954:16: warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
939 |
940 | /// Model Prediction Output Type
941 | public class AudioEncoderOutput: MLFeatureProvider {
| `- note: add @available attribute to enclosing class
942 | /// Source provided by CoreML
943 | private let provider: MLFeatureProvider
:
952 | @available(macCatalyst, unavailable)
953 | public var encoder_output_embedsShapedArray: MLShapedArray<Float16> {
954 | return MLShapedArray<Float16>(self.encoder_output_embeds)
| |- warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
955 | }
956 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:954:37: warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
939 |
940 | /// Model Prediction Output Type
941 | public class AudioEncoderOutput: MLFeatureProvider {
| `- note: add @available attribute to enclosing class
942 | /// Source provided by CoreML
943 | private let provider: MLFeatureProvider
:
952 | @available(macCatalyst, unavailable)
953 | public var encoder_output_embedsShapedArray: MLShapedArray<Float16> {
954 | return MLShapedArray<Float16>(self.encoder_output_embeds)
| |- warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
955 | }
956 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1057:16: warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
1042 |
1043 | /// Model Prediction Output Type
1044 | public class TextDecoderOutput: MLFeatureProvider {
| `- note: add @available attribute to enclosing class
1045 | /// Source provided by CoreML
1046 | private let provider: MLFeatureProvider
:
1055 | @available(macCatalyst, unavailable)
1056 | public var logitsShapedArray: MLShapedArray<Float16> {
1057 | return MLShapedArray<Float16>(self.logits)
| |- warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
1058 | }
1059 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1057:37: warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
1042 |
1043 | /// Model Prediction Output Type
1044 | public class TextDecoderOutput: MLFeatureProvider {
| `- note: add @available attribute to enclosing class
1045 | /// Source provided by CoreML
1046 | private let provider: MLFeatureProvider
:
1055 | @available(macCatalyst, unavailable)
1056 | public var logitsShapedArray: MLShapedArray<Float16> {
1057 | return MLShapedArray<Float16>(self.logits)
| |- warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
1058 | }
1059 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1069:16: warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
1042 |
1043 | /// Model Prediction Output Type
1044 | public class TextDecoderOutput: MLFeatureProvider {
| `- note: add @available attribute to enclosing class
1045 | /// Source provided by CoreML
1046 | private let provider: MLFeatureProvider
:
1067 | @available(macCatalyst, unavailable)
1068 | public var key_cache_updatesShapedArray: MLShapedArray<Float16> {
1069 | return MLShapedArray<Float16>(self.key_cache_updates)
| |- warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
1070 | }
1071 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1069:37: warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
1042 |
1043 | /// Model Prediction Output Type
1044 | public class TextDecoderOutput: MLFeatureProvider {
| `- note: add @available attribute to enclosing class
1045 | /// Source provided by CoreML
1046 | private let provider: MLFeatureProvider
:
1067 | @available(macCatalyst, unavailable)
1068 | public var key_cache_updatesShapedArray: MLShapedArray<Float16> {
1069 | return MLShapedArray<Float16>(self.key_cache_updates)
| |- warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
1070 | }
1071 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1081:16: warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
1042 |
1043 | /// Model Prediction Output Type
1044 | public class TextDecoderOutput: MLFeatureProvider {
| `- note: add @available attribute to enclosing class
1045 | /// Source provided by CoreML
1046 | private let provider: MLFeatureProvider
:
1079 | @available(macCatalyst, unavailable)
1080 | public var value_cache_updatesShapedArray: MLShapedArray<Float16> {
1081 | return MLShapedArray<Float16>(self.value_cache_updates)
| |- warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
1082 | }
1083 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1081:37: warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
1042 |
1043 | /// Model Prediction Output Type
1044 | public class TextDecoderOutput: MLFeatureProvider {
| `- note: add @available attribute to enclosing class
1045 | /// Source provided by CoreML
1046 | private let provider: MLFeatureProvider
:
1079 | @available(macCatalyst, unavailable)
1080 | public var value_cache_updatesShapedArray: MLShapedArray<Float16> {
1081 | return MLShapedArray<Float16>(self.value_cache_updates)
| |- warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
1082 | }
1083 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1096:16: warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
1042 |
1043 | /// Model Prediction Output Type
1044 | public class TextDecoderOutput: MLFeatureProvider {
| `- note: add @available attribute to enclosing class
1045 | /// Source provided by CoreML
1046 | private let provider: MLFeatureProvider
:
1094 | return nil
1095 | }
1096 | return MLShapedArray<Float16>(alignment_heads_weights)
| |- warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
1097 | }
1098 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1096:37: warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
1042 |
1043 | /// Model Prediction Output Type
1044 | public class TextDecoderOutput: MLFeatureProvider {
| `- note: add @available attribute to enclosing class
1045 | /// Source provided by CoreML
1046 | private let provider: MLFeatureProvider
:
1094 | return nil
1095 | }
1096 | return MLShapedArray<Float16>(alignment_heads_weights)
| |- warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
1097 | }
1098 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1163:16: warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
1148 |
1149 | /// Model Prediction Output Type
1150 | public class TextDecoderCachePrefillOutput: MLFeatureProvider {
| `- note: add @available attribute to enclosing class
1151 | /// Source provided by CoreML
1152 | private let provider: MLFeatureProvider
:
1161 | @available(macCatalyst, unavailable)
1162 | public var key_cache_prefillShapedArray: MLShapedArray<Float16> {
1163 | return MLShapedArray<Float16>(self.key_cache_prefill)
| |- warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
1164 | }
1165 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1163:37: warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
1148 |
1149 | /// Model Prediction Output Type
1150 | public class TextDecoderCachePrefillOutput: MLFeatureProvider {
| `- note: add @available attribute to enclosing class
1151 | /// Source provided by CoreML
1152 | private let provider: MLFeatureProvider
:
1161 | @available(macCatalyst, unavailable)
1162 | public var key_cache_prefillShapedArray: MLShapedArray<Float16> {
1163 | return MLShapedArray<Float16>(self.key_cache_prefill)
| |- warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
1164 | }
1165 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1175:16: warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
1148 |
1149 | /// Model Prediction Output Type
1150 | public class TextDecoderCachePrefillOutput: MLFeatureProvider {
| `- note: add @available attribute to enclosing class
1151 | /// Source provided by CoreML
1152 | private let provider: MLFeatureProvider
:
1173 | @available(macCatalyst, unavailable)
1174 | public var value_cache_prefillShapedArray: MLShapedArray<Float16> {
1175 | return MLShapedArray<Float16>(self.value_cache_prefill)
| |- warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
1176 | }
1177 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1175:37: warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
1148 |
1149 | /// Model Prediction Output Type
1150 | public class TextDecoderCachePrefillOutput: MLFeatureProvider {
| `- note: add @available attribute to enclosing class
1151 | /// Source provided by CoreML
1152 | private let provider: MLFeatureProvider
:
1173 | @available(macCatalyst, unavailable)
1174 | public var value_cache_prefillShapedArray: MLShapedArray<Float16> {
1175 | return MLShapedArray<Float16>(self.value_cache_prefill)
| |- warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
1176 | }
1177 |
[329/351] Compiling WhisperKit Models.swift
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:20:37: warning: type 'MLModel' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
18 | public extension WhisperMLModel {
19 | func loadModel(at modelPath: URL, computeUnits: MLComputeUnits, prewarmMode: Bool = false) async throws {
20 | let loadedModel = try await Task {
| `- warning: type 'MLModel' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
21 | let modelConfig = MLModelConfiguration()
22 | modelConfig.computeUnits = computeUnits
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLModel.h:28:12: note: class 'MLModel' does not conform to the 'Sendable' protocol
26 | API_AVAILABLE(macos(10.13), ios(11.0), watchos(4.0), tvos(11.0))
27 | ML_EXPORT
28 | @interface MLModel : NSObject
| `- note: class 'MLModel' does not conform to the 'Sendable' protocol
29 |
30 | /// A model holds a description of its required inputs and expected outputs.
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:6:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreML'
4 | import Accelerate
5 | import AVFAudio
6 | import CoreML
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreML'
7 | import Hub
8 | import NaturalLanguage
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:20:37: warning: type 'MLModel' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
18 | public extension WhisperMLModel {
19 | func loadModel(at modelPath: URL, computeUnits: MLComputeUnits, prewarmMode: Bool = false) async throws {
20 | let loadedModel = try await Task {
| `- warning: type 'MLModel' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
21 | let modelConfig = MLModelConfiguration()
22 | modelConfig.computeUnits = computeUnits
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLModel.h:28:12: note: class 'MLModel' does not conform to the 'Sendable' protocol
26 | API_AVAILABLE(macos(10.13), ios(11.0), watchos(4.0), tvos(11.0))
27 | ML_EXPORT
28 | @interface MLModel : NSObject
| `- note: class 'MLModel' does not conform to the 'Sendable' protocol
29 |
30 | /// A model holds a description of its required inputs and expected outputs.
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:24:11: warning: type 'MLModel' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
22 | modelConfig.computeUnits = computeUnits
23 | return try await MLModel.load(contentsOf: modelPath, configuration: modelConfig)
24 | }.value
| `- warning: type 'MLModel' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
25 |
26 | model = prewarmMode ? nil : loadedModel
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLModel.h:28:12: note: class 'MLModel' does not conform to the 'Sendable' protocol
26 | API_AVAILABLE(macos(10.13), ios(11.0), watchos(4.0), tvos(11.0))
27 | ML_EXPORT
28 | @interface MLModel : NSObject
| `- note: class 'MLModel' does not conform to the 'Sendable' protocol
29 |
30 | /// A model holds a description of its required inputs and expected outputs.
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:893:16: warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
878 |
879 | /// Model Prediction Output Type
880 | public class MelSpectrogramOutput: MLFeatureProvider {
| `- note: add @available attribute to enclosing class
881 | /// Source provided by CoreML
882 | private let provider: MLFeatureProvider
:
891 | @available(macCatalyst, unavailable)
892 | public var melspectrogram_featuresShapedArray: MLShapedArray<Float16> {
893 | return MLShapedArray<Float16>(self.melspectrogramFeatures)
| |- warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
894 | }
895 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:893:37: warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
878 |
879 | /// Model Prediction Output Type
880 | public class MelSpectrogramOutput: MLFeatureProvider {
| `- note: add @available attribute to enclosing class
881 | /// Source provided by CoreML
882 | private let provider: MLFeatureProvider
:
891 | @available(macCatalyst, unavailable)
892 | public var melspectrogram_featuresShapedArray: MLShapedArray<Float16> {
893 | return MLShapedArray<Float16>(self.melspectrogramFeatures)
| |- warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
894 | }
895 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:954:16: warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
939 |
940 | /// Model Prediction Output Type
941 | public class AudioEncoderOutput: MLFeatureProvider {
| `- note: add @available attribute to enclosing class
942 | /// Source provided by CoreML
943 | private let provider: MLFeatureProvider
:
952 | @available(macCatalyst, unavailable)
953 | public var encoder_output_embedsShapedArray: MLShapedArray<Float16> {
954 | return MLShapedArray<Float16>(self.encoder_output_embeds)
| |- warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
955 | }
956 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:954:37: warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
939 |
940 | /// Model Prediction Output Type
941 | public class AudioEncoderOutput: MLFeatureProvider {
| `- note: add @available attribute to enclosing class
942 | /// Source provided by CoreML
943 | private let provider: MLFeatureProvider
:
952 | @available(macCatalyst, unavailable)
953 | public var encoder_output_embedsShapedArray: MLShapedArray<Float16> {
954 | return MLShapedArray<Float16>(self.encoder_output_embeds)
| |- warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
955 | }
956 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1057:16: warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
1042 |
1043 | /// Model Prediction Output Type
1044 | public class TextDecoderOutput: MLFeatureProvider {
| `- note: add @available attribute to enclosing class
1045 | /// Source provided by CoreML
1046 | private let provider: MLFeatureProvider
:
1055 | @available(macCatalyst, unavailable)
1056 | public var logitsShapedArray: MLShapedArray<Float16> {
1057 | return MLShapedArray<Float16>(self.logits)
| |- warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
1058 | }
1059 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1057:37: warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
1042 |
1043 | /// Model Prediction Output Type
1044 | public class TextDecoderOutput: MLFeatureProvider {
| `- note: add @available attribute to enclosing class
1045 | /// Source provided by CoreML
1046 | private let provider: MLFeatureProvider
:
1055 | @available(macCatalyst, unavailable)
1056 | public var logitsShapedArray: MLShapedArray<Float16> {
1057 | return MLShapedArray<Float16>(self.logits)
| |- warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
1058 | }
1059 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1069:16: warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
1042 |
1043 | /// Model Prediction Output Type
1044 | public class TextDecoderOutput: MLFeatureProvider {
| `- note: add @available attribute to enclosing class
1045 | /// Source provided by CoreML
1046 | private let provider: MLFeatureProvider
:
1067 | @available(macCatalyst, unavailable)
1068 | public var key_cache_updatesShapedArray: MLShapedArray<Float16> {
1069 | return MLShapedArray<Float16>(self.key_cache_updates)
| |- warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
1070 | }
1071 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1069:37: warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
1042 |
1043 | /// Model Prediction Output Type
1044 | public class TextDecoderOutput: MLFeatureProvider {
| `- note: add @available attribute to enclosing class
1045 | /// Source provided by CoreML
1046 | private let provider: MLFeatureProvider
:
1067 | @available(macCatalyst, unavailable)
1068 | public var key_cache_updatesShapedArray: MLShapedArray<Float16> {
1069 | return MLShapedArray<Float16>(self.key_cache_updates)
| |- warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
1070 | }
1071 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1081:16: warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
1042 |
1043 | /// Model Prediction Output Type
1044 | public class TextDecoderOutput: MLFeatureProvider {
| `- note: add @available attribute to enclosing class
1045 | /// Source provided by CoreML
1046 | private let provider: MLFeatureProvider
:
1079 | @available(macCatalyst, unavailable)
1080 | public var value_cache_updatesShapedArray: MLShapedArray<Float16> {
1081 | return MLShapedArray<Float16>(self.value_cache_updates)
| |- warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
1082 | }
1083 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1081:37: warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
1042 |
1043 | /// Model Prediction Output Type
1044 | public class TextDecoderOutput: MLFeatureProvider {
| `- note: add @available attribute to enclosing class
1045 | /// Source provided by CoreML
1046 | private let provider: MLFeatureProvider
:
1079 | @available(macCatalyst, unavailable)
1080 | public var value_cache_updatesShapedArray: MLShapedArray<Float16> {
1081 | return MLShapedArray<Float16>(self.value_cache_updates)
| |- warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
1082 | }
1083 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1096:16: warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
1042 |
1043 | /// Model Prediction Output Type
1044 | public class TextDecoderOutput: MLFeatureProvider {
| `- note: add @available attribute to enclosing class
1045 | /// Source provided by CoreML
1046 | private let provider: MLFeatureProvider
:
1094 | return nil
1095 | }
1096 | return MLShapedArray<Float16>(alignment_heads_weights)
| |- warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
1097 | }
1098 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1096:37: warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
1042 |
1043 | /// Model Prediction Output Type
1044 | public class TextDecoderOutput: MLFeatureProvider {
| `- note: add @available attribute to enclosing class
1045 | /// Source provided by CoreML
1046 | private let provider: MLFeatureProvider
:
1094 | return nil
1095 | }
1096 | return MLShapedArray<Float16>(alignment_heads_weights)
| |- warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
1097 | }
1098 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1163:16: warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
1148 |
1149 | /// Model Prediction Output Type
1150 | public class TextDecoderCachePrefillOutput: MLFeatureProvider {
| `- note: add @available attribute to enclosing class
1151 | /// Source provided by CoreML
1152 | private let provider: MLFeatureProvider
:
1161 | @available(macCatalyst, unavailable)
1162 | public var key_cache_prefillShapedArray: MLShapedArray<Float16> {
1163 | return MLShapedArray<Float16>(self.key_cache_prefill)
| |- warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
1164 | }
1165 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1163:37: warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
1148 |
1149 | /// Model Prediction Output Type
1150 | public class TextDecoderCachePrefillOutput: MLFeatureProvider {
| `- note: add @available attribute to enclosing class
1151 | /// Source provided by CoreML
1152 | private let provider: MLFeatureProvider
:
1161 | @available(macCatalyst, unavailable)
1162 | public var key_cache_prefillShapedArray: MLShapedArray<Float16> {
1163 | return MLShapedArray<Float16>(self.key_cache_prefill)
| |- warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
1164 | }
1165 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1175:16: warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
1148 |
1149 | /// Model Prediction Output Type
1150 | public class TextDecoderCachePrefillOutput: MLFeatureProvider {
| `- note: add @available attribute to enclosing class
1151 | /// Source provided by CoreML
1152 | private let provider: MLFeatureProvider
:
1173 | @available(macCatalyst, unavailable)
1174 | public var value_cache_prefillShapedArray: MLShapedArray<Float16> {
1175 | return MLShapedArray<Float16>(self.value_cache_prefill)
| |- warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
1176 | }
1177 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1175:37: warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
1148 |
1149 | /// Model Prediction Output Type
1150 | public class TextDecoderCachePrefillOutput: MLFeatureProvider {
| `- note: add @available attribute to enclosing class
1151 | /// Source provided by CoreML
1152 | private let provider: MLFeatureProvider
:
1173 | @available(macCatalyst, unavailable)
1174 | public var value_cache_prefillShapedArray: MLShapedArray<Float16> {
1175 | return MLShapedArray<Float16>(self.value_cache_prefill)
| |- warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
1176 | }
1177 |
[330/351] Compiling WhisperKit AudioChunker.swift
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Audio/AudioProcessor.swift:134:26: warning: type 'AVAudioPCMBuffer' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
132 | /// - Returns: `AVAudioPCMBuffer` containing the audio data.
133 | static func loadAudioAsync(fromPath audioFilePath: String) async throws -> AVAudioPCMBuffer {
134 | return try await Task {
| `- warning: type 'AVAudioPCMBuffer' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
135 | try AudioProcessor.loadAudio(fromPath: audioFilePath)
136 | }.value
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioBuffer.h:67:12: note: class 'AVAudioPCMBuffer' does not conform to the 'Sendable' protocol
65 | */
66 | API_AVAILABLE(macos(10.10), ios(8.0), watchos(2.0), tvos(9.0))
67 | @interface AVAudioPCMBuffer : AVAudioBuffer
| `- note: class 'AVAudioPCMBuffer' does not conform to the 'Sendable' protocol
68 |
69 | /*! @method initWithPCMFormat:frameCapacity:
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Audio/AudioProcessor.swift:5:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'AVFAudio'
3 |
4 | import Accelerate
5 | import AVFoundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'AVFAudio'
6 | import CoreAudio
7 | import CoreML
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Audio/AudioProcessor.swift:134:26: warning: type 'AVAudioPCMBuffer' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
132 | /// - Returns: `AVAudioPCMBuffer` containing the audio data.
133 | static func loadAudioAsync(fromPath audioFilePath: String) async throws -> AVAudioPCMBuffer {
134 | return try await Task {
| `- warning: type 'AVAudioPCMBuffer' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
135 | try AudioProcessor.loadAudio(fromPath: audioFilePath)
136 | }.value
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioBuffer.h:67:12: note: class 'AVAudioPCMBuffer' does not conform to the 'Sendable' protocol
65 | */
66 | API_AVAILABLE(macos(10.10), ios(8.0), watchos(2.0), tvos(9.0))
67 | @interface AVAudioPCMBuffer : AVAudioBuffer
| `- note: class 'AVAudioPCMBuffer' does not conform to the 'Sendable' protocol
68 |
69 | /*! @method initWithPCMFormat:frameCapacity:
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Audio/AudioProcessor.swift:136:11: warning: type 'AVAudioPCMBuffer' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
134 | return try await Task {
135 | try AudioProcessor.loadAudio(fromPath: audioFilePath)
136 | }.value
| `- warning: type 'AVAudioPCMBuffer' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
137 | }
138 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioBuffer.h:67:12: note: class 'AVAudioPCMBuffer' does not conform to the 'Sendable' protocol
65 | */
66 | API_AVAILABLE(macos(10.10), ios(8.0), watchos(2.0), tvos(9.0))
67 | @interface AVAudioPCMBuffer : AVAudioBuffer
| `- note: class 'AVAudioPCMBuffer' does not conform to the 'Sendable' protocol
68 |
69 | /*! @method initWithPCMFormat:frameCapacity:
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Audio/AudioProcessor.swift:1050:30: warning: capture of 'self' with non-sendable type 'AudioProcessor?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
202 | }
203 |
204 | open class AudioProcessor: NSObject, AudioProcessing {
| `- note: class 'AudioProcessor' does not conform to the 'Sendable' protocol
205 | private var lastInputDevice: DeviceID?
206 | public var audioEngine: AVAudioEngine?
:
1048 |
1049 | continuation.onTermination = { [weak self] _ in
1050 | guard let self = self else { return }
| `- warning: capture of 'self' with non-sendable type 'AudioProcessor?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
1051 | self.audioBufferCallback = nil
1052 | self.stopRecording()
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Audio/AudioStreamTranscriber.swift:196:41: warning: sending 'self.transcribeTask' risks causing data races; this is an error in the Swift 6 language mode
194 | options.clipTimestamps = [state.lastConfirmedSegmentEndSeconds]
195 | let checkWindow = compressionCheckWindow
196 | return try await transcribeTask.run(audioArray: samples, decodeOptions: options) { [weak self] progress in
| |- warning: sending 'self.transcribeTask' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'self.transcribeTask' to nonisolated instance method 'run(audioArray:decodeOptions:callback:)' risks causing data races between nonisolated and 'self'-isolated uses
197 | Task { [weak self] in
198 | await self?.onProgressCallback(progress)
[331/351] Compiling WhisperKit AudioProcessor.swift
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Audio/AudioProcessor.swift:134:26: warning: type 'AVAudioPCMBuffer' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
132 | /// - Returns: `AVAudioPCMBuffer` containing the audio data.
133 | static func loadAudioAsync(fromPath audioFilePath: String) async throws -> AVAudioPCMBuffer {
134 | return try await Task {
| `- warning: type 'AVAudioPCMBuffer' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
135 | try AudioProcessor.loadAudio(fromPath: audioFilePath)
136 | }.value
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioBuffer.h:67:12: note: class 'AVAudioPCMBuffer' does not conform to the 'Sendable' protocol
65 | */
66 | API_AVAILABLE(macos(10.10), ios(8.0), watchos(2.0), tvos(9.0))
67 | @interface AVAudioPCMBuffer : AVAudioBuffer
| `- note: class 'AVAudioPCMBuffer' does not conform to the 'Sendable' protocol
68 |
69 | /*! @method initWithPCMFormat:frameCapacity:
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Audio/AudioProcessor.swift:5:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'AVFAudio'
3 |
4 | import Accelerate
5 | import AVFoundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'AVFAudio'
6 | import CoreAudio
7 | import CoreML
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Audio/AudioProcessor.swift:134:26: warning: type 'AVAudioPCMBuffer' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
132 | /// - Returns: `AVAudioPCMBuffer` containing the audio data.
133 | static func loadAudioAsync(fromPath audioFilePath: String) async throws -> AVAudioPCMBuffer {
134 | return try await Task {
| `- warning: type 'AVAudioPCMBuffer' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
135 | try AudioProcessor.loadAudio(fromPath: audioFilePath)
136 | }.value
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioBuffer.h:67:12: note: class 'AVAudioPCMBuffer' does not conform to the 'Sendable' protocol
65 | */
66 | API_AVAILABLE(macos(10.10), ios(8.0), watchos(2.0), tvos(9.0))
67 | @interface AVAudioPCMBuffer : AVAudioBuffer
| `- note: class 'AVAudioPCMBuffer' does not conform to the 'Sendable' protocol
68 |
69 | /*! @method initWithPCMFormat:frameCapacity:
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Audio/AudioProcessor.swift:136:11: warning: type 'AVAudioPCMBuffer' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
134 | return try await Task {
135 | try AudioProcessor.loadAudio(fromPath: audioFilePath)
136 | }.value
| `- warning: type 'AVAudioPCMBuffer' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
137 | }
138 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioBuffer.h:67:12: note: class 'AVAudioPCMBuffer' does not conform to the 'Sendable' protocol
65 | */
66 | API_AVAILABLE(macos(10.10), ios(8.0), watchos(2.0), tvos(9.0))
67 | @interface AVAudioPCMBuffer : AVAudioBuffer
| `- note: class 'AVAudioPCMBuffer' does not conform to the 'Sendable' protocol
68 |
69 | /*! @method initWithPCMFormat:frameCapacity:
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Audio/AudioProcessor.swift:1050:30: warning: capture of 'self' with non-sendable type 'AudioProcessor?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
202 | }
203 |
204 | open class AudioProcessor: NSObject, AudioProcessing {
| `- note: class 'AudioProcessor' does not conform to the 'Sendable' protocol
205 | private var lastInputDevice: DeviceID?
206 | public var audioEngine: AVAudioEngine?
:
1048 |
1049 | continuation.onTermination = { [weak self] _ in
1050 | guard let self = self else { return }
| `- warning: capture of 'self' with non-sendable type 'AudioProcessor?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
1051 | self.audioBufferCallback = nil
1052 | self.stopRecording()
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Audio/AudioStreamTranscriber.swift:196:41: warning: sending 'self.transcribeTask' risks causing data races; this is an error in the Swift 6 language mode
194 | options.clipTimestamps = [state.lastConfirmedSegmentEndSeconds]
195 | let checkWindow = compressionCheckWindow
196 | return try await transcribeTask.run(audioArray: samples, decodeOptions: options) { [weak self] progress in
| |- warning: sending 'self.transcribeTask' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'self.transcribeTask' to nonisolated instance method 'run(audioArray:decodeOptions:callback:)' risks causing data races between nonisolated and 'self'-isolated uses
197 | Task { [weak self] in
198 | await self?.onProgressCallback(progress)
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Audio/AudioProcessor.swift:134:26: warning: type 'AVAudioPCMBuffer' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
132 | /// - Returns: `AVAudioPCMBuffer` containing the audio data.
133 | static func loadAudioAsync(fromPath audioFilePath: String) async throws -> AVAudioPCMBuffer {
134 | return try await Task {
| `- warning: type 'AVAudioPCMBuffer' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
135 | try AudioProcessor.loadAudio(fromPath: audioFilePath)
136 | }.value
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioBuffer.h:67:12: note: class 'AVAudioPCMBuffer' does not conform to the 'Sendable' protocol
65 | */
66 | API_AVAILABLE(macos(10.10), ios(8.0), watchos(2.0), tvos(9.0))
67 | @interface AVAudioPCMBuffer : AVAudioBuffer
| `- note: class 'AVAudioPCMBuffer' does not conform to the 'Sendable' protocol
68 |
69 | /*! @method initWithPCMFormat:frameCapacity:
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Audio/AudioProcessor.swift:5:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'AVFAudio'
3 |
4 | import Accelerate
5 | import AVFoundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'AVFAudio'
6 | import CoreAudio
7 | import CoreML
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Audio/AudioProcessor.swift:134:26: warning: type 'AVAudioPCMBuffer' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
132 | /// - Returns: `AVAudioPCMBuffer` containing the audio data.
133 | static func loadAudioAsync(fromPath audioFilePath: String) async throws -> AVAudioPCMBuffer {
134 | return try await Task {
| `- warning: type 'AVAudioPCMBuffer' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
135 | try AudioProcessor.loadAudio(fromPath: audioFilePath)
136 | }.value
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioBuffer.h:67:12: note: class 'AVAudioPCMBuffer' does not conform to the 'Sendable' protocol
65 | */
66 | API_AVAILABLE(macos(10.10), ios(8.0), watchos(2.0), tvos(9.0))
67 | @interface AVAudioPCMBuffer : AVAudioBuffer
| `- note: class 'AVAudioPCMBuffer' does not conform to the 'Sendable' protocol
68 |
69 | /*! @method initWithPCMFormat:frameCapacity:
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Audio/AudioProcessor.swift:136:11: warning: type 'AVAudioPCMBuffer' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
134 | return try await Task {
135 | try AudioProcessor.loadAudio(fromPath: audioFilePath)
136 | }.value
| `- warning: type 'AVAudioPCMBuffer' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
137 | }
138 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioBuffer.h:67:12: note: class 'AVAudioPCMBuffer' does not conform to the 'Sendable' protocol
65 | */
66 | API_AVAILABLE(macos(10.10), ios(8.0), watchos(2.0), tvos(9.0))
67 | @interface AVAudioPCMBuffer : AVAudioBuffer
| `- note: class 'AVAudioPCMBuffer' does not conform to the 'Sendable' protocol
68 |
69 | /*! @method initWithPCMFormat:frameCapacity:
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Audio/AudioProcessor.swift:1050:30: warning: capture of 'self' with non-sendable type 'AudioProcessor?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
202 | }
203 |
204 | open class AudioProcessor: NSObject, AudioProcessing {
| `- note: class 'AudioProcessor' does not conform to the 'Sendable' protocol
205 | private var lastInputDevice: DeviceID?
206 | public var audioEngine: AVAudioEngine?
:
1048 |
1049 | continuation.onTermination = { [weak self] _ in
1050 | guard let self = self else { return }
| `- warning: capture of 'self' with non-sendable type 'AudioProcessor?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
1051 | self.audioBufferCallback = nil
1052 | self.stopRecording()
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Audio/AudioStreamTranscriber.swift:196:41: warning: sending 'self.transcribeTask' risks causing data races; this is an error in the Swift 6 language mode
194 | options.clipTimestamps = [state.lastConfirmedSegmentEndSeconds]
195 | let checkWindow = compressionCheckWindow
196 | return try await transcribeTask.run(audioArray: samples, decodeOptions: options) { [weak self] progress in
| |- warning: sending 'self.transcribeTask' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'self.transcribeTask' to nonisolated instance method 'run(audioArray:decodeOptions:callback:)' risks causing data races between nonisolated and 'self'-isolated uses
197 | Task { [weak self] in
198 | await self?.onProgressCallback(progress)
[333/369] Compiling SpeakerKit PyannoteModelManager.swift
[334/369] Compiling SpeakerKit SpeakerClustering.swift
[335/369] Compiling SpeakerKit ClusteringAlgorithms.swift
[336/369] Compiling SpeakerKit MathOps.swift
[337/369] Compiling SpeakerKit SpeakerKit.swift
[338/369] Compiling SpeakerKit SpeakerKitConfig.swift
[339/369] Compiling SpeakerKit DiarizationResult.swift
[340/369] Compiling SpeakerKit Diarizer.swift
[343/369] Compiling SpeakerKit RTTMLine.swift
[344/369] Compiling SpeakerKit SpeakerInfo.swift
[345/369] Compiling SpeakerKit SpeakerEmbedderModel.swift
[346/369] Compiling SpeakerKit SpeakerPreEmbedderModel.swift
[347/369] Compiling SpeakerKit SpeakerSegmenterModel.swift
[348/369] Compiling SpeakerKit VBxClustering.swift
[349/369] Compiling SpeakerKit SpeakerKitDiarizer.swift
[352/370] Compiling SpeakerKit SpeakerSegment.swift
[363/370] Compiling SpeakerKit PyannoteConfig.swift
[364/370] Compiling SpeakerKit PyannoteDiarizer.swift
[365/370] Emitting module SpeakerKit
[368/378] Compiling WhisperKitCLI WhisperKitCLI.swift
[369/378] Compiling WhisperKitCLI TTSCLI.swift
[370/378] Compiling WhisperKitCLI DiarizeCLI.swift
[371/378] Emitting module WhisperKitCLI
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKitCLI/TranscribeCLI.swift:191:31: warning: sending value of non-Sendable type '() async -> Void' risks causing data races; this is an error in the Swift 6 language mode
189 |
190 | // Start the progress bar task
191 | progressBarTask = Task {
| |- warning: sending value of non-Sendable type '() async -> Void' risks causing data races; this is an error in the Swift 6 language mode
| `- note: Passing value of non-Sendable type '() async -> Void' as a 'sending' argument risks causing races in between local and caller code
192 | while await progressState.getIsTranscribing() {
193 | let progress = whisperKit.progress.fractionCompleted
:
213 |
214 | // Start the transcription
215 | let transcribeResult: [Result<[TranscriptionResult], Swift.Error>] = await whisperKit.transcribeWithResults(
| `- note: access can happen concurrently
216 | audioPaths: resolvedAudioPaths,
217 | decodeOptions: options
[372/378] Compiling WhisperKitCLI TranscribeCLIArguments.swift
[373/378] Compiling WhisperKitCLI CLIUtils.swift
[374/378] Compiling WhisperKitCLI TranscribeCLIUtils.swift
[375/378] Compiling WhisperKitCLI TranscribeCLI.swift
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKitCLI/TranscribeCLI.swift:191:31: warning: sending value of non-Sendable type '() async -> Void' risks causing data races; this is an error in the Swift 6 language mode
189 |
190 | // Start the progress bar task
191 | progressBarTask = Task {
| |- warning: sending value of non-Sendable type '() async -> Void' risks causing data races; this is an error in the Swift 6 language mode
| `- note: Passing value of non-Sendable type '() async -> Void' as a 'sending' argument risks causing races in between local and caller code
192 | while await progressState.getIsTranscribing() {
193 | let progress = whisperKit.progress.fractionCompleted
:
213 |
214 | // Start the transcription
215 | let transcribeResult: [Result<[TranscriptionResult], Swift.Error>] = await whisperKit.transcribeWithResults(
| `- note: access can happen concurrently
216 | audioPaths: resolvedAudioPaths,
217 | decodeOptions: options
[375/378] Write Objects.LinkFileList
[376/378] Linking whisperkit-cli
[377/378] Applying whisperkit-cli
Build complete! (43.81s)
Fetching https://github.com/huggingface/swift-transformers.git
Fetching https://github.com/apple/swift-argument-parser.git from cache
[1/6236] Fetching swift-transformers
Fetched https://github.com/huggingface/swift-transformers.git from cache (1.27s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.31s)
Computing version for https://github.com/huggingface/swift-transformers.git
Computed https://github.com/huggingface/swift-transformers.git at 1.1.9 (1.83s)
Fetching https://github.com/ibireme/yyjson.git
Fetching https://github.com/huggingface/swift-jinja.git
Fetching https://github.com/apple/swift-collections.git from cache
Fetching https://github.com/apple/swift-crypto.git from cache
[1/1051] Fetching swift-jinja
[1052/5494] Fetching swift-jinja, yyjson
Fetched https://github.com/huggingface/swift-jinja.git from cache (1.44s)
Fetched https://github.com/ibireme/yyjson.git from cache (1.44s)
Fetched https://github.com/apple/swift-crypto.git from cache (1.61s)
Fetched https://github.com/apple/swift-collections.git from cache (1.63s)
Computing version for https://github.com/ibireme/yyjson.git
Computed https://github.com/ibireme/yyjson.git at 0.12.0 (2.27s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.7.1 (0.55s)
Computing version for https://github.com/huggingface/swift-jinja.git
Computed https://github.com/huggingface/swift-jinja.git at 2.3.5 (0.50s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (0.63s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.4.0 (3.07s)
Fetching https://github.com/apple/swift-asn1.git from cache
Fetched https://github.com/apple/swift-asn1.git from cache (0.83s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.0 (1.47s)
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 4.4.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.4.1
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.7.1
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.0
Creating working copy for https://github.com/huggingface/swift-jinja.git
Working copy of https://github.com/huggingface/swift-jinja.git resolved at 2.3.5
Creating working copy for https://github.com/ibireme/yyjson.git
Working copy of https://github.com/ibireme/yyjson.git resolved at 0.12.0
Creating working copy for https://github.com/huggingface/swift-transformers.git
Working copy of https://github.com/huggingface/swift-transformers.git resolved at 1.1.9
Build complete.
{
"dependencies" : [
{
"identity" : "swift-transformers",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.6",
"upper_bound" : "1.2.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/huggingface/swift-transformers.git"
},
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.3.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser.git"
}
],
"manifest_display_name" : "whisperkit",
"name" : "whisperkit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "16.0"
},
{
"name" : "macos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "10.0"
},
{
"name" : "visionos",
"version" : "1.0"
}
],
"products" : [
{
"name" : "WhisperKit",
"targets" : [
"WhisperKit"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "TTSKit",
"targets" : [
"TTSKit"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SpeakerKit",
"targets" : [
"SpeakerKit"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "whisperkit-cli",
"targets" : [
"WhisperKitCLI"
],
"type" : {
"executable" : null
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "WhisperKitTests",
"module_type" : "SwiftTarget",
"name" : "WhisperKitTests",
"path" : "Tests/WhisperKitTests",
"product_dependencies" : [
"Hub",
"Tokenizers"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/WhisperKitTests/Resources/8_Channel_ID.m4a",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/WhisperKitTests/Resources/config-v02.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/WhisperKitTests/Resources/config-v03.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/WhisperKitTests/Resources/config-v04.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/WhisperKitTests/Resources/es_test_clip.wav",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/WhisperKitTests/Resources/ja_test_clip.wav",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/WhisperKitTests/Resources/jfk.wav",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/WhisperKitTests/Resources/jfk_441khz.m4a",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/WhisperKitTests/Resources/ted_60.m4a",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"Evaluate/DistanceCalculation.swift",
"Evaluate/NormalizeEn.swift",
"Evaluate/SpellingMapping.swift",
"Evaluate/WERUtils.swift",
"FunctionalTests.swift",
"RegressionTestUtils.swift",
"RegressionTests.swift",
"TestUtils.swift",
"UnitTests.swift"
],
"target_dependencies" : [
"WhisperKit"
],
"type" : "test"
},
{
"c99name" : "WhisperKitCLI",
"module_type" : "SwiftTarget",
"name" : "WhisperKitCLI",
"path" : "Sources/WhisperKitCLI",
"product_dependencies" : [
"ArgumentParser"
],
"product_memberships" : [
"whisperkit-cli"
],
"sources" : [
"CLIUtils.swift",
"DiarizeCLI.swift",
"TTSCLI.swift",
"TranscribeCLI.swift",
"TranscribeCLIArguments.swift",
"TranscribeCLIUtils.swift",
"WhisperKitCLI.swift"
],
"target_dependencies" : [
"WhisperKit",
"TTSKit",
"SpeakerKit"
],
"type" : "executable"
},
{
"c99name" : "WhisperKit",
"module_type" : "SwiftTarget",
"name" : "WhisperKit",
"path" : "Sources/WhisperKit",
"product_dependencies" : [
"Hub",
"Tokenizers"
],
"product_memberships" : [
"WhisperKit",
"SpeakerKit",
"whisperkit-cli"
],
"sources" : [
"Core/Audio/AudioChunker.swift",
"Core/Audio/AudioProcessor.swift",
"Core/Audio/AudioStreamTranscriber.swift",
"Core/Audio/EnergyVAD.swift",
"Core/Audio/VoiceActivityDetector.swift",
"Core/AudioEncoder.swift",
"Core/Configurations.swift",
"Core/FeatureExtractor.swift",
"Core/Models.swift",
"Core/Text/LogitsFilter.swift",
"Core/Text/SegmentSeeker.swift",
"Core/Text/TokenSampler.swift",
"Core/TextDecoder.swift",
"Core/TranscribeTask.swift",
"Core/WhisperKit.swift",
"Utilities/Concurrency.swift",
"Utilities/Extensions+Internal.swift",
"Utilities/Extensions+Public.swift",
"Utilities/Logging.swift",
"Utilities/ModelUtilities.swift",
"Utilities/ResultWriter.swift",
"Utilities/TextUtilities.swift",
"Utilities/TranscriptionUtilities.swift",
"Utilities/WhisperError.swift"
],
"target_dependencies" : [
"ArgmaxCore"
],
"type" : "library"
},
{
"c99name" : "TTSKitTests",
"module_type" : "SwiftTarget",
"name" : "TTSKitTests",
"path" : "Tests/TTSKitTests",
"sources" : [
"TTSKitIntegrationTests.swift",
"TTSKitUnitTests.swift"
],
"target_dependencies" : [
"TTSKit"
],
"type" : "test"
},
{
"c99name" : "TTSKit",
"module_type" : "SwiftTarget",
"name" : "TTSKit",
"path" : "Sources/TTSKit",
"product_dependencies" : [
"Tokenizers",
"Hub"
],
"product_memberships" : [
"TTSKit",
"whisperkit-cli"
],
"sources" : [
"Configurations.swift",
"Generating.swift",
"Models.swift",
"Protocols.swift",
"Qwen3TTS/Qwen3CodeDecoder.swift",
"Qwen3TTS/Qwen3Config.swift",
"Qwen3TTS/Qwen3Embedders.swift",
"Qwen3TTS/Qwen3GenerateTask.swift",
"Qwen3TTS/Qwen3Models.swift",
"Qwen3TTS/Qwen3MultiCodeDecoder.swift",
"Qwen3TTS/Qwen3SpeechDecoder.swift",
"Qwen3TTS/Qwen3TextProjector.swift",
"TTSKit.swift",
"Utilities/AudioOutput.swift",
"Utilities/EmbedTypes.swift",
"Utilities/KVCache.swift",
"Utilities/PromptCache.swift",
"Utilities/Sampling.swift",
"Utilities/TTSError.swift",
"Utilities/TextChunker.swift"
],
"target_dependencies" : [
"ArgmaxCore"
],
"type" : "library"
},
{
"c99name" : "SpeakerKitTests",
"module_type" : "SwiftTarget",
"name" : "SpeakerKitTests",
"path" : "Tests/SpeakerKitTests",
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/SpeakerKitTests/Resources/VADAudio.wav",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/SpeakerKitTests/Resources/jfk.wav",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"ClusterAlgorithmsTests.swift",
"DiarizationResultTests.swift",
"DiarizerPostProcessingTests.swift",
"ExclusiveReconciliationTests.swift",
"MathOpsTests.swift",
"PyannoteIntegrationTests.swift",
"RTTMLineTests.swift",
"SpeakerEmbedderContextTests.swift"
],
"target_dependencies" : [
"SpeakerKit",
"WhisperKit"
],
"type" : "test"
},
{
"c99name" : "SpeakerKit",
"module_type" : "SwiftTarget",
"name" : "SpeakerKit",
"path" : "Sources/SpeakerKit",
"product_dependencies" : [
"Hub"
],
"product_memberships" : [
"SpeakerKit",
"whisperkit-cli"
],
"sources" : [
"DiarizationResult.swift",
"Diarizer.swift",
"Pyannote/ClusteringAlgorithms.swift",
"Pyannote/MathOps.swift",
"Pyannote/PyannoteConfig.swift",
"Pyannote/PyannoteDiarizer.swift",
"Pyannote/PyannoteModelManager.swift",
"Pyannote/SpeakerClustering.swift",
"Pyannote/SpeakerEmbedderModel.swift",
"Pyannote/SpeakerPreEmbedderModel.swift",
"Pyannote/SpeakerSegmenterModel.swift",
"Pyannote/VBxClustering.swift",
"RTTMLine.swift",
"SpeakerInfo.swift",
"SpeakerKit.swift",
"SpeakerKitConfig.swift",
"SpeakerKitDiarizer.swift",
"SpeakerSegment.swift"
],
"target_dependencies" : [
"ArgmaxCore",
"WhisperKit"
],
"type" : "library"
},
{
"c99name" : "ArgmaxCore",
"module_type" : "SwiftTarget",
"name" : "ArgmaxCore",
"path" : "Sources/ArgmaxCore",
"product_dependencies" : [
"Hub"
],
"product_memberships" : [
"WhisperKit",
"TTSKit",
"SpeakerKit",
"whisperkit-cli"
],
"sources" : [
"ArgmaxCoreError.swift",
"ConcurrencyUtilities.swift",
"FloatType.swift",
"FoundationExtensions.swift",
"Logging.swift",
"MLModelExtensions.swift",
"MLModelLoading.swift",
"MLMultiArrayExtensions.swift",
"MLTensorExtensions.swift",
"ModelDownloader.swift",
"ModelManager.swift",
"ModelState.swift",
"ModelUtilities.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.