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 SwiftWhisper, reference master (c34019), with Swift 6.0 for macOS (SPM) on 8 Nov 2024 16:15:47 UTC.

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.57.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/exPHAT/SwiftWhisper.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/exPHAT/SwiftWhisper
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at c340197 Update fast branch commit hash
Submodule path 'whisper.cpp': checked out '95b02d76b04d18e4ce37ed8353a1f0797f1717ea'
Submodule path 'whisper.cpp/bindings/ios': checked out 'de46d9e7817fe851c109d66080239d415812d32a'
Submodule 'whisper.cpp' (https://github.com/ggerganov/whisper.cpp.git) registered for path 'whisper.cpp'
Cloning into '/Users/admin/builder/spi-builder-workspace/whisper.cpp'...
Submodule 'bindings/ios' (https://github.com/ggerganov/whisper.spm) registered for path 'whisper.cpp/bindings/ios'
Cloning into '/Users/admin/builder/spi-builder-workspace/whisper.cpp/bindings/ios'...
Cloned https://github.com/exPHAT/SwiftWhisper.git
Revision (git rev-parse @):
c340197966ebd264f3135d3955874b40f8ed58bc
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/exPHAT/SwiftWhisper.git at master
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "swiftwhisper",
      "name": "SwiftWhisper",
      "url": "https://github.com/exPHAT/SwiftWhisper.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftWhisper",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/exPHAT/SwiftWhisper.git
[6/591] Fetching swiftwhisper
Fetched https://github.com/exPHAT/SwiftWhisper.git from cache (1.07s)
Creating working copy for https://github.com/exPHAT/SwiftWhisper.git
Working copy of https://github.com/exPHAT/SwiftWhisper.git resolved at master (c340197)
warning: '.resolve-product-dependencies': dependency 'swiftwhisper' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/exPHAT/SwiftWhisper.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/6] Write sources
[1/6] Write swift-version--7754E27361AE5C74.txt
/Users/admin/builder/spi-builder-workspace/Sources/whisper_cpp/coreml/whisper-encoder.mm:25:44: warning: 'whisper_encoder_impl' is only available on macOS 12.0 or newer [-Wunguarded-availability-new]
   25 |     const void * data = CFBridgingRetain([[whisper_encoder_impl alloc] initWithContentsOfURL:url_model error:nil]);
      |                                            ^~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/whisper_cpp/coreml/whisper-encoder-impl.h:41:12: note: 'whisper_encoder_impl' has been marked as being introduced in macOS 12.0 here, but the deployment target is macOS 10.13.0
   41 | @interface whisper_encoder_impl : NSObject
      |            ^
/Users/admin/builder/spi-builder-workspace/Sources/whisper_cpp/coreml/whisper-encoder.mm:25:44: note: enclose 'whisper_encoder_impl' in an @available check to silence this warning
   25 |     const void * data = CFBridgingRetain([[whisper_encoder_impl alloc] initWithContentsOfURL:url_model error:nil]);
      |                                            ^~~~~~~~~~~~~~~~~~~~
   26 |
   27 |     if (data == NULL) {
   28 |         return NULL;
   29 |     }
   30 |
   31 |     whisper_coreml_context * ctx = new whisper_coreml_context;
   32 |
   33 |     ctx->data = data;
      |
/Users/admin/builder/spi-builder-workspace/Sources/whisper_cpp/coreml/whisper-encoder.mm:56:5: warning: 'whisper_encoder_implOutput' is only available on macOS 12.0 or newer [-Wunguarded-availability-new]
   56 |     whisper_encoder_implOutput * outCoreML = [(__bridge id) ctx->data predictionFromLogmel_data:inMultiArray error:nil];
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/whisper_cpp/coreml/whisper-encoder-impl.h:29:12: note: 'whisper_encoder_implOutput' has been marked as being introduced in macOS 12.0 here, but the deployment target is macOS 10.13.0
   29 | @interface whisper_encoder_implOutput : NSObject<MLFeatureProvider>
      |            ^
/Users/admin/builder/spi-builder-workspace/Sources/whisper_cpp/coreml/whisper-encoder.mm:56:5: note: enclose 'whisper_encoder_implOutput' in an @available check to silence this warning
   56 |     whisper_encoder_implOutput * outCoreML = [(__bridge id) ctx->data predictionFromLogmel_data:inMultiArray error:nil];
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~
2 warnings generated.
[2/6] Compiling whisper-encoder.mm
[3/6] Compiling whisper-encoder-impl.m
[4/6] Compiling whisper_cpp ggml.c
[5/6] Compiling whisper_cpp whisper.cpp
[7/14] Compiling SwiftWhisper WhisperSamplingStrategy.swift
[8/14] Compiling SwiftWhisper WhisperParams.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftWhisper/WhisperParams.swift:7:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'WhisperParams' may have shared mutable state; this is an error in the Swift 6 language mode
 4 | // swiftlint:disable identifier_name
 5 | @dynamicMemberLookup
 6 | public class WhisperParams {
   |              `- note: class 'WhisperParams' does not conform to the 'Sendable' protocol
 7 |     public static let `default` = WhisperParams(strategy: .greedy)
   |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'WhisperParams' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'default' 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
 8 |
 9 |     internal var whisperParams: whisper_full_params
[9/14] Compiling SwiftWhisper Segment.swift
[10/14] Compiling SwiftWhisper WhisperDelegate.swift
[11/14] Compiling SwiftWhisper WhisperLanguage.swift
[12/14] Compiling SwiftWhisper WhisperError.swift
[13/14] Emitting module SwiftWhisper
/Users/admin/builder/spi-builder-workspace/Sources/SwiftWhisper/WhisperParams.swift:7:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'WhisperParams' may have shared mutable state; this is an error in the Swift 6 language mode
 4 | // swiftlint:disable identifier_name
 5 | @dynamicMemberLookup
 6 | public class WhisperParams {
   |              `- note: class 'WhisperParams' does not conform to the 'Sendable' protocol
 7 |     public static let `default` = WhisperParams(strategy: .greedy)
   |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'WhisperParams' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'default' 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
 8 |
 9 |     internal var whisperParams: whisper_full_params
[14/14] Compiling SwiftWhisper Whisper.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftWhisper/WhisperParams.swift:7:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'WhisperParams' may have shared mutable state; this is an error in the Swift 6 language mode
 4 | // swiftlint:disable identifier_name
 5 | @dynamicMemberLookup
 6 | public class WhisperParams {
   |              `- note: class 'WhisperParams' does not conform to the 'Sendable' protocol
 7 |     public static let `default` = WhisperParams(strategy: .greedy)
   |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'WhisperParams' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'default' 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
 8 |
 9 |     internal var whisperParams: whisper_full_params
/Users/admin/builder/spi-builder-workspace/Sources/SwiftWhisper/Whisper.swift:72:17: warning: capture of 'delegate' with non-sendable type 'any WhisperDelegate' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 70 |
 71 |             DispatchQueue.main.async {
 72 |                 delegate.whisper(whisper, didProcessNewSegments: newSegments, atIndex: Int(startIndex))
    |                 `- warning: capture of 'delegate' with non-sendable type 'any WhisperDelegate' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 73 |             }
 74 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftWhisper/WhisperDelegate.swift:3:17: note: protocol 'WhisperDelegate' does not conform to the 'Sendable' protocol
 1 | import Foundation
 2 |
 3 | public protocol WhisperDelegate: AnyObject {
   |                 `- note: protocol 'WhisperDelegate' does not conform to the 'Sendable' protocol
 4 |     func whisper(_ aWhisper: Whisper, didUpdateProgress progress: Double)
 5 |     func whisper(_ aWhisper: Whisper, didProcessNewSegments segments: [Segment], atIndex index: Int)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftWhisper/Whisper.swift:72:34: warning: capture of 'whisper' with non-sendable type 'Whisper' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  2 | import whisper_cpp
  3 |
  4 | public class Whisper {
    |              `- note: class 'Whisper' does not conform to the 'Sendable' protocol
  5 |     private let whisperContext: OpaquePointer
  6 |     private var unmanagedSelf: Unmanaged<Whisper>?
    :
 70 |
 71 |             DispatchQueue.main.async {
 72 |                 delegate.whisper(whisper, didProcessNewSegments: newSegments, atIndex: Int(startIndex))
    |                                  `- warning: capture of 'whisper' with non-sendable type 'Whisper' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 73 |             }
 74 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftWhisper/Whisper.swift:72:66: warning: capture of 'newSegments' with non-sendable type '[Segment]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 70 |
 71 |             DispatchQueue.main.async {
 72 |                 delegate.whisper(whisper, didProcessNewSegments: newSegments, atIndex: Int(startIndex))
    |                                                                  `- warning: capture of 'newSegments' with non-sendable type '[Segment]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 73 |             }
 74 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftWhisper/Segment.swift:3:15: note: consider making struct 'Segment' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct Segment: Equatable {
  |               `- note: consider making struct 'Segment' conform to the 'Sendable' protocol
4 |     public let startTime: Int
5 |     public let endTime: Int
/Users/admin/builder/spi-builder-workspace/Sources/SwiftWhisper/Whisper.swift:72:66: warning: reference to captured var 'newSegments' in concurrently-executing code; this is an error in the Swift 6 language mode
 70 |
 71 |             DispatchQueue.main.async {
 72 |                 delegate.whisper(whisper, didProcessNewSegments: newSegments, atIndex: Int(startIndex))
    |                                                                  `- warning: reference to captured var 'newSegments' in concurrently-executing code; this is an error in the Swift 6 language mode
 73 |             }
 74 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftWhisper/Whisper.swift:94:17: warning: capture of 'whisper' with non-sendable type 'Whisper' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  2 | import whisper_cpp
  3 |
  4 | public class Whisper {
    |              `- note: class 'Whisper' does not conform to the 'Sendable' protocol
  5 |     private let whisperContext: OpaquePointer
  6 |     private var unmanagedSelf: Unmanaged<Whisper>?
    :
 92 |
 93 |             DispatchQueue.main.async {
 94 |                 whisper.delegate?.whisper(whisper, didUpdateProgress: Double(progress) / 100)
    |                 `- warning: capture of 'whisper' with non-sendable type 'Whisper' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 95 |             }
 96 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftWhisper/Whisper.swift:127:26: warning: capture of 'self' with non-sendable type 'Whisper' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  2 | import whisper_cpp
  3 |
  4 | public class Whisper {
    |              `- note: class 'Whisper' does not conform to the 'Sendable' protocol
  5 |     private let whisperContext: OpaquePointer
  6 |     private var unmanagedSelf: Unmanaged<Whisper>?
    :
125 |
126 |         DispatchQueue.global(qos: .userInitiated).async {
127 |             whisper_full(self.whisperContext, self.params.whisperParams, audioFrames, Int32(audioFrames.count))
    |                          `- warning: capture of 'self' with non-sendable type 'Whisper' in a `@Sendable` closure; this is an error in the Swift 6 language mode
128 |
129 |             let segmentCount = whisper_full_n_segments(self.whisperContext)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftWhisper/Whisper.swift:156:21: warning: capture of 'wrappedCompletionHandler' with non-sendable type '(Result<[Segment], any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
154 |
155 |                     self.delegate?.whisper(self, didErrorWith: error)
156 |                     wrappedCompletionHandler(.failure(error))
    |                     |- warning: capture of 'wrappedCompletionHandler' with non-sendable type '(Result<[Segment], any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
157 |                 }
158 |             } else {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftWhisper/Whisper.swift:151:21: warning: capture of 'cancelCallback' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
149 |                 DispatchQueue.main.async {
150 |                     // Should cancel callback be called after delegate and completionHandler?
151 |                     cancelCallback()
    |                     |- warning: capture of 'cancelCallback' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
152 |
153 |                     let error = WhisperError.cancelled
/Users/admin/builder/spi-builder-workspace/Sources/SwiftWhisper/Whisper.swift:155:21: warning: capture of 'self' with non-sendable type 'Whisper' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  2 | import whisper_cpp
  3 |
  4 | public class Whisper {
    |              `- note: class 'Whisper' does not conform to the 'Sendable' protocol
  5 |     private let whisperContext: OpaquePointer
  6 |     private var unmanagedSelf: Unmanaged<Whisper>?
    :
153 |                     let error = WhisperError.cancelled
154 |
155 |                     self.delegate?.whisper(self, didErrorWith: error)
    |                     `- warning: capture of 'self' with non-sendable type 'Whisper' in a `@Sendable` closure; this is an error in the Swift 6 language mode
156 |                     wrappedCompletionHandler(.failure(error))
157 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftWhisper/Whisper.swift:156:21: warning: capture of 'wrappedCompletionHandler' with non-sendable type '(Result<[Segment], any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
154 |
155 |                     self.delegate?.whisper(self, didErrorWith: error)
156 |                     wrappedCompletionHandler(.failure(error))
    |                     |- warning: capture of 'wrappedCompletionHandler' with non-sendable type '(Result<[Segment], any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
157 |                 }
158 |             } else {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftWhisper/Whisper.swift:160:21: warning: capture of 'self' with non-sendable type 'Whisper' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  2 | import whisper_cpp
  3 |
  4 | public class Whisper {
    |              `- note: class 'Whisper' does not conform to the 'Sendable' protocol
  5 |     private let whisperContext: OpaquePointer
  6 |     private var unmanagedSelf: Unmanaged<Whisper>?
    :
158 |             } else {
159 |                 DispatchQueue.main.async {
160 |                     self.delegate?.whisper(self, didCompleteWithSegments: segments)
    |                     `- warning: capture of 'self' with non-sendable type 'Whisper' in a `@Sendable` closure; this is an error in the Swift 6 language mode
161 |                     wrappedCompletionHandler(.success(segments))
162 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftWhisper/Whisper.swift:160:75: warning: capture of 'segments' with non-sendable type '[Segment]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
158 |             } else {
159 |                 DispatchQueue.main.async {
160 |                     self.delegate?.whisper(self, didCompleteWithSegments: segments)
    |                                                                           `- warning: capture of 'segments' with non-sendable type '[Segment]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
161 |                     wrappedCompletionHandler(.success(segments))
162 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftWhisper/Segment.swift:3:15: note: consider making struct 'Segment' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct Segment: Equatable {
  |               `- note: consider making struct 'Segment' conform to the 'Sendable' protocol
4 |     public let startTime: Int
5 |     public let endTime: Int
/Users/admin/builder/spi-builder-workspace/Sources/SwiftWhisper/Whisper.swift:161:21: warning: capture of 'wrappedCompletionHandler' with non-sendable type '(Result<[Segment], any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
159 |                 DispatchQueue.main.async {
160 |                     self.delegate?.whisper(self, didCompleteWithSegments: segments)
161 |                     wrappedCompletionHandler(.success(segments))
    |                     |- warning: capture of 'wrappedCompletionHandler' with non-sendable type '(Result<[Segment], any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
162 |                 }
163 |             }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftWhisper/Whisper.swift:160:75: warning: reference to captured var 'segments' in concurrently-executing code; this is an error in the Swift 6 language mode
158 |             } else {
159 |                 DispatchQueue.main.async {
160 |                     self.delegate?.whisper(self, didCompleteWithSegments: segments)
    |                                                                           `- warning: reference to captured var 'segments' in concurrently-executing code; this is an error in the Swift 6 language mode
161 |                     wrappedCompletionHandler(.success(segments))
162 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftWhisper/Whisper.swift:161:55: warning: reference to captured var 'segments' in concurrently-executing code; this is an error in the Swift 6 language mode
159 |                 DispatchQueue.main.async {
160 |                     self.delegate?.whisper(self, didCompleteWithSegments: segments)
161 |                     wrappedCompletionHandler(.success(segments))
    |                                                       `- warning: reference to captured var 'segments' in concurrently-executing code; this is an error in the Swift 6 language mode
162 |                 }
163 |             }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftWhisper/Whisper.swift:72:17: warning: sending 'delegate' risks causing data races; this is an error in the Swift 6 language mode
 70 |
 71 |             DispatchQueue.main.async {
 72 |                 delegate.whisper(whisper, didProcessNewSegments: newSegments, atIndex: Int(startIndex))
    |                 |- warning: sending 'delegate' risks causing data races; this is an error in the Swift 6 language mode
    |                 `- note: task-isolated 'delegate' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
 73 |             }
 74 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftWhisper/Whisper.swift:72:34: warning: sending 'whisper' risks causing data races; this is an error in the Swift 6 language mode
 70 |
 71 |             DispatchQueue.main.async {
 72 |                 delegate.whisper(whisper, didProcessNewSegments: newSegments, atIndex: Int(startIndex))
    |                                  |- warning: sending 'whisper' risks causing data races; this is an error in the Swift 6 language mode
    |                                  `- note: task-isolated 'whisper' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
 73 |             }
 74 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftWhisper/Whisper.swift:94:17: warning: sending 'whisper' risks causing data races; this is an error in the Swift 6 language mode
 92 |
 93 |             DispatchQueue.main.async {
 94 |                 whisper.delegate?.whisper(whisper, didUpdateProgress: Double(progress) / 100)
    |                 |- warning: sending 'whisper' risks causing data races; this is an error in the Swift 6 language mode
    |                 `- note: task-isolated 'whisper' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
 95 |             }
 96 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftWhisper/Whisper.swift:151:21: warning: sending 'cancelCallback' risks causing data races; this is an error in the Swift 6 language mode
147 |
148 |             if let cancelCallback = self.cancelCallback {
149 |                 DispatchQueue.main.async {
    |                                          `- note: access can happen concurrently
150 |                     // Should cancel callback be called after delegate and completionHandler?
151 |                     cancelCallback()
    |                     |- warning: sending 'cancelCallback' risks causing data races; this is an error in the Swift 6 language mode
    |                     `- note: 'cancelCallback' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
152 |
153 |                     let error = WhisperError.cancelled
/Users/admin/builder/spi-builder-workspace/Sources/SwiftWhisper/Whisper.swift:155:21: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
153 |                     let error = WhisperError.cancelled
154 |
155 |                     self.delegate?.whisper(self, didErrorWith: error)
    |                     |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                     `- note: 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
156 |                     wrappedCompletionHandler(.failure(error))
157 |                 }
    :
163 |             }
164 |
165 |             self.frameCount = nil
    |                             `- note: access can happen concurrently
166 |             self.cancelCallback = nil
167 |             self.inProgress = false
/Users/admin/builder/spi-builder-workspace/Sources/SwiftWhisper/Whisper.swift:160:21: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
158 |             } else {
159 |                 DispatchQueue.main.async {
160 |                     self.delegate?.whisper(self, didCompleteWithSegments: segments)
    |                     |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                     `- note: 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
161 |                     wrappedCompletionHandler(.success(segments))
162 |                 }
163 |             }
164 |
165 |             self.frameCount = nil
    |                             `- note: access can happen concurrently
166 |             self.cancelCallback = nil
167 |             self.inProgress = false
/Users/admin/builder/spi-builder-workspace/Sources/SwiftWhisper/Whisper.swift:184:26: warning: sending 'segments' risks causing data races; this is an error in the Swift 6 language mode
182 |                 switch result {
183 |                 case .success(let segments):
184 |                     cont.resume(returning: segments)
    |                          |- warning: sending 'segments' risks causing data races; this is an error in the Swift 6 language mode
    |                          `- note: task-isolated 'segments' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
185 |                 case .failure(let error):
186 |                     cont.resume(throwing: error)
Build complete! (11.84s)
Build complete.
{
  "cxx_language_standard" : "c++11",
  "dependencies" : [
  ],
  "manifest_display_name" : "SwiftWhisper",
  "name" : "SwiftWhisper",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SwiftWhisper",
      "targets" : [
        "SwiftWhisper"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "whisper_cpp",
      "module_type" : "ClangTarget",
      "name" : "whisper_cpp",
      "path" : "Sources/whisper_cpp",
      "product_memberships" : [
        "SwiftWhisper"
      ],
      "sources" : [
        "coreml/whisper-encoder-impl.m",
        "coreml/whisper-encoder.mm",
        "ggml.c",
        "whisper.cpp"
      ],
      "type" : "library"
    },
    {
      "c99name" : "WhisperTests",
      "module_type" : "SwiftTarget",
      "name" : "WhisperTests",
      "path" : "Tests/WhisperTests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/WhisperTests/TestResources",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "File Tests/AudioFileTestCase.swift",
        "File Tests/ModelFileTestCase.swift",
        "File Tests/ResourceDependentTestCase.swift",
        "Model Tests/LoadModelTests.swift",
        "Transcription Tests/TranscriptionCancellationTests.swift",
        "Transcription Tests/TranscriptionParameterTests.swift",
        "Transcription Tests/TranscriptionTests.swift"
      ],
      "target_dependencies" : [
        "SwiftWhisper"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftWhisper",
      "module_type" : "SwiftTarget",
      "name" : "SwiftWhisper",
      "path" : "Sources/SwiftWhisper",
      "product_memberships" : [
        "SwiftWhisper"
      ],
      "sources" : [
        "Segment.swift",
        "Whisper.swift",
        "WhisperDelegate.swift",
        "WhisperError.swift",
        "WhisperLanguage.swift",
        "WhisperParams.swift",
        "WhisperSamplingStrategy.swift"
      ],
      "target_dependencies" : [
        "whisper_cpp"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
✅  Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path:  $PWD/.docs/exphat/swiftwhisper/master
Repository:               exPHAT/SwiftWhisper
Swift version used:       6.0
Target:                   SwiftWhisper
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/swift-docc-render-artifact/.git/
From https://github.com/swiftlang/swift-docc-render-artifact
 * branch            88815688627177b9716a01ca41da19397bd30e47 -> FETCH_HEAD
HEAD is now at 8881568 Update the artifact
Extracting symbol information for 'SwiftWhisper'...
Finished extracting symbol information for 'SwiftWhisper'. (2.93s)
Building documentation for 'SwiftWhisper'...
Finished building documentation for 'SwiftWhisper' (0.16s)
Generated documentation archive at:
  /Users/admin/builder/spi-builder-workspace/.docs/exphat/swiftwhisper/master
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/2038] Fetching swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.23s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.3 (0.65s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3168] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.27s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.68s)
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
Building for debugging...
[0/8] Write sources
[3/8] Write snippet-extract-tool-entitlement.plist
[4/8] Write swift-version--7754E27361AE5C74.txt
[6/53] Compiling SymbolKit Identifier.swift
[7/53] Compiling SymbolKit KindIdentifier.swift
[8/53] Compiling SymbolKit Location.swift
[9/53] Compiling SymbolKit Mutability.swift
[10/57] Compiling SymbolKit SemanticVersion.swift
[11/57] Compiling SymbolKit AccessControl.swift
[12/57] Compiling SymbolKit Availability.swift
[13/57] Compiling SymbolKit AvailabilityItem.swift
[14/57] Compiling SymbolKit Domain.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 Relationship.swift
[22/57] Compiling SymbolKit RelationshipKind.swift
[23/57] Compiling SymbolKit SourceOrigin.swift
[24/57] Compiling SymbolKit GenericConstraints.swift
[25/57] Compiling SymbolKit Swift.swift
[26/57] Compiling SymbolKit GenericConstraint.swift
[27/57] Compiling SymbolKit GenericParameter.swift
[28/57] Compiling SymbolKit Generics.swift
[29/57] Compiling SymbolKit Namespace.swift
[30/57] Compiling SymbolKit SourceRange.swift
[31/57] Compiling SymbolKit Metadata.swift
[32/57] Compiling SymbolKit Module.swift
[33/57] Compiling SymbolKit OperatingSystem.swift
[34/57] Compiling SymbolKit Platform.swift
[35/57] Compiling SymbolKit Names.swift
[36/57] Compiling SymbolKit SPI.swift
[37/57] Compiling SymbolKit Snippet.swift
[38/57] Compiling SymbolKit Extension.swift
[39/57] Compiling SymbolKit Symbol.swift
[40/57] Compiling SymbolKit SymbolKind.swift
[41/57] Compiling SymbolKit SymbolGraph.swift
[42/57] Compiling SymbolKit GraphCollector.swift
[43/57] Compiling SymbolKit DeclarationFragments.swift
[44/57] Compiling SymbolKit Fragment.swift
[45/57] Compiling SymbolKit FragmentKind.swift
[46/57] Compiling SymbolKit FunctionParameter.swift
[47/57] Compiling SymbolKit FunctionSignature.swift
[48/57] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[49/57] Compiling SymbolKit UnifiedSymbol.swift
[50/57] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[51/57] Compiling SymbolKit UnifiedSymbolGraph.swift
[52/57] Compiling Snippets Snippet.swift
[53/57] Emitting module Snippets
[54/57] Compiling Snippets SnippetParser.swift
[55/61] Compiling snippet_extract URL+Status.swift
[56/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[57/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Emitting module snippet_extract
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (4.42s)
Building for debugging...
[0/1] Write swift-version--7754E27361AE5C74.txt
[2/9] Compiling SwiftWhisper WhisperDelegate.swift
[3/9] Compiling SwiftWhisper WhisperError.swift
[4/9] Compiling SwiftWhisper WhisperLanguage.swift
[5/9] Compiling SwiftWhisper WhisperSamplingStrategy.swift
[6/9] Compiling SwiftWhisper WhisperParams.swift
[7/9] Emitting module SwiftWhisper
[8/9] Compiling SwiftWhisper Segment.swift
[9/9] Compiling SwiftWhisper Whisper.swift
Build of target: 'SwiftWhisper' complete! (0.81s)
     382
3	/Users/admin/builder/spi-builder-workspace/.docs/exphat/swiftwhisper/master
✅  Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/exphat/swiftwhisper/master
File count: 382
Doc size:   3.0MB
Preparing doc bundle ...
Uploading prod-exphat-swiftwhisper-master-a3528444.zip to s3://spi-docs-inbox/prod-exphat-swiftwhisper-master-a3528444.zip
Copying... [20%]
Copying... [30%]
Copying... [40%]
Copying... [50%]
Copying... [60%]
Copying... [70%]
Copying... [80%]
Copying... [90%]
Copying... [100%]
Copying... [100%]
Done.