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 OpenAI, reference 0.4.6 (80045f), with Swift 6.2 (beta) for macOS (SPM) on 9 Aug 2025 22:35:50 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.65.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/MacPaw/OpenAI.git
Reference: 0.4.6
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/MacPaw/OpenAI
 * tag               0.4.6      -> FETCH_HEAD
HEAD is now at 80045fc Merge pull request #374 from piscue/add-gpt-5-models
Cloned https://github.com/MacPaw/OpenAI.git
Revision (git rev-parse @):
80045fcda7ba727a327eb0a525e983fd7a796c70
SUCCESS checkout https://github.com/MacPaw/OpenAI.git at 0.4.6
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/MacPaw/OpenAI.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-1EA4D86E10B52AF.txt
[5/13] Compiling HTTPTypes ISOLatin1String.swift
[6/13] Compiling HTTPTypes HTTPResponse.swift
[7/13] Compiling HTTPTypes HTTPParsedFields.swift
[8/13] Compiling HTTPTypes HTTPRequest.swift
[9/13] Compiling HTTPTypes NIOLock.swift
[10/13] Compiling HTTPTypes HTTPField.swift
[11/13] Compiling HTTPTypes HTTPFieldName.swift
[12/13] Emitting module HTTPTypes
[13/13] Compiling HTTPTypes HTTPFields.swift
[14/76] Emitting module OpenAPIRuntime
[15/82] Compiling OpenAPIRuntime MultipartRawPartsToFramesSequence.swift
[16/82] Compiling OpenAPIRuntime MultipartValidation.swift
[17/82] Compiling OpenAPIRuntime OpenAPIMIMEType+Multipart.swift
[18/82] Compiling OpenAPIRuntime URICodeCodingKey.swift
[19/82] Compiling OpenAPIRuntime URICoderConfiguration.swift
[20/82] Compiling OpenAPIRuntime URIEncodedNode.swift
[21/82] Compiling OpenAPIRuntime URIParsedTypes.swift
[22/82] Compiling OpenAPIRuntime PrettyStringConvertible.swift
[23/82] Compiling OpenAPIRuntime UndocumentedPayload.swift
[24/82] Compiling OpenAPIRuntime WarningSuppressingAnnotations.swift
[25/82] Compiling OpenAPIRuntime CodableExtensions.swift
[26/82] Compiling OpenAPIRuntime Configuration.swift
[27/82] Compiling OpenAPIRuntime Converter+Client.swift
[28/82] Compiling OpenAPIRuntime Converter+Common.swift
[29/82] Compiling OpenAPIRuntime URIValueToNodeEncoder+Keyed.swift
[30/82] Compiling OpenAPIRuntime URIValueToNodeEncoder+Single.swift
[31/82] Compiling OpenAPIRuntime URIValueToNodeEncoder+Unkeyed.swift
[32/82] Compiling OpenAPIRuntime URIValueToNodeEncoder.swift
[33/82] Compiling OpenAPIRuntime URIParser.swift
[34/82] Compiling OpenAPIRuntime URISerializer.swift
[35/82] Compiling OpenAPIRuntime ClientTransport.swift
[36/82] Compiling OpenAPIRuntime CurrencyTypes.swift
[37/82] Compiling OpenAPIRuntime ErrorHandlingMiddleware.swift
[38/82] Compiling OpenAPIRuntime HTTPBody.swift
[39/82] Compiling OpenAPIRuntime ServerTransport.swift
[40/82] Compiling OpenAPIRuntime UniversalClient.swift
[41/82] Compiling OpenAPIRuntime UniversalServer.swift
[42/82] Compiling OpenAPIRuntime URIDecoder.swift
[43/82] Compiling OpenAPIRuntime URIValueFromNodeDecoder+Keyed.swift
[44/82] Compiling OpenAPIRuntime URIValueFromNodeDecoder+Single.swift
[45/82] Compiling OpenAPIRuntime URIValueFromNodeDecoder+Unkeyed.swift
[46/82] Compiling OpenAPIRuntime URIValueFromNodeDecoder.swift
[47/82] Compiling OpenAPIRuntime URIEncoder.swift
[48/82] Compiling OpenAPIRuntime URLExtensions.swift
[49/82] Compiling OpenAPIRuntime Deprecated.swift
[50/82] Compiling OpenAPIRuntime ClientError.swift
[51/82] Compiling OpenAPIRuntime CodingErrors.swift
[52/82] Compiling OpenAPIRuntime RuntimeError.swift
[53/82] Compiling OpenAPIRuntime ServerError.swift
[54/82] Compiling OpenAPIRuntime JSONLinesDecoding.swift
[55/82] Compiling OpenAPIRuntime Converter+Server.swift
[56/82] Compiling OpenAPIRuntime Converter.swift
[57/82] Compiling OpenAPIRuntime CurrencyExtensions.swift
[58/82] Compiling OpenAPIRuntime ErrorExtensions.swift
[59/82] Compiling OpenAPIRuntime FoundationExtensions.swift
[60/82] Compiling OpenAPIRuntime ParameterStyles.swift
[61/82] Compiling OpenAPIRuntime ServerVariable.swift
[62/82] Compiling OpenAPIRuntime Acceptable.swift
[63/82] Compiling OpenAPIRuntime Base64EncodedData.swift
[64/82] Compiling OpenAPIRuntime ByteUtilities.swift
[65/82] Compiling OpenAPIRuntime ContentDisposition.swift
[66/82] Compiling OpenAPIRuntime CopyOnWriteBox.swift
[67/82] Compiling OpenAPIRuntime OpenAPIMIMEType.swift
[68/82] Compiling OpenAPIRuntime OpenAPIValue.swift
[69/82] Compiling OpenAPIRuntime JSONLinesEncoding.swift
[70/82] Compiling OpenAPIRuntime JSONSequenceDecoding.swift
[71/82] Compiling OpenAPIRuntime JSONSequenceEncoding.swift
[72/82] Compiling OpenAPIRuntime ServerSentEvents.swift
[73/82] Compiling OpenAPIRuntime ServerSentEventsDecoding.swift
[74/82] Compiling OpenAPIRuntime ServerSentEventsEncoding.swift
[75/82] Compiling OpenAPIRuntime AsyncSequenceCommon.swift
[76/82] Compiling OpenAPIRuntime MultipartBoundaryGenerator.swift
[77/82] Compiling OpenAPIRuntime MultipartBytesToFramesSequence.swift
[78/82] Compiling OpenAPIRuntime MultipartFramesToBytesSequence.swift
[79/82] Compiling OpenAPIRuntime MultipartFramesToRawPartsSequence.swift
[80/82] Compiling OpenAPIRuntime MultipartInternalTypes.swift
[81/82] Compiling OpenAPIRuntime MultipartPublicTypes.swift
[82/82] Compiling OpenAPIRuntime MultipartPublicTypesExtensions.swift
[83/213] Compiling OpenAI ServiceTier.swift
[84/213] Compiling OpenAI CancellableRequest.swift
[85/213] Compiling OpenAI OpenAIAsync.swift
[86/213] Compiling OpenAI OpenAICombine.swift
[87/213] Compiling OpenAI OpenAIMiddleware.swift
[88/213] Compiling OpenAI OpenAIProtocol.swift
[89/213] Compiling OpenAI ResponsesEndpointAsync.swift
[90/213] Compiling OpenAI ResponsesEndpointCombine.swift
[91/213] Compiling OpenAI ResponsesEndpointModern.swift
[92/213] Compiling OpenAI ResponsesEndpointProtocol.swift
[93/213] Compiling OpenAI EasyInputMessage.swift
[94/213] Compiling OpenAI FunctionTool.swift
[95/213] Compiling OpenAI InputContent.swift
[96/213] Compiling OpenAI InputImage.swift
[97/227] Compiling OpenAI JSONRequest.swift
[98/227] Compiling OpenAI JSONResponseDecoder.swift
[99/227] Compiling OpenAI JSONResponseErrorDecoder.swift
[100/227] Compiling OpenAI KeyedDecodingContainer+ParsingOptions.swift
[101/227] Compiling OpenAI MultipartFormDataBodyBuilder.swift
[102/227] Compiling OpenAI MultipartFormDataBodyEncodable.swift
[103/227] Compiling OpenAI MultipartFormDataEntry.swift
[104/227] Compiling OpenAI MultipartFormDataRequest.swift
[105/227] Compiling OpenAI OpenAI+MakeRequest.swift
[106/227] Compiling OpenAI PropertyValue.swift
[107/227] Compiling OpenAI SSLDelegateProtocol.swift
[108/227] Compiling OpenAI SendablePassthroughSubject.swift
[109/227] Compiling OpenAI StreamableQuery.swift
[110/227] Compiling OpenAI AudioSpeechStreamInterpreter.swift
[111/227] Compiling OpenAI CodableResultStreamInterpreter.swift
[112/227] Compiling OpenAI JSONSchemaField.swift
[113/227] Compiling OpenAI JSONSchemaInstanceType.swift
[114/227] Compiling OpenAI JSONSchemaConvertationError.swift
[115/227] Compiling OpenAI JSONSchemaConvertible.swift
[116/227] Compiling OpenAI JSONSchemaEnumConvertible.swift
[117/227] Compiling OpenAI AssistantResult.swift
[118/227] Compiling OpenAI AssistantsQuery.swift
[119/227] Compiling OpenAI AssistantsResult.swift
[120/227] Compiling OpenAI AssistantsTool.swift
[121/227] Compiling OpenAI AudioSpeechQuery.swift
[122/227] Compiling OpenAI AudioSpeechResult.swift
[123/227] Compiling OpenAI AudioTranscriptionQuery.swift
[124/227] Compiling OpenAI AudioTranscriptionResult.swift
[125/227] Compiling OpenAI AudioTranscriptionStreamResult.swift
[126/227] Compiling OpenAI OpenAI+OpenAIAsync.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenAI/Private/DataTaskFactory.swift:25:68: warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
23 |         session.dataTask(with: request) { data, response, error in
24 |             do {
25 |                 let decoded: ResultType = try self.responseHandler.interceptAndDecode(
   |                                                                    `- warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
26 |                     response: response,
27 |                     urlRequest: request,
/Users/admin/builder/spi-builder-workspace/Sources/OpenAI/Private/DataTaskFactory.swift:22:76: warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
20 |     }
21 |
22 |     func makeDataTask<ResultType: Codable>(forRequest request: URLRequest, completion: @escaping @Sendable (Result<ResultType, Error>) -> Void) -> URLSessionDataTaskProtocol {
   |                                                                            `- warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
23 |         session.dataTask(with: request) { data, response, error in
24 |             do {
[127/227] Compiling OpenAI OpenAI+OpenAICombine.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenAI/Private/DataTaskFactory.swift:25:68: warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
23 |         session.dataTask(with: request) { data, response, error in
24 |             do {
25 |                 let decoded: ResultType = try self.responseHandler.interceptAndDecode(
   |                                                                    `- warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
26 |                     response: response,
27 |                     urlRequest: request,
/Users/admin/builder/spi-builder-workspace/Sources/OpenAI/Private/DataTaskFactory.swift:22:76: warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
20 |     }
21 |
22 |     func makeDataTask<ResultType: Codable>(forRequest request: URLRequest, completion: @escaping @Sendable (Result<ResultType, Error>) -> Void) -> URLSessionDataTaskProtocol {
   |                                                                            `- warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
23 |         session.dataTask(with: request) { data, response, error in
24 |             do {
[128/227] Compiling OpenAI OpenAI.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenAI/Private/DataTaskFactory.swift:25:68: warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
23 |         session.dataTask(with: request) { data, response, error in
24 |             do {
25 |                 let decoded: ResultType = try self.responseHandler.interceptAndDecode(
   |                                                                    `- warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
26 |                     response: response,
27 |                     urlRequest: request,
/Users/admin/builder/spi-builder-workspace/Sources/OpenAI/Private/DataTaskFactory.swift:22:76: warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
20 |     }
21 |
22 |     func makeDataTask<ResultType: Codable>(forRequest request: URLRequest, completion: @escaping @Sendable (Result<ResultType, Error>) -> Void) -> URLSessionDataTaskProtocol {
   |                                                                            `- warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
23 |         session.dataTask(with: request) { data, response, error in
24 |             do {
[129/227] Compiling OpenAI AssistantsRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenAI/Private/DataTaskFactory.swift:25:68: warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
23 |         session.dataTask(with: request) { data, response, error in
24 |             do {
25 |                 let decoded: ResultType = try self.responseHandler.interceptAndDecode(
   |                                                                    `- warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
26 |                     response: response,
27 |                     urlRequest: request,
/Users/admin/builder/spi-builder-workspace/Sources/OpenAI/Private/DataTaskFactory.swift:22:76: warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
20 |     }
21 |
22 |     func makeDataTask<ResultType: Codable>(forRequest request: URLRequest, completion: @escaping @Sendable (Result<ResultType, Error>) -> Void) -> URLSessionDataTaskProtocol {
   |                                                                            `- warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
23 |         session.dataTask(with: request) { data, response, error in
24 |             do {
[130/227] Compiling OpenAI CancellablesFactory.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenAI/Private/DataTaskFactory.swift:25:68: warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
23 |         session.dataTask(with: request) { data, response, error in
24 |             do {
25 |                 let decoded: ResultType = try self.responseHandler.interceptAndDecode(
   |                                                                    `- warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
26 |                     response: response,
27 |                     urlRequest: request,
/Users/admin/builder/spi-builder-workspace/Sources/OpenAI/Private/DataTaskFactory.swift:22:76: warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
20 |     }
21 |
22 |     func makeDataTask<ResultType: Codable>(forRequest request: URLRequest, completion: @escaping @Sendable (Result<ResultType, Error>) -> Void) -> URLSessionDataTaskProtocol {
   |                                                                            `- warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
23 |         session.dataTask(with: request) { data, response, error in
24 |             do {
[131/227] Compiling OpenAI AsyncClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenAI/Private/DataTaskFactory.swift:25:68: warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
23 |         session.dataTask(with: request) { data, response, error in
24 |             do {
25 |                 let decoded: ResultType = try self.responseHandler.interceptAndDecode(
   |                                                                    `- warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
26 |                     response: response,
27 |                     urlRequest: request,
/Users/admin/builder/spi-builder-workspace/Sources/OpenAI/Private/DataTaskFactory.swift:22:76: warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
20 |     }
21 |
22 |     func makeDataTask<ResultType: Codable>(forRequest request: URLRequest, completion: @escaping @Sendable (Result<ResultType, Error>) -> Void) -> URLSessionDataTaskProtocol {
   |                                                                            `- warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
23 |         session.dataTask(with: request) { data, response, error in
24 |             do {
[132/227] Compiling OpenAI Client.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenAI/Private/DataTaskFactory.swift:25:68: warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
23 |         session.dataTask(with: request) { data, response, error in
24 |             do {
25 |                 let decoded: ResultType = try self.responseHandler.interceptAndDecode(
   |                                                                    `- warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
26 |                     response: response,
27 |                     urlRequest: request,
/Users/admin/builder/spi-builder-workspace/Sources/OpenAI/Private/DataTaskFactory.swift:22:76: warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
20 |     }
21 |
22 |     func makeDataTask<ResultType: Codable>(forRequest request: URLRequest, completion: @escaping @Sendable (Result<ResultType, Error>) -> Void) -> URLSessionDataTaskProtocol {
   |                                                                            `- warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
23 |         session.dataTask(with: request) { data, response, error in
24 |             do {
[133/227] Compiling OpenAI CombineClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenAI/Private/DataTaskFactory.swift:25:68: warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
23 |         session.dataTask(with: request) { data, response, error in
24 |             do {
25 |                 let decoded: ResultType = try self.responseHandler.interceptAndDecode(
   |                                                                    `- warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
26 |                     response: response,
27 |                     urlRequest: request,
/Users/admin/builder/spi-builder-workspace/Sources/OpenAI/Private/DataTaskFactory.swift:22:76: warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
20 |     }
21 |
22 |     func makeDataTask<ResultType: Codable>(forRequest request: URLRequest, completion: @escaping @Sendable (Result<ResultType, Error>) -> Void) -> URLSessionDataTaskProtocol {
   |                                                                            `- warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
23 |         session.dataTask(with: request) { data, response, error in
24 |             do {
[134/227] Compiling OpenAI StreamingClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenAI/Private/DataTaskFactory.swift:25:68: warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
23 |         session.dataTask(with: request) { data, response, error in
24 |             do {
25 |                 let decoded: ResultType = try self.responseHandler.interceptAndDecode(
   |                                                                    `- warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
26 |                     response: response,
27 |                     urlRequest: request,
/Users/admin/builder/spi-builder-workspace/Sources/OpenAI/Private/DataTaskFactory.swift:22:76: warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
20 |     }
21 |
22 |     func makeDataTask<ResultType: Codable>(forRequest request: URLRequest, completion: @escaping @Sendable (Result<ResultType, Error>) -> Void) -> URLSessionDataTaskProtocol {
   |                                                                            `- warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
23 |         session.dataTask(with: request) { data, response, error in
24 |             do {
[135/227] Compiling OpenAI CodingUserInfoKey+ParsingOptions.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenAI/Private/DataTaskFactory.swift:25:68: warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
23 |         session.dataTask(with: request) { data, response, error in
24 |             do {
25 |                 let decoded: ResultType = try self.responseHandler.interceptAndDecode(
   |                                                                    `- warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
26 |                     response: response,
27 |                     urlRequest: request,
/Users/admin/builder/spi-builder-workspace/Sources/OpenAI/Private/DataTaskFactory.swift:22:76: warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
20 |     }
21 |
22 |     func makeDataTask<ResultType: Codable>(forRequest request: URLRequest, completion: @escaping @Sendable (Result<ResultType, Error>) -> Void) -> URLSessionDataTaskProtocol {
   |                                                                            `- warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
23 |         session.dataTask(with: request) { data, response, error in
24 |             do {
[136/227] Compiling OpenAI DataTaskFactory.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenAI/Private/DataTaskFactory.swift:25:68: warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
23 |         session.dataTask(with: request) { data, response, error in
24 |             do {
25 |                 let decoded: ResultType = try self.responseHandler.interceptAndDecode(
   |                                                                    `- warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
26 |                     response: response,
27 |                     urlRequest: request,
/Users/admin/builder/spi-builder-workspace/Sources/OpenAI/Private/DataTaskFactory.swift:22:76: warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
20 |     }
21 |
22 |     func makeDataTask<ResultType: Codable>(forRequest request: URLRequest, completion: @escaping @Sendable (Result<ResultType, Error>) -> Void) -> URLSessionDataTaskProtocol {
   |                                                                            `- warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
23 |         session.dataTask(with: request) { data, response, error in
24 |             do {
[137/227] Compiling OpenAI DescribedError.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenAI/Private/DataTaskFactory.swift:25:68: warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
23 |         session.dataTask(with: request) { data, response, error in
24 |             do {
25 |                 let decoded: ResultType = try self.responseHandler.interceptAndDecode(
   |                                                                    `- warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
26 |                     response: response,
27 |                     urlRequest: request,
/Users/admin/builder/spi-builder-workspace/Sources/OpenAI/Private/DataTaskFactory.swift:22:76: warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
20 |     }
21 |
22 |     func makeDataTask<ResultType: Codable>(forRequest request: URLRequest, completion: @escaping @Sendable (Result<ResultType, Error>) -> Void) -> URLSessionDataTaskProtocol {
   |                                                                            `- warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
23 |         session.dataTask(with: request) { data, response, error in
24 |             do {
[138/227] Compiling OpenAI DispatchQueue+Static.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenAI/Private/DataTaskFactory.swift:25:68: warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
23 |         session.dataTask(with: request) { data, response, error in
24 |             do {
25 |                 let decoded: ResultType = try self.responseHandler.interceptAndDecode(
   |                                                                    `- warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
26 |                     response: response,
27 |                     urlRequest: request,
/Users/admin/builder/spi-builder-workspace/Sources/OpenAI/Private/DataTaskFactory.swift:22:76: warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
20 |     }
21 |
22 |     func makeDataTask<ResultType: Codable>(forRequest request: URLRequest, completion: @escaping @Sendable (Result<ResultType, Error>) -> Void) -> URLSessionDataTaskProtocol {
   |                                                                            `- warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
23 |         session.dataTask(with: request) { data, response, error in
24 |             do {
[139/227] Compiling OpenAI ExecutionSerializer.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenAI/Private/DataTaskFactory.swift:25:68: warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
23 |         session.dataTask(with: request) { data, response, error in
24 |             do {
25 |                 let decoded: ResultType = try self.responseHandler.interceptAndDecode(
   |                                                                    `- warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
26 |                     response: response,
27 |                     urlRequest: request,
/Users/admin/builder/spi-builder-workspace/Sources/OpenAI/Private/DataTaskFactory.swift:22:76: warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
20 |     }
21 |
22 |     func makeDataTask<ResultType: Codable>(forRequest request: URLRequest, completion: @escaping @Sendable (Result<ResultType, Error>) -> Void) -> URLSessionDataTaskProtocol {
   |                                                                            `- warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
23 |         session.dataTask(with: request) { data, response, error in
24 |             do {
[140/227] Compiling OpenAI Schemas+Description.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenAI/Private/DataTaskFactory.swift:25:68: warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
23 |         session.dataTask(with: request) { data, response, error in
24 |             do {
25 |                 let decoded: ResultType = try self.responseHandler.interceptAndDecode(
   |                                                                    `- warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
26 |                     response: response,
27 |                     urlRequest: request,
/Users/admin/builder/spi-builder-workspace/Sources/OpenAI/Private/DataTaskFactory.swift:22:76: warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
20 |     }
21 |
22 |     func makeDataTask<ResultType: Codable>(forRequest request: URLRequest, completion: @escaping @Sendable (Result<ResultType, Error>) -> Void) -> URLSessionDataTaskProtocol {
   |                                                                            `- warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
23 |         session.dataTask(with: request) { data, response, error in
24 |             do {
[141/227] Compiling OpenAI ImagesResult.swift
[142/227] Compiling OpenAI MessageQuery.swift
[143/227] Compiling OpenAI ModelQuery.swift
[144/227] Compiling OpenAI ModelResult.swift
[145/227] Compiling OpenAI Models.swift
[146/227] Compiling OpenAI ModelsResult.swift
[147/227] Compiling OpenAI ModerationsQuery.swift
[148/227] Compiling OpenAI ModerationsResult.swift
[149/227] Compiling OpenAI CreateModelResponseQuery+TextResponseConfigurationOptions.swift
[150/227] Compiling OpenAI CreateModelResponseQuery.swift
[151/227] Compiling OpenAI CreateModelResponseQueryInput.swift
[152/227] Compiling OpenAI DeleteModelResponseQuery.swift
[153/227] Compiling OpenAI DeleteModelResponseResult.swift
[154/227] Compiling OpenAI GetModelResponseQuery.swift
[155/227] Compiling OpenAI URLSessionCombine.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenAI/Private/URLSessionProtocol+MakeDataTask.swift:21:24: warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
19 |         dataTask(with: request) { data, response, error in
20 |             if let error {
21 |                 return completion(.failure(error))
   |                        `- warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
22 |             }
23 |             let (_, data) = middlewares.reduce((response, data)) { current, middleware in
/Users/admin/builder/spi-builder-workspace/Sources/OpenAI/Private/URLSessionProtocol+MakeDataTask.swift:17:9: warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
15 |         forRequest request: URLRequest,
16 |         middlewares: [OpenAIMiddleware],
17 |         completion: @escaping @Sendable (Result<ResultType, Error>) -> Void
   |         `- warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
18 |     ) -> URLSessionDataTaskProtocol {
19 |         dataTask(with: request) { data, response, error in
[156/227] Compiling OpenAI URLSessionDataDelegateForwarder.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenAI/Private/URLSessionProtocol+MakeDataTask.swift:21:24: warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
19 |         dataTask(with: request) { data, response, error in
20 |             if let error {
21 |                 return completion(.failure(error))
   |                        `- warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
22 |             }
23 |             let (_, data) = middlewares.reduce((response, data)) { current, middleware in
/Users/admin/builder/spi-builder-workspace/Sources/OpenAI/Private/URLSessionProtocol+MakeDataTask.swift:17:9: warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
15 |         forRequest request: URLRequest,
16 |         middlewares: [OpenAIMiddleware],
17 |         completion: @escaping @Sendable (Result<ResultType, Error>) -> Void
   |         `- warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
18 |     ) -> URLSessionDataTaskProtocol {
19 |         dataTask(with: request) { data, response, error in
[157/227] Compiling OpenAI URLSessionDataTaskProtocol.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenAI/Private/URLSessionProtocol+MakeDataTask.swift:21:24: warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
19 |         dataTask(with: request) { data, response, error in
20 |             if let error {
21 |                 return completion(.failure(error))
   |                        `- warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
22 |             }
23 |             let (_, data) = middlewares.reduce((response, data)) { current, middleware in
/Users/admin/builder/spi-builder-workspace/Sources/OpenAI/Private/URLSessionProtocol+MakeDataTask.swift:17:9: warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
15 |         forRequest request: URLRequest,
16 |         middlewares: [OpenAIMiddleware],
17 |         completion: @escaping @Sendable (Result<ResultType, Error>) -> Void
   |         `- warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
18 |     ) -> URLSessionDataTaskProtocol {
19 |         dataTask(with: request) { data, response, error in
[158/227] Compiling OpenAI URLSessionDataTaskPublisherProtocol.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenAI/Private/URLSessionProtocol+MakeDataTask.swift:21:24: warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
19 |         dataTask(with: request) { data, response, error in
20 |             if let error {
21 |                 return completion(.failure(error))
   |                        `- warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
22 |             }
23 |             let (_, data) = middlewares.reduce((response, data)) { current, middleware in
/Users/admin/builder/spi-builder-workspace/Sources/OpenAI/Private/URLSessionProtocol+MakeDataTask.swift:17:9: warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
15 |         forRequest request: URLRequest,
16 |         middlewares: [OpenAIMiddleware],
17 |         completion: @escaping @Sendable (Result<ResultType, Error>) -> Void
   |         `- warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
18 |     ) -> URLSessionDataTaskProtocol {
19 |         dataTask(with: request) { data, response, error in
[159/227] Compiling OpenAI URLSessionDataTaskStore.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenAI/Private/URLSessionProtocol+MakeDataTask.swift:21:24: warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
19 |         dataTask(with: request) { data, response, error in
20 |             if let error {
21 |                 return completion(.failure(error))
   |                        `- warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
22 |             }
23 |             let (_, data) = middlewares.reduce((response, data)) { current, middleware in
/Users/admin/builder/spi-builder-workspace/Sources/OpenAI/Private/URLSessionProtocol+MakeDataTask.swift:17:9: warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
15 |         forRequest request: URLRequest,
16 |         middlewares: [OpenAIMiddleware],
17 |         completion: @escaping @Sendable (Result<ResultType, Error>) -> Void
   |         `- warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
18 |     ) -> URLSessionDataTaskProtocol {
19 |         dataTask(with: request) { data, response, error in
[160/227] Compiling OpenAI URLSessionDelegateProtocol.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenAI/Private/URLSessionProtocol+MakeDataTask.swift:21:24: warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
19 |         dataTask(with: request) { data, response, error in
20 |             if let error {
21 |                 return completion(.failure(error))
   |                        `- warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
22 |             }
23 |             let (_, data) = middlewares.reduce((response, data)) { current, middleware in
/Users/admin/builder/spi-builder-workspace/Sources/OpenAI/Private/URLSessionProtocol+MakeDataTask.swift:17:9: warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
15 |         forRequest request: URLRequest,
16 |         middlewares: [OpenAIMiddleware],
17 |         completion: @escaping @Sendable (Result<ResultType, Error>) -> Void
   |         `- warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
18 |     ) -> URLSessionDataTaskProtocol {
19 |         dataTask(with: request) { data, response, error in
[161/227] Compiling OpenAI URLSessionFactory.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenAI/Private/URLSessionProtocol+MakeDataTask.swift:21:24: warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
19 |         dataTask(with: request) { data, response, error in
20 |             if let error {
21 |                 return completion(.failure(error))
   |                        `- warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
22 |             }
23 |             let (_, data) = middlewares.reduce((response, data)) { current, middleware in
/Users/admin/builder/spi-builder-workspace/Sources/OpenAI/Private/URLSessionProtocol+MakeDataTask.swift:17:9: warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
15 |         forRequest request: URLRequest,
16 |         middlewares: [OpenAIMiddleware],
17 |         completion: @escaping @Sendable (Result<ResultType, Error>) -> Void
   |         `- warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
18 |     ) -> URLSessionDataTaskProtocol {
19 |         dataTask(with: request) { data, response, error in
[162/227] Compiling OpenAI URLSessionProtocol+MakeDataTask.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenAI/Private/URLSessionProtocol+MakeDataTask.swift:21:24: warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
19 |         dataTask(with: request) { data, response, error in
20 |             if let error {
21 |                 return completion(.failure(error))
   |                        `- warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
22 |             }
23 |             let (_, data) = middlewares.reduce((response, data)) { current, middleware in
/Users/admin/builder/spi-builder-workspace/Sources/OpenAI/Private/URLSessionProtocol+MakeDataTask.swift:17:9: warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
15 |         forRequest request: URLRequest,
16 |         middlewares: [OpenAIMiddleware],
17 |         completion: @escaping @Sendable (Result<ResultType, Error>) -> Void
   |         `- warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
18 |     ) -> URLSessionDataTaskProtocol {
19 |         dataTask(with: request) { data, response, error in
[163/227] Compiling OpenAI URLSessionProtocol.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenAI/Private/URLSessionProtocol+MakeDataTask.swift:21:24: warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
19 |         dataTask(with: request) { data, response, error in
20 |             if let error {
21 |                 return completion(.failure(error))
   |                        `- warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
22 |             }
23 |             let (_, data) = middlewares.reduce((response, data)) { current, middleware in
/Users/admin/builder/spi-builder-workspace/Sources/OpenAI/Private/URLSessionProtocol+MakeDataTask.swift:17:9: warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
15 |         forRequest request: URLRequest,
16 |         middlewares: [OpenAIMiddleware],
17 |         completion: @escaping @Sendable (Result<ResultType, Error>) -> Void
   |         `- warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
18 |     ) -> URLSessionDataTaskProtocol {
19 |         dataTask(with: request) { data, response, error in
[164/227] Compiling OpenAI URLSessionTaskCanceller.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenAI/Private/URLSessionProtocol+MakeDataTask.swift:21:24: warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
19 |         dataTask(with: request) { data, response, error in
20 |             if let error {
21 |                 return completion(.failure(error))
   |                        `- warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
22 |             }
23 |             let (_, data) = middlewares.reduce((response, data)) { current, middleware in
/Users/admin/builder/spi-builder-workspace/Sources/OpenAI/Private/URLSessionProtocol+MakeDataTask.swift:17:9: warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
15 |         forRequest request: URLRequest,
16 |         middlewares: [OpenAIMiddleware],
17 |         completion: @escaping @Sendable (Result<ResultType, Error>) -> Void
   |         `- warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
18 |     ) -> URLSessionDataTaskProtocol {
19 |         dataTask(with: request) { data, response, error in
[165/227] Compiling OpenAI APIError.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenAI/Private/URLSessionProtocol+MakeDataTask.swift:21:24: warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
19 |         dataTask(with: request) { data, response, error in
20 |             if let error {
21 |                 return completion(.failure(error))
   |                        `- warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
22 |             }
23 |             let (_, data) = middlewares.reduce((response, data)) { current, middleware in
/Users/admin/builder/spi-builder-workspace/Sources/OpenAI/Private/URLSessionProtocol+MakeDataTask.swift:17:9: warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
15 |         forRequest request: URLRequest,
16 |         middlewares: [OpenAIMiddleware],
17 |         completion: @escaping @Sendable (Result<ResultType, Error>) -> Void
   |         `- warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
18 |     ) -> URLSessionDataTaskProtocol {
19 |         dataTask(with: request) { data, response, error in
[166/227] Compiling OpenAI GeminiAPIError.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenAI/Private/URLSessionProtocol+MakeDataTask.swift:21:24: warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
19 |         dataTask(with: request) { data, response, error in
20 |             if let error {
21 |                 return completion(.failure(error))
   |                        `- warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
22 |             }
23 |             let (_, data) = middlewares.reduce((response, data)) { current, middleware in
/Users/admin/builder/spi-builder-workspace/Sources/OpenAI/Private/URLSessionProtocol+MakeDataTask.swift:17:9: warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
15 |         forRequest request: URLRequest,
16 |         middlewares: [OpenAIMiddleware],
17 |         completion: @escaping @Sendable (Result<ResultType, Error>) -> Void
   |         `- warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
18 |     ) -> URLSessionDataTaskProtocol {
19 |         dataTask(with: request) { data, response, error in
[167/227] Compiling OpenAI AnyJSONDocument.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenAI/Private/URLSessionProtocol+MakeDataTask.swift:21:24: warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
19 |         dataTask(with: request) { data, response, error in
20 |             if let error {
21 |                 return completion(.failure(error))
   |                        `- warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
22 |             }
23 |             let (_, data) = middlewares.reduce((response, data)) { current, middleware in
/Users/admin/builder/spi-builder-workspace/Sources/OpenAI/Private/URLSessionProtocol+MakeDataTask.swift:17:9: warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
15 |         forRequest request: URLRequest,
16 |         middlewares: [OpenAIMiddleware],
17 |         completion: @escaping @Sendable (Result<ResultType, Error>) -> Void
   |         `- warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
18 |     ) -> URLSessionDataTaskProtocol {
19 |         dataTask(with: request) { data, response, error in
[168/227] Compiling OpenAI JSONDocument.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenAI/Private/URLSessionProtocol+MakeDataTask.swift:21:24: warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
19 |         dataTask(with: request) { data, response, error in
20 |             if let error {
21 |                 return completion(.failure(error))
   |                        `- warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
22 |             }
23 |             let (_, data) = middlewares.reduce((response, data)) { current, middleware in
/Users/admin/builder/spi-builder-workspace/Sources/OpenAI/Private/URLSessionProtocol+MakeDataTask.swift:17:9: warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
15 |         forRequest request: URLRequest,
16 |         middlewares: [OpenAIMiddleware],
17 |         completion: @escaping @Sendable (Result<ResultType, Error>) -> Void
   |         `- warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
18 |     ) -> URLSessionDataTaskProtocol {
19 |         dataTask(with: request) { data, response, error in
[169/227] Compiling OpenAI JSONSchema.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenAI/Private/URLSessionProtocol+MakeDataTask.swift:21:24: warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
19 |         dataTask(with: request) { data, response, error in
20 |             if let error {
21 |                 return completion(.failure(error))
   |                        `- warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
22 |             }
23 |             let (_, data) = middlewares.reduce((response, data)) { current, middleware in
/Users/admin/builder/spi-builder-workspace/Sources/OpenAI/Private/URLSessionProtocol+MakeDataTask.swift:17:9: warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
15 |         forRequest request: URLRequest,
16 |         middlewares: [OpenAIMiddleware],
17 |         completion: @escaping @Sendable (Result<ResultType, Error>) -> Void
   |         `- warning: capture of non-sendable type 'ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
18 |     ) -> URLSessionDataTaskProtocol {
19 |         dataTask(with: request) { data, response, error in
[170/227] Emitting module OpenAI
/Users/admin/builder/spi-builder-workspace/Sources/OpenAI/Public/Models/Types/JSONSchemaDefinition.swift:12:10: warning: associated value 'derivedJsonSchema' of 'Sendable'-conforming enum 'JSONSchemaDefinition' has non-sendable type 'any JSONSchemaConvertible.Type'
10 | public enum JSONSchemaDefinition: Codable, Hashable, Sendable {
11 |     case jsonSchema(JSONSchema)
12 |     case derivedJsonSchema(any JSONSchemaConvertible.Type)
   |          `- warning: associated value 'derivedJsonSchema' of 'Sendable'-conforming enum 'JSONSchemaDefinition' has non-sendable type 'any JSONSchemaConvertible.Type'
13 |     case dynamicJsonSchema(Encodable & Sendable)
14 |
[171/227] Compiling OpenAI DataTaskPerformingURLSession.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenAI/Private/Streaming/StreamingSession.swift:101:34: warning: capture of non-sendable type 'Interpreter.ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
 99 |         interpreter.setCallbackClosures { [weak self] content in
100 |             guard let self else { return }
101 |             self.onReceiveContent?(self, content)
    |                                  `- warning: capture of non-sendable type 'Interpreter.ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
102 |         } onError: { [weak self] error in
103 |             guard let self else { return }
[172/227] Compiling OpenAI InvalidatableSession.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenAI/Private/Streaming/StreamingSession.swift:101:34: warning: capture of non-sendable type 'Interpreter.ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
 99 |         interpreter.setCallbackClosures { [weak self] content in
100 |             guard let self else { return }
101 |             self.onReceiveContent?(self, content)
    |                                  `- warning: capture of non-sendable type 'Interpreter.ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
102 |         } onError: { [weak self] error in
103 |             guard let self else { return }
[173/227] Compiling OpenAI ModelResponseEventsStreamInterpreter.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenAI/Private/Streaming/StreamingSession.swift:101:34: warning: capture of non-sendable type 'Interpreter.ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
 99 |         interpreter.setCallbackClosures { [weak self] content in
100 |             guard let self else { return }
101 |             self.onReceiveContent?(self, content)
    |                                  `- warning: capture of non-sendable type 'Interpreter.ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
102 |         } onError: { [weak self] error in
103 |             guard let self else { return }
[174/227] Compiling OpenAI ModelResponseStreamEventType.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenAI/Private/Streaming/StreamingSession.swift:101:34: warning: capture of non-sendable type 'Interpreter.ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
 99 |         interpreter.setCallbackClosures { [weak self] content in
100 |             guard let self else { return }
101 |             self.onReceiveContent?(self, content)
    |                                  `- warning: capture of non-sendable type 'Interpreter.ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
102 |         } onError: { [weak self] error in
103 |             guard let self else { return }
[175/227] Compiling OpenAI PerformableSession.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenAI/Private/Streaming/StreamingSession.swift:101:34: warning: capture of non-sendable type 'Interpreter.ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
 99 |         interpreter.setCallbackClosures { [weak self] content in
100 |             guard let self else { return }
101 |             self.onReceiveContent?(self, content)
    |                                  `- warning: capture of non-sendable type 'Interpreter.ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
102 |         } onError: { [weak self] error in
103 |             guard let self else { return }
[176/227] Compiling OpenAI ServerSentEventsStreamInterpreter.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenAI/Private/Streaming/StreamingSession.swift:101:34: warning: capture of non-sendable type 'Interpreter.ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
 99 |         interpreter.setCallbackClosures { [weak self] content in
100 |             guard let self else { return }
101 |             self.onReceiveContent?(self, content)
    |                                  `- warning: capture of non-sendable type 'Interpreter.ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
102 |         } onError: { [weak self] error in
103 |             guard let self else { return }
[177/227] Compiling OpenAI ServerSentEventsStreamParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenAI/Private/Streaming/StreamingSession.swift:101:34: warning: capture of non-sendable type 'Interpreter.ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
 99 |         interpreter.setCallbackClosures { [weak self] content in
100 |             guard let self else { return }
101 |             self.onReceiveContent?(self, content)
    |                                  `- warning: capture of non-sendable type 'Interpreter.ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
102 |         } onError: { [weak self] error in
103 |             guard let self else { return }
[178/227] Compiling OpenAI ServerSentEventsStreamingSessionFactory.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenAI/Private/Streaming/StreamingSession.swift:101:34: warning: capture of non-sendable type 'Interpreter.ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
 99 |         interpreter.setCallbackClosures { [weak self] content in
100 |             guard let self else { return }
101 |             self.onReceiveContent?(self, content)
    |                                  `- warning: capture of non-sendable type 'Interpreter.ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
102 |         } onError: { [weak self] error in
103 |             guard let self else { return }
[179/227] Compiling OpenAI SessionInvalidator.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenAI/Private/Streaming/StreamingSession.swift:101:34: warning: capture of non-sendable type 'Interpreter.ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
 99 |         interpreter.setCallbackClosures { [weak self] content in
100 |             guard let self else { return }
101 |             self.onReceiveContent?(self, content)
    |                                  `- warning: capture of non-sendable type 'Interpreter.ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
102 |         } onError: { [weak self] error in
103 |             guard let self else { return }
[180/227] Compiling OpenAI StreamingError.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenAI/Private/Streaming/StreamingSession.swift:101:34: warning: capture of non-sendable type 'Interpreter.ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
 99 |         interpreter.setCallbackClosures { [weak self] content in
100 |             guard let self else { return }
101 |             self.onReceiveContent?(self, content)
    |                                  `- warning: capture of non-sendable type 'Interpreter.ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
102 |         } onError: { [weak self] error in
103 |             guard let self else { return }
[181/227] Compiling OpenAI StreamingSession.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenAI/Private/Streaming/StreamingSession.swift:101:34: warning: capture of non-sendable type 'Interpreter.ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
 99 |         interpreter.setCallbackClosures { [weak self] content in
100 |             guard let self else { return }
101 |             self.onReceiveContent?(self, content)
    |                                  `- warning: capture of non-sendable type 'Interpreter.ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
102 |         } onError: { [weak self] error in
103 |             guard let self else { return }
[182/227] Compiling OpenAI URLBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenAI/Private/Streaming/StreamingSession.swift:101:34: warning: capture of non-sendable type 'Interpreter.ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
 99 |         interpreter.setCallbackClosures { [weak self] content in
100 |             guard let self else { return }
101 |             self.onReceiveContent?(self, content)
    |                                  `- warning: capture of non-sendable type 'Interpreter.ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
102 |         } onError: { [weak self] error in
103 |             guard let self else { return }
[183/227] Compiling OpenAI URLComponents+.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenAI/Private/Streaming/StreamingSession.swift:101:34: warning: capture of non-sendable type 'Interpreter.ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
 99 |         interpreter.setCallbackClosures { [weak self] content in
100 |             guard let self else { return }
101 |             self.onReceiveContent?(self, content)
    |                                  `- warning: capture of non-sendable type 'Interpreter.ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
102 |         } onError: { [weak self] error in
103 |             guard let self else { return }
[184/227] Compiling OpenAI URLRequestBuildable.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenAI/Private/Streaming/StreamingSession.swift:101:34: warning: capture of non-sendable type 'Interpreter.ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
 99 |         interpreter.setCallbackClosures { [weak self] content in
100 |             guard let self else { return }
101 |             self.onReceiveContent?(self, content)
    |                                  `- warning: capture of non-sendable type 'Interpreter.ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
102 |         } onError: { [weak self] error in
103 |             guard let self else { return }
[185/227] Compiling OpenAI URLResponseHandler.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenAI/Private/Streaming/StreamingSession.swift:101:34: warning: capture of non-sendable type 'Interpreter.ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
 99 |         interpreter.setCallbackClosures { [weak self] content in
100 |             guard let self else { return }
101 |             self.onReceiveContent?(self, content)
    |                                  `- warning: capture of non-sendable type 'Interpreter.ResultType.Type' in an isolated closure; this is an error in the Swift 6 language mode
102 |         } onError: { [weak self] error in
103 |             guard let self else { return }
[186/227] Compiling OpenAI AudioTranscriptionVerboseResult.swift
[187/227] Compiling OpenAI AudioTranslationQuery.swift
[188/227] Compiling OpenAI AudioTranslationResult.swift
[189/227] Compiling OpenAI ChatQuery.swift
[190/227] Compiling OpenAI ChatResult.swift
[191/227] Compiling OpenAI ChatStreamResult.swift
[192/227] Compiling OpenAI EmbeddingsQuery.swift
[193/227] Compiling OpenAI EmbeddingsResult.swift
[194/227] Compiling OpenAI FilesQuery.swift
[195/227] Compiling OpenAI FilesResult.swift
[196/227] Compiling OpenAI FunctionDeclaration.swift
[197/227] Compiling OpenAI ImageEditsQuery.swift
[198/227] Compiling OpenAI ImageVariationsQuery.swift
[199/227] Compiling OpenAI ImagesQuery.swift
[200/227] Compiling OpenAI ResponseEvent.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenAI/Public/Models/Types/JSONSchemaDefinition.swift:12:10: warning: associated value 'derivedJsonSchema' of 'Sendable'-conforming enum 'JSONSchemaDefinition' has non-sendable type 'any JSONSchemaConvertible.Type'
10 | public enum JSONSchemaDefinition: Codable, Hashable, Sendable {
11 |     case jsonSchema(JSONSchema)
12 |     case derivedJsonSchema(any JSONSchemaConvertible.Type)
   |          `- warning: associated value 'derivedJsonSchema' of 'Sendable'-conforming enum 'JSONSchemaDefinition' has non-sendable type 'any JSONSchemaConvertible.Type'
13 |     case dynamicJsonSchema(Encodable & Sendable)
14 |
[201/227] Compiling OpenAI ResponseObject.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenAI/Public/Models/Types/JSONSchemaDefinition.swift:12:10: warning: associated value 'derivedJsonSchema' of 'Sendable'-conforming enum 'JSONSchemaDefinition' has non-sendable type 'any JSONSchemaConvertible.Type'
10 | public enum JSONSchemaDefinition: Codable, Hashable, Sendable {
11 |     case jsonSchema(JSONSchema)
12 |     case derivedJsonSchema(any JSONSchemaConvertible.Type)
   |          `- warning: associated value 'derivedJsonSchema' of 'Sendable'-conforming enum 'JSONSchemaDefinition' has non-sendable type 'any JSONSchemaConvertible.Type'
13 |     case dynamicJsonSchema(Encodable & Sendable)
14 |
[202/227] Compiling OpenAI RunResult.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenAI/Public/Models/Types/JSONSchemaDefinition.swift:12:10: warning: associated value 'derivedJsonSchema' of 'Sendable'-conforming enum 'JSONSchemaDefinition' has non-sendable type 'any JSONSchemaConvertible.Type'
10 | public enum JSONSchemaDefinition: Codable, Hashable, Sendable {
11 |     case jsonSchema(JSONSchema)
12 |     case derivedJsonSchema(any JSONSchemaConvertible.Type)
   |          `- warning: associated value 'derivedJsonSchema' of 'Sendable'-conforming enum 'JSONSchemaDefinition' has non-sendable type 'any JSONSchemaConvertible.Type'
13 |     case dynamicJsonSchema(Encodable & Sendable)
14 |
[203/227] Compiling OpenAI RunRetrieveQuery.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenAI/Public/Models/Types/JSONSchemaDefinition.swift:12:10: warning: associated value 'derivedJsonSchema' of 'Sendable'-conforming enum 'JSONSchemaDefinition' has non-sendable type 'any JSONSchemaConvertible.Type'
10 | public enum JSONSchemaDefinition: Codable, Hashable, Sendable {
11 |     case jsonSchema(JSONSchema)
12 |     case derivedJsonSchema(any JSONSchemaConvertible.Type)
   |          `- warning: associated value 'derivedJsonSchema' of 'Sendable'-conforming enum 'JSONSchemaDefinition' has non-sendable type 'any JSONSchemaConvertible.Type'
13 |     case dynamicJsonSchema(Encodable & Sendable)
14 |
[204/227] Compiling OpenAI RunRetrieveStepsResult.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenAI/Public/Models/Types/JSONSchemaDefinition.swift:12:10: warning: associated value 'derivedJsonSchema' of 'Sendable'-conforming enum 'JSONSchemaDefinition' has non-sendable type 'any JSONSchemaConvertible.Type'
10 | public enum JSONSchemaDefinition: Codable, Hashable, Sendable {
11 |     case jsonSchema(JSONSchema)
12 |     case derivedJsonSchema(any JSONSchemaConvertible.Type)
   |          `- warning: associated value 'derivedJsonSchema' of 'Sendable'-conforming enum 'JSONSchemaDefinition' has non-sendable type 'any JSONSchemaConvertible.Type'
13 |     case dynamicJsonSchema(Encodable & Sendable)
14 |
[205/227] Compiling OpenAI RunToolOutputsQuery.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenAI/Public/Models/Types/JSONSchemaDefinition.swift:12:10: warning: associated value 'derivedJsonSchema' of 'Sendable'-conforming enum 'JSONSchemaDefinition' has non-sendable type 'any JSONSchemaConvertible.Type'
10 | public enum JSONSchemaDefinition: Codable, Hashable, Sendable {
11 |     case jsonSchema(JSONSchema)
12 |     case derivedJsonSchema(any JSONSchemaConvertible.Type)
   |          `- warning: associated value 'derivedJsonSchema' of 'Sendable'-conforming enum 'JSONSchemaDefinition' has non-sendable type 'any JSONSchemaConvertible.Type'
13 |     case dynamicJsonSchema(Encodable & Sendable)
14 |
[206/227] Compiling OpenAI RunsQuery.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenAI/Public/Models/Types/JSONSchemaDefinition.swift:12:10: warning: associated value 'derivedJsonSchema' of 'Sendable'-conforming enum 'JSONSchemaDefinition' has non-sendable type 'any JSONSchemaConvertible.Type'
10 | public enum JSONSchemaDefinition: Codable, Hashable, Sendable {
11 |     case jsonSchema(JSONSchema)
12 |     case derivedJsonSchema(any JSONSchemaConvertible.Type)
   |          `- warning: associated value 'derivedJsonSchema' of 'Sendable'-conforming enum 'JSONSchemaDefinition' has non-sendable type 'any JSONSchemaConvertible.Type'
13 |     case dynamicJsonSchema(Encodable & Sendable)
14 |
[207/227] Compiling OpenAI ThreadAddMessagesResult.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenAI/Public/Models/Types/JSONSchemaDefinition.swift:12:10: warning: associated value 'derivedJsonSchema' of 'Sendable'-conforming enum 'JSONSchemaDefinition' has non-sendable type 'any JSONSchemaConvertible.Type'
10 | public enum JSONSchemaDefinition: Codable, Hashable, Sendable {
11 |     case jsonSchema(JSONSchema)
12 |     case derivedJsonSchema(any JSONSchemaConvertible.Type)
   |          `- warning: associated value 'derivedJsonSchema' of 'Sendable'-conforming enum 'JSONSchemaDefinition' has non-sendable type 'any JSONSchemaConvertible.Type'
13 |     case dynamicJsonSchema(Encodable & Sendable)
14 |
[208/227] Compiling OpenAI ThreadRunQuery.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenAI/Public/Models/Types/JSONSchemaDefinition.swift:12:10: warning: associated value 'derivedJsonSchema' of 'Sendable'-conforming enum 'JSONSchemaDefinition' has non-sendable type 'any JSONSchemaConvertible.Type'
10 | public enum JSONSchemaDefinition: Codable, Hashable, Sendable {
11 |     case jsonSchema(JSONSchema)
12 |     case derivedJsonSchema(any JSONSchemaConvertible.Type)
   |          `- warning: associated value 'derivedJsonSchema' of 'Sendable'-conforming enum 'JSONSchemaDefinition' has non-sendable type 'any JSONSchemaConvertible.Type'
13 |     case dynamicJsonSchema(Encodable & Sendable)
14 |
[209/227] Compiling OpenAI ThreadsMessagesResult.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenAI/Public/Models/Types/JSONSchemaDefinition.swift:12:10: warning: associated value 'derivedJsonSchema' of 'Sendable'-conforming enum 'JSONSchemaDefinition' has non-sendable type 'any JSONSchemaConvertible.Type'
10 | public enum JSONSchemaDefinition: Codable, Hashable, Sendable {
11 |     case jsonSchema(JSONSchema)
12 |     case derivedJsonSchema(any JSONSchemaConvertible.Type)
   |          `- warning: associated value 'derivedJsonSchema' of 'Sendable'-conforming enum 'JSONSchemaDefinition' has non-sendable type 'any JSONSchemaConvertible.Type'
13 |     case dynamicJsonSchema(Encodable & Sendable)
14 |
[210/227] Compiling OpenAI ThreadsQuery.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenAI/Public/Models/Types/JSONSchemaDefinition.swift:12:10: warning: associated value 'derivedJsonSchema' of 'Sendable'-conforming enum 'JSONSchemaDefinition' has non-sendable type 'any JSONSchemaConvertible.Type'
10 | public enum JSONSchemaDefinition: Codable, Hashable, Sendable {
11 |     case jsonSchema(JSONSchema)
12 |     case derivedJsonSchema(any JSONSchemaConvertible.Type)
   |          `- warning: associated value 'derivedJsonSchema' of 'Sendable'-conforming enum 'JSONSchemaDefinition' has non-sendable type 'any JSONSchemaConvertible.Type'
13 |     case dynamicJsonSchema(Encodable & Sendable)
14 |
[211/227] Compiling OpenAI ThreadsResult.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenAI/Public/Models/Types/JSONSchemaDefinition.swift:12:10: warning: associated value 'derivedJsonSchema' of 'Sendable'-conforming enum 'JSONSchemaDefinition' has non-sendable type 'any JSONSchemaConvertible.Type'
10 | public enum JSONSchemaDefinition: Codable, Hashable, Sendable {
11 |     case jsonSchema(JSONSchema)
12 |     case derivedJsonSchema(any JSONSchemaConvertible.Type)
   |          `- warning: associated value 'derivedJsonSchema' of 'Sendable'-conforming enum 'JSONSchemaDefinition' has non-sendable type 'any JSONSchemaConvertible.Type'
13 |     case dynamicJsonSchema(Encodable & Sendable)
14 |
[212/227] Compiling OpenAI ChatQueryWebSearchOptions.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenAI/Public/Models/Types/JSONSchemaDefinition.swift:12:10: warning: associated value 'derivedJsonSchema' of 'Sendable'-conforming enum 'JSONSchemaDefinition' has non-sendable type 'any JSONSchemaConvertible.Type'
10 | public enum JSONSchemaDefinition: Codable, Hashable, Sendable {
11 |     case jsonSchema(JSONSchema)
12 |     case derivedJsonSchema(any JSONSchemaConvertible.Type)
   |          `- warning: associated value 'derivedJsonSchema' of 'Sendable'-conforming enum 'JSONSchemaDefinition' has non-sendable type 'any JSONSchemaConvertible.Type'
13 |     case dynamicJsonSchema(Encodable & Sendable)
14 |
[213/227] Compiling OpenAI JSONSchemaDefinition.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenAI/Public/Models/Types/JSONSchemaDefinition.swift:12:10: warning: associated value 'derivedJsonSchema' of 'Sendable'-conforming enum 'JSONSchemaDefinition' has non-sendable type 'any JSONSchemaConvertible.Type'
10 | public enum JSONSchemaDefinition: Codable, Hashable, Sendable {
11 |     case jsonSchema(JSONSchema)
12 |     case derivedJsonSchema(any JSONSchemaConvertible.Type)
   |          `- warning: associated value 'derivedJsonSchema' of 'Sendable'-conforming enum 'JSONSchemaDefinition' has non-sendable type 'any JSONSchemaConvertible.Type'
13 |     case dynamicJsonSchema(Encodable & Sendable)
14 |
[214/227] Compiling OpenAI InputItem.swift
[215/227] Compiling OpenAI ResponseMCPCallArgumentsDeltaEvent.swift
[216/227] Compiling OpenAI ResponseMCPCallArgumentsDoneEvent.swift
[217/227] Compiling OpenAI ResponseOutputItemAddedEvent.swift
[218/227] Compiling OpenAI ResponseOutputItemDoneEvent.swift
[219/227] Compiling OpenAI Tool.swift
[220/227] Compiling OpenAI OutputItem.swift
[221/227] Compiling OpenAI ResponseStreamEvent.swift
[222/227] Compiling OpenAI Components.swift
[223/227] Compiling OpenAI ParsingOptions.swift
[224/227] Compiling OpenAI Utilities.swift
[225/227] Compiling OpenAI ResponsesEndpoint+Async.swift
[226/227] Compiling OpenAI ResponsesEndpoint+Combine.swift
[227/227] Compiling OpenAI ResponsesEndpoint.swift
Build complete! (23.75s)
Fetching https://github.com/apple/swift-openapi-runtime
[1/5698] Fetching swift-openapi-runtime
Fetched https://github.com/apple/swift-openapi-runtime from cache (1.01s)
Computing version for https://github.com/apple/swift-openapi-runtime
Computed https://github.com/apple/swift-openapi-runtime at 1.8.2 (1.44s)
Fetching https://github.com/apple/swift-http-types
[1/917] Fetching swift-http-types
Fetched https://github.com/apple/swift-http-types from cache (0.75s)
Computing version for https://github.com/apple/swift-http-types
Computed https://github.com/apple/swift-http-types at 1.4.0 (1.20s)
Creating working copy for https://github.com/apple/swift-http-types
Working copy of https://github.com/apple/swift-http-types resolved at 1.4.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.2
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-openapi-runtime",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.8.2",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-openapi-runtime"
    }
  ],
  "manifest_display_name" : "OpenAI",
  "name" : "OpenAI",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "OpenAI",
      "targets" : [
        "OpenAI"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "OpenAITests",
      "module_type" : "SwiftTarget",
      "name" : "OpenAITests",
      "path" : "Tests/OpenAITests",
      "sources" : [
        "AsyncClientTests.swift",
        "ChatQueryCodingTests.swift",
        "ChatResultTests.swift",
        "ChatStreamResultTests.swift",
        "ClientTests.swift",
        "CombineClientTests.swift",
        "Extensions/AssistantResult+Mock.swift",
        "Extensions/AssistantsQuery+Mock.swift",
        "Extensions/AudioSpeechQuery+Mock.swift",
        "Extensions/ChatResult+Mock.swift",
        "Extensions/XCTestCase+Extensions.swift",
        "MockServerSentEvent.swift",
        "Mocks/ChatCompletionToolParam+Mock.swift",
        "Mocks/ChatResult+MockJson.swift",
        "Mocks/DataTaskMock.swift",
        "Mocks/MockCancellablesFactory.swift",
        "Mocks/MockDataTaskPublisher.swift",
        "Mocks/MockMiddleware.swift",
        "Mocks/MockStreamingSessionFactory.swift",
        "Mocks/MockURLSessionFactory.swift",
        "Mocks/MovieInfo.swift",
        "Mocks/NeverURLSessionMock.swift",
        "Mocks/NoDispatchExecutionSerializer.swift",
        "Mocks/URLSessionMock.swift",
        "Mocks/WorkSimulatingMockMiddleware.swift",
        "ModelResponseEventsStreamInterpreterTests.swift",
        "OpenAIStreamingTests.swift",
        "OpenAITests.swift",
        "OpenAITestsCombine.swift",
        "OpenAITestsDecoder.swift",
        "ResponsesEndpointTests.swift",
        "ServerSentEventsParserTests.swift",
        "ServerSentEventsStreamInterpreterTests.swift",
        "ServerSentEventsStreamParserTests.swift",
        "StreamingClientTests.swift",
        "StreamingSessionIntegrationTests.swift",
        "StreamingSessionTests.swift"
      ],
      "target_dependencies" : [
        "OpenAI"
      ],
      "type" : "test"
    },
    {
      "c99name" : "OpenAI",
      "module_type" : "SwiftTarget",
      "name" : "OpenAI",
      "path" : "Sources/OpenAI",
      "product_dependencies" : [
        "OpenAPIRuntime"
      ],
      "product_memberships" : [
        "OpenAI"
      ],
      "sources" : [
        "OpenAI+OpenAIAsync.swift",
        "OpenAI+OpenAICombine.swift",
        "OpenAI.swift",
        "Private/AssistantsRequest.swift",
        "Private/CancellablesFactory.swift",
        "Private/Client/AsyncClient.swift",
        "Private/Client/Client.swift",
        "Private/Client/CombineClient.swift",
        "Private/Client/StreamingClient.swift",
        "Private/CodingUserInfoKey+ParsingOptions.swift",
        "Private/DataTaskFactory.swift",
        "Private/DescribedError.swift",
        "Private/DispatchQueue+Static.swift",
        "Private/ExecutionSerializer.swift",
        "Private/Extensions for generated code/Schemas+Description.swift",
        "Private/JSONRequest.swift",
        "Private/JSONResponseDecoder.swift",
        "Private/JSONResponseErrorDecoder.swift",
        "Private/KeyedDecodingContainer+ParsingOptions.swift",
        "Private/MultipartFormDataBodyBuilder.swift",
        "Private/MultipartFormDataBodyEncodable.swift",
        "Private/MultipartFormDataEntry.swift",
        "Private/MultipartFormDataRequest.swift",
        "Private/OpenAI+MakeRequest.swift",
        "Private/PropertyValue.swift",
        "Private/SSLDelegateProtocol.swift",
        "Private/SendablePassthroughSubject.swift",
        "Private/StreamableQuery.swift",
        "Private/Streaming/AudioSpeechStreamInterpreter.swift",
        "Private/Streaming/CodableResultStreamInterpreter.swift",
        "Private/Streaming/DataTaskPerformingURLSession.swift",
        "Private/Streaming/InvalidatableSession.swift",
        "Private/Streaming/ModelResponseEventsStreamInterpreter.swift",
        "Private/Streaming/ModelResponseStreamEventType.swift",
        "Private/Streaming/PerformableSession.swift",
        "Private/Streaming/ServerSentEventsStreamInterpreter.swift",
        "Private/Streaming/ServerSentEventsStreamParser.swift",
        "Private/Streaming/ServerSentEventsStreamingSessionFactory.swift",
        "Private/Streaming/SessionInvalidator.swift",
        "Private/Streaming/StreamingError.swift",
        "Private/Streaming/StreamingSession.swift",
        "Private/URLBuilder.swift",
        "Private/URLComponents+.swift",
        "Private/URLRequestBuildable.swift",
        "Private/URLResponseHandler.swift",
        "Private/URLSessionCombine.swift",
        "Private/URLSessionDataDelegateForwarder.swift",
        "Private/URLSessionDataTaskProtocol.swift",
        "Private/URLSessionDataTaskPublisherProtocol.swift",
        "Private/URLSessionDataTaskStore.swift",
        "Private/URLSessionDelegateProtocol.swift",
        "Private/URLSessionFactory.swift",
        "Private/URLSessionProtocol+MakeDataTask.swift",
        "Private/URLSessionProtocol.swift",
        "Private/URLSessionTaskCanceller.swift",
        "Public/Errors/APIError.swift",
        "Public/Errors/GeminiAPIError.swift",
        "Public/JSONSchema/AnyJSONDocument.swift",
        "Public/JSONSchema/JSONDocument.swift",
        "Public/JSONSchema/JSONSchema.swift",
        "Public/JSONSchema/JSONSchemaField.swift",
        "Public/JSONSchema/JSONSchemaInstanceType.swift",
        "Public/JSONSchemaConvertible/JSONSchemaConvertationError.swift",
        "Public/JSONSchemaConvertible/JSONSchemaConvertible.swift",
        "Public/JSONSchemaConvertible/JSONSchemaEnumConvertible.swift",
        "Public/Models/AssistantResult.swift",
        "Public/Models/AssistantsQuery.swift",
        "Public/Models/AssistantsResult.swift",
        "Public/Models/AssistantsTool.swift",
        "Public/Models/AudioSpeechQuery.swift",
        "Public/Models/AudioSpeechResult.swift",
        "Public/Models/AudioTranscriptionQuery.swift",
        "Public/Models/AudioTranscriptionResult.swift",
        "Public/Models/AudioTranscriptionStreamResult.swift",
        "Public/Models/AudioTranscriptionVerboseResult.swift",
        "Public/Models/AudioTranslationQuery.swift",
        "Public/Models/AudioTranslationResult.swift",
        "Public/Models/ChatQuery.swift",
        "Public/Models/ChatResult.swift",
        "Public/Models/ChatStreamResult.swift",
        "Public/Models/EmbeddingsQuery.swift",
        "Public/Models/EmbeddingsResult.swift",
        "Public/Models/FilesQuery.swift",
        "Public/Models/FilesResult.swift",
        "Public/Models/FunctionDeclaration.swift",
        "Public/Models/ImageEditsQuery.swift",
        "Public/Models/ImageVariationsQuery.swift",
        "Public/Models/ImagesQuery.swift",
        "Public/Models/ImagesResult.swift",
        "Public/Models/MessageQuery.swift",
        "Public/Models/Models/ModelQuery.swift",
        "Public/Models/Models/ModelResult.swift",
        "Public/Models/Models/Models.swift",
        "Public/Models/Models/ModelsResult.swift",
        "Public/Models/ModerationsQuery.swift",
        "Public/Models/ModerationsResult.swift",
        "Public/Models/Responses API/CreateModelResponseQuery+TextResponseConfigurationOptions.swift",
        "Public/Models/Responses API/CreateModelResponseQuery.swift",
        "Public/Models/Responses API/CreateModelResponseQueryInput.swift",
        "Public/Models/Responses API/DeleteModelResponseQuery.swift",
        "Public/Models/Responses API/DeleteModelResponseResult.swift",
        "Public/Models/Responses API/GetModelResponseQuery.swift",
        "Public/Models/Responses API/ResponseEvent.swift",
        "Public/Models/Responses API/ResponseObject.swift",
        "Public/Models/RunResult.swift",
        "Public/Models/RunRetrieveQuery.swift",
        "Public/Models/RunRetrieveStepsResult.swift",
        "Public/Models/RunToolOutputsQuery.swift",
        "Public/Models/RunsQuery.swift",
        "Public/Models/ThreadAddMessagesResult.swift",
        "Public/Models/ThreadRunQuery.swift",
        "Public/Models/ThreadsMessagesResult.swift",
        "Public/Models/ThreadsQuery.swift",
        "Public/Models/ThreadsResult.swift",
        "Public/Models/Types/ChatQueryWebSearchOptions.swift",
        "Public/Models/Types/JSONSchemaDefinition.swift",
        "Public/Models/Types/ServiceTier.swift",
        "Public/Protocols/CancellableRequest.swift",
        "Public/Protocols/OpenAIAsync.swift",
        "Public/Protocols/OpenAICombine.swift",
        "Public/Protocols/OpenAIMiddleware.swift",
        "Public/Protocols/OpenAIProtocol.swift",
        "Public/Protocols/ResponsesEndpointAsync.swift",
        "Public/Protocols/ResponsesEndpointCombine.swift",
        "Public/Protocols/ResponsesEndpointModern.swift",
        "Public/Protocols/ResponsesEndpointProtocol.swift",
        "Public/Schemas/Edited/EasyInputMessage.swift",
        "Public/Schemas/Edited/FunctionTool.swift",
        "Public/Schemas/Edited/InputContent.swift",
        "Public/Schemas/Edited/InputImage.swift",
        "Public/Schemas/Edited/InputItem.swift",
        "Public/Schemas/Edited/ResponseMCPCallArgumentsDeltaEvent.swift",
        "Public/Schemas/Edited/ResponseMCPCallArgumentsDoneEvent.swift",
        "Public/Schemas/Edited/ResponseOutputItemAddedEvent.swift",
        "Public/Schemas/Edited/ResponseOutputItemDoneEvent.swift",
        "Public/Schemas/Edited/Tool.swift",
        "Public/Schemas/Facade/OutputItem.swift",
        "Public/Schemas/Facade/ResponseStreamEvent.swift",
        "Public/Schemas/Generated/Components.swift",
        "Public/Utilities/ParsingOptions.swift",
        "Public/Utilities/Utilities.swift",
        "ResponsesEndpoint+Async.swift",
        "ResponsesEndpoint+Combine.swift",
        "ResponsesEndpoint.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
Done.