Build Information
Failed to build mlx-swift-lm, reference main (fd0f13), with Swift 6.4 for macOS (SPM) on 16 Oct 2026 03:13:42 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-27.0.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 5.1.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/drewster99/mlx-swift-lm.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/drewster99/mlx-swift-lm
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at fd0f13b add TurboQuant KV cache compression (#232)
Cloned https://github.com/drewster99/mlx-swift-lm.git
Revision (git rev-parse @):
fd0f13bcab1f8af78a57f91fbf250a7dfde74c9b
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/drewster99/mlx-swift-lm.git at main
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/ml-explore/mlx-swift
[1/17176] Fetching mlx-swift
[5326/97953] Fetching mlx-swift, swift-syntax
Fetched https://github.com/ml-explore/mlx-swift (3.43s)
[12117/80777] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git (43.81s)
Computing version for https://github.com/ml-explore/mlx-swift
Computed https://github.com/ml-explore/mlx-swift at 0.31.6 (44.66s)
Fetching https://github.com/apple/swift-numerics
Fetching https://github.com/apple/swift-argument-parser
[1/6756] Fetching swift-numerics
[745/25870] Fetching swift-numerics, swift-argument-parser
Fetched https://github.com/apple/swift-numerics (2.22s)
Fetched https://github.com/apple/swift-argument-parser (2.22s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 603.0.2 (12.60s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (0.60s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.63s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.8.2
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 603.0.2
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/ml-explore/mlx-swift
Working copy of https://github.com/ml-explore/mlx-swift resolved at 0.31.6
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/603.0.2/swiftlang-6.4.0.34.1-macosx27.0-MacroSupport.zip
Downloaded https://download.swift.org/prebuilts/swift-syntax/603.0.2/swiftlang-6.4.0.34.1-macosx27.0-MacroSupport.zip (1.67s)
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"traits": [
"default"
],
"dependencies": [
{
"identity": "mlx-swift-lm",
"name": "mlx-swift-lm",
"url": "https://github.com/drewster99/mlx-swift-lm.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/mlx-swift-lm",
"traits": [
"FoundationModelsIntegration"
],
"dependencies": [
{
"identity": "mlx-swift",
"name": "mlx-swift",
"url": "https://github.com/ml-explore/mlx-swift",
"version": "0.31.6",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/mlx-swift",
"traits": [
"default"
],
"dependencies": [
{
"identity": "swift-numerics",
"name": "swift-numerics",
"url": "https://github.com/apple/swift-numerics",
"version": "1.1.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-numerics",
"traits": [
"default"
],
"dependencies": [
]
},
{
"identity": "swift-argument-parser",
"name": "swift-argument-parser",
"url": "https://github.com/apple/swift-argument-parser",
"version": "1.8.2",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-argument-parser",
"traits": [
"default"
],
"dependencies": [
]
}
]
}
]
}
]
}
Fetching https://github.com/drewster99/mlx-swift-lm.git
[1/4330] Fetching mlx-swift-lm
Fetched https://github.com/drewster99/mlx-swift-lm.git (1.48s)
Fetching https://github.com/ml-explore/mlx-swift from cache
Fetching https://github.com/swiftlang/swift-syntax.git from cache
Fetched https://github.com/swiftlang/swift-syntax.git from cache (1.01s)
Fetched https://github.com/ml-explore/mlx-swift from cache (1.08s)
Computing version for https://github.com/ml-explore/mlx-swift
Computed https://github.com/ml-explore/mlx-swift at 0.31.6 (1.15s)
Fetching https://github.com/apple/swift-argument-parser from cache
Fetching https://github.com/apple/swift-numerics from cache
Fetched https://github.com/apple/swift-argument-parser from cache (0.66s)
Fetched https://github.com/apple/swift-numerics from cache (0.69s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 603.0.2 (0.75s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (0.03s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.03s)
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/ml-explore/mlx-swift
Working copy of https://github.com/ml-explore/mlx-swift resolved at 0.31.6
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 603.0.2
Creating working copy for https://github.com/drewster99/mlx-swift-lm.git
Working copy of https://github.com/drewster99/mlx-swift-lm.git resolved at main (fd0f13b)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.8.2
Found 1 product dependencies
- mlx-swift
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.4
Building package at path: $PWD
https://github.com/drewster99/mlx-swift-lm.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0.app xcrun swift build --arch arm64
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 1001]
[Planning deferred tasks]
[Starting]
[57 / 541] MLXNN
[162 / 541]
[173 / 544] MLXHuggingFaceMacros
[174 / 558] ArgumentParserToolInfo
[176 / 590]
[178 / 590]
[180 / 590]
[188 / 590]
[193 / 590] RealModule
[210 / 590]
[214 / 590]
[216 / 590] MLXCXGrammar
[217 / 590]
[219 / 590]
[220 / 590] MLXCXGrammar
[221 / 590]
[223 / 590]
[227 / 590]
[231 / 590]
[234 / 590]
[236 / 590]
[240 / 590]
[246 / 591] MLXHuggingFaceMacros
[252 / 602] MLXHuggingFaceMacros
[258 / 602] ComplexModule
[272 / 606] ComplexModule
[284 / 606] MLXHuggingFaceMacros
[286 / 606] ArgumentParser
[291 / 628]
[294 / 628]
[296 / 628] MLXCXGrammar
[298 / 628]
[309 / 628] ArgumentParser
[318 / 629] encuda-product
[324 / 635] ArgumentParser
[325 / 635] ArgumentParser
[325 / 635] encuda-product
[329 / 635] encuda-product
[347 / 636] Cmlx
[348 / 636] Cmlx
[349 / 652]
[354 / 652]
[355 / 652] Cmlx
[358 / 652] Cmlx
[363 / 652] Cmlx
[368 / 652] Cmlx
[376 / 652] Cmlx
[378 / 652] Cmlx
[383 / 652] MLX
[387 / 652] Cmlx
[390 / 652] Cmlx
[391 / 652] Cmlx
[392 / 652] Cmlx
[393 / 652] Cmlx
[398 / 652] Cmlx
[399 / 652] Cmlx
[400 / 652] Cmlx
[402 / 652] Cmlx
[404 / 652] Cmlx
[405 / 652] Cmlx
[408 / 652] Cmlx
[410 / 652] Cmlx
[412 / 652] Cmlx
[413 / 652] Cmlx
[416 / 652] Cmlx
[417 / 652] Cmlx
[420 / 652] Cmlx
[421 / 652] Cmlx
[422 / 652] Cmlx
[423 / 652] Cmlx
[424 / 652] Cmlx
[425 / 652] Cmlx
[427 / 652] Cmlx
[429 / 652] Cmlx
[431 / 652] Cmlx
[434 / 652] Cmlx
[435 / 652] Cmlx
[437 / 652] Cmlx
[438 / 652] Cmlx
[440 / 652] Cmlx
[443 / 652] Cmlx
[444 / 652] Cmlx
[445 / 652] Cmlx
[446 / 652] Cmlx
[448 / 652] Cmlx
[449 / 652] Cmlx
[452 / 652] Cmlx
[454 / 652] Cmlx
[458 / 652] Cmlx
[462 / 652] Cmlx
[466 / 652] Cmlx
[467 / 652] Cmlx
[468 / 652] Cmlx
[470 / 652] Cmlx
[473 / 652] Cmlx
[475 / 652] Cmlx
[477 / 652] Cmlx
[478 / 652] Cmlx
[479 / 652] Cmlx
[480 / 652] Cmlx
[482 / 652] Cmlx
[484 / 652] Cmlx
[486 / 652] Cmlx
[489 / 652] Cmlx
[492 / 652] Cmlx
[494 / 652] Cmlx
[495 / 652] Cmlx
[496 / 652] Cmlx
[497 / 652] Cmlx
[502 / 652] Cmlx
[505 / 652] Cmlx
[506 / 652] Cmlx
[507 / 652] Cmlx
[509 / 652] Cmlx
[510 / 652] Cmlx
[512 / 652] Cmlx
[514 / 652] Cmlx
[515 / 652] Cmlx
[519 / 652] Cmlx
[521 / 652] Cmlx
[522 / 652] Cmlx
[525 / 652] MLX
[526 / 652] MLX
[527 / 652] MLX
[528 / 652] MLXNN
[532 / 652] MLX
[535 / 652] MLX
[536 / 652] Cmlx
[539 / 652] mlx-swift_Cmlx
[540 / 652] mlx-swift_Cmlx
[544 / 683]
[550 / 683]
[554 / 683] mlx-swift_Cmlx
[554 / 683] MLX
[557 / 683]
[560 / 683]
[563 / 684] mlx-swift_Cmlx
[563 / 684]
[575 / 695]
[580 / 695] MLXNN
[583 / 695]
[593 / 696] mlx-swift_Cmlx
[596 / 696]
[596 / 696] MLXOptimizers
[600 / 699] MLXOptimizers
[608 / 700]
[610 / 700] MLXOptimizers
[611 / 700] MLXLMCommon
[621 / 734]
[624 / 734]
[628 / 734]
[630 / 734]
[631 / 734]
[633 / 734]
[634 / 734]
[645 / 734] mlx-swift_Cmlx
[646 / 734] MLXLMCommon
[650 / 734] MLXLMCommon
[656 / 738]
[656 / 738] mlx-swift_Cmlx
[660 / 738] Cmlx
[670 / 772] MLXVLM
[671 / 783] MLXLLM
[679 / 783] MLXGuidedGeneration
[682 / 783] MLXVLM
[686 / 783] MLXEmbedders
[692 / 783] MLXVLM
[693 / 783] MLXVLM
[695 / 783] MLXVLM
[702 / 783] MLXVLM
[711 / 783] MLXLLM-product
[712 / 783] MLXLLM-product
[716 / 783] MLXLLM
[717 / 783] MLXLLM
[718 / 783] MLXVLM
[720 / 783] MLXGuidedGeneration-product
[721 / 783] MLXGuidedGeneration-product
[724 / 783] MLXGuidedGeneration
[725 / 783] MLXFoundationModels
[727 / 783] MLXEmbedders
[728 / 783] MLXEmbedders
[731 / 783] MLXEmbedders-product
[736 / 783]
[742 / 786]
[744 / 786] MLXEmbedders
[747 / 786] IntegrationTestHelpers
[757 / 801] MLXFoundationModels
[761 / 801] BenchmarkHelpers
[781 / 801] MLXFoundationModels
[784 / 802] MLXLLM-product
[784 / 802] BenchmarkHelpers
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/Libraries/MLXFoundationModels/README.md
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/Libraries/MLXGuidedGeneration/README.md
warning: missing creator for mutated node: ('/Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug/mlx-swift_Cmlx.bundle/Contents/MacOS')
In file included from /Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/steel/attn/kernels/steel_attention.metal:6:
In file included from /Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/steel/attn/kernels/../../../steel/attn/kernels/steel_attention.h:3:
In file included from /Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/steel/attn/kernels/../../../steel/attn/attn.h:6:
In file included from /Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/steel/attn/kernels/../../../steel/attn/../../steel/attn/mma.h:11:
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/steel/attn/kernels/../../../steel/attn/../../steel/utils/integral_constant.h:108:6: warning: constexpr if is a C++17 extension [-Wc++17-extensions]
if constexpr (start < stop) {
^
In file included from /Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/steel/attn/kernels/steel_attention.metal:6:
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/steel/attn/kernels/../../../steel/attn/kernels/steel_attention.h:356:16: warning: constexpr if is a C++17 extension [-Wc++17-extensions]
if constexpr (is_bool) {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/steel/attn/kernels/../../../steel/attn/kernels/steel_attention.h:426:14: warning: constexpr if is a C++17 extension [-Wc++17-extensions]
if constexpr (BD == 128) {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/steel/attn/kernels/../../../steel/attn/kernels/steel_attention.h:436:14: warning: constexpr if is a C++17 extension [-Wc++17-extensions]
if constexpr (BD == 128) {
^
4 warnings generated.
/Users/admin/builder/spi-builder-workspace/Libraries/MLXVLM/Models/Qwen25VL.swift:115:17: [1;33mwarning: [1;39mvariable 'freqsT' was never mutated; consider changing to 'let' constant[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated\VariableNeverMutated]8;;\]
[0;36m113 |[0;0m freqs = freqs.transposed(0, 1, 3, 2) // [3, batch, seq, dim/2]
[0;36m114 |[0;0m
[0;36m115 |[0;0m var freqsT = freqs[0]
[0;36m|[0;0m `- [1;33mwarning: [1;39mvariable 'freqsT' was never mutated; consider changing to 'let' constant[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated\VariableNeverMutated]8;;\]
[0;36m116 |[0;0m var offset = mropeSectionRaw[0]
[0;36m117 |[0;0m for dim in 1 ..< mropeSectionRaw.count {
[#VariableNeverMutated]: <https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated>
/Users/admin/builder/spi-builder-workspace/Libraries/MLXVLM/Models/Qwen2VL.swift:127:17: [1;33mwarning: [1;39mvariable 'freqsT' was never mutated; consider changing to 'let' constant[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated\VariableNeverMutated]8;;\]
[0;36m125 |[0;0m freqs = freqs.transposed(0, 1, 3, 2) // [3, batch, seq, dim/2]
[0;36m126 |[0;0m
[0;36m127 |[0;0m var freqsT = freqs[0]
[0;36m|[0;0m `- [1;33mwarning: [1;39mvariable 'freqsT' was never mutated; consider changing to 'let' constant[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated\VariableNeverMutated]8;;\]
[0;36m128 |[0;0m var offset = mropeSectionRaw[0]
[0;36m129 |[0;0m for dim in 1 ..< mropeSectionRaw.count {
[#VariableNeverMutated]: <https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated>
/Users/admin/builder/spi-builder-workspace/Libraries/MLXVLM/Models/Gemma4.swift:1227:13: [1;33mwarning: [1;39minitialization of immutable value 'hasExplicitCache' was never used; consider replacing with assignment to '_' or removing it[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m1225 |[0;0m let finalPerLayerInputs = projectPerLayerInputs(h0, perLayerInputs: processedPerLayerInputs)
[0;36m1226 |[0;0m
[0;36m1227 |[0;0m let hasExplicitCache = cache != nil
[0;36m|[0;0m `- [1;33mwarning: [1;39minitialization of immutable value 'hasExplicitCache' was never used; consider replacing with assignment to '_' or removing it[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m1228 |[0;0m let localCache =
[0;36m1229 |[0;0m cache ?? Array(repeating: nil as KVCache?, count: max(firstKVSharedLayerIdx, 1))
[#NoUsage]: <https://docs.swift.org/compiler/documentation/diagnostics/no-usage>
error: SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Libraries/MLXFoundationModels/MLXLanguageModel.swift failed with a nonzero exit code. Command line: cd /Users/admin/builder
builtin-SwiftPerFileCompile MLXLanguageModel.swift
/Users/admin/builder/spi-builder-workspace/Libraries/MLXFoundationModels/MLXLanguageModel.swift:565:54: [1;31merror: [1;39mextraneous argument label 'capabilities:' in call[0;0m
[0;36m563 |[0;0m ) {
[0;36m564 |[0;0m self.configuration = configuration
[0;36m565 |[0;0m self.capabilities = LanguageModelCapabilities(capabilities: capabilities)
[0;36m|[0;0m `- [1;31merror: [1;39mextraneous argument label 'capabilities:' in call[0;0m
[0;36m566 |[0;0m self.configurationResolver = configurationResolver
[0;36m567 |[0;0m self.weightsLocation = weightsLocation
/Users/admin/builder/spi-builder-workspace/Libraries/MLXFoundationModels/MLXLanguageModel.swift:718:84: [1;31merror: [1;39mcannot convert value of type '[String : any Sendable & Codable & Equatable]' (aka 'Dictionary<String, any Decodable & Encodable & Equatable & Sendable>') to expected argument type '[String : any ConvertibleToGeneratedContent]'[0;0m
[0;36m716 |[0;0m ) async {
[0;36m717 |[0;0m generationObserver?(.updateMetadata(values, entryID: entryID))
[0;36m718 |[0;0m await channel.send(.response(entryID: entryID, action: .updateMetadata(values)))
[0;36m|[0;0m |- [1;31merror: [1;39mcannot convert value of type '[String : any Sendable & Codable & Equatable]' (aka 'Dictionary<String, any Decodable & Encodable & Equatable & Sendable>') to expected argument type '[String : any ConvertibleToGeneratedContent]'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39marguments to generic parameter 'Value' ('any Sendable & Codable & Equatable' (aka 'any Decodable & Encodable & Equatable & Sendable') and 'any ConvertibleToGeneratedContent') are expected to be equal[0;0m
[0;36m719 |[0;0m }
[0;36m720 |[0;0m
Failed frontend command:
/Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -c /Users/admin/builder/spi-builder-workspace/Libraries/MLXFoundationModels/GuidedGeneration/SchemaConverter.swift /Users/admin/builder/spi-builder-workspace/Libraries/MLXFoundationModels/MLXDownloadProgress.swift /Users/admin/builder/spi-builder-workspace/Libraries/MLXFoundationModels/MLXLanguageModel+Availability.swift -primary-file /Users/admin/builder/spi-builder-workspace/Libraries/MLXFoundationModels/MLXLanguageModel.swift /Users/admin/builder/spi-builder-workspace/Libraries/MLXFoundationModels/ModelConfigurationResolver.swift /Users/admin/builder/spi-builder-workspace/Libraries/MLXFoundationModels/ModelDescriptor.swift /Users/admin/builder/spi-builder-workspace/Libraries/MLXFoundationModels/SamplingModeMapper.swift /Users/admin/builder/spi-builder-workspace/Libraries/MLXFoundationModels/ToolCalling/FinalAnswerTool.swift /Users/admin/builder/spi-builder-workspace/Libraries/MLXFoundationModels/ToolCalling/ToolCallingConversions.swift /Users/admin/builder/spi-builder-workspace/Libraries/MLXFoundationModels/TranscriptConverter.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/mlx-swift-lm.build/Debug/MLXFoundationModels-t.build/Objects-normal/arm64/MLXLanguageModel.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/mlx-swift-lm.build/Debug/MLXFoundationModels-t.build/Objects-normal/arm64/MLXLanguageModel.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/mlx-swift-lm.build/Debug/MLXFoundationModels-t.build/Objects-normal/arm64/MLXLanguageModel.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/mlx-swift-lm.build/Debug/MLXFoundationModels-t.build/Objects-normal/arm64/MLXLanguageModel.dia -target arm64-apple-macos14.0 -module-can-import-version FoundationModels 2.0.68.1 0 -disable-cross-import-overlay-search -swift-module-cross-import FoundationModels /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/FoundationModels.framework/Modules/FoundationModels.swiftcrossimport/AppKit.swiftoverlay -swift-module-cross-import FoundationModels /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/FoundationModels.framework/Modules/FoundationModels.swiftcrossimport/SwiftUI.swiftoverlay -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationModelsMacros.dylib\#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#FoundationModelsMacros -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/mlx-swift-lm.build/Debug/MLXFoundationModels-t.build/Objects-normal/arm64/MLXFoundationModels-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug -Isystem /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug -F /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftExplicitPrecompiledModules -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D FoundationModelsIntegration -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-numerics/Sources/_NumericsShims/include/module.modulemap -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/include/module.modulemap -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/Libraries/MLXCXGrammar/include/module.modulemap -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.build/out/SDKStatCaches.noindex/macosx27.0-26A425-80c5bbf1d171475443272936d42f90a389db99fe7804849a4777d653a8cfc1be.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-numerics/Sources/_NumericsShims/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/include -Xcc -I/Users/admin/builder/spi-builder-workspace/Libraries/MLXCXGrammar/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/mlx-swift-lm.build/Debug/MLXFoundationModels-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/mlx-swift-lm.build/Debug/MLXFoundationModels-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/mlx-swift-lm.build/Debug/MLXFoundationModels-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name MLXFoundationModels -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/mlx-swift-lm.build/Debug/MLXFoundationModels-t.build/Objects-normal/arm64/MLXFoundationModels_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-macos27.0 -target-sdk-version 27.0 -target-sdk-name macosx27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/mlx-swift-lm.build/Debug/MLXFoundationModels-t.build/Objects-normal/arm64/MLXLanguageModel.o -debug-module-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/mlx-swift-lm.build/Debug/MLXFoundationModels-t.build/Objects-normal/arm64/MLXFoundationModels.swiftmodule -index-unit-output-path /mlx-swift-lm.build/Debug/MLXFoundationModels-t.build/Objects-normal/arm64/MLXLanguageModel.o -index-store-path /Users/admin/builder/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 macosSpm