Build Information
Failed to build SwiftAIAgent, reference main (1bce23), with Swift 6.4 for macOS (SPM) on 23 Sep 2026 02:52:49 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ShenghaiWang/SwiftAIAgent.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ShenghaiWang/SwiftAIAgent
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 1bce237 Merge pull request #4 from vimscientist69/patch-1
Cloned https://github.com/ShenghaiWang/SwiftAIAgent.git
Revision (git rev-parse @):
1bce237a31d79c4bb5ffcc2bb5ef81a01245fcc5
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/ShenghaiWang/SwiftAIAgent.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.4
Building package at path: $PWD
https://github.com/ShenghaiWang/SwiftAIAgent.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Computing dependencies]
[Provisioning 1 / 128]
[Constructing description]
[Pre-planning 1 / 2645]
[Planning 327 / 2645]
[Planning 2293 / 2645]
[Planning deferred tasks]
[Constructing 288 / 6986]
[Constructing 2016 / 6986]
[Starting]
[148 / 2225] ServiceContextModule
[456 / 2225] Algorithms
[497 / 2225]
[515 / 2241] ServiceContextModule
[518 / 2261] Logging
[523 / 2275] RealModule
[524 / 2288]
[531 / 2359] Logging
[542 / 2369] _NumericsShims
[552 / 2392] SwiftSyntax509
[582 / 2414] CNIOWindows
[603 / 2451] RealModule
[620 / 2451]
[625 / 2451]
[627 / 2451]
[630 / 2451] InternalCollectionsUtilities
[644 / 2451]
[652 / 2451] Atomics
[669 / 2451] Logging
[687 / 2451] CNIOBoringSSL
[693 / 2451]
[700 / 2451]
[707 / 2451] SystemPackage
[714 / 2451] CNIOBoringSSL
[720 / 2451]
[724 / 2451]
[729 / 2451]
[735 / 2451] CNIOBoringSSL
[742 / 2451] CNIOBoringSSL
[747 / 2451] CNIOBoringSSL
[751 / 2451] SwiftSoup
[754 / 2451]
[760 / 2451] Crypto
[764 / 2451] EventSource
[783 / 2451] CNIOBoringSSL
[788 / 2451] CNIOBoringSSL
[790 / 2451] CNIOBoringSSL
[795 / 2451] CNIOBoringSSL
[799 / 2451] CNIOBoringSSL
[801 / 2451] CNIOBoringSSL
[803 / 2451] CNIOBoringSSL
[806 / 2451] CNIOBoringSSL
[810 / 2451] CNIOBoringSSL
[813 / 2451] CNIOBoringSSL
[818 / 2451] CNIOBoringSSL
[820 / 2451] CNIOBoringSSL
[823 / 2451] CNIOBoringSSL
[826 / 2451] SwiftSoup
[833 / 2451] CNIOBoringSSL
[835 / 2451] CNIOBoringSSL
[836 / 2451] CNIOBoringSSL
[840 / 2451] CNIOBoringSSL
[841 / 2451] CNIOBoringSSL
[845 / 2451] CNIOBoringSSL
[854 / 2451] CNIOBoringSSL
[863 / 2451] CNIOBoringSSL
[879 / 2451] CNIOBoringSSL
[882 / 2451] CNIOBoringSSL
[884 / 2451] CNIOBoringSSL
[889 / 2451] CNIOBoringSSL
[893 / 2451] CNIOBoringSSL
[900 / 2451] CNIOBoringSSL
[902 / 2451] CNIOBoringSSL
[906 / 2451] CNIOBoringSSL
[910 / 2451] CNIOBoringSSL
[912 / 2451] CNIOBoringSSL
[915 / 2451] CNIOBoringSSL
[918 / 2451] CNIOBoringSSL
[921 / 2451] CNIOBoringSSL
[925 / 2451] CNIOBoringSSL
[926 / 2451] CNIOBoringSSL
[934 / 2451] CNIOBoringSSL
[946 / 2451] CNIOBoringSSL
[950 / 2451] CNIOBoringSSL
[956 / 2451] CNIOBoringSSL
[960 / 2451] CNIOBoringSSL
[964 / 2451] CNIOBoringSSL
[975 / 2451] CNIOBoringSSL
[984 / 2451] CNIOBoringSSL
[987 / 2451] CNIOBoringSSL
[995 / 2451] CNIOBoringSSL
[997 / 2451] CNIOBoringSSL
[1001 / 2451] CNIOBoringSSL
[1006 / 2451] CNIOBoringSSL
[1008 / 2451] CNIOBoringSSL
[1015 / 2451] CNIOBoringSSL
[1017 / 2451] CNIOBoringSSL
[1022 / 2451] CNIOBoringSSL
[1024 / 2451] CNIOBoringSSL
[1030 / 2451] CNIOBoringSSL
[1031 / 2451] CNIOBoringSSL
[1037 / 2451] CNIOBoringSSL
[1040 / 2451] CNIOBoringSSL
[1051 / 2451] CNIOBoringSSL
[1062 / 2451] CNIOBoringSSL
[1071 / 2451] CNIOBoringSSL
[1073 / 2451] CNIOBoringSSL
[1079 / 2451] CNIOBoringSSL
[1082 / 2451] CNIOBoringSSL
[1090 / 2451] CNIOBoringSSL
[1102 / 2451] CNIOBoringSSL
[1111 / 2451] CNIOBoringSSL
[1112 / 2451] CNIOBoringSSL
[1113 / 2451] CNIOBoringSSL
[1121 / 2451] CNIOBoringSSL
[1126 / 2451] CJWTKitBoringSSL
[1139 / 2451] CJWTKitBoringSSL
[1157 / 2451] CJWTKitBoringSSL
[1170 / 2451] CJWTKitBoringSSL
[1190 / 2451] CJWTKitBoringSSL
[1207 / 2451] CJWTKitBoringSSL
[1220 / 2451] CJWTKitBoringSSL
[1240 / 2451]
[1259 / 2451]
[1261 / 2451]
[1264 / 2451] _AtomicsShims
[1267 / 2451] CSystem
[1270 / 2451]
[1281 / 2451] SwiftSyntax509
[1286 / 2451] SwiftSyntax
[1294 / 2451] SwiftSoup
[1295 / 2451] SwiftSoup
[1299 / 2451] SystemPackage
[1305 / 2451] ServiceContextModule
[1311 / 2451] NIOConcurrencyHelpers
[1314 / 2451] RealModule
[1317 / 2451] Logging
[1320 / 2451] Logging
[1326 / 2451] NIOConcurrencyHelpers
[1331 / 2451] InternalCollectionsUtilities
[1336 / 2451] InternalCollectionsUtilities
[1340 / 2451] HTTPTypes
[1345 / 2451] HTTPTypes
[1347 / 2451] HTTPTypes-product
[1350 / 2451] EventSource-product
[1355 / 2451] Crypto
[1361 / 2451] Crypto
[1364 / 2451] SwiftSoup
[1366 / 2451] EventSource
[1388 / 2471]
[1410 / 2476]
[1436 / 2496] CJWTKitBoringSSL
[1452 / 2496] CNIOLLHTTP
[1462 / 2496]
[1477 / 2496] CJWTKitBoringSSL
[1488 / 2496]
[1495 / 2496] CJWTKitBoringSSL
[1507 / 2496] CJWTKitBoringSSL
[1521 / 2496] CJWTKitBoringSSL
[1540 / 2496] CJWTKitBoringSSL
[1549 / 2496] CJWTKitBoringSSL
[1560 / 2496] CJWTKitBoringSSL
[1575 / 2496] CJWTKitBoringSSL
[1598 / 2496] CJWTKitBoringSSL
[1621 / 2496] CJWTKitBoringSSL
[1641 / 2497]
[1659 / 2497] CJWTKitBoringSSL
[1681 / 2497] CJWTKitBoringSSL
[1706 / 2497] CJWTKitBoringSSL
[1715 / 2497] CJWTKitBoringSSL
[1734 / 2497] CJWTKitBoringSSL
[1753 / 2497] CJWTKitBoringSSL
[1772 / 2497] CJWTKitBoringSSL
[1796 / 2497] CJWTKitBoringSSL
[1816 / 2498] CJWTKitBoringSSL
[1844 / 2498] CJWTKitBoringSSL
[1865 / 2498] CJWTKitBoringSSL
[1887 / 2498] CJWTKitBoringSSL
[1910 / 2498] CJWTKitBoringSSL
[1933 / 2498] CJWTKitBoringSSL
[1963 / 2498] CJWTKitBoringSSL
[1989 / 2498] CJWTKitBoringSSL
[2009 / 2498] CJWTKitBoringSSL
[2033 / 2498] CJWTKitBoringSSL
[2053 / 2498] CJWTKitBoringSSL
[2073 / 2498] Atomics
[2078 / 2499] CAsyncHTTPClient
[2087 / 2499]
[2097 / 2501]
[2103 / 2509] SpanPreview
[2105 / 2509] Instrumentation
[2114 / 2527] Instrumentation
[2128 / 2527] SwiftSyntax
[2133 / 2566] OpenAPIRuntime
[2136 / 2566]
[2139 / 2566] SwiftSyntax
[2140 / 2566] MCP
[2141 / 2566] JWTKit
[2143 / 2566] JWTKit
[2156 / 2566] SwiftSyntax
[2157 / 2566] OpenAPIRuntime
[2158 / 2566] CNIOAtomics
[2161 / 2566] MCP
[2167 / 2566] OpenAPIRuntime
[2168 / 2566] OpenAPIRuntime-product
[2169 / 2566] OpenAPIRuntime-product
[2170 / 2566] OpenAPIRuntime-product
[2173 / 2566] OpenAPIRuntime
[2175 / 2566] MCP
[2176 / 2566] MCP-product
[2178 / 2566] OpenAPIRuntime
[2180 / 2566] MCP
[2182 / 2566] MCP
[2185 / 2566] SwiftSyntax
[2190 / 2566] SwiftSyntax
[2193 / 2566] JWTKit
[2195 / 2566] JWTKit-product
[2199 / 2566] JWTKit
[2200 / 2566] JWTKit
[2201 / 2566] Tracing
[2208 / 2568]
[2212 / 2581] CSystem
[2216 / 2590] Tracing
[2219 / 2612] Tracing
[2236 / 2612] Tracing
[2239 / 2612] SystemPackage
[2244 / 2612] SwiftParser
[2247 / 2612] SwiftParser
[2262 / 2612] SwiftDiagnostics
[2265 / 2612] SwiftDiagnostics
[2266 / 2612] SwiftDiagnostics
[2268 / 2612] SwiftOperators
[2272 / 2612] MCP
[2278 / 2612] Algorithms
[2281 / 2612]
[2285 / 2614] OpenAPIRuntime
[2291 / 2623] SwiftOperators
[2298 / 2644] SwiftOperators
[2311 / 2644] SwiftOperators
[2320 / 2656] SwiftBasicFormat
[2327 / 2656] GoogleAPITokenManager
[2332 / 2656] GoogleAPITokenManager
[2340 / 2656] GoogleAPITokenManager
[2346 / 2656] DequeModule
[2348 / 2656] DequeModule
[2352 / 2656] DequeModule
[2357 / 2657] DequeModule
[2357 / 2657] SwiftParserDiagnostics
[2365 / 2668] DequeModule
[2368 / 2668] SwiftParserDiagnostics
[2382 / 2670]
[2383 / 2671] DequeModule
[2385 / 2671] SwiftParserDiagnostics
[2385 / 2672] NIOCore
[2396 / 2706] Configuration
[2399 / 2706] SwiftSyntaxBuilder
[2406 / 2706] SwiftSyntaxBuilder
[2407 / 2706] SwiftSyntaxBuilder
[2411 / 2706] Configuration
[2421 / 2706] NIOCore
[2424 / 2706] Configuration
[2427 / 2706] SwiftSyntaxBuilder
[2428 / 2706] Configuration-product
[2431 / 2706] Configuration
[2434 / 2706] Configuration
[2435 / 2707] Configuration
[2435 / 2707] SwiftSyntaxMacros
[2444 / 2718] SwiftSyntaxMacros
[2455 / 2719] NIOCore
[2457 / 2719] SwiftSyntaxMacros
[2463 / 2719] SwiftOperators
[2465 / 2719] SwiftSyntaxMacroExpansion
[2477 / 2729] NIOCore
[2485 / 2731]
[2486 / 2732] SwiftSyntaxMacroExpansion
[2493 / 2733] SwiftSyntaxMacroExpansion
[2500 / 2740] NIOPosix
[2505 / 2756]
[2527 / 2767] SwiftCompilerPluginMessageHandling
[2529 / 2767] SwiftCompilerPluginMessageHandling
[2534 / 2767] NIOPosix
[2543 / 2767] SwiftCompilerPlugin
[2547 / 2767] NIOPosix
[2548 / 2767] SwiftCompilerPluginMessageHandling
[2554 / 2768] SwiftCompilerPluginMessageHandling
[2561 / 2769] NIO
[2561 / 2769] NIOPosix
[2563 / 2771] SwiftCompilerPlugin
[2573 / 2773] SwiftCompilerPlugin
[2592 / 2778] NIOTLS
[2599 / 2807]
[2613 / 2822] NIOSOCKS
[2631 / 2822] NIOSOCKS
[2639 / 2822] NIOHTTP1
[2645 / 2822] NIOHTTP1
[2651 / 2822] NIOHTTP1-product
[2656 / 2822] AIAgentMacroDefinitions
[2662 / 2822] AIAgentMacroDefinitions
[2669 / 2826]
[2669 / 2826] AIAgentMacroDefinitions
[2672 / 2833] NIOHPACK
[2679 / 2844] NIOHTTPCompression
[2685 / 2868] NIOTransportServices
[2694 / 2868] NIOHPACK
[2703 / 2868]
[2714 / 2868] NIOTransportServices-product
[2718 / 2868] NIOSSL
[2723 / 2868] NIOSSL
[2729 / 2868] NIOSSL-product
[2734 / 2868] NIOHPACK
[2739 / 2868] NIOPosix
[2745 / 2869] NIO
[2754 / 2870] NIOHPACK
[2764 / 2881] NIOHTTP2
[2765 / 2884] AIAgentMacros
[2766 / 2884] NIOHTTP2
[2770 / 2884] AIAgentMacros
[2770 / 2884] NIOHTTP2
[2777 / 2885] AIAgentMacros
[2787 / 2886] NIOHTTP2
[2791 / 2901]
[2800 / 2912] GeminiSDK
[2802 / 2912] NIOHTTP2
[2805 / 2912] NIOHTTP2
[2813 / 2912] GeminiSDK
[2817 / 2912] AsyncHTTPClient
[2827 / 2912] OpenAPIAsyncHTTPClient
[2829 / 2914] NIOHTTP2
[2829 / 2914] GeminiSDK
[2831 / 2914] SwiftAIAgent
[2839 / 2927] OpenAPIAsyncHTTPClient
[2841 / 2927] SwiftAIAgent
[2857 / 2928] SwiftAIAgent
Fetching https://github.com/scinfu/SwiftSoup.git
Fetching https://github.com/apple/swift-system
Fetching https://github.com/ShenghaiWang/GoogleSwiftSDK.git
Fetching https://github.com/modelcontextprotocol/swift-sdk.git
Fetching https://github.com/ShenghaiWang/GoogleAPITokenManager.git
Fetching https://github.com/swiftlang/swift-syntax.git
[1/114] Fetching googleapitokenmanager
[115/7030] Fetching googleapitokenmanager, swift-system
[116/7224] Fetching googleapitokenmanager, swift-system, googleswiftsdk
[448/11006] Fetching googleapitokenmanager, swift-system, googleswiftsdk, swift-sdk
[449/17938] Fetching googleapitokenmanager, swift-system, googleswiftsdk, swift-sdk, swiftsoup
Fetched https://github.com/apple/swift-system (1.59s)
[8527/11022] Fetching googleapitokenmanager, googleswiftsdk, swift-sdk, swiftsoup
[11023/91032] Fetching googleapitokenmanager, googleswiftsdk, swift-sdk, swiftsoup, swift-syntax
Fetched https://github.com/modelcontextprotocol/swift-sdk.git (6.84s)
Fetched https://github.com/ShenghaiWang/GoogleSwiftSDK.git (6.84s)
Fetched https://github.com/ShenghaiWang/GoogleAPITokenManager.git (6.84s)
Fetched https://github.com/scinfu/SwiftSoup.git (6.84s)
Fetched https://github.com/swiftlang/swift-syntax.git (6.84s)
Computing version for https://github.com/ShenghaiWang/GoogleAPITokenManager.git
Computed https://github.com/ShenghaiWang/GoogleAPITokenManager.git at 1.0.2 (7.47s)
Fetching https://github.com/vapor/jwt-kit.git
Fetching https://github.com/apple/swift-crypto.git
[1/18549] Fetching swift-crypto
[2/28782] Fetching swift-crypto, jwt-kit
Fetched https://github.com/vapor/jwt-kit.git (2.00s)
[928/18549] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git (13.58s)
Computing version for https://github.com/ShenghaiWang/GoogleSwiftSDK.git
Computed https://github.com/ShenghaiWang/GoogleSwiftSDK.git at 1.0.4 (14.19s)
Fetching https://github.com/apple/swift-openapi-runtime
Fetching https://github.com/swift-server/swift-openapi-async-http-client
[1/6938] Fetching swift-openapi-runtime
[2430/7588] Fetching swift-openapi-runtime, swift-openapi-async-http-client
Fetched https://github.com/apple/swift-openapi-runtime (1.42s)
Fetched https://github.com/swift-server/swift-openapi-async-http-client (1.42s)
Computing version for https://github.com/swift-server/swift-openapi-async-http-client
Computed https://github.com/swift-server/swift-openapi-async-http-client at 1.5.0 (4.46s)
Fetching https://github.com/apple/swift-http-types
Fetching https://github.com/swift-server/async-http-client.git
[1/1935] Fetching swift-http-types
[1936/18132] Fetching swift-http-types, async-http-client
Fetched https://github.com/swift-server/async-http-client.git (2.04s)
Fetched https://github.com/apple/swift-http-types (2.04s)
Computing version for https://github.com/apple/swift-openapi-runtime
Computed https://github.com/apple/swift-openapi-runtime at 1.12.1 (2.66s)
Computing version for https://github.com/modelcontextprotocol/swift-sdk.git
Computed https://github.com/modelcontextprotocol/swift-sdk.git at 0.12.1 (0.58s)
Fetching https://github.com/mattt/eventsource.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-log.git
[1/303] Fetching eventsource
[14/8451] Fetching eventsource, swift-log
[8452/94516] Fetching eventsource, swift-log, swift-nio
Fetched https://github.com/apple/swift-nio.git (6.65s)
Fetched https://github.com/apple/swift-log.git (6.65s)
Fetched https://github.com/mattt/eventsource.git (6.65s)
Computing version for https://github.com/mattt/eventsource.git
Computed https://github.com/mattt/eventsource.git at 1.5.1 (7.27s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.8.1 (0.61s)
Computing version for https://github.com/apple/swift-http-types
Computed https://github.com/apple/swift-http-types at 1.8.0 (0.61s)
Computing version for https://github.com/scinfu/SwiftSoup.git
Computed https://github.com/scinfu/SwiftSoup.git at 2.13.9 (0.56s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (0.60s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.36.1 (0.60s)
Fetching https://github.com/apple/swift-service-context.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-configuration.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-distributed-tracing.git
[1/1875] Fetching swift-atomics
[20/5654] Fetching swift-atomics, swift-configuration
[21/12344] Fetching swift-atomics, swift-configuration, swift-nio-extras
[116/18489] Fetching swift-atomics, swift-configuration, swift-nio-extras, swift-algorithms
[211/24809] Fetching swift-atomics, swift-configuration, swift-nio-extras, swift-algorithms, swift-distributed-tracing
[278/27672] Fetching swift-atomics, swift-configuration, swift-nio-extras, swift-algorithms, swift-distributed-tracing, swift-nio-transport-services
[7969/29036] Fetching swift-atomics, swift-configuration, swift-nio-extras, swift-algorithms, swift-distributed-tracing, swift-nio-transport-services, swift-service-context
Fetched https://github.com/apple/swift-atomics.git (1.26s)
[17544/27161] Fetching swift-configuration, swift-nio-extras, swift-algorithms, swift-distributed-tracing, swift-nio-transport-services, swift-service-context
Fetching https://github.com/apple/swift-nio-http2.git
Fetched https://github.com/apple/swift-nio-extras.git (1.39s)
Fetching https://github.com/apple/swift-nio-ssl.git
[16922/20471] Fetching swift-configuration, swift-algorithms, swift-distributed-tracing, swift-nio-transport-services, swift-service-context
Fetched https://github.com/apple/swift-algorithms.git (1.53s)
Fetched https://github.com/apple/swift-nio-transport-services.git (1.53s)
Fetched https://github.com/apple/swift-configuration.git (1.53s)
Fetched https://github.com/apple/swift-distributed-tracing.git (1.53s)
Fetched https://github.com/apple/swift-service-context.git (1.56s)
[1/12252] Fetching swift-nio-http2
[124/28317] Fetching swift-nio-http2, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-http2.git (1.84s)
[5945/16065] Fetching swift-nio-ssl
Fetched https://github.com/apple/swift-nio-ssl.git (2.26s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.3.0 (4.26s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (2.19s)
Fetching https://github.com/apple/swift-numerics.git
[1/6640] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git (1.94s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.5.0 (2.52s)
Computing version for https://github.com/apple/swift-configuration.git
Computed https://github.com/apple/swift-configuration.git at 1.2.1 (0.69s)
Fetching https://github.com/swift-server/swift-service-lifecycle
Fetching https://github.com/apple/swift-collections
[1/2843] Fetching swift-service-lifecycle
[1423/30529] Fetching swift-service-lifecycle, swift-collections
Fetched https://github.com/apple/swift-collections (2.74s)
Fetched https://github.com/swift-server/swift-service-lifecycle (2.74s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (3.33s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.55s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.103.0 (0.67s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.28.0 (0.55s)
Computing version for https://github.com/swift-server/swift-service-lifecycle
Computed https://github.com/swift-server/swift-service-lifecycle at 2.12.0 (0.55s)
Fetching https://github.com/apple/swift-async-algorithms.git
[1/6723] Fetching swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git (1.35s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.5 (1.98s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.7.0 (0.64s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.46.0 (0.57s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.37.5 (0.60s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.35.1 (0.74s)
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-http-structured-headers.git
[1/7575] Fetching swift-certificates
[1138/9558] Fetching swift-certificates, swift-asn1
[1178/10811] Fetching swift-certificates, swift-asn1, swift-http-structured-headers
Fetched https://github.com/apple/swift-http-structured-headers.git (1.79s)
Fetched https://github.com/apple/swift-asn1.git (1.79s)
Fetched https://github.com/apple/swift-certificates.git (1.79s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.7.0 (2.38s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (0.65s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.21.0 (0.69s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (0.70s)
Computing version for https://github.com/vapor/jwt-kit.git
Computed https://github.com/vapor/jwt-kit.git at 4.13.5 (0.64s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.1 (0.73s)
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.3
Creating working copy for https://github.com/mattt/eventsource.git
Working copy of https://github.com/mattt/eventsource.git resolved at 1.5.1
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.1
Creating working copy for https://github.com/vapor/jwt-kit.git
Working copy of https://github.com/vapor/jwt-kit.git resolved at 4.13.5
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/scinfu/SwiftSoup.git
Working copy of https://github.com/scinfu/SwiftSoup.git resolved at 2.13.9
Creating working copy for https://github.com/swift-server/swift-openapi-async-http-client
Working copy of https://github.com/swift-server/swift-openapi-async-http-client resolved at 1.5.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.103.0
Creating working copy for https://github.com/apple/swift-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.7.0
Creating working copy for https://github.com/ShenghaiWang/GoogleAPITokenManager.git
Working copy of https://github.com/ShenghaiWang/GoogleAPITokenManager.git resolved at 1.0.2
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 600.0.1
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.1
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.15.1
Creating working copy for https://github.com/apple/swift-configuration.git
Working copy of https://github.com/apple/swift-configuration.git resolved at 1.2.1
Creating working copy for https://github.com/ShenghaiWang/GoogleSwiftSDK.git
Working copy of https://github.com/ShenghaiWang/GoogleSwiftSDK.git resolved at 1.0.4
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.15.1
Creating working copy for https://github.com/swift-server/async-http-client.git
Working copy of https://github.com/swift-server/async-http-client.git resolved at 1.36.1
Creating working copy for https://github.com/swift-server/swift-service-lifecycle
Working copy of https://github.com/swift-server/swift-service-lifecycle resolved at 2.12.0
Creating working copy for https://github.com/apple/swift-distributed-tracing.git
Working copy of https://github.com/apple/swift-distributed-tracing.git resolved at 1.5.0
Creating working copy for https://github.com/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.1.5
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.8.1
Creating working copy for https://github.com/apple/swift-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.28.0
Creating working copy for https://github.com/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.46.0
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.37.5
Creating working copy for https://github.com/modelcontextprotocol/swift-sdk.git
Working copy of https://github.com/modelcontextprotocol/swift-sdk.git resolved at 0.12.1
Creating working copy for https://github.com/apple/swift-service-context.git
Working copy of https://github.com/apple/swift-service-context.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-http-structured-headers.git
Working copy of https://github.com/apple/swift-http-structured-headers.git resolved at 1.7.0
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/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.21.0
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.35.1
error: SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAIAgent/Agent/MCPServer.swift failed with a nonzero exit code. Command line: cd /Users/admin/builder
builtin-SwiftPerFileCompile MCPServer.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAIAgent/Agent/MCPServer.swift:68:31: [1;33mwarning: [1;39mstring interpolation produces a debug description for an optional value; did you mean to make this explicit?[0;0m
[0;36m66 |[0;0m {
[0;36m67 |[0;0m "name": "\(name)",
[0;36m68 |[0;0m "description": "\([4;39mdescription[0;0m)",
[0;36m|[0;0m |- [1;33mwarning: [1;39mstring interpolation produces a debug description for an optional value; did you mean to make this explicit?[0;0m
[0;36m|[0;0m |- [1;39mnote: [1;39mprovide a default value to avoid this warning[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39muse 'String(describing:)' to silence this warning[0;0m
[0;36m69 |[0;0m "parametersJsonSchema": \(inputSchema.jsonSchema)
[0;36m70 |[0;0m }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAIAgent/Agent/MCPServer.swift:102:54: [1;31merror: [1;39mcannot convert value of type '(text: String, annotations: Resource.Annotations?, _meta: Metadata?)' to expected argument type 'String'[0;0m
[0;36m100 |[0;0m var aiAgentOutput: AIAgentOutput {
[0;36m101 |[0;0m switch self {
[0;36m102 |[0;0m case let .text(text): AIAgentOutput.text(text)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot convert value of type '(text: String, annotations: Resource.Annotations?, _meta: Metadata?)' to expected argument type 'String'[0;0m
[0;36m103 |[0;0m case let .audio(data: data, mimeType: _):
[0;36m104 |[0;0m AIAgentOutput.audio(Data(base64Encoded: data) ?? Data())
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -c /Users/admin/builder/spi-builder-workspace/Sources/SwiftAIAgent/AIModels/Gemini.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAIAgent/Agent/AIAgent.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAIAgent/Agent/AIAgentContext.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAIAgent/Agent/AIAgentModel.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAIAgent/Agent/AIAgentOutput+File.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAIAgent/Agent/AIAgentOutput.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/SwiftAIAgent/Agent/AIAgentTool.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/SwiftAIAgent/Agent/MCPServer.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/SwiftAIAgent/Agent/Model/AIAgentConfiguration.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAIAgent/Agent/Model/AIAgentError.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAIAgent/Agent/Model/ToolCallingValue.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAIAgent/Agent/Runtime.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAIAgent/Agent/Tools/AIAgentOutputIO.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAIAgent/Agents/GoalManager.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAIAgent/Agents/GoalManagerConfiguration.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAIAgent/Agents/GoalManagerError.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAIAgent/Agents/GoalManagerExecutionState.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAIAgent/Agents/Workflow.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAIAgent/Common/AsAsyncSequence.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAIAgent/Logger/Logger.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAIAgent/Models/AIGoalClarification.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAIAgent/Models/AIStrategy.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAIAgent/Models/AITask.swift -supplementary-output-file-map /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftAIAgent.build/Debug/SwiftAIAgent-t.build/Objects-normal/arm64/supplementaryOutputs-176 -target arm64-apple-macos13.0 -module-can-import-version System 5027.0.67 0 -disable-cross-import-overlay-search -load-resolved-plugin \#/Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug/AIAgentMacroDefinitions\#AIAgentMacroDefinitions -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.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/SwiftAIAgent.build/Debug/SwiftAIAgent-t.build/Objects-normal/arm64/SwiftAIAgent-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.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-Release.Candidate.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-Release.Candidate.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 Xcode -serialize-debugging-options -load-plugin-executable /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug/AIAgentMacroDefinitions\#AIAgentMacroDefinitions -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-system/Sources/CSystem/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-80c5bbf1d171475443272936d42f90a36a22442a12e9d48fe1a705f55a1adfc4.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-system/Sources/CSystem/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/SwiftAIAgent.build/Debug/SwiftAIAgent-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftAIAgent.build/Debug/SwiftAIAgent-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftAIAgent.build/Debug/SwiftAIAgent-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name SwiftAIAgent -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftAIAgent.build/Debug/SwiftAIAgent-t.build/Objects-normal/arm64/SwiftAIAgent_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-Release.Candidate.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/SwiftAIAgent.build/Debug/SwiftAIAgent-t.build/Objects-normal/arm64/AIAgentTool.o -o /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftAIAgent.build/Debug/SwiftAIAgent-t.build/Objects-normal/arm64/MCPServer.o -o /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftAIAgent.build/Debug/SwiftAIAgent-t.build/Objects-normal/arm64/AIAgentConfiguration.o -debug-module-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftAIAgent.build/Debug/SwiftAIAgent-t.build/Objects-normal/arm64/SwiftAIAgent.swiftmodule -index-unit-output-path /SwiftAIAgent.build/Debug/SwiftAIAgent-t.build/Objects-normal/arm64/AIAgentTool.o -index-unit-output-path /SwiftAIAgent.build/Debug/SwiftAIAgent-t.build/Objects-normal/arm64/MCPServer.o -index-unit-output-path /SwiftAIAgent.build/Debug/SwiftAIAgent-t.build/Objects-normal/arm64/AIAgentConfiguration.o -index-store-path /Users/admin/builder/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 macosSpm