Build Information
Failed to build mlx-libraries, reference main (e9dfa7
), with Swift 5.10 for Linux on 14 Jun 2025 20:53:56 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ml-explore/mlx-swift-examples.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/ml-explore/mlx-swift-examples
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at e9dfa74 chore(ci): update to xcode 16.3 (#319)
Cloned https://github.com/ml-explore/mlx-swift-examples.git
Revision (git rev-parse @):
e9dfa74fdec98b9855dbf0c859a58a4ef279deeb
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/ml-explore/mlx-swift-examples.git at main
========================================
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-4609320-3":/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:1ad788796b767d29143220a0a8262556fc74f95153ebc5fddd59e7f05d9e7a2e
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/1024jp/GzipSwift
Fetching https://github.com/ml-explore/mlx-swift
[1/1557] Fetching gzipswift
[1558/4860] Fetching gzipswift, swift-transformers
[2120/15753] Fetching gzipswift, swift-transformers, mlx-swift
Fetched https://github.com/1024jp/GzipSwift from cache (0.87s)
Fetched https://github.com/ml-explore/mlx-swift from cache (0.88s)
Fetched https://github.com/huggingface/swift-transformers from cache (0.88s)
Computing version for https://github.com/1024jp/GzipSwift
Computed https://github.com/1024jp/GzipSwift at 6.0.1 (0.98s)
Computing version for https://github.com/huggingface/swift-transformers
Computed https://github.com/huggingface/swift-transformers at 0.1.21 (0.37s)
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/johnmai-dev/Jinja
[1/393] Fetching jinja
Fetched https://github.com/johnmai-dev/Jinja from cache (0.24s)
[1/15380] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.78s)
Computing version for https://github.com/ml-explore/mlx-swift
Computed https://github.com/ml-explore/mlx-swift at 0.25.4 (0.69s)
Fetching https://github.com/apple/swift-numerics
[1/5757] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (0.51s)
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.59s)
Computing version for https://github.com/johnmai-dev/Jinja
Computed https://github.com/johnmai-dev/Jinja at 1.1.2 (0.58s)
Fetching https://github.com/apple/swift-collections.git
[1/16606] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (2.31s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.88s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.0.3 (0.57s)
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.1.2
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.0.3
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.4
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.0
Creating working copy for https://github.com/huggingface/swift-transformers
Working copy of https://github.com/huggingface/swift-transformers resolved at 0.1.21
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
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/183] Write sources
[17/183] Copying t5_tokenizer_config.json
[17/183] Copying gpt2_tokenizer_config.json
[19/183] Write sources
[27/183] Compiling unary_ops.cpp
[27/183] Compiling utils.cpp
[29/183] Compiling system-zlib anchor.c
[29/183] Compiling unary.cpp
[29/183] Compiling _NumericsShims _NumericsShims.c
[32/183] Write swift-version-24593BA9C3E375BF.txt
[33/183] Compiling version.cpp
[34/183] Compiling allocator.cpp
error: emit-module command failed with exit code 1 (use -v to see invocation)
[36/203] 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
^
[36/204] Compiling scheduler.cpp
[37/204] Compiling utils.cpp
[39/225] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[40/226] 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
^
[41/226] Compiling RealModule Real.swift
[42/226] Emitting module RealModule
[43/226] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[44/226] Compiling InternalCollectionsUtilities Integer rank.swift
[45/226] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[46/226] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[47/227] Compiling RealModule ElementaryFunctions.swift
[48/227] Compiling RealModule Float16+Real.swift
[49/227] Compiling RealModule Float80+Real.swift
[50/227] Compiling RealModule Float+Real.swift
[51/227] Compiling RealModule RealFunctions.swift
[52/228] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[54/228] Compiling InternalCollectionsUtilities Descriptions.swift
[55/228] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[56/228] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[57/228] Compiling InternalCollectionsUtilities Debugging.swift
[58/228] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[59/228] Compiling InternalCollectionsUtilities _SortedCollection.swift
[60/230] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[61/230] Compiling InternalCollectionsUtilities UInt+reversed.swift
[66/230] Emitting module InternalCollectionsUtilities
[67/234] Compiling random.cpp
[69/291] Compiling ComplexModule Arithmetic.swift
[70/291] Compiling ComplexModule Complex.swift
[71/291] Compiling OrderedCollections _HashTable+Constants.swift
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/TensorUtils/LogitsWarper/TopKLogitsWarper.swift:1:8: error: no such module 'Accelerate'
import Accelerate
^
[72/291] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/TensorUtils/LogitsWarper/TopKLogitsWarper.swift:1:8: error: no such module 'Accelerate'
import Accelerate
^
[73/291] 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
^
[74/291] 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
^
[75/291] Compiling OrderedCollections _HashTable+Bucket.swift
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/TensorUtils/LogitsWarper/TopKLogitsWarper.swift:1:8: error: no such module 'Accelerate'
import Accelerate
^
[76/291] Compiling OrderedCollections _HashTable+BucketIterator.swift
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/TensorUtils/LogitsWarper/TopKLogitsWarper.swift:1:8: error: no such module 'Accelerate'
import Accelerate
^
[77/291] Compiling Hub resource_bundle_accessor.swift
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/Hub/Downloader.swift:9:8: error: no such module 'Combine'
import Combine
^
[78/291] 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
^
[79/291] 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
^
[80/291] 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: fatalError
[81/291] Compiling Hub Hub.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
^
[82/291] Emitting module Gzip
[82/291] Compiling primitives.cpp
[82/291] Compiling ops.cpp
[82/291] Compiling transforms.cpp
BUILD FAILURE 5.10 linux