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 stable-diffusion, reference main (e12202), with Swift 6.0 for Linux on 3 Jul 2025 22:36:48 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-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/apple/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/ml-stable-diffusion
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at e12202c Merge pull request #368 from Aintor/main
Cloned https://github.com/apple/ml-stable-diffusion.git
Revision (git rev-parse @):
e12202c1f6405b83918b58a5d097cd61e3e1f702
SUCCESS checkout https://github.com/apple/ml-stable-diffusion.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/apple/ml-stable-diffusion.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:f0ebbd71bee66c692411a61ab9a7ee6edc82316b7a7b4c6173cc06c00f20ed39
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/huggingface/swift-transformers.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/3303] Fetching swift-transformers
[563/18811] Fetching swift-transformers, swift-argument-parser
Fetched https://github.com/huggingface/swift-transformers.git from cache (1.28s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.31s)
Computing version for https://github.com/huggingface/swift-transformers.git
Computed https://github.com/huggingface/swift-transformers.git at 0.1.8 (1.08s)
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.74s)
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
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
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/24] Write sources
[1/24] Copying t5_tokenizer_config.json
[1/24] Write sources
[9/24] Copying gpt2_tokenizer_config.json
[11/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 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.
[15/41] 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.
[16/41] Compiling ArgumentParserToolInfo ToolInfo.swift
[17/41] Emitting module ArgumentParserToolInfo
[18/42] Wrapping AST for ArgumentParserToolInfo for debugging
[20/79] Emitting module ArgumentParser
error: emit-module command failed with exit code 1 (use -v to see invocation)
[21/84] 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 {
[22/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.
[23/84] 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.
[24/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 {
[25/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.
[26/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.
[27/84] Compiling TensorUtils Math.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.
[28/84] 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.
[29/84] Compiling ArgumentParser BashCompletionsGenerator.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.
[30/84] Compiling ArgumentParser CompletionsGenerator.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.
[31/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 {
[32/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 {
[33/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 {
BUILD FAILURE 6.0 linux