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 main (3f1316), with Swift 6.2 (beta) for macOS (SPM) on 24 Jun 2025 15:41:24 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: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/argmaxinc/whisperkit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 3f13167 feat: enhance verbose logging in WhisperKit CLI (#335)
Cloned https://github.com/argmaxinc/whisperkit.git
Revision (git rev-parse @):
3f13167641cf49a6023f509cda674e22f93b5220
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/argmaxinc/whisperkit.git at main
========================================
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
[1/20] Write whisperkit-cli-entitlement.plist
[2/20] Write sources
[8/20] Copying gpt2_tokenizer_config.json
[8/20] Write sources
[8/20] Copying t5_tokenizer_config.json
[8/20] Write sources
[16/20] Write swift-version-1EA4D86E10B52AF.txt
[18/51] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[19/52] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[20/52] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[21/52] Compiling InternalCollectionsUtilities Debugging.swift
[22/52] Compiling InternalCollectionsUtilities Descriptions.swift
[23/52] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[24/52] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[25/52] Compiling InternalCollectionsUtilities _SortedCollection.swift
[26/52] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[27/52] Compiling InternalCollectionsUtilities UInt+reversed.swift
[28/52] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[29/52] Compiling InternalCollectionsUtilities Integer rank.swift
[30/52] Emitting module InternalCollectionsUtilities
[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+Partial SetAlgebra isStrictSubset.swift
[36/147] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[37/147] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[38/147] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[39/147] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[40/147] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[41/153] Compiling ArgumentParser ParsableArgumentsValidation.swift
[42/153] Compiling ArgumentParser ParsableCommand.swift
[43/153] Compiling ArgumentParser ArgumentDecoder.swift
[44/153] Compiling ArgumentParser InputOrigin.swift
[45/153] Compiling ArgumentParser Name.swift
[46/153] Compiling ArgumentParser Parsed.swift
[47/153] Compiling ArgumentParser ParsedValues.swift
[48/153] Compiling ArgumentParser ArgumentDefinition.swift
[49/153] Compiling ArgumentParser ArgumentSet.swift
[50/153] Compiling ArgumentParser CommandParser.swift
[51/153] Compiling ArgumentParser InputKey.swift
[52/153] Compiling ArgumentParser ParserError.swift
[53/153] Compiling ArgumentParser SplitArguments.swift
[54/153] Compiling ArgumentParser DumpHelpGenerator.swift
[55/153] Compiling ArgumentParser HelpCommand.swift
[56/153] Compiling ArgumentParser HelpGenerator.swift
[57/153] Compiling ArgumentParser MessageInfo.swift
[58/153] Compiling ArgumentParser UsageGenerator.swift
[59/153] Compiling OrderedCollections _Hashtable+Header.swift
[60/153] Compiling OrderedCollections OrderedDictionary+Codable.swift
[61/153] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[62/153] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[63/153] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[64/153] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[65/153] Compiling ArgumentParser CollectionExtensions.swift
[66/153] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[67/153] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[68/153] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[69/153] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[70/153] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[71/153] Compiling ArgumentParser Flag.swift
[72/153] Compiling ArgumentParser CommandConfiguration.swift
[73/153] Compiling ArgumentParser CommandGroup.swift
[74/153] Compiling ArgumentParser EnumerableFlag.swift
[75/153] Compiling ArgumentParser ExpressibleByArgument.swift
[76/153] Compiling ArgumentParser ParsableArguments.swift
[77/153] Compiling ArgumentParser OptionGroup.swift
[78/153] Compiling ArgumentParser AsyncParsableCommand.swift
[79/153] Compiling ArgumentParser ArgumentHelp.swift
[80/153] Compiling ArgumentParser ArgumentVisibility.swift
[81/153] Compiling ArgumentParser CompletionKind.swift
[82/153] Compiling ArgumentParser Errors.swift
[83/153] Compiling ArgumentParser BashCompletionsGenerator.swift
[84/153] Compiling ArgumentParser CompletionsGenerator.swift
[85/153] Compiling ArgumentParser FishCompletionsGenerator.swift
[86/153] Compiling ArgumentParser ZshCompletionsGenerator.swift
[87/153] Compiling ArgumentParser Argument.swift
[88/153] Compiling ArgumentParser NameSpecification.swift
[89/153] Compiling ArgumentParser Option.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
[111/167] Emitting module ArgumentParser
[120/167] Compiling Hub resource_bundle_accessor.swift
[121/167] Compiling ArgumentParser Platform.swift
[122/167] Compiling ArgumentParser SequenceExtensions.swift
[123/167] Compiling ArgumentParser StringExtensions.swift
[124/167] Compiling ArgumentParser Tree.swift
[125/167] Compiling Hub Hub.swift
[126/167] Compiling Jinja Utilities.swift
[127/167] Compiling Jinja Lexer.swift
[128/167] Compiling Hub Downloader.swift
[129/167] Emitting module Hub
[130/167] Compiling Hub HubApi.swift
[131/167] Compiling Jinja StringExtension.swift
[132/167] Compiling Jinja Parser.swift
[133/167] Compiling Jinja Runtime.swift
[134/167] Compiling Jinja Template.swift
[135/167] Compiling TensorUtils LogitsWarper.swift
[136/167] Compiling TensorUtils LogitsProcessor.swift
[137/168] Compiling Jinja Ast.swift
[138/168] Compiling Jinja Error.swift
[139/168] Emitting module Jinja
[140/168] Compiling Jinja Environment.swift
[157/180] Compiling TensorUtils TopPLogitsWarper.swift
[158/180] Compiling TensorUtils MLMultiArray+Utils.swift
[159/180] Compiling TensorUtils Weights.swift
[160/180] Compiling TensorUtils MLShapedArray+Utils.swift
[161/180] Compiling TensorUtils Math.swift
[162/180] Compiling TensorUtils RepetitionPenaltyWarper.swift
[163/180] Emitting module TensorUtils
[164/180] Compiling TensorUtils TopKLogitsWarper.swift
[165/180] Compiling TensorUtils TemperatureLogitsWarper.swift
[166/180] Compiling Tokenizers TokenLattice.swift
[167/180] Compiling Tokenizers PostProcessor.swift
[168/180] Compiling Tokenizers Trie.swift
[169/180] Compiling Tokenizers UnigramTokenizer.swift
[170/180] Compiling Tokenizers Normalizer.swift
[171/180] Compiling Tokenizers PreTokenizer.swift
[172/180] Compiling Tokenizers Tokenizer.swift
[173/181] Emitting module Tokenizers
[174/181] Compiling Tokenizers ByteEncoder.swift
[175/181] Compiling Tokenizers Decoder.swift
[176/181] Compiling Tokenizers BPETokenizer.swift
[177/181] Compiling Tokenizers BertTokenizer.swift
[178/181] Compiling Tokenizers Utils.swift
[179/184] Compiling Generation GenerationConfig.swift
[180/184] Compiling Generation Generation.swift
[181/184] Emitting module Generation
[182/187] Compiling Models LanguageModel.swift
[183/187] Emitting module Models
[184/187] Compiling Models LanguageModelTypes.swift
[185/210] Compiling WhisperKit ResultWriter.swift
[186/210] Compiling WhisperKit TextUtilities.swift
[187/210] 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
[188/210] 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
[189/212] Compiling WhisperKit Logging.swift
[190/212] Compiling WhisperKit ModelUtilities.swift
[191/212] Compiling WhisperKit WhisperKit.swift
[192/212] Compiling WhisperKit Concurrency.swift
[193/212] Compiling WhisperKit EnergyVAD.swift
[194/212] Compiling WhisperKit VoiceActivityDetector.swift
[195/212] Compiling WhisperKit AudioEncoder.swift
[196/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>
[197/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>
[198/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>
[199/212] Compiling WhisperKit TextDecoder.swift
[200/212] Compiling WhisperKit TranscribeTask.swift
[201/212] Emitting module WhisperKit
[202/212] Compiling WhisperKit AudioChunker.swift
[203/212] Compiling WhisperKit AudioProcessor.swift
[204/212] Compiling WhisperKit AudioStreamTranscriber.swift
[205/212] Compiling WhisperKit Configurations.swift
[206/212] Compiling WhisperKit FeatureExtractor.swift
[207/212] Compiling WhisperKit Models.swift
[208/212] Compiling WhisperKit TranscriptionUtilities.swift
[209/212] Compiling WhisperKit WhisperError.swift
[210/217] Compiling WhisperKitCLI CLIUtils.swift
[211/217] Emitting module WhisperKitCLI
[212/217] Compiling WhisperKitCLI CLIArguments.swift
[213/217] Compiling WhisperKitCLI TranscribeCLI.swift
[214/217] Compiling WhisperKitCLI WhisperKitCLI.swift
[214/217] Write Objects.LinkFileList
[215/217] Linking whisperkit-cli
[216/217] Applying whisperkit-cli
Build complete! (27.31s)
Fetching https://github.com/huggingface/swift-transformers.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/3303] Fetching swift-transformers
[563/18683] Fetching swift-transformers, swift-argument-parser
Fetched https://github.com/huggingface/swift-transformers.git from cache (1.42s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.42s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.1 (1.89s)
Computing version for https://github.com/huggingface/swift-transformers.git
Computed https://github.com/huggingface/swift-transformers.git at 0.1.15 (0.41s)
Fetching https://github.com/johnmai-dev/Jinja
[1/393] Fetching jinja
Fetched https://github.com/johnmai-dev/Jinja from cache (0.79s)
Computing version for https://github.com/johnmai-dev/Jinja
Computed https://github.com/johnmai-dev/Jinja at 1.2.0 (1.24s)
Fetching https://github.com/apple/swift-collections.git
[1/16640] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.65s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (2.20s)
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/johnmai-dev/Jinja
Working copy of https://github.com/johnmai-dev/Jinja 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
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
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.