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 1.2.0 (a19200), with Swift 6.2 (beta) for Linux on 20 Jun 2025 09:48:37 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/exPHAT/SwiftWhisper.git
Reference: 1.2.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/exPHAT/SwiftWhisper
 * tag               1.2.0      -> FETCH_HEAD
HEAD is now at a192004 Merge pull request #25 from exPHAT/enhanced_platform_support
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 '/host/spi-builder-workspace/whisper.cpp'...
Submodule 'bindings/ios' (https://github.com/ggerganov/whisper.spm) registered for path 'whisper.cpp/bindings/ios'
Cloning into '/host/spi-builder-workspace/whisper.cpp/bindings/ios'...
Cloned https://github.com/exPHAT/SwiftWhisper.git
Revision (git rev-parse @):
a192004db08de7c6eaa169eede77f1625e7d23fb
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/exPHAT/SwiftWhisper.git at 1.2.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/exPHAT/SwiftWhisper.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Building for debugging...
[0/4] Write sources
[1/4] Write swift-version-24593BA9C3E375BF.txt
[2/4] Compiling whisper_cpp ggml.c
[3/4] Compiling whisper_cpp whisper.cpp
[5/12] Compiling SwiftWhisper WhisperParams.swift
[6/12] Compiling SwiftWhisper WhisperSamplingStrategy.swift
[7/12] Compiling SwiftWhisper WhisperError.swift
[8/12] Emitting module SwiftWhisper
[9/12] Compiling SwiftWhisper WhisperDelegate.swift
[10/12] Compiling SwiftWhisper WhisperLanguage.swift
[11/12] Compiling SwiftWhisper Whisper.swift
/host/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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
161 |                     wrappedCompletionHandler(.success(segments))
162 |                 }
/host/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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
162 |                 }
163 |             }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[12/12] Compiling SwiftWhisper Segment.swift
Build complete! (27.31s)
Build complete.
{
  "cxx_language_standard" : "c++11",
  "dependencies" : [
  ],
  "manifest_display_name" : "SwiftWhisper",
  "name" : "SwiftWhisper",
  "path" : "/host/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" : [
        "ggml.c",
        "whisper.cpp"
      ],
      "type" : "library"
    },
    {
      "c99name" : "WhisperTests",
      "module_type" : "SwiftTarget",
      "name" : "WhisperTests",
      "path" : "Tests/WhisperTests",
      "resources" : [
        {
          "path" : "/host/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"
}
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Done.