Build Information
Failed to build AgentRunKit, reference main (4f9eb7), with Swift 6.2 for Android on 2 May 2026 01:16:29 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/swiftpackageindex/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Tom-Ryder/AgentRunKit.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/Tom-Ryder/AgentRunKit
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 4f9eb71 add(ci): detect public api breaking changes on pull requests
Cloned https://github.com/Tom-Ryder/AgentRunKit.git
Revision (git rev-parse @):
4f9eb710bf59d748cef199426486bc75ed879c4c
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/Tom-Ryder/AgentRunKit.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/Tom-Ryder/AgentRunKit.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/swiftpackageindex/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:cb98f9856cb1288a0028ff0e63d4de86ca92d5e7890400e3e915f7ea3943ed55
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.2-latest
Fetching https://github.com/ml-explore/mlx-swift-lm
Fetching https://github.com/apple/swift-docc-plugin
[1/2287] Fetching swift-docc-plugin
[2288/10093] Fetching swift-docc-plugin, mlx-swift-lm
Fetched https://github.com/apple/swift-docc-plugin from cache (1.47s)
Fetched https://github.com/ml-explore/mlx-swift-lm from cache (1.48s)
Computing version for https://github.com/ml-explore/mlx-swift-lm
Computed https://github.com/ml-explore/mlx-swift-lm at 2.30.6 (2.25s)
Fetching https://github.com/ml-explore/mlx-swift
Fetching https://github.com/huggingface/swift-transformers
[1/14242] Fetching mlx-swift
[429/20567] Fetching mlx-swift, swift-transformers
Fetched https://github.com/huggingface/swift-transformers from cache (1.16s)
Fetched https://github.com/ml-explore/mlx-swift from cache (1.62s)
Computing version for https://github.com/ml-explore/mlx-swift
Computed https://github.com/ml-explore/mlx-swift at 0.30.6 (2.54s)
Fetching https://github.com/apple/swift-numerics
[1/6416] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (0.77s)
Computing version for https://github.com/huggingface/swift-transformers
Computed https://github.com/huggingface/swift-transformers at 1.1.9 (2.43s)
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/huggingface/swift-jinja.git
Fetching https://github.com/ibireme/yyjson.git
[1/1075] Fetching swift-jinja
[1076/18532] Fetching swift-jinja, swift-crypto
[1077/22975] Fetching swift-jinja, swift-crypto, yyjson
Fetched https://github.com/huggingface/swift-jinja.git from cache (0.60s)
[613/21900] Fetching swift-crypto, yyjson
Fetched https://github.com/ibireme/yyjson.git from cache (1.93s)
[3841/17457] Fetching swift-crypto
Fetching https://github.com/apple/swift-collections.git
Fetched https://github.com/apple/swift-crypto.git from cache (3.24s)
[1/23959] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.84s)
Computing version for https://github.com/ibireme/yyjson.git
Computed https://github.com/ibireme/yyjson.git at 0.12.0 (8.61s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.5.0 (0.54s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3709] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.45s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.04s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (0.38s)
Computing version for https://github.com/huggingface/swift-jinja.git
Computed https://github.com/huggingface/swift-jinja.git at 2.3.5 (0.39s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (0.72s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.5.0 (5.07s)
Fetching https://github.com/apple/swift-asn1.git
[1/1813] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.61s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.0 (1.66s)
Creating working copy for https://github.com/ml-explore/mlx-swift-lm
Working copy of https://github.com/ml-explore/mlx-swift-lm resolved at 2.30.6
Creating working copy for https://github.com/ibireme/yyjson.git
Working copy of https://github.com/ibireme/yyjson.git resolved at 0.12.0
Creating working copy for https://github.com/huggingface/swift-jinja.git
Working copy of https://github.com/huggingface/swift-jinja.git resolved at 2.3.5
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.1.1
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.4.1
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.5.0
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 4.5.0
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.0
Creating working copy for https://github.com/ml-explore/mlx-swift
Working copy of https://github.com/ml-explore/mlx-swift resolved at 0.30.6
Creating working copy for https://github.com/huggingface/swift-transformers
Working copy of https://github.com/huggingface/swift-transformers resolved at 1.1.9
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/547] Write sources
[2/547] Copying gpt2_tokenizer_config.json
[2/547] Copying t5_tokenizer_config.json
[2/547] Write sources
[22/547] Compiling version.cpp
[23/547] Compiling _NumericsShims _NumericsShims.c
[24/547] Write swift-version--11D90AFD9DD3AB2.txt
[25/547] Compiling scheduler.cpp
[26/558] Compiling utils.cpp
[27/576] Compiling yyjson.c
[28/576] Compiling linalg.cpp
[29/576] Compiling random.cpp
[31/576] Compiling RealModule RealFunctions.swift
[32/577] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[33/577] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[34/577] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[35/577] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[36/579] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[37/579] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[38/579] Compiling InternalCollectionsUtilities Debugging.swift
[39/579] Compiling InternalCollectionsUtilities Descriptions.swift
[40/579] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[41/579] Compiling InternalCollectionsUtilities Integer rank.swift
[42/579] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[43/579] Compiling InternalCollectionsUtilities UInt+reversed.swift
[44/579] Emitting module InternalCollectionsUtilities
[45/579] Compiling InternalCollectionsUtilities String+Padding.swift
[46/579] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[47/579] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[48/579] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[49/579] Compiling InternalCollectionsUtilities Span+Extras.swift
[50/579] Compiling RealModule Float80+Real.swift
[51/579] Compiling RealModule Real.swift
[52/579] Emitting module RealModule
[59/579] Compiling RealModule Float16+Real.swift
[60/579] Compiling RealModule RelaxedArithmetic.swift
[61/580] Compiling InternalCollectionsUtilities _SortedCollection.swift
[62/580] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[65/592] Compiling ComplexModule Complex+StringConvertible.swift
[66/593] Compiling ComplexModule Polar.swift
[67/593] Compiling ComplexModule Complex+Numeric.swift
[68/593] Compiling ComplexModule Complex+Hashable.swift
[69/593] Compiling ComplexModule Complex+IntegerLiteral.swift
[70/593] Compiling ComplexModule Scale.swift
[71/593] Compiling ComplexModule Complex.swift
[72/593] Compiling ComplexModule Complex+AdditiveArithmetic.swift
[73/593] Compiling ComplexModule Complex+AlgebraicField.swift
[74/593] Compiling ComplexModule Complex+Codable.swift
[75/593] Compiling ComplexModule Complex+ElementaryFunctions.swift
[75/593] Compiling primitives.cpp
[77/593] Emitting module ComplexModule
[78/649] Compiling no_gguf.cpp
[80/651] Compiling Numerics Numerics.swift
[81/651] Emitting module Numerics
[83/652] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[84/652] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[85/652] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[86/652] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[87/652] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[88/652] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[89/652] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[90/659] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[91/659] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[92/659] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[93/659] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[94/659] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[95/659] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[96/659] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[97/659] Compiling OrderedCollections OrderedSet+Initializers.swift
[98/659] Compiling OrderedCollections OrderedSet+Insertions.swift
[99/659] Compiling OrderedCollections OrderedSet+Invariants.swift
[100/659] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[101/659] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[102/659] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[103/659] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[104/659] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[105/659] Compiling OrderedCollections OrderedDictionary.swift
[106/659] Compiling OrderedCollections OrderedSet+Codable.swift
[107/659] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[108/659] Compiling OrderedCollections OrderedSet+Descriptions.swift
[109/659] Compiling OrderedCollections OrderedSet+Diffing.swift
[110/659] Compiling OrderedCollections OrderedSet+Equatable.swift
[111/659] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[112/659] Compiling OrderedCollections OrderedSet+Hashable.swift
[113/659] Compiling OrderedCollections OrderedDictionary+Codable.swift
[114/659] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[115/659] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[116/659] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[117/659] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[118/659] Compiling OrderedCollections OrderedDictionary+Elements.swift
[119/659] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[120/659] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[121/659] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[122/659] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[123/659] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[124/659] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[125/659] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[126/659] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[127/659] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[128/659] Compiling OrderedCollections OrderedDictionary+Values.swift
[129/659] Compiling OrderedCollections _HashTable+Bucket.swift
[130/659] Compiling OrderedCollections _HashTable+BucketIterator.swift
[131/659] Compiling OrderedCollections _HashTable+Constants.swift
[132/659] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[133/659] Compiling OrderedCollections _HashTable+Testing.swift
[134/659] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[135/659] Compiling OrderedCollections _HashTable.swift
[136/659] Compiling OrderedCollections _Hashtable+Header.swift
[137/659] Compiling OrderedCollections OrderedSet+Sendable.swift
[138/659] Compiling OrderedCollections OrderedSet+SubSequence.swift
[139/659] Compiling OrderedCollections OrderedSet+Testing.swift
[140/659] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[141/659] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[142/659] Compiling OrderedCollections OrderedSet.swift
[143/659] Compiling OrderedCollections _UnsafeBitset.swift
[144/659] Emitting module OrderedCollections
[144/660] Compiling load.cpp
[146/674] Compiling transforms.cpp
[147/674] Compiling graph_utils.cpp
[148/674] Compiling fft.cpp
[149/674] Compiling safetensors.cpp
[150/674] Compiling dtype.cpp
[151/674] Compiling dtype_utils.cpp
[152/674] Compiling utils.cpp
[153/674] Compiling ops.cpp
[155/674] Compiling Jinja Tests.swift
[156/674] Compiling Jinja Token.swift
[157/674] Compiling Jinja Utilities.swift
[157/675] Compiling no_ring.cpp
[158/675] Compiling einsum.cpp
[159/675] Compiling no_nccl.cpp
[160/675] Compiling fast.cpp
[162/675] Emitting module Jinja
[163/675] Compiling Jinja PropertyMembers.swift
[164/675] Compiling Jinja Template.swift
[165/675] Compiling Jinja Interpreter.swift
[166/675] Compiling Jinja Lexer.swift
[167/675] Compiling Jinja Macro.swift
[168/675] Compiling Jinja Parser.swift
[169/675] Compiling Jinja AST.swift
[170/675] Compiling Jinja Error.swift
[171/675] Compiling Jinja Filters.swift
[172/675] Compiling Jinja Globals.swift
[172/675] Compiling primitives.cpp
[173/675] Compiling ops.cpp
[175/675] Compiling Jinja Value.swift
[176/676] Compiling device.cpp
[177/676] Compiling no_mpi.cpp
[178/676] Compiling no_jaccl.cpp
[179/676] Compiling distributed.cpp
[180/676] Compiling device_info.cpp
[181/676] Compiling allocator.cpp
[182/676] Compiling eval.cpp
[183/676] Compiling event.cpp
[184/676] Compiling fence.cpp
[185/676] Compiling primitives.cpp
[186/676] Compiling threefry.cpp
[187/676] Compiling no_metal.cpp
[188/676] Compiling no_cuda.cpp
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/backend/cpu/svd.cpp:6:
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/backend/cpu/lapack.h:17:10: fatal error: 'cblas.h' file not found
17 | #include <cblas.h>
| ^~~~~~~~~
1 error generated.
[189/676] Compiling svd.cpp
[189/676] Compiling scan.cpp
[189/676] Compiling select.cpp
[189/676] Compiling softmax.cpp
[189/676] Compiling sort.cpp
[189/676] Compiling unary.cpp
[189/676] Compiling compile.cpp
[189/676] Compiling export.cpp
BUILD FAILURE 6.2 android