The Swift Package Index logo.Swift Package Index

Build Information

Failed to build stable-diffusion, reference main (ea2805), with Swift 6.2 for Wasm on 14 Sep 2026 11:18:59 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 5.0.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apple-aiml-research/ml-stable-diffusion.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/apple-aiml-research/ml-stable-diffusion
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at ea2805d Update root files
Cloned https://github.com/apple-aiml-research/ml-stable-diffusion.git
Revision (git rev-parse @):
ea2805dc1945be20561c77e5f6d1d9a5a637cda2
SUCCESS checkout https://github.com/apple-aiml-research/ml-stable-diffusion.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/apple-aiml-research/ml-stable-diffusion.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:ff44196b45f83e5a0a99a627b185f548850d9bc1242e3dee2178fb1570812fe8
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest
Fetching https://github.com/huggingface/swift-transformers.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/7001] Fetching swift-transformers
[2242/25831] Fetching swift-transformers, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.80s)
Fetched https://github.com/huggingface/swift-transformers.git from cache (0.80s)
Computing version for https://github.com/huggingface/swift-transformers.git
Computed https://github.com/huggingface/swift-transformers.git at 0.1.8 (0.96s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.3.0 (0.15s)
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.3.0
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.8
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/24] Write sources
[1/24] Copying gpt2_tokenizer_config.json
[1/24] Copying t5_tokenizer_config.json
[1/24] Write sources
[12/24] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[14/40] Emitting module Hub
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/Hub/Downloader.swift:10:8: error: no such module 'Combine'
  8 |
  9 | import Foundation
 10 | import Combine
    |        `- error: no such module 'Combine'
 11 |
 12 | class Downloader: NSObject, ObservableObject {
[15/40] Emitting module ArgumentParserToolInfo
[16/40] Compiling ArgumentParserToolInfo ToolInfo.swift
[17/78] Wrapping AST for ArgumentParserToolInfo for debugging
[19/78] Emitting module ArgumentParser
[20/83] Compiling ArgumentParser BashCompletionsGenerator.swift
[21/83] Compiling ArgumentParser CompletionsGenerator.swift
[22/83] Compiling ArgumentParser FishCompletionsGenerator.swift
[23/83] Compiling ArgumentParser ZshCompletionsGenerator.swift
[24/83] Compiling ArgumentParser Argument.swift
[25/83] Compiling ArgumentParser ArgumentHelp.swift
[26/83] Compiling ArgumentParser ArgumentVisibility.swift
[27/83] Compiling ArgumentParser CompletionKind.swift
[28/83] Compiling ArgumentParser Errors.swift
[29/83] Compiling ArgumentParser Flag.swift
[30/83] Compiling ArgumentParser NameSpecification.swift
[31/83] Compiling TensorUtils RepetitionPenaltyWarper.swift
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/TensorUtils/LogitsWarper/TopKLogitsWarper.swift:2:8: error: no such module 'Accelerate'
 1 | import Foundation
 2 | import Accelerate
   |        `- error: no such module 'Accelerate'
 3 |
 4 | /// Top-K.
[32/83] Compiling TensorUtils TopPLogitsWarper.swift
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/TensorUtils/LogitsWarper/TopKLogitsWarper.swift:2:8: error: no such module 'Accelerate'
 1 | import Foundation
 2 | import Accelerate
   |        `- error: no such module 'Accelerate'
 3 |
 4 | /// Top-K.
[33/84] Compiling TensorUtils MLMultiArray+Utils.swift
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/TensorUtils/LogitsWarper/TopKLogitsWarper.swift:2:8: error: no such module 'Accelerate'
 1 | import Foundation
 2 | import Accelerate
   |        `- error: no such module 'Accelerate'
 3 |
 4 | /// Top-K.
[34/84] Compiling TensorUtils MLShapedArray+Utils.swift
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/TensorUtils/LogitsWarper/TopKLogitsWarper.swift:2:8: error: no such module 'Accelerate'
 1 | import Foundation
 2 | import Accelerate
   |        `- error: no such module 'Accelerate'
 3 |
 4 | /// Top-K.
[35/84] Compiling Hub HubApi.swift
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/Hub/Downloader.swift:10:8: error: no such module 'Combine'
  8 |
  9 | import Foundation
 10 | import Combine
    |        `- error: no such module 'Combine'
 11 |
 12 | class Downloader: NSObject, ObservableObject {
[36/84] Compiling Hub resource_bundle_accessor.swift
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/Hub/Downloader.swift:10:8: error: no such module 'Combine'
  8 |
  9 | import Foundation
 10 | import Combine
    |        `- error: no such module 'Combine'
 11 |
 12 | class Downloader: NSObject, ObservableObject {
[37/84] Compiling TensorUtils TopKLogitsWarper.swift
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/TensorUtils/LogitsWarper/TopKLogitsWarper.swift:2:8: error: no such module 'Accelerate'
 1 | import Foundation
 2 | import Accelerate
   |        `- error: no such module 'Accelerate'
 3 |
 4 | /// Top-K.
[38/84] Compiling Hub Downloader.swift
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/Hub/Downloader.swift:10:8: error: no such module 'Combine'
  8 |
  9 | import Foundation
 10 | import Combine
    |        `- error: no such module 'Combine'
 11 |
 12 | class Downloader: NSObject, ObservableObject {
[39/84] Compiling Hub Hub.swift
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/Hub/Downloader.swift:10:8: error: no such module 'Combine'
  8 |
  9 | import Foundation
 10 | import Combine
    |        `- error: no such module 'Combine'
 11 |
 12 | class Downloader: NSObject, ObservableObject {
[40/84] Compiling TensorUtils TemperatureLogitsWarper.swift
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/TensorUtils/LogitsWarper/TopKLogitsWarper.swift:2:8: error: no such module 'Accelerate'
 1 | import Foundation
 2 | import Accelerate
   |        `- error: no such module 'Accelerate'
 3 |
 4 | /// Top-K.
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/TensorUtils/LogitsWarper/TopKLogitsWarper.swift:2:8: error: no such module 'Accelerate'
 1 | import Foundation
 2 | import Accelerate
   |        `- error: no such module 'Accelerate'
 3 |
 4 | /// Top-K.
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/TensorUtils/LogitsWarper/TopKLogitsWarper.swift:2:8: error: no such module 'Accelerate'
 1 | import Foundation
 2 | import Accelerate
   |        `- error: no such module 'Accelerate'
 3 |
 4 | /// Top-K.
error: emit-module command failed with exit code 1 (use -v to see invocation)
[43/84] Emitting module TensorUtils
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/TensorUtils/LogitsWarper/TopKLogitsWarper.swift:2:8: error: no such module 'Accelerate'
 1 | import Foundation
 2 | import Accelerate
   |        `- error: no such module 'Accelerate'
 3 |
 4 | /// Top-K.
BUILD FAILURE 6.2 wasm