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.4 (8e4131), with Swift 6.2 (beta) for Linux on 24 Jun 2025 12:05:54 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/ml-explore/mlx-swift-examples.git
Reference: 2.25.4
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.4     -> FETCH_HEAD
HEAD is now at 8e41311 support for running all the models (#317)
Cloned https://github.com/ml-explore/mlx-swift-examples.git
Revision (git rev-parse @):
8e41311a3c17e902441cfcaa46629244c9758afd
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/ml-explore/mlx-swift-examples.git at 2.25.4
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
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" 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/1024jp/GzipSwift
Fetching https://github.com/huggingface/swift-transformers
Fetching https://github.com/ml-explore/mlx-swift
[1/1557] Fetching gzipswift
[1558/4860] Fetching gzipswift, swift-transformers
[2120/15770] Fetching gzipswift, swift-transformers, mlx-swift
Fetched https://github.com/1024jp/GzipSwift from cache (0.81s)
[12141/14213] Fetching swift-transformers, mlx-swift
Fetched https://github.com/huggingface/swift-transformers from cache (0.83s)
[10910/10910] Fetching mlx-swift
Fetched https://github.com/ml-explore/mlx-swift from cache (1.27s)
Computing version for https://github.com/1024jp/GzipSwift
Computed https://github.com/1024jp/GzipSwift at 6.0.1 (4.22s)
Computing version for https://github.com/huggingface/swift-transformers
Computed https://github.com/huggingface/swift-transformers at 0.1.21 (0.47s)
Fetching https://github.com/johnmai-dev/Jinja
Fetching https://github.com/apple/swift-argument-parser.git
[1/393] Fetching jinja
Fetched https://github.com/johnmai-dev/Jinja from cache (0.33s)
[1/15380] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.00s)
Computing version for https://github.com/ml-explore/mlx-swift
Computed https://github.com/ml-explore/mlx-swift at 0.25.4 (1.60s)
Fetching https://github.com/apple/swift-numerics
[1/5757] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (0.50s)
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.97s)
Computing version for https://github.com/johnmai-dev/Jinja
Computed https://github.com/johnmai-dev/Jinja at 1.1.2 (0.47s)
Fetching https://github.com/apple/swift-collections.git
[1/16640] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (2.33s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (3.74s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.0.3 (1.10s)
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/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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.0
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/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-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
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/183] Write sources
[10/183] Copying t5_tokenizer_config.json
[10/183] Copying gpt2_tokenizer_config.json
[12/183] Write sources
[27/183] Compiling system-zlib anchor.c
[28/183] Compiling _NumericsShims _NumericsShims.c
[29/183] Write swift-version-24593BA9C3E375BF.txt
[30/183] Compiling version.cpp
[31/193] Compiling utils.cpp
[32/203] Compiling scheduler.cpp
[34/217] Emitting module RealModule
[34/218] Compiling linalg.cpp
[35/218] Compiling random.cpp
[36/227] Compiling transforms.cpp
[38/227] 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'
 1 | import Accelerate
   |        `- error: no such module 'Accelerate'
 2 | import Foundation
 3 |
[39/228] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[40/228] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[41/228] Compiling InternalCollectionsUtilities Integer rank.swift
[42/228] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[43/228] Compiling InternalCollectionsUtilities UInt+reversed.swift
[44/228] Emitting module InternalCollectionsUtilities
[45/228] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[46/228] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[47/229] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[48/229] Compiling InternalCollectionsUtilities Debugging.swift
[49/229] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[50/229] Compiling InternalCollectionsUtilities _SortedCollection.swift
[51/229] Compiling InternalCollectionsUtilities Descriptions.swift
[52/229] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[53/229] Compiling RealModule Real.swift
[58/229] Compiling RealModule RealFunctions.swift
[59/229] Compiling RealModule ElementaryFunctions.swift
[60/229] Compiling RealModule Float16+Real.swift
[61/229] Compiling RealModule Float+Real.swift
[62/229] Compiling RealModule Float80+Real.swift
[64/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'
 1 | import Accelerate
   |        `- error: no such module 'Accelerate'
 2 | import Foundation
 3 |
[65/230] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[67/286] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[68/286] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[69/286] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[70/286] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[71/286] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[72/286] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[73/286] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[74/293] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[75/293] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[76/293] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[77/293] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[78/293] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[79/293] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[80/293] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[80/293] Compiling primitives.cpp
[81/298] Compiling no_gguf.cpp
[83/298] Compiling OrderedCollections OrderedDictionary+Codable.swift
[84/298] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[85/298] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[86/298] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[87/298] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[88/298] Compiling OrderedCollections OrderedDictionary+Elements.swift
[89/298] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[90/298] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[91/298] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[92/298] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[93/298] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[94/298] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[95/298] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[96/298] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[97/298] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[98/298] Compiling OrderedCollections OrderedDictionary+Values.swift
[99/298] Compiling OrderedCollections OrderedDictionary.swift
[100/298] Compiling OrderedCollections OrderedSet+Codable.swift
[101/298] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[102/298] Compiling OrderedCollections OrderedSet+Descriptions.swift
[103/298] Compiling OrderedCollections OrderedSet+Diffing.swift
[104/298] Compiling OrderedCollections OrderedSet+Equatable.swift
[105/298] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[106/298] Compiling OrderedCollections OrderedSet+Hashable.swift
[107/298] Compiling OrderedCollections OrderedSet+Initializers.swift
[108/298] Compiling OrderedCollections OrderedSet+Insertions.swift
[109/298] Compiling OrderedCollections OrderedSet+Invariants.swift
[110/298] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[111/298] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[112/298] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[113/298] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[114/298] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[115/298] 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'
  7 | //
  8 |
  9 | import Combine
    |        `- error: no such module 'Combine'
 10 | import Foundation
 11 |
[116/298] Compiling Hub HubApi.swift
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/Hub/Downloader.swift:9:8: error: no such module 'Combine'
  7 | //
  8 |
  9 | import Combine
    |        `- error: no such module 'Combine'
 10 | import Foundation
 11 |
[117/298] Compiling Hub Hub.swift
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/Hub/Downloader.swift:9:8: error: no such module 'Combine'
  7 | //
  8 |
  9 | import Combine
    |        `- error: no such module 'Combine'
 10 | import Foundation
 11 |
[118/298] Compiling Hub Config.swift
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/Hub/Downloader.swift:9:8: error: no such module 'Combine'
  7 | //
  8 |
  9 | import Combine
    |        `- error: no such module 'Combine'
 10 | import Foundation
 11 |
[119/298] Compiling Hub BinaryDistinct.swift
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/Hub/Downloader.swift:9:8: error: no such module 'Combine'
  7 | //
  8 |
  9 | import Combine
    |        `- error: no such module 'Combine'
 10 | import Foundation
 11 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[120/298] Emitting module Hub
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/Hub/Downloader.swift:9:8: error: no such module 'Combine'
  7 | //
  8 |
  9 | import Combine
    |        `- error: no such module 'Combine'
 10 | import Foundation
 11 |
[121/298] Compiling TensorUtils Math.swift
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/TensorUtils/LogitsWarper/TopKLogitsWarper.swift:1:8: error: no such module 'Accelerate'
 1 | import Accelerate
   |        `- error: no such module 'Accelerate'
 2 | import Foundation
 3 |
[122/298] 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'
 1 | import Accelerate
   |        `- error: no such module 'Accelerate'
 2 | import Foundation
 3 |
[123/298] 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'
 1 | import Accelerate
   |        `- error: no such module 'Accelerate'
 2 | import Foundation
 3 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[124/298] Emitting module TensorUtils
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/TensorUtils/LogitsWarper/TopKLogitsWarper.swift:1:8: error: no such module 'Accelerate'
 1 | import Accelerate
   |        `- error: no such module 'Accelerate'
 2 | import Foundation
 3 |
[125/298] Compiling Hub Downloader.swift
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/Hub/Downloader.swift:9:8: error: no such module 'Combine'
  7 | //
  8 |
  9 | import Combine
    |        `- error: no such module 'Combine'
 10 | import Foundation
 11 |
[126/298] Compiling ComplexModule ElementaryFunctions.swift
[127/298] Compiling ComplexModule Complex.swift
[128/298] Compiling Gzip Data+Gzip.swift
[129/298] Compiling TensorUtils TopPLogitsWarper.swift
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/TensorUtils/LogitsWarper/TopKLogitsWarper.swift:1:8: error: no such module 'Accelerate'
 1 | import Accelerate
   |        `- error: no such module 'Accelerate'
 2 | import Foundation
 3 |
[130/298] Compiling TensorUtils TopKLogitsWarper.swift
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/TensorUtils/LogitsWarper/TopKLogitsWarper.swift:1:8: error: no such module 'Accelerate'
 1 | import Accelerate
   |        `- error: no such module 'Accelerate'
 2 | import Foundation
 3 |
[131/298] 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'
 1 | import Accelerate
   |        `- error: no such module 'Accelerate'
 2 | import Foundation
 3 |
[132/298] 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'
 1 | import Accelerate
   |        `- error: no such module 'Accelerate'
 2 | import Foundation
 3 |
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/TensorUtils/LogitsWarper/TopKLogitsWarper.swift:1:8: error: no such module 'Accelerate'
 1 | import Accelerate
   |        `- error: no such module 'Accelerate'
 2 | import Foundation
 3 |
[133/298] Emitting module Gzip
[133/298] Compiling load.cpp
[133/298] Compiling safetensors.cpp
[133/298] Compiling ops.cpp
BUILD FAILURE 6.2 linux