Build Information
Failed to build stable-diffusion, reference main (e5d960
), with Swift 5.10 for Linux on 23 Jan 2025 20:09:08 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.60.1
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 e5d960c Update README.md for converting-models-to-coreml reference
Cloned https://github.com/apple/ml-stable-diffusion.git
Revision (git rev-parse @):
e5d960c41a6a4ab200b8db379194127607b1c590
SUCCESS checkout https://github.com/apple/ml-stable-diffusion.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 5.10
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-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:8b386ca1081dd55ec0944429387f246ccb59ef99c9c8cbb418b0abd78460b38f
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/huggingface/swift-transformers.git
[1/2390] Fetching swift-transformers
[312/14923] Fetching swift-transformers, swift-argument-parser
Fetched https://github.com/huggingface/swift-transformers.git from cache (0.59s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.73s)
Computing version for https://github.com/huggingface/swift-transformers.git
Computed https://github.com/huggingface/swift-transformers.git at 0.1.8 (0.36s)
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.37s)
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
[8/24] Copying gpt2_tokenizer_config.json
[8/24] Write sources
[9/24] Copying t5_tokenizer_config.json
[11/24] Write sources
[12/24] Write swift-version-24593BA9C3E375BF.txt
[14/40] Emitting module ArgumentParserToolInfo
[15/40] Compiling ArgumentParserToolInfo ToolInfo.swift
[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'
import Accelerate
^
[17/42] Wrapping AST for ArgumentParserToolInfo for debugging
[19/79] Compiling TensorUtils Math.swift
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/TensorUtils/LogitsWarper/TopKLogitsWarper.swift:2:8: error: no such module 'Accelerate'
import Accelerate
^
[20/79] Compiling TensorUtils RepetitionPenaltyWarper.swift
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/TensorUtils/LogitsWarper/TopKLogitsWarper.swift:2:8: error: no such module 'Accelerate'
import Accelerate
^
[21/79] Compiling TensorUtils TemperatureLogitsWarper.swift
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/TensorUtils/LogitsWarper/TopKLogitsWarper.swift:2:8: error: no such module 'Accelerate'
import Accelerate
^
[22/79] 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'
import Accelerate
^
[23/79] Compiling Hub Downloader.swift
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/Hub/Downloader.swift:10:8: error: no such module 'Combine'
import Combine
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[24/79] Emitting module TensorUtils
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/TensorUtils/LogitsWarper/TopKLogitsWarper.swift:2:8: error: no such module 'Accelerate'
import Accelerate
^
[25/79] Compiling ArgumentParser BashCompletionsGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/TensorUtils/LogitsWarper/TopKLogitsWarper.swift:2:8: error: no such module 'Accelerate'
import Accelerate
^
[26/79] Compiling ArgumentParser CompletionsGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/TensorUtils/LogitsWarper/TopKLogitsWarper.swift:2:8: error: no such module 'Accelerate'
import Accelerate
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[27/79] Emitting module Hub
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/Hub/Downloader.swift:10:8: error: no such module 'Combine'
import Combine
^
[28/79] Compiling Hub Hub.swift
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/Hub/Downloader.swift:10:8: error: no such module 'Combine'
import Combine
^
[29/79] Compiling Hub HubApi.swift
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/Hub/Downloader.swift:10:8: error: no such module 'Combine'
import Combine
^
[30/79] 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'
import Combine
^
error: fatalError
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/TensorUtils/LogitsWarper/TopKLogitsWarper.swift:2:8: error: no such module 'Accelerate'
import Accelerate
^
BUILD FAILURE 5.10 linux