The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of ExyteOpenAI, reference 1.0.3 (dc8972), with Swift 6.1 for macOS (SPM) on 29 Apr 2025 05:53:15 UTC.

Swift 6 data race errors: 3

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/exyte/OpenAI.git
Reference: 1.0.3
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/exyte/OpenAI
 * tag               1.0.3      -> FETCH_HEAD
HEAD is now at dc8972c Update Podspec version
Cloned https://github.com/exyte/OpenAI.git
Revision (git rev-parse @):
dc8972cadc66de2defa8d1ecd603b46247000152
SUCCESS checkout https://github.com/exyte/OpenAI.git at 1.0.3
Fetching https://github.com/ReactiveCocoa/ReactiveSwift.git
Fetching https://github.com/exyte/EventSourceHttpBody.git
Fetching https://github.com/ReactiveX/RxSwift.git
Fetching https://github.com/Moya/Moya.git
Fetching https://github.com/Alamofire/Alamofire.git
[1/129] Fetching eventsourcehttpbody
[112/25396] Fetching eventsourcehttpbody, moya
[131/55533] Fetching eventsourcehttpbody, moya, alamofire
Fetched https://github.com/exyte/EventSourceHttpBody.git from cache (0.91s)
Computing version for https://github.com/exyte/EventSourceHttpBody.git
[254/55404] Fetching moya, alamofire
[508/107892] Fetching moya, alamofire, reactiveswift
[509/160575] Fetching moya, alamofire, reactiveswift, rxswift
Computed https://github.com/exyte/EventSourceHttpBody.git at 0.1.5 (1.63s)
Creating working copy for https://github.com/exyte/EventSourceHttpBody.git
Working copy of https://github.com/exyte/EventSourceHttpBody.git resolved at 0.1.5
Fetched https://github.com/ReactiveCocoa/ReactiveSwift.git from cache (2.38s)
[65072/108087] Fetching moya, alamofire, rxswift
========================================
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": "openai",
      "name": "ExyteOpenAI",
      "url": "https://github.com/exyte/OpenAI.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/OpenAI",
      "dependencies": [
        {
          "identity": "eventsourcehttpbody",
          "name": "EventSourceHttpBody",
          "url": "https://github.com/exyte/EventSourceHttpBody.git",
          "version": "0.1.5",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/EventSourceHttpBody",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/exyte/OpenAI.git
[1/787] Fetching openai
Fetched https://github.com/exyte/OpenAI.git from cache (0.83s)
Fetching https://github.com/exyte/EventSourceHttpBody.git from cache
Fetched https://github.com/exyte/EventSourceHttpBody.git from cache (0.44s)
Computing version for https://github.com/exyte/EventSourceHttpBody.git
Computed https://github.com/exyte/EventSourceHttpBody.git at 0.1.5 (0.49s)
Creating working copy for https://github.com/exyte/OpenAI.git
Working copy of https://github.com/exyte/OpenAI.git resolved at 1.0.3 (dc8972c)
Creating working copy for https://github.com/exyte/EventSourceHttpBody.git
Working copy of https://github.com/exyte/EventSourceHttpBody.git resolved at 0.1.5
warning: '.resolve-product-dependencies': dependency 'openai' is not used by any target
Found 1 product dependencies
  - EventSourceHttpBody
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/exyte/OpenAI.git
https://github.com/exyte/OpenAI.git
{
  "dependencies" : [
    {
      "identity" : "eventsourcehttpbody",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.1.4",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/exyte/EventSourceHttpBody.git"
    }
  ],
  "manifest_display_name" : "ExyteOpenAI",
  "name" : "ExyteOpenAI",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "macos",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "16.0"
    },
    {
      "name" : "watchos",
      "version" : "9.0"
    }
  ],
  "products" : [
    {
      "name" : "ExyteOpenAI",
      "targets" : [
        "ExyteOpenAI"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ExyteOpenAI",
      "module_type" : "SwiftTarget",
      "name" : "ExyteOpenAI",
      "path" : "Sources/ExyteOpenAI",
      "product_dependencies" : [
        "EventSourceHttpBody"
      ],
      "product_memberships" : [
        "ExyteOpenAI"
      ],
      "sources" : [
        "Endpoint Configurations/Assistants.swift",
        "Endpoint Configurations/Chats.swift",
        "Endpoint Configurations/Files.swift",
        "Endpoint Configurations/Messages.swift",
        "Endpoint Configurations/Models.swift",
        "Endpoint Configurations/Runs.swift",
        "Endpoint Configurations/Threads.swift",
        "Models/Assistant/Assistant.swift",
        "Models/Chat/ChatCompletion.swift",
        "Models/Chat/ChatCompletionMessage.swift",
        "Models/Chat/Choice.swift",
        "Models/Chat/Logprob.swift",
        "Models/Chat/Logprobs.swift",
        "Models/Common/ResponseFormat.swift",
        "Models/Common/StreamOptions.swift",
        "Models/Enums/ActionType.swift",
        "Models/Enums/FilePurpose.swift",
        "Models/Enums/MessageContentType.swift",
        "Models/Enums/MessageRole.swift",
        "Models/Enums/ModelType.swift",
        "Models/Enums/Order.swift",
        "Models/Enums/RunErrorCode.swift",
        "Models/Enums/RunStatus.swift",
        "Models/Enums/RunStepType.swift",
        "Models/Enums/ToolType.swift",
        "Models/File/File.swift",
        "Models/Message/DeltaMessage.swift",
        "Models/Message/Message.swift",
        "Models/Message/MessageContent.swift",
        "Models/Message/MessageImageContent.swift",
        "Models/Message/MessageTextContent.swift",
        "Models/Misc/DeletionStatus.swift",
        "Models/Misc/ObjectsList.swift",
        "Models/Model/Model.swift",
        "Models/Run/MessageCreationDetails.swift",
        "Models/Run/RequiredAction.swift",
        "Models/Run/Run.swift",
        "Models/Run/RunError.swift",
        "Models/Run/RunStep.swift",
        "Models/Run/RunStepDetails.swift",
        "Models/Run/UsageStatistics.swift",
        "Models/Streaming/StreamError.swift",
        "Models/Streaming/StreamEvent.swift",
        "Models/Thread/Thread.swift",
        "Models/Tool/FileSearchToolProperties.swift",
        "Models/Tool/FunctionToolProperties.swift",
        "Models/Tool/Tool.swift",
        "Models/Tool/ToolCall.swift",
        "Models/Tool/ToolOutput.swift",
        "Networking/EndpointConfiguration.swift",
        "Networking/Extensions/AnyPublisher+Concurrency.swift",
        "Networking/Extensions/Collection+HTTPHeader.swift",
        "Networking/Extensions/Publisher+Decode.swift",
        "Networking/Extensions/URL+MimeType.swift",
        "Networking/FormBodyPart.swift",
        "Networking/HTTPHeader.swift",
        "Networking/HTTPRequestMethod.swift",
        "Networking/MimeType.swift",
        "Networking/OpenAIError.swift",
        "Networking/OpenAIResponseError.swift",
        "Networking/Provider.swift",
        "Networking/RequestTask.swift",
        "OpenAI+Assistants.swift",
        "OpenAI+Chats.swift",
        "OpenAI+Files.swift",
        "OpenAI+Messages.swift",
        "OpenAI+Models.swift",
        "OpenAI+Runs.swift",
        "OpenAI+Threads.swift",
        "OpenAI.swift",
        "Payloads/CreateAssistantPayload.swift",
        "Payloads/CreateChatCompletionPayload.swift",
        "Payloads/CreateMessageRequest.swift",
        "Payloads/CreateRunPayload.swift",
        "Payloads/CreateStreamRunPayload.swift",
        "Payloads/CreateThreadAndRunPayload.swift",
        "Payloads/CreateThreadPayload.swift",
        "Payloads/FilePayload.swift",
        "Payloads/ListPayload.swift",
        "Payloads/ModifyPayload.swift",
        "Payloads/SubmitToolOutputsRequest.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-2F0A5646E1D333AE.txt
[4/7] Compiling EventSourceHttpBody EventSource.swift
[5/7] Emitting module EventSourceHttpBody
[6/7] Compiling EventSourceHttpBody EventStreamParser.swift
[7/7] Compiling EventSourceHttpBody Event.swift
[8/81] Emitting module ExyteOpenAI
/Users/admin/builder/spi-builder-workspace/Sources/ExyteOpenAI/Networking/OpenAIError.swift:34:10: warning: associated value 'statusCode(code:response:responseError:)' of 'Sendable'-conforming enum 'OpenAIError' has non-sendable type 'OpenAIResponseError'; this is an error in the Swift 6 language mode
32 |     case requestFailed(underlyingError: Error)
33 |     case emptyResponse
34 |     case statusCode(code: Int, response: HTTPURLResponse, responseError: OpenAIResponseError?)
   |          `- warning: associated value 'statusCode(code:response:responseError:)' of 'Sendable'-conforming enum 'OpenAIError' has non-sendable type 'OpenAIResponseError'; this is an error in the Swift 6 language mode
35 |     case encodingFailed(underlyingError: Error?)
36 |     case decodingFailed(underlyingError: Error)
/Users/admin/builder/spi-builder-workspace/Sources/ExyteOpenAI/Networking/OpenAIResponseError.swift:27:15: note: consider making struct 'OpenAIResponseError' conform to the 'Sendable' protocol
25 | import Foundation
26 |
27 | public struct OpenAIResponseError: Codable {
   |               `- note: consider making struct 'OpenAIResponseError' conform to the 'Sendable' protocol
28 |
29 |     public let code: String?
/Users/admin/builder/spi-builder-workspace/Sources/ExyteOpenAI/Networking/OpenAIError.swift:43:10: warning: associated value 'multipartEncoding(encodingError:)' of 'Sendable'-conforming enum 'OpenAIError' has non-sendable type 'MultipartEncodingError'; this is an error in the Swift 6 language mode
41 |
42 |     case underlying(Error)
43 |     case multipartEncoding(encodingError: MultipartEncodingError)
   |          `- warning: associated value 'multipartEncoding(encodingError:)' of 'Sendable'-conforming enum 'OpenAIError' has non-sendable type 'MultipartEncodingError'; this is an error in the Swift 6 language mode
44 | }
45 |
46 | public enum MultipartEncodingError {
   |             `- note: consider making enum 'MultipartEncodingError' conform to the 'Sendable' protocol
47 |     case dataEncodingFailed
48 |     case fileEncodingFailed
/Users/admin/builder/spi-builder-workspace/Sources/ExyteOpenAI/OpenAI.swift:33:16: warning: static property 'defaultDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 |     let organization: String?
32 |
33 |     static var defaultDecoder: JSONDecoder = {
   |                |- warning: static property 'defaultDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'defaultDecoder' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'defaultDecoder' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |         $0.dateDecodingStrategy = .secondsSince1970
35 |         $0.keyDecodingStrategy = .convertFromSnakeCase
[9/89] Compiling ExyteOpenAI ChatCompletionMessage.swift
[10/89] Compiling ExyteOpenAI Choice.swift
[11/89] Compiling ExyteOpenAI Logprob.swift
[12/89] Compiling ExyteOpenAI Logprobs.swift
[13/89] Compiling ExyteOpenAI ResponseFormat.swift
[14/89] Compiling ExyteOpenAI StreamOptions.swift
[15/89] Compiling ExyteOpenAI ActionType.swift
[16/89] Compiling ExyteOpenAI FilePurpose.swift
[17/89] Compiling ExyteOpenAI MessageContentType.swift
[18/89] Compiling ExyteOpenAI MessageRole.swift
[19/89] Compiling ExyteOpenAI ModelType.swift
[20/89] Compiling ExyteOpenAI Order.swift
[21/89] Compiling ExyteOpenAI RunErrorCode.swift
[22/89] Compiling ExyteOpenAI RunStatus.swift
[23/89] Compiling ExyteOpenAI RunStepType.swift
[24/89] Compiling ExyteOpenAI ToolType.swift
[25/89] Compiling ExyteOpenAI File.swift
[26/89] Compiling ExyteOpenAI DeltaMessage.swift
[27/89] Compiling ExyteOpenAI Message.swift
[28/89] Compiling ExyteOpenAI MessageContent.swift
[29/89] Compiling ExyteOpenAI MessageImageContent.swift
[30/89] Compiling ExyteOpenAI MessageTextContent.swift
[31/89] Compiling ExyteOpenAI DeletionStatus.swift
[32/89] Compiling ExyteOpenAI ObjectsList.swift
[33/89] Compiling ExyteOpenAI MimeType.swift
/Users/admin/builder/spi-builder-workspace/Sources/ExyteOpenAI/Networking/OpenAIError.swift:34:10: warning: associated value 'statusCode(code:response:responseError:)' of 'Sendable'-conforming enum 'OpenAIError' has non-sendable type 'OpenAIResponseError'; this is an error in the Swift 6 language mode
32 |     case requestFailed(underlyingError: Error)
33 |     case emptyResponse
34 |     case statusCode(code: Int, response: HTTPURLResponse, responseError: OpenAIResponseError?)
   |          `- warning: associated value 'statusCode(code:response:responseError:)' of 'Sendable'-conforming enum 'OpenAIError' has non-sendable type 'OpenAIResponseError'; this is an error in the Swift 6 language mode
35 |     case encodingFailed(underlyingError: Error?)
36 |     case decodingFailed(underlyingError: Error)
/Users/admin/builder/spi-builder-workspace/Sources/ExyteOpenAI/Networking/OpenAIResponseError.swift:27:15: note: consider making struct 'OpenAIResponseError' conform to the 'Sendable' protocol
25 | import Foundation
26 |
27 | public struct OpenAIResponseError: Codable {
   |               `- note: consider making struct 'OpenAIResponseError' conform to the 'Sendable' protocol
28 |
29 |     public let code: String?
/Users/admin/builder/spi-builder-workspace/Sources/ExyteOpenAI/Networking/OpenAIError.swift:43:10: warning: associated value 'multipartEncoding(encodingError:)' of 'Sendable'-conforming enum 'OpenAIError' has non-sendable type 'MultipartEncodingError'; this is an error in the Swift 6 language mode
41 |
42 |     case underlying(Error)
43 |     case multipartEncoding(encodingError: MultipartEncodingError)
   |          `- warning: associated value 'multipartEncoding(encodingError:)' of 'Sendable'-conforming enum 'OpenAIError' has non-sendable type 'MultipartEncodingError'; this is an error in the Swift 6 language mode
44 | }
45 |
46 | public enum MultipartEncodingError {
   |             `- note: consider making enum 'MultipartEncodingError' conform to the 'Sendable' protocol
47 |     case dataEncodingFailed
48 |     case fileEncodingFailed
/Users/admin/builder/spi-builder-workspace/Sources/ExyteOpenAI/Networking/Provider.swift:66:21: warning: capture of 'promise' with non-sendable type '(Result<URL, OpenAIError>) -> Void' in a '@Sendable' closure
 64 |             URLSession.shared.downloadTask(with: urlRequest) { url, response, error in
 65 |                 if let error {
 66 |                     promise(.failure(OpenAIError.requestFailed(underlyingError: error)))
    |                     |- warning: capture of 'promise' with non-sendable type '(Result<URL, OpenAIError>) -> Void' in a '@Sendable' closure
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 67 |                     return
 68 |                 }
[34/89] Compiling ExyteOpenAI OpenAIError.swift
/Users/admin/builder/spi-builder-workspace/Sources/ExyteOpenAI/Networking/OpenAIError.swift:34:10: warning: associated value 'statusCode(code:response:responseError:)' of 'Sendable'-conforming enum 'OpenAIError' has non-sendable type 'OpenAIResponseError'; this is an error in the Swift 6 language mode
32 |     case requestFailed(underlyingError: Error)
33 |     case emptyResponse
34 |     case statusCode(code: Int, response: HTTPURLResponse, responseError: OpenAIResponseError?)
   |          `- warning: associated value 'statusCode(code:response:responseError:)' of 'Sendable'-conforming enum 'OpenAIError' has non-sendable type 'OpenAIResponseError'; this is an error in the Swift 6 language mode
35 |     case encodingFailed(underlyingError: Error?)
36 |     case decodingFailed(underlyingError: Error)
/Users/admin/builder/spi-builder-workspace/Sources/ExyteOpenAI/Networking/OpenAIResponseError.swift:27:15: note: consider making struct 'OpenAIResponseError' conform to the 'Sendable' protocol
25 | import Foundation
26 |
27 | public struct OpenAIResponseError: Codable {
   |               `- note: consider making struct 'OpenAIResponseError' conform to the 'Sendable' protocol
28 |
29 |     public let code: String?
/Users/admin/builder/spi-builder-workspace/Sources/ExyteOpenAI/Networking/OpenAIError.swift:43:10: warning: associated value 'multipartEncoding(encodingError:)' of 'Sendable'-conforming enum 'OpenAIError' has non-sendable type 'MultipartEncodingError'; this is an error in the Swift 6 language mode
41 |
42 |     case underlying(Error)
43 |     case multipartEncoding(encodingError: MultipartEncodingError)
   |          `- warning: associated value 'multipartEncoding(encodingError:)' of 'Sendable'-conforming enum 'OpenAIError' has non-sendable type 'MultipartEncodingError'; this is an error in the Swift 6 language mode
44 | }
45 |
46 | public enum MultipartEncodingError {
   |             `- note: consider making enum 'MultipartEncodingError' conform to the 'Sendable' protocol
47 |     case dataEncodingFailed
48 |     case fileEncodingFailed
/Users/admin/builder/spi-builder-workspace/Sources/ExyteOpenAI/Networking/Provider.swift:66:21: warning: capture of 'promise' with non-sendable type '(Result<URL, OpenAIError>) -> Void' in a '@Sendable' closure
 64 |             URLSession.shared.downloadTask(with: urlRequest) { url, response, error in
 65 |                 if let error {
 66 |                     promise(.failure(OpenAIError.requestFailed(underlyingError: error)))
    |                     |- warning: capture of 'promise' with non-sendable type '(Result<URL, OpenAIError>) -> Void' in a '@Sendable' closure
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 67 |                     return
 68 |                 }
[35/89] Compiling ExyteOpenAI OpenAIResponseError.swift
/Users/admin/builder/spi-builder-workspace/Sources/ExyteOpenAI/Networking/OpenAIError.swift:34:10: warning: associated value 'statusCode(code:response:responseError:)' of 'Sendable'-conforming enum 'OpenAIError' has non-sendable type 'OpenAIResponseError'; this is an error in the Swift 6 language mode
32 |     case requestFailed(underlyingError: Error)
33 |     case emptyResponse
34 |     case statusCode(code: Int, response: HTTPURLResponse, responseError: OpenAIResponseError?)
   |          `- warning: associated value 'statusCode(code:response:responseError:)' of 'Sendable'-conforming enum 'OpenAIError' has non-sendable type 'OpenAIResponseError'; this is an error in the Swift 6 language mode
35 |     case encodingFailed(underlyingError: Error?)
36 |     case decodingFailed(underlyingError: Error)
/Users/admin/builder/spi-builder-workspace/Sources/ExyteOpenAI/Networking/OpenAIResponseError.swift:27:15: note: consider making struct 'OpenAIResponseError' conform to the 'Sendable' protocol
25 | import Foundation
26 |
27 | public struct OpenAIResponseError: Codable {
   |               `- note: consider making struct 'OpenAIResponseError' conform to the 'Sendable' protocol
28 |
29 |     public let code: String?
/Users/admin/builder/spi-builder-workspace/Sources/ExyteOpenAI/Networking/OpenAIError.swift:43:10: warning: associated value 'multipartEncoding(encodingError:)' of 'Sendable'-conforming enum 'OpenAIError' has non-sendable type 'MultipartEncodingError'; this is an error in the Swift 6 language mode
41 |
42 |     case underlying(Error)
43 |     case multipartEncoding(encodingError: MultipartEncodingError)
   |          `- warning: associated value 'multipartEncoding(encodingError:)' of 'Sendable'-conforming enum 'OpenAIError' has non-sendable type 'MultipartEncodingError'; this is an error in the Swift 6 language mode
44 | }
45 |
46 | public enum MultipartEncodingError {
   |             `- note: consider making enum 'MultipartEncodingError' conform to the 'Sendable' protocol
47 |     case dataEncodingFailed
48 |     case fileEncodingFailed
/Users/admin/builder/spi-builder-workspace/Sources/ExyteOpenAI/Networking/Provider.swift:66:21: warning: capture of 'promise' with non-sendable type '(Result<URL, OpenAIError>) -> Void' in a '@Sendable' closure
 64 |             URLSession.shared.downloadTask(with: urlRequest) { url, response, error in
 65 |                 if let error {
 66 |                     promise(.failure(OpenAIError.requestFailed(underlyingError: error)))
    |                     |- warning: capture of 'promise' with non-sendable type '(Result<URL, OpenAIError>) -> Void' in a '@Sendable' closure
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 67 |                     return
 68 |                 }
[36/89] Compiling ExyteOpenAI Provider.swift
/Users/admin/builder/spi-builder-workspace/Sources/ExyteOpenAI/Networking/OpenAIError.swift:34:10: warning: associated value 'statusCode(code:response:responseError:)' of 'Sendable'-conforming enum 'OpenAIError' has non-sendable type 'OpenAIResponseError'; this is an error in the Swift 6 language mode
32 |     case requestFailed(underlyingError: Error)
33 |     case emptyResponse
34 |     case statusCode(code: Int, response: HTTPURLResponse, responseError: OpenAIResponseError?)
   |          `- warning: associated value 'statusCode(code:response:responseError:)' of 'Sendable'-conforming enum 'OpenAIError' has non-sendable type 'OpenAIResponseError'; this is an error in the Swift 6 language mode
35 |     case encodingFailed(underlyingError: Error?)
36 |     case decodingFailed(underlyingError: Error)
/Users/admin/builder/spi-builder-workspace/Sources/ExyteOpenAI/Networking/OpenAIResponseError.swift:27:15: note: consider making struct 'OpenAIResponseError' conform to the 'Sendable' protocol
25 | import Foundation
26 |
27 | public struct OpenAIResponseError: Codable {
   |               `- note: consider making struct 'OpenAIResponseError' conform to the 'Sendable' protocol
28 |
29 |     public let code: String?
/Users/admin/builder/spi-builder-workspace/Sources/ExyteOpenAI/Networking/OpenAIError.swift:43:10: warning: associated value 'multipartEncoding(encodingError:)' of 'Sendable'-conforming enum 'OpenAIError' has non-sendable type 'MultipartEncodingError'; this is an error in the Swift 6 language mode
41 |
42 |     case underlying(Error)
43 |     case multipartEncoding(encodingError: MultipartEncodingError)
   |          `- warning: associated value 'multipartEncoding(encodingError:)' of 'Sendable'-conforming enum 'OpenAIError' has non-sendable type 'MultipartEncodingError'; this is an error in the Swift 6 language mode
44 | }
45 |
46 | public enum MultipartEncodingError {
   |             `- note: consider making enum 'MultipartEncodingError' conform to the 'Sendable' protocol
47 |     case dataEncodingFailed
48 |     case fileEncodingFailed
/Users/admin/builder/spi-builder-workspace/Sources/ExyteOpenAI/Networking/Provider.swift:66:21: warning: capture of 'promise' with non-sendable type '(Result<URL, OpenAIError>) -> Void' in a '@Sendable' closure
 64 |             URLSession.shared.downloadTask(with: urlRequest) { url, response, error in
 65 |                 if let error {
 66 |                     promise(.failure(OpenAIError.requestFailed(underlyingError: error)))
    |                     |- warning: capture of 'promise' with non-sendable type '(Result<URL, OpenAIError>) -> Void' in a '@Sendable' closure
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 67 |                     return
 68 |                 }
[37/89] Compiling ExyteOpenAI RequestTask.swift
/Users/admin/builder/spi-builder-workspace/Sources/ExyteOpenAI/Networking/OpenAIError.swift:34:10: warning: associated value 'statusCode(code:response:responseError:)' of 'Sendable'-conforming enum 'OpenAIError' has non-sendable type 'OpenAIResponseError'; this is an error in the Swift 6 language mode
32 |     case requestFailed(underlyingError: Error)
33 |     case emptyResponse
34 |     case statusCode(code: Int, response: HTTPURLResponse, responseError: OpenAIResponseError?)
   |          `- warning: associated value 'statusCode(code:response:responseError:)' of 'Sendable'-conforming enum 'OpenAIError' has non-sendable type 'OpenAIResponseError'; this is an error in the Swift 6 language mode
35 |     case encodingFailed(underlyingError: Error?)
36 |     case decodingFailed(underlyingError: Error)
/Users/admin/builder/spi-builder-workspace/Sources/ExyteOpenAI/Networking/OpenAIResponseError.swift:27:15: note: consider making struct 'OpenAIResponseError' conform to the 'Sendable' protocol
25 | import Foundation
26 |
27 | public struct OpenAIResponseError: Codable {
   |               `- note: consider making struct 'OpenAIResponseError' conform to the 'Sendable' protocol
28 |
29 |     public let code: String?
/Users/admin/builder/spi-builder-workspace/Sources/ExyteOpenAI/Networking/OpenAIError.swift:43:10: warning: associated value 'multipartEncoding(encodingError:)' of 'Sendable'-conforming enum 'OpenAIError' has non-sendable type 'MultipartEncodingError'; this is an error in the Swift 6 language mode
41 |
42 |     case underlying(Error)
43 |     case multipartEncoding(encodingError: MultipartEncodingError)
   |          `- warning: associated value 'multipartEncoding(encodingError:)' of 'Sendable'-conforming enum 'OpenAIError' has non-sendable type 'MultipartEncodingError'; this is an error in the Swift 6 language mode
44 | }
45 |
46 | public enum MultipartEncodingError {
   |             `- note: consider making enum 'MultipartEncodingError' conform to the 'Sendable' protocol
47 |     case dataEncodingFailed
48 |     case fileEncodingFailed
/Users/admin/builder/spi-builder-workspace/Sources/ExyteOpenAI/Networking/Provider.swift:66:21: warning: capture of 'promise' with non-sendable type '(Result<URL, OpenAIError>) -> Void' in a '@Sendable' closure
 64 |             URLSession.shared.downloadTask(with: urlRequest) { url, response, error in
 65 |                 if let error {
 66 |                     promise(.failure(OpenAIError.requestFailed(underlyingError: error)))
    |                     |- warning: capture of 'promise' with non-sendable type '(Result<URL, OpenAIError>) -> Void' in a '@Sendable' closure
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 67 |                     return
 68 |                 }
[38/89] Compiling ExyteOpenAI OpenAI+Assistants.swift
/Users/admin/builder/spi-builder-workspace/Sources/ExyteOpenAI/Networking/OpenAIError.swift:34:10: warning: associated value 'statusCode(code:response:responseError:)' of 'Sendable'-conforming enum 'OpenAIError' has non-sendable type 'OpenAIResponseError'; this is an error in the Swift 6 language mode
32 |     case requestFailed(underlyingError: Error)
33 |     case emptyResponse
34 |     case statusCode(code: Int, response: HTTPURLResponse, responseError: OpenAIResponseError?)
   |          `- warning: associated value 'statusCode(code:response:responseError:)' of 'Sendable'-conforming enum 'OpenAIError' has non-sendable type 'OpenAIResponseError'; this is an error in the Swift 6 language mode
35 |     case encodingFailed(underlyingError: Error?)
36 |     case decodingFailed(underlyingError: Error)
/Users/admin/builder/spi-builder-workspace/Sources/ExyteOpenAI/Networking/OpenAIResponseError.swift:27:15: note: consider making struct 'OpenAIResponseError' conform to the 'Sendable' protocol
25 | import Foundation
26 |
27 | public struct OpenAIResponseError: Codable {
   |               `- note: consider making struct 'OpenAIResponseError' conform to the 'Sendable' protocol
28 |
29 |     public let code: String?
/Users/admin/builder/spi-builder-workspace/Sources/ExyteOpenAI/Networking/OpenAIError.swift:43:10: warning: associated value 'multipartEncoding(encodingError:)' of 'Sendable'-conforming enum 'OpenAIError' has non-sendable type 'MultipartEncodingError'; this is an error in the Swift 6 language mode
41 |
42 |     case underlying(Error)
43 |     case multipartEncoding(encodingError: MultipartEncodingError)
   |          `- warning: associated value 'multipartEncoding(encodingError:)' of 'Sendable'-conforming enum 'OpenAIError' has non-sendable type 'MultipartEncodingError'; this is an error in the Swift 6 language mode
44 | }
45 |
46 | public enum MultipartEncodingError {
   |             `- note: consider making enum 'MultipartEncodingError' conform to the 'Sendable' protocol
47 |     case dataEncodingFailed
48 |     case fileEncodingFailed
/Users/admin/builder/spi-builder-workspace/Sources/ExyteOpenAI/Networking/Provider.swift:66:21: warning: capture of 'promise' with non-sendable type '(Result<URL, OpenAIError>) -> Void' in a '@Sendable' closure
 64 |             URLSession.shared.downloadTask(with: urlRequest) { url, response, error in
 65 |                 if let error {
 66 |                     promise(.failure(OpenAIError.requestFailed(underlyingError: error)))
    |                     |- warning: capture of 'promise' with non-sendable type '(Result<URL, OpenAIError>) -> Void' in a '@Sendable' closure
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 67 |                     return
 68 |                 }
[39/89] Compiling ExyteOpenAI OpenAI+Chats.swift
/Users/admin/builder/spi-builder-workspace/Sources/ExyteOpenAI/Networking/OpenAIError.swift:34:10: warning: associated value 'statusCode(code:response:responseError:)' of 'Sendable'-conforming enum 'OpenAIError' has non-sendable type 'OpenAIResponseError'; this is an error in the Swift 6 language mode
32 |     case requestFailed(underlyingError: Error)
33 |     case emptyResponse
34 |     case statusCode(code: Int, response: HTTPURLResponse, responseError: OpenAIResponseError?)
   |          `- warning: associated value 'statusCode(code:response:responseError:)' of 'Sendable'-conforming enum 'OpenAIError' has non-sendable type 'OpenAIResponseError'; this is an error in the Swift 6 language mode
35 |     case encodingFailed(underlyingError: Error?)
36 |     case decodingFailed(underlyingError: Error)
/Users/admin/builder/spi-builder-workspace/Sources/ExyteOpenAI/Networking/OpenAIResponseError.swift:27:15: note: consider making struct 'OpenAIResponseError' conform to the 'Sendable' protocol
25 | import Foundation
26 |
27 | public struct OpenAIResponseError: Codable {
   |               `- note: consider making struct 'OpenAIResponseError' conform to the 'Sendable' protocol
28 |
29 |     public let code: String?
/Users/admin/builder/spi-builder-workspace/Sources/ExyteOpenAI/Networking/OpenAIError.swift:43:10: warning: associated value 'multipartEncoding(encodingError:)' of 'Sendable'-conforming enum 'OpenAIError' has non-sendable type 'MultipartEncodingError'; this is an error in the Swift 6 language mode
41 |
42 |     case underlying(Error)
43 |     case multipartEncoding(encodingError: MultipartEncodingError)
   |          `- warning: associated value 'multipartEncoding(encodingError:)' of 'Sendable'-conforming enum 'OpenAIError' has non-sendable type 'MultipartEncodingError'; this is an error in the Swift 6 language mode
44 | }
45 |
46 | public enum MultipartEncodingError {
   |             `- note: consider making enum 'MultipartEncodingError' conform to the 'Sendable' protocol
47 |     case dataEncodingFailed
48 |     case fileEncodingFailed
/Users/admin/builder/spi-builder-workspace/Sources/ExyteOpenAI/Networking/Provider.swift:66:21: warning: capture of 'promise' with non-sendable type '(Result<URL, OpenAIError>) -> Void' in a '@Sendable' closure
 64 |             URLSession.shared.downloadTask(with: urlRequest) { url, response, error in
 65 |                 if let error {
 66 |                     promise(.failure(OpenAIError.requestFailed(underlyingError: error)))
    |                     |- warning: capture of 'promise' with non-sendable type '(Result<URL, OpenAIError>) -> Void' in a '@Sendable' closure
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 67 |                     return
 68 |                 }
[40/89] Compiling ExyteOpenAI OpenAI+Files.swift
/Users/admin/builder/spi-builder-workspace/Sources/ExyteOpenAI/Networking/OpenAIError.swift:34:10: warning: associated value 'statusCode(code:response:responseError:)' of 'Sendable'-conforming enum 'OpenAIError' has non-sendable type 'OpenAIResponseError'; this is an error in the Swift 6 language mode
32 |     case requestFailed(underlyingError: Error)
33 |     case emptyResponse
34 |     case statusCode(code: Int, response: HTTPURLResponse, responseError: OpenAIResponseError?)
   |          `- warning: associated value 'statusCode(code:response:responseError:)' of 'Sendable'-conforming enum 'OpenAIError' has non-sendable type 'OpenAIResponseError'; this is an error in the Swift 6 language mode
35 |     case encodingFailed(underlyingError: Error?)
36 |     case decodingFailed(underlyingError: Error)
/Users/admin/builder/spi-builder-workspace/Sources/ExyteOpenAI/Networking/OpenAIResponseError.swift:27:15: note: consider making struct 'OpenAIResponseError' conform to the 'Sendable' protocol
25 | import Foundation
26 |
27 | public struct OpenAIResponseError: Codable {
   |               `- note: consider making struct 'OpenAIResponseError' conform to the 'Sendable' protocol
28 |
29 |     public let code: String?
/Users/admin/builder/spi-builder-workspace/Sources/ExyteOpenAI/Networking/OpenAIError.swift:43:10: warning: associated value 'multipartEncoding(encodingError:)' of 'Sendable'-conforming enum 'OpenAIError' has non-sendable type 'MultipartEncodingError'; this is an error in the Swift 6 language mode
41 |
42 |     case underlying(Error)
43 |     case multipartEncoding(encodingError: MultipartEncodingError)
   |          `- warning: associated value 'multipartEncoding(encodingError:)' of 'Sendable'-conforming enum 'OpenAIError' has non-sendable type 'MultipartEncodingError'; this is an error in the Swift 6 language mode
44 | }
45 |
46 | public enum MultipartEncodingError {
   |             `- note: consider making enum 'MultipartEncodingError' conform to the 'Sendable' protocol
47 |     case dataEncodingFailed
48 |     case fileEncodingFailed
/Users/admin/builder/spi-builder-workspace/Sources/ExyteOpenAI/Networking/Provider.swift:66:21: warning: capture of 'promise' with non-sendable type '(Result<URL, OpenAIError>) -> Void' in a '@Sendable' closure
 64 |             URLSession.shared.downloadTask(with: urlRequest) { url, response, error in
 65 |                 if let error {
 66 |                     promise(.failure(OpenAIError.requestFailed(underlyingError: error)))
    |                     |- warning: capture of 'promise' with non-sendable type '(Result<URL, OpenAIError>) -> Void' in a '@Sendable' closure
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 67 |                     return
 68 |                 }
[41/89] Compiling ExyteOpenAI Assistants.swift
[42/89] Compiling ExyteOpenAI Chats.swift
[43/89] Compiling ExyteOpenAI Files.swift
[44/89] Compiling ExyteOpenAI Messages.swift
[45/89] Compiling ExyteOpenAI Models.swift
[46/89] Compiling ExyteOpenAI Runs.swift
[47/89] Compiling ExyteOpenAI Threads.swift
[48/89] Compiling ExyteOpenAI Assistant.swift
[49/89] Compiling ExyteOpenAI ChatCompletion.swift
[50/89] Compiling ExyteOpenAI CreateRunPayload.swift
[51/89] Compiling ExyteOpenAI CreateStreamRunPayload.swift
[52/89] Compiling ExyteOpenAI CreateThreadAndRunPayload.swift
[53/89] Compiling ExyteOpenAI CreateThreadPayload.swift
[54/89] Compiling ExyteOpenAI FilePayload.swift
[55/89] Compiling ExyteOpenAI ListPayload.swift
[56/89] Compiling ExyteOpenAI ModifyPayload.swift
[57/89] Compiling ExyteOpenAI SubmitToolOutputsRequest.swift
[58/89] Compiling ExyteOpenAI OpenAI+Messages.swift
/Users/admin/builder/spi-builder-workspace/Sources/ExyteOpenAI/OpenAI.swift:33:16: warning: static property 'defaultDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 |     let organization: String?
32 |
33 |     static var defaultDecoder: JSONDecoder = {
   |                |- warning: static property 'defaultDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'defaultDecoder' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'defaultDecoder' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |         $0.dateDecodingStrategy = .secondsSince1970
35 |         $0.keyDecodingStrategy = .convertFromSnakeCase
[59/89] Compiling ExyteOpenAI OpenAI+Models.swift
/Users/admin/builder/spi-builder-workspace/Sources/ExyteOpenAI/OpenAI.swift:33:16: warning: static property 'defaultDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 |     let organization: String?
32 |
33 |     static var defaultDecoder: JSONDecoder = {
   |                |- warning: static property 'defaultDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'defaultDecoder' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'defaultDecoder' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |         $0.dateDecodingStrategy = .secondsSince1970
35 |         $0.keyDecodingStrategy = .convertFromSnakeCase
[60/89] Compiling ExyteOpenAI OpenAI+Runs.swift
/Users/admin/builder/spi-builder-workspace/Sources/ExyteOpenAI/OpenAI.swift:33:16: warning: static property 'defaultDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 |     let organization: String?
32 |
33 |     static var defaultDecoder: JSONDecoder = {
   |                |- warning: static property 'defaultDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'defaultDecoder' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'defaultDecoder' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |         $0.dateDecodingStrategy = .secondsSince1970
35 |         $0.keyDecodingStrategy = .convertFromSnakeCase
[61/89] Compiling ExyteOpenAI OpenAI+Threads.swift
/Users/admin/builder/spi-builder-workspace/Sources/ExyteOpenAI/OpenAI.swift:33:16: warning: static property 'defaultDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 |     let organization: String?
32 |
33 |     static var defaultDecoder: JSONDecoder = {
   |                |- warning: static property 'defaultDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'defaultDecoder' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'defaultDecoder' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |         $0.dateDecodingStrategy = .secondsSince1970
35 |         $0.keyDecodingStrategy = .convertFromSnakeCase
[62/89] Compiling ExyteOpenAI OpenAI.swift
/Users/admin/builder/spi-builder-workspace/Sources/ExyteOpenAI/OpenAI.swift:33:16: warning: static property 'defaultDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 |     let organization: String?
32 |
33 |     static var defaultDecoder: JSONDecoder = {
   |                |- warning: static property 'defaultDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'defaultDecoder' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'defaultDecoder' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |         $0.dateDecodingStrategy = .secondsSince1970
35 |         $0.keyDecodingStrategy = .convertFromSnakeCase
[63/89] Compiling ExyteOpenAI CreateAssistantPayload.swift
/Users/admin/builder/spi-builder-workspace/Sources/ExyteOpenAI/OpenAI.swift:33:16: warning: static property 'defaultDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 |     let organization: String?
32 |
33 |     static var defaultDecoder: JSONDecoder = {
   |                |- warning: static property 'defaultDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'defaultDecoder' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'defaultDecoder' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |         $0.dateDecodingStrategy = .secondsSince1970
35 |         $0.keyDecodingStrategy = .convertFromSnakeCase
[64/89] Compiling ExyteOpenAI CreateChatCompletionPayload.swift
/Users/admin/builder/spi-builder-workspace/Sources/ExyteOpenAI/OpenAI.swift:33:16: warning: static property 'defaultDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 |     let organization: String?
32 |
33 |     static var defaultDecoder: JSONDecoder = {
   |                |- warning: static property 'defaultDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'defaultDecoder' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'defaultDecoder' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |         $0.dateDecodingStrategy = .secondsSince1970
35 |         $0.keyDecodingStrategy = .convertFromSnakeCase
[65/89] Compiling ExyteOpenAI CreateMessageRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/ExyteOpenAI/OpenAI.swift:33:16: warning: static property 'defaultDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 |     let organization: String?
32 |
33 |     static var defaultDecoder: JSONDecoder = {
   |                |- warning: static property 'defaultDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'defaultDecoder' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'defaultDecoder' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |         $0.dateDecodingStrategy = .secondsSince1970
35 |         $0.keyDecodingStrategy = .convertFromSnakeCase
[66/89] Compiling ExyteOpenAI Model.swift
[67/89] Compiling ExyteOpenAI MessageCreationDetails.swift
[68/89] Compiling ExyteOpenAI RequiredAction.swift
[69/89] Compiling ExyteOpenAI Run.swift
[70/89] Compiling ExyteOpenAI RunError.swift
[71/89] Compiling ExyteOpenAI RunStep.swift
[72/89] Compiling ExyteOpenAI RunStepDetails.swift
[73/89] Compiling ExyteOpenAI UsageStatistics.swift
[74/89] Compiling ExyteOpenAI EndpointConfiguration.swift
/Users/admin/builder/spi-builder-workspace/Sources/ExyteOpenAI/Networking/Extensions/AnyPublisher+Concurrency.swift:49:38: warning: sending value of non-Sendable type 'Result<Output, any Error>' risks causing data races; this is an error in the Swift 6 language mode
47 |                     receiveValue: { value in
48 |                         finishedWithoutValue = false
49 |                         continuation.resume(with: .success(value))
   |                                      |- warning: sending value of non-Sendable type 'Result<Output, any Error>' risks causing data races; this is an error in the Swift 6 language mode
   |                                      `- note: Passing task-isolated value of non-Sendable type 'Result<Output, any Error>' as a 'sending' parameter risks causing races inbetween task-isolated uses and uses reachable from the callee
50 |
51 |                     }
[75/89] Compiling ExyteOpenAI AnyPublisher+Concurrency.swift
/Users/admin/builder/spi-builder-workspace/Sources/ExyteOpenAI/Networking/Extensions/AnyPublisher+Concurrency.swift:49:38: warning: sending value of non-Sendable type 'Result<Output, any Error>' risks causing data races; this is an error in the Swift 6 language mode
47 |                     receiveValue: { value in
48 |                         finishedWithoutValue = false
49 |                         continuation.resume(with: .success(value))
   |                                      |- warning: sending value of non-Sendable type 'Result<Output, any Error>' risks causing data races; this is an error in the Swift 6 language mode
   |                                      `- note: Passing task-isolated value of non-Sendable type 'Result<Output, any Error>' as a 'sending' parameter risks causing races inbetween task-isolated uses and uses reachable from the callee
50 |
51 |                     }
[76/89] Compiling ExyteOpenAI Collection+HTTPHeader.swift
/Users/admin/builder/spi-builder-workspace/Sources/ExyteOpenAI/Networking/Extensions/AnyPublisher+Concurrency.swift:49:38: warning: sending value of non-Sendable type 'Result<Output, any Error>' risks causing data races; this is an error in the Swift 6 language mode
47 |                     receiveValue: { value in
48 |                         finishedWithoutValue = false
49 |                         continuation.resume(with: .success(value))
   |                                      |- warning: sending value of non-Sendable type 'Result<Output, any Error>' risks causing data races; this is an error in the Swift 6 language mode
   |                                      `- note: Passing task-isolated value of non-Sendable type 'Result<Output, any Error>' as a 'sending' parameter risks causing races inbetween task-isolated uses and uses reachable from the callee
50 |
51 |                     }
[77/89] Compiling ExyteOpenAI Publisher+Decode.swift
/Users/admin/builder/spi-builder-workspace/Sources/ExyteOpenAI/Networking/Extensions/AnyPublisher+Concurrency.swift:49:38: warning: sending value of non-Sendable type 'Result<Output, any Error>' risks causing data races; this is an error in the Swift 6 language mode
47 |                     receiveValue: { value in
48 |                         finishedWithoutValue = false
49 |                         continuation.resume(with: .success(value))
   |                                      |- warning: sending value of non-Sendable type 'Result<Output, any Error>' risks causing data races; this is an error in the Swift 6 language mode
   |                                      `- note: Passing task-isolated value of non-Sendable type 'Result<Output, any Error>' as a 'sending' parameter risks causing races inbetween task-isolated uses and uses reachable from the callee
50 |
51 |                     }
[78/89] Compiling ExyteOpenAI URL+MimeType.swift
/Users/admin/builder/spi-builder-workspace/Sources/ExyteOpenAI/Networking/Extensions/AnyPublisher+Concurrency.swift:49:38: warning: sending value of non-Sendable type 'Result<Output, any Error>' risks causing data races; this is an error in the Swift 6 language mode
47 |                     receiveValue: { value in
48 |                         finishedWithoutValue = false
49 |                         continuation.resume(with: .success(value))
   |                                      |- warning: sending value of non-Sendable type 'Result<Output, any Error>' risks causing data races; this is an error in the Swift 6 language mode
   |                                      `- note: Passing task-isolated value of non-Sendable type 'Result<Output, any Error>' as a 'sending' parameter risks causing races inbetween task-isolated uses and uses reachable from the callee
50 |
51 |                     }
[79/89] Compiling ExyteOpenAI FormBodyPart.swift
/Users/admin/builder/spi-builder-workspace/Sources/ExyteOpenAI/Networking/Extensions/AnyPublisher+Concurrency.swift:49:38: warning: sending value of non-Sendable type 'Result<Output, any Error>' risks causing data races; this is an error in the Swift 6 language mode
47 |                     receiveValue: { value in
48 |                         finishedWithoutValue = false
49 |                         continuation.resume(with: .success(value))
   |                                      |- warning: sending value of non-Sendable type 'Result<Output, any Error>' risks causing data races; this is an error in the Swift 6 language mode
   |                                      `- note: Passing task-isolated value of non-Sendable type 'Result<Output, any Error>' as a 'sending' parameter risks causing races inbetween task-isolated uses and uses reachable from the callee
50 |
51 |                     }
[80/89] Compiling ExyteOpenAI HTTPHeader.swift
/Users/admin/builder/spi-builder-workspace/Sources/ExyteOpenAI/Networking/Extensions/AnyPublisher+Concurrency.swift:49:38: warning: sending value of non-Sendable type 'Result<Output, any Error>' risks causing data races; this is an error in the Swift 6 language mode
47 |                     receiveValue: { value in
48 |                         finishedWithoutValue = false
49 |                         continuation.resume(with: .success(value))
   |                                      |- warning: sending value of non-Sendable type 'Result<Output, any Error>' risks causing data races; this is an error in the Swift 6 language mode
   |                                      `- note: Passing task-isolated value of non-Sendable type 'Result<Output, any Error>' as a 'sending' parameter risks causing races inbetween task-isolated uses and uses reachable from the callee
50 |
51 |                     }
[81/89] Compiling ExyteOpenAI HTTPRequestMethod.swift
/Users/admin/builder/spi-builder-workspace/Sources/ExyteOpenAI/Networking/Extensions/AnyPublisher+Concurrency.swift:49:38: warning: sending value of non-Sendable type 'Result<Output, any Error>' risks causing data races; this is an error in the Swift 6 language mode
47 |                     receiveValue: { value in
48 |                         finishedWithoutValue = false
49 |                         continuation.resume(with: .success(value))
   |                                      |- warning: sending value of non-Sendable type 'Result<Output, any Error>' risks causing data races; this is an error in the Swift 6 language mode
   |                                      `- note: Passing task-isolated value of non-Sendable type 'Result<Output, any Error>' as a 'sending' parameter risks causing races inbetween task-isolated uses and uses reachable from the callee
50 |
51 |                     }
[82/89] Compiling ExyteOpenAI StreamError.swift
[83/89] Compiling ExyteOpenAI StreamEvent.swift
[84/89] Compiling ExyteOpenAI Thread.swift
[85/89] Compiling ExyteOpenAI FileSearchToolProperties.swift
[86/89] Compiling ExyteOpenAI FunctionToolProperties.swift
[87/89] Compiling ExyteOpenAI Tool.swift
[88/89] Compiling ExyteOpenAI ToolCall.swift
[89/89] Compiling ExyteOpenAI ToolOutput.swift
Build complete! (7.46s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "eventsourcehttpbody",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.1.4",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/exyte/EventSourceHttpBody.git"
    }
  ],
  "manifest_display_name" : "ExyteOpenAI",
  "name" : "ExyteOpenAI",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "macos",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "16.0"
    },
    {
      "name" : "watchos",
      "version" : "9.0"
    }
  ],
  "products" : [
    {
      "name" : "ExyteOpenAI",
      "targets" : [
        "ExyteOpenAI"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ExyteOpenAI",
      "module_type" : "SwiftTarget",
      "name" : "ExyteOpenAI",
      "path" : "Sources/ExyteOpenAI",
      "product_dependencies" : [
        "EventSourceHttpBody"
      ],
      "product_memberships" : [
        "ExyteOpenAI"
      ],
      "sources" : [
        "Endpoint Configurations/Assistants.swift",
        "Endpoint Configurations/Chats.swift",
        "Endpoint Configurations/Files.swift",
        "Endpoint Configurations/Messages.swift",
        "Endpoint Configurations/Models.swift",
        "Endpoint Configurations/Runs.swift",
        "Endpoint Configurations/Threads.swift",
        "Models/Assistant/Assistant.swift",
        "Models/Chat/ChatCompletion.swift",
        "Models/Chat/ChatCompletionMessage.swift",
        "Models/Chat/Choice.swift",
        "Models/Chat/Logprob.swift",
        "Models/Chat/Logprobs.swift",
        "Models/Common/ResponseFormat.swift",
        "Models/Common/StreamOptions.swift",
        "Models/Enums/ActionType.swift",
        "Models/Enums/FilePurpose.swift",
        "Models/Enums/MessageContentType.swift",
        "Models/Enums/MessageRole.swift",
        "Models/Enums/ModelType.swift",
        "Models/Enums/Order.swift",
        "Models/Enums/RunErrorCode.swift",
        "Models/Enums/RunStatus.swift",
        "Models/Enums/RunStepType.swift",
        "Models/Enums/ToolType.swift",
        "Models/File/File.swift",
        "Models/Message/DeltaMessage.swift",
        "Models/Message/Message.swift",
        "Models/Message/MessageContent.swift",
        "Models/Message/MessageImageContent.swift",
        "Models/Message/MessageTextContent.swift",
        "Models/Misc/DeletionStatus.swift",
        "Models/Misc/ObjectsList.swift",
        "Models/Model/Model.swift",
        "Models/Run/MessageCreationDetails.swift",
        "Models/Run/RequiredAction.swift",
        "Models/Run/Run.swift",
        "Models/Run/RunError.swift",
        "Models/Run/RunStep.swift",
        "Models/Run/RunStepDetails.swift",
        "Models/Run/UsageStatistics.swift",
        "Models/Streaming/StreamError.swift",
        "Models/Streaming/StreamEvent.swift",
        "Models/Thread/Thread.swift",
        "Models/Tool/FileSearchToolProperties.swift",
        "Models/Tool/FunctionToolProperties.swift",
        "Models/Tool/Tool.swift",
        "Models/Tool/ToolCall.swift",
        "Models/Tool/ToolOutput.swift",
        "Networking/EndpointConfiguration.swift",
        "Networking/Extensions/AnyPublisher+Concurrency.swift",
        "Networking/Extensions/Collection+HTTPHeader.swift",
        "Networking/Extensions/Publisher+Decode.swift",
        "Networking/Extensions/URL+MimeType.swift",
        "Networking/FormBodyPart.swift",
        "Networking/HTTPHeader.swift",
        "Networking/HTTPRequestMethod.swift",
        "Networking/MimeType.swift",
        "Networking/OpenAIError.swift",
        "Networking/OpenAIResponseError.swift",
        "Networking/Provider.swift",
        "Networking/RequestTask.swift",
        "OpenAI+Assistants.swift",
        "OpenAI+Chats.swift",
        "OpenAI+Files.swift",
        "OpenAI+Messages.swift",
        "OpenAI+Models.swift",
        "OpenAI+Runs.swift",
        "OpenAI+Threads.swift",
        "OpenAI.swift",
        "Payloads/CreateAssistantPayload.swift",
        "Payloads/CreateChatCompletionPayload.swift",
        "Payloads/CreateMessageRequest.swift",
        "Payloads/CreateRunPayload.swift",
        "Payloads/CreateStreamRunPayload.swift",
        "Payloads/CreateThreadAndRunPayload.swift",
        "Payloads/CreateThreadPayload.swift",
        "Payloads/FilePayload.swift",
        "Payloads/ListPayload.swift",
        "Payloads/ModifyPayload.swift",
        "Payloads/SubmitToolOutputsRequest.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Done.