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 Linux on 20 Jun 2025 09:40:17 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: master
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
 * 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 '/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 @):
c340197966ebd264f3135d3955874b40f8ed58bc
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/exPHAT/SwiftWhisper.git at master
========================================
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] Compiling whisper_cpp ggml.c
[2/4] Write swift-version-24593BA9C3E375BF.txt
[3/4] Compiling whisper_cpp whisper.cpp
[5/12] Emitting module SwiftWhisper
[6/12] Compiling SwiftWhisper WhisperSamplingStrategy.swift
[7/12] Compiling SwiftWhisper WhisperLanguage.swift
[8/12] Compiling SwiftWhisper WhisperError.swift
[9/12] Compiling SwiftWhisper WhisperDelegate.swift
[10/12] Compiling SwiftWhisper Segment.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 WhisperParams.swift
Build complete! (31.46s)
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.