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

Successful build of LocalLLMClient, reference 0.3.0 (c65a85), with Swift 6.2 (beta) for macOS (SPM) on 25 Jun 2025 22:45:10 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tattn/LocalLLMClient.git
Reference: 0.3.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/tattn/LocalLLMClient
 * tag               0.3.0      -> FETCH_HEAD
HEAD is now at c65a85a feat: add support for gemma3_4b_mlx model in LLMModel
Submodule path 'Sources/LocalLLMClientLlamaC/exclude/llama.cpp': checked out 'bb16041caef45cd4348cd6f84906b5dfec7a1f6a'
Submodule path 'Sources/LocalLLMClientLlamaC/exclude/llama.cpp/ggml/src/ggml-kompute/kompute': checked out '4565194ed7c32d1d2efa32ceab4d3c6cae006306'
Submodule 'Sources/LlamaClientExperimentalC/exclude/llama.cpp' (https://github.com/ggml-org/llama.cpp.git) registered for path 'Sources/LocalLLMClientLlamaC/exclude/llama.cpp'
Cloning into '/Users/admin/builder/spi-builder-workspace/Sources/LocalLLMClientLlamaC/exclude/llama.cpp'...
Submodule 'kompute' (https://github.com/nomic-ai/kompute.git) registered for path 'Sources/LocalLLMClientLlamaC/exclude/llama.cpp/ggml/src/ggml-kompute/kompute'
Cloning into '/Users/admin/builder/spi-builder-workspace/Sources/LocalLLMClientLlamaC/exclude/llama.cpp/ggml/src/ggml-kompute/kompute'...
Cloned https://github.com/tattn/LocalLLMClient.git
Revision (git rev-parse @):
c65a85a0327ead54d66db2e40c186c1b0f820f14
SUCCESS checkout https://github.com/tattn/LocalLLMClient.git at 0.3.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/tattn/LocalLLMClient.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
[3/3] Compiling plugin GenerateManual
Building for debugging...
[3/198] Write sources
[3/198] Write localllm-entitlement.plist
[3/198] Write sources
[3/198] Copying t5_tokenizer_config.json
[3/198] Copying gpt2_tokenizer_config.json
[3/198] Write sources
[23/198] Copying json.gbnf
[23/198] Write sources
[34/198] Write swift-version-1EA4D86E10B52AF.txt
[35/198] Copying llama.framework
[36/198] Compiling _NumericsShims _NumericsShims.c
[37/215] Compiling version.cpp
[38/225] Compiling scheduler.cpp
[39/225] Compiling utils.cpp
[41/246] Compiling RealModule Float80+Real.swift
[42/247] Emitting module RealModule
[43/247] Compiling RealModule AlgebraicField.swift
[44/247] Compiling RealModule ApproximateEquality.swift
[45/247] Compiling RealModule AugmentedArithmetic.swift
[46/247] Compiling RealModule Double+Real.swift
[47/247] Compiling RealModule RealFunctions.swift
[48/247] Compiling RealModule Float16+Real.swift
[49/247] Compiling RealModule ElementaryFunctions.swift
[50/247] Compiling RealModule Float+Real.swift
[51/247] Compiling RealModule Real.swift
[52/247] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[53/247] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[54/247] Compiling InternalCollectionsUtilities Debugging.swift
[55/247] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[56/247] Compiling InternalCollectionsUtilities Descriptions.swift
[56/248] Compiling linalg.cpp
[58/248] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[58/248] Compiling random.cpp
[60/253] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[61/253] Compiling InternalCollectionsUtilities _SortedCollection.swift
[62/253] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[63/253] Compiling InternalCollectionsUtilities Integer rank.swift
[64/253] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[65/253] Compiling InternalCollectionsUtilities UInt+reversed.swift
[66/253] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[67/253] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[68/253] Emitting module InternalCollectionsUtilities
[69/253] Compiling ComplexModule Differentiable.swift
[70/253] Compiling ComplexModule ElementaryFunctions.swift
[71/253] Emitting module ComplexModule
[72/253] Compiling ComplexModule Arithmetic.swift
[73/253] Compiling ComplexModule Complex.swift
[74/309] Compiling LocalLLMClientUtility Lock.swift
[75/309] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[76/309] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[77/309] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[78/309] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[79/309] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[80/309] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[81/315] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[82/315] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[83/315] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[84/315] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[85/315] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[86/315] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[87/315] Compiling OrderedCollections OrderedSet+Hashable.swift
[88/315] Compiling OrderedCollections OrderedSet+Initializers.swift
[89/315] Compiling OrderedCollections OrderedSet+Insertions.swift
[90/315] Compiling OrderedCollections OrderedSet+Invariants.swift
[91/315] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[92/315] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[93/315] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[94/315] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[95/315] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[96/315] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[97/315] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[98/315] Compiling OrderedCollections OrderedSet+Sendable.swift
[99/315] Compiling OrderedCollections OrderedDictionary+Elements.swift
[100/315] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[101/315] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[102/315] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[103/315] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[104/315] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[105/315] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[106/315] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[107/315] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[108/315] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[109/315] Compiling OrderedCollections OrderedDictionary+Values.swift
[110/315] Compiling OrderedCollections OrderedDictionary.swift
[110/315] Compiling primitives.cpp
[112/317] Compiling Numerics Numerics.swift
[113/317] Emitting module Numerics
[114/317] Compiling OrderedCollections OrderedSet+Codable.swift
[115/317] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[116/317] Compiling OrderedCollections OrderedSet+Descriptions.swift
[117/317] Compiling OrderedCollections OrderedSet+Diffing.swift
[118/317] Compiling OrderedCollections OrderedSet+Equatable.swift
[119/317] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[120/317] Compiling OrderedCollections _Hashtable+Header.swift
[121/317] Compiling OrderedCollections OrderedDictionary+Codable.swift
[122/317] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[123/317] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[124/317] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[125/317] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[126/317] Compiling OrderedCollections _HashTable+Bucket.swift
[127/317] Compiling OrderedCollections _HashTable+BucketIterator.swift
[128/317] Compiling OrderedCollections _HashTable+Constants.swift
[129/317] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[130/317] Compiling OrderedCollections _HashTable+Testing.swift
[131/317] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[132/317] Compiling OrderedCollections _HashTable.swift
[132/317] Compiling transforms.cpp
[134/317] Compiling OrderedCollections OrderedSet+SubSequence.swift
[135/317] Compiling OrderedCollections OrderedSet+Testing.swift
[136/317] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[137/317] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[138/317] Compiling OrderedCollections OrderedSet.swift
[139/317] Compiling OrderedCollections _UnsafeBitset.swift
[140/317] Compiling LocalLLMClientUtility Globs.swift
[141/317] Compiling LocalLLMClientUtility URL+.swift
[142/317] Compiling LocalLLMClientUtility FileDownloader.swift
[143/317] Compiling LocalLLMClientUtility Downloader.swift
[144/317] Compiling LocalLLMClientUtility HuggingFaceAPI.swift
[145/317] Emitting module LocalLLMClientUtility
[146/317] Emitting module OrderedCollections
[146/317] Compiling LocalLLMClientLlamaC mtmd.cpp
[147/317] Compiling LocalLLMClientLlamaC mtmd-audio.cpp
[149/333] Compiling TensorUtils LogitsProcessor.swift
[150/333] Compiling TensorUtils LogitsWarper.swift
[151/333] Emitting module TensorUtils
[152/334] Compiling Hub Hub.swift
[153/334] Compiling Hub Downloader.swift
[154/334] Compiling Hub resource_bundle_accessor.swift
[155/334] Compiling Hub BinaryDistinct.swift
[156/334] Compiling Hub Config.swift
[157/334] Emitting module Hub
[158/334] Compiling Hub HubApi.swift
[159/334] Compiling Jinja Error.swift
[160/334] Compiling Jinja StringExtension.swift
[161/334] Compiling Jinja Template.swift
[162/334] Compiling Jinja Utilities.swift
[162/334] Compiling LocalLLMClientLlamaC mtmd-helper.cpp
[164/334] Emitting module Jinja
[165/334] Compiling Jinja Lexer.swift
[165/334] Compiling no_gguf.cpp
[167/334] Compiling TensorUtils Weights.swift
[168/334] Compiling TensorUtils TopKLogitsWarper.swift
[169/334] Compiling TensorUtils MLShapedArray+Utils.swift
[170/334] Compiling TensorUtils RepetitionPenaltyWarper.swift
[171/334] Compiling TensorUtils TemperatureLogitsWarper.swift
[172/334] Compiling TensorUtils MLMultiArray+Utils.swift
[173/334] Compiling TensorUtils TopPLogitsWarper.swift
[174/334] Compiling TensorUtils Math.swift
[175/334] Compiling Jinja Parser.swift
[176/334] Compiling Jinja Runtime.swift
[176/334] Compiling ops.cpp
[177/334] Compiling LocalLLMClientLlamaC clip.cpp
[178/334] Compiling load.cpp
[180/334] Compiling Jinja Ast.swift
[181/334] Compiling Jinja Environment.swift
[181/334] Compiling graph_utils.cpp
[182/346] Compiling fft.cpp
[184/346] Compiling Tokenizers Trie.swift
[185/346] Compiling Tokenizers UnigramTokenizer.swift
[185/347] Compiling dtype.cpp
[186/347] Compiling dtype_utils.cpp
[187/347] Compiling no_ring.cpp
[189/347] Compiling Tokenizers Utils.swift
[190/347] Compiling Tokenizers TokenLattice.swift
[191/347] Compiling Tokenizers PostProcessor.swift
[192/347] Compiling Tokenizers PreTokenizer.swift
[193/347] Compiling Tokenizers Normalizer.swift
[194/347] Compiling Tokenizers ByteEncoder.swift
[195/347] Compiling Tokenizers Decoder.swift
[196/347] Emitting module Tokenizers
[197/347] Compiling Tokenizers Tokenizer.swift
[198/347] Compiling Tokenizers BPETokenizer.swift
[199/347] Compiling Tokenizers BertTokenizer.swift
[199/347] Compiling safetensors.cpp
[200/350] Compiling einsum.cpp
[201/350] Compiling no_mpi.cpp
[202/350] Compiling primitives.cpp
[203/350] Compiling distributed.cpp
[205/350] Emitting module Generation
[206/350] Compiling Generation Generation.swift
[207/350] Compiling Generation GenerationConfig.swift
[207/350] Compiling device.cpp
[209/353] Emitting module LocalLLMClient
[209/353] Compiling ops.cpp
[211/353] Compiling LocalLLMClient LLMSession.swift
[211/353] Compiling fast.cpp
[213/353] Compiling Models LanguageModelTypes.swift
[214/353] Emitting module Models
[215/353] Compiling Models LanguageModel.swift
[215/353] Compiling utils.cpp
[217/353] Compiling LocalLLMClient LLMError.swift
[218/353] Compiling LocalLLMClient Async+.swift
[219/353] Compiling LocalLLMClient LLMClient.swift
[220/353] Compiling LocalLLMClient LLMInput.swift
[220/353] Compiling unary.cpp
[221/370] Compiling ternary.cpp
[222/370] Compiling compile.cpp
[223/370] Compiling sort.cpp
[224/370] Compiling softmax.cpp
[225/373] Compiling slicing.cpp
[226/373] Compiling scan.cpp
[228/373] Compiling LocalLLMClientFoundationModels LLMSession+FoundationModels.swift
[229/373] Compiling LocalLLMClientFoundationModels FoundationModelsClient.swift
[230/373] Emitting module LocalLLMClientFoundationModels
[231/373] Compiling LocalLLMClientLlama stb_image.swift
[231/374] Compiling resident.cpp
[232/374] Compiling scaled_dot_product_attention.cpp
[234/374] Compiling LocalLLMClientLlama Utility.swift
[235/374] Compiling LocalLLMClientLlama LlamaChatMessageDecoder.swift
[236/374] Compiling LocalLLMClientLlama LlamaClient.swift
[237/374] Compiling LocalLLMClientLlama Logger.swift
[238/374] Compiling LocalLLMClientLlama Model.swift
[239/374] Compiling LocalLLMClientLlama Multimodal.swift
[240/374] Compiling LocalLLMClientLlama Parameter.swift
[241/374] Compiling LocalLLMClientLlama Batch.swift
[242/374] Compiling LocalLLMClientLlama Context.swift
[243/374] Emitting module LocalLLMClientLlama
[244/374] Compiling LocalLLMClientLlama Decoder.swift
[245/374] Compiling LocalLLMClientLlama Generator.swift
[246/374] Compiling LocalLLMClientLlama LLMSession+Llama.swift
[247/374] Compiling LocalLLMClientLlama LlamaAutoMessageDecoder.swift
[248/374] Compiling LocalLLMClientLlama Sampler.swift
[249/374] Compiling LocalLLMClientLlama Token.swift
[250/374] Compiling LocalLLMClientLlama resource_bundle_accessor.swift
[250/374] Compiling rope.cpp
[251/374] Compiling reduce.cpp
[252/374] Compiling primitives.cpp
[253/374] Compiling quantized.cpp
[254/374] Compiling normalization.cpp
[255/374] Compiling metal.cpp
[256/374] Compiling export.cpp
[257/374] Compiling logsumexp.cpp
[258/374] Compiling indexing.cpp
[259/374] Compiling matmul.cpp
[260/374] Compiling fence.cpp
[261/374] Compiling jit_kernels.cpp
[262/374] Compiling hadamard.cpp
[263/374] Compiling event.cpp
[264/374] Compiling distributed.cpp
[265/374] Compiling threefry.cpp
[266/374] Compiling custom_kernel.cpp
[267/374] Compiling fft.cpp
[268/374] Compiling allocator.cpp
[269/374] Compiling copy.cpp
[269/374] Compiling device.cpp
[271/374] Compiling conv.cpp
[272/374] Compiling binary.cpp
[273/374] Compiling compiled.cpp
[274/374] Compiling svd.cpp
[275/374] Compiling softmax.cpp
[276/374] Compiling select.cpp
[277/374] Compiling quantized.cpp
[278/374] Compiling scan.cpp
[279/374] Compiling qrf.cpp
[280/374] Compiling primitives.cpp
[281/374] Compiling sort.cpp
[282/374] Compiling unary.cpp
[283/374] Compiling matmul.cpp
[284/374] Compiling jit_compiler.cpp
[285/374] Compiling logsumexp.cpp
[286/374] Compiling luf.cpp
[287/374] Compiling masked_mm.cpp
[288/374] Compiling hadamard.cpp
[289/374] Compiling cblas.cpp
[290/374] Compiling bnns.cpp
[291/374] Compiling inverse.cpp
[292/374] Compiling encoder.cpp
[293/374] Compiling fft.cpp
[294/374] Compiling reduce.cpp
[295/374] Compiling eval.cpp
[296/374] Compiling distributed.cpp
[297/374] Compiling slicing.cpp
[298/374] Compiling utils.cpp
[299/374] Compiling reduce.cpp
[300/374] Compiling eigh.cpp
[301/374] Compiling arg_reduce.cpp
[302/374] Compiling indexing.cpp
[303/374] Compiling cholesky.cpp
[304/374] Compiling utils.cpp
[305/374] Compiling unary_ops.cpp
[306/374] Compiling allocator.cpp
[307/374] Compiling compiled.cpp
[308/374] Compiling broadcasting.cpp
[309/374] Compiling ternary.cpp
[310/374] Compiling ternary_ops.cpp
[310/374] Compiling unary.cpp
[312/374] Compiling steel_gemm_splitk.cpp
[313/374] Compiling load.cpp
[314/374] Compiling steel_gemm_masked.cpp
[315/374] Compiling steel_gemm_fused.cpp
[315/374] Compiling steel_gemm_gather.cpp
[317/374] Compiling steel_conv_general.cpp
[318/374] Compiling steel_conv.cpp
[319/374] Compiling softmax.cpp
[320/374] Compiling scatter_axis.cpp
[321/374] Compiling sort.cpp
[322/374] Compiling scatter.cpp
[323/374] Compiling scan.cpp
[324/374] Compiling reduce.cpp
[325/374] Compiling reduce_utils.cpp
[326/374] Compiling quantized.cpp
[327/374] Compiling logsumexp.cpp
[328/374] Compiling hadamard.cpp
[329/374] Compiling common.cpp
[330/374] Compiling gemv_masked.cpp
[331/374] Compiling gemm.cpp
[331/374] Compiling gather_axis.cpp
[333/374] Compiling gather.cpp
[334/374] Compiling fft.cpp
[335/374] Compiling copy.cpp
[336/374] Compiling conv.cpp
[337/374] Compiling compiled_preamble.cpp
[337/374] Compiling binary_two.cpp
[339/374] Compiling binary_ops.cpp
[340/374] Compiling binary.cpp
[341/374] Compiling arange.cpp
[342/374] Compiling conv.cpp
[343/374] Compiling array.cpp
[344/374] Compiling copy.cpp
[345/374] Compiling version.cpp
[346/374] Compiling string.cpp
[347/374] Compiling transforms_impl.cpp
[348/374] Compiling transforms.cpp
[349/374] Compiling vector.cpp
[350/374] Compiling stream.cpp
[351/374] Compiling random.cpp
[352/374] Compiling compiled_conditional.cpp
[353/374] Compiling memory.cpp
[354/374] Compiling metal.cpp
[355/374] Compiling linalg.cpp
[356/374] Compiling ops.cpp
[357/374] Compiling io_types.cpp
[358/374] Compiling map.cpp
[359/374] Compiling error.cpp
[360/374] Compiling io.cpp
[360/374] Write sources
[362/376] Compiling fft.cpp
[364/376] Compiling ArgumentParserToolInfo ToolInfo.swift
[365/376] Emitting module ArgumentParserToolInfo
[365/394] Compiling fast.cpp
[366/414] Compiling export.cpp
[367/414] Compiling device.cpp
[368/414] Compiling compile.cpp
[369/414] Compiling format.cc
[370/414] Compiling closure.cpp
[371/414] Compiling array.cpp
[372/414] Compiling binary.cpp
[374/445] Compiling MLX MLXArray+Indexing.swift
[375/445] Compiling MLX MLXArray+Init.swift
[376/445] Compiling MLX ErrorHandler.swift
[377/445] Compiling MLX Export.swift
[378/449] Emitting module ArgumentParser
[379/449] Compiling MLX ArrayAt.swift
[380/449] Compiling MLX Cmlx+Util.swift
[381/449] Compiling MLX DType.swift
[382/449] Compiling MLX Device.swift
[383/449] Compiling MLX MLXArray+Bytes.swift
[384/449] Compiling MLX Transforms+Grad.swift
[385/449] Compiling ArgumentParser ParsableArgumentsValidation.swift
[386/449] Compiling ArgumentParser ParsableCommand.swift
[387/449] Compiling ArgumentParser ArgumentDecoder.swift
[388/449] Compiling MLX State.swift
[389/449] Compiling MLX Stream.swift
[390/449] Compiling MLX Transforms+Compile.swift
[391/449] Compiling MLX Transforms+Eval.swift
[392/449] Compiling MLX Foundation+Util.swift
[393/449] Compiling MLX GPU.swift
[394/449] Compiling MLX IO.swift
[395/449] Compiling MLX Linalg.swift
[396/449] Compiling MLX MLXFast.swift
[397/449] Compiling MLX MLXFastKernel.swift
[398/449] Compiling MLX Nested.swift
[399/449] Compiling MLX Ops+Array.swift
[400/449] Compiling ArgumentParser ParserError.swift
[401/449] Compiling ArgumentParser SplitArguments.swift
[402/449] Compiling ArgumentParser DumpHelpGenerator.swift
[403/449] Compiling ArgumentParser HelpCommand.swift
[404/449] Compiling MLX Ops.swift
[405/449] Compiling MLX ParameterTypes.swift
[406/449] Compiling MLX Protocols.swift
[407/449] Compiling MLX Random.swift
[408/449] Compiling MLX FFT.swift
[409/449] Compiling MLX Factory.swift
[410/449] Compiling MLX MLXArray+Ops.swift
[411/449] Compiling MLX MLXArray.swift
[412/449] Compiling ArgumentParser Platform.swift
[413/449] Compiling ArgumentParser SequenceExtensions.swift
[414/449] Compiling ArgumentParser StringExtensions.swift
[415/449] Compiling ArgumentParser Tree.swift
[425/452] Compiling MLX Transforms+Internal.swift
[426/452] Compiling MLX Transforms+Vmap.swift
[427/452] Compiling MLX Transforms.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/include/mlx/c/array.h:325:1: note: built-in type 'Complex' not supported
323 |  * Array must be evaluated, otherwise returns NULL.
324 |  */
325 | const float _Complex* mlx_array_data_complex64(const mlx_array arr);
    | `- note: built-in type 'Complex' not supported
326 |
327 | #ifdef HAS_FLOAT16
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/include/mlx/c/array.h:325:1: note: built-in type 'Complex' not supported
323 |  * Array must be evaluated, otherwise returns NULL.
324 |  */
325 | const float _Complex* mlx_array_data_complex64(const mlx_array arr);
    | `- note: built-in type 'Complex' not supported
326 |
327 | #ifdef HAS_FLOAT16
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/include/mlx/c/array.h:325:1: note: built-in type 'Complex' not supported
323 |  * Array must be evaluated, otherwise returns NULL.
324 |  */
325 | const float _Complex* mlx_array_data_complex64(const mlx_array arr);
    | `- note: built-in type 'Complex' not supported
326 |
327 | #ifdef HAS_FLOAT16
[446/452] Emitting module MLX
[450/459] Compiling MLXLinalg Linalg.swift
[451/459] Emitting module MLXLinalg
[452/459] Compiling MLXFast MLXFastKernel.swift
[453/459] Emitting module MLXFast
[454/459] Compiling MLXFast MLXFast.swift
[455/459] Compiling MLXRandom Random.swift
[456/459] Emitting module MLXRandom
[457/477] Compiling MLXNN Embedding.swift
[458/477] Compiling MLXNN Linear.swift
[459/478] Compiling MLXNN Normalization.swift
[460/478] Compiling MLXNN Pooling.swift
[461/478] Compiling MLXNN ConvolutionTransposed.swift
[462/478] Compiling MLXNN Dropout.swift
[463/478] Compiling MLXNN Containers.swift
[464/478] Compiling MLXNN Convolution.swift
[465/478] Emitting module MLXNN
[466/478] Compiling MLXNN Activations.swift
[467/478] Compiling MLXNN Cache.swift
[468/478] Compiling MLXNN ValueAndGrad.swift
[469/478] Compiling MLXNN Upsample.swift
[470/478] Compiling MLXNN Recurrent.swift
[471/478] Compiling MLXNN Transformer.swift
[472/478] Compiling MLXNN PositionalEncoding.swift
[473/478] Compiling MLXNN Quantized.swift
[474/478] Compiling MLXNN Losses.swift
[475/478] Compiling MLXNN Module.swift
[476/480] Emitting module MLXOptimizers
[477/480] Compiling MLXOptimizers Optimizers.swift
[478/510] Emitting module MLXLMCommon
[479/513] Compiling MLXLMCommon ModelAdapter.swift
[480/513] Compiling MLXLMCommon ModelAdapterFactory.swift
[481/513] Compiling MLXLMCommon ModelAdapterTypeRegistry.swift
[482/513] Compiling MLXLMCommon AttentionUtils.swift
[483/513] Compiling MLXLMCommon Streamlined.swift
[484/513] Compiling MLXLMCommon StringOrNumber.swift
[485/513] Compiling MLXLMCommon Tokenizer.swift
[486/513] Compiling MLXLMCommon Tool.swift
[487/513] Compiling MLXLMCommon ToolCall.swift
[488/513] Compiling MLXLMCommon ToolCallProcessor.swift
[489/513] Compiling MLXLMCommon Load.swift
[490/513] Compiling MLXLMCommon ModelConfiguration.swift
[491/513] Compiling MLXLMCommon ModelContainer.swift
[492/513] Compiling MLXLMCommon ModelFactory.swift
[493/513] Compiling MLXLMCommon Gemma.swift
[494/513] Compiling MLXLMCommon Module+Extensions.swift
[495/513] Compiling MLXLMCommon BaseConfiguration.swift
[496/513] Compiling MLXLMCommon Chat.swift
[497/513] Compiling MLXLMCommon Evaluate.swift
[498/513] Compiling MLXLMCommon AbstractModelRegistry.swift
[499/513] Compiling MLXLMCommon ModelTypeRegistry.swift
[500/513] Compiling MLXLMCommon ProcessorTypeRegistry.swift
[501/513] Compiling MLXLMCommon DoRA+Layers.swift
[502/513] Compiling MLXLMCommon LoRA+Layers.swift
[503/513] Compiling MLXLMCommon LoRAContainer.swift
[504/513] Compiling MLXLMCommon LoRAModel.swift
[505/513] Compiling MLXLMCommon Encodable+toolResult.swift
[506/513] Compiling MLXLMCommon KVCache.swift
[507/513] Compiling MLXLMCommon LanguageModel.swift
[508/513] Compiling MLXLMCommon ToolParameter.swift
[509/513] Compiling MLXLMCommon Value.swift
[510/513] Compiling MLXLMCommon UserInput.swift
[511/545] Compiling MLXVLM SmolVLM2.swift
[512/546] Compiling MLXLLM Qwen2.swift
[513/546] Compiling MLXLLM Qwen3.swift
[514/548] Compiling MLXLLM Granite.swift
[515/548] Compiling MLXLLM Internlm2.swift
[516/548] Compiling MLXLLM Llama.swift
[517/548] Compiling MLXLLM MiMo.swift
[518/548] Compiling MLXLLM OpenELM.swift
[519/548] Compiling MLXLLM Phi.swift
[520/548] Emitting module MLXLLM
[521/548] Compiling MLXVLM QwenVL.swift
[522/548] Compiling MLXLLM Phi3.swift
[523/548] Compiling MLXLLM PhiMoE.swift
[524/548] Compiling MLXLLM LoraTrain.swift
[525/548] Compiling MLXLLM Cohere.swift
[526/548] Compiling MLXLLM GLM4.swift
[527/548] Compiling MLXLLM Qwen3MoE.swift
[528/548] Compiling MLXLLM Starcoder2.swift
[529/548] Compiling MLXLLM Gemma.swift
[530/548] Compiling MLXLLM Gemma2.swift
[531/548] Compiling MLXLLM Gemma3Text.swift
[532/548] Compiling MLXLLM LLMModel.swift
[533/548] Compiling MLXLLM LLMModelFactory.swift
[534/548] Compiling MLXLLM Lora+Data.swift
[535/548] Compiling MLXVLM VLMModelFactory.swift
[536/548] Compiling MLXVLM VLMModel.swift
[537/548] Compiling MLXVLM Qwen2VL.swift
[538/548] Compiling MLXLLM SuScaledRotaryEmbedding.swift
[539/548] Compiling MLXLLM SwitchLayers.swift
[540/548] Compiling MLXVLM Paligemma.swift
[541/548] Compiling MLXVLM Qwen25VL.swift
[542/548] Compiling MLXVLM Idefics3.swift
[543/548] Compiling MLXVLM MediaProcessing.swift
[544/548] Emitting module MLXVLM
[545/548] Compiling MLXVLM Gemma3.swift
[546/554] Compiling LocalLLMClientMLX Utility.swift
[547/554] Compiling LocalLLMClientMLX MLXClient.swift
[548/554] Emitting module LocalLLMClientMLX
[549/554] Compiling LocalLLMClientMLX LLMSession+MLX.swift
[550/554] Compiling LocalLLMClientMLX Parameter.swift
[551/554] Compiling LocalLLMClientMLX Context.swift
[552/556] Compiling LocalLLMCLI command.swift
[553/556] Emitting module LocalLLMCLI
[553/556] Write Objects.LinkFileList
[554/556] Linking localllm
[555/556] Applying localllm
Build complete! (87.50s)
Fetching https://github.com/ml-explore/mlx-swift-examples
[1/5275] Fetching mlx-swift-examples
Fetched https://github.com/ml-explore/mlx-swift-examples from cache (1.10s)
Fetching https://github.com/1024jp/GzipSwift
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/johnmai-dev/Jinja
Fetching https://github.com/huggingface/swift-transformers
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/ml-explore/mlx-swift
[1/393] Fetching jinja
[100/2475] Fetching jinja, swift-docc-plugin
[184/4032] Fetching jinja, swift-docc-plugin, gzipswift
[371/7335] Fetching jinja, swift-docc-plugin, gzipswift, swift-transformers
[2722/18245] Fetching jinja, swift-docc-plugin, gzipswift, swift-transformers, mlx-swift
Fetched https://github.com/1024jp/GzipSwift from cache (0.87s)
[1274/16688] Fetching jinja, swift-docc-plugin, swift-transformers, mlx-swift
[1275/32068] Fetching jinja, swift-docc-plugin, swift-transformers, mlx-swift, swift-argument-parser
Fetched https://github.com/ml-explore/mlx-swift from cache (1.53s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.58s)
Fetched https://github.com/johnmai-dev/Jinja from cache (1.58s)
Fetched https://github.com/huggingface/swift-transformers from cache (1.59s)
Fetched https://github.com/apple/swift-docc-plugin from cache (1.59s)
Computing version for https://github.com/1024jp/GzipSwift
Computed https://github.com/1024jp/GzipSwift at 6.0.1 (4.16s)
Computing version for https://github.com/huggingface/swift-transformers
Computed https://github.com/huggingface/swift-transformers at 0.1.21 (0.41s)
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.43s)
Computing version for https://github.com/ml-explore/mlx-swift
Computed https://github.com/ml-explore/mlx-swift at 0.25.5 (0.45s)
Fetching https://github.com/apple/swift-numerics
[1/5757] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (1.05s)
Computing version for https://github.com/johnmai-dev/Jinja
Computed https://github.com/johnmai-dev/Jinja at 1.1.2 (1.48s)
Fetching https://github.com/apple/swift-collections.git
[1/16715] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.75s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (2.27s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.0.3 (0.54s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.4 (0.53s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3416] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.08s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.73s)
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.4
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-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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.0
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/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/ml-explore/mlx-swift-examples
Working copy of https://github.com/ml-explore/mlx-swift-examples resolved at main (2cceb87)
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/1024jp/GzipSwift
Working copy of https://github.com/1024jp/GzipSwift resolved at 6.0.1
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.0.3
Downloading binary artifact https://github.com/ggml-org/llama.cpp/releases/download/b5731/llama-b5731-xcframework.zip
[8259/84775931] Downloading https://github.com/ggml-org/llama.cpp/releases/download/b5731/llama-b5731-xcframework.zip
Downloaded https://github.com/ggml-org/llama.cpp/releases/download/b5731/llama-b5731-xcframework.zip (6.74s)
Build complete.
{
  "cxx_language_standard" : "c++20",
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.4.0",
            "upper_bound" : "1.5.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser.git"
    },
    {
      "identity" : "jinja",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.0",
            "upper_bound" : "1.2.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/johnmai-dev/Jinja"
    },
    {
      "identity" : "swift-transformers",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.1.21",
            "upper_bound" : "0.2.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/huggingface/swift-transformers"
    },
    {
      "identity" : "mlx-swift-examples",
      "requirement" : {
        "branch" : [
          "main"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/ml-explore/mlx-swift-examples"
    },
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.4.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    }
  ],
  "manifest_display_name" : "LocalLLMClient",
  "name" : "LocalLLMClient",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "macos",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "LocalLLMClient",
      "targets" : [
        "LocalLLMClient"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "localllm",
      "targets" : [
        "LocalLLMCLI"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "LocalLLMClientLlama",
      "targets" : [
        "LocalLLMClientLlama"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "LocalLLMClientMLX",
      "targets" : [
        "LocalLLMClientMLX"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "LocalLLMClientFoundationModels",
      "targets" : [
        "LocalLLMClientFoundationModels"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "LocalLLMClientUtilityTests",
      "module_type" : "SwiftTarget",
      "name" : "LocalLLMClientUtilityTests",
      "path" : "Tests/LocalLLMClientUtilityTests",
      "product_dependencies" : [
        "MLXLMCommon"
      ],
      "sources" : [
        "DownloaderTests.swift",
        "FileDownloaderTests.swift",
        "FilesMetadataTests.swift",
        "HuggingFaceAPITests.swift",
        "MockURLProtocol.swift",
        "URLExtensionTests.swift"
      ],
      "target_dependencies" : [
        "LocalLLMClientUtility"
      ],
      "type" : "test"
    },
    {
      "c99name" : "LocalLLMClientUtility",
      "module_type" : "SwiftTarget",
      "name" : "LocalLLMClientUtility",
      "path" : "Sources/LocalLLMClientUtility",
      "product_memberships" : [
        "LocalLLMClient",
        "localllm",
        "LocalLLMClientLlama",
        "LocalLLMClientMLX",
        "LocalLLMClientFoundationModels"
      ],
      "sources" : [
        "Downloader.swift",
        "FileDownloader.swift",
        "Globs.swift",
        "HuggingFaceAPI.swift",
        "Lock.swift",
        "URL+.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "LocalLLMClientMLXTests",
      "module_type" : "SwiftTarget",
      "name" : "LocalLLMClientMLXTests",
      "path" : "Tests/LocalLLMClientMLXTests",
      "sources" : [
        "LLMSessionMLXTests.swift",
        "LocalLLMClientMLXTests.swift",
        "ModelTests.swift"
      ],
      "target_dependencies" : [
        "LocalLLMClientMLX"
      ],
      "type" : "test"
    },
    {
      "c99name" : "LocalLLMClientMLX",
      "module_type" : "SwiftTarget",
      "name" : "LocalLLMClientMLX",
      "path" : "Sources/LocalLLMClientMLX",
      "product_dependencies" : [
        "MLXLLM",
        "MLXVLM"
      ],
      "product_memberships" : [
        "localllm",
        "LocalLLMClientMLX"
      ],
      "sources" : [
        "Context.swift",
        "LLMSession+MLX.swift",
        "MLXClient.swift",
        "Parameter.swift",
        "Utility.swift"
      ],
      "target_dependencies" : [
        "LocalLLMClient"
      ],
      "type" : "library"
    },
    {
      "c99name" : "LocalLLMClientLlamaTests",
      "module_type" : "SwiftTarget",
      "name" : "LocalLLMClientLlamaTests",
      "path" : "Tests/LocalLLMClientLlamaTests",
      "sources" : [
        "ContextTests.swift",
        "LLMSessionLlamaTests.swift",
        "LlamaChatMessageDecoderTests.swift",
        "LocalLLMClientLlamaTests.swift",
        "ModelTests.swift"
      ],
      "target_dependencies" : [
        "LocalLLMClientLlama"
      ],
      "type" : "test"
    },
    {
      "c99name" : "LocalLLMClientLlamaFramework",
      "module_type" : "BinaryTarget",
      "name" : "LocalLLMClientLlamaFramework",
      "path" : "remote/archive/llama-b5731-xcframework.zip",
      "product_memberships" : [
        "localllm",
        "LocalLLMClientLlama"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "LocalLLMClientLlamaC",
      "module_type" : "ClangTarget",
      "name" : "LocalLLMClientLlamaC",
      "path" : "Sources/LocalLLMClientLlamaC",
      "product_memberships" : [
        "localllm",
        "LocalLLMClientLlama"
      ],
      "sources" : [
        "clip.cpp",
        "mtmd-audio.cpp",
        "mtmd-helper.cpp",
        "mtmd.cpp"
      ],
      "target_dependencies" : [
        "LocalLLMClientLlamaFramework"
      ],
      "type" : "library"
    },
    {
      "c99name" : "LocalLLMClientLlama",
      "module_type" : "SwiftTarget",
      "name" : "LocalLLMClientLlama",
      "path" : "Sources/LocalLLMClientLlama",
      "product_dependencies" : [
        "Jinja"
      ],
      "product_memberships" : [
        "localllm",
        "LocalLLMClientLlama"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/LocalLLMClientLlama/Resources/Grammars/json.gbnf",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "Batch.swift",
        "Context.swift",
        "Decoder.swift",
        "Generator.swift",
        "LLMSession+Llama.swift",
        "LlamaAutoMessageDecoder.swift",
        "LlamaChatMessageDecoder.swift",
        "LlamaClient.swift",
        "Logger.swift",
        "Model.swift",
        "Multimodal.swift",
        "Parameter.swift",
        "Sampler.swift",
        "Token.swift",
        "Utility.swift",
        "stb_image.swift"
      ],
      "target_dependencies" : [
        "LocalLLMClient",
        "LocalLLMClientLlamaC"
      ],
      "type" : "library"
    },
    {
      "c99name" : "LocalLLMClientFoundationModelsTests",
      "module_type" : "SwiftTarget",
      "name" : "LocalLLMClientFoundationModelsTests",
      "path" : "Tests/LocalLLMClientFoundationModelsTests",
      "sources" : [
        "LLMSessionFoundationModelsTests.swift",
        "ModelTests.swift"
      ],
      "target_dependencies" : [
        "LocalLLMClientFoundationModels"
      ],
      "type" : "test"
    },
    {
      "c99name" : "LocalLLMClientFoundationModels",
      "module_type" : "SwiftTarget",
      "name" : "LocalLLMClientFoundationModels",
      "path" : "Sources/LocalLLMClientFoundationModels",
      "product_memberships" : [
        "localllm",
        "LocalLLMClientFoundationModels"
      ],
      "sources" : [
        "FoundationModelsClient.swift",
        "LLMSession+FoundationModels.swift"
      ],
      "target_dependencies" : [
        "LocalLLMClient"
      ],
      "type" : "library"
    },
    {
      "c99name" : "LocalLLMClient",
      "module_type" : "SwiftTarget",
      "name" : "LocalLLMClient",
      "path" : "Sources/LocalLLMClient",
      "product_memberships" : [
        "LocalLLMClient",
        "localllm",
        "LocalLLMClientLlama",
        "LocalLLMClientMLX",
        "LocalLLMClientFoundationModels"
      ],
      "sources" : [
        "Async+.swift",
        "LLMClient.swift",
        "LLMError.swift",
        "LLMInput.swift",
        "LLMSession.swift"
      ],
      "target_dependencies" : [
        "LocalLLMClientUtility"
      ],
      "type" : "library"
    },
    {
      "c99name" : "LocalLLMCLI",
      "module_type" : "SwiftTarget",
      "name" : "LocalLLMCLI",
      "path" : "Sources/LocalLLMCLI",
      "product_dependencies" : [
        "ArgumentParser"
      ],
      "product_memberships" : [
        "localllm"
      ],
      "sources" : [
        "command.swift"
      ],
      "target_dependencies" : [
        "LocalLLMClientLlama",
        "LocalLLMClientMLX",
        "LocalLLMClientFoundationModels"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "6.1"
}
Done.