Build Information
Failed to build mlx-libraries, reference main (2cceb8
), with Swift 6.0 for Linux on 25 Jun 2025 01:36:45 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-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: 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 2cceb87 Add Gemma 3 (#238)
Cloned https://github.com/ml-explore/mlx-swift-examples.git
Revision (git rev-parse @):
2cceb87794bcce960dfc17e79a91946f41c02317
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: 6.0
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-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:f0ebbd71bee66c692411a61ab9a7ee6edc82316b7a7b4c6173cc06c00f20ed39
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-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
[1294/4860] Fetching gzipswift, swift-transformers
[2120/15770] Fetching gzipswift, swift-transformers, mlx-swift
Fetched https://github.com/1024jp/GzipSwift from cache (0.59s)
Fetched https://github.com/huggingface/swift-transformers from cache (0.61s)
Fetched https://github.com/ml-explore/mlx-swift from cache (1.00s)
Computing version for https://github.com/1024jp/GzipSwift
Computed https://github.com/1024jp/GzipSwift at 6.0.1 (2.23s)
Computing version for https://github.com/huggingface/swift-transformers
Computed https://github.com/huggingface/swift-transformers at 0.1.21 (0.60s)
Fetching https://github.com/johnmai-dev/Jinja
Fetching https://github.com/apple/swift-argument-parser.git
[1/393] Fetching jinja
[394/15773] Fetching jinja, swift-argument-parser
Fetched https://github.com/johnmai-dev/Jinja from cache (0.81s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.82s)
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.57s)
Computing version for https://github.com/ml-explore/mlx-swift
Computed https://github.com/ml-explore/mlx-swift at 0.25.5 (0.61s)
Fetching https://github.com/apple/swift-numerics
[1/5757] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (0.58s)
Computing version for https://github.com/johnmai-dev/Jinja
Computed https://github.com/johnmai-dev/Jinja at 1.1.2 (0.50s)
Fetching https://github.com/apple/swift-collections.git
[1/16650] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.17s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.87s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.0.3 (0.81s)
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/1024jp/GzipSwift
Working copy of https://github.com/1024jp/GzipSwift resolved at 6.0.1
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.5
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-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/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.0.3
Creating working copy for https://github.com/huggingface/swift-transformers
Working copy of https://github.com/huggingface/swift-transformers resolved at 0.1.21
[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
[10/183] Write sources
[27/183] Compiling _NumericsShims _NumericsShims.c
[28/183] Compiling system-zlib anchor.c
[29/183] Write swift-version-24593BA9C3E375BF.txt
[30/183] Compiling version.cpp
[31/193] Compiling utils.cpp
[32/193] Compiling scheduler.cpp
[33/217] Compiling linalg.cpp
[34/217] Compiling random.cpp
[36/226] Emitting module Gzip
[36/226] Compiling transforms.cpp
[37/226] Compiling primitives.cpp
[39/226] Compiling RealModule Float80+Real.swift
[40/227] Compiling RealModule RealFunctions.swift
[41/227] Compiling RealModule Real.swift
[42/227] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[43/227] Compiling InternalCollectionsUtilities Integer rank.swift
[44/227] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[45/227] Emitting module InternalCollectionsUtilities
[46/228] Compiling InternalCollectionsUtilities Descriptions.swift
[47/228] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[48/228] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[49/228] Compiling InternalCollectionsUtilities Debugging.swift
[50/228] Emitting module RealModule
[51/228] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[52/228] Compiling InternalCollectionsUtilities _SortedCollection.swift
[53/228] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[54/228] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[55/228] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[56/228] Compiling InternalCollectionsUtilities UInt+reversed.swift
[61/228] Compiling RealModule Float16+Real.swift
[62/228] Compiling RealModule Float+Real.swift
[63/228] Compiling RealModule ElementaryFunctions.swift
[65/229] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[66/235] Compiling no_gguf.cpp
[68/235] Compiling ComplexModule ElementaryFunctions.swift
[69/235] Emitting module ComplexModule
[70/235] 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 |
[71/235] 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 |
[72/236] 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 |
/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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[75/236] 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 |
[76/236] 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 |
[77/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'
1 | import Accelerate
| `- error: no such module 'Accelerate'
2 | import Foundation
3 |
[78/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'
1 | import Accelerate
| `- error: no such module 'Accelerate'
2 | import Foundation
3 |
[79/291] 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 |
[80/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'
7 | //
8 |
9 | import Combine
| `- error: no such module 'Combine'
10 | import Foundation
11 |
[81/291] 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 |
[82/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'
1 | import Accelerate
| `- error: no such module 'Accelerate'
2 | import Foundation
3 |
[83/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'
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)
[84/291] 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 |
[85/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'
1 | import Accelerate
| `- error: no such module 'Accelerate'
2 | import Foundation
3 |
[86/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'
1 | import Accelerate
| `- error: no such module 'Accelerate'
2 | import Foundation
3 |
[87/291] 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 |
[88/291] Compiling Gzip Data+Gzip.swift
[89/292] Compiling safetensors.cpp
[89/292] Compiling ops.cpp
[90/292] Compiling ComplexModule Complex.swift
[90/292] Compiling load.cpp
BUILD FAILURE 6.0 linux