The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftAgent, reference main (48bfda), with Swift 6.4 for macOS (SPM) on 23 Sep 2026 20:59:57 UTC.

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/SwiftedMind/SwiftAgent.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/SwiftedMind/SwiftAgent
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
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 main
========================================
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]
[12 / 170]
[82 / 170]
[86 / 174] EventSource
[105 / 318]
[116 / 318]
[125 / 318]
[137 / 318]
[144 / 318]
[146 / 318]
[150 / 318]
[159 / 318]
[164 / 318]
[169 / 318]
[178 / 318]
[184 / 318]
[185 / 318]
[188 / 318]
[190 / 318]
[191 / 318]
[193 / 318]
[202 / 318] HTTPTypes
[207 / 318] EventSource
[215 / 318] SwiftAnthropic
[216 / 318] HTTPTypes
[228 / 318] SwiftAnthropic
[229 / 318] SwiftAnthropic
[245 / 318] HTTPTypes
[249 / 318]
[254 / 319] EventSource
[256 / 319] HTTPTypes
[256 / 319] SwiftAgentMacros
[268 / 330] OpenAPIRuntime
[272 / 331] OpenAPIRuntime
[279 / 332] OpenAPIRuntime
[290 / 343] OpenAPIRuntime
[292 / 382]
[293 / 382]
[297 / 382]
[303 / 382]
[311 / 382]
[312 / 382]
[313 / 382]
[316 / 382]
[319 / 382]
[319 / 382] OpenAI
[319 / 382]
[328 / 382] SwiftAgent
[329 / 382] SwiftAgent
[331 / 382] SwiftAgent
[338 / 383] SwiftAgent
[338 / 383] AnthropicSession
[342 / 399]
[351 / 401]
[358 / 401] AnthropicSession
Fetching https://github.com/MacPaw/OpenAI.git
[1/9084] Fetching openai
Fetched https://github.com/MacPaw/OpenAI.git (1.52s)
Fetching https://github.com/pointfreeco/swift-macro-testing
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/jamesrochabrun/SwiftAnthropic.git
[1/1002] Fetching swift-macro-testing
[112/7940] Fetching swift-macro-testing, swift-openapi-runtime
[113/8243] Fetching swift-macro-testing, swift-openapi-runtime, eventsource
[6024/9575] Fetching swift-macro-testing, swift-openapi-runtime, eventsource, swiftanthropic
[9576/89602] Fetching swift-macro-testing, swift-openapi-runtime, eventsource, swiftanthropic, swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git (6.54s)
Fetched https://github.com/jamesrochabrun/SwiftAnthropic.git (6.54s)
Fetched https://github.com/pointfreeco/swift-macro-testing (6.54s)
Fetched https://github.com/apple/swift-openapi-runtime (6.55s)
Fetched https://github.com/mattt/EventSource (6.55s)
Computing version for https://github.com/pointfreeco/swift-macro-testing
Computed https://github.com/pointfreeco/swift-macro-testing at 0.7.0 (7.19s)
Fetching https://github.com/pointfreeco/swift-snapshot-testing
[1/16477] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing (7.86s)
Computing version for https://github.com/jamesrochabrun/SwiftAnthropic.git
Computed https://github.com/jamesrochabrun/SwiftAnthropic.git at 2.2.2 (8.47s)
Fetching https://github.com/swift-server/async-http-client.git
Fetching https://github.com/apple/swift-nio.git
[1/16209] Fetching async-http-client
[16210/102274] Fetching async-http-client, swift-nio
Fetched https://github.com/apple/swift-nio.git (8.39s)
Fetched https://github.com/swift-server/async-http-client.git (8.39s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 602.0.0 (11.28s)
Computing version for https://github.com/mattt/EventSource
Computed https://github.com/mattt/EventSource at 1.5.1 (0.59s)
Computing version for https://github.com/apple/swift-openapi-runtime
Computed https://github.com/apple/swift-openapi-runtime at 1.12.1 (0.58s)
Fetching https://github.com/apple/swift-http-types
[1/1935] Fetching swift-http-types
Fetched https://github.com/apple/swift-http-types (1.09s)
Computing version for https://github.com/apple/swift-http-types
Computed https://github.com/apple/swift-http-types at 1.8.0 (1.73s)
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.61s)
Fetching https://github.com/apple/swift-service-context.git
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-algorithms.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-atomics.git
[1/1376] Fetching swift-service-context
[15/3251] Fetching swift-service-context, swift-atomics
[227/6114] Fetching swift-service-context, swift-atomics, swift-nio-transport-services
[228/12259] Fetching swift-service-context, swift-atomics, swift-nio-transport-services, swift-algorithms
[458/18949] Fetching swift-service-context, swift-atomics, swift-nio-transport-services, swift-algorithms, swift-nio-extras
[720/27114] Fetching swift-service-context, swift-atomics, swift-nio-transport-services, swift-algorithms, swift-nio-extras, swift-log
[749/33459] Fetching swift-service-context, swift-atomics, swift-nio-transport-services, swift-algorithms, swift-nio-extras, swift-log, swift-distributed-tracing
Fetched https://github.com/apple/swift-service-context.git (1.08s)
[5925/32083] Fetching swift-atomics, swift-nio-transport-services, swift-algorithms, swift-nio-extras, swift-log, swift-distributed-tracing
Fetching https://github.com/apple/swift-nio-http2.git
Fetched https://github.com/apple/swift-log.git (1.40s)
Fetched https://github.com/apple/swift-atomics.git (1.40s)
Fetched https://github.com/apple/swift-algorithms.git (1.40s)
Fetched https://github.com/apple/swift-nio-extras.git (1.40s)
Fetching https://github.com/apple/swift-configuration.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetched https://github.com/apple/swift-distributed-tracing.git (1.56s)
Fetched https://github.com/apple/swift-nio-transport-services.git (1.57s)
[1/12252] Fetching swift-nio-http2
[1227/16031] Fetching swift-nio-http2, swift-configuration
[2726/32096] Fetching swift-nio-http2, swift-configuration, swift-nio-ssl
Fetched https://github.com/apple/swift-configuration.git (1.25s)
[13216/28317] Fetching swift-nio-http2, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-http2.git (1.78s)
[1446/16065] Fetching swift-nio-ssl
Fetched https://github.com/apple/swift-nio-ssl.git (3.87s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.3.0 (5.99s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.66s)
Fetching https://github.com/apple/swift-numerics.git
[1/6640] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git (1.34s)
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.96s)
Computing version for https://github.com/apple/swift-configuration.git
Computed https://github.com/apple/swift-configuration.git at 1.2.1 (2.28s)
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
[30/9759] Fetching swift-service-lifecycle, swift-system
[9760/37452] Fetching swift-service-lifecycle, swift-system, swift-collections
Fetched https://github.com/apple/swift-system (1.37s)
[3120/30536] Fetching swift-service-lifecycle, swift-collections
Fetched https://github.com/swift-server/swift-service-lifecycle (3.87s)
Fetched https://github.com/apple/swift-collections (3.87s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (4.49s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.58s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.103.0 (0.69s)
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.59s)
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.57s)
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.33s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (1.94s)
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.63s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.7.0 (0.65s)
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.58s)
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.61s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.8.1 (0.56s)
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.73s)
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-certificates.git
[1/1253] Fetching swift-http-structured-headers
[1079/3236] Fetching swift-http-structured-headers, swift-asn1
[1294/10811] Fetching swift-http-structured-headers, swift-asn1, swift-certificates
Fetched https://github.com/apple/swift-asn1.git (4.16s)
[2996/8828] Fetching swift-http-structured-headers, swift-certificates
Fetched https://github.com/apple/swift-http-structured-headers.git (7.40s)
Fetched https://github.com/apple/swift-certificates.git (7.40s)
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 (8.04s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (0.73s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.21.0 (0.75s)
Fetching https://github.com/apple/swift-crypto.git
[1/18549] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git (3.03s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 5.0.0 (3.81s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.19.6 (0.60s)
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.80s)
Fetching https://github.com/pointfreeco/swift-issue-reporting
[1/6161] Fetching swift-issue-reporting
Fetched https://github.com/pointfreeco/swift-issue-reporting (1.83s)
Computing version for https://github.com/pointfreeco/swift-issue-reporting
Computed https://github.com/pointfreeco/swift-issue-reporting at 2.1.1 (2.55s)
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/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-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.1
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/mattt/EventSource
Working copy of https://github.com/mattt/EventSource resolved at 1.5.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-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-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.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/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/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-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.21.0
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-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-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-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/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/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-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.15.1
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-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-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-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.103.0
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/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-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.7.0
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/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-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: warning: deprecated 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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
  8 | /// Member macro that synthesizes boilerplate required by `LanguageModelSessionSchema`
  9 | /// conformances, including tool wrappers and decoding helpers.
 10 | public struct SessionSchemaMacro: MemberMacro {
    |               `- warning: deprecated 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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 11 |   public static func expansion(
 12 |     of node: AttributeSyntax,
SwiftSyntaxMacros.MemberMacro.expansion:3:22: note: 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
1 | protocol MemberMacro {
2 | @available(*, deprecated, message: "`MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter")
3 |   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]}
  |                      `- note: 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
4 |
SwiftSyntaxMacros.MemberMacro.expansion:2:13: note: requirement 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
1 | protocol MemberMacro {
2 | static func expansion(of node: SwiftSyntax.AttributeSyntax, providingMembersOf declaration: some SwiftSyntax.DeclGroupSyntax, conformingTo protocols: [SwiftSyntax.TypeSyntax], in context: some SwiftSyntaxMacros.MacroExpansionContext) throws -> [SwiftSyntax.DeclSyntax]}
  |             `- note: requirement 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
3 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgentMacros/SessionSchema/SessionSchemaMacro.swift:10:15: warning: deprecated 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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
  8 | /// Member macro that synthesizes boilerplate required by `LanguageModelSessionSchema`
  9 | /// conformances, including tool wrappers and decoding helpers.
 10 | public struct SessionSchemaMacro: MemberMacro {
    |               `- warning: deprecated 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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 11 |   public static func expansion(
 12 |     of node: AttributeSyntax,
SwiftSyntaxMacros.MemberMacro.expansion:3:22: note: 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
1 | protocol MemberMacro {
2 | @available(*, deprecated, message: "`MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter")
3 |   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]}
  |                      `- note: 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
4 |
SwiftSyntaxMacros.MemberMacro.expansion:2:13: note: requirement 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
1 | protocol MemberMacro {
2 | static func expansion(of node: SwiftSyntax.AttributeSyntax, providingMembersOf declaration: some SwiftSyntax.DeclGroupSyntax, conformingTo protocols: [SwiftSyntax.TypeSyntax], in context: some SwiftSyntaxMacros.MacroExpansionContext) throws -> [SwiftSyntax.DeclSyntax]}
  |             `- note: requirement 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
3 |
[#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: error: missing argument labels 'isError:cacheControl:' in call
103 |         append(
104 |           role: .user,
105 |           content: .toolResult(toolOutput.callId, output, nil, nil),
    |                               `- error: missing argument labels 'isError:cacheControl:' in call
106 |         )
107 |
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