Build Information
Successful build of SwiftAgent, reference main (fcc42f), with Swift 6.2 for macOS (SPM) on 20 Oct 2025 17:04:30 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.68.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 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 main
Fetching https://github.com/MacPaw/OpenAI.git
[1/7547] Fetching openai
Fetched https://github.com/MacPaw/OpenAI.git from cache (1.19s)
Fetching https://github.com/mattt/EventSource
Fetching https://github.com/pointfreeco/swift-macro-testing
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/apple/swift-openapi-runtime
[1/152] Fetching eventsource
[68/1066] Fetching eventsource, swift-macro-testing
[217/6819] Fetching eventsource, swift-macro-testing, swift-openapi-runtime
[6820/79436] Fetching eventsource, swift-macro-testing, swift-openapi-runtime, swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (3.35s)
Fetched https://github.com/mattt/EventSource from cache (3.35s)
Fetched https://github.com/pointfreeco/swift-macro-testing from cache (3.35s)
Fetched https://github.com/apple/swift-openapi-runtime from cache (3.35s)
Computing version for https://github.com/pointfreeco/swift-macro-testing
Computed https://github.com/pointfreeco/swift-macro-testing at 0.6.4 (3.91s)
Fetching https://github.com/pointfreeco/swift-snapshot-testing
[1/15554] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (2.80s)
Computing version for https://github.com/mattt/EventSource
Computed https://github.com/mattt/EventSource at 1.2.0 (3.35s)
Computing version for https://github.com/apple/swift-openapi-runtime
Computed https://github.com/apple/swift-openapi-runtime at 1.8.3 (0.52s)
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.83s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 602.0.0 (3.76s)
Computing version for https://github.com/apple/swift-http-types
Computed https://github.com/apple/swift-http-types at 1.5.0 (0.50s)
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.05s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (1.49s)
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.28s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.7.0 (1.82s)
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/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/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/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/MacPaw/OpenAI.git
Working copy of https://github.com/MacPaw/OpenAI.git resolved at main (c8b02fc)
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/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.7.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
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/3878] Fetching swiftagent
Fetched https://github.com/SwiftedMind/SwiftAgent.git from cache (1.02s)
Fetching https://github.com/MacPaw/OpenAI.git from cache
Fetched https://github.com/MacPaw/OpenAI.git from cache (0.52s)
Fetching https://github.com/mattt/EventSource from cache
Fetching https://github.com/apple/swift-openapi-runtime from cache
Fetching https://github.com/swiftlang/swift-syntax.git from cache
Fetched https://github.com/mattt/EventSource from cache (0.43s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (0.84s)
Fetched https://github.com/apple/swift-openapi-runtime from cache (0.84s)
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.51s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 602.0.0 (0.56s)
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-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/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 main (fcc42fb)
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 SwiftAgentMacros SwiftAgentMacroPlugin.swift
[19/55] Compiling HTTPTypes HTTPResponse.swift
[21/55] Compiling SwiftAgentMacros SessionSchemaMacro+Extensions.swift
[22/55] Compiling HTTPTypes HTTPRequest.swift
[23/55] Compiling SwiftAgentMacros SessionSchemaMacro+Generation.swift
[24/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>
[25/55] Compiling SwiftAgentMacros SessionSchemaMacro+Extraction.swift
[26/55] Compiling SwiftAgentMacros SessionSchemaMacro+Types.swift
[27/55] Compiling HTTPTypes HTTPRequest.swift
[28/55] Compiling HTTPTypes ISOLatin1String.swift
[29/55] Compiling HTTPTypes NIOLock.swift
[30/55] Compiling HTTPTypes ISOLatin1String.swift
[31/55] Compiling HTTPTypes NIOLock.swift
[32/55] Emitting module HTTPTypes
[33/55] Compiling HTTPTypes HTTPField.swift
[34/55] Emitting module HTTPTypes
[35/55] Compiling SwiftAgentMacros MacroHelpers.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>
[36/55] Write Objects.LinkFileList
[38/55] Compiling HTTPTypes HTTPParsedFields.swift
[39/55] Compiling HTTPTypes HTTPFields.swift
[40/55] Compiling HTTPTypes HTTPFieldName.swift
[41/55] Compiling HTTPTypes HTTPField.swift
[42/55] Compiling HTTPTypes HTTPRequest+URL.swift
[44/55] Compiling HTTPTypes HTTPFields.swift
[45/55] Compiling HTTPTypes HTTPParsedFields.swift
[46/55] Compiling HTTPTypes HTTPFieldName.swift
[47/55] Compiling EventSource EventSource.swift
[48/55] Compiling EventSource AsyncEventsSequence.swift
[49/55] Compiling EventSource AsyncSequence+Events.swift
[50/55] Emitting module EventSource
[52/55] Compiling EventSource EventSource.swift
[53/55] Compiling EventSource AsyncEventsSequence.swift
[54/55] Compiling EventSource AsyncSequence+Events.swift
[54/181] Linking SwiftAgentMacros-tool
[56/255] Compiling OpenAPIRuntime URIDecoder.swift
[57/255] Compiling OpenAPIRuntime URIValueFromNodeDecoder+Keyed.swift
[58/255] Compiling OpenAPIRuntime URIValueFromNodeDecoder+Single.swift
[59/255] Compiling OpenAPIRuntime URIValueFromNodeDecoder+Unkeyed.swift
[60/255] Compiling OpenAPIRuntime URIValueFromNodeDecoder.swift
[61/255] Compiling OpenAPIRuntime URIEncoder.swift
[62/261] Compiling SwiftAgent Logging.swift
[63/261] Compiling SwiftAgent GenerationError+HTTPMapping.swift
[64/261] Compiling SwiftAgent GenerationError+Pipeline.swift
[65/261] Compiling SwiftAgent JSONUtilities.swift
[66/261] Compiling SwiftAgent GenerationError.swift
[67/261] Compiling SwiftAgent StructuredOutputSnapshot.swift
[68/261] Compiling SwiftAgent HTTPClient+SSE.swift
[69/261] Emitting module OpenAPIRuntime
[70/267] Compiling OpenAPIRuntime MultipartPublicTypesExtensions.swift
[77/267] Compiling OpenAPIRuntime MultipartBoundaryGenerator.swift
[78/267] Compiling OpenAPIRuntime MultipartBytesToFramesSequence.swift
[79/267] Compiling OpenAPIRuntime MultipartFramesToBytesSequence.swift
[80/267] Compiling OpenAPIRuntime MultipartFramesToRawPartsSequence.swift
[81/267] Compiling OpenAPIRuntime MultipartInternalTypes.swift
[82/267] Compiling OpenAPIRuntime MultipartPublicTypes.swift
[83/267] Compiling SwiftAgent Transcript.swift
[84/267] Compiling SwiftAgent TranscriptDecodingError.swift
[85/267] Compiling SwiftAgent Macros.swift
[86/267] Compiling SwiftAgent AdapterUpdate.swift
[87/267] Compiling SwiftAgent AgentResponse.swift
[88/267] Compiling SwiftAgent AgentSnapshot.swift
[89/267] Compiling SwiftAgent HTTPErrorMessageExtractor.swift
[90/267] Compiling SwiftAgent NetworkLog.swift
[91/267] Compiling SwiftAgent PromptBuilder.swift
[92/267] Compiling SwiftAgent PromptBuiltins.swift
[93/267] Compiling SwiftAgent Adapter.swift
[94/267] Compiling SwiftAgent DecodableStructuredOutput.swift
[95/267] Compiling SwiftAgent DecodableTool.swift
[96/267] Compiling SwiftAgent LanguageModelSessionSchema.swift
[111/267] Compiling SwiftAgent HTTPClient.swift
[112/267] Compiling SwiftAgent URLMetadataProvider.swift
[113/267] Compiling SwiftAgent LanguageModelProvider+Respond.swift
[114/267] Compiling SwiftAgent LanguageModelProvider+StreamResponse.swift
[115/267] Compiling SwiftAgent LanguageModelProvider.swift
[116/267] Compiling SwiftAgent ToolRunRejection.swift
[117/267] Compiling SwiftAgent Transcript+Decoded.swift
[118/267] Compiling SwiftAgent GenerationError.swift
[119/267] Compiling SwiftAgent StructuredOutputSnapshot.swift
[120/267] Compiling SwiftAgent TokenUsage.swift
[121/267] Compiling SwiftAgent ToolRun.swift
[122/267] Compiling SwiftAgent AgentLog.swift
[123/267] Compiling SwiftAgent GenerationError+HTTPMapping.swift
[124/267] Compiling SwiftAgent GenerationError+Pipeline.swift
[139/267] Emitting module OpenAPIRuntime
[140/267] Compiling OpenAPIRuntime MultipartRawPartsToFramesSequence.swift
[141/267] Compiling OpenAPIRuntime MultipartValidation.swift
[142/267] Compiling OpenAPIRuntime OpenAPIMIMEType+Multipart.swift
[143/267] Compiling OpenAPIRuntime URICodeCodingKey.swift
[144/267] Compiling OpenAPIRuntime URICoderConfiguration.swift
[145/267] Compiling OpenAPIRuntime URIEncodedNode.swift
[146/267] Compiling OpenAPIRuntime URIParsedTypes.swift
[147/267] Compiling SwiftAgent JSONUtilities.swift
[148/267] Compiling OpenAPIRuntime CurrencyTypes.swift
[149/267] Compiling OpenAPIRuntime ErrorHandlingMiddleware.swift
[150/267] Compiling OpenAPIRuntime HTTPBody.swift
[151/267] Compiling OpenAPIRuntime ServerTransport.swift
[152/267] Compiling OpenAPIRuntime UniversalClient.swift
[153/267] Compiling OpenAPIRuntime UniversalServer.swift
[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 ServiceTier.swift
[195/529] Compiling OpenAI CancellableRequest.swift
[196/529] Compiling OpenAI OpenAIAsync.swift
[197/529] Compiling OpenAI OpenAICombine.swift
[198/529] Compiling OpenAI OpenAIMiddleware.swift
[199/529] Compiling OpenAI OpenAIProtocol.swift
[200/529] Compiling OpenAI ResponsesEndpointAsync.swift
[201/529] Compiling OpenAI ResponsesEndpointCombine.swift
[202/529] Compiling OpenAI ResponsesEndpointModern.swift
[203/529] Compiling OpenAI ResponsesEndpointProtocol.swift
[204/529] Compiling OpenAI EasyInputMessage.swift
[205/529] Compiling OpenAI FunctionTool.swift
[206/529] Compiling OpenAI InputContent.swift
[207/529] Compiling OpenAI InputImage.swift
[208/543] Compiling OpenAI JSONSchemaDefinition.swift
[223/557] Compiling OpenAI AudioTranscriptionResult.swift
[224/557] Compiling OpenAI AudioTranscriptionStreamResult.swift
[225/557] Compiling OpenAI URLSessionCombine.swift
[226/557] Compiling OpenAI URLSessionDataDelegateForwarder.swift
[227/557] Compiling OpenAI URLSessionDataTaskProtocol.swift
[228/557] Compiling OpenAI URLSessionDataTaskPublisherProtocol.swift
[229/557] Compiling OpenAI URLSessionDataTaskStore.swift
[230/557] Compiling OpenAI URLSessionDelegateProtocol.swift
[231/557] Compiling OpenAI URLSessionFactory.swift
[232/557] Compiling OpenAI URLSessionProtocol+MakeDataTask.swift
[233/557] Compiling OpenAI URLSessionProtocol.swift
[234/557] Compiling OpenAI URLSessionTaskCanceller.swift
[235/557] Compiling OpenAI APIError.swift
[236/557] Compiling OpenAI GeminiAPIError.swift
[237/557] Compiling OpenAI AnyJSONDocument.swift
[238/557] Compiling OpenAI DataTaskPerformingURLSession.swift
[239/557] Compiling OpenAI InvalidatableSession.swift
[240/557] Compiling OpenAI ModelResponseEventsStreamInterpreter.swift
[241/557] Compiling OpenAI ModelResponseStreamEventType.swift
[242/557] Compiling OpenAI PerformableSession.swift
[243/557] Compiling OpenAI ServerSentEventsStreamInterpreter.swift
[244/557] Compiling OpenAI ServerSentEventsStreamParser.swift
[245/557] Compiling OpenAI ServerSentEventsStreamingSessionFactory.swift
[246/557] Compiling OpenAI SessionInvalidator.swift
[247/557] Compiling OpenAI StreamingError.swift
[248/557] Compiling OpenAI StreamingSession.swift
[249/557] Compiling OpenAI URLBuilder.swift
[250/557] Compiling OpenAI URLComponents+.swift
[251/557] Compiling OpenAI URLRequestBuildable.swift
[252/557] Compiling OpenAI URLResponseHandler.swift
[253/557] Emitting module SwiftAgent
[254/560] Compiling OpenAI GetModelResponseQuery.swift
[255/560] Compiling OpenAI ResponseEvent.swift
[256/560] Compiling OpenAI ResponseObject.swift
[257/560] Compiling OpenAI RunResult.swift
[258/560] Compiling OpenAI RunRetrieveQuery.swift
[259/560] Compiling OpenAI RunRetrieveStepsResult.swift
[260/560] Compiling OpenAI RunToolOutputsQuery.swift
[261/560] Compiling OpenAI RunsQuery.swift
[262/560] Compiling OpenAI ThreadAddMessagesResult.swift
[263/560] Compiling OpenAI ThreadRunQuery.swift
[264/560] Compiling OpenAI ThreadsMessagesResult.swift
[265/560] Compiling OpenAI ThreadsQuery.swift
[266/560] Compiling OpenAI ThreadsResult.swift
[267/560] Compiling OpenAI ChatQueryWebSearchOptions.swift
[268/560] Compiling OpenAI ImageVariationsQuery.swift
[269/560] Compiling OpenAI ImagesQuery.swift
[270/560] Compiling OpenAI ImagesResult.swift
[271/560] Compiling OpenAI MessageQuery.swift
[272/560] Compiling OpenAI ModelQuery.swift
[273/560] Compiling OpenAI ModelResult.swift
[274/560] Compiling OpenAI Models.swift
[275/560] Compiling OpenAI ModelsResult.swift
[276/560] Compiling OpenAI ModerationsQuery.swift
[277/560] Compiling OpenAI ModerationsResult.swift
[278/560] Compiling OpenAI CreateModelResponseQuery+TextResponseConfigurationOptions.swift
[279/560] Compiling OpenAI CreateModelResponseQuery.swift
[280/560] Compiling OpenAI CreateModelResponseQueryInput.swift
[281/560] Compiling OpenAI DeleteModelResponseQuery.swift
[282/560] Compiling OpenAI DeleteModelResponseResult.swift
[283/560] Compiling OpenAI JSONDocument.swift
[284/560] Compiling OpenAI JSONSchema.swift
[285/560] Compiling OpenAI AudioTranscriptionVerboseResult.swift
[286/560] Compiling OpenAI AudioTranslationQuery.swift
[287/560] Compiling OpenAI AudioTranslationResult.swift
[288/560] Compiling OpenAI ChatQuery.swift
[289/560] Compiling OpenAI ChatResult.swift
[290/560] Compiling OpenAI ChatStreamResult.swift
[291/560] Compiling OpenAI EmbeddingsQuery.swift
[292/560] Compiling OpenAI EmbeddingsResult.swift
[293/560] Compiling OpenAI FilesQuery.swift
[294/560] Compiling OpenAI FilesResult.swift
[295/560] Compiling OpenAI FunctionDeclaration.swift
[296/560] Compiling OpenAI ImageEditsQuery.swift
[297/560] Compiling OpenAI JSONRequest.swift
[298/560] Compiling OpenAI JSONResponseDecoder.swift
[299/560] Compiling OpenAI JSONResponseErrorDecoder.swift
[300/560] Compiling OpenAI KeyedDecodingContainer+ParsingOptions.swift
[301/560] Compiling OpenAI MultipartFormDataBodyBuilder.swift
[302/560] Compiling OpenAI MultipartFormDataBodyEncodable.swift
[303/560] Compiling SwiftAgent StructuredOutput.swift
[304/560] Compiling SwiftAgent SwiftAgentTool.swift
[305/560] Compiling SwiftAgent SwiftAgentConfiguration.swift
[306/560] Compiling OpenAI PropertyValue.swift
[307/560] Compiling OpenAI SSLDelegateProtocol.swift
[308/560] Compiling OpenAI SendablePassthroughSubject.swift
[309/560] Compiling OpenAI StreamableQuery.swift
[310/560] Compiling OpenAI AudioSpeechStreamInterpreter.swift
[311/560] Compiling OpenAI CodableResultStreamInterpreter.swift
[312/560] Compiling OpenAI OpenAI+OpenAIAsync.swift
[313/560] Compiling OpenAI OpenAI+OpenAICombine.swift
[314/560] Compiling OpenAI OpenAI.swift
[315/560] Compiling OpenAI AssistantsRequest.swift
[316/560] Compiling OpenAI CancellablesFactory.swift
[317/560] Compiling OpenAI AsyncClient.swift
[318/560] Compiling OpenAI Client.swift
[319/560] Compiling OpenAI CombineClient.swift
[320/560] Compiling OpenAI StreamingClient.swift
[321/560] Compiling OpenAI CodingUserInfoKey+ParsingOptions.swift
[322/560] Compiling OpenAI DataTaskFactory.swift
[323/560] Compiling OpenAI DescribedError.swift
[324/560] Compiling OpenAI DispatchQueue+Static.swift
[325/560] Compiling OpenAI ExecutionSerializer.swift
[326/560] Compiling OpenAI Schemas+Description.swift
[331/563] Compiling SwiftAgent StructuredOutput.swift
[332/563] Compiling SwiftAgent SwiftAgentTool.swift
[333/563] Compiling SwiftAgent SwiftAgentConfiguration.swift
[338/563] Emitting module SwiftAgent
[360/563] Compiling OpenAI JSONSchemaField.swift
[361/563] Compiling OpenAI JSONSchemaInstanceType.swift
[362/563] Compiling OpenAI JSONSchemaConvertationError.swift
[363/563] Compiling OpenAI JSONSchemaConvertible.swift
[364/563] Compiling OpenAI JSONSchemaEnumConvertible.swift
[365/563] Compiling OpenAI AssistantResult.swift
[366/563] Compiling OpenAI AssistantsQuery.swift
[367/563] Compiling OpenAI AssistantsResult.swift
[368/563] Compiling OpenAI AssistantsTool.swift
[369/563] Compiling OpenAI AudioSpeechQuery.swift
[370/563] Compiling OpenAI AudioSpeechResult.swift
[371/563] Compiling OpenAI AudioTranscriptionQuery.swift
[477/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 SimulationModel.swift
[565/605] Compiling SimulatedSession SimulationConfiguration.swift
[566/605] Compiling SimulatedSession SimulationExports.swift
[567/605] Compiling SimulatedSession SimulationGenerationOptions.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] Compiling SimulatedSession SimulatedSession.swift
[573/605] Compiling SimulatedSession SimulatedGeneration.swift
[574/605] Compiling SimulatedSession MockableTool.swift
[575/605] Emitting module SimulatedSession
[576/605] Compiling SimulatedSession SimulationAdapter.swift
[577/605] Compiling OpenAISession OpenAIModel.swift
[578/605] Compiling OpenAISession OpenAIGenerationOptionsError.swift
[579/606] Compiling OpenAISession OpenAIModel.swift
[580/606] Compiling OpenAISession OpenAIGenerationOptionsError.swift
[581/607] Compiling OpenAISession OpenAIGenerationOptions.swift
[582/607] Compiling OpenAISession OpenAIExports.swift
[584/607] Compiling OpenAISession OpenAIGenerationOptions.swift
[585/607] Compiling SimulatedSession SimulatedGeneration.swift
[586/607] Compiling SimulatedSession SimulatedSession.swift
[587/607] Emitting module SimulatedSession
[588/607] Compiling SimulatedSession MockableTool.swift
[589/607] Compiling SimulatedSession SimulationAdapter.swift
[590/607] Compiling OpenAISession OpenAIConfiguration.swift
[592/607] Compiling OpenAISession OpenAIAdapter.swift
[594/607] Compiling OpenAISession OpenAIResponseStreamEventDecoder.swift
[595/607] Compiling OpenAISession OutputContent+asText.swift
[596/607] Compiling OpenAISession GenerationError+OpenAI.swift
[597/607] Compiling OpenAISession GenerationSchema+JSONSchema.swift
[598/607] Emitting module OpenAISession
[599/607] Compiling OpenAISession OpenAIAdapter+Streaming.swift
[604/607] Emitting module OpenAISession
[605/607] Compiling OpenAISession OpenAIAdapter+Streaming.swift
[606/607] Compiling OpenAISession OpenAISession.swift
[608/609] Compiling ExampleCode ReadmeCode.swift
[609/609] Emitting module ExampleCode
Build complete! (29.66s)
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.