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.1 (c814ca), with Swift 6.2 (beta) for macOS (SPM) on 31 Jul 2025 20:10:18 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.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/argmaxinc/whisperkit
 * tag               v0.13.1    -> FETCH_HEAD
HEAD is now at c814cae Release v0.13.1
Cloned https://github.com/argmaxinc/whisperkit.git
Revision (git rev-parse @):
c814caea8876036f0c87a0de29552f028d59832d
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/argmaxinc/whisperkit.git at v0.13.1
========================================
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
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/21] Write sources
[2/21] Write whisperkit-cli-entitlement.plist
[2/21] Write sources
[2/21] Copying gpt2_tokenizer_config.json
[3/21] Write sources
[10/21] Copying t5_tokenizer_config.json
[11/21] Write sources
[17/21] Write swift-version-1EA4D86E10B52AF.txt
[19/52] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[20/52] Compiling InternalCollectionsUtilities Debugging.swift
[21/52] Compiling InternalCollectionsUtilities Descriptions.swift
[22/53] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[23/53] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[24/53] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[25/53] Compiling InternalCollectionsUtilities Integer rank.swift
[26/53] Emitting module InternalCollectionsUtilities
[27/53] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[28/53] Compiling InternalCollectionsUtilities _SortedCollection.swift
[29/53] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[30/53] Compiling InternalCollectionsUtilities UInt+reversed.swift
[31/53] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[32/53] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[33/53] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[34/53] Emitting module ArgumentParserToolInfo
[35/53] Compiling ArgumentParserToolInfo ToolInfo.swift
[36/155] Compiling ArgumentParser ArgumentHelp.swift
[37/155] Compiling ArgumentParser ArgumentVisibility.swift
[38/155] Compiling ArgumentParser CompletionKind.swift
[39/155] Compiling ArgumentParser Errors.swift
[40/155] Compiling ArgumentParser SequenceExtensions.swift
[41/155] Compiling ArgumentParser StringExtensions.swift
[42/161] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[43/161] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[44/161] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[45/161] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[46/161] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[47/161] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[48/161] Compiling ArgumentParser Mutex.swift
[49/161] Compiling ArgumentParser Platform.swift
[50/161] Compiling ArgumentParser ParsableCommand.swift
[51/161] Compiling ArgumentParser ArgumentDecoder.swift
[52/161] Compiling ArgumentParser ArgumentDefinition.swift
[53/161] Compiling ArgumentParser ArgumentSet.swift
[54/161] Compiling ArgumentParser SwiftExtensions.swift
[55/161] Compiling ArgumentParser Tree.swift
[56/161] Compiling ArgumentParser CodingKeyValidator.swift
[57/161] Compiling ArgumentParser ParserError.swift
[58/161] Compiling ArgumentParser SplitArguments.swift
[59/161] Compiling ArgumentParser DumpHelpGenerator.swift
[60/161] Compiling ArgumentParser HelpCommand.swift
[61/161] Compiling ArgumentParser HelpGenerator.swift
[62/161] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[63/161] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[64/161] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[65/161] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[66/161] Compiling ArgumentParser CommandParser.swift
[67/161] Compiling ArgumentParser BashCompletionsGenerator.swift
[68/161] Compiling ArgumentParser CompletionsGenerator.swift
[69/161] Compiling ArgumentParser FishCompletionsGenerator.swift
[70/161] Compiling ArgumentParser ZshCompletionsGenerator.swift
[71/161] Compiling ArgumentParser Argument.swift
[72/161] Compiling ArgumentParser CommandConfiguration.swift
[73/161] Compiling ArgumentParser CommandGroup.swift
[74/161] Compiling ArgumentParser EnumerableFlag.swift
[75/161] Compiling ArgumentParser ExpressibleByArgument.swift
[76/161] Compiling ArgumentParser ParsableArguments.swift
[77/161] Compiling ArgumentParser ArgumentDiscussion.swift
[78/161] Compiling ArgumentParser Name.swift
[79/161] Compiling ArgumentParser Parsed.swift
[80/161] Compiling ArgumentParser ParsedValues.swift
[81/161] Compiling ArgumentParser MessageInfo.swift
[82/161] Compiling ArgumentParser UsageGenerator.swift
[83/161] Compiling ArgumentParser CollectionExtensions.swift
[84/161] Compiling ArgumentParser Flag.swift
[85/161] Compiling ArgumentParser NameSpecification.swift
[86/161] Compiling ArgumentParser Option.swift
[87/161] Compiling ArgumentParser OptionGroup.swift
[88/161] Compiling ArgumentParser AsyncParsableCommand.swift
[89/161] Compiling ArgumentParser InputKey.swift
[90/161] Compiling ArgumentParser InputOrigin.swift
[91/161] Emitting module OrderedCollections
[92/161] Compiling OrderedCollections OrderedSet+SubSequence.swift
[93/161] Compiling OrderedCollections OrderedSet+Testing.swift
[94/161] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[95/161] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[96/161] Compiling OrderedCollections OrderedSet.swift
[97/161] Compiling OrderedCollections _UnsafeBitset.swift
[98/171] Emitting module Jinja
[104/175] Emitting module ArgumentParser
[110/175] Compiling ArgumentParser NonsenseFlagsValidator.swift
[111/175] Compiling ArgumentParser ParsableArgumentsValidation.swift
[112/175] Compiling ArgumentParser PositionalArgumentsValidator.swift
[113/175] Compiling ArgumentParser UniqueNamesValidator.swift
[114/175] Compiling Jinja Template.swift
[115/175] Compiling Jinja Ast.swift
[116/175] Compiling Jinja Parser.swift
[117/175] Compiling Jinja Utilities.swift
[133/175] Compiling Hub Downloader.swift
[134/175] Compiling Hub Hub.swift
[135/175] Compiling Hub HubApi.swift
[136/175] Emitting module Hub
[137/175] Compiling Hub resource_bundle_accessor.swift
[148/175] Compiling Jinja Runtime.swift
[149/175] Compiling Jinja Lexer.swift
[150/175] Compiling Jinja Error.swift
[151/175] Compiling Jinja StringExtension.swift
[152/175] Compiling Jinja Environment.swift
[163/187] Compiling TensorUtils RepetitionPenaltyWarper.swift
[164/187] Compiling TensorUtils TopKLogitsWarper.swift
[165/187] Compiling TensorUtils LogitsProcessor.swift
[166/187] Compiling TensorUtils LogitsWarper.swift
[167/187] Emitting module TensorUtils
[168/188] Compiling TensorUtils TopPLogitsWarper.swift
[169/188] Compiling TensorUtils MLShapedArray+Utils.swift
[170/188] Compiling TensorUtils MLMultiArray+Utils.swift
[171/188] Compiling TensorUtils TemperatureLogitsWarper.swift
[172/188] Compiling TensorUtils Math.swift
[173/188] Compiling Tokenizers Trie.swift
[174/188] Compiling Tokenizers UnigramTokenizer.swift
[175/189] Emitting module Tokenizers
[176/189] Compiling Tokenizers Normalizer.swift
[177/189] Compiling Tokenizers BPETokenizer.swift
[178/189] Compiling Tokenizers BertTokenizer.swift
[179/189] Compiling Tokenizers Tokenizer.swift
[180/189] Compiling Tokenizers TokenLattice.swift
[181/189] Compiling Tokenizers ByteEncoder.swift
[182/189] Compiling Tokenizers Decoder.swift
[183/189] Compiling Tokenizers PostProcessor.swift
[184/189] Compiling Tokenizers PreTokenizer.swift
[185/189] Compiling Tokenizers Utils.swift
[186/189] Compiling TensorUtils Weights.swift
[187/192] Emitting module Generation
[188/192] Compiling Generation Generation.swift
[189/192] Compiling Generation GenerationConfig.swift
[190/195] Compiling Models LanguageModelTypes.swift
[191/195] Emitting module Models
[192/195] Compiling Models LanguageModel.swift
[193/218] Compiling WhisperKit ResultWriter.swift
[194/218] Compiling WhisperKit TextUtilities.swift
[195/220] Emitting module WhisperKit
[196/220] Compiling WhisperKit Logging.swift
[197/220] Compiling WhisperKit ModelUtilities.swift
[198/220] Compiling WhisperKit TranscriptionUtilities.swift
[199/220] Compiling WhisperKit WhisperError.swift
[200/220] 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>
[201/220] 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>
[202/220] 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>
[203/220] Compiling WhisperKit WhisperKit.swift
[204/220] Compiling WhisperKit Concurrency.swift
[205/220] 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
[206/220] 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
[207/220] Compiling WhisperKit AudioChunker.swift
[208/220] Compiling WhisperKit AudioProcessor.swift
[209/220] Compiling WhisperKit AudioStreamTranscriber.swift
[210/220] Compiling WhisperKit EnergyVAD.swift
[211/220] Compiling WhisperKit VoiceActivityDetector.swift
[212/220] Compiling WhisperKit AudioEncoder.swift
[213/220] Compiling WhisperKit Configurations.swift
[214/220] Compiling WhisperKit FeatureExtractor.swift
[215/220] Compiling WhisperKit Models.swift
[216/220] Compiling WhisperKit TextDecoder.swift
[217/220] Compiling WhisperKit TranscribeTask.swift
[218/225] Compiling WhisperKitCLI WhisperKitCLI.swift
[219/225] Compiling WhisperKitCLI CLIArguments.swift
[220/225] Compiling WhisperKitCLI CLIUtils.swift
[221/225] Emitting module WhisperKitCLI
[222/225] Compiling WhisperKitCLI TranscribeCLI.swift
[222/225] Write Objects.LinkFileList
[223/225] Linking whisperkit-cli
[224/225] Applying whisperkit-cli
Build complete! (31.00s)
Fetching https://github.com/huggingface/swift-transformers.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/3367] Fetching swift-transformers
[574/18946] Fetching swift-transformers, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.43s)
Fetched https://github.com/huggingface/swift-transformers.git from cache (1.43s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.6.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/447] Fetching jinja
Fetched https://github.com/johnmai-dev/Jinja from cache (0.81s)
Computing version for https://github.com/johnmai-dev/Jinja
Computed https://github.com/johnmai-dev/Jinja at 1.2.1 (1.24s)
Fetching https://github.com/apple/swift-collections.git
[1/16916] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.79s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.1 (2.32s)
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.6.1
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.1
Creating working copy for https://github.com/johnmai-dev/Jinja
Working copy of https://github.com/johnmai-dev/Jinja resolved at 1.2.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.