The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of SwiftAgent, reference 0.7.2 (fcc42f), with Swift 6.2 for macOS (SPM) on 20 Oct 2025 00:40:08 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.0.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SwiftedMind/SwiftAgent.git
Reference: 0.7.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/SwiftedMind/SwiftAgent
 * tag               0.7.2      -> FETCH_HEAD
HEAD is now at fcc42fb Merge branch 'develop'
Cloned https://github.com/SwiftedMind/SwiftAgent.git
Revision (git rev-parse @):
fcc42fbb274de0372688019bbee8100715fdbb87
SUCCESS checkout https://github.com/SwiftedMind/SwiftAgent.git at 0.7.2
Fetching https://github.com/MacPaw/OpenAI.git
[1/7547] Fetching openai
Fetched https://github.com/MacPaw/OpenAI.git from cache (1.18s)
Fetching https://github.com/mattt/EventSource
Fetching https://github.com/pointfreeco/swift-macro-testing
Fetching https://github.com/apple/swift-openapi-runtime
Fetching https://github.com/swiftlang/swift-syntax.git
[1/152] Fetching eventsource
[103/1066] Fetching eventsource, swift-macro-testing
[167/6819] Fetching eventsource, swift-macro-testing, swift-openapi-runtime
Fetched https://github.com/apple/swift-openapi-runtime from cache (1.05s)
[1/72597] Fetching swift-syntax
Fetched https://github.com/mattt/EventSource from cache (3.67s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (3.67s)
Fetched https://github.com/pointfreeco/swift-macro-testing from cache (3.67s)
Computing version for https://github.com/pointfreeco/swift-macro-testing
Computed https://github.com/pointfreeco/swift-macro-testing at 0.6.4 (4.23s)
Fetching https://github.com/pointfreeco/swift-snapshot-testing
[1/15554] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (5.84s)
Computing version for https://github.com/mattt/EventSource
Computed https://github.com/mattt/EventSource at 1.2.0 (6.39s)
Computing version for https://github.com/apple/swift-openapi-runtime
Computed https://github.com/apple/swift-openapi-runtime at 1.8.3 (0.54s)
Fetching https://github.com/apple/swift-http-types
[1/924] Fetching swift-http-types
Fetched https://github.com/apple/swift-http-types from cache (0.81s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 602.0.0 (3.53s)
Computing version for https://github.com/apple/swift-http-types
Computed https://github.com/apple/swift-http-types at 1.5.0 (0.52s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.18.7 (0.53s)
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/4598] Fetching swift-custom-dump
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (1.02s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (1.58s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5552] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (1.33s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.7.0 (1.89s)
Creating working copy for https://github.com/MacPaw/OpenAI.git
Working copy of https://github.com/MacPaw/OpenAI.git resolved at main (c8b02fc)
Creating working copy for https://github.com/mattt/EventSource
Working copy of https://github.com/mattt/EventSource resolved at 1.2.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.6.4
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.18.7
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.3.3
Creating working copy for https://github.com/apple/swift-openapi-runtime
Working copy of https://github.com/apple/swift-openapi-runtime resolved at 1.8.3
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/apple/swift-http-types
Working copy of https://github.com/apple/swift-http-types resolved at 1.5.0
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.7.0
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/602.0.0/swiftlang-6.2.0.19.9-MacroSupport-macos_aarch64.zip
Downloaded https://download.swift.org/prebuilts/swift-syntax/602.0.0/swiftlang-6.2.0.19.9-MacroSupport-macos_aarch64.zip (0.16s)
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "swiftagent",
      "name": "SwiftAgent",
      "url": "https://github.com/SwiftedMind/SwiftAgent.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftAgent",
      "dependencies": [
        {
          "identity": "swift-syntax",
          "name": "swift-syntax",
          "url": "https://github.com/swiftlang/swift-syntax.git",
          "version": "602.0.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-syntax",
          "dependencies": [
          ]
        },
        {
          "identity": "openai",
          "name": "OpenAI",
          "url": "https://github.com/MacPaw/OpenAI.git",
          "version": "unspecified",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/OpenAI",
          "dependencies": [
            {
              "identity": "swift-openapi-runtime",
              "name": "swift-openapi-runtime",
              "url": "https://github.com/apple/swift-openapi-runtime",
              "version": "1.8.3",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-openapi-runtime",
              "dependencies": [
                {
                  "identity": "swift-http-types",
                  "name": "swift-http-types",
                  "url": "https://github.com/apple/swift-http-types",
                  "version": "1.5.0",
                  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-http-types",
                  "dependencies": [
                  ]
                }
              ]
            }
          ]
        },
        {
          "identity": "eventsource",
          "name": "EventSource",
          "url": "https://github.com/mattt/EventSource",
          "version": "1.2.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/EventSource",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/SwiftedMind/SwiftAgent.git
[1/3831] Fetching swiftagent
Fetched https://github.com/SwiftedMind/SwiftAgent.git from cache (0.96s)
Fetching https://github.com/MacPaw/OpenAI.git from cache
Fetched https://github.com/MacPaw/OpenAI.git from cache (0.48s)
Fetching https://github.com/swiftlang/swift-syntax.git from cache
Fetching https://github.com/mattt/EventSource from cache
Fetching https://github.com/apple/swift-openapi-runtime from cache
Fetched https://github.com/apple/swift-openapi-runtime from cache (0.83s)
Fetched https://github.com/mattt/EventSource from cache (0.83s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (0.83s)
Computing version for https://github.com/mattt/EventSource
Computed https://github.com/mattt/EventSource at 1.2.0 (0.90s)
Computing version for https://github.com/apple/swift-openapi-runtime
Computed https://github.com/apple/swift-openapi-runtime at 1.8.3 (0.03s)
Fetching https://github.com/apple/swift-http-types from cache
Fetched https://github.com/apple/swift-http-types from cache (0.42s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 602.0.0 (0.48s)
Computing version for https://github.com/apple/swift-http-types
Computed https://github.com/apple/swift-http-types at 1.5.0 (0.03s)
Creating working copy for https://github.com/MacPaw/OpenAI.git
Working copy of https://github.com/MacPaw/OpenAI.git resolved at main (c8b02fc)
Creating working copy for https://github.com/apple/swift-openapi-runtime
Working copy of https://github.com/apple/swift-openapi-runtime resolved at 1.8.3
Creating working copy for https://github.com/SwiftedMind/SwiftAgent.git
Working copy of https://github.com/SwiftedMind/SwiftAgent.git resolved at 0.7.2 (fcc42fb)
Creating working copy for https://github.com/apple/swift-http-types
Working copy of https://github.com/apple/swift-http-types resolved at 1.5.0
Creating working copy for https://github.com/mattt/EventSource
Working copy of https://github.com/mattt/EventSource resolved at 1.2.0
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
warning: '.resolve-product-dependencies': dependency 'swiftagent' is not used by any target
Found 3 product dependencies
  - swift-syntax
  - OpenAI
  - EventSource
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/SwiftedMind/SwiftAgent.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0.app xcrun swift build --arch arm64
Building for debugging...
[0/19] Write sources
[16/19] Write swift-version-49B95AFC49DCD68C.txt
[18/55] Compiling HTTPTypes HTTPResponse.swift
[19/55] Compiling SwiftAgentMacros SwiftAgentMacroPlugin.swift
[20/55] Compiling SwiftAgentMacros SessionSchemaMacro.swift
/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 [#DeprecatedDeclaration]
  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 [#DeprecatedDeclaration]
 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>
[21/55] Compiling SwiftAgentMacros SessionSchemaMacro+Types.swift
[22/55] Compiling SwiftAgentMacros SessionSchemaMacro+Extraction.swift
[23/55] Compiling SwiftAgentMacros SessionSchemaMacro+Generation.swift
[24/55] Compiling SwiftAgentMacros SessionSchemaMacro+Extensions.swift
[25/55] Compiling HTTPTypes HTTPResponse.swift
[26/55] Compiling HTTPTypes HTTPRequest.swift
[28/55] Compiling HTTPTypes NIOLock.swift
[29/55] Compiling HTTPTypes ISOLatin1String.swift
[31/55] Compiling HTTPTypes NIOLock.swift
[32/55] Compiling HTTPTypes HTTPFieldName.swift
[33/55] Emitting module HTTPTypes
[34/55] Compiling HTTPTypes HTTPField.swift
[36/55] Emitting module SwiftAgentMacros
/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 [#DeprecatedDeclaration]
  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 [#DeprecatedDeclaration]
 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>
[37/55] Compiling SwiftAgentMacros MacroHelpers.swift
[37/55] Write Objects.LinkFileList
[39/55] Compiling HTTPTypes HTTPParsedFields.swift
[40/55] Compiling HTTPTypes HTTPFields.swift
[41/55] Compiling HTTPTypes HTTPRequest+URL.swift
[42/55] Emitting module HTTPTypes
[43/55] Compiling HTTPTypes HTTPFieldName.swift
[44/55] Compiling HTTPTypes HTTPFields.swift
[45/55] Compiling HTTPTypes HTTPParsedFields.swift
[46/55] Compiling HTTPTypes HTTPRequest+URL.swift
[47/55] Compiling EventSource AsyncSequence+Events.swift
[48/55] Compiling EventSource AsyncEventsSequence.swift
[49/55] Compiling EventSource EventSource.swift
[50/55] Emitting module EventSource
[51/55] Compiling EventSource AsyncSequence+Events.swift
[52/55] Compiling EventSource EventSource.swift
[53/55] Emitting module EventSource
[54/55] Compiling EventSource AsyncEventsSequence.swift
[54/181] Linking SwiftAgentMacros-tool
[56/255] Compiling OpenAPIRuntime PrettyStringConvertible.swift
[57/255] Compiling OpenAPIRuntime UndocumentedPayload.swift
[58/255] Compiling OpenAPIRuntime WarningSuppressingAnnotations.swift
[59/255] Compiling OpenAPIRuntime CodableExtensions.swift
[60/255] Compiling OpenAPIRuntime RuntimeError.swift
[61/255] Compiling OpenAPIRuntime ServerError.swift
[62/255] Compiling OpenAPIRuntime JSONLinesDecoding.swift
[70/267] Compiling OpenAPIRuntime JSONLinesEncoding.swift
[71/267] Compiling OpenAPIRuntime JSONSequenceDecoding.swift
[72/267] Compiling OpenAPIRuntime JSONSequenceEncoding.swift
[73/267] Compiling OpenAPIRuntime ServerSentEvents.swift
[74/267] Compiling OpenAPIRuntime ServerSentEventsDecoding.swift
[75/267] Compiling OpenAPIRuntime ServerSentEventsEncoding.swift
[76/267] Compiling OpenAPIRuntime AsyncSequenceCommon.swift
[77/267] Compiling OpenAPIRuntime URIDecoder.swift
[78/267] Compiling OpenAPIRuntime URIValueFromNodeDecoder+Keyed.swift
[79/267] Compiling OpenAPIRuntime URIValueFromNodeDecoder+Single.swift
[80/267] Compiling OpenAPIRuntime URIValueFromNodeDecoder+Unkeyed.swift
[81/267] Compiling OpenAPIRuntime URIValueFromNodeDecoder.swift
[82/267] Compiling OpenAPIRuntime URIEncoder.swift
[83/267] Compiling SwiftAgent TranscriptDecoder.swift
[84/267] Compiling SwiftAgent Adapter.swift
[85/267] Compiling SwiftAgent DecodableStructuredOutput.swift
[86/267] Compiling SwiftAgent DecodableTool.swift
[87/267] Compiling SwiftAgent LanguageModelSessionSchema.swift
[88/267] Compiling SwiftAgent _SwiftAgentToolWrapper.swift
[89/267] Compiling SwiftAgent AuthorizationContext.swift
[90/267] Emitting module OpenAPIRuntime
[91/267] Compiling SwiftAgent ToolRun.swift
[92/267] Compiling OpenAPIRuntime CurrencyTypes.swift
[93/267] Compiling OpenAPIRuntime ErrorHandlingMiddleware.swift
[94/267] Compiling OpenAPIRuntime HTTPBody.swift
[95/267] Compiling OpenAPIRuntime ServerTransport.swift
[96/267] Compiling OpenAPIRuntime UniversalClient.swift
[97/267] Compiling OpenAPIRuntime URLExtensions.swift
[98/267] Compiling SwiftAgent HTTPClient+SSE.swift
[99/267] Compiling SwiftAgent HTTPClient.swift
[100/267] Compiling SwiftAgent HTTPErrorMessageExtractor.swift
[101/267] Compiling SwiftAgent NetworkLog.swift
[102/267] Compiling SwiftAgent PromptBuilder.swift
[103/267] Compiling SwiftAgent PromptBuiltins.swift
[104/267] Compiling SwiftAgent URLMetadataProvider.swift
[105/267] Compiling SwiftAgent LanguageModelProvider+Respond.swift
[106/267] Compiling SwiftAgent LanguageModelProvider+StreamResponse.swift
[107/267] Compiling SwiftAgent LanguageModelProvider.swift
[108/267] Compiling SwiftAgent Macros.swift
[109/267] Compiling SwiftAgent AdapterUpdate.swift
[110/267] Compiling SwiftAgent AgentResponse.swift
[111/267] Compiling SwiftAgent AgentSnapshot.swift
[112/267] Compiling SwiftAgent ToolRunRejection.swift
[113/267] Compiling SwiftAgent Transcript+Decoded.swift
[114/267] Compiling SwiftAgent Transcript.swift
[115/267] Compiling SwiftAgent TranscriptDecodingError.swift
[116/267] Compiling SwiftAgent GenerationError.swift
[117/267] Compiling SwiftAgent StructuredOutputSnapshot.swift
[118/267] Compiling SwiftAgent TokenUsage.swift
[140/267] Compiling SwiftAgent AgentLog.swift
[141/267] Compiling SwiftAgent GenerationError+HTTPMapping.swift
[142/267] Compiling SwiftAgent GenerationError+Pipeline.swift
[143/267] Compiling SwiftAgent JSONUtilities.swift
[144/267] Compiling SwiftAgent Logging.swift
[145/267] Compiling SwiftAgent RejectionReportDetailsExtractor.swift
[146/267] Compiling SwiftAgent SnakeCaseName.swift
[174/267] Emitting module OpenAPIRuntime
[182/267] Compiling OpenAPIRuntime URIValueToNodeEncoder+Keyed.swift
[183/267] Compiling OpenAPIRuntime URIValueToNodeEncoder+Single.swift
[184/267] Compiling OpenAPIRuntime URIValueToNodeEncoder+Unkeyed.swift
[185/267] Compiling OpenAPIRuntime URIValueToNodeEncoder.swift
[186/267] Compiling OpenAPIRuntime URIParser.swift
[187/267] Compiling OpenAPIRuntime URISerializer.swift
[194/529] Compiling OpenAI JSONRequest.swift
[195/529] Compiling OpenAI JSONResponseDecoder.swift
[196/529] Compiling OpenAI JSONResponseErrorDecoder.swift
[197/529] Compiling OpenAI KeyedDecodingContainer+ParsingOptions.swift
[198/529] Compiling OpenAI MultipartFormDataBodyBuilder.swift
[199/529] Compiling OpenAI MultipartFormDataBodyEncodable.swift
[200/529] Compiling OpenAI MultipartFormDataEntry.swift
[201/529] Compiling OpenAI MultipartFormDataRequest.swift
[202/529] Compiling OpenAI OpenAI+MakeRequest.swift
[203/529] Compiling OpenAI PropertyValue.swift
[204/529] Compiling OpenAI SSLDelegateProtocol.swift
[205/529] Compiling OpenAI SendablePassthroughSubject.swift
[206/529] Compiling OpenAI StreamableQuery.swift
[207/529] Compiling OpenAI AudioSpeechStreamInterpreter.swift
[208/529] Compiling OpenAI CodableResultStreamInterpreter.swift
[209/543] Compiling OpenAI DataTaskPerformingURLSession.swift
[210/543] Compiling OpenAI InvalidatableSession.swift
[211/543] Compiling OpenAI ModelResponseEventsStreamInterpreter.swift
[212/543] Compiling OpenAI ModelResponseStreamEventType.swift
[213/543] Compiling OpenAI PerformableSession.swift
[214/543] Compiling OpenAI ServerSentEventsStreamInterpreter.swift
[215/543] Compiling OpenAI ServerSentEventsStreamParser.swift
[216/543] Compiling OpenAI ServerSentEventsStreamingSessionFactory.swift
[217/543] Compiling OpenAI SessionInvalidator.swift
[218/543] Compiling OpenAI StreamingError.swift
[219/543] Compiling OpenAI StreamingSession.swift
[220/543] Compiling OpenAI URLBuilder.swift
[221/543] Compiling OpenAI URLComponents+.swift
[222/543] Compiling OpenAI URLRequestBuildable.swift
[223/543] Compiling OpenAI URLResponseHandler.swift
[239/557] Compiling OpenAI ImagesQuery.swift
[240/557] Compiling OpenAI ServiceTier.swift
[241/557] Compiling OpenAI CancellableRequest.swift
[242/557] Compiling OpenAI OpenAIAsync.swift
[243/557] Compiling OpenAI OpenAICombine.swift
[244/557] Compiling OpenAI OpenAIMiddleware.swift
[245/557] Compiling OpenAI OpenAIProtocol.swift
[246/557] Compiling OpenAI ResponsesEndpointAsync.swift
[247/557] Compiling OpenAI ResponsesEndpointCombine.swift
[248/557] Compiling OpenAI ResponsesEndpointModern.swift
[249/557] Compiling OpenAI ResponsesEndpointProtocol.swift
[250/557] Compiling OpenAI EasyInputMessage.swift
[251/557] Compiling OpenAI FunctionTool.swift
[252/557] Compiling OpenAI InputContent.swift
[253/557] Compiling OpenAI InputImage.swift
[254/557] Compiling OpenAI JSONSchema.swift
[255/557] Compiling OpenAI AudioTranscriptionVerboseResult.swift
[256/557] Compiling OpenAI AudioTranslationQuery.swift
[257/557] Compiling OpenAI AudioTranslationResult.swift
[258/557] Compiling OpenAI ChatQuery.swift
[259/557] Compiling OpenAI ChatResult.swift
[260/557] Compiling OpenAI ChatStreamResult.swift
[261/557] Compiling OpenAI EmbeddingsQuery.swift
[262/557] Compiling OpenAI EmbeddingsResult.swift
[263/557] Compiling OpenAI FilesQuery.swift
[264/557] Compiling OpenAI FilesResult.swift
[265/557] Compiling OpenAI FunctionDeclaration.swift
[266/557] Compiling OpenAI ImageEditsQuery.swift
[267/557] Compiling OpenAI ImageVariationsQuery.swift
[268/557] Emitting module SwiftAgent
[284/563] Compiling OpenAI ResponseEvent.swift
[285/563] Compiling OpenAI ResponseObject.swift
[286/563] Compiling OpenAI RunResult.swift
[287/563] Compiling OpenAI RunRetrieveQuery.swift
[288/563] Compiling OpenAI RunRetrieveStepsResult.swift
[289/563] Compiling OpenAI RunToolOutputsQuery.swift
[290/563] Compiling OpenAI RunsQuery.swift
[291/563] Compiling OpenAI ThreadAddMessagesResult.swift
[292/563] Compiling OpenAI ThreadRunQuery.swift
[293/563] Compiling OpenAI ThreadsMessagesResult.swift
[294/563] Compiling OpenAI ThreadsQuery.swift
[295/563] Compiling OpenAI ThreadsResult.swift
[296/563] Compiling OpenAI ChatQueryWebSearchOptions.swift
[297/563] Compiling OpenAI JSONSchemaDefinition.swift
[298/563] Compiling OpenAI JSONSchemaConvertationError.swift
[299/563] Compiling OpenAI JSONSchemaConvertible.swift
[300/563] Compiling OpenAI JSONSchemaEnumConvertible.swift
[301/563] Compiling OpenAI AssistantResult.swift
[302/563] Compiling SwiftAgent StructuredOutput.swift
[303/563] Compiling SwiftAgent SwiftAgentTool.swift
[304/563] Compiling SwiftAgent SwiftAgentConfiguration.swift
[311/563] Compiling OpenAI JSONSchemaField.swift
[312/563] Compiling OpenAI JSONSchemaInstanceType.swift
[348/563] Compiling OpenAI ImagesResult.swift
[349/563] Compiling OpenAI MessageQuery.swift
[350/563] Compiling OpenAI ModelQuery.swift
[351/563] Compiling OpenAI ModelResult.swift
[352/563] Compiling OpenAI Models.swift
[353/563] Compiling OpenAI ModelsResult.swift
[354/563] Compiling OpenAI ModerationsQuery.swift
[355/563] Compiling OpenAI ModerationsResult.swift
[356/563] Compiling OpenAI CreateModelResponseQuery+TextResponseConfigurationOptions.swift
[357/563] Compiling OpenAI CreateModelResponseQuery.swift
[358/563] Compiling OpenAI CreateModelResponseQueryInput.swift
[359/563] Compiling OpenAI DeleteModelResponseQuery.swift
[360/563] Compiling OpenAI DeleteModelResponseResult.swift
[361/563] Compiling OpenAI GetModelResponseQuery.swift
[362/563] Compiling OpenAI OpenAI+OpenAIAsync.swift
[363/563] Compiling OpenAI OpenAI+OpenAICombine.swift
[364/563] Compiling OpenAI OpenAI.swift
[365/563] Compiling OpenAI AssistantsRequest.swift
[366/563] Compiling OpenAI CancellablesFactory.swift
[367/563] Compiling OpenAI AsyncClient.swift
[368/563] Compiling OpenAI Client.swift
[369/563] Compiling OpenAI CombineClient.swift
[370/563] Compiling OpenAI StreamingClient.swift
[371/563] Compiling OpenAI CodingUserInfoKey+ParsingOptions.swift
[372/563] Compiling OpenAI DataTaskFactory.swift
[373/563] Compiling OpenAI DescribedError.swift
[374/563] Compiling OpenAI DispatchQueue+Static.swift
[375/563] Compiling OpenAI ExecutionSerializer.swift
[376/563] Compiling OpenAI Schemas+Description.swift
[391/563] Emitting module OpenAI
[434/563] Compiling OpenAI URLSessionCombine.swift
[435/563] Compiling OpenAI URLSessionDataDelegateForwarder.swift
[436/563] Compiling OpenAI URLSessionDataTaskProtocol.swift
[437/563] Compiling OpenAI URLSessionDataTaskPublisherProtocol.swift
[438/563] Compiling OpenAI URLSessionDataTaskStore.swift
[439/563] Compiling OpenAI URLSessionDelegateProtocol.swift
[440/563] Compiling OpenAI URLSessionFactory.swift
[441/563] Compiling OpenAI URLSessionProtocol+MakeDataTask.swift
[442/563] Compiling OpenAI URLSessionProtocol.swift
[443/563] Compiling OpenAI URLSessionTaskCanceller.swift
[444/563] Compiling OpenAI APIError.swift
[445/563] Compiling OpenAI GeminiAPIError.swift
[446/563] Compiling OpenAI AnyJSONDocument.swift
[447/563] Compiling OpenAI JSONDocument.swift
[458/563] Compiling OpenAI AudioSpeechQuery.swift
[459/563] Compiling OpenAI AudioSpeechResult.swift
[460/563] Compiling OpenAI AudioTranscriptionQuery.swift
[461/563] Compiling OpenAI AudioTranscriptionResult.swift
[462/563] Compiling OpenAI AudioTranscriptionStreamResult.swift
[463/563] Emitting module OpenAI
[536/563] Compiling OpenAI InputItem.swift
[537/563] Compiling OpenAI ResponseMCPCallArgumentsDeltaEvent.swift
[538/563] Compiling OpenAI ResponseMCPCallArgumentsDoneEvent.swift
[539/563] Compiling OpenAI ResponseOutputItemAddedEvent.swift
[540/563] Compiling OpenAI ResponseOutputItemDoneEvent.swift
[541/563] Compiling OpenAI Tool.swift
[542/563] Compiling OpenAI OutputItem.swift
[543/563] Compiling OpenAI ResponseStreamEvent.swift
[544/563] Compiling OpenAI Components.swift
[545/563] Compiling OpenAI ParsingOptions.swift
[546/563] Compiling OpenAI Utilities.swift
[547/563] Compiling OpenAI ResponsesEndpoint+Async.swift
[548/563] Compiling OpenAI ResponsesEndpoint+Combine.swift
[549/563] Compiling OpenAI ResponsesEndpoint.swift
[564/605] Compiling SimulatedSession SimulationGenerationOptions.swift
[565/605] Compiling SimulatedSession SimulationModel.swift
[566/605] Compiling SimulatedSession SimulationConfiguration.swift
[567/605] Compiling SimulatedSession SimulationExports.swift
[568/605] Compiling SimulatedSession SimulationModel.swift
[569/605] Compiling SimulatedSession SimulationGenerationOptions.swift
[570/605] Compiling SimulatedSession SimulationExports.swift
[571/605] Compiling SimulatedSession SimulationConfiguration.swift
[572/605] Emitting module SimulatedSession
[573/605] Compiling SimulatedSession MockableTool.swift
[574/605] Compiling SimulatedSession SimulatedGeneration.swift
[575/605] Compiling SimulatedSession SimulatedSession.swift
[576/605] Emitting module SimulatedSession
[577/605] Compiling SimulatedSession SimulationAdapter.swift
[578/605] Compiling OpenAISession OpenAIModel.swift
[579/606] Compiling OpenAISession OpenAIGenerationOptionsError.swift
[580/606] Compiling OpenAISession OpenAIModel.swift
[581/607] Compiling OpenAISession OpenAIConfiguration.swift
[582/607] Compiling OpenAISession OpenAIGenerationOptionsError.swift
[583/607] Compiling SimulatedSession MockableTool.swift
[584/607] Compiling SimulatedSession SimulatedSession.swift
[585/607] Compiling SimulatedSession SimulatedGeneration.swift
[586/607] Compiling SimulatedSession SimulationAdapter.swift
[587/607] Compiling OpenAISession OpenAIExports.swift
[588/607] Compiling OpenAISession OpenAIGenerationOptions.swift
[589/607] Emitting module OpenAISession
[590/607] Compiling OpenAISession OpenAIExports.swift
[591/607] Compiling OpenAISession OpenAIConfiguration.swift
[592/607] Compiling OpenAISession OpenAIGenerationOptions.swift
[593/607] Compiling OpenAISession OpenAIAdapter.swift
[595/607] Compiling OpenAISession GenerationError+OpenAI.swift
[596/607] Compiling OpenAISession GenerationSchema+JSONSchema.swift
[597/607] Compiling OpenAISession OpenAIResponseStreamEventDecoder.swift
[598/607] Compiling OpenAISession OutputContent+asText.swift
[599/607] Compiling OpenAISession OpenAIAdapter+Streaming.swift
[605/607] Emitting module OpenAISession
[606/607] Compiling OpenAISession OpenAISession.swift
[608/609] Compiling ExampleCode ReadmeCode.swift
[609/609] Emitting module ExampleCode
Build complete! (32.12s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-syntax",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "600.0.0",
            "upper_bound" : "603.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swiftlang/swift-syntax.git"
    },
    {
      "identity" : "openai",
      "requirement" : {
        "branch" : [
          "main"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/MacPaw/OpenAI.git"
    },
    {
      "identity" : "eventsource",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.2.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/mattt/EventSource"
    },
    {
      "identity" : "swift-macro-testing",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.6.4",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/pointfreeco/swift-macro-testing"
    }
  ],
  "manifest_display_name" : "SwiftAgent",
  "name" : "SwiftAgent",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "26.0"
    },
    {
      "name" : "macos",
      "version" : "26.0"
    }
  ],
  "products" : [
    {
      "name" : "OpenAISession",
      "targets" : [
        "OpenAISession",
        "SimulatedSession",
        "SwiftAgent"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "ExampleCode",
      "targets" : [
        "ExampleCode"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SwiftAgentMacros",
      "targets" : [
        "SwiftAgentMacros"
      ],
      "type" : {
        "macro" : null
      }
    }
  ],
  "swift_languages_versions" : [
    "6"
  ],
  "targets" : [
    {
      "c99name" : "SwiftAgentTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftAgentTests",
      "path" : "Tests/SwiftAgentTests",
      "sources" : [
        "Helpers/ReplayHTTPClient.swift",
        "OpenAISession/OpenAIErrorHandling.swift",
        "OpenAISession/OpenAIStreamingErrorHandling.swift",
        "OpenAISession/OpenAIStreamingStructuredOutputTests.swift",
        "OpenAISession/OpenAIStreamingTextTests.swift",
        "OpenAISession/OpenAIStreamingToolCallsTests.swift",
        "OpenAISession/OpenAIStructuredOutputTests.swift",
        "PromptBuilderTests.swift",
        "SimulatedSession/SimulationStreamingTextTests.swift",
        "SimulatedSession/SimulationTextTests.swift",
        "SwiftAgentTests.swift"
      ],
      "target_dependencies" : [
        "OpenAISession",
        "SwiftAgent",
        "SimulatedSession"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftAgentMacros",
      "module_type" : "SwiftTarget",
      "name" : "SwiftAgentMacros",
      "path" : "Sources/SwiftAgentMacros",
      "product_dependencies" : [
        "SwiftCompilerPlugin",
        "SwiftDiagnostics",
        "SwiftSyntax",
        "SwiftSyntaxMacros",
        "SwiftSyntaxBuilder"
      ],
      "product_memberships" : [
        "OpenAISession",
        "ExampleCode",
        "SwiftAgentMacros"
      ],
      "sources" : [
        "MacroHelpers.swift",
        "SessionSchema/SessionSchemaMacro+Extensions.swift",
        "SessionSchema/SessionSchemaMacro+Extraction.swift",
        "SessionSchema/SessionSchemaMacro+Generation.swift",
        "SessionSchema/SessionSchemaMacro+Types.swift",
        "SessionSchema/SessionSchemaMacro.swift",
        "SwiftAgentMacroPlugin.swift"
      ],
      "type" : "macro"
    },
    {
      "c99name" : "SwiftAgentMacroTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftAgentMacroTests",
      "path" : "Tests/SwiftAgentMacroTests",
      "product_dependencies" : [
        "MacroTesting",
        "SwiftSyntaxMacrosTestSupport"
      ],
      "sources" : [
        "SessionSchemaMacroTests.swift"
      ],
      "target_dependencies" : [
        "SwiftAgentMacros"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftAgent",
      "module_type" : "SwiftTarget",
      "name" : "SwiftAgent",
      "path" : "Sources/SwiftAgent",
      "product_dependencies" : [
        "EventSource"
      ],
      "product_memberships" : [
        "OpenAISession",
        "ExampleCode"
      ],
      "sources" : [
        "Helpers/AgentLog.swift",
        "Helpers/GenerationError+HTTPMapping.swift",
        "Helpers/GenerationError+Pipeline.swift",
        "Helpers/JSONUtilities.swift",
        "Helpers/Logging.swift",
        "Helpers/RejectionReportDetailsExtractor.swift",
        "Helpers/SnakeCaseName.swift",
        "Helpers/TranscriptDecoder.swift",
        "Helpers/URLMetadataProvider.swift",
        "LanguageModelProvider/LanguageModelProvider+Respond.swift",
        "LanguageModelProvider/LanguageModelProvider+StreamResponse.swift",
        "LanguageModelProvider/LanguageModelProvider.swift",
        "Macros.swift",
        "Models/AdapterUpdate.swift",
        "Models/AgentResponse.swift",
        "Models/AgentSnapshot.swift",
        "Models/GenerationError.swift",
        "Models/StructuredOutputSnapshot.swift",
        "Models/TokenUsage.swift",
        "Models/ToolRun.swift",
        "Models/ToolRunRejection.swift",
        "Models/Transcript+Decoded.swift",
        "Models/Transcript.swift",
        "Models/TranscriptDecodingError.swift",
        "Models/_SwiftAgentToolWrapper.swift",
        "Networking/AuthorizationContext.swift",
        "Networking/HTTPClient+SSE.swift",
        "Networking/HTTPClient.swift",
        "Networking/HTTPErrorMessageExtractor.swift",
        "Networking/NetworkLog.swift",
        "Prompting/PromptBuilder.swift",
        "Prompting/PromptBuiltins.swift",
        "Protocols/Adapter.swift",
        "Protocols/DecodableStructuredOutput.swift",
        "Protocols/DecodableTool.swift",
        "Protocols/LanguageModelSessionSchema.swift",
        "Protocols/StructuredOutput.swift",
        "Protocols/SwiftAgentTool.swift",
        "SwiftAgentConfiguration.swift"
      ],
      "target_dependencies" : [
        "SwiftAgentMacros"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SimulatedSession",
      "module_type" : "SwiftTarget",
      "name" : "SimulatedSession",
      "path" : "Sources/SimulatedSession",
      "product_dependencies" : [
        "OpenAI"
      ],
      "product_memberships" : [
        "OpenAISession",
        "ExampleCode"
      ],
      "sources" : [
        "MockableTool.swift",
        "SimulatedGeneration.swift",
        "SimulatedSession.swift",
        "SimulationAdapter.swift",
        "SimulationConfiguration.swift",
        "SimulationExports.swift",
        "SimulationGenerationOptions.swift",
        "SimulationModel.swift"
      ],
      "target_dependencies" : [
        "SwiftAgent"
      ],
      "type" : "library"
    },
    {
      "c99name" : "OpenAISession",
      "module_type" : "SwiftTarget",
      "name" : "OpenAISession",
      "path" : "Sources/OpenAISession",
      "product_dependencies" : [
        "OpenAI",
        "EventSource"
      ],
      "product_memberships" : [
        "OpenAISession",
        "ExampleCode"
      ],
      "sources" : [
        "Helpers/GenerationError+OpenAI.swift",
        "Helpers/GenerationSchema+JSONSchema.swift",
        "Helpers/OpenAIResponseStreamEventDecoder.swift",
        "Helpers/OutputContent+asText.swift",
        "OpenAIAdapter+Streaming.swift",
        "OpenAIAdapter.swift",
        "OpenAIConfiguration.swift",
        "OpenAIExports.swift",
        "OpenAIGenerationOptions.swift",
        "OpenAIGenerationOptionsError.swift",
        "OpenAIModel.swift",
        "OpenAISession.swift"
      ],
      "target_dependencies" : [
        "SwiftAgent",
        "SwiftAgentMacros"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ExampleCode",
      "module_type" : "SwiftTarget",
      "name" : "ExampleCode",
      "path" : "Sources/ExampleCode",
      "product_memberships" : [
        "ExampleCode"
      ],
      "sources" : [
        "ReadmeCode.swift"
      ],
      "target_dependencies" : [
        "SwiftAgent",
        "OpenAISession",
        "SimulatedSession"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.2"
}
Done.