Build Information
Failed to build SwiftAgent, reference 0.8.0 (48bfda), with Swift 6.4 for macOS (SPM) on 23 Sep 2026 21:00:50 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/SwiftedMind/SwiftAgent.git
Reference: 0.8.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/SwiftedMind/SwiftAgent
* tag 0.8.0 -> FETCH_HEAD
HEAD is now at 48bfda9 Update CHANGELOG
Cloned https://github.com/SwiftedMind/SwiftAgent.git
Revision (git rev-parse @):
48bfda9219a5014c117aff3294e7987e17218a9d
SUCCESS checkout https://github.com/SwiftedMind/SwiftAgent.git at 0.8.0
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.4
Building package at path: $PWD
https://github.com/SwiftedMind/SwiftAgent.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 / 419]
[Planning deferred tasks]
[11 / 170]
[82 / 170]
[86 / 174] HTTPTypes
[98 / 318]
[114 / 318]
[122 / 318]
[133 / 318]
[141 / 318]
[146 / 318]
[153 / 318]
[159 / 318]
[165 / 318]
[169 / 318]
[176 / 318]
[184 / 318]
[185 / 318]
[188 / 318]
[190 / 318]
[191 / 318]
[193 / 318]
[202 / 318] EventSource
[204 / 318] SwiftAgentMacros
[205 / 318]
[215 / 318] SwiftAnthropic
[216 / 318] HTTPTypes
[228 / 318] SwiftAnthropic
[230 / 318] SwiftAnthropic
[231 / 318] SwiftAnthropic
[246 / 318] SwiftAnthropic-product
[249 / 318]
[252 / 319] EventSource
[254 / 319] SwiftAnthropic
[258 / 319] SwiftAgentMacros
[270 / 330] OpenAPIRuntime
[272 / 331] OpenAPIRuntime
[279 / 332] OpenAPIRuntime
[279 / 332] OpenAI
[288 / 343] OpenAI
[291 / 382] OpenAPIRuntime
[292 / 382] OpenAI
[297 / 382]
[300 / 382]
[305 / 382]
[308 / 382]
[310 / 382]
[312 / 382]
[313 / 382]
[316 / 382]
[319 / 382]
[319 / 382] OpenAI
[320 / 382]
[328 / 382] SwiftAgent
[329 / 382] SwiftAgent
[331 / 382] SwiftAgent
[338 / 383] SwiftAgent
[338 / 383] AnthropicSession
[342 / 399]
[351 / 401]
[358 / 401] AnthropicSession
[359 / 401] AnthropicSession
Fetching https://github.com/MacPaw/OpenAI.git
[1/9084] Fetching openai
Fetched https://github.com/MacPaw/OpenAI.git (5.13s)
Fetching https://github.com/jamesrochabrun/SwiftAnthropic.git
Fetching https://github.com/apple/swift-openapi-runtime
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/mattt/EventSource
Fetching https://github.com/pointfreeco/swift-macro-testing
[1/1002] Fetching swift-macro-testing
[2/1305] Fetching swift-macro-testing, eventsource
[269/8243] Fetching swift-macro-testing, eventsource, swift-openapi-runtime
[270/9575] Fetching swift-macro-testing, eventsource, swift-openapi-runtime, swiftanthropic
Fetched https://github.com/apple/swift-openapi-runtime (1.30s)
[1/80027] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git (5.79s)
Fetched https://github.com/pointfreeco/swift-macro-testing (5.79s)
Fetched https://github.com/jamesrochabrun/SwiftAnthropic.git (5.79s)
Fetched https://github.com/mattt/EventSource (5.79s)
Computing version for https://github.com/pointfreeco/swift-macro-testing
Computed https://github.com/pointfreeco/swift-macro-testing at 0.7.0 (6.40s)
Fetching https://github.com/pointfreeco/swift-snapshot-testing
[1/16477] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing (5.41s)
Computing version for https://github.com/jamesrochabrun/SwiftAnthropic.git
Computed https://github.com/jamesrochabrun/SwiftAnthropic.git at 2.2.2 (6.00s)
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/swift-server/async-http-client.git
[1/16209] Fetching async-http-client
[2/102274] Fetching async-http-client, swift-nio
Fetched https://github.com/apple/swift-nio.git (8.69s)
Fetched https://github.com/swift-server/async-http-client.git (8.69s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 602.0.0 (11.52s)
Computing version for https://github.com/mattt/EventSource
Computed https://github.com/mattt/EventSource at 1.5.1 (0.57s)
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.05s)
Computing version for https://github.com/apple/swift-http-types
Computed https://github.com/apple/swift-http-types at 1.8.0 (1.66s)
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-nio-transport-services.git
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-configuration.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-service-context.git
Fetching https://github.com/apple/swift-atomics.git
[1/1376] Fetching swift-service-context
[15/4239] Fetching swift-service-context, swift-nio-transport-services
[16/8018] Fetching swift-service-context, swift-nio-transport-services, swift-configuration
[210/9893] Fetching swift-service-context, swift-nio-transport-services, swift-configuration, swift-atomics
[229/16038] Fetching swift-service-context, swift-nio-transport-services, swift-configuration, swift-atomics, swift-algorithms
[267/22383] Fetching swift-service-context, swift-nio-transport-services, swift-configuration, swift-atomics, swift-algorithms, swift-distributed-tracing
[515/29073] Fetching swift-service-context, swift-nio-transport-services, swift-configuration, swift-atomics, swift-algorithms, swift-distributed-tracing, swift-nio-extras
Fetched https://github.com/apple/swift-service-context.git (1.33s)
[24298/27697] Fetching swift-nio-transport-services, swift-configuration, swift-atomics, swift-algorithms, swift-distributed-tracing, swift-nio-extras
Fetching https://github.com/apple/swift-nio-http2.git
Fetched https://github.com/apple/swift-configuration.git (1.42s)
Fetched https://github.com/apple/swift-atomics.git (1.42s)
Fetched https://github.com/apple/swift-algorithms.git (1.42s)
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-log.git
[15363/15898] Fetching swift-nio-transport-services, swift-distributed-tracing, swift-nio-extras
Fetched https://github.com/apple/swift-nio-transport-services.git (1.57s)
Fetched https://github.com/apple/swift-distributed-tracing.git (1.57s)
Fetched https://github.com/apple/swift-nio-extras.git (1.57s)
[1/8165] Fetching swift-log
[2/24230] Fetching swift-log, swift-nio-ssl
[3/36482] Fetching swift-log, swift-nio-ssl, swift-nio-http2
Fetched https://github.com/apple/swift-nio-http2.git (1.84s)
[16309/24230] Fetching swift-log, swift-nio-ssl
Fetched https://github.com/apple/swift-log.git (2.32s)
Fetched https://github.com/apple/swift-nio-ssl.git (2.32s)
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.37s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.63s)
Fetching https://github.com/apple/swift-numerics.git
[1/6640] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git (1.33s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.5.0 (1.91s)
Computing version for https://github.com/apple/swift-configuration.git
Computed https://github.com/apple/swift-configuration.git at 1.2.1 (2.21s)
Fetching https://github.com/swift-server/swift-service-lifecycle
Fetching https://github.com/apple/swift-collections
Fetching https://github.com/apple/swift-system
[1/2843] Fetching swift-service-lifecycle
[201/9759] Fetching swift-service-lifecycle, swift-system
[5334/37452] Fetching swift-service-lifecycle, swift-system, swift-collections
Fetched https://github.com/apple/swift-system (3.19s)
Fetched https://github.com/apple/swift-collections (3.19s)
Fetched https://github.com/swift-server/swift-service-lifecycle (3.19s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (3.76s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.54s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.103.0 (0.66s)
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.54s)
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/6732] Fetching swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git (1.30s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (1.90s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.5 (0.59s)
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.55s)
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.58s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.8.1 (0.57s)
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.72s)
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-asn1.git
[1/1983] Fetching swift-asn1
[160/9558] Fetching swift-asn1, swift-certificates
[6151/10811] Fetching swift-asn1, swift-certificates, swift-http-structured-headers
Fetched https://github.com/apple/swift-certificates.git (1.37s)
[2372/3236] Fetching swift-asn1, swift-http-structured-headers
Fetched https://github.com/apple/swift-asn1.git (1.51s)
Fetched https://github.com/apple/swift-http-structured-headers.git (1.51s)
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.09s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (0.64s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.21.0 (0.66s)
Fetching https://github.com/apple/swift-crypto.git
[1/18549] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git (2.50s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 5.0.0 (3.23s)
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.75s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.7.3 (2.38s)
Fetching https://github.com/pointfreeco/swift-issue-reporting
[1/6161] Fetching swift-issue-reporting
Fetched https://github.com/pointfreeco/swift-issue-reporting (1.89s)
Computing version for https://github.com/pointfreeco/swift-issue-reporting
Computed https://github.com/pointfreeco/swift-issue-reporting at 2.1.1 (2.60s)
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/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.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-configuration.git
Working copy of https://github.com/apple/swift-configuration.git resolved at 1.2.1
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-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-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.3
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 5.0.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/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-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/jamesrochabrun/SwiftAnthropic.git
Working copy of https://github.com/jamesrochabrun/SwiftAnthropic.git resolved at 2.2.2
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-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.1
Creating working copy for https://github.com/mattt/EventSource
Working copy of https://github.com/mattt/EventSource resolved at 1.5.1
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/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 602.0.0
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/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/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/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/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/pointfreeco/swift-macro-testing
Working copy of https://github.com/pointfreeco/swift-macro-testing resolved at 0.7.0
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-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-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/MacPaw/OpenAI.git
Working copy of https://github.com/MacPaw/OpenAI.git resolved at main (84ad38c)
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
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/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-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.28.0
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/602.0.0/swiftlang-6.4.0.34.1-macosx27.0-MacroSupport.zip
Downloaded https://download.swift.org/prebuilts/swift-syntax/602.0.0/swiftlang-6.4.0.34.1-macosx27.0-MacroSupport.zip (0.21s)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgentMacros/SessionSchema/SessionSchemaMacro.swift:10:15: [1;33mwarning: [1;39mdeprecated default implementation is used to satisfy static method 'expansion(of:providingMembersOf:conformingTo:in:)' required by protocol 'MemberMacro': `MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m8 |[0;0m /// Member macro that synthesizes boilerplate required by `LanguageModelSessionSchema`
[0;36m9 |[0;0m /// conformances, including tool wrappers and decoding helpers.
[0;36m10 |[0;0m public struct SessionSchemaMacro: MemberMacro {
[0;36m|[0;0m `- [1;33mwarning: [1;39mdeprecated default implementation is used to satisfy static method 'expansion(of:providingMembersOf:conformingTo:in:)' required by protocol 'MemberMacro': `MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m11 |[0;0m public static func expansion(
[0;36m12 |[0;0m of node: AttributeSyntax,
SwiftSyntaxMacros.MemberMacro.expansion:3:22: [1;39mnote: [1;39m'expansion(of:providingMembersOf:conformingTo:in:)' declared here[0;0m
[0;36m1 |[0;0m protocol MemberMacro {
[0;36m2 |[0;0m @available(*, deprecated, message: "`MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter")
[0;36m3 |[0;0m public static func expansion(of node: SwiftSyntax.AttributeSyntax, providingMembersOf declaration: some SwiftSyntax.DeclGroupSyntax, conformingTo protocols: [SwiftSyntax.TypeSyntax], in context: some SwiftSyntaxMacros.MacroExpansionContext) throws -> [SwiftSyntax.DeclSyntax]}
[0;36m|[0;0m `- [1;39mnote: [1;39m'expansion(of:providingMembersOf:conformingTo:in:)' declared here[0;0m
[0;36m4 |[0;0m
SwiftSyntaxMacros.MemberMacro.expansion:2:13: [1;39mnote: [1;39mrequirement 'expansion(of:providingMembersOf:conformingTo:in:)' declared here[0;0m
[0;36m1 |[0;0m protocol MemberMacro {
[0;36m2 |[0;0m static func expansion(of node: SwiftSyntax.AttributeSyntax, providingMembersOf declaration: some SwiftSyntax.DeclGroupSyntax, conformingTo protocols: [SwiftSyntax.TypeSyntax], in context: some SwiftSyntaxMacros.MacroExpansionContext) throws -> [SwiftSyntax.DeclSyntax]}
[0;36m|[0;0m `- [1;39mnote: [1;39mrequirement 'expansion(of:providingMembersOf:conformingTo:in:)' declared here[0;0m
[0;36m3 |[0;0m
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgentMacros/SessionSchema/SessionSchemaMacro.swift:10:15: [1;33mwarning: [1;39mdeprecated default implementation is used to satisfy static method 'expansion(of:providingMembersOf:conformingTo:in:)' required by protocol 'MemberMacro': `MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m8 |[0;0m /// Member macro that synthesizes boilerplate required by `LanguageModelSessionSchema`
[0;36m9 |[0;0m /// conformances, including tool wrappers and decoding helpers.
[0;36m10 |[0;0m public struct SessionSchemaMacro: MemberMacro {
[0;36m|[0;0m `- [1;33mwarning: [1;39mdeprecated default implementation is used to satisfy static method 'expansion(of:providingMembersOf:conformingTo:in:)' required by protocol 'MemberMacro': `MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m11 |[0;0m public static func expansion(
[0;36m12 |[0;0m of node: AttributeSyntax,
SwiftSyntaxMacros.MemberMacro.expansion:3:22: [1;39mnote: [1;39m'expansion(of:providingMembersOf:conformingTo:in:)' declared here[0;0m
[0;36m1 |[0;0m protocol MemberMacro {
[0;36m2 |[0;0m @available(*, deprecated, message: "`MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter")
[0;36m3 |[0;0m public static func expansion(of node: SwiftSyntax.AttributeSyntax, providingMembersOf declaration: some SwiftSyntax.DeclGroupSyntax, conformingTo protocols: [SwiftSyntax.TypeSyntax], in context: some SwiftSyntaxMacros.MacroExpansionContext) throws -> [SwiftSyntax.DeclSyntax]}
[0;36m|[0;0m `- [1;39mnote: [1;39m'expansion(of:providingMembersOf:conformingTo:in:)' declared here[0;0m
[0;36m4 |[0;0m
SwiftSyntaxMacros.MemberMacro.expansion:2:13: [1;39mnote: [1;39mrequirement 'expansion(of:providingMembersOf:conformingTo:in:)' declared here[0;0m
[0;36m1 |[0;0m protocol MemberMacro {
[0;36m2 |[0;0m static func expansion(of node: SwiftSyntax.AttributeSyntax, providingMembersOf declaration: some SwiftSyntax.DeclGroupSyntax, conformingTo protocols: [SwiftSyntax.TypeSyntax], in context: some SwiftSyntaxMacros.MacroExpansionContext) throws -> [SwiftSyntax.DeclSyntax]}
[0;36m|[0;0m `- [1;39mnote: [1;39mrequirement 'expansion(of:providingMembersOf:conformingTo:in:)' declared here[0;0m
[0;36m3 |[0;0m
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
error: SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AnthropicSession/Helpers/AnthropicMessageBuilder.swift failed with a nonzero exit code. Command line: cd /Users/admin/builder
builtin-SwiftPerFileCompile AnthropicMessageBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/AnthropicSession/Helpers/AnthropicMessageBuilder.swift:105:31: [1;31merror: [1;39mmissing argument labels 'isError:cacheControl:' in call[0;0m
[0;36m103 |[0;0m append(
[0;36m104 |[0;0m role: .user,
[0;36m105 |[0;0m content: .toolResult(toolOutput.callId, output, nil, nil),
[0;36m|[0;0m `- [1;31merror: [1;39mmissing argument labels 'isError:cacheControl:' in call[0;0m
[0;36m106 |[0;0m )
[0;36m107 |[0;0m
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/AnthropicSession/AnthropicAdapter+Request.swift /Users/admin/builder/spi-builder-workspace/Sources/AnthropicSession/AnthropicAdapter+Streaming.swift /Users/admin/builder/spi-builder-workspace/Sources/AnthropicSession/AnthropicAdapter+StreamingHandlers.swift /Users/admin/builder/spi-builder-workspace/Sources/AnthropicSession/AnthropicAdapter+StreamingTranscript.swift /Users/admin/builder/spi-builder-workspace/Sources/AnthropicSession/AnthropicAdapter+TokenUsage.swift /Users/admin/builder/spi-builder-workspace/Sources/AnthropicSession/AnthropicAdapter+ToolExecution.swift /Users/admin/builder/spi-builder-workspace/Sources/AnthropicSession/AnthropicAdapter.swift /Users/admin/builder/spi-builder-workspace/Sources/AnthropicSession/AnthropicConfiguration.swift /Users/admin/builder/spi-builder-workspace/Sources/AnthropicSession/AnthropicExports.swift /Users/admin/builder/spi-builder-workspace/Sources/AnthropicSession/AnthropicGenerationOptions.swift /Users/admin/builder/spi-builder-workspace/Sources/AnthropicSession/AnthropicGenerationOptionsError.swift /Users/admin/builder/spi-builder-workspace/Sources/AnthropicSession/AnthropicModel.swift /Users/admin/builder/spi-builder-workspace/Sources/AnthropicSession/AnthropicSession.swift /Users/admin/builder/spi-builder-workspace/Sources/AnthropicSession/AnthropicStreamingState.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/AnthropicSession/Helpers/AnthropicMessageBuilder.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/AnthropicSession/Helpers/AnthropicMessageStreamEventDecoder.swift /Users/admin/builder/spi-builder-workspace/Sources/AnthropicSession/Helpers/GenerationError+Anthropic.swift /Users/admin/builder/spi-builder-workspace/Sources/AnthropicSession/Helpers/GenerationSchema+AnthropicJSONSchema.swift /Users/admin/builder/spi-builder-workspace/Sources/AnthropicSession/Helpers/MessageParameter+Sendable.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftAgent.build/Debug/AnthropicSession-t.build/Objects-normal/arm64/AnthropicMessageBuilder.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftAgent.build/Debug/AnthropicSession-t.build/Objects-normal/arm64/AnthropicMessageBuilder.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftAgent.build/Debug/AnthropicSession-t.build/Objects-normal/arm64/AnthropicMessageBuilder.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftAgent.build/Debug/AnthropicSession-t.build/Objects-normal/arm64/AnthropicMessageBuilder.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftAgent.build/Debug/AnthropicSession-t.build/Objects-normal/arm64/AnthropicMessageStreamEventDecoder.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftAgent.build/Debug/AnthropicSession-t.build/Objects-normal/arm64/AnthropicMessageStreamEventDecoder.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftAgent.build/Debug/AnthropicSession-t.build/Objects-normal/arm64/AnthropicMessageStreamEventDecoder.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftAgent.build/Debug/AnthropicSession-t.build/Objects-normal/arm64/AnthropicMessageStreamEventDecoder.dia -target arm64-apple-macos26.0 -disable-cross-import-overlay-search -swift-module-cross-import FoundationModels /Applications/Xcode-27.0.0-Release.Candidate.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-Release.Candidate.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-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/libFoundationModelsMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#FoundationModelsMacros -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/libPreviewsMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#PreviewsMacros -load-resolved-plugin \#/Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug/SwiftAgentMacros\#SwiftAgentMacros -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 -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -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/SwiftAgent.build/Debug/AnthropicSession-t.build/Objects-normal/arm64/AnthropicSession-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\=5 -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/SwiftAgentMacros\#SwiftAgentMacros -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 -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/out/Products/Debug/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftAgent.build/Debug/AnthropicSession-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftAgent.build/Debug/AnthropicSession-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftAgent.build/Debug/AnthropicSession-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name AnthropicSession -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftAgent.build/Debug/AnthropicSession-t.build/Objects-normal/arm64/AnthropicSession_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/SwiftAgent.build/Debug/AnthropicSession-t.build/Objects-normal/arm64/AnthropicMessageBuilder.o -o /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftAgent.build/Debug/AnthropicSession-t.build/Objects-normal/arm64/AnthropicMessageStreamEventDecoder.o -debug-module-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftAgent.build/Debug/AnthropicSession-t.build/Objects-normal/arm64/AnthropicSession.swiftmodule -index-unit-output-path /SwiftAgent.build/Debug/AnthropicSession-t.build/Objects-normal/arm64/AnthropicMessageBuilder.o -index-unit-output-path /SwiftAgent.build/Debug/AnthropicSession-t.build/Objects-normal/arm64/AnthropicMessageStreamEventDecoder.o -index-store-path /Users/admin/builder/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 macosSpm