Build Information
Successful build of whisperkit, reference v0.18.0 (e2adab), with Swift 6.0 for macOS (SPM) on 20 Apr 2026 01:47:08 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/argmaxinc/argmax-oss-swift.git
Reference: v0.18.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/argmaxinc/argmax-oss-swift
* tag v0.18.0 -> FETCH_HEAD
HEAD is now at e2adabb Release v0.18.0
Cloned https://github.com/argmaxinc/argmax-oss-swift.git
Revision (git rev-parse @):
e2adabbe7d98dc4d0ab9a5b75424ecc42a9cdbef
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/argmaxinc/argmax-oss-swift.git at v0.18.0
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/argmaxinc/argmax-oss-swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
[1/1] Compiling plugin GenerateDoccReference
[2/2] Compiling plugin GenerateManual
Building for debugging...
[2/24] Write sources
[2/24] Copying t5_tokenizer_config.json
[2/24] Write whisperkit-cli-entitlement.plist
[2/24] Write sources
[13/24] Copying gpt2_tokenizer_config.json
[13/24] Copying PrivacyInfo.xcprivacy
[13/24] Write sources
[19/24] Write swift-version-5BDAB9E9C0126B9D.txt
[21/131] Compiling Crypto GeneralizedTime.swift
[22/131] Compiling Crypto ObjectIdentifier.swift
[23/132] Compiling Crypto ASN1Null.swift
[24/132] Compiling Crypto ASN1OctetString.swift
[25/132] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[26/132] Compiling Crypto AES-GCM.swift
[27/132] Compiling Crypto AES-GCM_boring.swift
[28/132] Emitting module InternalCollectionsUtilities
[29/132] Compiling Crypto ChaChaPoly_boring.swift
[30/132] Compiling Crypto ChaChaPoly.swift
[31/132] Compiling Crypto Cipher.swift
[32/132] Compiling Crypto Nonces.swift
[33/132] Compiling Crypto ASN1.swift
[34/132] Compiling Crypto ASN1Any.swift
[35/132] Compiling Crypto ASN1Identifier.swift
[36/132] Compiling Crypto ASN1Integer.swift
[37/132] Compiling Crypto ASN1BitString.swift
[38/132] Compiling Crypto ASN1Boolean.swift
[39/132] Compiling Crypto ASN1Strings.swift
[40/132] Compiling Crypto ArraySliceBigint.swift
[41/138] Emitting module ArgumentParserToolInfo
[42/143] Compiling ArgumentParserToolInfo ToolInfo.swift
[43/235] Compiling ArgumentParser ZshCompletionsGenerator.swift
[44/235] Compiling ArgumentParser Argument.swift
[45/235] Compiling ArgumentParser ArgumentDiscussion.swift
[46/235] Compiling ArgumentParser NameSpecification.swift
[47/235] Compiling ArgumentParser Option.swift
[48/235] Compiling ArgumentParser OptionGroup.swift
[49/241] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[50/241] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[51/241] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[52/241] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[53/241] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[54/241] Compiling OrderedCollections OrderedSet+Sendable.swift
[55/241] Compiling ArgumentParser ArgumentDefinition.swift
[56/241] Compiling ArgumentParser ArgumentSet.swift
[57/241] Compiling ArgumentParser CommandParser.swift
[58/241] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[59/241] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[60/241] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[61/241] Compiling ArgumentParser CommandConfiguration.swift
[62/241] Compiling ArgumentParser CommandGroup.swift
[63/241] Compiling ArgumentParser EnumerableFlag.swift
[64/241] Compiling ArgumentParser ExpressibleByArgument.swift
[65/241] Compiling ArgumentParser ParsableArguments.swift
[66/241] Compiling ArgumentParser ParserError.swift
[67/241] Compiling ArgumentParser Flag.swift
[68/241] Compiling ArgumentParser MessageInfo.swift
[69/241] Compiling ArgumentParser UsageGenerator.swift
[70/241] Compiling ArgumentParser CollectionExtensions.swift
[71/241] Compiling ArgumentParser Foundation.swift
[72/241] Compiling ArgumentParser Mutex.swift
[73/241] Compiling ArgumentParser ParentCommand.swift
[74/241] Compiling ArgumentParser AsyncParsableCommand.swift
[75/241] Compiling ArgumentParser ArgumentHelp.swift
[76/241] Compiling ArgumentParser ArgumentVisibility.swift
[77/241] Compiling ArgumentParser CompletionKind.swift
[78/241] Compiling ArgumentParser Errors.swift
[79/241] Compiling ArgumentParser SplitArguments.swift
[80/241] Compiling ArgumentParser DumpHelpGenerator.swift
[81/241] Compiling ArgumentParser HelpCommand.swift
[82/241] Compiling ArgumentParser HelpGenerator.swift
[83/241] Compiling ArgumentParser ParsableCommand.swift
[84/241] Compiling ArgumentParser ArgumentDecoder.swift
[85/241] Compiling ArgumentParser StringExtensions.swift
[86/241] Compiling ArgumentParser SwiftExtensions.swift
[87/241] Compiling ArgumentParser Tree.swift
[88/241] Compiling ArgumentParser BashCompletionsGenerator.swift
[89/241] Compiling ArgumentParser CompletionsGenerator.swift
[90/241] Compiling ArgumentParser FishCompletionsGenerator.swift
[91/241] Compiling ArgumentParser InputKey.swift
[92/241] Compiling ArgumentParser InputOrigin.swift
[93/241] Compiling ArgumentParser Name.swift
[94/241] Compiling ArgumentParser Parsed.swift
[95/241] Compiling ArgumentParser ParsedValues.swift
[96/241] Compiling ArgumentParser Platform.swift
[97/241] Compiling ArgumentParser SequenceExtensions.swift
[97/241] Compiling yyjson.c
[99/241] Compiling OrderedCollections OrderedSet+SubSequence.swift
[100/241] Compiling OrderedCollections OrderedSet+Testing.swift
[101/241] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[102/241] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[103/241] Compiling OrderedCollections OrderedSet.swift
[104/241] Compiling OrderedCollections _UnsafeBitset.swift
[105/241] Emitting module OrderedCollections
[106/255] Emitting module Crypto
[107/264] Emitting module ArgumentParser
[118/269] Compiling Crypto Optional+withUnsafeBytes_boring.swift
[119/269] Compiling Crypto RNG_boring.swift
[120/269] Compiling Crypto SafeCompare_boring.swift
[121/269] Compiling Crypto Zeroization_boring.swift
[122/269] Compiling Crypto PrettyBytes.swift
[123/269] Compiling Crypto SafeCompare.swift
[124/269] Compiling Crypto SecureBytes.swift
[125/269] Compiling Crypto Zeroization.swift
[126/269] Compiling Crypto resource_bundle_accessor.swift
[127/269] Compiling ArgumentParser PositionalArgumentsValidator.swift
[128/269] Compiling ArgumentParser UniqueNamesValidator.swift
[139/269] Compiling Crypto KEM-Errors.swift
[140/269] Compiling Crypto KEM.swift
[141/269] Compiling Crypto MLKEM.swift
[142/269] Compiling Crypto XWing.swift
[143/269] Compiling Crypto ECDH_boring.swift
[144/269] Compiling Crypto DH.swift
[151/269] Compiling ArgumentParser CodingKeyValidator.swift
[152/269] Compiling ArgumentParser NonsenseFlagsValidator.swift
[153/269] Compiling ArgumentParser ParsableArgumentsValidation.swift
[154/269] Compiling Crypto Ed25519Keys.swift
[155/269] Compiling Crypto NISTCurvesKeys.swift
[156/269] Compiling Crypto X25519Keys.swift
[157/269] Compiling Crypto SymmetricKeys.swift
[158/269] Compiling Crypto HMAC.swift
[159/269] Compiling Crypto MACFunctions.swift
[160/269] Compiling Crypto MessageAuthenticationCode.swift
[161/269] Compiling Crypto AES.swift
[162/269] Compiling Crypto ECDSASignature_boring.swift
[163/269] Compiling Crypto ECDSA_boring.swift
[164/269] Compiling Crypto EdDSA_boring.swift
[165/269] Compiling Crypto MLDSA_boring.swift
[166/269] Compiling Crypto MLDSA_wrapper.swift
[167/269] Compiling Crypto ECDSA.swift
[168/269] Compiling Crypto Ed25519.swift
[169/269] Compiling Crypto MLDSA.swift
[170/269] Compiling Crypto Signature.swift
[171/269] Compiling Crypto CryptoKitErrors_boring.swift
[182/269] Compiling Jinja Interpreter.swift
[183/269] Compiling Jinja Lexer.swift
[184/269] Compiling Jinja Filters.swift
[185/269] Compiling Jinja Globals.swift
[186/269] Compiling Jinja AST.swift
[187/269] Compiling Jinja Error.swift
[188/269] Compiling Jinja Macro.swift
[189/269] Compiling Jinja Parser.swift
[223/269] Compiling Jinja Utilities.swift
[224/270] Compiling Jinja Tests.swift
[227/270] Compiling Jinja Token.swift
[258/270] Compiling Jinja Value.swift
[259/270] Compiling Jinja PropertyMembers.swift
[262/270] Compiling Jinja Template.swift
[265/270] Emitting module Jinja
[268/278] Compiling Hub resource_bundle_accessor.swift
[269/278] Compiling Hub YYJSONParser.swift
[270/278] Compiling Hub Hub.swift
[271/278] Compiling Hub Downloader.swift
[272/278] Compiling Hub Config.swift
[273/278] Compiling Hub HubApi.swift
[274/278] Compiling Hub BinaryDistinct.swift
[275/278] Emitting module Hub
[276/303] Compiling Tokenizers Trie.swift
[277/304] Emitting module Tokenizers
[278/304] Compiling Tokenizers BPETokenizer.swift
[279/304] Compiling Tokenizers BertTokenizer.swift
[280/304] Compiling Tokenizers UnigramTokenizer.swift
[281/304] Compiling Tokenizers TokenLattice.swift
[282/304] Compiling Tokenizers String+PreTokenization.swift
[283/304] Compiling Tokenizers ByteEncoder.swift
[284/304] Compiling Tokenizers Decoder.swift
[285/304] Compiling Tokenizers PostProcessor.swift
[286/304] Compiling Tokenizers PreTokenizer.swift
[287/304] Compiling Tokenizers Normalizer.swift
[288/304] Compiling Tokenizers Tokenizer.swift
[289/304] Compiling ArgmaxCore ModelManager.swift
[290/304] Compiling ArgmaxCore MLMultiArrayExtensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/ArgmaxCore/MLMultiArrayExtensions.swift:88:9: warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
70 | // MARK: - MLMultiArray Indexing & Fill
71 |
72 | public extension MLMultiArray {
| `- note: add @available attribute to enclosing extension
73 | /// Computes the linear offset from multi-dimensional indices using strides.
74 | @inline(__always)
:
84 | /// Fills a range of indices in the last dimension with a value.
85 | /// Requires shape [1, 1, n].
86 | func fillLastDimension(indexes: Range<Int>, with value: FloatType) {
| `- note: add @available attribute to enclosing instance method
87 | precondition(shape.count == 3 && shape[0] == 1 && shape[1] == 1, "Must have [1, 1, n] shape")
88 | withUnsafeMutableBufferPointer(ofType: FloatType.self) { ptr, strides in
| |- warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
89 | for index in indexes {
90 | ptr[index * strides[2]] = value
[291/304] Compiling ArgmaxCore ModelState.swift
[292/304] Compiling ArgmaxCore MLTensorExtensions.swift
[293/304] Compiling ArgmaxCore ModelDownloader.swift
[294/304] Compiling ArgmaxCore Logging.swift
[295/304] Compiling ArgmaxCore MLModelExtensions.swift
[296/304] Compiling ArgmaxCore MLModelLoading.swift
[301/304] Emitting module ArgmaxCore
[302/305] Compiling ArgmaxCore ModelUtilities.swift
[303/347] Emitting module WhisperKit
[304/349] Compiling WhisperKit ResultWriter.swift
[305/349] Compiling WhisperKit TextUtilities.swift
[306/349] Compiling TTSKit EmbedTypes.swift
[307/349] Compiling TTSKit KVCache.swift
[308/351] Compiling WhisperKit AudioChunker.swift
[309/351] Compiling WhisperKit AudioProcessor.swift
[310/351] Compiling WhisperKit TranscriptionUtilities.swift
[311/351] Compiling WhisperKit WhisperError.swift
[312/351] Compiling TTSKit TTSError.swift
[313/351] Compiling TTSKit TextChunker.swift
[314/351] Compiling WhisperKit Extensions+Internal.swift
[315/351] Compiling WhisperKit Extensions+Public.swift
[320/351] Compiling WhisperKit AudioStreamTranscriber.swift
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/TextDecoder.swift:498:31: warning: 'getModelOutputDimention(_:named:position:)' is deprecated: renamed to 'getModelOutputDimension'
496 |
497 | public var supportsWordTimestamps: Bool {
498 | return ModelUtilities.getModelOutputDimention(model, named: "alignment_heads_weights", position: 0) != nil
| |- warning: 'getModelOutputDimention(_:named:position:)' is deprecated: renamed to 'getModelOutputDimension'
| `- note: use 'getModelOutputDimension' instead
499 | }
500 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/TextDecoder.swift:502:31: warning: 'getModelOutputDimention(_:named:position:)' is deprecated: renamed to 'getModelOutputDimension'
500 |
501 | public var logitsSize: Int? {
502 | return ModelUtilities.getModelOutputDimention(model, named: "logits", position: 2)
| |- warning: 'getModelOutputDimention(_:named:position:)' is deprecated: renamed to 'getModelOutputDimension'
| `- note: use 'getModelOutputDimension' instead
503 | }
504 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/TextDecoder.swift:506:31: warning: 'getModelInputDimention(_:named:position:)' is deprecated: renamed to 'getModelInputDimension'
504 |
505 | public var kvCacheEmbedDim: Int? {
506 | return ModelUtilities.getModelInputDimention(model, named: "key_cache", position: 1)
| |- warning: 'getModelInputDimention(_:named:position:)' is deprecated: renamed to 'getModelInputDimension'
| `- note: use 'getModelInputDimension' instead
507 | }
508 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/TextDecoder.swift:510:31: warning: 'getModelInputDimention(_:named:position:)' is deprecated: renamed to 'getModelInputDimension'
508 |
509 | public var kvCacheMaxSequenceLength: Int? {
510 | return ModelUtilities.getModelInputDimention(model, named: "key_cache", position: 3)
| |- warning: 'getModelInputDimention(_:named:position:)' is deprecated: renamed to 'getModelInputDimension'
| `- note: use 'getModelInputDimension' instead
511 | }
512 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/TextDecoder.swift:514:31: warning: 'getModelInputDimention(_:named:position:)' is deprecated: renamed to 'getModelInputDimension'
512 |
513 | public var windowSize: Int? {
514 | return ModelUtilities.getModelInputDimention(model, named: "encoder_output_embeds", position: 3)
| |- warning: 'getModelInputDimention(_:named:position:)' is deprecated: renamed to 'getModelInputDimension'
| `- note: use 'getModelInputDimension' instead
515 | }
516 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/TextDecoder.swift:518:31: warning: 'getModelInputDimention(_:named:position:)' is deprecated: renamed to 'getModelInputDimension'
516 |
517 | public var embedSize: Int? {
518 | return ModelUtilities.getModelInputDimention(model, named: "encoder_output_embeds", position: 1)
| |- warning: 'getModelInputDimention(_:named:position:)' is deprecated: renamed to 'getModelInputDimension'
| `- note: use 'getModelInputDimension' instead
519 | }
520 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/TextDecoder.swift:498:31: warning: 'getModelOutputDimention(_:named:position:)' is deprecated: renamed to 'getModelOutputDimension'
496 |
497 | public var supportsWordTimestamps: Bool {
498 | return ModelUtilities.getModelOutputDimention(model, named: "alignment_heads_weights", position: 0) != nil
| |- warning: 'getModelOutputDimention(_:named:position:)' is deprecated: renamed to 'getModelOutputDimension'
| `- note: use 'getModelOutputDimension' instead
499 | }
500 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/TextDecoder.swift:502:31: warning: 'getModelOutputDimention(_:named:position:)' is deprecated: renamed to 'getModelOutputDimension'
500 |
501 | public var logitsSize: Int? {
502 | return ModelUtilities.getModelOutputDimention(model, named: "logits", position: 2)
| |- warning: 'getModelOutputDimention(_:named:position:)' is deprecated: renamed to 'getModelOutputDimension'
| `- note: use 'getModelOutputDimension' instead
503 | }
504 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/TextDecoder.swift:506:31: warning: 'getModelInputDimention(_:named:position:)' is deprecated: renamed to 'getModelInputDimension'
504 |
505 | public var kvCacheEmbedDim: Int? {
506 | return ModelUtilities.getModelInputDimention(model, named: "key_cache", position: 1)
| |- warning: 'getModelInputDimention(_:named:position:)' is deprecated: renamed to 'getModelInputDimension'
| `- note: use 'getModelInputDimension' instead
507 | }
508 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/TextDecoder.swift:510:31: warning: 'getModelInputDimention(_:named:position:)' is deprecated: renamed to 'getModelInputDimension'
508 |
509 | public var kvCacheMaxSequenceLength: Int? {
510 | return ModelUtilities.getModelInputDimention(model, named: "key_cache", position: 3)
| |- warning: 'getModelInputDimention(_:named:position:)' is deprecated: renamed to 'getModelInputDimension'
| `- note: use 'getModelInputDimension' instead
511 | }
512 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/TextDecoder.swift:514:31: warning: 'getModelInputDimention(_:named:position:)' is deprecated: renamed to 'getModelInputDimension'
512 |
513 | public var windowSize: Int? {
514 | return ModelUtilities.getModelInputDimention(model, named: "encoder_output_embeds", position: 3)
| |- warning: 'getModelInputDimention(_:named:position:)' is deprecated: renamed to 'getModelInputDimension'
| `- note: use 'getModelInputDimension' instead
515 | }
516 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/TextDecoder.swift:518:31: warning: 'getModelInputDimention(_:named:position:)' is deprecated: renamed to 'getModelInputDimension'
516 |
517 | public var embedSize: Int? {
518 | return ModelUtilities.getModelInputDimention(model, named: "encoder_output_embeds", position: 1)
| |- warning: 'getModelInputDimention(_:named:position:)' is deprecated: renamed to 'getModelInputDimension'
| `- note: use 'getModelInputDimension' instead
519 | }
520 |
[323/351] Compiling WhisperKit LogitsFilter.swift
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/LogitsFilter.swift:155:25: warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
153 | guard let logprobsInputDescriptor = BNNSNDArrayDescriptor(
154 | data: logprobsInputPointer,
155 | scalarType: FloatType.self,
| `- warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
156 | shape: .vector(logits.count, stride: 1)
157 | ) else {
Accelerate.Float16:4:11: note: conformance of 'Float16' to 'BNNSScalar' has been explicitly marked unavailable here
2 | @available(macOS, unavailable)
3 | @available(macCatalyst, unavailable)
4 | extension Float16 : BNNSScalar {
| `- note: conformance of 'Float16' to 'BNNSScalar' has been explicitly marked unavailable here
5 | public static var bnnsDataType: BNNSDataType { get }
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/LogitsFilter.swift:163:25: warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
161 |
162 | let logprobs = BNNSNDArrayDescriptor.allocateUninitialized(
163 | scalarType: FloatType.self,
| `- warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
164 | shape: .vector(logits.count, stride: 1)
165 | )
Accelerate.Float16:4:11: note: conformance of 'Float16' to 'BNNSScalar' has been explicitly marked unavailable here
2 | @available(macOS, unavailable)
3 | @available(macCatalyst, unavailable)
4 | extension Float16 : BNNSScalar {
| `- note: conformance of 'Float16' to 'BNNSScalar' has been explicitly marked unavailable here
5 | public static var bnnsDataType: BNNSDataType { get }
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/LogitsFilter.swift:169:22: warning: 'applyActivation(activation:input:output:batchSize:filterParameters:)' is deprecated: Use the BNNSGraph API instead.
167 |
168 | do {
169 | try BNNS.applyActivation(
| `- warning: 'applyActivation(activation:input:output:batchSize:filterParameters:)' is deprecated: Use the BNNSGraph API instead.
170 | activation: BNNS.ActivationFunction.logSoftmax,
171 | input: logprobsInputDescriptor,
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/LogitsFilter.swift:170:34: warning: 'ActivationFunction' is deprecated: Use the BNNSGraph API instead.
168 | do {
169 | try BNNS.applyActivation(
170 | activation: BNNS.ActivationFunction.logSoftmax,
| `- warning: 'ActivationFunction' is deprecated: Use the BNNSGraph API instead.
171 | input: logprobsInputDescriptor,
172 | output: logprobs,
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/LogitsFilter.swift:185:29: warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
183 | guard let logSumExpInputDescriptor = BNNSNDArrayDescriptor(
184 | data: logSumExpInputPointer,
185 | scalarType: FloatType.self,
| `- warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
186 | shape: .vector(timeTokenCount, stride: 1)
187 | ) else {
Accelerate.Float16:4:11: note: conformance of 'Float16' to 'BNNSScalar' has been explicitly marked unavailable here
2 | @available(macOS, unavailable)
3 | @available(macCatalyst, unavailable)
4 | extension Float16 : BNNSScalar {
| `- note: conformance of 'Float16' to 'BNNSScalar' has been explicitly marked unavailable here
5 | public static var bnnsDataType: BNNSDataType { get }
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/LogitsFilter.swift:193:29: warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
191 |
192 | let timestampLogProb = BNNSNDArrayDescriptor.allocateUninitialized(
193 | scalarType: FloatType.self,
| `- warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
194 | shape: .vector(1, stride: 1)
195 | )
Accelerate.Float16:4:11: note: conformance of 'Float16' to 'BNNSScalar' has been explicitly marked unavailable here
2 | @available(macOS, unavailable)
3 | @available(macCatalyst, unavailable)
4 | extension Float16 : BNNSScalar {
| `- note: conformance of 'Float16' to 'BNNSScalar' has been explicitly marked unavailable here
5 | public static var bnnsDataType: BNNSDataType { get }
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/LogitsFilter.swift:212:29: warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
210 | guard let maxTextTokenLogProbInputDescriptor = BNNSNDArrayDescriptor(
211 | data: maxTextTokenLogProbInputPointer,
212 | scalarType: FloatType.self,
| `- warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
213 | shape: .vector(noTimeTokenCount, stride: 1)
214 | ) else {
Accelerate.Float16:4:11: note: conformance of 'Float16' to 'BNNSScalar' has been explicitly marked unavailable here
2 | @available(macOS, unavailable)
3 | @available(macCatalyst, unavailable)
4 | extension Float16 : BNNSScalar {
| `- note: conformance of 'Float16' to 'BNNSScalar' has been explicitly marked unavailable here
5 | public static var bnnsDataType: BNNSDataType { get }
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/LogitsFilter.swift:220:29: warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
218 |
219 | let maxTextTokenLogProb = BNNSNDArrayDescriptor.allocateUninitialized(
220 | scalarType: FloatType.self,
| `- warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
221 | shape: .vector(1, stride: 1)
222 | )
Accelerate.Float16:4:11: note: conformance of 'Float16' to 'BNNSScalar' has been explicitly marked unavailable here
2 | @available(macOS, unavailable)
3 | @available(macCatalyst, unavailable)
4 | extension Float16 : BNNSScalar {
| `- note: conformance of 'Float16' to 'BNNSScalar' has been explicitly marked unavailable here
5 | public static var bnnsDataType: BNNSDataType { get }
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/TokenSampler.swift:80:36: warning: 'asIntArray()' is deprecated: Use await toIntArray() instead.
78 |
79 | return (
80 | token: nextTokenTensor.asIntArray()[0],
| `- warning: 'asIntArray()' is deprecated: Use await toIntArray() instead.
81 | logprob: nextLogprobTensor.asFloatArray()[0]
82 | )
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/TokenSampler.swift:81:40: warning: 'asFloatArray()' is deprecated: Use await toFloatArray() instead.
79 | return (
80 | token: nextTokenTensor.asIntArray()[0],
81 | logprob: nextLogprobTensor.asFloatArray()[0]
| `- warning: 'asFloatArray()' is deprecated: Use await toFloatArray() instead.
82 | )
83 | }
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/TokenSampler.swift:103:29: warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
101 | let logitsDescriptor = BNNSNDArrayDescriptor(
102 | data: logitsRawPointer,
103 | scalarType: FloatType.self,
| `- warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
104 | shape: .vector(logits.count, stride: 1)
105 | )!
Accelerate.Float16:4:11: note: conformance of 'Float16' to 'BNNSScalar' has been explicitly marked unavailable here
2 | @available(macOS, unavailable)
3 | @available(macCatalyst, unavailable)
4 | extension Float16 : BNNSScalar {
| `- note: conformance of 'Float16' to 'BNNSScalar' has been explicitly marked unavailable here
5 | public static var bnnsDataType: BNNSDataType { get }
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/TokenSampler.swift:112:33: warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
110 | if temperature != 0.0 {
111 | let scaledLogits = BNNSNDArrayDescriptor.allocateUninitialized(
112 | scalarType: FloatType.self,
| `- warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
113 | shape: .vector(logits.count, stride: 1)
114 | )
Accelerate.Float16:4:11: note: conformance of 'Float16' to 'BNNSScalar' has been explicitly marked unavailable here
2 | @available(macOS, unavailable)
3 | @available(macCatalyst, unavailable)
4 | extension Float16 : BNNSScalar {
| `- note: conformance of 'Float16' to 'BNNSScalar' has been explicitly marked unavailable here
5 | public static var bnnsDataType: BNNSDataType { get }
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/TokenSampler.swift:116:27: warning: 'applyActivation(activation:input:output:batchSize:filterParameters:)' is deprecated: Use the BNNSGraph API instead.
114 | )
115 |
116 | try! BNNS.applyActivation(
| `- warning: 'applyActivation(activation:input:output:batchSize:filterParameters:)' is deprecated: Use the BNNSGraph API instead.
117 | activation: BNNS.ActivationFunction.linear(alpha: Float(1 / temperature)),
118 | input: logitsDescriptor,
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/TokenSampler.swift:117:38: warning: 'ActivationFunction' is deprecated: Use the BNNSGraph API instead.
115 |
116 | try! BNNS.applyActivation(
117 | activation: BNNS.ActivationFunction.linear(alpha: Float(1 / temperature)),
| `- warning: 'ActivationFunction' is deprecated: Use the BNNSGraph API instead.
118 | input: logitsDescriptor,
119 | output: scaledLogits,
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/TokenSampler.swift:133:22: warning: 'applyActivation(activation:input:output:batchSize:filterParameters:)' is deprecated: Use the BNNSGraph API instead.
131 | )
132 |
133 | try BNNS.applyActivation(
| `- warning: 'applyActivation(activation:input:output:batchSize:filterParameters:)' is deprecated: Use the BNNSGraph API instead.
134 | activation: BNNS.ActivationFunction.softmax,
135 | input: softmaxInput!,
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/TokenSampler.swift:134:34: warning: 'ActivationFunction' is deprecated: Use the BNNSGraph API instead.
132 |
133 | try BNNS.applyActivation(
134 | activation: BNNS.ActivationFunction.softmax,
| `- warning: 'ActivationFunction' is deprecated: Use the BNNSGraph API instead.
135 | input: softmaxInput!,
136 | output: softmaxOutput!,
[324/351] Compiling TTSKit Qwen3Models.swift
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/LogitsFilter.swift:155:25: warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
153 | guard let logprobsInputDescriptor = BNNSNDArrayDescriptor(
154 | data: logprobsInputPointer,
155 | scalarType: FloatType.self,
| `- warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
156 | shape: .vector(logits.count, stride: 1)
157 | ) else {
Accelerate.Float16:4:11: note: conformance of 'Float16' to 'BNNSScalar' has been explicitly marked unavailable here
2 | @available(macOS, unavailable)
3 | @available(macCatalyst, unavailable)
4 | extension Float16 : BNNSScalar {
| `- note: conformance of 'Float16' to 'BNNSScalar' has been explicitly marked unavailable here
5 | public static var bnnsDataType: BNNSDataType { get }
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/LogitsFilter.swift:163:25: warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
161 |
162 | let logprobs = BNNSNDArrayDescriptor.allocateUninitialized(
163 | scalarType: FloatType.self,
| `- warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
164 | shape: .vector(logits.count, stride: 1)
165 | )
Accelerate.Float16:4:11: note: conformance of 'Float16' to 'BNNSScalar' has been explicitly marked unavailable here
2 | @available(macOS, unavailable)
3 | @available(macCatalyst, unavailable)
4 | extension Float16 : BNNSScalar {
| `- note: conformance of 'Float16' to 'BNNSScalar' has been explicitly marked unavailable here
5 | public static var bnnsDataType: BNNSDataType { get }
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/LogitsFilter.swift:169:22: warning: 'applyActivation(activation:input:output:batchSize:filterParameters:)' is deprecated: Use the BNNSGraph API instead.
167 |
168 | do {
169 | try BNNS.applyActivation(
| `- warning: 'applyActivation(activation:input:output:batchSize:filterParameters:)' is deprecated: Use the BNNSGraph API instead.
170 | activation: BNNS.ActivationFunction.logSoftmax,
171 | input: logprobsInputDescriptor,
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/LogitsFilter.swift:170:34: warning: 'ActivationFunction' is deprecated: Use the BNNSGraph API instead.
168 | do {
169 | try BNNS.applyActivation(
170 | activation: BNNS.ActivationFunction.logSoftmax,
| `- warning: 'ActivationFunction' is deprecated: Use the BNNSGraph API instead.
171 | input: logprobsInputDescriptor,
172 | output: logprobs,
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/LogitsFilter.swift:185:29: warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
183 | guard let logSumExpInputDescriptor = BNNSNDArrayDescriptor(
184 | data: logSumExpInputPointer,
185 | scalarType: FloatType.self,
| `- warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
186 | shape: .vector(timeTokenCount, stride: 1)
187 | ) else {
Accelerate.Float16:4:11: note: conformance of 'Float16' to 'BNNSScalar' has been explicitly marked unavailable here
2 | @available(macOS, unavailable)
3 | @available(macCatalyst, unavailable)
4 | extension Float16 : BNNSScalar {
| `- note: conformance of 'Float16' to 'BNNSScalar' has been explicitly marked unavailable here
5 | public static var bnnsDataType: BNNSDataType { get }
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/LogitsFilter.swift:193:29: warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
191 |
192 | let timestampLogProb = BNNSNDArrayDescriptor.allocateUninitialized(
193 | scalarType: FloatType.self,
| `- warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
194 | shape: .vector(1, stride: 1)
195 | )
Accelerate.Float16:4:11: note: conformance of 'Float16' to 'BNNSScalar' has been explicitly marked unavailable here
2 | @available(macOS, unavailable)
3 | @available(macCatalyst, unavailable)
4 | extension Float16 : BNNSScalar {
| `- note: conformance of 'Float16' to 'BNNSScalar' has been explicitly marked unavailable here
5 | public static var bnnsDataType: BNNSDataType { get }
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/LogitsFilter.swift:212:29: warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
210 | guard let maxTextTokenLogProbInputDescriptor = BNNSNDArrayDescriptor(
211 | data: maxTextTokenLogProbInputPointer,
212 | scalarType: FloatType.self,
| `- warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
213 | shape: .vector(noTimeTokenCount, stride: 1)
214 | ) else {
Accelerate.Float16:4:11: note: conformance of 'Float16' to 'BNNSScalar' has been explicitly marked unavailable here
2 | @available(macOS, unavailable)
3 | @available(macCatalyst, unavailable)
4 | extension Float16 : BNNSScalar {
| `- note: conformance of 'Float16' to 'BNNSScalar' has been explicitly marked unavailable here
5 | public static var bnnsDataType: BNNSDataType { get }
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/LogitsFilter.swift:220:29: warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
218 |
219 | let maxTextTokenLogProb = BNNSNDArrayDescriptor.allocateUninitialized(
220 | scalarType: FloatType.self,
| `- warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
221 | shape: .vector(1, stride: 1)
222 | )
Accelerate.Float16:4:11: note: conformance of 'Float16' to 'BNNSScalar' has been explicitly marked unavailable here
2 | @available(macOS, unavailable)
3 | @available(macCatalyst, unavailable)
4 | extension Float16 : BNNSScalar {
| `- note: conformance of 'Float16' to 'BNNSScalar' has been explicitly marked unavailable here
5 | public static var bnnsDataType: BNNSDataType { get }
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/TokenSampler.swift:80:36: warning: 'asIntArray()' is deprecated: Use await toIntArray() instead.
78 |
79 | return (
80 | token: nextTokenTensor.asIntArray()[0],
| `- warning: 'asIntArray()' is deprecated: Use await toIntArray() instead.
81 | logprob: nextLogprobTensor.asFloatArray()[0]
82 | )
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/TokenSampler.swift:81:40: warning: 'asFloatArray()' is deprecated: Use await toFloatArray() instead.
79 | return (
80 | token: nextTokenTensor.asIntArray()[0],
81 | logprob: nextLogprobTensor.asFloatArray()[0]
| `- warning: 'asFloatArray()' is deprecated: Use await toFloatArray() instead.
82 | )
83 | }
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/TokenSampler.swift:103:29: warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
101 | let logitsDescriptor = BNNSNDArrayDescriptor(
102 | data: logitsRawPointer,
103 | scalarType: FloatType.self,
| `- warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
104 | shape: .vector(logits.count, stride: 1)
105 | )!
Accelerate.Float16:4:11: note: conformance of 'Float16' to 'BNNSScalar' has been explicitly marked unavailable here
2 | @available(macOS, unavailable)
3 | @available(macCatalyst, unavailable)
4 | extension Float16 : BNNSScalar {
| `- note: conformance of 'Float16' to 'BNNSScalar' has been explicitly marked unavailable here
5 | public static var bnnsDataType: BNNSDataType { get }
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/TokenSampler.swift:112:33: warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
110 | if temperature != 0.0 {
111 | let scaledLogits = BNNSNDArrayDescriptor.allocateUninitialized(
112 | scalarType: FloatType.self,
| `- warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
113 | shape: .vector(logits.count, stride: 1)
114 | )
Accelerate.Float16:4:11: note: conformance of 'Float16' to 'BNNSScalar' has been explicitly marked unavailable here
2 | @available(macOS, unavailable)
3 | @available(macCatalyst, unavailable)
4 | extension Float16 : BNNSScalar {
| `- note: conformance of 'Float16' to 'BNNSScalar' has been explicitly marked unavailable here
5 | public static var bnnsDataType: BNNSDataType { get }
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/TokenSampler.swift:116:27: warning: 'applyActivation(activation:input:output:batchSize:filterParameters:)' is deprecated: Use the BNNSGraph API instead.
114 | )
115 |
116 | try! BNNS.applyActivation(
| `- warning: 'applyActivation(activation:input:output:batchSize:filterParameters:)' is deprecated: Use the BNNSGraph API instead.
117 | activation: BNNS.ActivationFunction.linear(alpha: Float(1 / temperature)),
118 | input: logitsDescriptor,
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/TokenSampler.swift:117:38: warning: 'ActivationFunction' is deprecated: Use the BNNSGraph API instead.
115 |
116 | try! BNNS.applyActivation(
117 | activation: BNNS.ActivationFunction.linear(alpha: Float(1 / temperature)),
| `- warning: 'ActivationFunction' is deprecated: Use the BNNSGraph API instead.
118 | input: logitsDescriptor,
119 | output: scaledLogits,
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/TokenSampler.swift:133:22: warning: 'applyActivation(activation:input:output:batchSize:filterParameters:)' is deprecated: Use the BNNSGraph API instead.
131 | )
132 |
133 | try BNNS.applyActivation(
| `- warning: 'applyActivation(activation:input:output:batchSize:filterParameters:)' is deprecated: Use the BNNSGraph API instead.
134 | activation: BNNS.ActivationFunction.softmax,
135 | input: softmaxInput!,
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/TokenSampler.swift:134:34: warning: 'ActivationFunction' is deprecated: Use the BNNSGraph API instead.
132 |
133 | try BNNS.applyActivation(
134 | activation: BNNS.ActivationFunction.softmax,
| `- warning: 'ActivationFunction' is deprecated: Use the BNNSGraph API instead.
135 | input: softmaxInput!,
136 | output: softmaxOutput!,
[325/351] Compiling TTSKit Qwen3MultiCodeDecoder.swift
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/LogitsFilter.swift:155:25: warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
153 | guard let logprobsInputDescriptor = BNNSNDArrayDescriptor(
154 | data: logprobsInputPointer,
155 | scalarType: FloatType.self,
| `- warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
156 | shape: .vector(logits.count, stride: 1)
157 | ) else {
Accelerate.Float16:4:11: note: conformance of 'Float16' to 'BNNSScalar' has been explicitly marked unavailable here
2 | @available(macOS, unavailable)
3 | @available(macCatalyst, unavailable)
4 | extension Float16 : BNNSScalar {
| `- note: conformance of 'Float16' to 'BNNSScalar' has been explicitly marked unavailable here
5 | public static var bnnsDataType: BNNSDataType { get }
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/LogitsFilter.swift:163:25: warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
161 |
162 | let logprobs = BNNSNDArrayDescriptor.allocateUninitialized(
163 | scalarType: FloatType.self,
| `- warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
164 | shape: .vector(logits.count, stride: 1)
165 | )
Accelerate.Float16:4:11: note: conformance of 'Float16' to 'BNNSScalar' has been explicitly marked unavailable here
2 | @available(macOS, unavailable)
3 | @available(macCatalyst, unavailable)
4 | extension Float16 : BNNSScalar {
| `- note: conformance of 'Float16' to 'BNNSScalar' has been explicitly marked unavailable here
5 | public static var bnnsDataType: BNNSDataType { get }
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/LogitsFilter.swift:169:22: warning: 'applyActivation(activation:input:output:batchSize:filterParameters:)' is deprecated: Use the BNNSGraph API instead.
167 |
168 | do {
169 | try BNNS.applyActivation(
| `- warning: 'applyActivation(activation:input:output:batchSize:filterParameters:)' is deprecated: Use the BNNSGraph API instead.
170 | activation: BNNS.ActivationFunction.logSoftmax,
171 | input: logprobsInputDescriptor,
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/LogitsFilter.swift:170:34: warning: 'ActivationFunction' is deprecated: Use the BNNSGraph API instead.
168 | do {
169 | try BNNS.applyActivation(
170 | activation: BNNS.ActivationFunction.logSoftmax,
| `- warning: 'ActivationFunction' is deprecated: Use the BNNSGraph API instead.
171 | input: logprobsInputDescriptor,
172 | output: logprobs,
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/LogitsFilter.swift:185:29: warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
183 | guard let logSumExpInputDescriptor = BNNSNDArrayDescriptor(
184 | data: logSumExpInputPointer,
185 | scalarType: FloatType.self,
| `- warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
186 | shape: .vector(timeTokenCount, stride: 1)
187 | ) else {
Accelerate.Float16:4:11: note: conformance of 'Float16' to 'BNNSScalar' has been explicitly marked unavailable here
2 | @available(macOS, unavailable)
3 | @available(macCatalyst, unavailable)
4 | extension Float16 : BNNSScalar {
| `- note: conformance of 'Float16' to 'BNNSScalar' has been explicitly marked unavailable here
5 | public static var bnnsDataType: BNNSDataType { get }
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/LogitsFilter.swift:193:29: warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
191 |
192 | let timestampLogProb = BNNSNDArrayDescriptor.allocateUninitialized(
193 | scalarType: FloatType.self,
| `- warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
194 | shape: .vector(1, stride: 1)
195 | )
Accelerate.Float16:4:11: note: conformance of 'Float16' to 'BNNSScalar' has been explicitly marked unavailable here
2 | @available(macOS, unavailable)
3 | @available(macCatalyst, unavailable)
4 | extension Float16 : BNNSScalar {
| `- note: conformance of 'Float16' to 'BNNSScalar' has been explicitly marked unavailable here
5 | public static var bnnsDataType: BNNSDataType { get }
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/LogitsFilter.swift:212:29: warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
210 | guard let maxTextTokenLogProbInputDescriptor = BNNSNDArrayDescriptor(
211 | data: maxTextTokenLogProbInputPointer,
212 | scalarType: FloatType.self,
| `- warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
213 | shape: .vector(noTimeTokenCount, stride: 1)
214 | ) else {
Accelerate.Float16:4:11: note: conformance of 'Float16' to 'BNNSScalar' has been explicitly marked unavailable here
2 | @available(macOS, unavailable)
3 | @available(macCatalyst, unavailable)
4 | extension Float16 : BNNSScalar {
| `- note: conformance of 'Float16' to 'BNNSScalar' has been explicitly marked unavailable here
5 | public static var bnnsDataType: BNNSDataType { get }
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/LogitsFilter.swift:220:29: warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
218 |
219 | let maxTextTokenLogProb = BNNSNDArrayDescriptor.allocateUninitialized(
220 | scalarType: FloatType.self,
| `- warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
221 | shape: .vector(1, stride: 1)
222 | )
Accelerate.Float16:4:11: note: conformance of 'Float16' to 'BNNSScalar' has been explicitly marked unavailable here
2 | @available(macOS, unavailable)
3 | @available(macCatalyst, unavailable)
4 | extension Float16 : BNNSScalar {
| `- note: conformance of 'Float16' to 'BNNSScalar' has been explicitly marked unavailable here
5 | public static var bnnsDataType: BNNSDataType { get }
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/TokenSampler.swift:80:36: warning: 'asIntArray()' is deprecated: Use await toIntArray() instead.
78 |
79 | return (
80 | token: nextTokenTensor.asIntArray()[0],
| `- warning: 'asIntArray()' is deprecated: Use await toIntArray() instead.
81 | logprob: nextLogprobTensor.asFloatArray()[0]
82 | )
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/TokenSampler.swift:81:40: warning: 'asFloatArray()' is deprecated: Use await toFloatArray() instead.
79 | return (
80 | token: nextTokenTensor.asIntArray()[0],
81 | logprob: nextLogprobTensor.asFloatArray()[0]
| `- warning: 'asFloatArray()' is deprecated: Use await toFloatArray() instead.
82 | )
83 | }
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/TokenSampler.swift:103:29: warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
101 | let logitsDescriptor = BNNSNDArrayDescriptor(
102 | data: logitsRawPointer,
103 | scalarType: FloatType.self,
| `- warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
104 | shape: .vector(logits.count, stride: 1)
105 | )!
Accelerate.Float16:4:11: note: conformance of 'Float16' to 'BNNSScalar' has been explicitly marked unavailable here
2 | @available(macOS, unavailable)
3 | @available(macCatalyst, unavailable)
4 | extension Float16 : BNNSScalar {
| `- note: conformance of 'Float16' to 'BNNSScalar' has been explicitly marked unavailable here
5 | public static var bnnsDataType: BNNSDataType { get }
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/TokenSampler.swift:112:33: warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
110 | if temperature != 0.0 {
111 | let scaledLogits = BNNSNDArrayDescriptor.allocateUninitialized(
112 | scalarType: FloatType.self,
| `- warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
113 | shape: .vector(logits.count, stride: 1)
114 | )
Accelerate.Float16:4:11: note: conformance of 'Float16' to 'BNNSScalar' has been explicitly marked unavailable here
2 | @available(macOS, unavailable)
3 | @available(macCatalyst, unavailable)
4 | extension Float16 : BNNSScalar {
| `- note: conformance of 'Float16' to 'BNNSScalar' has been explicitly marked unavailable here
5 | public static var bnnsDataType: BNNSDataType { get }
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/TokenSampler.swift:116:27: warning: 'applyActivation(activation:input:output:batchSize:filterParameters:)' is deprecated: Use the BNNSGraph API instead.
114 | )
115 |
116 | try! BNNS.applyActivation(
| `- warning: 'applyActivation(activation:input:output:batchSize:filterParameters:)' is deprecated: Use the BNNSGraph API instead.
117 | activation: BNNS.ActivationFunction.linear(alpha: Float(1 / temperature)),
118 | input: logitsDescriptor,
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/TokenSampler.swift:117:38: warning: 'ActivationFunction' is deprecated: Use the BNNSGraph API instead.
115 |
116 | try! BNNS.applyActivation(
117 | activation: BNNS.ActivationFunction.linear(alpha: Float(1 / temperature)),
| `- warning: 'ActivationFunction' is deprecated: Use the BNNSGraph API instead.
118 | input: logitsDescriptor,
119 | output: scaledLogits,
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/TokenSampler.swift:133:22: warning: 'applyActivation(activation:input:output:batchSize:filterParameters:)' is deprecated: Use the BNNSGraph API instead.
131 | )
132 |
133 | try BNNS.applyActivation(
| `- warning: 'applyActivation(activation:input:output:batchSize:filterParameters:)' is deprecated: Use the BNNSGraph API instead.
134 | activation: BNNS.ActivationFunction.softmax,
135 | input: softmaxInput!,
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/TokenSampler.swift:134:34: warning: 'ActivationFunction' is deprecated: Use the BNNSGraph API instead.
132 |
133 | try BNNS.applyActivation(
134 | activation: BNNS.ActivationFunction.softmax,
| `- warning: 'ActivationFunction' is deprecated: Use the BNNSGraph API instead.
135 | input: softmaxInput!,
136 | output: softmaxOutput!,
[326/351] Compiling WhisperKit Logging.swift
[327/351] Compiling WhisperKit ModelUtilities.swift
[328/351] Compiling WhisperKit EnergyVAD.swift
[329/351] Compiling WhisperKit VoiceActivityDetector.swift
[330/351] Compiling WhisperKit AudioEncoder.swift
[331/351] Compiling TTSKit Configurations.swift
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:893:16: warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
878 |
879 | /// Model Prediction Output Type
880 | public class MelSpectrogramOutput: MLFeatureProvider {
| `- note: add @available attribute to enclosing class
881 | /// Source provided by CoreML
882 | private let provider: MLFeatureProvider
:
891 | @available(macCatalyst, unavailable)
892 | public var melspectrogram_featuresShapedArray: MLShapedArray<Float16> {
893 | return MLShapedArray<Float16>(self.melspectrogramFeatures)
| |- warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
894 | }
895 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:893:37: warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
878 |
879 | /// Model Prediction Output Type
880 | public class MelSpectrogramOutput: MLFeatureProvider {
| `- note: add @available attribute to enclosing class
881 | /// Source provided by CoreML
882 | private let provider: MLFeatureProvider
:
891 | @available(macCatalyst, unavailable)
892 | public var melspectrogram_featuresShapedArray: MLShapedArray<Float16> {
893 | return MLShapedArray<Float16>(self.melspectrogramFeatures)
| |- warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
894 | }
895 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:954:16: warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
939 |
940 | /// Model Prediction Output Type
941 | public class AudioEncoderOutput: MLFeatureProvider {
| `- note: add @available attribute to enclosing class
942 | /// Source provided by CoreML
943 | private let provider: MLFeatureProvider
:
952 | @available(macCatalyst, unavailable)
953 | public var encoder_output_embedsShapedArray: MLShapedArray<Float16> {
954 | return MLShapedArray<Float16>(self.encoder_output_embeds)
| |- warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
955 | }
956 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:954:37: warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
939 |
940 | /// Model Prediction Output Type
941 | public class AudioEncoderOutput: MLFeatureProvider {
| `- note: add @available attribute to enclosing class
942 | /// Source provided by CoreML
943 | private let provider: MLFeatureProvider
:
952 | @available(macCatalyst, unavailable)
953 | public var encoder_output_embedsShapedArray: MLShapedArray<Float16> {
954 | return MLShapedArray<Float16>(self.encoder_output_embeds)
| |- warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
955 | }
956 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1057:16: warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
1042 |
1043 | /// Model Prediction Output Type
1044 | public class TextDecoderOutput: MLFeatureProvider {
| `- note: add @available attribute to enclosing class
1045 | /// Source provided by CoreML
1046 | private let provider: MLFeatureProvider
:
1055 | @available(macCatalyst, unavailable)
1056 | public var logitsShapedArray: MLShapedArray<Float16> {
1057 | return MLShapedArray<Float16>(self.logits)
| |- warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
1058 | }
1059 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1057:37: warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
1042 |
1043 | /// Model Prediction Output Type
1044 | public class TextDecoderOutput: MLFeatureProvider {
| `- note: add @available attribute to enclosing class
1045 | /// Source provided by CoreML
1046 | private let provider: MLFeatureProvider
:
1055 | @available(macCatalyst, unavailable)
1056 | public var logitsShapedArray: MLShapedArray<Float16> {
1057 | return MLShapedArray<Float16>(self.logits)
| |- warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
1058 | }
1059 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1069:16: warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
1042 |
1043 | /// Model Prediction Output Type
1044 | public class TextDecoderOutput: MLFeatureProvider {
| `- note: add @available attribute to enclosing class
1045 | /// Source provided by CoreML
1046 | private let provider: MLFeatureProvider
:
1067 | @available(macCatalyst, unavailable)
1068 | public var key_cache_updatesShapedArray: MLShapedArray<Float16> {
1069 | return MLShapedArray<Float16>(self.key_cache_updates)
| |- warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
1070 | }
1071 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1069:37: warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
1042 |
1043 | /// Model Prediction Output Type
1044 | public class TextDecoderOutput: MLFeatureProvider {
| `- note: add @available attribute to enclosing class
1045 | /// Source provided by CoreML
1046 | private let provider: MLFeatureProvider
:
1067 | @available(macCatalyst, unavailable)
1068 | public var key_cache_updatesShapedArray: MLShapedArray<Float16> {
1069 | return MLShapedArray<Float16>(self.key_cache_updates)
| |- warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
1070 | }
1071 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1081:16: warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
1042 |
1043 | /// Model Prediction Output Type
1044 | public class TextDecoderOutput: MLFeatureProvider {
| `- note: add @available attribute to enclosing class
1045 | /// Source provided by CoreML
1046 | private let provider: MLFeatureProvider
:
1079 | @available(macCatalyst, unavailable)
1080 | public var value_cache_updatesShapedArray: MLShapedArray<Float16> {
1081 | return MLShapedArray<Float16>(self.value_cache_updates)
| |- warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
1082 | }
1083 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1081:37: warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
1042 |
1043 | /// Model Prediction Output Type
1044 | public class TextDecoderOutput: MLFeatureProvider {
| `- note: add @available attribute to enclosing class
1045 | /// Source provided by CoreML
1046 | private let provider: MLFeatureProvider
:
1079 | @available(macCatalyst, unavailable)
1080 | public var value_cache_updatesShapedArray: MLShapedArray<Float16> {
1081 | return MLShapedArray<Float16>(self.value_cache_updates)
| |- warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
1082 | }
1083 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1096:16: warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
1042 |
1043 | /// Model Prediction Output Type
1044 | public class TextDecoderOutput: MLFeatureProvider {
| `- note: add @available attribute to enclosing class
1045 | /// Source provided by CoreML
1046 | private let provider: MLFeatureProvider
:
1094 | return nil
1095 | }
1096 | return MLShapedArray<Float16>(alignment_heads_weights)
| |- warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
1097 | }
1098 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1096:37: warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
1042 |
1043 | /// Model Prediction Output Type
1044 | public class TextDecoderOutput: MLFeatureProvider {
| `- note: add @available attribute to enclosing class
1045 | /// Source provided by CoreML
1046 | private let provider: MLFeatureProvider
:
1094 | return nil
1095 | }
1096 | return MLShapedArray<Float16>(alignment_heads_weights)
| |- warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
1097 | }
1098 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1163:16: warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
1148 |
1149 | /// Model Prediction Output Type
1150 | public class TextDecoderCachePrefillOutput: MLFeatureProvider {
| `- note: add @available attribute to enclosing class
1151 | /// Source provided by CoreML
1152 | private let provider: MLFeatureProvider
:
1161 | @available(macCatalyst, unavailable)
1162 | public var key_cache_prefillShapedArray: MLShapedArray<Float16> {
1163 | return MLShapedArray<Float16>(self.key_cache_prefill)
| |- warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
1164 | }
1165 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1163:37: warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
1148 |
1149 | /// Model Prediction Output Type
1150 | public class TextDecoderCachePrefillOutput: MLFeatureProvider {
| `- note: add @available attribute to enclosing class
1151 | /// Source provided by CoreML
1152 | private let provider: MLFeatureProvider
:
1161 | @available(macCatalyst, unavailable)
1162 | public var key_cache_prefillShapedArray: MLShapedArray<Float16> {
1163 | return MLShapedArray<Float16>(self.key_cache_prefill)
| |- warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
1164 | }
1165 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1175:16: warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
1148 |
1149 | /// Model Prediction Output Type
1150 | public class TextDecoderCachePrefillOutput: MLFeatureProvider {
| `- note: add @available attribute to enclosing class
1151 | /// Source provided by CoreML
1152 | private let provider: MLFeatureProvider
:
1173 | @available(macCatalyst, unavailable)
1174 | public var value_cache_prefillShapedArray: MLShapedArray<Float16> {
1175 | return MLShapedArray<Float16>(self.value_cache_prefill)
| |- warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
1176 | }
1177 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1175:37: warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
1148 |
1149 | /// Model Prediction Output Type
1150 | public class TextDecoderCachePrefillOutput: MLFeatureProvider {
| `- note: add @available attribute to enclosing class
1151 | /// Source provided by CoreML
1152 | private let provider: MLFeatureProvider
:
1173 | @available(macCatalyst, unavailable)
1174 | public var value_cache_prefillShapedArray: MLShapedArray<Float16> {
1175 | return MLShapedArray<Float16>(self.value_cache_prefill)
| |- warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
1176 | }
1177 |
[332/351] Compiling TTSKit Generating.swift
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:893:16: warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
878 |
879 | /// Model Prediction Output Type
880 | public class MelSpectrogramOutput: MLFeatureProvider {
| `- note: add @available attribute to enclosing class
881 | /// Source provided by CoreML
882 | private let provider: MLFeatureProvider
:
891 | @available(macCatalyst, unavailable)
892 | public var melspectrogram_featuresShapedArray: MLShapedArray<Float16> {
893 | return MLShapedArray<Float16>(self.melspectrogramFeatures)
| |- warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
894 | }
895 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:893:37: warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
878 |
879 | /// Model Prediction Output Type
880 | public class MelSpectrogramOutput: MLFeatureProvider {
| `- note: add @available attribute to enclosing class
881 | /// Source provided by CoreML
882 | private let provider: MLFeatureProvider
:
891 | @available(macCatalyst, unavailable)
892 | public var melspectrogram_featuresShapedArray: MLShapedArray<Float16> {
893 | return MLShapedArray<Float16>(self.melspectrogramFeatures)
| |- warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
894 | }
895 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:954:16: warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
939 |
940 | /// Model Prediction Output Type
941 | public class AudioEncoderOutput: MLFeatureProvider {
| `- note: add @available attribute to enclosing class
942 | /// Source provided by CoreML
943 | private let provider: MLFeatureProvider
:
952 | @available(macCatalyst, unavailable)
953 | public var encoder_output_embedsShapedArray: MLShapedArray<Float16> {
954 | return MLShapedArray<Float16>(self.encoder_output_embeds)
| |- warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
955 | }
956 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:954:37: warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
939 |
940 | /// Model Prediction Output Type
941 | public class AudioEncoderOutput: MLFeatureProvider {
| `- note: add @available attribute to enclosing class
942 | /// Source provided by CoreML
943 | private let provider: MLFeatureProvider
:
952 | @available(macCatalyst, unavailable)
953 | public var encoder_output_embedsShapedArray: MLShapedArray<Float16> {
954 | return MLShapedArray<Float16>(self.encoder_output_embeds)
| |- warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
955 | }
956 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1057:16: warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
1042 |
1043 | /// Model Prediction Output Type
1044 | public class TextDecoderOutput: MLFeatureProvider {
| `- note: add @available attribute to enclosing class
1045 | /// Source provided by CoreML
1046 | private let provider: MLFeatureProvider
:
1055 | @available(macCatalyst, unavailable)
1056 | public var logitsShapedArray: MLShapedArray<Float16> {
1057 | return MLShapedArray<Float16>(self.logits)
| |- warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
1058 | }
1059 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1057:37: warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
1042 |
1043 | /// Model Prediction Output Type
1044 | public class TextDecoderOutput: MLFeatureProvider {
| `- note: add @available attribute to enclosing class
1045 | /// Source provided by CoreML
1046 | private let provider: MLFeatureProvider
:
1055 | @available(macCatalyst, unavailable)
1056 | public var logitsShapedArray: MLShapedArray<Float16> {
1057 | return MLShapedArray<Float16>(self.logits)
| |- warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
1058 | }
1059 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1069:16: warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
1042 |
1043 | /// Model Prediction Output Type
1044 | public class TextDecoderOutput: MLFeatureProvider {
| `- note: add @available attribute to enclosing class
1045 | /// Source provided by CoreML
1046 | private let provider: MLFeatureProvider
:
1067 | @available(macCatalyst, unavailable)
1068 | public var key_cache_updatesShapedArray: MLShapedArray<Float16> {
1069 | return MLShapedArray<Float16>(self.key_cache_updates)
| |- warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
1070 | }
1071 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1069:37: warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
1042 |
1043 | /// Model Prediction Output Type
1044 | public class TextDecoderOutput: MLFeatureProvider {
| `- note: add @available attribute to enclosing class
1045 | /// Source provided by CoreML
1046 | private let provider: MLFeatureProvider
:
1067 | @available(macCatalyst, unavailable)
1068 | public var key_cache_updatesShapedArray: MLShapedArray<Float16> {
1069 | return MLShapedArray<Float16>(self.key_cache_updates)
| |- warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
1070 | }
1071 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1081:16: warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
1042 |
1043 | /// Model Prediction Output Type
1044 | public class TextDecoderOutput: MLFeatureProvider {
| `- note: add @available attribute to enclosing class
1045 | /// Source provided by CoreML
1046 | private let provider: MLFeatureProvider
:
1079 | @available(macCatalyst, unavailable)
1080 | public var value_cache_updatesShapedArray: MLShapedArray<Float16> {
1081 | return MLShapedArray<Float16>(self.value_cache_updates)
| |- warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
1082 | }
1083 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1081:37: warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
1042 |
1043 | /// Model Prediction Output Type
1044 | public class TextDecoderOutput: MLFeatureProvider {
| `- note: add @available attribute to enclosing class
1045 | /// Source provided by CoreML
1046 | private let provider: MLFeatureProvider
:
1079 | @available(macCatalyst, unavailable)
1080 | public var value_cache_updatesShapedArray: MLShapedArray<Float16> {
1081 | return MLShapedArray<Float16>(self.value_cache_updates)
| |- warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
1082 | }
1083 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1096:16: warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
1042 |
1043 | /// Model Prediction Output Type
1044 | public class TextDecoderOutput: MLFeatureProvider {
| `- note: add @available attribute to enclosing class
1045 | /// Source provided by CoreML
1046 | private let provider: MLFeatureProvider
:
1094 | return nil
1095 | }
1096 | return MLShapedArray<Float16>(alignment_heads_weights)
| |- warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
1097 | }
1098 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1096:37: warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
1042 |
1043 | /// Model Prediction Output Type
1044 | public class TextDecoderOutput: MLFeatureProvider {
| `- note: add @available attribute to enclosing class
1045 | /// Source provided by CoreML
1046 | private let provider: MLFeatureProvider
:
1094 | return nil
1095 | }
1096 | return MLShapedArray<Float16>(alignment_heads_weights)
| |- warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
1097 | }
1098 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1163:16: warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
1148 |
1149 | /// Model Prediction Output Type
1150 | public class TextDecoderCachePrefillOutput: MLFeatureProvider {
| `- note: add @available attribute to enclosing class
1151 | /// Source provided by CoreML
1152 | private let provider: MLFeatureProvider
:
1161 | @available(macCatalyst, unavailable)
1162 | public var key_cache_prefillShapedArray: MLShapedArray<Float16> {
1163 | return MLShapedArray<Float16>(self.key_cache_prefill)
| |- warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
1164 | }
1165 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1163:37: warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
1148 |
1149 | /// Model Prediction Output Type
1150 | public class TextDecoderCachePrefillOutput: MLFeatureProvider {
| `- note: add @available attribute to enclosing class
1151 | /// Source provided by CoreML
1152 | private let provider: MLFeatureProvider
:
1161 | @available(macCatalyst, unavailable)
1162 | public var key_cache_prefillShapedArray: MLShapedArray<Float16> {
1163 | return MLShapedArray<Float16>(self.key_cache_prefill)
| |- warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
1164 | }
1165 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1175:16: warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
1148 |
1149 | /// Model Prediction Output Type
1150 | public class TextDecoderCachePrefillOutput: MLFeatureProvider {
| `- note: add @available attribute to enclosing class
1151 | /// Source provided by CoreML
1152 | private let provider: MLFeatureProvider
:
1173 | @available(macCatalyst, unavailable)
1174 | public var value_cache_prefillShapedArray: MLShapedArray<Float16> {
1175 | return MLShapedArray<Float16>(self.value_cache_prefill)
| |- warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
1176 | }
1177 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1175:37: warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
1148 |
1149 | /// Model Prediction Output Type
1150 | public class TextDecoderCachePrefillOutput: MLFeatureProvider {
| `- note: add @available attribute to enclosing class
1151 | /// Source provided by CoreML
1152 | private let provider: MLFeatureProvider
:
1173 | @available(macCatalyst, unavailable)
1174 | public var value_cache_prefillShapedArray: MLShapedArray<Float16> {
1175 | return MLShapedArray<Float16>(self.value_cache_prefill)
| |- warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
1176 | }
1177 |
[333/351] Compiling TTSKit Qwen3Embedders.swift
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:893:16: warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
878 |
879 | /// Model Prediction Output Type
880 | public class MelSpectrogramOutput: MLFeatureProvider {
| `- note: add @available attribute to enclosing class
881 | /// Source provided by CoreML
882 | private let provider: MLFeatureProvider
:
891 | @available(macCatalyst, unavailable)
892 | public var melspectrogram_featuresShapedArray: MLShapedArray<Float16> {
893 | return MLShapedArray<Float16>(self.melspectrogramFeatures)
| |- warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
894 | }
895 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:893:37: warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
878 |
879 | /// Model Prediction Output Type
880 | public class MelSpectrogramOutput: MLFeatureProvider {
| `- note: add @available attribute to enclosing class
881 | /// Source provided by CoreML
882 | private let provider: MLFeatureProvider
:
891 | @available(macCatalyst, unavailable)
892 | public var melspectrogram_featuresShapedArray: MLShapedArray<Float16> {
893 | return MLShapedArray<Float16>(self.melspectrogramFeatures)
| |- warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
894 | }
895 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:954:16: warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
939 |
940 | /// Model Prediction Output Type
941 | public class AudioEncoderOutput: MLFeatureProvider {
| `- note: add @available attribute to enclosing class
942 | /// Source provided by CoreML
943 | private let provider: MLFeatureProvider
:
952 | @available(macCatalyst, unavailable)
953 | public var encoder_output_embedsShapedArray: MLShapedArray<Float16> {
954 | return MLShapedArray<Float16>(self.encoder_output_embeds)
| |- warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
955 | }
956 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:954:37: warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
939 |
940 | /// Model Prediction Output Type
941 | public class AudioEncoderOutput: MLFeatureProvider {
| `- note: add @available attribute to enclosing class
942 | /// Source provided by CoreML
943 | private let provider: MLFeatureProvider
:
952 | @available(macCatalyst, unavailable)
953 | public var encoder_output_embedsShapedArray: MLShapedArray<Float16> {
954 | return MLShapedArray<Float16>(self.encoder_output_embeds)
| |- warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
955 | }
956 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1057:16: warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
1042 |
1043 | /// Model Prediction Output Type
1044 | public class TextDecoderOutput: MLFeatureProvider {
| `- note: add @available attribute to enclosing class
1045 | /// Source provided by CoreML
1046 | private let provider: MLFeatureProvider
:
1055 | @available(macCatalyst, unavailable)
1056 | public var logitsShapedArray: MLShapedArray<Float16> {
1057 | return MLShapedArray<Float16>(self.logits)
| |- warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
1058 | }
1059 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1057:37: warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
1042 |
1043 | /// Model Prediction Output Type
1044 | public class TextDecoderOutput: MLFeatureProvider {
| `- note: add @available attribute to enclosing class
1045 | /// Source provided by CoreML
1046 | private let provider: MLFeatureProvider
:
1055 | @available(macCatalyst, unavailable)
1056 | public var logitsShapedArray: MLShapedArray<Float16> {
1057 | return MLShapedArray<Float16>(self.logits)
| |- warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
1058 | }
1059 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1069:16: warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
1042 |
1043 | /// Model Prediction Output Type
1044 | public class TextDecoderOutput: MLFeatureProvider {
| `- note: add @available attribute to enclosing class
1045 | /// Source provided by CoreML
1046 | private let provider: MLFeatureProvider
:
1067 | @available(macCatalyst, unavailable)
1068 | public var key_cache_updatesShapedArray: MLShapedArray<Float16> {
1069 | return MLShapedArray<Float16>(self.key_cache_updates)
| |- warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
1070 | }
1071 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1069:37: warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
1042 |
1043 | /// Model Prediction Output Type
1044 | public class TextDecoderOutput: MLFeatureProvider {
| `- note: add @available attribute to enclosing class
1045 | /// Source provided by CoreML
1046 | private let provider: MLFeatureProvider
:
1067 | @available(macCatalyst, unavailable)
1068 | public var key_cache_updatesShapedArray: MLShapedArray<Float16> {
1069 | return MLShapedArray<Float16>(self.key_cache_updates)
| |- warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
1070 | }
1071 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1081:16: warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
1042 |
1043 | /// Model Prediction Output Type
1044 | public class TextDecoderOutput: MLFeatureProvider {
| `- note: add @available attribute to enclosing class
1045 | /// Source provided by CoreML
1046 | private let provider: MLFeatureProvider
:
1079 | @available(macCatalyst, unavailable)
1080 | public var value_cache_updatesShapedArray: MLShapedArray<Float16> {
1081 | return MLShapedArray<Float16>(self.value_cache_updates)
| |- warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
1082 | }
1083 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1081:37: warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
1042 |
1043 | /// Model Prediction Output Type
1044 | public class TextDecoderOutput: MLFeatureProvider {
| `- note: add @available attribute to enclosing class
1045 | /// Source provided by CoreML
1046 | private let provider: MLFeatureProvider
:
1079 | @available(macCatalyst, unavailable)
1080 | public var value_cache_updatesShapedArray: MLShapedArray<Float16> {
1081 | return MLShapedArray<Float16>(self.value_cache_updates)
| |- warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
1082 | }
1083 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1096:16: warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
1042 |
1043 | /// Model Prediction Output Type
1044 | public class TextDecoderOutput: MLFeatureProvider {
| `- note: add @available attribute to enclosing class
1045 | /// Source provided by CoreML
1046 | private let provider: MLFeatureProvider
:
1094 | return nil
1095 | }
1096 | return MLShapedArray<Float16>(alignment_heads_weights)
| |- warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
1097 | }
1098 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1096:37: warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
1042 |
1043 | /// Model Prediction Output Type
1044 | public class TextDecoderOutput: MLFeatureProvider {
| `- note: add @available attribute to enclosing class
1045 | /// Source provided by CoreML
1046 | private let provider: MLFeatureProvider
:
1094 | return nil
1095 | }
1096 | return MLShapedArray<Float16>(alignment_heads_weights)
| |- warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
1097 | }
1098 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1163:16: warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
1148 |
1149 | /// Model Prediction Output Type
1150 | public class TextDecoderCachePrefillOutput: MLFeatureProvider {
| `- note: add @available attribute to enclosing class
1151 | /// Source provided by CoreML
1152 | private let provider: MLFeatureProvider
:
1161 | @available(macCatalyst, unavailable)
1162 | public var key_cache_prefillShapedArray: MLShapedArray<Float16> {
1163 | return MLShapedArray<Float16>(self.key_cache_prefill)
| |- warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
1164 | }
1165 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1163:37: warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
1148 |
1149 | /// Model Prediction Output Type
1150 | public class TextDecoderCachePrefillOutput: MLFeatureProvider {
| `- note: add @available attribute to enclosing class
1151 | /// Source provided by CoreML
1152 | private let provider: MLFeatureProvider
:
1161 | @available(macCatalyst, unavailable)
1162 | public var key_cache_prefillShapedArray: MLShapedArray<Float16> {
1163 | return MLShapedArray<Float16>(self.key_cache_prefill)
| |- warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
1164 | }
1165 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1175:16: warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
1148 |
1149 | /// Model Prediction Output Type
1150 | public class TextDecoderCachePrefillOutput: MLFeatureProvider {
| `- note: add @available attribute to enclosing class
1151 | /// Source provided by CoreML
1152 | private let provider: MLFeatureProvider
:
1173 | @available(macCatalyst, unavailable)
1174 | public var value_cache_prefillShapedArray: MLShapedArray<Float16> {
1175 | return MLShapedArray<Float16>(self.value_cache_prefill)
| |- warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
1176 | }
1177 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1175:37: warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
1148 |
1149 | /// Model Prediction Output Type
1150 | public class TextDecoderCachePrefillOutput: MLFeatureProvider {
| `- note: add @available attribute to enclosing class
1151 | /// Source provided by CoreML
1152 | private let provider: MLFeatureProvider
:
1173 | @available(macCatalyst, unavailable)
1174 | public var value_cache_prefillShapedArray: MLShapedArray<Float16> {
1175 | return MLShapedArray<Float16>(self.value_cache_prefill)
| |- warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
1176 | }
1177 |
[336/369] Compiling SpeakerKit PyannoteConfig.swift
[337/369] Compiling SpeakerKit PyannoteDiarizer.swift
[338/369] Compiling SpeakerKit SpeakerEmbedderModel.swift
[339/369] Compiling SpeakerKit SpeakerPreEmbedderModel.swift
[340/369] Compiling SpeakerKit SpeakerSegmenterModel.swift
[341/369] Compiling SpeakerKit VBxClustering.swift
[342/369] Compiling SpeakerKit ClusteringAlgorithms.swift
[343/369] Compiling SpeakerKit MathOps.swift
[344/369] Compiling SpeakerKit RTTMLine.swift
[345/369] Compiling SpeakerKit SpeakerInfo.swift
[346/369] Compiling SpeakerKit SpeakerKit.swift
[347/369] Compiling SpeakerKit SpeakerKitConfig.swift
[348/369] Emitting module TTSKit
[351/369] Compiling SpeakerKit SpeakerKitDiarizer.swift
/Users/admin/builder/spi-builder-workspace/Sources/SpeakerKit/Pyannote/SpeakerSegmenterModel.swift:170:27: warning: task-isolated value of type '() async -> Void' passed as a strongly transferred parameter; later accesses could race; this is an error in the Swift 6 language mode
168 | let chunkStride = Int(Float(maxChunkLength - chunkStrideOffset) / sampleRateFloat)
169 | for workerID in 0..<workerCount {
170 | taskGroup.addTask { [model] in
| `- warning: task-isolated value of type '() async -> Void' passed as a strongly transferred parameter; later accesses could race; this is an error in the Swift 6 language mode
171 | for await chunk in chunkStream {
172 | guard !Task.isCancelled else { break }
/Users/admin/builder/spi-builder-workspace/Sources/SpeakerKit/Pyannote/SpeakerSegmenterModel.swift:170:27: warning: task-isolated value of type '() async -> Void' passed as a strongly transferred parameter; later accesses could race; this is an error in the Swift 6 language mode
168 | let chunkStride = Int(Float(maxChunkLength - chunkStrideOffset) / sampleRateFloat)
169 | for workerID in 0..<workerCount {
170 | taskGroup.addTask { [model] in
| `- warning: task-isolated value of type '() async -> Void' passed as a strongly transferred parameter; later accesses could race; this is an error in the Swift 6 language mode
171 | for await chunk in chunkStream {
172 | guard !Task.isCancelled else { break }
[358/370] Compiling SpeakerKit PyannoteModelManager.swift
[359/370] Compiling SpeakerKit SpeakerClustering.swift
[362/370] Compiling SpeakerKit SpeakerSegment.swift
[363/370] Emitting module SpeakerKit
[366/370] Compiling SpeakerKit DiarizationResult.swift
[367/370] Compiling SpeakerKit Diarizer.swift
[368/378] Compiling WhisperKitCLI TranscribeCLIArguments.swift
[369/378] Compiling WhisperKitCLI WhisperKitCLI.swift
[370/378] Compiling WhisperKitCLI TranscribeCLIUtils.swift
[371/378] Compiling WhisperKitCLI TTSCLI.swift
[372/378] Compiling WhisperKitCLI DiarizeCLI.swift
[373/378] Compiling WhisperKitCLI CLIUtils.swift
[374/378] Emitting module WhisperKitCLI
[375/378] Compiling WhisperKitCLI TranscribeCLI.swift
[375/378] Write Objects.LinkFileList
[376/378] Linking whisperkit-cli
[377/378] Applying whisperkit-cli
Build complete! (46.09s)
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/huggingface/swift-transformers.git
[1/6236] Fetching swift-transformers
[438/23765] Fetching swift-transformers, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.45s)
Fetched https://github.com/huggingface/swift-transformers.git from cache (1.45s)
Computing version for https://github.com/huggingface/swift-transformers.git
Computed https://github.com/huggingface/swift-transformers.git at 1.1.9 (0.47s)
Fetching https://github.com/huggingface/swift-jinja.git
Fetching https://github.com/ibireme/yyjson.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-crypto.git
[1/1051] Fetching swift-jinja
[12/24620] Fetching swift-jinja, swift-collections
[374/29063] Fetching swift-jinja, swift-collections, yyjson
[1660/46479] Fetching swift-jinja, swift-collections, yyjson, swift-crypto
Fetched https://github.com/huggingface/swift-jinja.git from cache (1.49s)
[21331/45428] Fetching swift-collections, yyjson, swift-crypto
Fetched https://github.com/ibireme/yyjson.git from cache (3.06s)
Fetched https://github.com/apple/swift-crypto.git from cache (3.06s)
Fetched https://github.com/apple/swift-collections.git from cache (3.06s)
Computing version for https://github.com/ibireme/yyjson.git
Computed https://github.com/ibireme/yyjson.git at 0.12.0 (0.55s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.7.1 (0.47s)
Computing version for https://github.com/huggingface/swift-jinja.git
Computed https://github.com/huggingface/swift-jinja.git at 2.3.5 (0.45s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (0.57s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.3.1 (2.87s)
Fetching https://github.com/apple/swift-asn1.git
[1/1803] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.87s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.6.0 (0.54s)
Creating working copy for https://github.com/huggingface/swift-transformers.git
Working copy of https://github.com/huggingface/swift-transformers.git resolved at 1.1.9
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.7.1
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 4.3.1
Creating working copy for https://github.com/ibireme/yyjson.git
Working copy of https://github.com/ibireme/yyjson.git resolved at 0.12.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.4.1
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.6.0
Creating working copy for https://github.com/huggingface/swift-jinja.git
Working copy of https://github.com/huggingface/swift-jinja.git resolved at 2.3.5
Build complete.
{
"dependencies" : [
{
"identity" : "swift-transformers",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.6",
"upper_bound" : "1.2.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/huggingface/swift-transformers.git"
},
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.3.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser.git"
}
],
"manifest_display_name" : "whisperkit",
"name" : "whisperkit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "16.0"
},
{
"name" : "macos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "10.0"
},
{
"name" : "visionos",
"version" : "1.0"
}
],
"products" : [
{
"name" : "WhisperKit",
"targets" : [
"WhisperKit"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "TTSKit",
"targets" : [
"TTSKit"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SpeakerKit",
"targets" : [
"SpeakerKit"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "whisperkit-cli",
"targets" : [
"WhisperKitCLI"
],
"type" : {
"executable" : null
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "WhisperKitTests",
"module_type" : "SwiftTarget",
"name" : "WhisperKitTests",
"path" : "Tests/WhisperKitTests",
"product_dependencies" : [
"Hub",
"Tokenizers"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/WhisperKitTests/Resources/8_Channel_ID.m4a",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/WhisperKitTests/Resources/config-v02.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/WhisperKitTests/Resources/config-v03.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/WhisperKitTests/Resources/config-v04.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/WhisperKitTests/Resources/es_test_clip.wav",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/WhisperKitTests/Resources/ja_test_clip.wav",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/WhisperKitTests/Resources/jfk.wav",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/WhisperKitTests/Resources/jfk_441khz.m4a",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/WhisperKitTests/Resources/ted_60.m4a",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"Evaluate/DistanceCalculation.swift",
"Evaluate/NormalizeEn.swift",
"Evaluate/SpellingMapping.swift",
"Evaluate/WERUtils.swift",
"FunctionalTests.swift",
"RegressionTestUtils.swift",
"RegressionTests.swift",
"TestUtils.swift",
"UnitTests.swift"
],
"target_dependencies" : [
"WhisperKit"
],
"type" : "test"
},
{
"c99name" : "WhisperKitCLI",
"module_type" : "SwiftTarget",
"name" : "WhisperKitCLI",
"path" : "Sources/WhisperKitCLI",
"product_dependencies" : [
"ArgumentParser"
],
"product_memberships" : [
"whisperkit-cli"
],
"sources" : [
"CLIUtils.swift",
"DiarizeCLI.swift",
"TTSCLI.swift",
"TranscribeCLI.swift",
"TranscribeCLIArguments.swift",
"TranscribeCLIUtils.swift",
"WhisperKitCLI.swift"
],
"target_dependencies" : [
"WhisperKit",
"TTSKit",
"SpeakerKit"
],
"type" : "executable"
},
{
"c99name" : "WhisperKit",
"module_type" : "SwiftTarget",
"name" : "WhisperKit",
"path" : "Sources/WhisperKit",
"product_dependencies" : [
"Hub",
"Tokenizers"
],
"product_memberships" : [
"WhisperKit",
"SpeakerKit",
"whisperkit-cli"
],
"sources" : [
"Core/Audio/AudioChunker.swift",
"Core/Audio/AudioProcessor.swift",
"Core/Audio/AudioStreamTranscriber.swift",
"Core/Audio/EnergyVAD.swift",
"Core/Audio/VoiceActivityDetector.swift",
"Core/AudioEncoder.swift",
"Core/Configurations.swift",
"Core/FeatureExtractor.swift",
"Core/Models.swift",
"Core/Text/LogitsFilter.swift",
"Core/Text/SegmentSeeker.swift",
"Core/Text/TokenSampler.swift",
"Core/TextDecoder.swift",
"Core/TranscribeTask.swift",
"Core/WhisperKit.swift",
"Utilities/Concurrency.swift",
"Utilities/Extensions+Internal.swift",
"Utilities/Extensions+Public.swift",
"Utilities/Logging.swift",
"Utilities/ModelUtilities.swift",
"Utilities/ResultWriter.swift",
"Utilities/TextUtilities.swift",
"Utilities/TranscriptionUtilities.swift",
"Utilities/WhisperError.swift"
],
"target_dependencies" : [
"ArgmaxCore"
],
"type" : "library"
},
{
"c99name" : "TTSKitTests",
"module_type" : "SwiftTarget",
"name" : "TTSKitTests",
"path" : "Tests/TTSKitTests",
"sources" : [
"TTSKitIntegrationTests.swift",
"TTSKitUnitTests.swift"
],
"target_dependencies" : [
"TTSKit"
],
"type" : "test"
},
{
"c99name" : "TTSKit",
"module_type" : "SwiftTarget",
"name" : "TTSKit",
"path" : "Sources/TTSKit",
"product_dependencies" : [
"Tokenizers",
"Hub"
],
"product_memberships" : [
"TTSKit",
"whisperkit-cli"
],
"sources" : [
"Configurations.swift",
"Generating.swift",
"Models.swift",
"Protocols.swift",
"Qwen3TTS/Qwen3CodeDecoder.swift",
"Qwen3TTS/Qwen3Config.swift",
"Qwen3TTS/Qwen3Embedders.swift",
"Qwen3TTS/Qwen3GenerateTask.swift",
"Qwen3TTS/Qwen3Models.swift",
"Qwen3TTS/Qwen3MultiCodeDecoder.swift",
"Qwen3TTS/Qwen3SpeechDecoder.swift",
"Qwen3TTS/Qwen3TextProjector.swift",
"TTSKit.swift",
"Utilities/AudioOutput.swift",
"Utilities/EmbedTypes.swift",
"Utilities/KVCache.swift",
"Utilities/PromptCache.swift",
"Utilities/Sampling.swift",
"Utilities/TTSError.swift",
"Utilities/TextChunker.swift"
],
"target_dependencies" : [
"ArgmaxCore"
],
"type" : "library"
},
{
"c99name" : "SpeakerKitTests",
"module_type" : "SwiftTarget",
"name" : "SpeakerKitTests",
"path" : "Tests/SpeakerKitTests",
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/SpeakerKitTests/Resources/VADAudio.wav",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/SpeakerKitTests/Resources/jfk.wav",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"ClusterAlgorithmsTests.swift",
"DiarizationResultTests.swift",
"DiarizerPostProcessingTests.swift",
"ExclusiveReconciliationTests.swift",
"MathOpsTests.swift",
"PyannoteIntegrationTests.swift",
"RTTMLineTests.swift",
"SpeakerEmbedderContextTests.swift"
],
"target_dependencies" : [
"SpeakerKit",
"WhisperKit"
],
"type" : "test"
},
{
"c99name" : "SpeakerKit",
"module_type" : "SwiftTarget",
"name" : "SpeakerKit",
"path" : "Sources/SpeakerKit",
"product_dependencies" : [
"Hub"
],
"product_memberships" : [
"SpeakerKit",
"whisperkit-cli"
],
"sources" : [
"DiarizationResult.swift",
"Diarizer.swift",
"Pyannote/ClusteringAlgorithms.swift",
"Pyannote/MathOps.swift",
"Pyannote/PyannoteConfig.swift",
"Pyannote/PyannoteDiarizer.swift",
"Pyannote/PyannoteModelManager.swift",
"Pyannote/SpeakerClustering.swift",
"Pyannote/SpeakerEmbedderModel.swift",
"Pyannote/SpeakerPreEmbedderModel.swift",
"Pyannote/SpeakerSegmenterModel.swift",
"Pyannote/VBxClustering.swift",
"RTTMLine.swift",
"SpeakerInfo.swift",
"SpeakerKit.swift",
"SpeakerKitConfig.swift",
"SpeakerKitDiarizer.swift",
"SpeakerSegment.swift"
],
"target_dependencies" : [
"ArgmaxCore",
"WhisperKit"
],
"type" : "library"
},
{
"c99name" : "ArgmaxCore",
"module_type" : "SwiftTarget",
"name" : "ArgmaxCore",
"path" : "Sources/ArgmaxCore",
"product_dependencies" : [
"Hub"
],
"product_memberships" : [
"WhisperKit",
"TTSKit",
"SpeakerKit",
"whisperkit-cli"
],
"sources" : [
"ArgmaxCoreError.swift",
"ConcurrencyUtilities.swift",
"FloatType.swift",
"FoundationExtensions.swift",
"Logging.swift",
"MLModelExtensions.swift",
"MLModelLoading.swift",
"MLMultiArrayExtensions.swift",
"MLTensorExtensions.swift",
"ModelDownloader.swift",
"ModelManager.swift",
"ModelState.swift",
"ModelUtilities.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.