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

Failed to build whisperkit, reference main (3a3804), with Swift 6.2 (beta) for Wasm on 11 Sep 2025 21:26:34 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/argmaxinc/whisperkit.git
Reference: main
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/argmaxinc/whisperkit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 3a38043 Add WhisperKit Local Server with audio transcription and translation APIs (#348)
Cloned https://github.com/argmaxinc/whisperkit.git
Revision (git rev-parse @):
3a380435ce1b28c488db301864f9b1de329a63e6
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/argmaxinc/whisperkit.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/argmaxinc/whisperkit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:3160178686d03086db4c1712d78c1980537bb37521128c64baade7f466b6b4aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/huggingface/swift-transformers.git
[1/15920] Fetching swift-argument-parser
[797/19889] Fetching swift-argument-parser, swift-transformers
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.46s)
Fetched https://github.com/huggingface/swift-transformers.git from cache (1.46s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.6.1 (1.85s)
Computing version for https://github.com/huggingface/swift-transformers.git
Computed https://github.com/huggingface/swift-transformers.git at 0.1.15 (0.35s)
Fetching https://github.com/johnmai-dev/Jinja
[1/572] Fetching jinja
Fetched https://github.com/johnmai-dev/Jinja from cache (0.25s)
Computing version for https://github.com/johnmai-dev/Jinja
Computed https://github.com/johnmai-dev/Jinja at 1.3.0 (0.68s)
Fetching https://github.com/apple/swift-collections.git
[1/17453] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.17s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.1 (1.83s)
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/johnmai-dev/Jinja
Working copy of https://github.com/johnmai-dev/Jinja resolved at 1.3.0
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.6.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.2.1
warning: 'spi-builder-workspace': Invalid Resource 'Models/whisperkit-coreml': File not found.
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/31] Write sources
[2/31] Copying t5_tokenizer_config.json
[2/31] Write sources
[14/31] Copying gpt2_tokenizer_config.json
[16/31] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[18/62] Emitting module TensorUtils
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/TensorUtils/LogitsWarper/LogitsProcessor.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct LogitsProcessor {
[19/62] Compiling TensorUtils MLMultiArray+Utils.swift
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/TensorUtils/LogitsWarper/LogitsProcessor.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct LogitsProcessor {
[20/62] Compiling TensorUtils LogitsProcessor.swift
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/TensorUtils/LogitsWarper/LogitsProcessor.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct LogitsProcessor {
[21/62] Compiling TensorUtils LogitsWarper.swift
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/TensorUtils/LogitsWarper/LogitsProcessor.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct LogitsProcessor {
[22/63] Compiling TensorUtils Math.swift
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/TensorUtils/LogitsWarper/LogitsProcessor.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct LogitsProcessor {
[23/63] Compiling TensorUtils MLShapedArray+Utils.swift
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/TensorUtils/LogitsWarper/LogitsProcessor.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct LogitsProcessor {
[24/63] Compiling TensorUtils TopPLogitsWarper.swift
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/TensorUtils/LogitsWarper/LogitsProcessor.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct LogitsProcessor {
[25/63] Compiling Hub Downloader.swift
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/Hub/Downloader.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 | import Combine
 11 |
[26/63] Compiling Hub Hub.swift
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/Hub/Downloader.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 | import Combine
 11 |
[27/63] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[28/63] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[29/63] Compiling InternalCollectionsUtilities Debugging.swift
[30/63] Compiling TensorUtils RepetitionPenaltyWarper.swift
[31/63] Compiling TensorUtils TemperatureLogitsWarper.swift
[32/63] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[33/63] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[34/63] Compiling InternalCollectionsUtilities Descriptions.swift
[35/63] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[36/64] Compiling TensorUtils TopKLogitsWarper.swift
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/TensorUtils/LogitsWarper/LogitsProcessor.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct LogitsProcessor {
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/TensorUtils/LogitsWarper/LogitsProcessor.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct LogitsProcessor {
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/TensorUtils/LogitsWarper/LogitsProcessor.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct LogitsProcessor {
[39/64] Emitting module InternalCollectionsUtilities
[40/64] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[41/64] Compiling InternalCollectionsUtilities UInt+reversed.swift
[42/64] Compiling Hub resource_bundle_accessor.swift
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/Hub/Downloader.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 | import Combine
 11 |
[45/64] Compiling TensorUtils Weights.swift
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/TensorUtils/LogitsWarper/LogitsProcessor.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct LogitsProcessor {
[46/64] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[47/65] Emitting module Hub
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/Hub/Downloader.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 | import Combine
 11 |
[48/65] Emitting module ArgumentParserToolInfo
BUILD FAILURE 6.2 wasm