The Swift Package Index logo.Swift Package Index

Build Information

Successful build of ExyteOpenAI, reference main (2f8965), with Swift 6.1 for macOS (SPM) on 10 Jun 2025 15:16:05 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.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/exyte/OpenAI.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/exyte/OpenAI
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 2f89650 Merge pull request #22 from exyte/feature/models-update
Cloned https://github.com/exyte/OpenAI.git
Revision (git rev-parse @):
2f896500c79aae012bb9b34b997490c2d75f39c0
SUCCESS checkout https://github.com/exyte/OpenAI.git at main
Fetching https://github.com/ReactiveCocoa/ReactiveSwift.git
Fetching https://github.com/Moya/Moya.git
Fetching https://github.com/Alamofire/Alamofire.git
Fetching https://github.com/exyte/EventSourceHttpBody.git
Fetching https://github.com/ReactiveX/RxSwift.git
[1/129] Fetching eventsourcehttpbody
[105/25395] Fetching eventsourcehttpbody, moya
[106/77888] Fetching eventsourcehttpbody, moya, reactiveswift
[1413/108029] Fetching eventsourcehttpbody, moya, reactiveswift, alamofire
[8481/160715] Fetching eventsourcehttpbody, moya, reactiveswift, alamofire, rxswift
Fetched https://github.com/ReactiveCocoa/ReactiveSwift.git from cache (2.34s)
[93155/108222] Fetching eventsourcehttpbody, moya, alamofire, rxswift
Fetched https://github.com/Moya/Moya.git from cache (2.96s)
[81302/82956] Fetching eventsourcehttpbody, alamofire, rxswift
Fetched https://github.com/exyte/EventSourceHttpBody.git from cache (6.79s)
Fetched https://github.com/Alamofire/Alamofire.git from cache (6.79s)
Fetched https://github.com/ReactiveX/RxSwift.git from cache (6.79s)
Computing version for https://github.com/exyte/EventSourceHttpBody.git
Computed https://github.com/exyte/EventSourceHttpBody.git at 0.1.5 (7.41s)
Creating working copy for https://github.com/exyte/EventSourceHttpBody.git
Working copy of https://github.com/exyte/EventSourceHttpBody.git resolved at 0.1.5
========================================
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/795] Fetching openai
Fetched https://github.com/exyte/OpenAI.git from cache (0.86s)
Fetching https://github.com/exyte/EventSourceHttpBody.git from cache
Fetched https://github.com/exyte/EventSourceHttpBody.git from cache (0.45s)
Computing version for https://github.com/exyte/EventSourceHttpBody.git
Computed https://github.com/exyte/EventSourceHttpBody.git at 0.1.5 (0.50s)
Creating working copy for https://github.com/exyte/OpenAI.git
Working copy of https://github.com/exyte/OpenAI.git resolved at main (2f89650)
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] Emitting module EventSourceHttpBody
[5/7] Compiling EventSourceHttpBody EventSource.swift
[6/7] Compiling EventSourceHttpBody Event.swift
[7/7] Compiling EventSourceHttpBody EventStreamParser.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 Assistants.swift
[10/89] Compiling ExyteOpenAI Chats.swift
[11/89] Compiling ExyteOpenAI Files.swift
[12/89] Compiling ExyteOpenAI Messages.swift
[13/89] Compiling ExyteOpenAI Models.swift
[14/89] Compiling ExyteOpenAI Runs.swift
[15/89] Compiling ExyteOpenAI Threads.swift
[16/89] Compiling ExyteOpenAI Assistant.swift
[17/89] Compiling ExyteOpenAI ChatCompletion.swift
[18/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 |                 }
[19/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 |                 }
[20/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 |                 }
[21/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 |                 }
[22/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 |                 }
[23/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 |                 }
[24/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 |                 }
[25/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 |                 }
[26/89] Compiling ExyteOpenAI ChatCompletionMessage.swift
[27/89] Compiling ExyteOpenAI Choice.swift
[28/89] Compiling ExyteOpenAI Logprob.swift
[29/89] Compiling ExyteOpenAI Logprobs.swift
[30/89] Compiling ExyteOpenAI ResponseFormat.swift
[31/89] Compiling ExyteOpenAI StreamOptions.swift
[32/89] Compiling ExyteOpenAI ActionType.swift
[33/89] Compiling ExyteOpenAI FilePurpose.swift
[34/89] Compiling ExyteOpenAI MessageContentType.swift
[35/89] Compiling ExyteOpenAI MessageRole.swift
[36/89] Compiling ExyteOpenAI ModelType.swift
[37/89] Compiling ExyteOpenAI Order.swift
[38/89] Compiling ExyteOpenAI RunErrorCode.swift
[39/89] Compiling ExyteOpenAI RunStatus.swift
[40/89] Compiling ExyteOpenAI RunStepType.swift
[41/89] Compiling ExyteOpenAI ToolType.swift
[42/89] Compiling ExyteOpenAI CreateRunPayload.swift
[43/89] Compiling ExyteOpenAI CreateStreamRunPayload.swift
[44/89] Compiling ExyteOpenAI CreateThreadAndRunPayload.swift
[45/89] Compiling ExyteOpenAI CreateThreadPayload.swift
[46/89] Compiling ExyteOpenAI FilePayload.swift
[47/89] Compiling ExyteOpenAI ListPayload.swift
[48/89] Compiling ExyteOpenAI ModifyPayload.swift
[49/89] Compiling ExyteOpenAI SubmitToolOutputsRequest.swift
[50/89] Compiling ExyteOpenAI StreamError.swift
[51/89] Compiling ExyteOpenAI StreamEvent.swift
[52/89] Compiling ExyteOpenAI Thread.swift
[53/89] Compiling ExyteOpenAI FileSearchToolProperties.swift
[54/89] Compiling ExyteOpenAI FunctionToolProperties.swift
[55/89] Compiling ExyteOpenAI Tool.swift
[56/89] Compiling ExyteOpenAI ToolCall.swift
[57/89] Compiling ExyteOpenAI ToolOutput.swift
[58/89] Compiling ExyteOpenAI Model.swift
[59/89] Compiling ExyteOpenAI MessageCreationDetails.swift
[60/89] Compiling ExyteOpenAI RequiredAction.swift
[61/89] Compiling ExyteOpenAI Run.swift
[62/89] Compiling ExyteOpenAI RunError.swift
[63/89] Compiling ExyteOpenAI RunStep.swift
[64/89] Compiling ExyteOpenAI RunStepDetails.swift
[65/89] Compiling ExyteOpenAI UsageStatistics.swift
[66/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
[67/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
[68/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
[69/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
[70/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
[71/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
[72/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
[73/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
[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 File.swift
[83/89] Compiling ExyteOpenAI DeltaMessage.swift
[84/89] Compiling ExyteOpenAI Message.swift
[85/89] Compiling ExyteOpenAI MessageContent.swift
[86/89] Compiling ExyteOpenAI MessageImageContent.swift
[87/89] Compiling ExyteOpenAI MessageTextContent.swift
[88/89] Compiling ExyteOpenAI DeletionStatus.swift
[89/89] Compiling ExyteOpenAI ObjectsList.swift
Build complete! (7.37s)
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.