The Swift Package Index logo.Swift Package Index

Build Information

Successful build of swift-ai, reference main (46bca4), with Swift 6.4 for macOS (SPM) on 23 Sep 2026 04:55:27 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mi12labs/SwiftAI.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/mi12labs/SwiftAI
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 46bca4b Merge pull request #22 from mi12labs/openai-reasoning
Cloned https://github.com/mi12labs/SwiftAI.git
Revision (git rev-parse @):
46bca4bab65fe5635df716db6fb0f0262e32d852
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/mi12labs/SwiftAI.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/mi12labs/SwiftAI.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 1488]
[Planning 1048 / 1488]
[Planning deferred tasks]
[Constructing 1357 / 3588]
[37 / 875] SwiftSyntaxMacros
[279 / 875]
[292 / 875]
[295 / 875] mlx-swift_Cmlx
[305 / 881] SwiftSyntax510
[306 / 881] SwiftSyntax509
[307 / 892] RealModule
[309 / 898] InternalCollectionsUtilities
[310 / 910] HTTPTypes
[311 / 923]
[313 / 923]
[315 / 923] InternalCollectionsUtilities
[317 / 968] Markdown
[321 / 1012]
[329 / 1012]
[336 / 1012] RealModule
[352 / 1012] Cmlx
[358 / 1012] InternalCollectionsUtilities
[372 / 1012] RealModule
[380 / 1012]
[383 / 1012]
[387 / 1012]
[390 / 1012] Cmlx
[394 / 1012]
[400 / 1012] Cmlx
[405 / 1012] Cmlx
[407 / 1012]
[410 / 1012]
[414 / 1012]
[421 / 1012]
[425 / 1012] Cmlx
[427 / 1012] Cmlx
[431 / 1012]
[432 / 1012] Cmlx
[433 / 1012]
[435 / 1012]
[438 / 1012]
[439 / 1012] Cmlx
[440 / 1012]
[441 / 1012]
[442 / 1012] Cmlx
[444 / 1012] HTTPTypes
[446 / 1012] Cmlx
[450 / 1012] Cmlx
[461 / 1012] Cmlx
[463 / 1012] Markdown
[471 / 1012] Cmlx
[474 / 1012] Cmlx
[475 / 1012] Cmlx
[477 / 1012] Cmlx
[478 / 1012] Cmlx
[479 / 1012] Cmlx
[482 / 1012] Cmlx
[483 / 1012] Cmlx
[484 / 1012] Cmlx
[485 / 1012] Cmlx
[487 / 1012] Cmlx
[488 / 1012] Cmlx
[489 / 1012] Cmlx
[491 / 1012] Cmlx
[492 / 1012] Cmlx
[494 / 1012] Cmlx
[496 / 1012] Cmlx
[498 / 1012] Cmlx
[499 / 1012] Cmlx
[501 / 1012] Cmlx
[503 / 1012] Cmlx
[505 / 1012] Cmlx
[506 / 1012] Cmlx
[507 / 1012] Cmlx
[509 / 1012] Cmlx
[511 / 1012] Cmlx
[514 / 1012] Cmlx
[517 / 1012] Cmlx
[520 / 1012] Cmlx
[523 / 1012] Cmlx
[525 / 1012] Cmlx
[526 / 1012] Cmlx
[529 / 1012] Cmlx
[530 / 1012] Cmlx
[531 / 1012] Cmlx
[534 / 1012] Cmlx
[535 / 1012] Cmlx
[536 / 1012] Cmlx
[537 / 1012] Cmlx
[538 / 1012] Cmlx
[539 / 1012] Cmlx
[540 / 1012] Cmlx
[541 / 1012] Cmlx
[543 / 1012] Cmlx
[544 / 1012] Cmlx
[545 / 1012] Cmlx
[546 / 1012] Cmlx
[549 / 1012] Cmlx
[550 / 1012] Cmlx
[551 / 1012] Cmlx
[552 / 1012] Cmlx
[555 / 1012] Cmlx
[556 / 1012] Cmlx
[557 / 1012] Cmlx
[561 / 1012] Cmlx
[562 / 1012] Cmlx
[564 / 1012] Cmlx
[565 / 1012] Cmlx
[567 / 1012] Cmlx
[568 / 1012] Cmlx
[570 / 1012] Cmlx
[574 / 1012] Cmlx
[578 / 1012] Cmlx
[579 / 1012] Cmlx
[581 / 1012] Cmlx
[582 / 1012]
[586 / 1012]
[589 / 1012] mlx-swift_Cmlx
[592 / 1012] cmark-gfm-extensions
[596 / 1013] cmark-gfm-extensions
[603 / 1013] cmark-gfm
[609 / 1015] cmark-gfm-extensions
[623 / 1015] cmark-gfm
[635 / 1015] cmark-gfm
[647 / 1015] cmark-gfm
[664 / 1015] SwiftSyntax509
[671 / 1015] _NumericsShims
[675 / 1015] cmark-gfm
[677 / 1015] RealModule
[683 / 1015] Markdown
[688 / 1015] Markdown
[691 / 1015] RealModule
[693 / 1015] InternalCollectionsUtilities
[695 / 1015] InternalCollectionsUtilities
[697 / 1015] OrderedCollections
[699 / 1015] InternalCollectionsUtilities
[701 / 1015] InternalCollectionsUtilities
[702 / 1015] InternalCollectionsUtilities
[703 / 1015] HTTPTypes
[707 / 1015] HTTPTypes-product
[712 / 1015] OpenAPIRuntime
[714 / 1015] ComplexModule
[721 / 1015]
[729 / 1019] CAtomic
[734 / 1041] OrderedCollections
[738 / 1041] OrderedCollections
[740 / 1041] OrderedCollections
[743 / 1052] ComplexModule
[752 / 1063] SwiftSyntax
[754 / 1063] SwiftSyntax
[755 / 1063] SwiftSyntax
[756 / 1063] SwiftSyntax
[762 / 1063] OrderedCollections
[770 / 1063] SwiftSyntax
[770 / 1063] OrderedCollections
[771 / 1063] OrderedCollections-product
[772 / 1063] OrderedCollections-product
[773 / 1063] OrderedCollections-product
[775 / 1063] OpenAPIRuntime
[777 / 1063] OrderedCollections
[779 / 1063] OpenAPIRuntime
[780 / 1063] OpenAPIRuntime
[781 / 1063] OpenAPIRuntime
[786 / 1063] SwiftSyntax
[792 / 1063] OpenAI
[797 / 1063] ComplexModule
[799 / 1063] ComplexModule
[801 / 1063] Cmlx
[806 / 1068] Numerics
[809 / 1070] Numerics
[820 / 1083] SwiftDiagnostics
[822 / 1094] SwiftDiagnostics
[838 / 1094] SwiftParser
[839 / 1105] OpenAI
[841 / 1105] SwiftParser
[842 / 1105] SwiftParser
[846 / 1105] SwiftParser
[851 / 1105] SwiftParser-product
[854 / 1105] SwiftDiagnostics
[857 / 1105] SwiftParserDiagnostics
[861 / 1105] OpenAI
[863 / 1105] OpenAI
[866 / 1105] SwiftParser
[869 / 1105] OpenAI
[870 / 1105] OpenAI
[872 / 1105] Numerics
[875 / 1106]
[879 / 1118] SwiftParserDiagnostics
[880 / 1129] SwiftOperators
[883 / 1129] SwiftParserDiagnostics
[896 / 1129] SwiftSyntaxBuilder
[900 / 1129] SwiftParserDiagnostics
[907 / 1129] OpenAI
[910 / 1129] SwiftOperators
[918 / 1130]
[922 / 1133] Cmlx
[924 / 1133]
[925 / 1133] SwiftOperators
[926 / 1133] SwiftSyntaxBuilder
[933 / 1169] MLX
[935 / 1184]
[937 / 1184]
[939 / 1184] SwiftSyntaxBuilder
[941 / 1184] Jinja
[943 / 1184] Jinja
[949 / 1184] SwiftSyntaxBuilder
[952 / 1184] SwiftSyntaxBuilder
[958 / 1184] SwiftSyntaxBuilder
[966 / 1184] SwiftSyntaxMacros
[971 / 1184] SwiftFormat
[973 / 1184] SwiftFormatConfiguration
[976 / 1184] SwiftSyntaxBuilder
[983 / 1184] MLX
[990 / 1184] MLX
[991 / 1184] MLX
[993 / 1184] MLXRandom
[994 / 1184] MLXLinalg
[996 / 1184] MLX
[997 / 1184] MLX
[998 / 1184] MLX
[999 / 1184] Jinja
[1000 / 1184] Jinja
[1001 / 1184] Jinja-product
[1002 / 1184] Jinja-product
[1004 / 1184] Hub
[1006 / 1186]
[1010 / 1186]
[1015 / 1190] MLX
[1016 / 1190] Hub
[1016 / 1190] MLX
[1020 / 1203] SwiftSyntaxMacros
[1024 / 1203] SwiftFormatConfiguration
[1036 / 1203] SwiftSyntaxMacros
[1044 / 1210] SwiftSyntaxMacros
[1046 / 1221] SwiftSyntaxMacroExpansion
[1073 / 1222] MLX
[1077 / 1223] SwiftParserDiagnostics
[1082 / 1223] MLXLinalg
[1091 / 1223] MLXLinalg
[1096 / 1242] SwiftSyntaxMacroExpansion
[1097 / 1242] SwiftSyntaxMacroExpansion
[1101 / 1242] Hub
[1116 / 1242] MLXNN
[1119 / 1242] MLXNN
[1122 / 1242] SwiftSyntaxMacroExpansion
[1128 / 1242] MLXNN
[1129 / 1242] MLXOptimizers
[1133 / 1242] Tokenizers
[1135 / 1243]
[1137 / 1245] MLXLinalg
[1137 / 1245] Tokenizers
[1144 / 1256] Tokenizers
[1147 / 1265] Tokenizers
[1171 / 1265] SwiftCompilerPluginMessageHandling
[1174 / 1265] Tokenizers
[1181 / 1267] Generation
[1181 / 1267] SwiftCompilerPluginMessageHandling
[1181 / 1267] Tokenizers
[1183 / 1267] MLXOptimizers
[1187 / 1269] SwiftCompilerPluginMessageHandling
[1198 / 1279]
[1202 / 1279] SwiftCompilerPlugin
[1211 / 1280]
[1215 / 1280] Generation
[1227 / 1286] SwiftAIMacros
[1228 / 1286] Generation
[1234 / 1290] Models
[1243 / 1291] Models
[1245 / 1291] SwiftAIMacros
[1248 / 1292] MLXLMCommon
[1257 / 1321]
[1259 / 1332]
[1267 / 1332]
[1268 / 1332]
[1272 / 1332] SwiftAI
[1273 / 1332]
[1274 / 1332] SwiftAI
[1276 / 1332] SwiftAI
[1277 / 1332] SwiftAI
[1285 / 1333]
[1294 / 1333] MLXLMCommon
[1297 / 1337] OpenAI
[1299 / 1337] MLXLMCommon
[1307 / 1338]
[1308 / 1338] SwiftAI-product
[1309 / 1338] MLXLMCommon
[1311 / 1338] MLXLMCommon
[1319 / 1349] MLXLLM
[1320 / 1349] MLXLMCommon
[1322 / 1349] MLXLMCommon
[1324 / 1349]
[1331 / 1350]
[1331 / 1350] MLXLLM
[1337 / 1356] SwiftAIMLX
[1343 / 1356] SwiftAIMLX
[1344 / 1356] MLXLLM
[1345 / 1356] MLXLLM
[1348 / 1356] SwiftAIMLX-product
[1348 / 1356] SwiftAILLMTesting
[1354 / 1356] SwiftAILLMTesting
Build complete! (67.94 sec)
Fetching https://github.com/MacPaw/OpenAI.git
[1/9084] Fetching openai
Fetched https://github.com/MacPaw/OpenAI.git (1.51s)
Fetching https://github.com/apple/swift-openapi-runtime
Fetching https://github.com/ml-explore/mlx-swift-examples.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/pointfreeco/swift-macro-testing.git
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/swiftlang/swift-format.git
[1/1002] Fetching swift-macro-testing
[172/7940] Fetching swift-macro-testing, swift-openapi-runtime
[2669/35626] Fetching swift-macro-testing, swift-openapi-runtime, swift-collections
[2670/50667] Fetching swift-macro-testing, swift-openapi-runtime, swift-collections, swift-format
[10601/58533] Fetching swift-macro-testing, swift-openapi-runtime, swift-collections, swift-format, mlx-swift-examples
[31393/138547] Fetching swift-macro-testing, swift-openapi-runtime, swift-collections, swift-format, mlx-swift-examples, swift-syntax
Fetched https://github.com/ml-explore/mlx-swift-examples.git (2.07s)
[30576/130681] Fetching swift-macro-testing, swift-openapi-runtime, swift-collections, swift-format, swift-syntax
Fetched https://github.com/apple/swift-openapi-runtime (14.08s)
Fetched https://github.com/apple/swift-collections.git (14.08s)
Fetched https://github.com/swiftlang/swift-syntax.git (14.08s)
Fetched https://github.com/swiftlang/swift-format.git (14.08s)
Fetched https://github.com/pointfreeco/swift-macro-testing.git (14.08s)
Computing version for https://github.com/swiftlang/swift-format.git
Computed https://github.com/swiftlang/swift-format.git at 510.1.0 (17.07s)
Fetching https://github.com/apple/swift-markdown.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/18918] Fetching swift-argument-parser
[2/26657] Fetching swift-argument-parser, swift-markdown
Fetched https://github.com/apple/swift-markdown.git (1.65s)
[18918/18918] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git (1.86s)
Computing version for https://github.com/pointfreeco/swift-macro-testing.git
Computed https://github.com/pointfreeco/swift-macro-testing.git at 0.7.0 (2.48s)
Fetching https://github.com/pointfreeco/swift-snapshot-testing
[1/16477] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing (7.25s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 510.0.3 (8.00s)
Computing version for https://github.com/ml-explore/mlx-swift-examples.git
Computed https://github.com/ml-explore/mlx-swift-examples.git at 2.29.1 (0.58s)
Fetching https://github.com/ml-explore/mlx-swift
Fetching https://github.com/1024jp/GzipSwift
Fetching https://github.com/huggingface/swift-transformers
[1/1762] Fetching gzipswift
[178/8780] Fetching gzipswift, swift-transformers
Fetched https://github.com/1024jp/GzipSwift (1.04s)
[632/7018] Fetching swift-transformers
[844/23959] Fetching swift-transformers, mlx-swift
Fetched https://github.com/ml-explore/mlx-swift (2.23s)
Fetched https://github.com/huggingface/swift-transformers (2.23s)
Computing version for https://github.com/1024jp/GzipSwift
Computed https://github.com/1024jp/GzipSwift at 6.0.1 (2.90s)
Computing version for https://github.com/huggingface/swift-transformers
Computed https://github.com/huggingface/swift-transformers at 1.0.0 (0.55s)
Fetching https://github.com/huggingface/swift-jinja.git
[1/1360] Fetching swift-jinja
Fetched https://github.com/huggingface/swift-jinja.git (1.17s)
Computing version for https://github.com/ml-explore/mlx-swift
Computed https://github.com/ml-explore/mlx-swift at 0.29.1 (1.79s)
Fetching https://github.com/apple/swift-numerics
[1/6640] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics (1.33s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (1.90s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.0 (0.63s)
Computing version for https://github.com/apple/swift-openapi-runtime
Computed https://github.com/apple/swift-openapi-runtime at 1.12.1 (0.55s)
Fetching https://github.com/apple/swift-http-types
[1/1935] Fetching swift-http-types
Fetched https://github.com/apple/swift-http-types (1.03s)
Computing version for https://github.com/apple/swift-markdown.git
Computed https://github.com/apple/swift-markdown.git at 0.9.0 (3.27s)
Fetching https://github.com/swiftlang/swift-cmark.git
[1/18600] Fetching swift-cmark
Fetched https://github.com/swiftlang/swift-cmark.git (1.91s)
Computing version for https://github.com/swiftlang/swift-cmark.git
Computed https://github.com/swiftlang/swift-cmark.git at 0.9.0 (2.60s)
Computing version for https://github.com/apple/swift-http-types
Computed https://github.com/apple/swift-http-types at 1.8.0 (0.57s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.8.2 (0.56s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.19.6 (0.56s)
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/5666] Fetching swift-custom-dump
Fetched https://github.com/pointfreeco/swift-custom-dump (1.17s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.7.3 (1.76s)
Fetching https://github.com/pointfreeco/swift-issue-reporting
[1/6161] Fetching swift-issue-reporting
Fetched https://github.com/pointfreeco/swift-issue-reporting (1.70s)
Computing version for https://github.com/pointfreeco/swift-issue-reporting
Computed https://github.com/pointfreeco/swift-issue-reporting at 2.1.1 (2.40s)
Computing version for https://github.com/huggingface/swift-jinja.git
Computed https://github.com/huggingface/swift-jinja.git at 2.5.1 (0.53s)
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/pointfreeco/swift-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.19.6
Creating working copy for https://github.com/apple/swift-http-types
Working copy of https://github.com/apple/swift-http-types resolved at 1.8.0
Creating working copy for https://github.com/apple/swift-markdown.git
Working copy of https://github.com/apple/swift-markdown.git resolved at 0.9.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.5.1
Creating working copy for https://github.com/pointfreeco/swift-issue-reporting
Working copy of https://github.com/pointfreeco/swift-issue-reporting resolved at 2.1.1
Creating working copy for https://github.com/pointfreeco/swift-macro-testing.git
Working copy of https://github.com/pointfreeco/swift-macro-testing.git resolved at 0.7.0
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.7.3
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.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 510.0.3
Creating working copy for https://github.com/swiftlang/swift-cmark.git
Working copy of https://github.com/swiftlang/swift-cmark.git resolved at 0.9.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.29.1
Creating working copy for https://github.com/MacPaw/OpenAI.git
Working copy of https://github.com/MacPaw/OpenAI.git resolved at 0.4.7 (28884fc)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.7.0
Creating working copy for https://github.com/huggingface/swift-transformers
Working copy of https://github.com/huggingface/swift-transformers resolved at 1.0.0
Creating working copy for https://github.com/ml-explore/mlx-swift-examples.git
Working copy of https://github.com/ml-explore/mlx-swift-examples.git resolved at 2.29.1
Creating working copy for https://github.com/apple/swift-openapi-runtime
Working copy of https://github.com/apple/swift-openapi-runtime resolved at 1.12.1
Creating working copy for https://github.com/swiftlang/swift-format.git
Working copy of https://github.com/swiftlang/swift-format.git resolved at 510.1.0
Creating working copy for https://github.com/1024jp/GzipSwift
Working copy of https://github.com/1024jp/GzipSwift resolved at 6.0.1
warning: 'swift-format': Conflicting identity for swift-syntax: dependency 'github.com/apple/swift-syntax' and dependency 'github.com/swiftlang/swift-syntax' both point to the same package identity 'swift-syntax'. The dependencies are introduced through the following chains: (A) /users/admin/builder/spi-builder-workspace->github.com/swiftlang/swift-format->github.com/apple/swift-syntax (B) /users/admin/builder/spi-builder-workspace->github.com/swiftlang/swift-syntax. If there are multiple chains that lead to the same dependency, only the first chain is shown here. To see all chains use debug output option. To resolve the conflict, coordinate with the maintainer of the package that introduces the conflicting dependency. This will be escalated to an error in future versions of SwiftPM.
warning: 'swift-format': Conflicting identity for swift-syntax: dependency 'github.com/apple/swift-syntax' and dependency 'github.com/swiftlang/swift-syntax' both point to the same package identity 'swift-syntax'. The dependencies are introduced through the following chains: (A) /users/admin/builder/spi-builder-workspace->github.com/swiftlang/swift-format->github.com/apple/swift-syntax (B) /users/admin/builder/spi-builder-workspace->github.com/swiftlang/swift-syntax. If there are multiple chains that lead to the same dependency, only the first chain is shown here. To see all chains use debug output option. To resolve the conflict, coordinate with the maintainer of the package that introduces the conflicting dependency. This will be escalated to an error in future versions of SwiftPM.
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:7:
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/steel/attn/kernels/../../../steel/attn/kernels/steel_attention.h:359: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:429: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:439:14: warning: constexpr if is a C++17 extension [-Wc++17-extensions]
          if constexpr (BD == 128) {
             ^
3 warnings generated.
/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/Sources/SwiftAI/Backends/Openai/OpenaiSession.swift:80:7: warning: unstructured throwing task created by 'init(name:priority:operation:)' is not used, which may accidentally ignore errors thrown inside the task [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-use-throwing-unstructured-task\NoUseUnstructuredThrowingTask]8;;\]
 78 |   ) -> AsyncThrowingStream<T.Partial, Error> where T: Sendable {
 79 |     return AsyncThrowingStream { continuation in
 80 |       Task(name: "OpenaiSession.generateResponseStream") {
    |       |- warning: unstructured throwing task created by 'init(name:priority:operation:)' is not used, which may accidentally ignore errors thrown inside the task [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-use-throwing-unstructured-task\NoUseUnstructuredThrowingTask]8;;\]
    |       `- note: to silence this warning, handle the error inside the task, or store/discard the task value explicitly
 81 |         defer {
 82 |           continuation.finish()
[#NoUseUnstructuredThrowingTask]: <https://docs.swift.org/compiler/documentation/diagnostics/no-use-throwing-unstructured-task>
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAI/Backends/Apple/SystemLLMSession.swift:128:29: warning: 'init(sampling:temperature:maximumResponseTokens:)' is deprecated: replaced by 'init(samplingMode:temperature:maximumResponseTokens:)' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
126 |     }()
127 |
128 |     return FoundationModels.GenerationOptions(
    |                             |- warning: 'init(sampling:temperature:maximumResponseTokens:)' is deprecated: replaced by 'init(samplingMode:temperature:maximumResponseTokens:)' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
    |                             `- note: use 'init(samplingMode:temperature:maximumResponseTokens:)' instead
129 |       sampling: samplingMode,
130 |       temperature: options.temperature,
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAI/Backends/Apple/TranscriptConverters.swift:58:5: warning: switch must be exhaustive
 56 |   /// Transcript.Segment → ContentChunk.
 57 |   var contentChunk: ContentChunk? {
 58 |     switch self {
    |     |- warning: switch must be exhaustive
    |     `- note: add missing case: '.attachment(_)'
 59 |     case .text(let textSegment):
 60 |       return .text(textSegment.content)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAI/Backends/Apple/TranscriptConverters.swift:203:7: warning: switch must be exhaustive
201 |   var message: Message {
202 |     get throws {
203 |       switch self {
    |       |- warning: switch must be exhaustive
    |       `- note: add missing case: '.reasoning(_)'
204 |       case .instructions(let instructions):
205 |         let chunks = instructions.segments.compactMap { $0.contentChunk }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAIMLX/MlxSession.swift:39:5: warning: unstructured throwing task created by 'init(name:priority:operation:)' is not used, which may accidentally ignore errors thrown inside the task [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-use-throwing-unstructured-task\NoUseUnstructuredThrowingTask]8;;\]
 37 |   public nonisolated func prewarm(promptPrefix: Prompt?) {
 38 |     // TODO: In addition to loading the model we should consider preprocessing the prompt.
 39 |     Task {
    |     |- warning: unstructured throwing task created by 'init(name:priority:operation:)' is not used, which may accidentally ignore errors thrown inside the task [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-use-throwing-unstructured-task\NoUseUnstructuredThrowingTask]8;;\]
    |     `- note: to silence this warning, handle the error inside the task, or store/discard the task value explicitly
 40 |       try await modelManager.getOrLoadModel(forConfiguration: configuration)
 41 |     }
[#NoUseUnstructuredThrowingTask]: <https://docs.swift.org/compiler/documentation/diagnostics/no-use-throwing-unstructured-task>
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-syntax",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "510.0.0",
            "upper_bound" : "511.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swiftlang/swift-syntax.git"
    },
    {
      "identity" : "swift-format",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "510.0.0",
            "upper_bound" : "511.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swiftlang/swift-format.git"
    },
    {
      "identity" : "openai",
      "requirement" : {
        "branch" : [
          "0.4.7"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/MacPaw/OpenAI.git"
    },
    {
      "identity" : "swift-macro-testing",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.6.3",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/pointfreeco/swift-macro-testing.git"
    },
    {
      "identity" : "mlx-swift-examples",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.25.6",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/ml-explore/mlx-swift-examples.git"
    },
    {
      "identity" : "swift-collections",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.3.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-collections.git"
    }
  ],
  "manifest_display_name" : "swift-ai",
  "name" : "swift-ai",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "14.0"
    },
    {
      "name" : "ios",
      "version" : "17.0"
    },
    {
      "name" : "tvos",
      "version" : "17.0"
    },
    {
      "name" : "watchos",
      "version" : "10.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "17.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftAI",
      "targets" : [
        "SwiftAI"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SwiftAIMLX",
      "targets" : [
        "SwiftAIMLX"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SwiftAIMacros",
      "targets" : [
        "SwiftAIMacros"
      ],
      "type" : {
        "macro" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftAITests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftAITests",
      "path" : "Tests/SwiftAITests",
      "sources" : [
        "Backends/Apple/AppleOnDeviceTests.swift",
        "Backends/Apple/FoundationModelsToolAdapterTests.swift",
        "Backends/Apple/SchemaConverterTests.swift",
        "Backends/Apple/TranscriptConverterTests.swift",
        "Backends/Openai/OpenaiLLMTests.swift",
        "ChatTests.swift",
        "CrashingLLM.swift",
        "FakeLLM.swift",
        "GenerableTests.swift",
        "GuideTests.swift",
        "JsonUtils/JsonRepairTests.swift",
        "LLMTests.swift",
        "PromptTests.swift",
        "SchemaTests.swift",
        "StructuredContentTests.swift",
        "ToolTests.swift"
      ],
      "target_dependencies" : [
        "SwiftAI",
        "SwiftAILLMTesting"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftAIMacrosTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftAIMacrosTests",
      "path" : "Tests/SwiftAIMacrosTests",
      "product_dependencies" : [
        "SwiftSyntaxMacrosTestSupport",
        "MacroTesting"
      ],
      "sources" : [
        "GenerableMacroTests.swift"
      ],
      "target_dependencies" : [
        "SwiftAIMacros"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftAIMacros",
      "module_type" : "SwiftTarget",
      "name" : "SwiftAIMacros",
      "path" : "Sources/SwiftAIMacros",
      "product_dependencies" : [
        "SwiftSyntaxMacros",
        "SwiftCompilerPlugin",
        "SwiftFormat"
      ],
      "product_memberships" : [
        "SwiftAI",
        "SwiftAIMLX",
        "SwiftAIMacros"
      ],
      "sources" : [
        "GenerableMacro.swift",
        "GenerableMacroError.swift",
        "GuideMacro.swift",
        "SwiftAIMacros.swift"
      ],
      "type" : "macro"
    },
    {
      "c99name" : "SwiftAIMLXTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftAIMLXTests",
      "path" : "Tests/SwiftAIMLXTests",
      "sources" : [
        "MlxLLMTests.swift",
        "SchemaToJsonConvertTests.swift"
      ],
      "target_dependencies" : [
        "SwiftAIMLX",
        "SwiftAILLMTesting",
        "SwiftAI"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftAIMLX",
      "module_type" : "SwiftTarget",
      "name" : "SwiftAIMLX",
      "path" : "Sources/SwiftAIMLX",
      "product_dependencies" : [
        "MLXLMCommon",
        "MLXLLM"
      ],
      "product_memberships" : [
        "SwiftAIMLX"
      ],
      "sources" : [
        "MlxConverters.swift",
        "MlxLLM.swift",
        "MlxModelManager.swift",
        "MlxSession.swift",
        "SwiftAIMLX.swift"
      ],
      "target_dependencies" : [
        "SwiftAI"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SwiftAILLMTesting",
      "module_type" : "SwiftTarget",
      "name" : "SwiftAILLMTesting",
      "path" : "Tests/SwiftAILLMTesting",
      "sources" : [
        "LLMBaseTestCases.swift"
      ],
      "target_dependencies" : [
        "SwiftAI",
        "SwiftAIMacros"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftAI",
      "module_type" : "SwiftTarget",
      "name" : "SwiftAI",
      "path" : "Sources/SwiftAI",
      "product_dependencies" : [
        "OpenAI",
        "OrderedCollections"
      ],
      "product_memberships" : [
        "SwiftAI",
        "SwiftAIMLX"
      ],
      "sources" : [
        "Backends/Apple/Schema+Converters.swift",
        "Backends/Apple/SystemLLM.swift",
        "Backends/Apple/SystemLLMSession.swift",
        "Backends/Apple/ToolAdapter.swift",
        "Backends/Apple/TranscriptConverters.swift",
        "Backends/Openai/OpenaiConverters.swift",
        "Backends/Openai/OpenaiLLM.swift",
        "Backends/Openai/OpenaiReplyOptions.swift",
        "Backends/Openai/OpenaiSession.swift",
        "Core/BackendReplyOptions.swift",
        "Core/Chat.swift",
        "Core/Constraint.swift",
        "Core/Generable.swift",
        "Core/LLM.swift",
        "Core/LLMError.swift",
        "Core/Message.swift",
        "Core/Model.swift",
        "Core/Prompt.swift",
        "Core/Schema.swift",
        "Core/StructuredContent.swift",
        "Core/Tool.swift",
        "JsonUtils/JsonRepair.swift",
        "SwiftAI.swift"
      ],
      "target_dependencies" : [
        "SwiftAIMacros"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
Done.