Build Information
Successful build of whisperkit, reference main (3a3804
), with Swift 6.2 (beta) for macOS (SPM) on 11 Sep 2025 21:30:27 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.67.1
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 3a38043 Add WhisperKit Local Server with audio transcription and translation APIs (#348)
Cloned https://github.com/argmaxinc/whisperkit.git
Revision (git rev-parse @):
3a380435ce1b28c488db301864f9b1de329a63e6
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
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/21] Write sources
[2/21] Copying t5_tokenizer_config.json
[2/21] Write sources
[2/21] Copying gpt2_tokenizer_config.json
[3/21] Write sources
[10/21] Write whisperkit-cli-entitlement.plist
[11/21] Write sources
[17/21] Write swift-version-1EA4D86E10B52AF.txt
[19/52] Compiling InternalCollectionsUtilities Debugging.swift
[20/53] Compiling InternalCollectionsUtilities Descriptions.swift
[21/53] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[22/53] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[23/53] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[24/53] Emitting module InternalCollectionsUtilities
[25/53] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[26/53] Compiling InternalCollectionsUtilities Integer rank.swift
[27/53] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[28/53] Compiling InternalCollectionsUtilities _SortedCollection.swift
[29/53] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[30/53] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[31/53] Compiling InternalCollectionsUtilities UInt+reversed.swift
[32/53] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[33/53] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[34/79] Emitting module ArgumentParserToolInfo
[35/82] Compiling ArgumentParserToolInfo ToolInfo.swift
[36/155] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[37/155] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[38/155] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[39/155] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[40/155] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[41/155] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[42/161] Compiling ArgumentParser StringExtensions.swift
[43/161] Compiling ArgumentParser SwiftExtensions.swift
[44/161] Compiling ArgumentParser Tree.swift
[45/161] Compiling ArgumentParser CodingKeyValidator.swift
[46/161] Compiling ArgumentParser MessageInfo.swift
[47/161] Compiling ArgumentParser UsageGenerator.swift
[48/161] Compiling ArgumentParser CollectionExtensions.swift
[49/161] Compiling ArgumentParser Mutex.swift
[50/161] Compiling ArgumentParser Platform.swift
[51/161] Compiling ArgumentParser ArgumentDiscussion.swift
[52/161] Compiling ArgumentParser ArgumentHelp.swift
[53/161] Compiling ArgumentParser ArgumentVisibility.swift
[54/161] Compiling ArgumentParser CompletionKind.swift
[55/161] Compiling ArgumentParser Errors.swift
[56/161] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[57/161] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[58/161] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[59/161] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[60/161] Compiling ArgumentParser Flag.swift
[61/161] Compiling ArgumentParser NameSpecification.swift
[62/161] Compiling ArgumentParser Option.swift
[63/161] Compiling ArgumentParser OptionGroup.swift
[64/161] Compiling ArgumentParser AsyncParsableCommand.swift
[65/161] Compiling ArgumentParser SequenceExtensions.swift
[66/161] Compiling ArgumentParser HelpGenerator.swift
[67/161] Compiling ArgumentParser InputKey.swift
[68/161] Compiling ArgumentParser InputOrigin.swift
[69/161] Compiling ArgumentParser Name.swift
[70/161] Compiling ArgumentParser Parsed.swift
[71/161] Compiling ArgumentParser ParsedValues.swift
[72/161] Compiling ArgumentParser ArgumentDefinition.swift
[73/161] Compiling ArgumentParser ArgumentSet.swift
[74/161] Compiling ArgumentParser CommandParser.swift
[75/161] Compiling ArgumentParser CommandConfiguration.swift
[76/161] Compiling ArgumentParser CommandGroup.swift
[77/161] Compiling ArgumentParser EnumerableFlag.swift
[78/161] Compiling ArgumentParser ExpressibleByArgument.swift
[79/161] Compiling ArgumentParser ParsableArguments.swift
[80/161] Compiling ArgumentParser ParserError.swift
[81/161] Compiling ArgumentParser SplitArguments.swift
[82/161] Compiling ArgumentParser DumpHelpGenerator.swift
[83/161] Compiling ArgumentParser HelpCommand.swift
[84/161] Compiling ArgumentParser BashCompletionsGenerator.swift
[85/161] Compiling ArgumentParser CompletionsGenerator.swift
[86/161] Compiling ArgumentParser FishCompletionsGenerator.swift
[87/161] Compiling ArgumentParser ZshCompletionsGenerator.swift
[88/161] Compiling ArgumentParser Argument.swift
[89/161] Compiling ArgumentParser ParsableCommand.swift
[90/161] Compiling ArgumentParser ArgumentDecoder.swift
[91/161] Compiling OrderedCollections OrderedSet+SubSequence.swift
[92/161] Compiling OrderedCollections OrderedSet+Testing.swift
[93/161] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[94/161] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[95/161] Compiling OrderedCollections OrderedSet.swift
[96/161] Compiling OrderedCollections _UnsafeBitset.swift
[97/161] Emitting module OrderedCollections
[103/175] Compiling ArgumentParser NonsenseFlagsValidator.swift
[104/175] Compiling ArgumentParser ParsableArgumentsValidation.swift
[105/175] Compiling ArgumentParser PositionalArgumentsValidator.swift
[106/175] Compiling ArgumentParser UniqueNamesValidator.swift
[107/175] Compiling Jinja Utilities.swift
[108/175] Compiling Jinja Template.swift
[109/175] Compiling Hub Hub.swift
[110/175] Emitting module Hub
[111/175] Compiling Hub Downloader.swift
[112/175] Compiling Hub resource_bundle_accessor.swift
[113/175] Compiling Hub HubApi.swift
[124/175] Compiling Jinja Parser.swift
[125/175] Compiling Jinja Lexer.swift
[126/175] Compiling Jinja Runtime.swift
[127/175] Compiling Jinja StringExtension.swift
[128/175] Compiling Jinja Error.swift
[129/175] Emitting module Jinja
[130/175] Compiling Jinja Environment.swift
[131/175] Compiling Jinja Ast.swift
[132/175] Emitting module TensorUtils
[133/183] Emitting module ArgumentParser
[164/188] Compiling TensorUtils RepetitionPenaltyWarper.swift
[165/188] Compiling TensorUtils TemperatureLogitsWarper.swift
[166/188] Compiling TensorUtils LogitsProcessor.swift
[167/188] Compiling TensorUtils TopKLogitsWarper.swift
[168/188] Compiling TensorUtils LogitsWarper.swift
[169/188] Compiling TensorUtils Weights.swift
[170/188] Compiling TensorUtils MLShapedArray+Utils.swift
[171/188] Compiling TensorUtils TopPLogitsWarper.swift
[172/188] Compiling TensorUtils Math.swift
[173/188] Compiling TensorUtils MLMultiArray+Utils.swift
[174/188] Compiling Tokenizers UnigramTokenizer.swift
[175/188] Compiling Tokenizers Trie.swift
[176/189] Compiling Tokenizers Utils.swift
[177/189] Compiling Tokenizers Tokenizer.swift
[178/189] Compiling Tokenizers Normalizer.swift
[179/189] Compiling Tokenizers PreTokenizer.swift
[180/189] Compiling Tokenizers TokenLattice.swift
[181/189] Compiling Tokenizers BPETokenizer.swift
[182/189] Compiling Tokenizers BertTokenizer.swift
[183/189] Emitting module Tokenizers
[184/189] Compiling Tokenizers ByteEncoder.swift
[185/189] Compiling Tokenizers Decoder.swift
[186/189] Compiling Tokenizers PostProcessor.swift
[187/192] Compiling Generation GenerationConfig.swift
[188/192] Emitting module Generation
[189/192] Compiling Generation Generation.swift
[190/195] Compiling Models LanguageModel.swift
[191/195] Compiling Models LanguageModelTypes.swift
[192/195] Emitting module Models
[193/218] Emitting module WhisperKit
[194/220] Compiling WhisperKit TranscriptionUtilities.swift
[195/220] Compiling WhisperKit WhisperError.swift
[196/220] Compiling WhisperKit Logging.swift
[197/220] Compiling WhisperKit ModelUtilities.swift
[198/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>
[199/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>
[200/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>
[201/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
[202/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
[203/220] Compiling WhisperKit ResultWriter.swift
[204/220] Compiling WhisperKit TextUtilities.swift
[205/220] Compiling WhisperKit TextDecoder.swift
[206/220] Compiling WhisperKit TranscribeTask.swift
[207/220] Compiling WhisperKit EnergyVAD.swift
[208/220] Compiling WhisperKit VoiceActivityDetector.swift
[209/220] Compiling WhisperKit AudioEncoder.swift
[210/220] Compiling WhisperKit AudioChunker.swift
[211/220] Compiling WhisperKit AudioProcessor.swift
[212/220] Compiling WhisperKit AudioStreamTranscriber.swift
[213/220] Compiling WhisperKit WhisperKit.swift
[214/220] Compiling WhisperKit Concurrency.swift
[215/220] Compiling WhisperKit Configurations.swift
[216/220] Compiling WhisperKit FeatureExtractor.swift
[217/220] Compiling WhisperKit Models.swift
[218/226] Compiling WhisperKitCLI WhisperKitCLI.swift
[219/226] Compiling WhisperKitCLI TranscribeCLIArguments.swift
[220/226] Compiling WhisperKitCLI TranscribeCLIUtils.swift
[221/226] Compiling WhisperKitCLI TranscribeCLI.swift
[222/226] Emitting module WhisperKitCLI
[223/226] Compiling WhisperKitCLI CLIUtils.swift
[223/226] Write Objects.LinkFileList
[224/226] Linking whisperkit-cli
[225/226] Applying whisperkit-cli
Build complete! (29.69s)
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/huggingface/swift-transformers.git
[1/3969] Fetching swift-transformers
[121/19889] Fetching swift-transformers, swift-argument-parser
Fetched https://github.com/huggingface/swift-transformers.git from cache (1.26s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.36s)
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.88s)
Computing version for https://github.com/huggingface/swift-transformers.git
Computed https://github.com/huggingface/swift-transformers.git at 0.1.15 (0.46s)
Fetching https://github.com/johnmai-dev/Jinja
[1/572] Fetching jinja
Fetched https://github.com/johnmai-dev/Jinja from cache (0.87s)
Computing version for https://github.com/johnmai-dev/Jinja
Computed https://github.com/johnmai-dev/Jinja at 1.3.0 (1.34s)
Fetching https://github.com/apple/swift-collections.git
[1/17453] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.84s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.1 (2.42s)
Creating working copy for https://github.com/johnmai-dev/Jinja
Working copy of https://github.com/johnmai-dev/Jinja resolved at 1.3.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.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
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" : "Tests",
"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" : [
"WhisperKitTests/Evaluate/DistanceCalculation.swift",
"WhisperKitTests/Evaluate/NormalizeEn.swift",
"WhisperKitTests/Evaluate/SpellingMapping.swift",
"WhisperKitTests/Evaluate/WERUtils.swift",
"WhisperKitTests/FunctionalTests.swift",
"WhisperKitTests/RegressionTestUtils.swift",
"WhisperKitTests/RegressionTests.swift",
"WhisperKitTests/TestUtils.swift",
"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" : [
"CLIUtils.swift",
"TranscribeCLI.swift",
"TranscribeCLIArguments.swift",
"TranscribeCLIUtils.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.