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.2 (beta) for Linux on 3 Jul 2025 22:36:57 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/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.2
Building package at path:  $PWD
https://github.com/apple/ml-stable-diffusion.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/huggingface/swift-transformers.git
[1/3303] Fetching swift-transformers
[959/18811] Fetching swift-transformers, swift-argument-parser
Fetched https://github.com/huggingface/swift-transformers.git from cache (0.64s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.95s)
Computing version for https://github.com/huggingface/swift-transformers.git
Computed https://github.com/huggingface/swift-transformers.git at 0.1.8 (1.37s)
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.39s)
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 t5_tokenizer_config.json
[1/24] Copying gpt2_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 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.
error: emit-module command failed with exit code 1 (use -v to see invocation)
[15/41] 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 {
[16/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.
[17/41] Emitting module ArgumentParserToolInfo
[18/41] Compiling ArgumentParserToolInfo ToolInfo.swift
[19/42] Wrapping AST for ArgumentParserToolInfo for debugging
[21/79] Compiling ArgumentParser Option.swift
[22/79] Compiling ArgumentParser OptionGroup.swift
[23/79] Compiling ArgumentParser AsyncParsableCommand.swift
[24/79] Compiling ArgumentParser CommandConfiguration.swift
[25/79] Compiling ArgumentParser EnumerableFlag.swift
[26/84] Compiling ArgumentParser ArgumentVisibility.swift
[27/84] Compiling ArgumentParser CompletionKind.swift
[28/84] Compiling ArgumentParser Errors.swift
[29/84] Compiling ArgumentParser Flag.swift
[30/84] Compiling ArgumentParser NameSpecification.swift
[31/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.
[32/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 {
[33/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.
[34/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.
[35/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 {
[36/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 {
[37/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.
[38/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.
[39/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.
[40/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.
[41/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.
/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.2 linux