The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of whisperkit, reference main (cd1684), with Swift 6.1 for macOS (SPM) on 1 May 2025 09:50:02 UTC.

Swift 6 data race errors: 4

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 4.61.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/argmaxinc/whisperkit.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/argmaxinc/whisperkit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at cd16844 Fix modelSupport where prefix overlaps with different hardware chips (#326)
Cloned https://github.com/argmaxinc/whisperkit.git
Revision (git rev-parse @):
cd16844c270b7e78bf21d24b1d9ff7bc88e904e4
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/argmaxinc/whisperkit.git at main
Fetching https://github.com/huggingface/swift-transformers.git
Fetching https://github.com/apple/swift-argument-parser.git from cache
[1/3139] Fetching swift-transformers
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.74s)
Fetched https://github.com/huggingface/swift-transformers.git from cache (1.20s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.3.0 (1.77s)
Computing version for https://github.com/huggingface/swift-transformers.git
Computed https://github.com/huggingface/swift-transformers.git at 0.1.8 (0.48s)
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.3.0
Creating working copy for https://github.com/huggingface/swift-transformers.git
Working copy of https://github.com/huggingface/swift-transformers.git resolved at 0.1.8
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "whisperkit",
      "name": "whisperkit",
      "url": "https://github.com/argmaxinc/whisperkit.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/whisperkit",
      "dependencies": [
        {
          "identity": "swift-transformers",
          "name": "swift-transformers",
          "url": "https://github.com/huggingface/swift-transformers.git",
          "version": "0.1.15",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-transformers",
          "dependencies": [
            {
              "identity": "swift-argument-parser",
              "name": "swift-argument-parser",
              "url": "https://github.com/apple/swift-argument-parser.git",
              "version": "1.5.0",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-argument-parser",
              "dependencies": [
              ]
            },
            {
              "identity": "jinja",
              "name": "Jinja",
              "url": "https://github.com/johnmai-dev/Jinja",
              "version": "1.1.2",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Jinja",
              "dependencies": [
                {
                  "identity": "swift-collections",
                  "name": "swift-collections",
                  "url": "https://github.com/apple/swift-collections.git",
                  "version": "1.1.4",
                  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-collections",
                  "dependencies": [
                  ]
                }
              ]
            }
          ]
        },
        {
          "identity": "swift-argument-parser",
          "name": "swift-argument-parser",
          "url": "https://github.com/apple/swift-argument-parser.git",
          "version": "1.5.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-argument-parser",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/argmaxinc/whisperkit.git
[1/6102] Fetching whisperkit
Fetched https://github.com/argmaxinc/whisperkit.git from cache (1.67s)
Fetching https://github.com/huggingface/swift-transformers.git from cache
Fetching https://github.com/apple/swift-argument-parser.git from cache
Fetched https://github.com/huggingface/swift-transformers.git from cache (0.57s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.57s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.0 (0.64s)
Computing version for https://github.com/huggingface/swift-transformers.git
Computed https://github.com/huggingface/swift-transformers.git at 0.1.15 (0.47s)
Fetching https://github.com/johnmai-dev/Jinja
[1/366] Fetching jinja
Fetched https://github.com/johnmai-dev/Jinja from cache (0.69s)
Computing version for https://github.com/johnmai-dev/Jinja
Computed https://github.com/johnmai-dev/Jinja at 1.1.2 (1.18s)
Fetching https://github.com/apple/swift-collections.git from cache
Fetched https://github.com/apple/swift-collections.git from cache (0.87s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (1.91s)
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.5.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.1.4
Creating working copy for https://github.com/argmaxinc/whisperkit.git
Working copy of https://github.com/argmaxinc/whisperkit.git resolved at main (cd16844)
Creating working copy for https://github.com/johnmai-dev/Jinja
Working copy of https://github.com/johnmai-dev/Jinja resolved at 1.1.2
Creating working copy for https://github.com/huggingface/swift-transformers.git
Working copy of https://github.com/huggingface/swift-transformers.git resolved at 0.1.15
Found 2 product dependencies
  - swift-transformers
  - swift-argument-parser
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/argmaxinc/whisperkit.git
https://github.com/argmaxinc/whisperkit.git
{
  "dependencies" : [
    {
      "identity" : "swift-transformers",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.1.8",
            "upper_bound" : "0.2.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/huggingface/swift-transformers.git"
    },
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.3.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser.git"
    }
  ],
  "manifest_display_name" : "whisperkit",
  "name" : "whisperkit",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "macos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "WhisperKit",
      "targets" : [
        "WhisperKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "whisperkit-cli",
      "targets" : [
        "WhisperKitCLI"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "WhisperKitTests",
      "module_type" : "SwiftTarget",
      "name" : "WhisperKitTests",
      "path" : ".",
      "product_dependencies" : [
        "Transformers"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/WhisperKitTests/Resources/8_Channel_ID.m4a",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/WhisperKitTests/Resources/config-v02.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/WhisperKitTests/Resources/config-v03.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/WhisperKitTests/Resources/es_test_clip.wav",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/WhisperKitTests/Resources/ja_test_clip.wav",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/WhisperKitTests/Resources/jfk.wav",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/WhisperKitTests/Resources/jfk_441khz.m4a",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/WhisperKitTests/Resources/ted_60.m4a",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "Tests/WhisperKitTests/Evaluate/DistanceCalculation.swift",
        "Tests/WhisperKitTests/Evaluate/NormalizeEn.swift",
        "Tests/WhisperKitTests/Evaluate/SpellingMapping.swift",
        "Tests/WhisperKitTests/Evaluate/WERUtils.swift",
        "Tests/WhisperKitTests/FunctionalTests.swift",
        "Tests/WhisperKitTests/RegressionTestUtils.swift",
        "Tests/WhisperKitTests/RegressionTests.swift",
        "Tests/WhisperKitTests/TestUtils.swift",
        "Tests/WhisperKitTests/UnitTests.swift"
      ],
      "target_dependencies" : [
        "WhisperKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "WhisperKitCLI",
      "module_type" : "SwiftTarget",
      "name" : "WhisperKitCLI",
      "path" : "Sources/WhisperKitCLI",
      "product_dependencies" : [
        "ArgumentParser"
      ],
      "product_memberships" : [
        "whisperkit-cli"
      ],
      "sources" : [
        "CLIArguments.swift",
        "CLIUtils.swift",
        "TranscribeCLI.swift",
        "WhisperKitCLI.swift"
      ],
      "target_dependencies" : [
        "WhisperKit"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "WhisperKit",
      "module_type" : "SwiftTarget",
      "name" : "WhisperKit",
      "path" : "Sources/WhisperKit",
      "product_dependencies" : [
        "Transformers"
      ],
      "product_memberships" : [
        "WhisperKit",
        "whisperkit-cli"
      ],
      "sources" : [
        "Core/Audio/AudioChunker.swift",
        "Core/Audio/AudioProcessor.swift",
        "Core/Audio/AudioStreamTranscriber.swift",
        "Core/Audio/EnergyVAD.swift",
        "Core/Audio/VoiceActivityDetector.swift",
        "Core/AudioEncoder.swift",
        "Core/Configurations.swift",
        "Core/FeatureExtractor.swift",
        "Core/Models.swift",
        "Core/ResultWriter.swift",
        "Core/Text/LogitsFilter.swift",
        "Core/Text/SegmentSeeker.swift",
        "Core/Text/TokenSampler.swift",
        "Core/TextDecoder.swift",
        "Core/TranscribeTask.swift",
        "Core/Utils/Concurrency.swift",
        "Core/Utils/Utils.swift",
        "Core/WhisperKit.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
warning: 'spi-builder-workspace': Invalid Resource 'Models/whisperkit-coreml': File not found.
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/17] Write sources
[4/17] Write whisperkit-cli-entitlement.plist
[4/17] Copying gpt2_tokenizer_config.json
[4/17] Write sources
[11/17] Copying t5_tokenizer_config.json
[12/17] Write sources
[13/17] Write swift-version-2F0A5646E1D333AE.txt
[15/34] Compiling ArgumentParserToolInfo ToolInfo.swift
[16/34] Emitting module ArgumentParserToolInfo
[17/72] Emitting module ArgumentParser
[18/76] Compiling ArgumentParser AsyncParsableCommand.swift
[19/76] Compiling ArgumentParser CommandConfiguration.swift
[20/76] Compiling ArgumentParser EnumerableFlag.swift
[21/76] Compiling ArgumentParser ExpressibleByArgument.swift
[22/76] Compiling ArgumentParser InputOrigin.swift
[23/76] Compiling ArgumentParser Name.swift
[24/76] Compiling ArgumentParser Parsed.swift
[25/76] Compiling ArgumentParser ParsedValues.swift
[26/76] Compiling ArgumentParser Flag.swift
[27/76] Compiling ArgumentParser NameSpecification.swift
[28/76] Compiling ArgumentParser Option.swift
[29/76] Compiling ArgumentParser OptionGroup.swift
[30/76] Compiling ArgumentParser ArgumentHelp.swift
[31/76] Compiling ArgumentParser ArgumentVisibility.swift
[32/76] Compiling ArgumentParser CompletionKind.swift
[33/76] Compiling ArgumentParser Errors.swift
[34/76] Compiling ArgumentParser ArgumentDefinition.swift
[35/76] Compiling ArgumentParser ArgumentSet.swift
[36/76] Compiling ArgumentParser CommandParser.swift
[37/76] Compiling ArgumentParser InputKey.swift
[38/76] Compiling ArgumentParser ParsableArguments.swift
[39/76] Compiling ArgumentParser ParsableArgumentsValidation.swift
[40/76] Compiling ArgumentParser ParsableCommand.swift
[41/76] Compiling ArgumentParser ArgumentDecoder.swift
[42/76] Compiling ArgumentParser Platform.swift
[43/76] Compiling ArgumentParser SequenceExtensions.swift
[44/76] Compiling ArgumentParser StringExtensions.swift
[45/76] Compiling ArgumentParser Tree.swift
[46/76] Compiling Hub resource_bundle_accessor.swift
[47/76] Compiling Hub Downloader.swift
[48/76] Compiling Hub Hub.swift
[49/76] Compiling Hub HubApi.swift
[50/76] Emitting module Hub
[51/76] Compiling ArgumentParser BashCompletionsGenerator.swift
[52/76] Compiling ArgumentParser CompletionsGenerator.swift
[53/76] Compiling ArgumentParser FishCompletionsGenerator.swift
[54/76] Compiling ArgumentParser ZshCompletionsGenerator.swift
[55/76] Compiling ArgumentParser Argument.swift
[56/76] Compiling ArgumentParser ParserError.swift
[57/76] Compiling ArgumentParser SplitArguments.swift
[58/76] Compiling ArgumentParser DumpHelpGenerator.swift
[59/76] Compiling ArgumentParser HelpCommand.swift
[60/76] Compiling ArgumentParser HelpGenerator.swift
[61/76] Compiling ArgumentParser MessageInfo.swift
[62/76] Compiling ArgumentParser UsageGenerator.swift
[63/76] Compiling ArgumentParser CollectionExtensions.swift
[64/88] Compiling Tokenizers UnigramTokenizer.swift
[65/88] Compiling Tokenizers Trie.swift
[66/89] Compiling Tokenizers Tokenizer.swift
[67/89] Compiling Tokenizers PostProcessor.swift
[68/89] Compiling Tokenizers PreTokenizer.swift
[69/89] Compiling Tokenizers TokenLattice.swift
[70/89] Compiling Tokenizers Normalizer.swift
[71/89] Emitting module Tokenizers
[72/89] Compiling Tokenizers BPETokenizer.swift
[73/89] Compiling Tokenizers BertTokenizer.swift
[74/89] Compiling Tokenizers ByteEncoder.swift
[75/89] Compiling Tokenizers Decoder.swift
[76/89] Compiling TensorUtils TemperatureLogitsWarper.swift
[77/89] Compiling TensorUtils LogitsWarper.swift
[78/89] Emitting module TensorUtils
[79/89] Compiling TensorUtils TopKLogitsWarper.swift
[80/89] Compiling TensorUtils MLShapedArray+Utils.swift
[81/89] Compiling TensorUtils TopPLogitsWarper.swift
[82/89] Compiling TensorUtils RepetitionPenaltyWarper.swift
[83/89] Compiling TensorUtils LogitsProcessor.swift
[84/89] Compiling TensorUtils Math.swift
[85/89] Compiling TensorUtils MLMultiArray+Utils.swift
[86/89] Compiling Tokenizers Utils.swift
[87/92] Compiling Generation GenerationConfig.swift
[88/92] Emitting module Generation
[89/92] Compiling Generation Generation.swift
[90/95] Compiling Models LanguageModelTypes.swift
[91/95] Emitting module Models
[92/95] Compiling Models LanguageModel.swift
[93/113] Compiling WhisperKit TranscribeTask.swift
[94/113] Compiling WhisperKit Concurrency.swift
[95/114] Compiling WhisperKit WhisperKit.swift
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/WhisperKit.swift:700:39: warning: type 'TranscriptionResult' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
698 |         for (batchIndex, audioArrayBatch) in batchedAudioArrays.enumerated() {
699 |             // Use withTaskGroup to manage concurrent transcription tasks
700 |             let partialResult = await withTaskGroup(of: [(index: Int, result: Result<[TranscriptionResult], Swift.Error>)].self) { taskGroup -> [Result<[TranscriptionResult], Swift.Error>] in
    |                                       `- warning: type 'TranscriptionResult' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
701 |                 for (audioIndex, audioArray) in audioArrayBatch.enumerated() {
702 |                     // Setup callback to keep track of batches and chunks
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:564:15: note: consider making struct 'TranscriptionResult' conform to the 'Sendable' protocol
 562 | // Structs
 563 |
 564 | public struct TranscriptionResult: Codable {
     |               `- note: consider making struct 'TranscriptionResult' conform to the 'Sendable' protocol
 565 |     public var text: String
 566 |     public var segments: [TranscriptionSegment]
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/WhisperKit.swift:700:130: warning: type 'TranscriptionResult' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
698 |         for (batchIndex, audioArrayBatch) in batchedAudioArrays.enumerated() {
699 |             // Use withTaskGroup to manage concurrent transcription tasks
700 |             let partialResult = await withTaskGroup(of: [(index: Int, result: Result<[TranscriptionResult], Swift.Error>)].self) { taskGroup -> [Result<[TranscriptionResult], Swift.Error>] in
    |                                                                                                                                  `- warning: type 'TranscriptionResult' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
701 |                 for (audioIndex, audioArray) in audioArrayBatch.enumerated() {
702 |                     // Setup callback to keep track of batches and chunks
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:564:15: note: consider making struct 'TranscriptionResult' conform to the 'Sendable' protocol
 562 | // Structs
 563 |
 564 | public struct TranscriptionResult: Codable {
     |               `- note: consider making struct 'TranscriptionResult' conform to the 'Sendable' protocol
 565 |     public var text: String
 566 |     public var segments: [TranscriptionSegment]
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/WhisperKit.swift:713:31: warning: type 'TranscriptionResult' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
711 |
712 |                     // Add a new task to the task group for each audio array
713 |                     taskGroup.addTask {
    |                               `- warning: type 'TranscriptionResult' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
714 |                         do {
715 |                             let transcribeResult: [TranscriptionResult] = try await self.transcribe(
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:564:15: note: consider making struct 'TranscriptionResult' conform to the 'Sendable' protocol
 562 | // Structs
 563 |
 564 | public struct TranscriptionResult: Codable {
     |               `- note: consider making struct 'TranscriptionResult' conform to the 'Sendable' protocol
 565 |     public var text: String
 566 |     public var segments: [TranscriptionSegment]
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/WhisperKit.swift:713:39: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
711 |
712 |                     // Add a new task to the task group for each audio array
713 |                     taskGroup.addTask {
    |                                       `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
714 |                         do {
715 |                             let transcribeResult: [TranscriptionResult] = try await self.transcribe(
    |                                                                                     `- note: closure captures 'self' which is accessible to code in the current task
716 |                                 audioArray: audioArray,
717 |                                 decodeOptions: batchedDecodeOptions,
[96/114] Compiling WhisperKit TokenSampler.swift
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/TokenSampler.swift:104:29: warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
102 |             let logitsDescriptor = BNNSNDArrayDescriptor(
103 |                 data: logitsRawPointer,
104 |                 scalarType: FloatType.self,
    |                             `- warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
105 |                 shape: .vector(logits.count, stride: 1)
106 |             )!
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:113:33: warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
111 |             if temperature != 0.0 {
112 |                 let scaledLogits = BNNSNDArrayDescriptor.allocateUninitialized(
113 |                     scalarType: FloatType.self,
    |                                 `- warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
114 |                     shape: .vector(logits.count, stride: 1)
115 |                 )
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:117:27: warning: 'applyActivation(activation:input:output:batchSize:filterParameters:)' is deprecated: Use the BNNSGraph API instead.
115 |                 )
116 |
117 |                 try! BNNS.applyActivation(
    |                           `- warning: 'applyActivation(activation:input:output:batchSize:filterParameters:)' is deprecated: Use the BNNSGraph API instead.
118 |                     activation: BNNS.ActivationFunction.linear(alpha: Float(1 / temperature)),
119 |                     input: logitsDescriptor,
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/TokenSampler.swift:118:38: warning: 'ActivationFunction' is deprecated: Use the BNNSGraph API instead.
116 |
117 |                 try! BNNS.applyActivation(
118 |                     activation: BNNS.ActivationFunction.linear(alpha: Float(1 / temperature)),
    |                                      `- warning: 'ActivationFunction' is deprecated: Use the BNNSGraph API instead.
119 |                     input: logitsDescriptor,
120 |                     output: scaledLogits,
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/TokenSampler.swift:134:22: warning: 'applyActivation(activation:input:output:batchSize:filterParameters:)' is deprecated: Use the BNNSGraph API instead.
132 |             )
133 |
134 |             try BNNS.applyActivation(
    |                      `- warning: 'applyActivation(activation:input:output:batchSize:filterParameters:)' is deprecated: Use the BNNSGraph API instead.
135 |                 activation: BNNS.ActivationFunction.softmax,
136 |                 input: softmaxInput!,
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/TokenSampler.swift:135:34: warning: 'ActivationFunction' is deprecated: Use the BNNSGraph API instead.
133 |
134 |             try BNNS.applyActivation(
135 |                 activation: BNNS.ActivationFunction.softmax,
    |                                  `- warning: 'ActivationFunction' is deprecated: Use the BNNSGraph API instead.
136 |                 input: softmaxInput!,
137 |                 output: softmaxOutput!,
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/TextDecoder.swift:331:47: warning: capture of 'keyTensorPointer' with non-sendable type 'UnsafeMutableRawBufferPointer' in a '@Sendable' closure
329 |                                 // `tensor[0, j, 0, k + index] = slice[0, j, 0, k + index]`
330 |                                 let keyDestIndex = j * keyTargetStrides[1] + (index + k) * keyTargetStrides[3]
331 |                                 let keyDest = keyTensorPointer.baseAddress! + keyDestIndex * bytesPerSample
    |                                               `- warning: capture of 'keyTensorPointer' with non-sendable type 'UnsafeMutableRawBufferPointer' in a '@Sendable' closure
332 |
333 |                                 let keySliceIndex = j * sliceStrides[1] + k * sliceStrides[3]
Swift.UnsafeMutableRawBufferPointer:1:23: note: struct 'UnsafeMutableRawBufferPointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutableRawBufferPointer {
  |                       `- note: struct 'UnsafeMutableRawBufferPointer' does not conform to the 'Sendable' protocol
2 |     @inlinable public init(start: UnsafeMutableRawPointer?, count: Int)
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/TextDecoder.swift:334:48: warning: capture of 'keySlicePointer' with non-sendable type 'UnsafeRawBufferPointer' in a '@Sendable' closure
332 |
333 |                                 let keySliceIndex = j * sliceStrides[1] + k * sliceStrides[3]
334 |                                 let keySlice = keySlicePointer.baseAddress! + keySliceIndex * bytesPerSample
    |                                                `- warning: capture of 'keySlicePointer' with non-sendable type 'UnsafeRawBufferPointer' in a '@Sendable' closure
335 |                                 memcpy(keyDest, keySlice, bytesPerSample)
336 |
Swift.UnsafeRawBufferPointer:1:23: note: struct 'UnsafeRawBufferPointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeRawBufferPointer {
  |                       `- note: struct 'UnsafeRawBufferPointer' does not conform to the 'Sendable' protocol
2 |     @inlinable public init(start: UnsafeRawPointer?, count: Int)
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/TextDecoder.swift:338:47: warning: capture of 'valueTensorPointer' with non-sendable type 'UnsafeMutableRawBufferPointer' in a '@Sendable' closure
336 |
337 |                                 let valDestIndex = j * valueTargetStrides[1] + (index + k) * valueTargetStrides[3]
338 |                                 let valDest = valueTensorPointer.baseAddress! + valDestIndex * bytesPerSample
    |                                               `- warning: capture of 'valueTensorPointer' with non-sendable type 'UnsafeMutableRawBufferPointer' in a '@Sendable' closure
339 |
340 |                                 let valSliceIndex = j * sliceStrides[1] + k * sliceStrides[3]
Swift.UnsafeMutableRawBufferPointer:1:23: note: struct 'UnsafeMutableRawBufferPointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutableRawBufferPointer {
  |                       `- note: struct 'UnsafeMutableRawBufferPointer' does not conform to the 'Sendable' protocol
2 |     @inlinable public init(start: UnsafeMutableRawPointer?, count: Int)
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/TextDecoder.swift:341:48: warning: capture of 'valueSlicePointer' with non-sendable type 'UnsafeRawBufferPointer' in a '@Sendable' closure
339 |
340 |                                 let valSliceIndex = j * sliceStrides[1] + k * sliceStrides[3]
341 |                                 let valSlice = valueSlicePointer.baseAddress! + valSliceIndex * bytesPerSample
    |                                                `- warning: capture of 'valueSlicePointer' with non-sendable type 'UnsafeRawBufferPointer' in a '@Sendable' closure
342 |                                 memcpy(valDest, valSlice, bytesPerSample)
343 |                             }
Swift.UnsafeRawBufferPointer:1:23: note: struct 'UnsafeRawBufferPointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeRawBufferPointer {
  |                       `- note: struct 'UnsafeRawBufferPointer' does not conform to the 'Sendable' protocol
2 |     @inlinable public init(start: UnsafeRawPointer?, count: Int)
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/TextDecoder.swift:842:51: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
840 |                 // Call the callback if it is provided on a background thread
841 |                 if let callback = callback {
842 |                     Task.detached(priority: .low) { [weak self] in
    |                                                   `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
843 |                         guard let self = self else { return }
    |                                          `- note: closure captures non-Sendable 'self'
844 |                         let shouldContinue = callback(result)
    |                                              |        `- note: closure captures non-Sendable 'result'
    |                                              `- note: closure captures non-Sendable 'callback'
845 |                         if let shouldContinue = shouldContinue, !shouldContinue, !isPrefill {
846 |                             Logging.debug("Early stopping")
[97/114] Compiling WhisperKit TextDecoder.swift
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/TokenSampler.swift:104:29: warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
102 |             let logitsDescriptor = BNNSNDArrayDescriptor(
103 |                 data: logitsRawPointer,
104 |                 scalarType: FloatType.self,
    |                             `- warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
105 |                 shape: .vector(logits.count, stride: 1)
106 |             )!
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:113:33: warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
111 |             if temperature != 0.0 {
112 |                 let scaledLogits = BNNSNDArrayDescriptor.allocateUninitialized(
113 |                     scalarType: FloatType.self,
    |                                 `- warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
114 |                     shape: .vector(logits.count, stride: 1)
115 |                 )
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:117:27: warning: 'applyActivation(activation:input:output:batchSize:filterParameters:)' is deprecated: Use the BNNSGraph API instead.
115 |                 )
116 |
117 |                 try! BNNS.applyActivation(
    |                           `- warning: 'applyActivation(activation:input:output:batchSize:filterParameters:)' is deprecated: Use the BNNSGraph API instead.
118 |                     activation: BNNS.ActivationFunction.linear(alpha: Float(1 / temperature)),
119 |                     input: logitsDescriptor,
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/TokenSampler.swift:118:38: warning: 'ActivationFunction' is deprecated: Use the BNNSGraph API instead.
116 |
117 |                 try! BNNS.applyActivation(
118 |                     activation: BNNS.ActivationFunction.linear(alpha: Float(1 / temperature)),
    |                                      `- warning: 'ActivationFunction' is deprecated: Use the BNNSGraph API instead.
119 |                     input: logitsDescriptor,
120 |                     output: scaledLogits,
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/TokenSampler.swift:134:22: warning: 'applyActivation(activation:input:output:batchSize:filterParameters:)' is deprecated: Use the BNNSGraph API instead.
132 |             )
133 |
134 |             try BNNS.applyActivation(
    |                      `- warning: 'applyActivation(activation:input:output:batchSize:filterParameters:)' is deprecated: Use the BNNSGraph API instead.
135 |                 activation: BNNS.ActivationFunction.softmax,
136 |                 input: softmaxInput!,
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/TokenSampler.swift:135:34: warning: 'ActivationFunction' is deprecated: Use the BNNSGraph API instead.
133 |
134 |             try BNNS.applyActivation(
135 |                 activation: BNNS.ActivationFunction.softmax,
    |                                  `- warning: 'ActivationFunction' is deprecated: Use the BNNSGraph API instead.
136 |                 input: softmaxInput!,
137 |                 output: softmaxOutput!,
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/TextDecoder.swift:331:47: warning: capture of 'keyTensorPointer' with non-sendable type 'UnsafeMutableRawBufferPointer' in a '@Sendable' closure
329 |                                 // `tensor[0, j, 0, k + index] = slice[0, j, 0, k + index]`
330 |                                 let keyDestIndex = j * keyTargetStrides[1] + (index + k) * keyTargetStrides[3]
331 |                                 let keyDest = keyTensorPointer.baseAddress! + keyDestIndex * bytesPerSample
    |                                               `- warning: capture of 'keyTensorPointer' with non-sendable type 'UnsafeMutableRawBufferPointer' in a '@Sendable' closure
332 |
333 |                                 let keySliceIndex = j * sliceStrides[1] + k * sliceStrides[3]
Swift.UnsafeMutableRawBufferPointer:1:23: note: struct 'UnsafeMutableRawBufferPointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutableRawBufferPointer {
  |                       `- note: struct 'UnsafeMutableRawBufferPointer' does not conform to the 'Sendable' protocol
2 |     @inlinable public init(start: UnsafeMutableRawPointer?, count: Int)
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/TextDecoder.swift:334:48: warning: capture of 'keySlicePointer' with non-sendable type 'UnsafeRawBufferPointer' in a '@Sendable' closure
332 |
333 |                                 let keySliceIndex = j * sliceStrides[1] + k * sliceStrides[3]
334 |                                 let keySlice = keySlicePointer.baseAddress! + keySliceIndex * bytesPerSample
    |                                                `- warning: capture of 'keySlicePointer' with non-sendable type 'UnsafeRawBufferPointer' in a '@Sendable' closure
335 |                                 memcpy(keyDest, keySlice, bytesPerSample)
336 |
Swift.UnsafeRawBufferPointer:1:23: note: struct 'UnsafeRawBufferPointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeRawBufferPointer {
  |                       `- note: struct 'UnsafeRawBufferPointer' does not conform to the 'Sendable' protocol
2 |     @inlinable public init(start: UnsafeRawPointer?, count: Int)
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/TextDecoder.swift:338:47: warning: capture of 'valueTensorPointer' with non-sendable type 'UnsafeMutableRawBufferPointer' in a '@Sendable' closure
336 |
337 |                                 let valDestIndex = j * valueTargetStrides[1] + (index + k) * valueTargetStrides[3]
338 |                                 let valDest = valueTensorPointer.baseAddress! + valDestIndex * bytesPerSample
    |                                               `- warning: capture of 'valueTensorPointer' with non-sendable type 'UnsafeMutableRawBufferPointer' in a '@Sendable' closure
339 |
340 |                                 let valSliceIndex = j * sliceStrides[1] + k * sliceStrides[3]
Swift.UnsafeMutableRawBufferPointer:1:23: note: struct 'UnsafeMutableRawBufferPointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutableRawBufferPointer {
  |                       `- note: struct 'UnsafeMutableRawBufferPointer' does not conform to the 'Sendable' protocol
2 |     @inlinable public init(start: UnsafeMutableRawPointer?, count: Int)
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/TextDecoder.swift:341:48: warning: capture of 'valueSlicePointer' with non-sendable type 'UnsafeRawBufferPointer' in a '@Sendable' closure
339 |
340 |                                 let valSliceIndex = j * sliceStrides[1] + k * sliceStrides[3]
341 |                                 let valSlice = valueSlicePointer.baseAddress! + valSliceIndex * bytesPerSample
    |                                                `- warning: capture of 'valueSlicePointer' with non-sendable type 'UnsafeRawBufferPointer' in a '@Sendable' closure
342 |                                 memcpy(valDest, valSlice, bytesPerSample)
343 |                             }
Swift.UnsafeRawBufferPointer:1:23: note: struct 'UnsafeRawBufferPointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeRawBufferPointer {
  |                       `- note: struct 'UnsafeRawBufferPointer' does not conform to the 'Sendable' protocol
2 |     @inlinable public init(start: UnsafeRawPointer?, count: Int)
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/TextDecoder.swift:842:51: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
840 |                 // Call the callback if it is provided on a background thread
841 |                 if let callback = callback {
842 |                     Task.detached(priority: .low) { [weak self] in
    |                                                   `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
843 |                         guard let self = self else { return }
    |                                          `- note: closure captures non-Sendable 'self'
844 |                         let shouldContinue = callback(result)
    |                                              |        `- note: closure captures non-Sendable 'result'
    |                                              `- note: closure captures non-Sendable 'callback'
845 |                         if let shouldContinue = shouldContinue, !shouldContinue, !isPrefill {
846 |                             Logging.debug("Early stopping")
[98/114] Compiling WhisperKit LogitsFilter.swift
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/LogitsFilter.swift:158:25: warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
156 |         guard let logprobsInputDescriptor = BNNSNDArrayDescriptor(
157 |             data: logprobsInputPointer,
158 |             scalarType: FloatType.self,
    |                         `- warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
159 |             shape: .vector(logits.count, stride: 1)
160 |         ) 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:166:25: warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
164 |
165 |         let logprobs = BNNSNDArrayDescriptor.allocateUninitialized(
166 |             scalarType: FloatType.self,
    |                         `- warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
167 |             shape: .vector(logits.count, stride: 1)
168 |         )
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:172:22: warning: 'applyActivation(activation:input:output:batchSize:filterParameters:)' is deprecated: Use the BNNSGraph API instead.
170 |
171 |         do {
172 |             try BNNS.applyActivation(
    |                      `- warning: 'applyActivation(activation:input:output:batchSize:filterParameters:)' is deprecated: Use the BNNSGraph API instead.
173 |                 activation: BNNS.ActivationFunction.logSoftmax,
174 |                 input: logprobsInputDescriptor,
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/LogitsFilter.swift:173:34: warning: 'ActivationFunction' is deprecated: Use the BNNSGraph API instead.
171 |         do {
172 |             try BNNS.applyActivation(
173 |                 activation: BNNS.ActivationFunction.logSoftmax,
    |                                  `- warning: 'ActivationFunction' is deprecated: Use the BNNSGraph API instead.
174 |                 input: logprobsInputDescriptor,
175 |                 output: logprobs,
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/LogitsFilter.swift:188:29: warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
186 |             guard let logSumExpInputDescriptor = BNNSNDArrayDescriptor(
187 |                 data: logSumExpInputPointer,
188 |                 scalarType: FloatType.self,
    |                             `- warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
189 |                 shape: .vector(timeTokenCount, stride: 1)
190 |             ) 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:196:29: warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
194 |
195 |             let timestampLogProb = BNNSNDArrayDescriptor.allocateUninitialized(
196 |                 scalarType: FloatType.self,
    |                             `- warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
197 |                 shape: .vector(1, stride: 1)
198 |             )
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:215:29: warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
213 |             guard let maxTextTokenLogProbInputDescriptor = BNNSNDArrayDescriptor(
214 |                 data: maxTextTokenLogProbInputPointer,
215 |                 scalarType: FloatType.self,
    |                             `- warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
216 |                 shape: .vector(noTimeTokenCount, stride: 1)
217 |             ) 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:223:29: warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
221 |
222 |             let maxTextTokenLogProb = BNNSNDArrayDescriptor.allocateUninitialized(
223 |                 scalarType: FloatType.self,
    |                             `- warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
224 |                 shape: .vector(1, stride: 1)
225 |             )
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 | }
[99/114] Compiling WhisperKit SegmentSeeker.swift
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/LogitsFilter.swift:158:25: warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
156 |         guard let logprobsInputDescriptor = BNNSNDArrayDescriptor(
157 |             data: logprobsInputPointer,
158 |             scalarType: FloatType.self,
    |                         `- warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
159 |             shape: .vector(logits.count, stride: 1)
160 |         ) 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:166:25: warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
164 |
165 |         let logprobs = BNNSNDArrayDescriptor.allocateUninitialized(
166 |             scalarType: FloatType.self,
    |                         `- warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
167 |             shape: .vector(logits.count, stride: 1)
168 |         )
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:172:22: warning: 'applyActivation(activation:input:output:batchSize:filterParameters:)' is deprecated: Use the BNNSGraph API instead.
170 |
171 |         do {
172 |             try BNNS.applyActivation(
    |                      `- warning: 'applyActivation(activation:input:output:batchSize:filterParameters:)' is deprecated: Use the BNNSGraph API instead.
173 |                 activation: BNNS.ActivationFunction.logSoftmax,
174 |                 input: logprobsInputDescriptor,
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/LogitsFilter.swift:173:34: warning: 'ActivationFunction' is deprecated: Use the BNNSGraph API instead.
171 |         do {
172 |             try BNNS.applyActivation(
173 |                 activation: BNNS.ActivationFunction.logSoftmax,
    |                                  `- warning: 'ActivationFunction' is deprecated: Use the BNNSGraph API instead.
174 |                 input: logprobsInputDescriptor,
175 |                 output: logprobs,
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/LogitsFilter.swift:188:29: warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
186 |             guard let logSumExpInputDescriptor = BNNSNDArrayDescriptor(
187 |                 data: logSumExpInputPointer,
188 |                 scalarType: FloatType.self,
    |                             `- warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
189 |                 shape: .vector(timeTokenCount, stride: 1)
190 |             ) 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:196:29: warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
194 |
195 |             let timestampLogProb = BNNSNDArrayDescriptor.allocateUninitialized(
196 |                 scalarType: FloatType.self,
    |                             `- warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
197 |                 shape: .vector(1, stride: 1)
198 |             )
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:215:29: warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
213 |             guard let maxTextTokenLogProbInputDescriptor = BNNSNDArrayDescriptor(
214 |                 data: maxTextTokenLogProbInputPointer,
215 |                 scalarType: FloatType.self,
    |                             `- warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
216 |                 shape: .vector(noTimeTokenCount, stride: 1)
217 |             ) 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:223:29: warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
221 |
222 |             let maxTextTokenLogProb = BNNSNDArrayDescriptor.allocateUninitialized(
223 |                 scalarType: FloatType.self,
    |                             `- warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
224 |                 shape: .vector(1, stride: 1)
225 |             )
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 | }
[100/114] Compiling WhisperKit Models.swift
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1613:23: warning: static property 'fallbackModelSupportConfig' is not concurrency-safe because non-'Sendable' type 'ModelSupportConfig' may have shared mutable state; this is an error in the Swift 6 language mode
 204 | }
 205 |
 206 | public struct ModelSupportConfig: Codable {
     |               `- note: consider making struct 'ModelSupportConfig' conform to the 'Sendable' protocol
 207 |     public let repoName: String
 208 |     public let repoVersion: String
     :
1611 |     public static let defaultAppendPunctuations: String = "\"'.。,,!!??::”)]}、"
1612 |
1613 |     public static let fallbackModelSupportConfig: ModelSupportConfig = {
     |                       |- warning: static property 'fallbackModelSupportConfig' is not concurrency-safe because non-'Sendable' type 'ModelSupportConfig' may have shared mutable state; this is an error in the Swift 6 language mode
     |                       |- note: add '@MainActor' to make static property 'fallbackModelSupportConfig' part of global actor 'MainActor'
     |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1614 |         var config = ModelSupportConfig(
1615 |             repoName: "whisperkit-coreml-fallback",
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:32:37: warning: type 'MLModel' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
  30 | public extension WhisperMLModel {
  31 |     func loadModel(at modelPath: URL, computeUnits: MLComputeUnits, prewarmMode: Bool = false) async throws {
  32 |         let loadedModel = try await Task {
     |                                     `- warning: type 'MLModel' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
  33 |             let modelConfig = MLModelConfiguration()
  34 |             modelConfig.computeUnits = computeUnits
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLModel.h:28:12: note: class 'MLModel' does not conform to the 'Sendable' protocol
 26 | API_AVAILABLE(macos(10.13), ios(11.0), watchos(4.0), tvos(11.0))
 27 | ML_EXPORT
 28 | @interface MLModel : NSObject
    |            `- note: class 'MLModel' does not conform to the 'Sendable' protocol
 29 |
 30 | /// A model holds a description of its required inputs and expected outputs.
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:6:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreML'
   4 | import Accelerate
   5 | import AVFAudio
   6 | import CoreML
     | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreML'
   7 | import Hub
   8 | import NaturalLanguage
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:32:37: warning: type 'MLModel' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
  30 | public extension WhisperMLModel {
  31 |     func loadModel(at modelPath: URL, computeUnits: MLComputeUnits, prewarmMode: Bool = false) async throws {
  32 |         let loadedModel = try await Task {
     |                                     `- warning: type 'MLModel' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
  33 |             let modelConfig = MLModelConfiguration()
  34 |             modelConfig.computeUnits = computeUnits
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLModel.h:28:12: note: class 'MLModel' does not conform to the 'Sendable' protocol
 26 | API_AVAILABLE(macos(10.13), ios(11.0), watchos(4.0), tvos(11.0))
 27 | ML_EXPORT
 28 | @interface MLModel : NSObject
    |            `- note: class 'MLModel' does not conform to the 'Sendable' protocol
 29 |
 30 | /// A model holds a description of its required inputs and expected outputs.
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:36:11: warning: type 'MLModel' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
  34 |             modelConfig.computeUnits = computeUnits
  35 |             return try await MLModel.load(contentsOf: modelPath, configuration: modelConfig)
  36 |         }.value
     |           `- warning: type 'MLModel' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
  37 |
  38 |         model = prewarmMode ? nil : loadedModel
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLModel.h:28:12: note: class 'MLModel' does not conform to the 'Sendable' protocol
 26 | API_AVAILABLE(macos(10.13), ios(11.0), watchos(4.0), tvos(11.0))
 27 | ML_EXPORT
 28 | @interface MLModel : NSObject
    |            `- note: class 'MLModel' does not conform to the 'Sendable' protocol
 29 |
 30 | /// A model holds a description of its required inputs and expected outputs.
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:970: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
 968 |     @available(macCatalyst, unavailable)
 969 |     public var melspectrogram_featuresShapedArray: MLShapedArray<Float16> {
 970 |         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
 971 |     }
 972 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:970: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
 968 |     @available(macCatalyst, unavailable)
 969 |     public var melspectrogram_featuresShapedArray: MLShapedArray<Float16> {
 970 |         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
 971 |     }
 972 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1033: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
1031 |     @available(macCatalyst, unavailable)
1032 |     public var encoder_output_embedsShapedArray: MLShapedArray<Float16> {
1033 |         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
1034 |     }
1035 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1033: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
1031 |     @available(macCatalyst, unavailable)
1032 |     public var encoder_output_embedsShapedArray: MLShapedArray<Float16> {
1033 |         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
1034 |     }
1035 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1138: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
1136 |     @available(macCatalyst, unavailable)
1137 |     public var logitsShapedArray: MLShapedArray<Float16> {
1138 |         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
1139 |     }
1140 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1138: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
1136 |     @available(macCatalyst, unavailable)
1137 |     public var logitsShapedArray: MLShapedArray<Float16> {
1138 |         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
1139 |     }
1140 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1150: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 |     @available(macCatalyst, unavailable)
1149 |     public var key_cache_updatesShapedArray: MLShapedArray<Float16> {
1150 |         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
1151 |     }
1152 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1150: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 |     @available(macCatalyst, unavailable)
1149 |     public var key_cache_updatesShapedArray: MLShapedArray<Float16> {
1150 |         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
1151 |     }
1152 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1162: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
1160 |     @available(macCatalyst, unavailable)
1161 |     public var value_cache_updatesShapedArray: MLShapedArray<Float16> {
1162 |         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
1163 |     }
1164 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1162: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
1160 |     @available(macCatalyst, unavailable)
1161 |     public var value_cache_updatesShapedArray: MLShapedArray<Float16> {
1162 |         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
1163 |     }
1164 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1177: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
1175 |             return nil
1176 |         }
1177 |         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
1178 |     }
1179 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1177: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
1175 |             return nil
1176 |         }
1177 |         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
1178 |     }
1179 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1245: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
1243 |     @available(macCatalyst, unavailable)
1244 |     public var key_cache_prefillShapedArray: MLShapedArray<Float16> {
1245 |         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
1246 |     }
1247 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1245: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
1243 |     @available(macCatalyst, unavailable)
1244 |     public var key_cache_prefillShapedArray: MLShapedArray<Float16> {
1245 |         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
1246 |     }
1247 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1257: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
1255 |     @available(macCatalyst, unavailable)
1256 |     public var value_cache_prefillShapedArray: MLShapedArray<Float16> {
1257 |         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
1258 |     }
1259 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1257: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
1255 |     @available(macCatalyst, unavailable)
1256 |     public var value_cache_prefillShapedArray: MLShapedArray<Float16> {
1257 |         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
1258 |     }
1259 |
[101/114] Compiling WhisperKit ResultWriter.swift
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1613:23: warning: static property 'fallbackModelSupportConfig' is not concurrency-safe because non-'Sendable' type 'ModelSupportConfig' may have shared mutable state; this is an error in the Swift 6 language mode
 204 | }
 205 |
 206 | public struct ModelSupportConfig: Codable {
     |               `- note: consider making struct 'ModelSupportConfig' conform to the 'Sendable' protocol
 207 |     public let repoName: String
 208 |     public let repoVersion: String
     :
1611 |     public static let defaultAppendPunctuations: String = "\"'.。,,!!??::”)]}、"
1612 |
1613 |     public static let fallbackModelSupportConfig: ModelSupportConfig = {
     |                       |- warning: static property 'fallbackModelSupportConfig' is not concurrency-safe because non-'Sendable' type 'ModelSupportConfig' may have shared mutable state; this is an error in the Swift 6 language mode
     |                       |- note: add '@MainActor' to make static property 'fallbackModelSupportConfig' part of global actor 'MainActor'
     |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1614 |         var config = ModelSupportConfig(
1615 |             repoName: "whisperkit-coreml-fallback",
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:32:37: warning: type 'MLModel' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
  30 | public extension WhisperMLModel {
  31 |     func loadModel(at modelPath: URL, computeUnits: MLComputeUnits, prewarmMode: Bool = false) async throws {
  32 |         let loadedModel = try await Task {
     |                                     `- warning: type 'MLModel' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
  33 |             let modelConfig = MLModelConfiguration()
  34 |             modelConfig.computeUnits = computeUnits
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLModel.h:28:12: note: class 'MLModel' does not conform to the 'Sendable' protocol
 26 | API_AVAILABLE(macos(10.13), ios(11.0), watchos(4.0), tvos(11.0))
 27 | ML_EXPORT
 28 | @interface MLModel : NSObject
    |            `- note: class 'MLModel' does not conform to the 'Sendable' protocol
 29 |
 30 | /// A model holds a description of its required inputs and expected outputs.
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:6:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreML'
   4 | import Accelerate
   5 | import AVFAudio
   6 | import CoreML
     | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreML'
   7 | import Hub
   8 | import NaturalLanguage
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:32:37: warning: type 'MLModel' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
  30 | public extension WhisperMLModel {
  31 |     func loadModel(at modelPath: URL, computeUnits: MLComputeUnits, prewarmMode: Bool = false) async throws {
  32 |         let loadedModel = try await Task {
     |                                     `- warning: type 'MLModel' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
  33 |             let modelConfig = MLModelConfiguration()
  34 |             modelConfig.computeUnits = computeUnits
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLModel.h:28:12: note: class 'MLModel' does not conform to the 'Sendable' protocol
 26 | API_AVAILABLE(macos(10.13), ios(11.0), watchos(4.0), tvos(11.0))
 27 | ML_EXPORT
 28 | @interface MLModel : NSObject
    |            `- note: class 'MLModel' does not conform to the 'Sendable' protocol
 29 |
 30 | /// A model holds a description of its required inputs and expected outputs.
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:36:11: warning: type 'MLModel' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
  34 |             modelConfig.computeUnits = computeUnits
  35 |             return try await MLModel.load(contentsOf: modelPath, configuration: modelConfig)
  36 |         }.value
     |           `- warning: type 'MLModel' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
  37 |
  38 |         model = prewarmMode ? nil : loadedModel
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLModel.h:28:12: note: class 'MLModel' does not conform to the 'Sendable' protocol
 26 | API_AVAILABLE(macos(10.13), ios(11.0), watchos(4.0), tvos(11.0))
 27 | ML_EXPORT
 28 | @interface MLModel : NSObject
    |            `- note: class 'MLModel' does not conform to the 'Sendable' protocol
 29 |
 30 | /// A model holds a description of its required inputs and expected outputs.
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:970: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
 968 |     @available(macCatalyst, unavailable)
 969 |     public var melspectrogram_featuresShapedArray: MLShapedArray<Float16> {
 970 |         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
 971 |     }
 972 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:970: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
 968 |     @available(macCatalyst, unavailable)
 969 |     public var melspectrogram_featuresShapedArray: MLShapedArray<Float16> {
 970 |         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
 971 |     }
 972 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1033: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
1031 |     @available(macCatalyst, unavailable)
1032 |     public var encoder_output_embedsShapedArray: MLShapedArray<Float16> {
1033 |         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
1034 |     }
1035 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1033: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
1031 |     @available(macCatalyst, unavailable)
1032 |     public var encoder_output_embedsShapedArray: MLShapedArray<Float16> {
1033 |         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
1034 |     }
1035 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1138: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
1136 |     @available(macCatalyst, unavailable)
1137 |     public var logitsShapedArray: MLShapedArray<Float16> {
1138 |         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
1139 |     }
1140 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1138: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
1136 |     @available(macCatalyst, unavailable)
1137 |     public var logitsShapedArray: MLShapedArray<Float16> {
1138 |         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
1139 |     }
1140 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1150: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 |     @available(macCatalyst, unavailable)
1149 |     public var key_cache_updatesShapedArray: MLShapedArray<Float16> {
1150 |         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
1151 |     }
1152 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1150: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 |     @available(macCatalyst, unavailable)
1149 |     public var key_cache_updatesShapedArray: MLShapedArray<Float16> {
1150 |         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
1151 |     }
1152 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1162: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
1160 |     @available(macCatalyst, unavailable)
1161 |     public var value_cache_updatesShapedArray: MLShapedArray<Float16> {
1162 |         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
1163 |     }
1164 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1162: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
1160 |     @available(macCatalyst, unavailable)
1161 |     public var value_cache_updatesShapedArray: MLShapedArray<Float16> {
1162 |         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
1163 |     }
1164 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1177: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
1175 |             return nil
1176 |         }
1177 |         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
1178 |     }
1179 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1177: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
1175 |             return nil
1176 |         }
1177 |         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
1178 |     }
1179 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1245: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
1243 |     @available(macCatalyst, unavailable)
1244 |     public var key_cache_prefillShapedArray: MLShapedArray<Float16> {
1245 |         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
1246 |     }
1247 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1245: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
1243 |     @available(macCatalyst, unavailable)
1244 |     public var key_cache_prefillShapedArray: MLShapedArray<Float16> {
1245 |         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
1246 |     }
1247 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1257: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
1255 |     @available(macCatalyst, unavailable)
1256 |     public var value_cache_prefillShapedArray: MLShapedArray<Float16> {
1257 |         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
1258 |     }
1259 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1257: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
1255 |     @available(macCatalyst, unavailable)
1256 |     public var value_cache_prefillShapedArray: MLShapedArray<Float16> {
1257 |         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
1258 |     }
1259 |
[102/114] Compiling WhisperKit Configurations.swift
[103/114] Compiling WhisperKit FeatureExtractor.swift
[104/114] Compiling WhisperKit VoiceActivityDetector.swift
[105/114] Compiling WhisperKit AudioEncoder.swift
[106/114] Compiling WhisperKit AudioChunker.swift
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Audio/AudioProcessor.swift:112:26: warning: type 'AVAudioPCMBuffer' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 110 |     @available(macOS 13, iOS 16, watchOS 10, visionOS 1, *)
 111 |     static func loadAudioAsync(fromPath audioFilePath: String) async throws -> AVAudioPCMBuffer {
 112 |         return try await Task {
     |                          `- warning: type 'AVAudioPCMBuffer' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 113 |             try AudioProcessor.loadAudio(fromPath: audioFilePath)
 114 |         }.value
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioBuffer.h:67:12: note: class 'AVAudioPCMBuffer' does not conform to the 'Sendable' protocol
 65 | */
 66 | API_AVAILABLE(macos(10.10), ios(8.0), watchos(2.0), tvos(9.0))
 67 | @interface AVAudioPCMBuffer : AVAudioBuffer
    |            `- note: class 'AVAudioPCMBuffer' does not conform to the 'Sendable' protocol
 68 |
 69 | /*!	@method initWithPCMFormat:frameCapacity:
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Audio/AudioProcessor.swift:5:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'AVFAudio'
   3 |
   4 | import Accelerate
   5 | import AVFoundation
     | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'AVFAudio'
   6 | import CoreAudio
   7 | import CoreML
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Audio/AudioProcessor.swift:112:26: warning: type 'AVAudioPCMBuffer' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 110 |     @available(macOS 13, iOS 16, watchOS 10, visionOS 1, *)
 111 |     static func loadAudioAsync(fromPath audioFilePath: String) async throws -> AVAudioPCMBuffer {
 112 |         return try await Task {
     |                          `- warning: type 'AVAudioPCMBuffer' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 113 |             try AudioProcessor.loadAudio(fromPath: audioFilePath)
 114 |         }.value
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioBuffer.h:67:12: note: class 'AVAudioPCMBuffer' does not conform to the 'Sendable' protocol
 65 | */
 66 | API_AVAILABLE(macos(10.10), ios(8.0), watchos(2.0), tvos(9.0))
 67 | @interface AVAudioPCMBuffer : AVAudioBuffer
    |            `- note: class 'AVAudioPCMBuffer' does not conform to the 'Sendable' protocol
 68 |
 69 | /*!	@method initWithPCMFormat:frameCapacity:
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Audio/AudioProcessor.swift:114:11: warning: type 'AVAudioPCMBuffer' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 112 |         return try await Task {
 113 |             try AudioProcessor.loadAudio(fromPath: audioFilePath)
 114 |         }.value
     |           `- warning: type 'AVAudioPCMBuffer' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 115 |     }
 116 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioBuffer.h:67:12: note: class 'AVAudioPCMBuffer' does not conform to the 'Sendable' protocol
 65 | */
 66 | API_AVAILABLE(macos(10.10), ios(8.0), watchos(2.0), tvos(9.0))
 67 | @interface AVAudioPCMBuffer : AVAudioBuffer
    |            `- note: class 'AVAudioPCMBuffer' does not conform to the 'Sendable' protocol
 68 |
 69 | /*!	@method initWithPCMFormat:frameCapacity:
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Audio/AudioProcessor.swift:341:35: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 339 |         await withTaskGroup(of: [(index: Int, result: Result<[Float], Swift.Error>)].self) { taskGroup -> [Result<[Float], Swift.Error>] in
 340 |             for (index, audioPath) in audioPaths.enumerated() {
 341 |                 taskGroup.addTask {
     |                                   `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 342 |                     do {
 343 |                         let audio = try AudioProcessor.loadAudioAsFloatArray(fromPath: audioPath, channelMode: channelMode)
     |                                                                                                                `- note: closure captures 'channelMode' which is accessible to code in the current task
 344 |                         return [(index: index, result: .success(audio))]
 345 |                     } catch {
[107/114] Compiling WhisperKit AudioProcessor.swift
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Audio/AudioProcessor.swift:112:26: warning: type 'AVAudioPCMBuffer' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 110 |     @available(macOS 13, iOS 16, watchOS 10, visionOS 1, *)
 111 |     static func loadAudioAsync(fromPath audioFilePath: String) async throws -> AVAudioPCMBuffer {
 112 |         return try await Task {
     |                          `- warning: type 'AVAudioPCMBuffer' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 113 |             try AudioProcessor.loadAudio(fromPath: audioFilePath)
 114 |         }.value
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioBuffer.h:67:12: note: class 'AVAudioPCMBuffer' does not conform to the 'Sendable' protocol
 65 | */
 66 | API_AVAILABLE(macos(10.10), ios(8.0), watchos(2.0), tvos(9.0))
 67 | @interface AVAudioPCMBuffer : AVAudioBuffer
    |            `- note: class 'AVAudioPCMBuffer' does not conform to the 'Sendable' protocol
 68 |
 69 | /*!	@method initWithPCMFormat:frameCapacity:
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Audio/AudioProcessor.swift:5:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'AVFAudio'
   3 |
   4 | import Accelerate
   5 | import AVFoundation
     | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'AVFAudio'
   6 | import CoreAudio
   7 | import CoreML
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Audio/AudioProcessor.swift:112:26: warning: type 'AVAudioPCMBuffer' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 110 |     @available(macOS 13, iOS 16, watchOS 10, visionOS 1, *)
 111 |     static func loadAudioAsync(fromPath audioFilePath: String) async throws -> AVAudioPCMBuffer {
 112 |         return try await Task {
     |                          `- warning: type 'AVAudioPCMBuffer' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 113 |             try AudioProcessor.loadAudio(fromPath: audioFilePath)
 114 |         }.value
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioBuffer.h:67:12: note: class 'AVAudioPCMBuffer' does not conform to the 'Sendable' protocol
 65 | */
 66 | API_AVAILABLE(macos(10.10), ios(8.0), watchos(2.0), tvos(9.0))
 67 | @interface AVAudioPCMBuffer : AVAudioBuffer
    |            `- note: class 'AVAudioPCMBuffer' does not conform to the 'Sendable' protocol
 68 |
 69 | /*!	@method initWithPCMFormat:frameCapacity:
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Audio/AudioProcessor.swift:114:11: warning: type 'AVAudioPCMBuffer' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 112 |         return try await Task {
 113 |             try AudioProcessor.loadAudio(fromPath: audioFilePath)
 114 |         }.value
     |           `- warning: type 'AVAudioPCMBuffer' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 115 |     }
 116 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioBuffer.h:67:12: note: class 'AVAudioPCMBuffer' does not conform to the 'Sendable' protocol
 65 | */
 66 | API_AVAILABLE(macos(10.10), ios(8.0), watchos(2.0), tvos(9.0))
 67 | @interface AVAudioPCMBuffer : AVAudioBuffer
    |            `- note: class 'AVAudioPCMBuffer' does not conform to the 'Sendable' protocol
 68 |
 69 | /*!	@method initWithPCMFormat:frameCapacity:
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Audio/AudioProcessor.swift:341:35: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 339 |         await withTaskGroup(of: [(index: Int, result: Result<[Float], Swift.Error>)].self) { taskGroup -> [Result<[Float], Swift.Error>] in
 340 |             for (index, audioPath) in audioPaths.enumerated() {
 341 |                 taskGroup.addTask {
     |                                   `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 342 |                     do {
 343 |                         let audio = try AudioProcessor.loadAudioAsFloatArray(fromPath: audioPath, channelMode: channelMode)
     |                                                                                                                `- note: closure captures 'channelMode' which is accessible to code in the current task
 344 |                         return [(index: index, result: .success(audio))]
 345 |                     } catch {
[108/114] Compiling WhisperKit Utils.swift
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Utils/Utils.swift:836:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Logging' may have shared mutable state; this is an error in the Swift 6 language mode
833 | // MARK: - Singletons
834 |
835 | open class Logging {
    |            `- note: class 'Logging' does not conform to the 'Sendable' protocol
836 |     public static let shared = Logging()
    |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Logging' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
837 |     public var logLevel: LogLevel = .none
838 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Utils/Utils.swift:76:9: warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
 56 | }
 57 |
 58 | extension MLMultiArray {
    | `- note: add @available attribute to enclosing extension
 59 |     /// Calculate the linear offset by summing the products of each dimension's index with the dimension's stride.
 60 |     /// More info [here](https://developer.apple.com/documentation/coreml/mlmultiarray/2879231-subscript)
    :
 72 |     }
 73 |
 74 |     func fillLastDimension(indexes: Range<Int>, with value: FloatType) {
    |          `- note: add @available attribute to enclosing instance method
 75 |         precondition(shape.count == 3 && shape[0] == 1 && shape[1] == 1, "Must have [1, 1, n] shape")
 76 |         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
 77 |             for index in indexes {
 78 |                 ptr[index * strides[2]] = value
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Utils/Utils.swift:190:30: warning: type 'any MLFeatureProvider' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
188 |             return try await prediction(from: input, options: options)
189 |         } else {
190 |             return try await Task {
    |                              `- warning: type 'any MLFeatureProvider' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
191 |                 try prediction(from: input, options: options)
192 |             }.value
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLFeatureProvider.h:17:11: note: protocol 'MLFeatureProvider' does not conform to the 'Sendable' protocol
15 |  */
16 | API_AVAILABLE(macos(10.13), ios(11.0), watchos(4.0), tvos(11.0))
17 | @protocol MLFeatureProvider
   |           `- note: protocol 'MLFeatureProvider' does not conform to the 'Sendable' protocol
18 |
19 | @property (readonly, nonatomic) NSSet<NSString *> *featureNames;
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Utils/Utils.swift:5:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreML'
  3 |
  4 | import AVFoundation
  5 | import CoreML
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreML'
  6 | import Foundation
  7 | import Hub
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Utils/Utils.swift:190:30: warning: type 'any MLFeatureProvider' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
188 |             return try await prediction(from: input, options: options)
189 |         } else {
190 |             return try await Task {
    |                              `- warning: type 'any MLFeatureProvider' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
191 |                 try prediction(from: input, options: options)
192 |             }.value
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLFeatureProvider.h:17:11: note: protocol 'MLFeatureProvider' does not conform to the 'Sendable' protocol
15 |  */
16 | API_AVAILABLE(macos(10.13), ios(11.0), watchos(4.0), tvos(11.0))
17 | @protocol MLFeatureProvider
   |           `- note: protocol 'MLFeatureProvider' does not conform to the 'Sendable' protocol
18 |
19 | @property (readonly, nonatomic) NSSet<NSString *> *featureNames;
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Utils/Utils.swift:192:15: warning: type 'any MLFeatureProvider' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
190 |             return try await Task {
191 |                 try prediction(from: input, options: options)
192 |             }.value
    |               `- warning: type 'any MLFeatureProvider' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
193 |         }
194 |     }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLFeatureProvider.h:17:11: note: protocol 'MLFeatureProvider' does not conform to the 'Sendable' protocol
15 |  */
16 | API_AVAILABLE(macos(10.13), ios(11.0), watchos(4.0), tvos(11.0))
17 | @protocol MLFeatureProvider
   |           `- note: protocol 'MLFeatureProvider' does not conform to the 'Sendable' protocol
18 |
19 | @property (readonly, nonatomic) NSSet<NSString *> *featureNames;
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Utils/Utils.swift:160:9: warning: sending value of non-Sendable type '() async -> ()' risks causing data races; this is an error in the Swift 6 language mode
158 |         var result: MLMultiArray = initMLMultiArray(shape: [1], dataType: .float16, initialValue: 0.0)
159 |
160 |         Task(priority: .high) {
    |         |- warning: sending value of non-Sendable type '() async -> ()' risks causing data races; this is an error in the Swift 6 language mode
    |         `- note: Passing value of non-Sendable type '() async -> ()' as a 'sending' argument risks causing races in between local and caller code
161 |             switch tensorType {
162 |                 case is Float32.Type:
    :
175 |
176 |         semaphore.wait()
177 |         return result
    |         `- note: access can happen concurrently
178 |     }
179 | }
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Utils/Utils.swift:190:35: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
188 |             return try await prediction(from: input, options: options)
189 |         } else {
190 |             return try await Task {
    |                                   `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
191 |                 try prediction(from: input, options: options)
    |                     `- note: closure captures 'self' which is accessible to code in the current task
192 |             }.value
193 |         }
[109/114] Emitting module WhisperKit
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1613:23: warning: static property 'fallbackModelSupportConfig' is not concurrency-safe because non-'Sendable' type 'ModelSupportConfig' may have shared mutable state; this is an error in the Swift 6 language mode
 204 | }
 205 |
 206 | public struct ModelSupportConfig: Codable {
     |               `- note: consider making struct 'ModelSupportConfig' conform to the 'Sendable' protocol
 207 |     public let repoName: String
 208 |     public let repoVersion: String
     :
1611 |     public static let defaultAppendPunctuations: String = "\"'.。,,!!??::”)]}、"
1612 |
1613 |     public static let fallbackModelSupportConfig: ModelSupportConfig = {
     |                       |- warning: static property 'fallbackModelSupportConfig' is not concurrency-safe because non-'Sendable' type 'ModelSupportConfig' may have shared mutable state; this is an error in the Swift 6 language mode
     |                       |- note: add '@MainActor' to make static property 'fallbackModelSupportConfig' part of global actor 'MainActor'
     |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1614 |         var config = ModelSupportConfig(
1615 |             repoName: "whisperkit-coreml-fallback",
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Utils/Utils.swift:836:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Logging' may have shared mutable state; this is an error in the Swift 6 language mode
833 | // MARK: - Singletons
834 |
835 | open class Logging {
    |            `- note: class 'Logging' does not conform to the 'Sendable' protocol
836 |     public static let shared = Logging()
    |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Logging' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
837 |     public var logLevel: LogLevel = .none
838 |
[110/114] Compiling WhisperKit AudioStreamTranscriber.swift
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Audio/AudioStreamTranscriber.swift:198:41: warning: non-sendable result type 'TranscriptionResult' cannot be sent from nonisolated context in call to instance method 'run(audioArray:decodeOptions:callback:)'; this is an error in the Swift 6 language mode
196 |         options.clipTimestamps = [state.lastConfirmedSegmentEndSeconds]
197 |         let checkWindow = compressionCheckWindow
198 |         return try await transcribeTask.run(audioArray: samples, decodeOptions: options) { [weak self] progress in
    |                                         `- warning: non-sendable result type 'TranscriptionResult' cannot be sent from nonisolated context in call to instance method 'run(audioArray:decodeOptions:callback:)'; this is an error in the Swift 6 language mode
199 |             Task { [weak self] in
200 |                 await self?.onProgressCallback(progress)
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:564:15: note: consider making struct 'TranscriptionResult' conform to the 'Sendable' protocol
 562 | // Structs
 563 |
 564 | public struct TranscriptionResult: Codable {
     |               `- note: consider making struct 'TranscriptionResult' conform to the 'Sendable' protocol
 565 |     public var text: String
 566 |     public var segments: [TranscriptionSegment]
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Audio/AudioStreamTranscriber.swift:198:41: warning: sending 'options.some' risks causing data races; this is an error in the Swift 6 language mode
196 |         options.clipTimestamps = [state.lastConfirmedSegmentEndSeconds]
197 |         let checkWindow = compressionCheckWindow
198 |         return try await transcribeTask.run(audioArray: samples, decodeOptions: options) { [weak self] progress in
    |                                         |- warning: sending 'options.some' risks causing data races; this is an error in the Swift 6 language mode
    |                                         `- note: sending 'self'-isolated 'options.some' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
199 |             Task { [weak self] in
200 |                 await self?.onProgressCallback(progress)
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Audio/AudioStreamTranscriber.swift:198:41: warning: sending value of non-Sendable type '(TranscriptionProgress) -> Bool?' risks causing data races; this is an error in the Swift 6 language mode
196 |         options.clipTimestamps = [state.lastConfirmedSegmentEndSeconds]
197 |         let checkWindow = compressionCheckWindow
198 |         return try await transcribeTask.run(audioArray: samples, decodeOptions: options) { [weak self] progress in
    |                                         |- warning: sending value of non-Sendable type '(TranscriptionProgress) -> Bool?' risks causing data races; this is an error in the Swift 6 language mode
    |                                         `- note: sending 'self'-isolated value of non-Sendable type '(TranscriptionProgress) -> Bool?' to nonisolated callee risks causing races in between 'self'-isolated and nonisolated uses
199 |             Task { [weak self] in
200 |                 await self?.onProgressCallback(progress)
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Audio/AudioStreamTranscriber.swift:198:41: warning: sending 'self.transcribeTask' risks causing data races; this is an error in the Swift 6 language mode
196 |         options.clipTimestamps = [state.lastConfirmedSegmentEndSeconds]
197 |         let checkWindow = compressionCheckWindow
198 |         return try await transcribeTask.run(audioArray: samples, decodeOptions: options) { [weak self] progress in
    |                                         |- warning: sending 'self.transcribeTask' risks causing data races; this is an error in the Swift 6 language mode
    |                                         `- note: sending 'self'-isolated 'self.transcribeTask' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
199 |             Task { [weak self] in
200 |                 await self?.onProgressCallback(progress)
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Audio/AudioStreamTranscriber.swift:199:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
197 |         let checkWindow = compressionCheckWindow
198 |         return try await transcribeTask.run(audioArray: samples, decodeOptions: options) { [weak self] progress in
199 |             Task { [weak self] in
    |                  `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
200 |                 await self?.onProgressCallback(progress)
    |                                                `- note: closure captures 'progress' which is accessible to code in the current task
201 |             }
202 |             return AudioStreamTranscriber.shouldStopEarly(progress: progress, options: options, compressionCheckWindow: checkWindow)
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Audio/AudioStreamTranscriber.swift:200:29: warning: sending 'progress' risks causing data races; this is an error in the Swift 6 language mode
198 |         return try await transcribeTask.run(audioArray: samples, decodeOptions: options) { [weak self] progress in
199 |             Task { [weak self] in
200 |                 await self?.onProgressCallback(progress)
    |                             |- warning: sending 'progress' risks causing data races; this is an error in the Swift 6 language mode
    |                             `- note: sending task-isolated 'progress' to actor-isolated instance method 'onProgressCallback' risks causing data races between actor-isolated and task-isolated uses
201 |             }
202 |             return AudioStreamTranscriber.shouldStopEarly(progress: progress, options: options, compressionCheckWindow: checkWindow)
[111/114] Compiling WhisperKit EnergyVAD.swift
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Audio/AudioStreamTranscriber.swift:198:41: warning: non-sendable result type 'TranscriptionResult' cannot be sent from nonisolated context in call to instance method 'run(audioArray:decodeOptions:callback:)'; this is an error in the Swift 6 language mode
196 |         options.clipTimestamps = [state.lastConfirmedSegmentEndSeconds]
197 |         let checkWindow = compressionCheckWindow
198 |         return try await transcribeTask.run(audioArray: samples, decodeOptions: options) { [weak self] progress in
    |                                         `- warning: non-sendable result type 'TranscriptionResult' cannot be sent from nonisolated context in call to instance method 'run(audioArray:decodeOptions:callback:)'; this is an error in the Swift 6 language mode
199 |             Task { [weak self] in
200 |                 await self?.onProgressCallback(progress)
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:564:15: note: consider making struct 'TranscriptionResult' conform to the 'Sendable' protocol
 562 | // Structs
 563 |
 564 | public struct TranscriptionResult: Codable {
     |               `- note: consider making struct 'TranscriptionResult' conform to the 'Sendable' protocol
 565 |     public var text: String
 566 |     public var segments: [TranscriptionSegment]
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Audio/AudioStreamTranscriber.swift:198:41: warning: sending 'options.some' risks causing data races; this is an error in the Swift 6 language mode
196 |         options.clipTimestamps = [state.lastConfirmedSegmentEndSeconds]
197 |         let checkWindow = compressionCheckWindow
198 |         return try await transcribeTask.run(audioArray: samples, decodeOptions: options) { [weak self] progress in
    |                                         |- warning: sending 'options.some' risks causing data races; this is an error in the Swift 6 language mode
    |                                         `- note: sending 'self'-isolated 'options.some' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
199 |             Task { [weak self] in
200 |                 await self?.onProgressCallback(progress)
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Audio/AudioStreamTranscriber.swift:198:41: warning: sending value of non-Sendable type '(TranscriptionProgress) -> Bool?' risks causing data races; this is an error in the Swift 6 language mode
196 |         options.clipTimestamps = [state.lastConfirmedSegmentEndSeconds]
197 |         let checkWindow = compressionCheckWindow
198 |         return try await transcribeTask.run(audioArray: samples, decodeOptions: options) { [weak self] progress in
    |                                         |- warning: sending value of non-Sendable type '(TranscriptionProgress) -> Bool?' risks causing data races; this is an error in the Swift 6 language mode
    |                                         `- note: sending 'self'-isolated value of non-Sendable type '(TranscriptionProgress) -> Bool?' to nonisolated callee risks causing races in between 'self'-isolated and nonisolated uses
199 |             Task { [weak self] in
200 |                 await self?.onProgressCallback(progress)
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Audio/AudioStreamTranscriber.swift:198:41: warning: sending 'self.transcribeTask' risks causing data races; this is an error in the Swift 6 language mode
196 |         options.clipTimestamps = [state.lastConfirmedSegmentEndSeconds]
197 |         let checkWindow = compressionCheckWindow
198 |         return try await transcribeTask.run(audioArray: samples, decodeOptions: options) { [weak self] progress in
    |                                         |- warning: sending 'self.transcribeTask' risks causing data races; this is an error in the Swift 6 language mode
    |                                         `- note: sending 'self'-isolated 'self.transcribeTask' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
199 |             Task { [weak self] in
200 |                 await self?.onProgressCallback(progress)
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Audio/AudioStreamTranscriber.swift:199:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
197 |         let checkWindow = compressionCheckWindow
198 |         return try await transcribeTask.run(audioArray: samples, decodeOptions: options) { [weak self] progress in
199 |             Task { [weak self] in
    |                  `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
200 |                 await self?.onProgressCallback(progress)
    |                                                `- note: closure captures 'progress' which is accessible to code in the current task
201 |             }
202 |             return AudioStreamTranscriber.shouldStopEarly(progress: progress, options: options, compressionCheckWindow: checkWindow)
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Audio/AudioStreamTranscriber.swift:200:29: warning: sending 'progress' risks causing data races; this is an error in the Swift 6 language mode
198 |         return try await transcribeTask.run(audioArray: samples, decodeOptions: options) { [weak self] progress in
199 |             Task { [weak self] in
200 |                 await self?.onProgressCallback(progress)
    |                             |- warning: sending 'progress' risks causing data races; this is an error in the Swift 6 language mode
    |                             `- note: sending task-isolated 'progress' to actor-isolated instance method 'onProgressCallback' risks causing data races between actor-isolated and task-isolated uses
201 |             }
202 |             return AudioStreamTranscriber.shouldStopEarly(progress: progress, options: options, compressionCheckWindow: checkWindow)
[112/119] Compiling WhisperKitCLI WhisperKitCLI.swift
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKitCLI/WhisperKitCLI.swift:12:16: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
10 | @main
11 | struct WhisperKitCLI: AsyncParsableCommand {
12 |     static let configuration = CommandConfiguration(
   |                `- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
13 |         commandName: "whisperkit-cli",
14 |         abstract: "WhisperKit CLI",
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
 11 |
 12 | /// The configuration for a command.
 13 | public struct CommandConfiguration {
    |               `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
 14 |   /// The name of the command to use on the command line.
 15 |   ///
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKitCLI/WhisperKitCLI.swift:4:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
 2 | //  Copyright © 2024 Argmax, Inc. All rights reserved.
 3 |
 4 | import ArgumentParser
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
 5 | import Foundation
 6 |
   :
10 | @main
11 | struct WhisperKitCLI: AsyncParsableCommand {
12 |     static let configuration = CommandConfiguration(
   |                |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |         commandName: "whisperkit-cli",
14 |         abstract: "WhisperKit CLI",
[113/119] Emitting module WhisperKitCLI
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKitCLI/TranscribeCLI.swift:11:16: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
  9 | @available(macOS 13, iOS 16, watchOS 10, visionOS 1, *)
 10 | struct TranscribeCLI: AsyncParsableCommand {
 11 |     static let configuration = CommandConfiguration(
    |                `- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
 12 |         commandName: "transcribe",
 13 |         abstract: "Transcribe audio to text using WhisperKit"
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
 11 |
 12 | /// The configuration for a command.
 13 | public struct CommandConfiguration {
    |               `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
 14 |   /// The name of the command to use on the command line.
 15 |   ///
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKitCLI/TranscribeCLI.swift:4:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
  2 | //  Copyright © 2024 Argmax, Inc. All rights reserved.
  3 |
  4 | import ArgumentParser
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
  5 | import CoreML
  6 | import Foundation
    :
  9 | @available(macOS 13, iOS 16, watchOS 10, visionOS 1, *)
 10 | struct TranscribeCLI: AsyncParsableCommand {
 11 |     static let configuration = CommandConfiguration(
    |                |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 12 |         commandName: "transcribe",
 13 |         abstract: "Transcribe audio to text using WhisperKit"
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKitCLI/WhisperKitCLI.swift:12:16: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
10 | @main
11 | struct WhisperKitCLI: AsyncParsableCommand {
12 |     static let configuration = CommandConfiguration(
   |                `- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
13 |         commandName: "whisperkit-cli",
14 |         abstract: "WhisperKit CLI",
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
 11 |
 12 | /// The configuration for a command.
 13 | public struct CommandConfiguration {
    |               `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
 14 |   /// The name of the command to use on the command line.
 15 |   ///
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKitCLI/WhisperKitCLI.swift:4:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
 2 | //  Copyright © 2024 Argmax, Inc. All rights reserved.
 3 |
 4 | import ArgumentParser
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
 5 | import Foundation
 6 |
   :
10 | @main
11 | struct WhisperKitCLI: AsyncParsableCommand {
12 |     static let configuration = CommandConfiguration(
   |                |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |         commandName: "whisperkit-cli",
14 |         abstract: "WhisperKit CLI",
[114/119] Compiling WhisperKitCLI CLIUtils.swift
[115/119] Compiling WhisperKitCLI CLIArguments.swift
[116/119] Compiling WhisperKitCLI TranscribeCLI.swift
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKitCLI/TranscribeCLI.swift:11:16: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
  9 | @available(macOS 13, iOS 16, watchOS 10, visionOS 1, *)
 10 | struct TranscribeCLI: AsyncParsableCommand {
 11 |     static let configuration = CommandConfiguration(
    |                `- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
 12 |         commandName: "transcribe",
 13 |         abstract: "Transcribe audio to text using WhisperKit"
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
 11 |
 12 | /// The configuration for a command.
 13 | public struct CommandConfiguration {
    |               `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
 14 |   /// The name of the command to use on the command line.
 15 |   ///
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKitCLI/TranscribeCLI.swift:4:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
  2 | //  Copyright © 2024 Argmax, Inc. All rights reserved.
  3 |
  4 | import ArgumentParser
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
  5 | import CoreML
  6 | import Foundation
    :
  9 | @available(macOS 13, iOS 16, watchOS 10, visionOS 1, *)
 10 | struct TranscribeCLI: AsyncParsableCommand {
 11 |     static let configuration = CommandConfiguration(
    |                |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 12 |         commandName: "transcribe",
 13 |         abstract: "Transcribe audio to text using WhisperKit"
[116/119] Write Objects.LinkFileList
[117/119] Linking whisperkit-cli
[118/119] Applying whisperkit-cli
Build complete! (15.00s)
warning: 'spi-builder-workspace': Invalid Resource 'Models/whisperkit-coreml': File not found.
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-transformers",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.1.8",
            "upper_bound" : "0.2.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/huggingface/swift-transformers.git"
    },
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.3.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser.git"
    }
  ],
  "manifest_display_name" : "whisperkit",
  "name" : "whisperkit",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "macos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "WhisperKit",
      "targets" : [
        "WhisperKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "whisperkit-cli",
      "targets" : [
        "WhisperKitCLI"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "WhisperKitTests",
      "module_type" : "SwiftTarget",
      "name" : "WhisperKitTests",
      "path" : ".",
      "product_dependencies" : [
        "Transformers"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/WhisperKitTests/Resources/8_Channel_ID.m4a",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/WhisperKitTests/Resources/config-v02.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/WhisperKitTests/Resources/config-v03.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/WhisperKitTests/Resources/es_test_clip.wav",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/WhisperKitTests/Resources/ja_test_clip.wav",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/WhisperKitTests/Resources/jfk.wav",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/WhisperKitTests/Resources/jfk_441khz.m4a",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/WhisperKitTests/Resources/ted_60.m4a",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "Tests/WhisperKitTests/Evaluate/DistanceCalculation.swift",
        "Tests/WhisperKitTests/Evaluate/NormalizeEn.swift",
        "Tests/WhisperKitTests/Evaluate/SpellingMapping.swift",
        "Tests/WhisperKitTests/Evaluate/WERUtils.swift",
        "Tests/WhisperKitTests/FunctionalTests.swift",
        "Tests/WhisperKitTests/RegressionTestUtils.swift",
        "Tests/WhisperKitTests/RegressionTests.swift",
        "Tests/WhisperKitTests/TestUtils.swift",
        "Tests/WhisperKitTests/UnitTests.swift"
      ],
      "target_dependencies" : [
        "WhisperKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "WhisperKitCLI",
      "module_type" : "SwiftTarget",
      "name" : "WhisperKitCLI",
      "path" : "Sources/WhisperKitCLI",
      "product_dependencies" : [
        "ArgumentParser"
      ],
      "product_memberships" : [
        "whisperkit-cli"
      ],
      "sources" : [
        "CLIArguments.swift",
        "CLIUtils.swift",
        "TranscribeCLI.swift",
        "WhisperKitCLI.swift"
      ],
      "target_dependencies" : [
        "WhisperKit"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "WhisperKit",
      "module_type" : "SwiftTarget",
      "name" : "WhisperKit",
      "path" : "Sources/WhisperKit",
      "product_dependencies" : [
        "Transformers"
      ],
      "product_memberships" : [
        "WhisperKit",
        "whisperkit-cli"
      ],
      "sources" : [
        "Core/Audio/AudioChunker.swift",
        "Core/Audio/AudioProcessor.swift",
        "Core/Audio/AudioStreamTranscriber.swift",
        "Core/Audio/EnergyVAD.swift",
        "Core/Audio/VoiceActivityDetector.swift",
        "Core/AudioEncoder.swift",
        "Core/Configurations.swift",
        "Core/FeatureExtractor.swift",
        "Core/Models.swift",
        "Core/ResultWriter.swift",
        "Core/Text/LogitsFilter.swift",
        "Core/Text/SegmentSeeker.swift",
        "Core/Text/TokenSampler.swift",
        "Core/TextDecoder.swift",
        "Core/TranscribeTask.swift",
        "Core/Utils/Concurrency.swift",
        "Core/Utils/Utils.swift",
        "Core/WhisperKit.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
warning: 'spi-builder-workspace': Invalid Resource 'Models/whisperkit-coreml': File not found.
✅  Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path:  $PWD/.docs/argmaxinc/whisperkit/main
Repository:               argmaxinc/whisperkit
Swift version used:       6.1
Target:                   WhisperKit
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/swift-docc-render-artifact/.git/
From https://github.com/swiftlang/swift-docc-render-artifact
 * branch            release/6.2 -> FETCH_HEAD
 * [new branch]      release/6.2 -> origin/release/6.2
HEAD is now at 8799b69 Update the artifact
Cloned https://github.com/swiftlang/swift-docc-render-artifact
Extracting symbol information for 'WhisperKit'...
Finished extracting symbol information for 'WhisperKit'. (10.85s)
Building documentation for 'WhisperKit'...
warning: Parameter 'maxReadFrameSize' is missing documentation
  --> Sources/WhisperKit/Core/Audio/AudioProcessor.swift:55:64-55:64
53 |     ///   - channelMode: Channel Mode selected for loadAudio
54 |     ///   - startTime: Optional start time in seconds to read from
55 +     ///   - endTime: Optional end time in seconds to read until
   |                                                                ╰─suggestion: Document 'maxReadFrameSize' parameter
56 |     /// - Returns: `AVAudioPCMBuffer` containing the audio data.
57 |     static func loadAudio(fromPath audioFilePath: String, channelMode: ChannelMode, startTime: Double?, endTime: Double?, maxReadFrameSize: AVAudioFrameCount?) throws -> AVAudioPCMBuffer
warning: Parameter 'audioPaths' not found in type method declaration
   --> Sources/WhisperKit/Core/Audio/AudioProcessor.swift:108:21-108:31
106 | public extension AudioProcessing {
107 |     /// Loads and converts audio data from a specified file paths.
108 +     /// - Parameter audioPaths: The file paths of the audio files.
    |                     ╰─suggestion: Replace 'audioPaths' with 'audioFilePath'
109 |     /// - Returns: `AVAudioPCMBuffer` containing the audio data.
110 |     @available(macOS 13, iOS 16, watchOS 10, visionOS 1, *)
warning: Parameter 'audioPaths' not found in type method declaration
   --> Sources/WhisperKit/Core/Audio/AudioProcessor.swift:108:21-108:31
106 | public extension AudioProcessing {
107 |     /// Loads and converts audio data from a specified file paths.
108 +     /// - Parameter audioPaths: The file paths of the audio files.
    |                     ╰─suggestion: Replace 'audioPaths' with 'audioFilePath'
109 |     /// - Returns: `AVAudioPCMBuffer` containing the audio data.
110 |     @available(macOS 13, iOS 16, watchOS 10, visionOS 1, *)
warning: Parameter 'audioFilePath' is missing documentation
   --> Sources/WhisperKit/Core/Audio/AudioProcessor.swift:108:67-108:67
106 | public extension AudioProcessing {
107 |     /// Loads and converts audio data from a specified file paths.
108 +     /// - Parameter audioPaths: The file paths of the audio files.
    |                                                                   ╰─suggestion: Document 'audioFilePath' parameter
109 |     /// - Returns: `AVAudioPCMBuffer` containing the audio data.
110 |     @available(macOS 13, iOS 16, watchOS 10, visionOS 1, *)
warning: Parameter 'audioFilePath' is missing documentation
   --> Sources/WhisperKit/Core/Audio/AudioProcessor.swift:108:67-108:67
106 | public extension AudioProcessing {
107 |     /// Loads and converts audio data from a specified file paths.
108 +     /// - Parameter audioPaths: The file paths of the audio files.
    |                                                                   ╰─suggestion: Document 'audioFilePath' parameter
109 |     /// - Returns: `AVAudioPCMBuffer` containing the audio data.
110 |     @available(macOS 13, iOS 16, watchOS 10, visionOS 1, *)
warning: Parameter 'channelMode' is missing documentation
   --> Sources/WhisperKit/Core/Audio/AudioProcessor.swift:365:94-365:94
363 |     ///   - channelCount: The desired output channel count.
364 |     ///   - frameCount: The desired frames to read from the input audio file. (default: all).
    |           ╰─suggestion: Document 'channelMode' parameter
365 +     ///   - maxReadFrameSize: Maximum number of frames to read at once (default: 10 million).
366 |     /// - Returns: Resampled audio as an AVAudioPCMBuffer, or nil if resampling fails.
367 |     public static func resampleAudio(
warning: Parameter 'energyValuesToConsider' not found in type method declaration
   --> Sources/WhisperKit/Core/Audio/AudioProcessor.swift:619:11-619:72
617 |     ///   - relativeEnergy: relative energy values
618 |     ///   - nextBufferInSeconds: duration of the next buffer in seconds
619 +     ///   - energyValuesToConsider: number of energy values to consider
    |           ╰─suggestion: Remove 'energyValuesToConsider' parameter documentation
620 |     ///   - silenceThreshold: silence threshold
621 |     /// - Returns: true if voice is detected, false otherwise
Finished building documentation for 'WhisperKit' (0.53s)
Generated documentation archive at:
  /Users/admin/builder/spi-builder-workspace/.docs/argmaxinc/whisperkit/main
Fetching https://github.com/swiftlang/swift-docc-plugin from cache
Updating https://github.com/huggingface/swift-transformers.git
Updating https://github.com/apple/swift-argument-parser.git
Updated https://github.com/huggingface/swift-transformers.git (0.45s)
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (0.47s)
Updated https://github.com/apple/swift-argument-parser.git (0.53s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.3.0 (1.49s)
Computing version for https://github.com/huggingface/swift-transformers.git
Computed https://github.com/huggingface/swift-transformers.git at 0.1.8 (0.46s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.3 (0.58s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit from cache
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.74s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.39s)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.3
warning: 'spi-builder-workspace': Invalid Resource 'Models/whisperkit-coreml': File not found.
Building for debugging...
[0/7] Write snippet-extract-tool-entitlement.plist
[1/8] Write sources
[4/8] Write swift-version-2F0A5646E1D333AE.txt
[6/53] Emitting module SymbolKit
[7/53] Compiling SymbolKit Mixin+Equals.swift
[8/53] Compiling SymbolKit Mixin+Hash.swift
[9/53] Compiling SymbolKit Mixin.swift
[10/53] Compiling SymbolKit LineList.swift
[11/53] Compiling SymbolKit Position.swift
[12/57] Compiling SymbolKit Names.swift
[13/57] Compiling SymbolKit SPI.swift
[14/57] Compiling SymbolKit Snippet.swift
[15/57] Compiling SymbolKit Extension.swift
[16/57] Compiling SymbolKit GenericConstraint.swift
[17/57] Compiling SymbolKit GenericParameter.swift
[18/57] Compiling SymbolKit Generics.swift
[19/57] Compiling SymbolKit Namespace.swift
[20/57] Compiling SymbolKit DeclarationFragments.swift
[21/57] Compiling SymbolKit Fragment.swift
[22/57] Compiling SymbolKit FragmentKind.swift
[23/57] Compiling SymbolKit FunctionParameter.swift
[24/57] Compiling SymbolKit FunctionSignature.swift
[25/57] Compiling SymbolKit Identifier.swift
[26/57] Compiling SymbolKit KindIdentifier.swift
[27/57] Compiling SymbolKit Location.swift
[28/57] Compiling SymbolKit Mutability.swift
[29/57] Compiling SymbolKit SemanticVersion.swift
[30/57] Compiling SymbolKit AccessControl.swift
[31/57] Compiling SymbolKit Availability.swift
[32/57] Compiling SymbolKit AvailabilityItem.swift
[33/57] Compiling SymbolKit Domain.swift
[34/57] Compiling SymbolKit SourceRange.swift
[35/57] Compiling SymbolKit Metadata.swift
[36/57] Compiling SymbolKit Module.swift
[37/57] Compiling SymbolKit OperatingSystem.swift
[38/57] Compiling SymbolKit Platform.swift
[39/57] Compiling SymbolKit Relationship.swift
[40/57] Compiling SymbolKit RelationshipKind.swift
[41/57] Compiling SymbolKit SourceOrigin.swift
[42/57] Compiling SymbolKit GenericConstraints.swift
[43/57] Compiling SymbolKit Swift.swift
[44/57] Compiling SymbolKit Symbol.swift
[45/57] Compiling SymbolKit SymbolKind.swift
[46/57] Compiling SymbolKit SymbolGraph.swift
[47/57] Compiling SymbolKit GraphCollector.swift
[48/57] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[49/57] Compiling SymbolKit UnifiedSymbol.swift
[50/57] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[51/57] Compiling SymbolKit UnifiedSymbolGraph.swift
[52/57] Compiling Snippets SnippetParser.swift
[53/57] Emitting module Snippets
[54/57] Compiling Snippets Snippet.swift
[55/61] Compiling snippet_extract URL+Status.swift
[56/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[57/61] Emitting module snippet_extract
[58/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (3.32s)
warning: 'spi-builder-workspace': Invalid Resource 'Models/whisperkit-coreml': File not found.
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/16] Compiling Hub resource_bundle_accessor.swift
[3/16] Emitting module Hub
[4/16] Compiling Hub Hub.swift
[5/16] Compiling Hub Downloader.swift
[6/16] Compiling Hub HubApi.swift
[7/16] Compiling TensorUtils MLShapedArray+Utils.swift
[8/16] Compiling TensorUtils TopPLogitsWarper.swift
[9/16] Compiling TensorUtils MLMultiArray+Utils.swift
[10/16] Compiling TensorUtils TemperatureLogitsWarper.swift
[11/16] Emitting module TensorUtils
[12/16] Compiling TensorUtils TopKLogitsWarper.swift
[13/16] Compiling TensorUtils RepetitionPenaltyWarper.swift
[14/16] Compiling TensorUtils LogitsProcessor.swift
[15/16] Compiling TensorUtils LogitsWarper.swift
[16/16] Compiling TensorUtils Math.swift
[17/28] Compiling Tokenizers UnigramTokenizer.swift
[18/28] Compiling Tokenizers TokenLattice.swift
[19/29] Compiling Tokenizers Tokenizer.swift
[20/29] Compiling Tokenizers Trie.swift
[21/29] Compiling Tokenizers Normalizer.swift
[22/29] Emitting module Tokenizers
[23/29] Compiling Tokenizers PostProcessor.swift
[24/29] Compiling Tokenizers BPETokenizer.swift
[25/29] Compiling Tokenizers BertTokenizer.swift
[26/29] Compiling Tokenizers ByteEncoder.swift
[27/29] Compiling Tokenizers Decoder.swift
[28/29] Compiling Tokenizers PreTokenizer.swift
[29/29] Compiling Tokenizers Utils.swift
[30/32] Compiling Generation GenerationConfig.swift
[31/32] Emitting module Generation
[32/32] Compiling Generation Generation.swift
[33/35] Compiling Models LanguageModelTypes.swift
[34/35] Emitting module Models
[35/35] Compiling Models LanguageModel.swift
[36/53] Compiling WhisperKit TranscribeTask.swift
[37/53] Compiling WhisperKit Concurrency.swift
[38/53] Compiling WhisperKit Utils.swift
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Utils/Utils.swift:76:9: warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
 56 | }
 57 |
 58 | extension MLMultiArray {
    | `- note: add @available attribute to enclosing extension
 59 |     /// Calculate the linear offset by summing the products of each dimension's index with the dimension's stride.
 60 |     /// More info [here](https://developer.apple.com/documentation/coreml/mlmultiarray/2879231-subscript)
    :
 72 |     }
 73 |
 74 |     func fillLastDimension(indexes: Range<Int>, with value: FloatType) {
    |          `- note: add @available attribute to enclosing instance method
 75 |         precondition(shape.count == 3 && shape[0] == 1 && shape[1] == 1, "Must have [1, 1, n] shape")
 76 |         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
 77 |             for index in indexes {
 78 |                 ptr[index * strides[2]] = value
[39/53] Compiling WhisperKit VoiceActivityDetector.swift
[40/53] Compiling WhisperKit AudioEncoder.swift
[41/53] Compiling WhisperKit Configurations.swift
[42/53] Compiling WhisperKit FeatureExtractor.swift
[43/53] Compiling WhisperKit LogitsFilter.swift
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/LogitsFilter.swift:158:25: warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
156 |         guard let logprobsInputDescriptor = BNNSNDArrayDescriptor(
157 |             data: logprobsInputPointer,
158 |             scalarType: FloatType.self,
    |                         `- warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
159 |             shape: .vector(logits.count, stride: 1)
160 |         ) 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:166:25: warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
164 |
165 |         let logprobs = BNNSNDArrayDescriptor.allocateUninitialized(
166 |             scalarType: FloatType.self,
    |                         `- warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
167 |             shape: .vector(logits.count, stride: 1)
168 |         )
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:172:22: warning: 'applyActivation(activation:input:output:batchSize:filterParameters:)' is deprecated: Use the BNNSGraph API instead.
170 |
171 |         do {
172 |             try BNNS.applyActivation(
    |                      `- warning: 'applyActivation(activation:input:output:batchSize:filterParameters:)' is deprecated: Use the BNNSGraph API instead.
173 |                 activation: BNNS.ActivationFunction.logSoftmax,
174 |                 input: logprobsInputDescriptor,
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/LogitsFilter.swift:173:34: warning: 'ActivationFunction' is deprecated: Use the BNNSGraph API instead.
171 |         do {
172 |             try BNNS.applyActivation(
173 |                 activation: BNNS.ActivationFunction.logSoftmax,
    |                                  `- warning: 'ActivationFunction' is deprecated: Use the BNNSGraph API instead.
174 |                 input: logprobsInputDescriptor,
175 |                 output: logprobs,
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/LogitsFilter.swift:188:29: warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
186 |             guard let logSumExpInputDescriptor = BNNSNDArrayDescriptor(
187 |                 data: logSumExpInputPointer,
188 |                 scalarType: FloatType.self,
    |                             `- warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
189 |                 shape: .vector(timeTokenCount, stride: 1)
190 |             ) 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:196:29: warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
194 |
195 |             let timestampLogProb = BNNSNDArrayDescriptor.allocateUninitialized(
196 |                 scalarType: FloatType.self,
    |                             `- warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
197 |                 shape: .vector(1, stride: 1)
198 |             )
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:215:29: warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
213 |             guard let maxTextTokenLogProbInputDescriptor = BNNSNDArrayDescriptor(
214 |                 data: maxTextTokenLogProbInputPointer,
215 |                 scalarType: FloatType.self,
    |                             `- warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
216 |                 shape: .vector(noTimeTokenCount, stride: 1)
217 |             ) 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:223:29: warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
221 |
222 |             let maxTextTokenLogProb = BNNSNDArrayDescriptor.allocateUninitialized(
223 |                 scalarType: FloatType.self,
    |                             `- warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
224 |                 shape: .vector(1, stride: 1)
225 |             )
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 | }
[44/53] Compiling WhisperKit SegmentSeeker.swift
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/LogitsFilter.swift:158:25: warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
156 |         guard let logprobsInputDescriptor = BNNSNDArrayDescriptor(
157 |             data: logprobsInputPointer,
158 |             scalarType: FloatType.self,
    |                         `- warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
159 |             shape: .vector(logits.count, stride: 1)
160 |         ) 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:166:25: warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
164 |
165 |         let logprobs = BNNSNDArrayDescriptor.allocateUninitialized(
166 |             scalarType: FloatType.self,
    |                         `- warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
167 |             shape: .vector(logits.count, stride: 1)
168 |         )
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:172:22: warning: 'applyActivation(activation:input:output:batchSize:filterParameters:)' is deprecated: Use the BNNSGraph API instead.
170 |
171 |         do {
172 |             try BNNS.applyActivation(
    |                      `- warning: 'applyActivation(activation:input:output:batchSize:filterParameters:)' is deprecated: Use the BNNSGraph API instead.
173 |                 activation: BNNS.ActivationFunction.logSoftmax,
174 |                 input: logprobsInputDescriptor,
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/LogitsFilter.swift:173:34: warning: 'ActivationFunction' is deprecated: Use the BNNSGraph API instead.
171 |         do {
172 |             try BNNS.applyActivation(
173 |                 activation: BNNS.ActivationFunction.logSoftmax,
    |                                  `- warning: 'ActivationFunction' is deprecated: Use the BNNSGraph API instead.
174 |                 input: logprobsInputDescriptor,
175 |                 output: logprobs,
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/LogitsFilter.swift:188:29: warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
186 |             guard let logSumExpInputDescriptor = BNNSNDArrayDescriptor(
187 |                 data: logSumExpInputPointer,
188 |                 scalarType: FloatType.self,
    |                             `- warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
189 |                 shape: .vector(timeTokenCount, stride: 1)
190 |             ) 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:196:29: warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
194 |
195 |             let timestampLogProb = BNNSNDArrayDescriptor.allocateUninitialized(
196 |                 scalarType: FloatType.self,
    |                             `- warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
197 |                 shape: .vector(1, stride: 1)
198 |             )
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:215:29: warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
213 |             guard let maxTextTokenLogProbInputDescriptor = BNNSNDArrayDescriptor(
214 |                 data: maxTextTokenLogProbInputPointer,
215 |                 scalarType: FloatType.self,
    |                             `- warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
216 |                 shape: .vector(noTimeTokenCount, stride: 1)
217 |             ) 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:223:29: warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
221 |
222 |             let maxTextTokenLogProb = BNNSNDArrayDescriptor.allocateUninitialized(
223 |                 scalarType: FloatType.self,
    |                             `- warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
224 |                 shape: .vector(1, stride: 1)
225 |             )
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 | }
[45/53] Compiling WhisperKit AudioStreamTranscriber.swift
[46/53] Compiling WhisperKit EnergyVAD.swift
[47/53] Compiling WhisperKit AudioChunker.swift
[48/53] Compiling WhisperKit AudioProcessor.swift
[49/53] Compiling WhisperKit Models.swift
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:970: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
 968 |     @available(macCatalyst, unavailable)
 969 |     public var melspectrogram_featuresShapedArray: MLShapedArray<Float16> {
 970 |         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
 971 |     }
 972 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:970: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
 968 |     @available(macCatalyst, unavailable)
 969 |     public var melspectrogram_featuresShapedArray: MLShapedArray<Float16> {
 970 |         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
 971 |     }
 972 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1033: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
1031 |     @available(macCatalyst, unavailable)
1032 |     public var encoder_output_embedsShapedArray: MLShapedArray<Float16> {
1033 |         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
1034 |     }
1035 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1033: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
1031 |     @available(macCatalyst, unavailable)
1032 |     public var encoder_output_embedsShapedArray: MLShapedArray<Float16> {
1033 |         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
1034 |     }
1035 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1138: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
1136 |     @available(macCatalyst, unavailable)
1137 |     public var logitsShapedArray: MLShapedArray<Float16> {
1138 |         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
1139 |     }
1140 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1138: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
1136 |     @available(macCatalyst, unavailable)
1137 |     public var logitsShapedArray: MLShapedArray<Float16> {
1138 |         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
1139 |     }
1140 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1150: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 |     @available(macCatalyst, unavailable)
1149 |     public var key_cache_updatesShapedArray: MLShapedArray<Float16> {
1150 |         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
1151 |     }
1152 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1150: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 |     @available(macCatalyst, unavailable)
1149 |     public var key_cache_updatesShapedArray: MLShapedArray<Float16> {
1150 |         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
1151 |     }
1152 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1162: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
1160 |     @available(macCatalyst, unavailable)
1161 |     public var value_cache_updatesShapedArray: MLShapedArray<Float16> {
1162 |         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
1163 |     }
1164 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1162: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
1160 |     @available(macCatalyst, unavailable)
1161 |     public var value_cache_updatesShapedArray: MLShapedArray<Float16> {
1162 |         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
1163 |     }
1164 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1177: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
1175 |             return nil
1176 |         }
1177 |         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
1178 |     }
1179 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1177: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
1175 |             return nil
1176 |         }
1177 |         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
1178 |     }
1179 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1245: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
1243 |     @available(macCatalyst, unavailable)
1244 |     public var key_cache_prefillShapedArray: MLShapedArray<Float16> {
1245 |         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
1246 |     }
1247 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1245: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
1243 |     @available(macCatalyst, unavailable)
1244 |     public var key_cache_prefillShapedArray: MLShapedArray<Float16> {
1245 |         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
1246 |     }
1247 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1257: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
1255 |     @available(macCatalyst, unavailable)
1256 |     public var value_cache_prefillShapedArray: MLShapedArray<Float16> {
1257 |         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
1258 |     }
1259 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1257: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
1255 |     @available(macCatalyst, unavailable)
1256 |     public var value_cache_prefillShapedArray: MLShapedArray<Float16> {
1257 |         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
1258 |     }
1259 |
[50/53] Compiling WhisperKit ResultWriter.swift
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:970: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
 968 |     @available(macCatalyst, unavailable)
 969 |     public var melspectrogram_featuresShapedArray: MLShapedArray<Float16> {
 970 |         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
 971 |     }
 972 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:970: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
 968 |     @available(macCatalyst, unavailable)
 969 |     public var melspectrogram_featuresShapedArray: MLShapedArray<Float16> {
 970 |         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
 971 |     }
 972 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1033: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
1031 |     @available(macCatalyst, unavailable)
1032 |     public var encoder_output_embedsShapedArray: MLShapedArray<Float16> {
1033 |         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
1034 |     }
1035 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1033: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
1031 |     @available(macCatalyst, unavailable)
1032 |     public var encoder_output_embedsShapedArray: MLShapedArray<Float16> {
1033 |         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
1034 |     }
1035 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1138: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
1136 |     @available(macCatalyst, unavailable)
1137 |     public var logitsShapedArray: MLShapedArray<Float16> {
1138 |         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
1139 |     }
1140 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1138: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
1136 |     @available(macCatalyst, unavailable)
1137 |     public var logitsShapedArray: MLShapedArray<Float16> {
1138 |         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
1139 |     }
1140 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1150: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 |     @available(macCatalyst, unavailable)
1149 |     public var key_cache_updatesShapedArray: MLShapedArray<Float16> {
1150 |         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
1151 |     }
1152 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1150: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 |     @available(macCatalyst, unavailable)
1149 |     public var key_cache_updatesShapedArray: MLShapedArray<Float16> {
1150 |         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
1151 |     }
1152 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1162: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
1160 |     @available(macCatalyst, unavailable)
1161 |     public var value_cache_updatesShapedArray: MLShapedArray<Float16> {
1162 |         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
1163 |     }
1164 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1162: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
1160 |     @available(macCatalyst, unavailable)
1161 |     public var value_cache_updatesShapedArray: MLShapedArray<Float16> {
1162 |         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
1163 |     }
1164 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1177: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
1175 |             return nil
1176 |         }
1177 |         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
1178 |     }
1179 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1177: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
1175 |             return nil
1176 |         }
1177 |         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
1178 |     }
1179 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1245: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
1243 |     @available(macCatalyst, unavailable)
1244 |     public var key_cache_prefillShapedArray: MLShapedArray<Float16> {
1245 |         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
1246 |     }
1247 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1245: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
1243 |     @available(macCatalyst, unavailable)
1244 |     public var key_cache_prefillShapedArray: MLShapedArray<Float16> {
1245 |         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
1246 |     }
1247 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1257: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
1255 |     @available(macCatalyst, unavailable)
1256 |     public var value_cache_prefillShapedArray: MLShapedArray<Float16> {
1257 |         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
1258 |     }
1259 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Models.swift:1257: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
1255 |     @available(macCatalyst, unavailable)
1256 |     public var value_cache_prefillShapedArray: MLShapedArray<Float16> {
1257 |         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
1258 |     }
1259 |
[51/53] Compiling WhisperKit TokenSampler.swift
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/TokenSampler.swift:104:29: warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
102 |             let logitsDescriptor = BNNSNDArrayDescriptor(
103 |                 data: logitsRawPointer,
104 |                 scalarType: FloatType.self,
    |                             `- warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
105 |                 shape: .vector(logits.count, stride: 1)
106 |             )!
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:113:33: warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
111 |             if temperature != 0.0 {
112 |                 let scaledLogits = BNNSNDArrayDescriptor.allocateUninitialized(
113 |                     scalarType: FloatType.self,
    |                                 `- warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
114 |                     shape: .vector(logits.count, stride: 1)
115 |                 )
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:117:27: warning: 'applyActivation(activation:input:output:batchSize:filterParameters:)' is deprecated: Use the BNNSGraph API instead.
115 |                 )
116 |
117 |                 try! BNNS.applyActivation(
    |                           `- warning: 'applyActivation(activation:input:output:batchSize:filterParameters:)' is deprecated: Use the BNNSGraph API instead.
118 |                     activation: BNNS.ActivationFunction.linear(alpha: Float(1 / temperature)),
119 |                     input: logitsDescriptor,
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/TokenSampler.swift:118:38: warning: 'ActivationFunction' is deprecated: Use the BNNSGraph API instead.
116 |
117 |                 try! BNNS.applyActivation(
118 |                     activation: BNNS.ActivationFunction.linear(alpha: Float(1 / temperature)),
    |                                      `- warning: 'ActivationFunction' is deprecated: Use the BNNSGraph API instead.
119 |                     input: logitsDescriptor,
120 |                     output: scaledLogits,
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/TokenSampler.swift:134:22: warning: 'applyActivation(activation:input:output:batchSize:filterParameters:)' is deprecated: Use the BNNSGraph API instead.
132 |             )
133 |
134 |             try BNNS.applyActivation(
    |                      `- warning: 'applyActivation(activation:input:output:batchSize:filterParameters:)' is deprecated: Use the BNNSGraph API instead.
135 |                 activation: BNNS.ActivationFunction.softmax,
136 |                 input: softmaxInput!,
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/TokenSampler.swift:135:34: warning: 'ActivationFunction' is deprecated: Use the BNNSGraph API instead.
133 |
134 |             try BNNS.applyActivation(
135 |                 activation: BNNS.ActivationFunction.softmax,
    |                                  `- warning: 'ActivationFunction' is deprecated: Use the BNNSGraph API instead.
136 |                 input: softmaxInput!,
137 |                 output: softmaxOutput!,
[52/53] Compiling WhisperKit TextDecoder.swift
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/TokenSampler.swift:104:29: warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
102 |             let logitsDescriptor = BNNSNDArrayDescriptor(
103 |                 data: logitsRawPointer,
104 |                 scalarType: FloatType.self,
    |                             `- warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
105 |                 shape: .vector(logits.count, stride: 1)
106 |             )!
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:113:33: warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
111 |             if temperature != 0.0 {
112 |                 let scaledLogits = BNNSNDArrayDescriptor.allocateUninitialized(
113 |                     scalarType: FloatType.self,
    |                                 `- warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in the Swift 6 language mode
114 |                     shape: .vector(logits.count, stride: 1)
115 |                 )
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:117:27: warning: 'applyActivation(activation:input:output:batchSize:filterParameters:)' is deprecated: Use the BNNSGraph API instead.
115 |                 )
116 |
117 |                 try! BNNS.applyActivation(
    |                           `- warning: 'applyActivation(activation:input:output:batchSize:filterParameters:)' is deprecated: Use the BNNSGraph API instead.
118 |                     activation: BNNS.ActivationFunction.linear(alpha: Float(1 / temperature)),
119 |                     input: logitsDescriptor,
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/TokenSampler.swift:118:38: warning: 'ActivationFunction' is deprecated: Use the BNNSGraph API instead.
116 |
117 |                 try! BNNS.applyActivation(
118 |                     activation: BNNS.ActivationFunction.linear(alpha: Float(1 / temperature)),
    |                                      `- warning: 'ActivationFunction' is deprecated: Use the BNNSGraph API instead.
119 |                     input: logitsDescriptor,
120 |                     output: scaledLogits,
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/TokenSampler.swift:134:22: warning: 'applyActivation(activation:input:output:batchSize:filterParameters:)' is deprecated: Use the BNNSGraph API instead.
132 |             )
133 |
134 |             try BNNS.applyActivation(
    |                      `- warning: 'applyActivation(activation:input:output:batchSize:filterParameters:)' is deprecated: Use the BNNSGraph API instead.
135 |                 activation: BNNS.ActivationFunction.softmax,
136 |                 input: softmaxInput!,
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/TokenSampler.swift:135:34: warning: 'ActivationFunction' is deprecated: Use the BNNSGraph API instead.
133 |
134 |             try BNNS.applyActivation(
135 |                 activation: BNNS.ActivationFunction.softmax,
    |                                  `- warning: 'ActivationFunction' is deprecated: Use the BNNSGraph API instead.
136 |                 input: softmaxInput!,
137 |                 output: softmaxOutput!,
[53/53] Emitting module WhisperKit
[54/54] Compiling WhisperKit WhisperKit.swift
Build of target: 'WhisperKit' complete! (4.43s)
    1674
10	/Users/admin/builder/spi-builder-workspace/.docs/argmaxinc/whisperkit/main
✅  Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/argmaxinc/whisperkit/main
File count: 1674
Doc size:   10.0MB
Preparing doc bundle ...
Uploading prod-argmaxinc-whisperkit-main-aea150ca.zip to s3://spi-docs-inbox/prod-argmaxinc-whisperkit-main-aea150ca.zip
Copying... [12%]
Copying... [21%]
Copying... [33%]
Copying... [41%]
Copying... [50%]
Copying... [62%]
Copying... [71%]
Copying... [80%]
Copying... [92%]
Copying... [100%]
Done.