The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of SwiftWhisper, reference master (c34019), with Swift 6.2 (beta) for macOS (SPM) on 20 Jun 2025 09:42:30 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.64.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
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/exPHAT/SwiftWhisper.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/6] Write sources
[1/6] Write swift-version-1EA4D86E10B52AF.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 WhisperError.swift
[8/14] Compiling SwiftWhisper WhisperSamplingStrategy.swift
[9/14] Compiling SwiftWhisper WhisperLanguage.swift
[10/14] Compiling SwiftWhisper WhisperParams.swift
[11/14] Compiling SwiftWhisper WhisperDelegate.swift
[12/14] Compiling SwiftWhisper Segment.swift
[13/14] Emitting module SwiftWhisper
[14/14] Compiling SwiftWhisper Whisper.swift
Build complete! (5.30s)
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"
}
Done.