The Swift Package Index logo.Swift Package Index

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

Build Information

Successful build of whisperkit, reference v0.13.0 (b3c412), with Swift 6.2 (beta) for macOS (SPM) on 24 Jun 2025 15:42:31 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/argmaxinc/whisperkit.git
Reference: v0.13.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/argmaxinc/whisperkit
 * tag               v0.13.0    -> FETCH_HEAD
HEAD is now at b3c412a Release v0.13.0
Cloned https://github.com/argmaxinc/whisperkit.git
Revision (git rev-parse @):
b3c412aa7520069f6c71f7cc217fbcf850ba31a1
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/argmaxinc/whisperkit.git at v0.13.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/argmaxinc/whisperkit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/20] Write sources
[4/20] Write whisperkit-cli-entitlement.plist
[7/20] Write sources
[9/20] Copying gpt2_tokenizer_config.json
[9/20] Write sources
[11/20] Copying t5_tokenizer_config.json
[11/20] Write sources
[16/20] Write swift-version-1EA4D86E10B52AF.txt
[18/51] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[19/51] Compiling InternalCollectionsUtilities UInt+reversed.swift
[20/51] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[21/51] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[22/51] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[23/52] Compiling InternalCollectionsUtilities Debugging.swift
[24/52] Compiling InternalCollectionsUtilities Descriptions.swift
[25/52] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[26/52] Compiling InternalCollectionsUtilities Integer rank.swift
[27/52] Emitting module InternalCollectionsUtilities
[28/52] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[29/52] Compiling InternalCollectionsUtilities _SortedCollection.swift
[30/52] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[31/52] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[32/52] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[33/52] Compiling ArgumentParserToolInfo ToolInfo.swift
[34/52] Emitting module ArgumentParserToolInfo
[35/147] Compiling OrderedCollections OrderedSet+Codable.swift
[36/147] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[37/147] Compiling OrderedCollections OrderedSet+Descriptions.swift
[38/147] Compiling OrderedCollections OrderedSet+Diffing.swift
[39/147] Compiling OrderedCollections OrderedSet+Equatable.swift
[40/147] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[41/153] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[42/153] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[43/153] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[44/153] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[45/153] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[46/153] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[47/153] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[48/153] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[49/153] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[50/153] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[51/153] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[52/153] Compiling OrderedCollections OrderedSet+Sendable.swift
[53/153] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[54/153] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[55/153] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[56/153] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[57/153] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[58/153] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[59/153] Compiling OrderedCollections OrderedDictionary+Elements.swift
[60/153] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[61/153] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[62/153] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[63/153] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[64/153] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[65/153] Compiling OrderedCollections OrderedSet+Hashable.swift
[66/153] Compiling OrderedCollections OrderedSet+Initializers.swift
[67/153] Compiling OrderedCollections OrderedSet+Insertions.swift
[68/153] Compiling OrderedCollections OrderedSet+Invariants.swift
[69/153] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[70/153] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[71/153] Compiling OrderedCollections _Hashtable+Header.swift
[72/153] Compiling OrderedCollections OrderedDictionary+Codable.swift
[73/153] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[74/153] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[75/153] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[76/153] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[77/153] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[78/153] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[79/153] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[80/153] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[81/153] Compiling OrderedCollections OrderedDictionary+Values.swift
[82/153] Compiling OrderedCollections OrderedDictionary.swift
[83/153] Compiling OrderedCollections _HashTable+Bucket.swift
[84/153] Compiling OrderedCollections _HashTable+BucketIterator.swift
[85/153] Compiling OrderedCollections _HashTable+Constants.swift
[86/153] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[87/153] Compiling OrderedCollections _HashTable+Testing.swift
[88/153] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[89/153] Compiling OrderedCollections _HashTable.swift
[90/153] Compiling OrderedCollections OrderedSet+SubSequence.swift
[91/153] Compiling OrderedCollections OrderedSet+Testing.swift
[92/153] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[93/153] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[94/153] Compiling OrderedCollections OrderedSet.swift
[95/153] Compiling OrderedCollections _UnsafeBitset.swift
[96/153] Emitting module OrderedCollections
[105/167] Emitting module ArgumentParser
[120/167] Compiling ArgumentParser Platform.swift
[121/167] Compiling ArgumentParser SequenceExtensions.swift
[122/167] Compiling ArgumentParser StringExtensions.swift
[123/167] Compiling ArgumentParser Tree.swift
[124/167] Compiling Jinja Utilities.swift
[125/167] Compiling Jinja StringExtension.swift
[126/167] Compiling Jinja Lexer.swift
[127/167] Emitting module Hub
[128/167] Compiling Hub HubApi.swift
[129/167] Compiling Hub resource_bundle_accessor.swift
[130/167] Compiling Hub Hub.swift
[131/167] Compiling Hub Downloader.swift
[132/167] Compiling Jinja Template.swift
[133/167] Compiling Jinja Parser.swift
[134/167] Compiling Jinja Runtime.swift
[135/167] Compiling Jinja Ast.swift
[136/167] Compiling Jinja Error.swift
[137/167] Compiling Jinja Environment.swift
[138/167] Emitting module Jinja
[155/179] Compiling Tokenizers Trie.swift
[156/179] Compiling Tokenizers UnigramTokenizer.swift
[157/180] Compiling TensorUtils MLMultiArray+Utils.swift
[158/181] Compiling Tokenizers Normalizer.swift
[159/181] Emitting module TensorUtils
[160/181] Compiling Tokenizers TokenLattice.swift
[161/181] Compiling Tokenizers PostProcessor.swift
[162/181] Compiling Tokenizers Tokenizer.swift
[163/181] Compiling Tokenizers PreTokenizer.swift
[164/181] Emitting module Tokenizers
[165/181] Compiling Tokenizers ByteEncoder.swift
[166/181] Compiling Tokenizers Decoder.swift
[167/181] Compiling Tokenizers BPETokenizer.swift
[168/181] Compiling Tokenizers BertTokenizer.swift
[169/181] Compiling Tokenizers Utils.swift
[170/181] Compiling TensorUtils TopKLogitsWarper.swift
[171/181] Compiling TensorUtils TopPLogitsWarper.swift
[172/181] Compiling TensorUtils LogitsWarper.swift
[173/181] Compiling TensorUtils LogitsProcessor.swift
[174/181] Compiling TensorUtils Math.swift
[175/181] Compiling TensorUtils MLShapedArray+Utils.swift
[176/181] Compiling TensorUtils TemperatureLogitsWarper.swift
[177/181] Compiling TensorUtils RepetitionPenaltyWarper.swift
[178/181] Compiling TensorUtils Weights.swift
[179/184] Emitting module Generation
[180/184] Compiling Generation Generation.swift
[181/184] Compiling Generation GenerationConfig.swift
[182/187] Compiling Models LanguageModelTypes.swift
[183/187] Emitting module Models
[184/187] Compiling Models LanguageModel.swift
[185/210] Emitting module WhisperKit
[186/212] Compiling WhisperKit ResultWriter.swift
[187/212] Compiling WhisperKit TextUtilities.swift
[188/212] Compiling WhisperKit Logging.swift
[189/212] Compiling WhisperKit ModelUtilities.swift
[190/212] Compiling WhisperKit TranscriptionUtilities.swift
[191/212] Compiling WhisperKit WhisperError.swift
[192/212] Compiling WhisperKit EnergyVAD.swift
[193/212] Compiling WhisperKit VoiceActivityDetector.swift
[194/212] Compiling WhisperKit AudioEncoder.swift
[195/212] Compiling WhisperKit LogitsFilter.swift
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/LogitsFilter.swift:158:25: warning: conformance of 'Float16' to 'BNNSScalar' is only available in macOS 26.0 or newer; this is an error in the Swift 6 language mode
146 |     }
147 |
148 |     private func sumOfProbabilityOverTimestampsIsAboveAnyOtherToken(logits: MLMultiArray, timeTokenBegin: Int) -> Bool {
    |                  `- note: add @available attribute to enclosing instance method
149 |         let timeTokenBeginOffset = logits.linearOffset(for: [0, 0, timeTokenBegin as NSNumber])
150 |
    :
156 |         guard let logprobsInputDescriptor = BNNSNDArrayDescriptor(
157 |             data: logprobsInputPointer,
158 |             scalarType: FloatType.self,
    |                         |- warning: conformance of 'Float16' to 'BNNSScalar' is only available in macOS 26.0 or newer; this is an error in the Swift 6 language mode
    |                         `- note: add 'if #available' version check
159 |             shape: .vector(logits.count, stride: 1)
160 |         ) else {
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/LogitsFilter.swift:166:25: warning: conformance of 'Float16' to 'BNNSScalar' is only available in macOS 26.0 or newer; this is an error in the Swift 6 language mode
146 |     }
147 |
148 |     private func sumOfProbabilityOverTimestampsIsAboveAnyOtherToken(logits: MLMultiArray, timeTokenBegin: Int) -> Bool {
    |                  `- note: add @available attribute to enclosing instance method
149 |         let timeTokenBeginOffset = logits.linearOffset(for: [0, 0, timeTokenBegin as NSNumber])
150 |
    :
164 |
165 |         let logprobs = BNNSNDArrayDescriptor.allocateUninitialized(
166 |             scalarType: FloatType.self,
    |                         |- warning: conformance of 'Float16' to 'BNNSScalar' is only available in macOS 26.0 or newer; this is an error in the Swift 6 language mode
    |                         `- note: add 'if #available' version check
167 |             shape: .vector(logits.count, stride: 1)
168 |         )
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/LogitsFilter.swift:172:22: warning: 'applyActivation(activation:input:output:batchSize:filterParameters:)' is deprecated: Use the BNNSGraph API instead. [#DeprecatedDeclaration]
170 |
171 |         do {
172 |             try BNNS.applyActivation(
    |                      `- warning: 'applyActivation(activation:input:output:batchSize:filterParameters:)' is deprecated: Use the BNNSGraph API instead. [#DeprecatedDeclaration]
173 |                 activation: BNNS.ActivationFunction.logSoftmax,
174 |                 input: logprobsInputDescriptor,
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/LogitsFilter.swift:173:34: warning: 'ActivationFunction' is deprecated: Use the BNNSGraph API instead. [#DeprecatedDeclaration]
171 |         do {
172 |             try BNNS.applyActivation(
173 |                 activation: BNNS.ActivationFunction.logSoftmax,
    |                                  `- warning: 'ActivationFunction' is deprecated: Use the BNNSGraph API instead. [#DeprecatedDeclaration]
174 |                 input: logprobsInputDescriptor,
175 |                 output: logprobs,
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/LogitsFilter.swift:188:29: warning: conformance of 'Float16' to 'BNNSScalar' is only available in macOS 26.0 or newer; this is an error in the Swift 6 language mode
146 |     }
147 |
148 |     private func sumOfProbabilityOverTimestampsIsAboveAnyOtherToken(logits: MLMultiArray, timeTokenBegin: Int) -> Bool {
    |                  `- note: add @available attribute to enclosing instance method
149 |         let timeTokenBeginOffset = logits.linearOffset(for: [0, 0, timeTokenBegin as NSNumber])
150 |
    :
186 |             guard let logSumExpInputDescriptor = BNNSNDArrayDescriptor(
187 |                 data: logSumExpInputPointer,
188 |                 scalarType: FloatType.self,
    |                             |- warning: conformance of 'Float16' to 'BNNSScalar' is only available in macOS 26.0 or newer; this is an error in the Swift 6 language mode
    |                             `- note: add 'if #available' version check
189 |                 shape: .vector(timeTokenCount, stride: 1)
190 |             ) else {
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/LogitsFilter.swift:196:29: warning: conformance of 'Float16' to 'BNNSScalar' is only available in macOS 26.0 or newer; this is an error in the Swift 6 language mode
146 |     }
147 |
148 |     private func sumOfProbabilityOverTimestampsIsAboveAnyOtherToken(logits: MLMultiArray, timeTokenBegin: Int) -> Bool {
    |                  `- note: add @available attribute to enclosing instance method
149 |         let timeTokenBeginOffset = logits.linearOffset(for: [0, 0, timeTokenBegin as NSNumber])
150 |
    :
194 |
195 |             let timestampLogProb = BNNSNDArrayDescriptor.allocateUninitialized(
196 |                 scalarType: FloatType.self,
    |                             |- warning: conformance of 'Float16' to 'BNNSScalar' is only available in macOS 26.0 or newer; this is an error in the Swift 6 language mode
    |                             `- note: add 'if #available' version check
197 |                 shape: .vector(1, stride: 1)
198 |             )
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/LogitsFilter.swift:215:29: warning: conformance of 'Float16' to 'BNNSScalar' is only available in macOS 26.0 or newer; this is an error in the Swift 6 language mode
146 |     }
147 |
148 |     private func sumOfProbabilityOverTimestampsIsAboveAnyOtherToken(logits: MLMultiArray, timeTokenBegin: Int) -> Bool {
    |                  `- note: add @available attribute to enclosing instance method
149 |         let timeTokenBeginOffset = logits.linearOffset(for: [0, 0, timeTokenBegin as NSNumber])
150 |
    :
213 |             guard let maxTextTokenLogProbInputDescriptor = BNNSNDArrayDescriptor(
214 |                 data: maxTextTokenLogProbInputPointer,
215 |                 scalarType: FloatType.self,
    |                             |- warning: conformance of 'Float16' to 'BNNSScalar' is only available in macOS 26.0 or newer; this is an error in the Swift 6 language mode
    |                             `- note: add 'if #available' version check
216 |                 shape: .vector(noTimeTokenCount, stride: 1)
217 |             ) else {
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/LogitsFilter.swift:223:29: warning: conformance of 'Float16' to 'BNNSScalar' is only available in macOS 26.0 or newer; this is an error in the Swift 6 language mode
146 |     }
147 |
148 |     private func sumOfProbabilityOverTimestampsIsAboveAnyOtherToken(logits: MLMultiArray, timeTokenBegin: Int) -> Bool {
    |                  `- note: add @available attribute to enclosing instance method
149 |         let timeTokenBeginOffset = logits.linearOffset(for: [0, 0, timeTokenBegin as NSNumber])
150 |
    :
221 |
222 |             let maxTextTokenLogProb = BNNSNDArrayDescriptor.allocateUninitialized(
223 |                 scalarType: FloatType.self,
    |                             |- warning: conformance of 'Float16' to 'BNNSScalar' is only available in macOS 26.0 or newer; this is an error in the Swift 6 language mode
    |                             `- note: add 'if #available' version check
224 |                 shape: .vector(1, stride: 1)
225 |             )
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/TokenSampler.swift:104:29: warning: conformance of 'Float16' to 'BNNSScalar' is only available in macOS 26.0 or newer; this is an error in the Swift 6 language mode
 85 |     #endif
 86 |
 87 |     private func sampleWithBNNS(logits: MLMultiArray) -> (token: Int, logprob: Float) {
    |                  `- note: add @available attribute to enclosing instance method
 88 |         // TODO: BNNS operations here are deprecated, replace with vDSP or MLX
 89 |         var softmaxOutput: BNNSNDArrayDescriptor?
    :
102 |             let logitsDescriptor = BNNSNDArrayDescriptor(
103 |                 data: logitsRawPointer,
104 |                 scalarType: FloatType.self,
    |                             |- warning: conformance of 'Float16' to 'BNNSScalar' is only available in macOS 26.0 or newer; this is an error in the Swift 6 language mode
    |                             `- note: add 'if #available' version check
105 |                 shape: .vector(logits.count, stride: 1)
106 |             )!
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/TokenSampler.swift:113:33: warning: conformance of 'Float16' to 'BNNSScalar' is only available in macOS 26.0 or newer; this is an error in the Swift 6 language mode
 85 |     #endif
 86 |
 87 |     private func sampleWithBNNS(logits: MLMultiArray) -> (token: Int, logprob: Float) {
    |                  `- note: add @available attribute to enclosing instance method
 88 |         // TODO: BNNS operations here are deprecated, replace with vDSP or MLX
 89 |         var softmaxOutput: BNNSNDArrayDescriptor?
    :
111 |             if temperature != 0.0 {
112 |                 let scaledLogits = BNNSNDArrayDescriptor.allocateUninitialized(
113 |                     scalarType: FloatType.self,
    |                                 |- warning: conformance of 'Float16' to 'BNNSScalar' is only available in macOS 26.0 or newer; this is an error in the Swift 6 language mode
    |                                 `- note: add 'if #available' version check
114 |                     shape: .vector(logits.count, stride: 1)
115 |                 )
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/TokenSampler.swift:117:27: warning: 'applyActivation(activation:input:output:batchSize:filterParameters:)' is deprecated: Use the BNNSGraph API instead. [#DeprecatedDeclaration]
115 |                 )
116 |
117 |                 try! BNNS.applyActivation(
    |                           `- warning: 'applyActivation(activation:input:output:batchSize:filterParameters:)' is deprecated: Use the BNNSGraph API instead. [#DeprecatedDeclaration]
118 |                     activation: BNNS.ActivationFunction.linear(alpha: Float(1 / temperature)),
119 |                     input: logitsDescriptor,
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/TokenSampler.swift:118:38: warning: 'ActivationFunction' is deprecated: Use the BNNSGraph API instead. [#DeprecatedDeclaration]
116 |
117 |                 try! BNNS.applyActivation(
118 |                     activation: BNNS.ActivationFunction.linear(alpha: Float(1 / temperature)),
    |                                      `- warning: 'ActivationFunction' is deprecated: Use the BNNSGraph API instead. [#DeprecatedDeclaration]
119 |                     input: logitsDescriptor,
120 |                     output: scaledLogits,
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/TokenSampler.swift:134:22: warning: 'applyActivation(activation:input:output:batchSize:filterParameters:)' is deprecated: Use the BNNSGraph API instead. [#DeprecatedDeclaration]
132 |             )
133 |
134 |             try BNNS.applyActivation(
    |                      `- warning: 'applyActivation(activation:input:output:batchSize:filterParameters:)' is deprecated: Use the BNNSGraph API instead. [#DeprecatedDeclaration]
135 |                 activation: BNNS.ActivationFunction.softmax,
136 |                 input: softmaxInput!,
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/TokenSampler.swift:135:34: warning: 'ActivationFunction' is deprecated: Use the BNNSGraph API instead. [#DeprecatedDeclaration]
133 |
134 |             try BNNS.applyActivation(
135 |                 activation: BNNS.ActivationFunction.softmax,
    |                                  `- warning: 'ActivationFunction' is deprecated: Use the BNNSGraph API instead. [#DeprecatedDeclaration]
136 |                 input: softmaxInput!,
137 |                 output: softmaxOutput!,
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[196/212] Compiling WhisperKit SegmentSeeker.swift
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/LogitsFilter.swift:158:25: warning: conformance of 'Float16' to 'BNNSScalar' is only available in macOS 26.0 or newer; this is an error in the Swift 6 language mode
146 |     }
147 |
148 |     private func sumOfProbabilityOverTimestampsIsAboveAnyOtherToken(logits: MLMultiArray, timeTokenBegin: Int) -> Bool {
    |                  `- note: add @available attribute to enclosing instance method
149 |         let timeTokenBeginOffset = logits.linearOffset(for: [0, 0, timeTokenBegin as NSNumber])
150 |
    :
156 |         guard let logprobsInputDescriptor = BNNSNDArrayDescriptor(
157 |             data: logprobsInputPointer,
158 |             scalarType: FloatType.self,
    |                         |- warning: conformance of 'Float16' to 'BNNSScalar' is only available in macOS 26.0 or newer; this is an error in the Swift 6 language mode
    |                         `- note: add 'if #available' version check
159 |             shape: .vector(logits.count, stride: 1)
160 |         ) else {
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/LogitsFilter.swift:166:25: warning: conformance of 'Float16' to 'BNNSScalar' is only available in macOS 26.0 or newer; this is an error in the Swift 6 language mode
146 |     }
147 |
148 |     private func sumOfProbabilityOverTimestampsIsAboveAnyOtherToken(logits: MLMultiArray, timeTokenBegin: Int) -> Bool {
    |                  `- note: add @available attribute to enclosing instance method
149 |         let timeTokenBeginOffset = logits.linearOffset(for: [0, 0, timeTokenBegin as NSNumber])
150 |
    :
164 |
165 |         let logprobs = BNNSNDArrayDescriptor.allocateUninitialized(
166 |             scalarType: FloatType.self,
    |                         |- warning: conformance of 'Float16' to 'BNNSScalar' is only available in macOS 26.0 or newer; this is an error in the Swift 6 language mode
    |                         `- note: add 'if #available' version check
167 |             shape: .vector(logits.count, stride: 1)
168 |         )
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/LogitsFilter.swift:172:22: warning: 'applyActivation(activation:input:output:batchSize:filterParameters:)' is deprecated: Use the BNNSGraph API instead. [#DeprecatedDeclaration]
170 |
171 |         do {
172 |             try BNNS.applyActivation(
    |                      `- warning: 'applyActivation(activation:input:output:batchSize:filterParameters:)' is deprecated: Use the BNNSGraph API instead. [#DeprecatedDeclaration]
173 |                 activation: BNNS.ActivationFunction.logSoftmax,
174 |                 input: logprobsInputDescriptor,
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/LogitsFilter.swift:173:34: warning: 'ActivationFunction' is deprecated: Use the BNNSGraph API instead. [#DeprecatedDeclaration]
171 |         do {
172 |             try BNNS.applyActivation(
173 |                 activation: BNNS.ActivationFunction.logSoftmax,
    |                                  `- warning: 'ActivationFunction' is deprecated: Use the BNNSGraph API instead. [#DeprecatedDeclaration]
174 |                 input: logprobsInputDescriptor,
175 |                 output: logprobs,
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/LogitsFilter.swift:188:29: warning: conformance of 'Float16' to 'BNNSScalar' is only available in macOS 26.0 or newer; this is an error in the Swift 6 language mode
146 |     }
147 |
148 |     private func sumOfProbabilityOverTimestampsIsAboveAnyOtherToken(logits: MLMultiArray, timeTokenBegin: Int) -> Bool {
    |                  `- note: add @available attribute to enclosing instance method
149 |         let timeTokenBeginOffset = logits.linearOffset(for: [0, 0, timeTokenBegin as NSNumber])
150 |
    :
186 |             guard let logSumExpInputDescriptor = BNNSNDArrayDescriptor(
187 |                 data: logSumExpInputPointer,
188 |                 scalarType: FloatType.self,
    |                             |- warning: conformance of 'Float16' to 'BNNSScalar' is only available in macOS 26.0 or newer; this is an error in the Swift 6 language mode
    |                             `- note: add 'if #available' version check
189 |                 shape: .vector(timeTokenCount, stride: 1)
190 |             ) else {
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/LogitsFilter.swift:196:29: warning: conformance of 'Float16' to 'BNNSScalar' is only available in macOS 26.0 or newer; this is an error in the Swift 6 language mode
146 |     }
147 |
148 |     private func sumOfProbabilityOverTimestampsIsAboveAnyOtherToken(logits: MLMultiArray, timeTokenBegin: Int) -> Bool {
    |                  `- note: add @available attribute to enclosing instance method
149 |         let timeTokenBeginOffset = logits.linearOffset(for: [0, 0, timeTokenBegin as NSNumber])
150 |
    :
194 |
195 |             let timestampLogProb = BNNSNDArrayDescriptor.allocateUninitialized(
196 |                 scalarType: FloatType.self,
    |                             |- warning: conformance of 'Float16' to 'BNNSScalar' is only available in macOS 26.0 or newer; this is an error in the Swift 6 language mode
    |                             `- note: add 'if #available' version check
197 |                 shape: .vector(1, stride: 1)
198 |             )
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/LogitsFilter.swift:215:29: warning: conformance of 'Float16' to 'BNNSScalar' is only available in macOS 26.0 or newer; this is an error in the Swift 6 language mode
146 |     }
147 |
148 |     private func sumOfProbabilityOverTimestampsIsAboveAnyOtherToken(logits: MLMultiArray, timeTokenBegin: Int) -> Bool {
    |                  `- note: add @available attribute to enclosing instance method
149 |         let timeTokenBeginOffset = logits.linearOffset(for: [0, 0, timeTokenBegin as NSNumber])
150 |
    :
213 |             guard let maxTextTokenLogProbInputDescriptor = BNNSNDArrayDescriptor(
214 |                 data: maxTextTokenLogProbInputPointer,
215 |                 scalarType: FloatType.self,
    |                             |- warning: conformance of 'Float16' to 'BNNSScalar' is only available in macOS 26.0 or newer; this is an error in the Swift 6 language mode
    |                             `- note: add 'if #available' version check
216 |                 shape: .vector(noTimeTokenCount, stride: 1)
217 |             ) else {
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/LogitsFilter.swift:223:29: warning: conformance of 'Float16' to 'BNNSScalar' is only available in macOS 26.0 or newer; this is an error in the Swift 6 language mode
146 |     }
147 |
148 |     private func sumOfProbabilityOverTimestampsIsAboveAnyOtherToken(logits: MLMultiArray, timeTokenBegin: Int) -> Bool {
    |                  `- note: add @available attribute to enclosing instance method
149 |         let timeTokenBeginOffset = logits.linearOffset(for: [0, 0, timeTokenBegin as NSNumber])
150 |
    :
221 |
222 |             let maxTextTokenLogProb = BNNSNDArrayDescriptor.allocateUninitialized(
223 |                 scalarType: FloatType.self,
    |                             |- warning: conformance of 'Float16' to 'BNNSScalar' is only available in macOS 26.0 or newer; this is an error in the Swift 6 language mode
    |                             `- note: add 'if #available' version check
224 |                 shape: .vector(1, stride: 1)
225 |             )
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/TokenSampler.swift:104:29: warning: conformance of 'Float16' to 'BNNSScalar' is only available in macOS 26.0 or newer; this is an error in the Swift 6 language mode
 85 |     #endif
 86 |
 87 |     private func sampleWithBNNS(logits: MLMultiArray) -> (token: Int, logprob: Float) {
    |                  `- note: add @available attribute to enclosing instance method
 88 |         // TODO: BNNS operations here are deprecated, replace with vDSP or MLX
 89 |         var softmaxOutput: BNNSNDArrayDescriptor?
    :
102 |             let logitsDescriptor = BNNSNDArrayDescriptor(
103 |                 data: logitsRawPointer,
104 |                 scalarType: FloatType.self,
    |                             |- warning: conformance of 'Float16' to 'BNNSScalar' is only available in macOS 26.0 or newer; this is an error in the Swift 6 language mode
    |                             `- note: add 'if #available' version check
105 |                 shape: .vector(logits.count, stride: 1)
106 |             )!
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/TokenSampler.swift:113:33: warning: conformance of 'Float16' to 'BNNSScalar' is only available in macOS 26.0 or newer; this is an error in the Swift 6 language mode
 85 |     #endif
 86 |
 87 |     private func sampleWithBNNS(logits: MLMultiArray) -> (token: Int, logprob: Float) {
    |                  `- note: add @available attribute to enclosing instance method
 88 |         // TODO: BNNS operations here are deprecated, replace with vDSP or MLX
 89 |         var softmaxOutput: BNNSNDArrayDescriptor?
    :
111 |             if temperature != 0.0 {
112 |                 let scaledLogits = BNNSNDArrayDescriptor.allocateUninitialized(
113 |                     scalarType: FloatType.self,
    |                                 |- warning: conformance of 'Float16' to 'BNNSScalar' is only available in macOS 26.0 or newer; this is an error in the Swift 6 language mode
    |                                 `- note: add 'if #available' version check
114 |                     shape: .vector(logits.count, stride: 1)
115 |                 )
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/TokenSampler.swift:117:27: warning: 'applyActivation(activation:input:output:batchSize:filterParameters:)' is deprecated: Use the BNNSGraph API instead. [#DeprecatedDeclaration]
115 |                 )
116 |
117 |                 try! BNNS.applyActivation(
    |                           `- warning: 'applyActivation(activation:input:output:batchSize:filterParameters:)' is deprecated: Use the BNNSGraph API instead. [#DeprecatedDeclaration]
118 |                     activation: BNNS.ActivationFunction.linear(alpha: Float(1 / temperature)),
119 |                     input: logitsDescriptor,
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/TokenSampler.swift:118:38: warning: 'ActivationFunction' is deprecated: Use the BNNSGraph API instead. [#DeprecatedDeclaration]
116 |
117 |                 try! BNNS.applyActivation(
118 |                     activation: BNNS.ActivationFunction.linear(alpha: Float(1 / temperature)),
    |                                      `- warning: 'ActivationFunction' is deprecated: Use the BNNSGraph API instead. [#DeprecatedDeclaration]
119 |                     input: logitsDescriptor,
120 |                     output: scaledLogits,
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/TokenSampler.swift:134:22: warning: 'applyActivation(activation:input:output:batchSize:filterParameters:)' is deprecated: Use the BNNSGraph API instead. [#DeprecatedDeclaration]
132 |             )
133 |
134 |             try BNNS.applyActivation(
    |                      `- warning: 'applyActivation(activation:input:output:batchSize:filterParameters:)' is deprecated: Use the BNNSGraph API instead. [#DeprecatedDeclaration]
135 |                 activation: BNNS.ActivationFunction.softmax,
136 |                 input: softmaxInput!,
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/TokenSampler.swift:135:34: warning: 'ActivationFunction' is deprecated: Use the BNNSGraph API instead. [#DeprecatedDeclaration]
133 |
134 |             try BNNS.applyActivation(
135 |                 activation: BNNS.ActivationFunction.softmax,
    |                                  `- warning: 'ActivationFunction' is deprecated: Use the BNNSGraph API instead. [#DeprecatedDeclaration]
136 |                 input: softmaxInput!,
137 |                 output: softmaxOutput!,
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[197/212] Compiling WhisperKit TokenSampler.swift
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/LogitsFilter.swift:158:25: warning: conformance of 'Float16' to 'BNNSScalar' is only available in macOS 26.0 or newer; this is an error in the Swift 6 language mode
146 |     }
147 |
148 |     private func sumOfProbabilityOverTimestampsIsAboveAnyOtherToken(logits: MLMultiArray, timeTokenBegin: Int) -> Bool {
    |                  `- note: add @available attribute to enclosing instance method
149 |         let timeTokenBeginOffset = logits.linearOffset(for: [0, 0, timeTokenBegin as NSNumber])
150 |
    :
156 |         guard let logprobsInputDescriptor = BNNSNDArrayDescriptor(
157 |             data: logprobsInputPointer,
158 |             scalarType: FloatType.self,
    |                         |- warning: conformance of 'Float16' to 'BNNSScalar' is only available in macOS 26.0 or newer; this is an error in the Swift 6 language mode
    |                         `- note: add 'if #available' version check
159 |             shape: .vector(logits.count, stride: 1)
160 |         ) else {
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/LogitsFilter.swift:166:25: warning: conformance of 'Float16' to 'BNNSScalar' is only available in macOS 26.0 or newer; this is an error in the Swift 6 language mode
146 |     }
147 |
148 |     private func sumOfProbabilityOverTimestampsIsAboveAnyOtherToken(logits: MLMultiArray, timeTokenBegin: Int) -> Bool {
    |                  `- note: add @available attribute to enclosing instance method
149 |         let timeTokenBeginOffset = logits.linearOffset(for: [0, 0, timeTokenBegin as NSNumber])
150 |
    :
164 |
165 |         let logprobs = BNNSNDArrayDescriptor.allocateUninitialized(
166 |             scalarType: FloatType.self,
    |                         |- warning: conformance of 'Float16' to 'BNNSScalar' is only available in macOS 26.0 or newer; this is an error in the Swift 6 language mode
    |                         `- note: add 'if #available' version check
167 |             shape: .vector(logits.count, stride: 1)
168 |         )
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/LogitsFilter.swift:172:22: warning: 'applyActivation(activation:input:output:batchSize:filterParameters:)' is deprecated: Use the BNNSGraph API instead. [#DeprecatedDeclaration]
170 |
171 |         do {
172 |             try BNNS.applyActivation(
    |                      `- warning: 'applyActivation(activation:input:output:batchSize:filterParameters:)' is deprecated: Use the BNNSGraph API instead. [#DeprecatedDeclaration]
173 |                 activation: BNNS.ActivationFunction.logSoftmax,
174 |                 input: logprobsInputDescriptor,
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/LogitsFilter.swift:173:34: warning: 'ActivationFunction' is deprecated: Use the BNNSGraph API instead. [#DeprecatedDeclaration]
171 |         do {
172 |             try BNNS.applyActivation(
173 |                 activation: BNNS.ActivationFunction.logSoftmax,
    |                                  `- warning: 'ActivationFunction' is deprecated: Use the BNNSGraph API instead. [#DeprecatedDeclaration]
174 |                 input: logprobsInputDescriptor,
175 |                 output: logprobs,
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/LogitsFilter.swift:188:29: warning: conformance of 'Float16' to 'BNNSScalar' is only available in macOS 26.0 or newer; this is an error in the Swift 6 language mode
146 |     }
147 |
148 |     private func sumOfProbabilityOverTimestampsIsAboveAnyOtherToken(logits: MLMultiArray, timeTokenBegin: Int) -> Bool {
    |                  `- note: add @available attribute to enclosing instance method
149 |         let timeTokenBeginOffset = logits.linearOffset(for: [0, 0, timeTokenBegin as NSNumber])
150 |
    :
186 |             guard let logSumExpInputDescriptor = BNNSNDArrayDescriptor(
187 |                 data: logSumExpInputPointer,
188 |                 scalarType: FloatType.self,
    |                             |- warning: conformance of 'Float16' to 'BNNSScalar' is only available in macOS 26.0 or newer; this is an error in the Swift 6 language mode
    |                             `- note: add 'if #available' version check
189 |                 shape: .vector(timeTokenCount, stride: 1)
190 |             ) else {
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/LogitsFilter.swift:196:29: warning: conformance of 'Float16' to 'BNNSScalar' is only available in macOS 26.0 or newer; this is an error in the Swift 6 language mode
146 |     }
147 |
148 |     private func sumOfProbabilityOverTimestampsIsAboveAnyOtherToken(logits: MLMultiArray, timeTokenBegin: Int) -> Bool {
    |                  `- note: add @available attribute to enclosing instance method
149 |         let timeTokenBeginOffset = logits.linearOffset(for: [0, 0, timeTokenBegin as NSNumber])
150 |
    :
194 |
195 |             let timestampLogProb = BNNSNDArrayDescriptor.allocateUninitialized(
196 |                 scalarType: FloatType.self,
    |                             |- warning: conformance of 'Float16' to 'BNNSScalar' is only available in macOS 26.0 or newer; this is an error in the Swift 6 language mode
    |                             `- note: add 'if #available' version check
197 |                 shape: .vector(1, stride: 1)
198 |             )
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/LogitsFilter.swift:215:29: warning: conformance of 'Float16' to 'BNNSScalar' is only available in macOS 26.0 or newer; this is an error in the Swift 6 language mode
146 |     }
147 |
148 |     private func sumOfProbabilityOverTimestampsIsAboveAnyOtherToken(logits: MLMultiArray, timeTokenBegin: Int) -> Bool {
    |                  `- note: add @available attribute to enclosing instance method
149 |         let timeTokenBeginOffset = logits.linearOffset(for: [0, 0, timeTokenBegin as NSNumber])
150 |
    :
213 |             guard let maxTextTokenLogProbInputDescriptor = BNNSNDArrayDescriptor(
214 |                 data: maxTextTokenLogProbInputPointer,
215 |                 scalarType: FloatType.self,
    |                             |- warning: conformance of 'Float16' to 'BNNSScalar' is only available in macOS 26.0 or newer; this is an error in the Swift 6 language mode
    |                             `- note: add 'if #available' version check
216 |                 shape: .vector(noTimeTokenCount, stride: 1)
217 |             ) else {
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/LogitsFilter.swift:223:29: warning: conformance of 'Float16' to 'BNNSScalar' is only available in macOS 26.0 or newer; this is an error in the Swift 6 language mode
146 |     }
147 |
148 |     private func sumOfProbabilityOverTimestampsIsAboveAnyOtherToken(logits: MLMultiArray, timeTokenBegin: Int) -> Bool {
    |                  `- note: add @available attribute to enclosing instance method
149 |         let timeTokenBeginOffset = logits.linearOffset(for: [0, 0, timeTokenBegin as NSNumber])
150 |
    :
221 |
222 |             let maxTextTokenLogProb = BNNSNDArrayDescriptor.allocateUninitialized(
223 |                 scalarType: FloatType.self,
    |                             |- warning: conformance of 'Float16' to 'BNNSScalar' is only available in macOS 26.0 or newer; this is an error in the Swift 6 language mode
    |                             `- note: add 'if #available' version check
224 |                 shape: .vector(1, stride: 1)
225 |             )
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/TokenSampler.swift:104:29: warning: conformance of 'Float16' to 'BNNSScalar' is only available in macOS 26.0 or newer; this is an error in the Swift 6 language mode
 85 |     #endif
 86 |
 87 |     private func sampleWithBNNS(logits: MLMultiArray) -> (token: Int, logprob: Float) {
    |                  `- note: add @available attribute to enclosing instance method
 88 |         // TODO: BNNS operations here are deprecated, replace with vDSP or MLX
 89 |         var softmaxOutput: BNNSNDArrayDescriptor?
    :
102 |             let logitsDescriptor = BNNSNDArrayDescriptor(
103 |                 data: logitsRawPointer,
104 |                 scalarType: FloatType.self,
    |                             |- warning: conformance of 'Float16' to 'BNNSScalar' is only available in macOS 26.0 or newer; this is an error in the Swift 6 language mode
    |                             `- note: add 'if #available' version check
105 |                 shape: .vector(logits.count, stride: 1)
106 |             )!
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/TokenSampler.swift:113:33: warning: conformance of 'Float16' to 'BNNSScalar' is only available in macOS 26.0 or newer; this is an error in the Swift 6 language mode
 85 |     #endif
 86 |
 87 |     private func sampleWithBNNS(logits: MLMultiArray) -> (token: Int, logprob: Float) {
    |                  `- note: add @available attribute to enclosing instance method
 88 |         // TODO: BNNS operations here are deprecated, replace with vDSP or MLX
 89 |         var softmaxOutput: BNNSNDArrayDescriptor?
    :
111 |             if temperature != 0.0 {
112 |                 let scaledLogits = BNNSNDArrayDescriptor.allocateUninitialized(
113 |                     scalarType: FloatType.self,
    |                                 |- warning: conformance of 'Float16' to 'BNNSScalar' is only available in macOS 26.0 or newer; this is an error in the Swift 6 language mode
    |                                 `- note: add 'if #available' version check
114 |                     shape: .vector(logits.count, stride: 1)
115 |                 )
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/TokenSampler.swift:117:27: warning: 'applyActivation(activation:input:output:batchSize:filterParameters:)' is deprecated: Use the BNNSGraph API instead. [#DeprecatedDeclaration]
115 |                 )
116 |
117 |                 try! BNNS.applyActivation(
    |                           `- warning: 'applyActivation(activation:input:output:batchSize:filterParameters:)' is deprecated: Use the BNNSGraph API instead. [#DeprecatedDeclaration]
118 |                     activation: BNNS.ActivationFunction.linear(alpha: Float(1 / temperature)),
119 |                     input: logitsDescriptor,
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/TokenSampler.swift:118:38: warning: 'ActivationFunction' is deprecated: Use the BNNSGraph API instead. [#DeprecatedDeclaration]
116 |
117 |                 try! BNNS.applyActivation(
118 |                     activation: BNNS.ActivationFunction.linear(alpha: Float(1 / temperature)),
    |                                      `- warning: 'ActivationFunction' is deprecated: Use the BNNSGraph API instead. [#DeprecatedDeclaration]
119 |                     input: logitsDescriptor,
120 |                     output: scaledLogits,
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/TokenSampler.swift:134:22: warning: 'applyActivation(activation:input:output:batchSize:filterParameters:)' is deprecated: Use the BNNSGraph API instead. [#DeprecatedDeclaration]
132 |             )
133 |
134 |             try BNNS.applyActivation(
    |                      `- warning: 'applyActivation(activation:input:output:batchSize:filterParameters:)' is deprecated: Use the BNNSGraph API instead. [#DeprecatedDeclaration]
135 |                 activation: BNNS.ActivationFunction.softmax,
136 |                 input: softmaxInput!,
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/TokenSampler.swift:135:34: warning: 'ActivationFunction' is deprecated: Use the BNNSGraph API instead. [#DeprecatedDeclaration]
133 |
134 |             try BNNS.applyActivation(
135 |                 activation: BNNS.ActivationFunction.softmax,
    |                                  `- warning: 'ActivationFunction' is deprecated: Use the BNNSGraph API instead. [#DeprecatedDeclaration]
136 |                 input: softmaxInput!,
137 |                 output: softmaxOutput!,
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[198/212] Compiling WhisperKit WhisperKit.swift
[199/212] Compiling WhisperKit Concurrency.swift
[200/212] Compiling WhisperKit Extensions+Internal.swift
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Utilities/Extensions+Public.swift:73:9: warning: switch must be exhaustive
 71 |         }
 72 |
 73 |         switch dataType {
    |         |- warning: switch must be exhaustive
    |         `- note: add missing case: '.int8'
 74 |             case .double:
 75 |                 if let value = initialValue as? Double {
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Utilities/Extensions+Public.swift:116: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
 56 | // MARK: CoreML
 57 |
 58 | public extension MLMultiArray {
    |        `- note: add @available attribute to enclosing extension
 59 |     @available(macOS 13, iOS 16, watchOS 10, visionOS 1, *)
 60 |     convenience init(shape: [NSNumber], dataType: MLMultiArrayDataType, initialValue: Any) throws {
    :
112 |     }
113 |
114 |     func fillLastDimension(indexes: Range<Int>, with value: FloatType) {
    |          `- note: add @available attribute to enclosing instance method
115 |         precondition(shape.count == 3 && shape[0] == 1 && shape[1] == 1, "Must have [1, 1, n] shape")
116 |         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
117 |             for index in indexes {
118 |                 ptr[index * strides[2]] = value
[201/212] Compiling WhisperKit Extensions+Public.swift
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Utilities/Extensions+Public.swift:73:9: warning: switch must be exhaustive
 71 |         }
 72 |
 73 |         switch dataType {
    |         |- warning: switch must be exhaustive
    |         `- note: add missing case: '.int8'
 74 |             case .double:
 75 |                 if let value = initialValue as? Double {
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Utilities/Extensions+Public.swift:116: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
 56 | // MARK: CoreML
 57 |
 58 | public extension MLMultiArray {
    |        `- note: add @available attribute to enclosing extension
 59 |     @available(macOS 13, iOS 16, watchOS 10, visionOS 1, *)
 60 |     convenience init(shape: [NSNumber], dataType: MLMultiArrayDataType, initialValue: Any) throws {
    :
112 |     }
113 |
114 |     func fillLastDimension(indexes: Range<Int>, with value: FloatType) {
    |          `- note: add @available attribute to enclosing instance method
115 |         precondition(shape.count == 3 && shape[0] == 1 && shape[1] == 1, "Must have [1, 1, n] shape")
116 |         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
117 |             for index in indexes {
118 |                 ptr[index * strides[2]] = value
[202/212] Compiling WhisperKit TextDecoder.swift
[203/212] Compiling WhisperKit TranscribeTask.swift
[204/212] Compiling WhisperKit AudioChunker.swift
[205/212] Compiling WhisperKit AudioProcessor.swift
[206/212] Compiling WhisperKit AudioStreamTranscriber.swift
[207/212] Compiling WhisperKit Configurations.swift
[208/212] Compiling WhisperKit FeatureExtractor.swift
[209/212] Compiling WhisperKit Models.swift
[210/217] Emitting module WhisperKitCLI
[211/217] Compiling WhisperKitCLI CLIArguments.swift
[212/217] Compiling WhisperKitCLI TranscribeCLI.swift
[213/217] Compiling WhisperKitCLI WhisperKitCLI.swift
[214/217] Compiling WhisperKitCLI CLIUtils.swift
[214/217] Write Objects.LinkFileList
[215/217] Linking whisperkit-cli
[216/217] Applying whisperkit-cli
Build complete! (26.56s)
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/huggingface/swift-transformers.git
[1/3303] Fetching swift-transformers
[563/18683] Fetching swift-transformers, swift-argument-parser
Fetched https://github.com/huggingface/swift-transformers.git from cache (2.05s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (2.05s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.1 (2.50s)
Computing version for https://github.com/huggingface/swift-transformers.git
Computed https://github.com/huggingface/swift-transformers.git at 0.1.15 (0.38s)
Fetching https://github.com/johnmai-dev/Jinja
[1/393] Fetching jinja
Fetched https://github.com/johnmai-dev/Jinja from cache (0.80s)
Computing version for https://github.com/johnmai-dev/Jinja
Computed https://github.com/johnmai-dev/Jinja at 1.2.0 (1.20s)
Fetching https://github.com/apple/swift-collections.git
[1/16640] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.60s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (2.09s)
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.5.1
Creating working copy for https://github.com/johnmai-dev/Jinja
Working copy of https://github.com/johnmai-dev/Jinja resolved at 1.2.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.2.0
Creating working copy for https://github.com/huggingface/swift-transformers.git
Working copy of https://github.com/huggingface/swift-transformers.git resolved at 0.1.15
warning: 'spi-builder-workspace': Invalid Resource 'Models/whisperkit-coreml': File not found.
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-transformers",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.1.8",
            "upper_bound" : "0.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"
    }
  ],
  "products" : [
    {
      "name" : "WhisperKit",
      "targets" : [
        "WhisperKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "whisperkit-cli",
      "targets" : [
        "WhisperKitCLI"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "WhisperKitTests",
      "module_type" : "SwiftTarget",
      "name" : "WhisperKitTests",
      "path" : ".",
      "product_dependencies" : [
        "Transformers"
      ],
      "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/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" : [
        "Tests/WhisperKitTests/Evaluate/DistanceCalculation.swift",
        "Tests/WhisperKitTests/Evaluate/NormalizeEn.swift",
        "Tests/WhisperKitTests/Evaluate/SpellingMapping.swift",
        "Tests/WhisperKitTests/Evaluate/WERUtils.swift",
        "Tests/WhisperKitTests/FunctionalTests.swift",
        "Tests/WhisperKitTests/RegressionTestUtils.swift",
        "Tests/WhisperKitTests/RegressionTests.swift",
        "Tests/WhisperKitTests/TestUtils.swift",
        "Tests/WhisperKitTests/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" : [
        "CLIArguments.swift",
        "CLIUtils.swift",
        "TranscribeCLI.swift",
        "WhisperKitCLI.swift"
      ],
      "target_dependencies" : [
        "WhisperKit"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "WhisperKit",
      "module_type" : "SwiftTarget",
      "name" : "WhisperKit",
      "path" : "Sources/WhisperKit",
      "product_dependencies" : [
        "Transformers"
      ],
      "product_memberships" : [
        "WhisperKit",
        "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"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
warning: 'spi-builder-workspace': Invalid Resource 'Models/whisperkit-coreml': File not found.
Done.