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.0 for macOS (SPM) on 22 Apr 2025 23:43:23 UTC.

Swift 6 data race errors: 4

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.2.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

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.1",
              "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/6094] Fetching whisperkit
Fetched https://github.com/argmaxinc/whisperkit.git from cache (1.78s)
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.48s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.48s)
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.04s)
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/356] Fetching jinja
Fetched https://github.com/johnmai-dev/Jinja from cache (0.72s)
Computing version for https://github.com/johnmai-dev/Jinja
Computed https://github.com/johnmai-dev/Jinja at 1.1.1 (0.45s)
Fetching https://github.com/apple/swift-collections.git
[1/16175] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.75s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (3.31s)
Creating working copy for https://github.com/huggingface/swift-transformers.git
Working copy of https://github.com/huggingface/swift-transformers.git resolved at 0.1.15
Creating working copy for https://github.com/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.1
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.4
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
Found 2 product dependencies
  - swift-transformers
  - swift-argument-parser
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
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.2.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
[1/17] Write whisperkit-cli-entitlement.plist
[4/17] Write sources
[5/17] Copying t5_tokenizer_config.json
[5/17] Write sources
[8/17] Copying gpt2_tokenizer_config.json
[8/17] Write sources
[13/17] Write swift-version-5BDAB9E9C0126B9D.txt
[15/34] Emitting module ArgumentParserToolInfo
[16/34] Compiling ArgumentParserToolInfo ToolInfo.swift
[17/72] Compiling ArgumentParser Flag.swift
[18/72] Compiling ArgumentParser NameSpecification.swift
[19/72] Compiling ArgumentParser Option.swift
[20/72] Compiling ArgumentParser OptionGroup.swift
[21/72] Compiling ArgumentParser InputOrigin.swift
[22/72] Compiling ArgumentParser Name.swift
[23/72] Compiling ArgumentParser Parsed.swift
[24/72] Compiling ArgumentParser ParsedValues.swift
[25/76] Compiling ArgumentParser BashCompletionsGenerator.swift
[26/76] Compiling ArgumentParser CompletionsGenerator.swift
[27/76] Compiling ArgumentParser FishCompletionsGenerator.swift
[28/76] Compiling ArgumentParser ZshCompletionsGenerator.swift
[29/76] Compiling ArgumentParser Argument.swift
[30/76] Compiling Hub resource_bundle_accessor.swift
[31/76] Compiling Hub Hub.swift
[32/76] Compiling Hub HubApi.swift
[33/76] Emitting module Hub
[34/76] Compiling Hub Downloader.swift
[35/76] Emitting module ArgumentParser
[36/88] Compiling ArgumentParser HelpGenerator.swift
[37/88] Compiling ArgumentParser MessageInfo.swift
[38/88] Compiling ArgumentParser UsageGenerator.swift
[39/88] Compiling ArgumentParser CollectionExtensions.swift
[40/88] Compiling Tokenizers BPETokenizer.swift
[41/88] Compiling Tokenizers BertTokenizer.swift
[42/88] Compiling Tokenizers ByteEncoder.swift
[43/88] Compiling Tokenizers Decoder.swift
[44/88] Compiling ArgumentParser ArgumentHelp.swift
[45/88] Compiling ArgumentParser ArgumentVisibility.swift
[46/88] Compiling ArgumentParser CompletionKind.swift
[47/88] Compiling ArgumentParser Errors.swift
[48/88] Compiling ArgumentParser ArgumentDefinition.swift
[49/88] Compiling ArgumentParser ArgumentSet.swift
[50/88] Compiling ArgumentParser CommandParser.swift
[51/88] Compiling ArgumentParser InputKey.swift
[52/88] Compiling Tokenizers Trie.swift
[53/89] Compiling ArgumentParser Platform.swift
[54/89] Compiling ArgumentParser SequenceExtensions.swift
[55/89] Compiling ArgumentParser StringExtensions.swift
[56/89] Compiling ArgumentParser Tree.swift
[57/89] Compiling Tokenizers UnigramTokenizer.swift
[58/89] Compiling Tokenizers Utils.swift
[59/89] Compiling Tokenizers Tokenizer.swift
[60/89] Compiling Tokenizers TokenLattice.swift
[65/89] Emitting module Tokenizers
[66/89] Compiling Tokenizers PreTokenizer.swift
[67/89] Compiling Tokenizers PostProcessor.swift
[68/89] Compiling Tokenizers Normalizer.swift
[69/89] Compiling TensorUtils MLShapedArray+Utils.swift
[70/89] Compiling ArgumentParser ParserError.swift
[71/89] Compiling ArgumentParser SplitArguments.swift
[72/89] Compiling ArgumentParser DumpHelpGenerator.swift
[73/89] Compiling ArgumentParser HelpCommand.swift
[74/89] Compiling ArgumentParser AsyncParsableCommand.swift
[75/89] Compiling ArgumentParser CommandConfiguration.swift
[76/89] Compiling ArgumentParser EnumerableFlag.swift
[77/89] Compiling ArgumentParser ExpressibleByArgument.swift
[78/89] Compiling TensorUtils TopKLogitsWarper.swift
[79/89] Compiling TensorUtils LogitsWarper.swift
[80/89] Compiling TensorUtils TemperatureLogitsWarper.swift
[81/89] Compiling TensorUtils TopPLogitsWarper.swift
[82/89] Compiling TensorUtils MLMultiArray+Utils.swift
[83/89] Compiling TensorUtils LogitsProcessor.swift
[84/89] Compiling TensorUtils RepetitionPenaltyWarper.swift
[85/89] Compiling TensorUtils Math.swift
[86/89] Emitting module TensorUtils
[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 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")
[94/113] 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")
[95/114] Compiling WhisperKit TranscribeTask.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: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
837 |     public var logLevel: LogLevel = .none
838 |
[96/114] Compiling WhisperKit Concurrency.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: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
837 |     public var logLevel: LogLevel = .none
838 |
[97/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: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
    |                       `- 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
CoreML.MLFeatureProvider:2:17: note: protocol 'MLFeatureProvider' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.13, *)
2 | public protocol MLFeatureProvider {
  |                 `- note: protocol 'MLFeatureProvider' does not conform to the 'Sendable' protocol
3 |     var featureNames: Set<String> { get }
4 |     func featureValue(for featureName: String) -> MLFeatureValue?
/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
CoreML.MLFeatureProvider:2:17: note: protocol 'MLFeatureProvider' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.13, *)
2 | public protocol MLFeatureProvider {
  |                 `- note: protocol 'MLFeatureProvider' does not conform to the 'Sendable' protocol
3 |     var featureNames: Set<String> { get }
4 |     func featureValue(for featureName: String) -> MLFeatureValue?
/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 |     }
CoreML.MLFeatureProvider:2:17: note: protocol 'MLFeatureProvider' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.13, *)
2 | public protocol MLFeatureProvider {
  |                 `- note: protocol 'MLFeatureProvider' does not conform to the 'Sendable' protocol
3 |     var featureNames: Set<String> { get }
4 |     func featureValue(for featureName: String) -> MLFeatureValue?
/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: annotate 'fallbackModelSupportConfig' with '@MainActor' if property should only be accessed from the main actor
     |                       `- 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:822:23: warning: reference to var 'mach_task_self_' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
820 |     let kerr: kern_return_t = withUnsafeMutablePointer(to: &info) {
821 |         $0.withMemoryRebound(to: integer_t.self, capacity: 1) {
822 |             task_info(mach_task_self_, task_flavor_t(MACH_TASK_BASIC_INFO), $0, &count)
    |                       `- warning: reference to var 'mach_task_self_' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
823 |         }
824 |     }
Darwin.mach_task_self_:1:12: note: var declared here
1 | public var mach_task_self_: mach_port_t
  |            `- note: var declared here
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Utils/Utils.swift:160:9: warning: value of non-Sendable type '@isolated(any) @async @callee_guaranteed @substituted <τ_0_0> () -> @out τ_0_0 for <()>' accessed after being transferred; later accesses could race; 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: value of non-Sendable type '@isolated(any) @async @callee_guaranteed @substituted <τ_0_0> () -> @out τ_0_0 for <()>' accessed after being transferred; later accesses could race; this is an error in the Swift 6 language mode
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 |         }
[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 Configurations.swift
[101/114] Compiling WhisperKit FeatureExtractor.swift
[102/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
AVFAudio.AVAudioPCMBuffer:2:12: note: class 'AVAudioPCMBuffer' does not conform to the 'Sendable' protocol
 1 | @available(macOS 10.10, *)
 2 | open class AVAudioPCMBuffer : AVAudioBuffer {
   |            `- note: class 'AVAudioPCMBuffer' does not conform to the 'Sendable' protocol
 3 |     public init?(pcmFormat format: AVAudioFormat, frameCapacity: AVAudioFrameCount)
 4 |     @available(swift, obsoleted: 3, renamed: "init(pcmFormat: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
AVFAudio.AVAudioPCMBuffer:2:12: note: class 'AVAudioPCMBuffer' does not conform to the 'Sendable' protocol
 1 | @available(macOS 10.10, *)
 2 | open class AVAudioPCMBuffer : AVAudioBuffer {
   |            `- note: class 'AVAudioPCMBuffer' does not conform to the 'Sendable' protocol
 3 |     public init?(pcmFormat format: AVAudioFormat, frameCapacity: AVAudioFrameCount)
 4 |     @available(swift, obsoleted: 3, renamed: "init(pcmFormat: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 |
AVFAudio.AVAudioPCMBuffer:2:12: note: class 'AVAudioPCMBuffer' does not conform to the 'Sendable' protocol
 1 | @available(macOS 10.10, *)
 2 | open class AVAudioPCMBuffer : AVAudioBuffer {
   |            `- note: class 'AVAudioPCMBuffer' does not conform to the 'Sendable' protocol
 3 |     public init?(pcmFormat format: AVAudioFormat, frameCapacity: AVAudioFrameCount)
 4 |     @available(swift, obsoleted: 3, renamed: "init(pcmFormat: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 {
[103/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
AVFAudio.AVAudioPCMBuffer:2:12: note: class 'AVAudioPCMBuffer' does not conform to the 'Sendable' protocol
 1 | @available(macOS 10.10, *)
 2 | open class AVAudioPCMBuffer : AVAudioBuffer {
   |            `- note: class 'AVAudioPCMBuffer' does not conform to the 'Sendable' protocol
 3 |     public init?(pcmFormat format: AVAudioFormat, frameCapacity: AVAudioFrameCount)
 4 |     @available(swift, obsoleted: 3, renamed: "init(pcmFormat: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
AVFAudio.AVAudioPCMBuffer:2:12: note: class 'AVAudioPCMBuffer' does not conform to the 'Sendable' protocol
 1 | @available(macOS 10.10, *)
 2 | open class AVAudioPCMBuffer : AVAudioBuffer {
   |            `- note: class 'AVAudioPCMBuffer' does not conform to the 'Sendable' protocol
 3 |     public init?(pcmFormat format: AVAudioFormat, frameCapacity: AVAudioFrameCount)
 4 |     @available(swift, obsoleted: 3, renamed: "init(pcmFormat: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 |
AVFAudio.AVAudioPCMBuffer:2:12: note: class 'AVAudioPCMBuffer' does not conform to the 'Sendable' protocol
 1 | @available(macOS 10.10, *)
 2 | open class AVAudioPCMBuffer : AVAudioBuffer {
   |            `- note: class 'AVAudioPCMBuffer' does not conform to the 'Sendable' protocol
 3 |     public init?(pcmFormat format: AVAudioFormat, frameCapacity: AVAudioFrameCount)
 4 |     @available(swift, obsoleted: 3, renamed: "init(pcmFormat: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 {
[104/114] Compiling WhisperKit VoiceActivityDetector.swift
[105/114] Compiling WhisperKit AudioEncoder.swift
[106/114] Compiling WhisperKit AudioStreamTranscriber.swift
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Audio/AudioStreamTranscriber.swift:198:41: warning: non-sendable type 'TranscriptionResult' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; 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 type 'TranscriptionResult' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; 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 'self'-isolated value of type '(TranscriptionProgress) -> Bool?' with later accesses to nonisolated context 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'-isolated value of type '(TranscriptionProgress) -> Bool?' with later accesses to nonisolated context risks causing data races; 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/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)
[107/114] Compiling WhisperKit EnergyVAD.swift
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Audio/AudioStreamTranscriber.swift:198:41: warning: non-sendable type 'TranscriptionResult' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; 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 type 'TranscriptionResult' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; 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 'self'-isolated value of type '(TranscriptionProgress) -> Bool?' with later accesses to nonisolated context 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'-isolated value of type '(TranscriptionProgress) -> Bool?' with later accesses to nonisolated context risks causing data races; 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/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)
[108/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: annotate 'fallbackModelSupportConfig' with '@MainActor' if property should only be accessed from the main actor
     |                       `- 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
CoreML.MLModel:2:12: note: class 'MLModel' does not conform to the 'Sendable' protocol
 1 | @available(macOS 10.13, *)
 2 | open class MLModel : NSObject {
   |            `- note: class 'MLModel' does not conform to the 'Sendable' protocol
 3 |     open var modelDescription: MLModelDescription { get }
 4 |     @available(macOS 10.14, *)
/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
CoreML.MLModel:2:12: note: class 'MLModel' does not conform to the 'Sendable' protocol
 1 | @available(macOS 10.13, *)
 2 | open class MLModel : NSObject {
   |            `- note: class 'MLModel' does not conform to the 'Sendable' protocol
 3 |     open var modelDescription: MLModelDescription { get }
 4 |     @available(macOS 10.14, *)
/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
CoreML.MLModel:2:12: note: class 'MLModel' does not conform to the 'Sendable' protocol
 1 | @available(macOS 10.13, *)
 2 | open class MLModel : NSObject {
   |            `- note: class 'MLModel' does not conform to the 'Sendable' protocol
 3 |     open var modelDescription: MLModelDescription { get }
 4 |     @available(macOS 10.14, *)
/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 |
[109/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: annotate 'fallbackModelSupportConfig' with '@MainActor' if property should only be accessed from the main actor
     |                       `- 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
CoreML.MLModel:2:12: note: class 'MLModel' does not conform to the 'Sendable' protocol
 1 | @available(macOS 10.13, *)
 2 | open class MLModel : NSObject {
   |            `- note: class 'MLModel' does not conform to the 'Sendable' protocol
 3 |     open var modelDescription: MLModelDescription { get }
 4 |     @available(macOS 10.14, *)
/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
CoreML.MLModel:2:12: note: class 'MLModel' does not conform to the 'Sendable' protocol
 1 | @available(macOS 10.13, *)
 2 | open class MLModel : NSObject {
   |            `- note: class 'MLModel' does not conform to the 'Sendable' protocol
 3 |     open var modelDescription: MLModelDescription { get }
 4 |     @available(macOS 10.14, *)
/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
CoreML.MLModel:2:12: note: class 'MLModel' does not conform to the 'Sendable' protocol
 1 | @available(macOS 10.13, *)
 2 | open class MLModel : NSObject {
   |            `- note: class 'MLModel' does not conform to the 'Sendable' protocol
 3 |     open var modelDescription: MLModelDescription { get }
 4 |     @available(macOS 10.14, *)
/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 |
[110/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: annotate 'fallbackModelSupportConfig' with '@MainActor' if property should only be accessed from the main actor
     |                       `- 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: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
837 |     public var logLevel: LogLevel = .none
838 |
[111/114] Compiling WhisperKit WhisperKit.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: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
    |                       `- 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/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: annotate 'fallbackModelSupportConfig' with '@MainActor' if property should only be accessed from the main actor
     |                       `- 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/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,
[112/119] Compiling WhisperKitCLI CLIUtils.swift
[113/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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |         commandName: "whisperkit-cli",
14 |         abstract: "WhisperKit CLI",
[114/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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
    |                `- 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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |         commandName: "whisperkit-cli",
14 |         abstract: "WhisperKit CLI",
[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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
    |                `- 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! (27.96s)
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.0
Target:                   WhisperKit
Extracting symbol information for 'WhisperKit'...
Finished extracting symbol information for 'WhisperKit'. (9.19s)
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 otherwiseFinished building documentation for 'WhisperKit' (0.47s)
Generated documentation archive at:
  /Users/admin/builder/spi-builder-workspace/.docs/argmaxinc/whisperkit/main
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/2049] Fetching swift-docc-plugin
Updating https://github.com/apple/swift-argument-parser.git
Updating https://github.com/huggingface/swift-transformers.git
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.11s)
Updated https://github.com/huggingface/swift-transformers.git (0.49s)
Updated https://github.com/apple/swift-argument-parser.git (0.49s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.3.0 (0.48s)
Computing version for https://github.com/huggingface/swift-transformers.git
Computed https://github.com/huggingface/swift-transformers.git at 0.1.8 (0.42s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.3 (0.55s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3366] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.15s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.66s)
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-5BDAB9E9C0126B9D.txt
[6/53] Compiling SymbolKit GenericConstraint.swift
[7/53] Compiling SymbolKit GenericParameter.swift
[8/53] Compiling SymbolKit Generics.swift
[9/53] Compiling SymbolKit Namespace.swift
[10/57] Compiling SymbolKit DeclarationFragments.swift
[11/57] Compiling SymbolKit Fragment.swift
[12/57] Compiling SymbolKit FragmentKind.swift
[13/57] Compiling SymbolKit FunctionParameter.swift
[14/57] Compiling SymbolKit FunctionSignature.swift
[15/57] Emitting module SymbolKit
[16/57] Compiling SymbolKit Mixin+Equals.swift
[17/57] Compiling SymbolKit Mixin+Hash.swift
[18/57] Compiling SymbolKit Mixin.swift
[19/57] Compiling SymbolKit LineList.swift
[20/57] Compiling SymbolKit Position.swift
[21/57] Compiling SymbolKit Identifier.swift
[22/57] Compiling SymbolKit KindIdentifier.swift
[23/57] Compiling SymbolKit Location.swift
[24/57] Compiling SymbolKit Mutability.swift
[25/57] Compiling SymbolKit SemanticVersion.swift
[26/57] Compiling SymbolKit AccessControl.swift
[27/57] Compiling SymbolKit Availability.swift
[28/57] Compiling SymbolKit AvailabilityItem.swift
[29/57] Compiling SymbolKit Domain.swift
[30/57] Compiling SymbolKit Names.swift
[31/57] Compiling SymbolKit SPI.swift
[32/57] Compiling SymbolKit Snippet.swift
[33/57] Compiling SymbolKit Extension.swift
[34/57] Compiling SymbolKit Relationship.swift
[35/57] Compiling SymbolKit RelationshipKind.swift
[36/57] Compiling SymbolKit SourceOrigin.swift
[37/57] Compiling SymbolKit GenericConstraints.swift
[38/57] Compiling SymbolKit Swift.swift
[39/57] Compiling SymbolKit SourceRange.swift
[40/57] Compiling SymbolKit Metadata.swift
[41/57] Compiling SymbolKit Module.swift
[42/57] Compiling SymbolKit OperatingSystem.swift
[43/57] Compiling SymbolKit Platform.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] Emitting module Snippets
[53/57] Compiling Snippets Snippet.swift
[54/57] Compiling Snippets SnippetParser.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.57s)
warning: 'spi-builder-workspace': Invalid Resource 'Models/whisperkit-coreml': File not found.
Building for debugging...
[0/1] Write swift-version-5BDAB9E9C0126B9D.txt
[2/16] Compiling Hub Hub.swift
[3/16] Compiling Hub Downloader.swift
[4/16] Emitting module Hub
[5/16] Compiling Hub resource_bundle_accessor.swift
[6/16] Compiling Hub HubApi.swift
[7/16] Compiling TensorUtils Math.swift
[8/16] Compiling TensorUtils MLShapedArray+Utils.swift
[9/16] Compiling TensorUtils TopPLogitsWarper.swift
[10/16] Compiling TensorUtils TopKLogitsWarper.swift
[11/16] Compiling TensorUtils TemperatureLogitsWarper.swift
[12/16] Compiling TensorUtils RepetitionPenaltyWarper.swift
[13/16] Compiling TensorUtils LogitsWarper.swift
[14/16] Compiling TensorUtils LogitsProcessor.swift
[15/16] Compiling TensorUtils MLMultiArray+Utils.swift
[16/16] Emitting module TensorUtils
[17/28] Compiling Tokenizers Trie.swift
[18/29] Compiling Tokenizers UnigramTokenizer.swift
[19/29] Compiling Tokenizers Tokenizer.swift
[20/29] Compiling Tokenizers Normalizer.swift
[21/29] Compiling Tokenizers TokenLattice.swift
[22/29] Compiling Tokenizers PostProcessor.swift
[23/29] Compiling Tokenizers ByteEncoder.swift
[24/29] Compiling Tokenizers Decoder.swift
[25/29] Compiling Tokenizers PreTokenizer.swift
[26/29] Emitting module Tokenizers
[27/29] Compiling Tokenizers BPETokenizer.swift
[28/29] Compiling Tokenizers BertTokenizer.swift
[29/29] Compiling Tokenizers Utils.swift
[30/32] Compiling Generation GenerationConfig.swift
[31/32] Compiling Generation Generation.swift
[32/32] Emitting module Generation
[33/35] Compiling Models LanguageModelTypes.swift
[34/35] Emitting module Models
[35/35] Compiling Models LanguageModel.swift
[36/53] Compiling WhisperKit Configurations.swift
[37/53] Compiling WhisperKit FeatureExtractor.swift
[38/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 | }
[39/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 | }
[40/54] 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!,
[41/54] 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!,
[42/54] 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
[43/54] Compiling WhisperKit TranscribeTask.swift
[44/54] Compiling WhisperKit Concurrency.swift
[45/54] Compiling WhisperKit WhisperKit.swift
[46/54] Compiling WhisperKit AudioStreamTranscriber.swift
[47/54] Compiling WhisperKit EnergyVAD.swift
[48/54] Emitting module WhisperKit
[49/54] Compiling WhisperKit VoiceActivityDetector.swift
[50/54] Compiling WhisperKit AudioEncoder.swift
[51/54] 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 |
[52/54] 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 |
[53/54] Compiling WhisperKit AudioChunker.swift
[54/54] Compiling WhisperKit AudioProcessor.swift
Build of target: 'WhisperKit' complete! (3.76s)
    1670
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: 1670
Doc size:   10.0MB
Preparing doc bundle ...
Uploading prod-argmaxinc-whisperkit-main-90f7ee4e.zip to s3://spi-docs-inbox/prod-argmaxinc-whisperkit-main-90f7ee4e.zip
Copying... [12%]
Copying... [21%]
Copying... [33%]
Copying... [42%]
Copying... [50%]
Copying... [62%]
Copying... [71%]
Copying... [80%]
Copying... [92%]
Copying... [100%]
Done.