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 mlx-libraries, reference 2.25.7 (dddb0b), with Swift 5.10 for Linux on 2 Sep 2025 19:48:56 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ml-explore/mlx-swift-examples.git
Reference: 2.25.7
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/ml-explore/mlx-swift-examples
 * tag               2.25.7     -> FETCH_HEAD
HEAD is now at dddb0b3 increment version on swift-transformers (#381)
Cloned https://github.com/ml-explore/mlx-swift-examples.git
Revision (git rev-parse @):
dddb0b3871390dd9dea8e7ff2c347cf7e74cec9d
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/ml-explore/mlx-swift-examples.git at 2.25.7
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $PWD
https://github.com/ml-explore/mlx-swift-examples.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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: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:f746aad7c5ec38b8c4300eda0f2f0c9a0b77dcddb8dbf0ff5a0c28d11b933b5b
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Fetching https://github.com/huggingface/swift-transformers
Fetching https://github.com/ml-explore/mlx-swift
Fetching https://github.com/1024jp/GzipSwift
[1/1557] Fetching gzipswift
[1558/5182] Fetching gzipswift, swift-transformers
[2138/16301] Fetching gzipswift, swift-transformers, mlx-swift
Fetched https://github.com/huggingface/swift-transformers from cache (0.89s)
Fetched https://github.com/1024jp/GzipSwift from cache (1.31s)
Fetched https://github.com/ml-explore/mlx-swift from cache (1.32s)
Computing version for https://github.com/1024jp/GzipSwift
Computed https://github.com/1024jp/GzipSwift at 6.0.1 (1.59s)
Computing version for https://github.com/huggingface/swift-transformers
Computed https://github.com/huggingface/swift-transformers at 0.1.23 (0.46s)
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/johnmai-dev/Jinja
[1/516] Fetching jinja
[517/16206] Fetching jinja, swift-argument-parser
Fetched https://github.com/johnmai-dev/Jinja from cache (1.00s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.02s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.4.0 (0.43s)
Computing version for https://github.com/ml-explore/mlx-swift
Computed https://github.com/ml-explore/mlx-swift at 0.25.6 (0.57s)
Fetching https://github.com/apple/swift-numerics
[1/6348] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (0.54s)
Computing version for https://github.com/johnmai-dev/Jinja
Computed https://github.com/johnmai-dev/Jinja at 1.2.4 (0.49s)
Fetching https://github.com/apple/swift-collections.git
[1/17394] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.30s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.0 (0.53s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.1 (0.60s)
Creating working copy for https://github.com/ml-explore/mlx-swift
Working copy of https://github.com/ml-explore/mlx-swift resolved at 0.25.6
Creating working copy for https://github.com/huggingface/swift-transformers
Working copy of https://github.com/huggingface/swift-transformers resolved at 0.1.23
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.1.0
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
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.4.0
Creating working copy for https://github.com/1024jp/GzipSwift
Working copy of https://github.com/1024jp/GzipSwift resolved at 6.0.1
Creating working copy for https://github.com/johnmai-dev/Jinja
Working copy of https://github.com/johnmai-dev/Jinja resolved at 1.2.4
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/183] Write sources
[17/183] Copying gpt2_tokenizer_config.json
[18/183] Write sources
[25/183] Copying t5_tokenizer_config.json
[27/183] Compiling _NumericsShims _NumericsShims.c
[28/183] Compiling system-zlib anchor.c
[29/183] Compiling version.cpp
[30/183] Compiling utils.cpp
[31/183] Compiling scheduler.cpp
[32/183] Compiling random.cpp
[33/183] Compiling format.cc
[34/183] Write swift-version-24593BA9C3E375BF.txt
[35/183] Compiling array.cpp
error: emit-module command failed with exit code 1 (use -v to see invocation)
[37/193] Emitting module TensorUtils
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/TensorUtils/LogitsWarper/TopKLogitsWarper.swift:1:8: error: no such module 'Accelerate'
import Accelerate
       ^
[37/194] Compiling no_gguf.cpp
[38/205] Compiling transforms.cpp
[39/219] Compiling primitives.cpp
[40/226] Compiling linalg.cpp
[41/228] Compiling load.cpp
[43/228] Compiling RealModule RealFunctions.swift
[44/229] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[45/229] Compiling InternalCollectionsUtilities Integer rank.swift
[46/229] Compiling RealModule RelaxedArithmetic.swift
[47/229] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[48/229] Compiling InternalCollectionsUtilities _SortedCollection.swift
[49/229] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[50/229] Compiling InternalCollectionsUtilities Debugging.swift
[51/230] Emitting module RealModule
[54/230] Compiling InternalCollectionsUtilities Descriptions.swift
[55/230] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[56/230] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[57/230] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[58/230] Compiling InternalCollectionsUtilities UInt+reversed.swift
[59/230] Emitting module InternalCollectionsUtilities
[60/230] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[61/230] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[62/230] Compiling TensorUtils Weights.swift
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/TensorUtils/LogitsWarper/TopKLogitsWarper.swift:1:8: error: no such module 'Accelerate'
import Accelerate
       ^
[63/230] Compiling RealModule Real.swift
[66/230] Compiling RealModule Float80+Real.swift
[69/230] Compiling RealModule Float16+Real.swift
[71/231] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[73/243] Compiling ComplexModule Polar.swift
[74/244] Compiling ComplexModule Complex+StringConvertible.swift
[75/244] Compiling ComplexModule Complex.swift
[76/244] Compiling ComplexModule Complex+Numeric.swift
[77/244] Compiling ComplexModule Complex+Hashable.swift
[78/244] Compiling ComplexModule Complex+IntegerLiteral.swift
[79/244] Compiling ComplexModule Scale.swift
[80/244] Compiling Hub Config.swift
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/Hub/Downloader.swift:9:8: error: no such module 'Combine'
import Combine
       ^
[81/244] Compiling TensorUtils MLShapedArray+Utils.swift
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/TensorUtils/LogitsWarper/TopKLogitsWarper.swift:1:8: error: no such module 'Accelerate'
import Accelerate
       ^
[82/244] Compiling TensorUtils Math.swift
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/TensorUtils/LogitsWarper/TopKLogitsWarper.swift:1:8: error: no such module 'Accelerate'
import Accelerate
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[83/244] Emitting module Hub
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/Hub/Downloader.swift:9:8: error: no such module 'Combine'
import Combine
       ^
[84/244] Compiling Hub BinaryDistinct.swift
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/Hub/Downloader.swift:9:8: error: no such module 'Combine'
import Combine
       ^
[85/244] Compiling ComplexModule Complex+Codable.swift
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/TensorUtils/LogitsWarper/TopKLogitsWarper.swift:1:8: error: no such module 'Accelerate'
import Accelerate
       ^
[86/244] Compiling ComplexModule Complex+ElementaryFunctions.swift
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/TensorUtils/LogitsWarper/TopKLogitsWarper.swift:1:8: error: no such module 'Accelerate'
import Accelerate
       ^
[87/244] Compiling ComplexModule Complex+AdditiveArithmetic.swift
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/TensorUtils/LogitsWarper/TopKLogitsWarper.swift:1:8: error: no such module 'Accelerate'
import Accelerate
       ^
[88/244] Compiling ComplexModule Complex+AlgebraicField.swift
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/TensorUtils/LogitsWarper/TopKLogitsWarper.swift:1:8: error: no such module 'Accelerate'
import Accelerate
       ^
[89/244] Compiling TensorUtils MLMultiArray+Utils.swift
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/TensorUtils/LogitsWarper/TopKLogitsWarper.swift:1:8: error: no such module 'Accelerate'
import Accelerate
       ^
[90/244] Compiling TensorUtils TopPLogitsWarper.swift
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/TensorUtils/LogitsWarper/TopKLogitsWarper.swift:1:8: error: no such module 'Accelerate'
import Accelerate
       ^
[91/244] Compiling TensorUtils TopKLogitsWarper.swift
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/TensorUtils/LogitsWarper/TopKLogitsWarper.swift:1:8: error: no such module 'Accelerate'
import Accelerate
       ^
error: fatalError
[91/244] Compiling graph_utils.cpp
[91/244] Compiling fft.cpp
[92/244] Compiling Hub Downloader.swift
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/Hub/Downloader.swift:9:8: error: no such module 'Combine'
import Combine
       ^
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/Hub/Downloader.swift:9:8: error: no such module 'Combine'
import Combine
       ^
[93/244] Emitting module Gzip
[93/244] Compiling safetensors.cpp
[93/244] Compiling ops.cpp
BUILD FAILURE 5.10 linux