Build Information
Failed to build AgentRunKit, reference main (4f9eb7), with Swift 6.3 for Android on 2 May 2026 01:16:23 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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.3-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.3
Building package at path: $PWD
https://github.com/Tom-Ryder/AgentRunKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:9008270ea37a55e78725e6225015adb5eff8582da520c5232bf0499f32c36dc4
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest
Fetching https://github.com/ml-explore/mlx-swift-lm
Fetching https://github.com/apple/swift-docc-plugin
[1/2287] Fetching swift-docc-plugin
[253/10093] Fetching swift-docc-plugin, mlx-swift-lm
Fetched https://github.com/apple/swift-docc-plugin from cache (1.92s)
Fetched https://github.com/ml-explore/mlx-swift-lm from cache (1.93s)
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.55s)
Fetching https://github.com/ml-explore/mlx-swift
Fetching https://github.com/huggingface/swift-transformers
[1/6325] Fetching swift-transformers
[444/20567] Fetching swift-transformers, mlx-swift
Fetched https://github.com/huggingface/swift-transformers from cache (1.63s)
Fetched https://github.com/ml-explore/mlx-swift from cache (1.63s)
Computing version for https://github.com/ml-explore/mlx-swift
Computed https://github.com/ml-explore/mlx-swift at 0.30.6 (2.44s)
Fetching https://github.com/apple/swift-numerics
[1/6416] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (0.52s)
Computing version for https://github.com/huggingface/swift-transformers
Computed https://github.com/huggingface/swift-transformers at 1.1.9 (1.03s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/ibireme/yyjson.git
Fetching https://github.com/huggingface/swift-jinja.git
Fetching https://github.com/apple/swift-crypto.git
[1/1075] Fetching swift-jinja
[464/25034] Fetching swift-jinja, swift-collections
[2754/29477] Fetching swift-jinja, swift-collections, yyjson
[2888/46934] Fetching swift-jinja, swift-collections, yyjson, swift-crypto
Fetched https://github.com/huggingface/swift-jinja.git from cache (0.50s)
[1857/45859] Fetching swift-collections, yyjson, swift-crypto
Fetched https://github.com/ibireme/yyjson.git from cache (2.26s)
[37751/41416] Fetching swift-collections, swift-crypto
Fetched https://github.com/apple/swift-collections.git from cache (3.04s)
Fetched https://github.com/apple/swift-crypto.git from cache (3.05s)
Computing version for https://github.com/ibireme/yyjson.git
Computed https://github.com/ibireme/yyjson.git at 0.12.0 (5.83s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.5.0 (0.61s)
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.48s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.12s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (0.48s)
Computing version for https://github.com/huggingface/swift-jinja.git
Computed https://github.com/huggingface/swift-jinja.git at 2.3.5 (0.57s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (1.36s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.5.0 (5.26s)
Fetching https://github.com/apple/swift-asn1.git
[1/1813] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.58s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.0 (1.74s)
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-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.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-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.5.0
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/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/ibireme/yyjson.git
Working copy of https://github.com/ibireme/yyjson.git resolved at 0.12.0
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/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/huggingface/swift-transformers
Working copy of https://github.com/huggingface/swift-transformers resolved at 1.1.9
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
[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] Write sources
[2/547] Copying t5_tokenizer_config.json
[6/547] Write sources
[23/547] Compiling _NumericsShims _NumericsShims.c
[24/547] Compiling version.cpp
[25/547] Write swift-version--4F562202D5529B1.txt
[26/547] Compiling utils.cpp
[27/558] Compiling yyjson.c
[28/576] Compiling scheduler.cpp
[30/576] Emitting module InternalCollectionsUtilities
[30/578] Compiling linalg.cpp
[31/578] Compiling random.cpp
[33/578] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[34/578] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[35/578] Compiling InternalCollectionsUtilities Debugging.swift
[36/578] Compiling InternalCollectionsUtilities Descriptions.swift
[37/578] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[38/578] Compiling InternalCollectionsUtilities _SortedCollection.swift
[39/578] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[40/578] Compiling RealModule RealFunctions.swift
[41/579] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[42/579] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[43/579] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[44/579] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[45/579] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[46/579] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[47/579] Compiling InternalCollectionsUtilities Span+Extras.swift
[48/579] Compiling InternalCollectionsUtilities String+Padding.swift
[49/579] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[50/579] Compiling InternalCollectionsUtilities Integer rank.swift
[51/579] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[52/579] Compiling InternalCollectionsUtilities UInt+reversed.swift
[54/580] Compiling RealModule RelaxedArithmetic.swift
[57/580] Emitting module RealModule
[60/580] Compiling RealModule Float16+Real.swift
[63/580] Compiling RealModule Float80+Real.swift
[64/580] Compiling RealModule Real.swift
[65/636] Compiling no_gguf.cpp
[67/639] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[68/639] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[69/639] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[70/639] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[71/639] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[72/639] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[73/639] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[74/639] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[75/639] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[76/639] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[77/639] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[78/639] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[79/639] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[80/639] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[81/654] Compiling ComplexModule Complex+Hashable.swift
[82/654] Compiling ComplexModule Complex+IntegerLiteral.swift
[83/654] Compiling ComplexModule Polar.swift
[84/654] Compiling ComplexModule Complex+Numeric.swift
[85/655] Compiling OrderedCollections OrderedDictionary.swift
[86/655] Compiling OrderedCollections OrderedSet+Codable.swift
[87/655] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[88/655] Compiling OrderedCollections OrderedSet+Descriptions.swift
[89/655] Compiling OrderedCollections OrderedSet+Diffing.swift
[90/655] Compiling OrderedCollections OrderedSet+Equatable.swift
[91/655] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[92/655] Compiling OrderedCollections OrderedSet+Hashable.swift
[93/655] Compiling OrderedCollections OrderedSet+Initializers.swift
[94/655] Compiling OrderedCollections OrderedSet+Insertions.swift
[95/655] Compiling OrderedCollections OrderedSet+Invariants.swift
[96/655] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[97/655] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[98/655] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[99/655] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[100/655] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[101/655] Compiling OrderedCollections OrderedDictionary+Codable.swift
[102/655] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[103/655] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[104/655] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[105/655] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[106/655] Compiling OrderedCollections OrderedDictionary+Elements.swift
[107/655] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[108/655] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[109/655] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[110/655] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[111/655] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[112/655] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[113/655] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[114/655] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[115/655] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[116/655] Compiling OrderedCollections OrderedDictionary+Values.swift
[117/655] Compiling ComplexModule Complex.swift
[118/655] Compiling ComplexModule Complex+StringConvertible.swift
[119/655] Compiling ComplexModule Complex+AdditiveArithmetic.swift
[120/655] Compiling ComplexModule Complex+AlgebraicField.swift
[121/655] Compiling ComplexModule Scale.swift
[122/655] Emitting module ComplexModule
[123/655] Compiling ComplexModule Complex+Codable.swift
[124/655] Compiling ComplexModule Complex+ElementaryFunctions.swift
[125/656] Compiling primitives.cpp
[133/658] Compiling OrderedCollections _HashTable.swift
[134/658] Compiling OrderedCollections _Hashtable+Header.swift
[135/658] Compiling Numerics Numerics.swift
[136/658] Emitting module Numerics
[138/659] Compiling OrderedCollections OrderedSet+Sendable.swift
[139/659] Compiling OrderedCollections OrderedSet+SubSequence.swift
[140/659] Compiling OrderedCollections OrderedSet+Testing.swift
[141/659] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[142/659] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[143/659] Compiling OrderedCollections OrderedSet.swift
[144/659] Compiling OrderedCollections _UnsafeBitset.swift
[145/659] Emitting module OrderedCollections
[146/660] Compiling load.cpp
[147/674] Compiling transforms.cpp
[148/674] Compiling graph_utils.cpp
[149/674] Compiling fft.cpp
[150/674] Compiling safetensors.cpp
[152/674] Compiling Jinja Utilities.swift
[152/675] Compiling dtype_utils.cpp
[153/675] Compiling dtype.cpp
[154/675] Compiling ops.cpp
[155/675] Compiling utils.cpp
[156/675] Compiling einsum.cpp
[157/675] Compiling no_ring.cpp
[158/675] Compiling fast.cpp
[160/675] Emitting module Jinja
[161/675] Compiling Jinja AST.swift
[162/675] Compiling Jinja Error.swift
[163/675] Compiling Jinja Macro.swift
[164/675] Compiling Jinja Parser.swift
[165/675] Compiling Jinja Filters.swift
[166/675] Compiling Jinja Globals.swift
[167/675] Compiling Jinja Interpreter.swift
[168/675] Compiling Jinja Lexer.swift
[169/675] Compiling Jinja Tests.swift
[170/675] Compiling Jinja Token.swift
[171/675] Compiling Jinja PropertyMembers.swift
[172/675] Compiling Jinja Template.swift
[173/675] Compiling Jinja Value.swift
[174/676] Compiling no_mpi.cpp
[175/676] Compiling no_nccl.cpp
[176/676] Compiling primitives.cpp
[177/676] Compiling no_jaccl.cpp
[178/676] Compiling ops.cpp
[179/676] Compiling device.cpp
[180/676] Compiling distributed.cpp
[181/676] Compiling device_info.cpp
[182/676] Compiling allocator.cpp
[183/676] Compiling eval.cpp
[184/676] Compiling fence.cpp
[185/676] Compiling event.cpp
[186/676] Compiling threefry.cpp
[187/676] Compiling primitives.cpp
[188/676] Compiling no_metal.cpp
[189/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.
[190/676] Compiling svd.cpp
[190/676] Compiling softmax.cpp
[190/676] Compiling scan.cpp
[190/676] Compiling unary.cpp
[190/676] Compiling select.cpp
[190/676] Compiling sort.cpp
[190/676] Compiling compile.cpp
[190/676] Compiling export.cpp
BUILD FAILURE 6.3 android