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

Failed to build OpenAI, reference 0.4.2 (40f3d6), with Swift 5.10 for Linux on 28 Apr 2025 23:41:39 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/MacPaw/OpenAI.git
Reference: 0.4.2
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/MacPaw/OpenAI
 * tag               0.4.2      -> FETCH_HEAD
HEAD is now at 40f3d6c Merge pull request #322 from MacPaw/improve-json-schema
Cloned https://github.com/MacPaw/OpenAI.git
Revision (git rev-parse @):
40f3d6cdb5a2ad72369984a8e0e99a28c6e46f47
SUCCESS checkout https://github.com/MacPaw/OpenAI.git at 0.4.2
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $PWD
https://github.com/MacPaw/OpenAI.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:616ef225d0085997f26355ad9695b1159b91f6187a43f9ff135cb59d096bc97d
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/89] Emitting module OpenAI
/host/spi-builder-workspace/Sources/OpenAI/Private/ExecutionSerializer.swift:15:9: warning: stored property 'queue' of 'Sendable'-conforming struct 'GCDQueueAsyncExecutionSerializer' has non-sendable type 'DispatchQueue'
    let queue: DispatchQueue
        ^
Dispatch.DispatchQueue:1:14: note: class 'DispatchQueue' does not conform to the 'Sendable' protocol
public class DispatchQueue : DispatchObject {
             ^
/host/spi-builder-workspace/Sources/OpenAI/Private/ExecutionSerializer.swift:8:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Dispatch'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/OpenAI/Private/Streaming/DataTaskPerformingURLSession.swift:15:17: warning: stored property 'urlRequest' of 'Sendable'-conforming class 'DataTaskPerformingURLSession' has non-sendable type 'URLRequest'
    private let urlRequest: URLRequest
                ^
FoundationNetworking.URLRequest:1:15: note: struct 'URLRequest' does not conform to the 'Sendable' protocol
public struct URLRequest : ReferenceConvertible, Equatable, Hashable {
              ^
/host/spi-builder-workspace/Sources/OpenAI/Private/Streaming/DataTaskPerformingURLSession.swift:11:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
import FoundationNetworking
^
@preconcurrency
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionDataTaskProtocol.swift:18:1: warning: conformance to 'Sendable' must occur in the same source file as class 'URLSessionTask'; use '@unchecked Sendable' for retroactive conformance
extension URLSessionTask: URLSessionTaskProtocol {}
^
FoundationNetworking.URLSessionTask:2:14: warning: stored property 'countOfBytesClientExpectsToReceive' of 'Sendable'-conforming class 'URLSessionTask' is mutable
    open var countOfBytesClientExpectsToReceive: Int64 { get set }
             ^
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionProtocol.swift:21:1: warning: conformance to 'Sendable' must occur in the same source file as class 'URLSession'; use '@unchecked Sendable' for retroactive conformance
extension URLSession: URLSessionProtocol {
^
FoundationNetworking.URLSession (internal):2:18: warning: stored property '_configuration' of 'Sendable'-conforming class 'URLSession' has non-sendable type 'URLSession._Configuration'
    internal let _configuration: URLSession._Configuration
                 ^
FoundationNetworking.URLSession (internal):2:21: note: struct '_Configuration' does not conform to the 'Sendable' protocol
    internal struct _Configuration {
                    ^
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionProtocol.swift:10:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
import FoundationNetworking
^
@preconcurrency
FoundationNetworking.URLSession (fileprivate):3:21: warning: stored property 'multiHandle' of 'Sendable'-conforming class 'URLSession' has non-sendable type 'URLSession._MultiHandle'
    fileprivate let multiHandle: URLSession._MultiHandle
                    ^
FoundationNetworking.URLSession (internal):2:26: note: class '_MultiHandle' does not conform to the 'Sendable' protocol
    final internal class _MultiHandle {
                         ^
FoundationNetworking.URLSession (fileprivate):4:21: warning: stored property 'nextTaskIdentifier' of 'Sendable'-conforming class 'URLSession' is mutable
    fileprivate var nextTaskIdentifier: Int
                    ^
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionProtocol.swift:21:1: error: type 'URLSession' does not conform to protocol 'URLSessionProtocol'
extension URLSession: URLSessionProtocol {
^
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionProtocol.swift:18:10: note: protocol requires function 'data(for:delegate:)' with type '(URLRequest, (any URLSessionTaskDelegate)?) async throws -> (Data, URLResponse)'; add a stub for conformance
    func data(for request: URLRequest, delegate: (any URLSessionTaskDelegate)?) async throws -> (Data, URLResponse)
         ^
/host/spi-builder-workspace/Sources/OpenAI/Public/JSONSchema/JSONDocument.swift:27:1: warning: conformance to 'Sendable' must occur in the same source file as struct 'Decimal'; use '@unchecked Sendable' for retroactive conformance
extension Decimal: JSONDocument {}
^
[4/101] Compiling OpenAI EmbeddingsResult.swift
[5/101] Compiling OpenAI FilesQuery.swift
[6/101] Compiling OpenAI FilesResult.swift
[7/101] Compiling OpenAI FunctionDeclaration.swift
[8/101] Compiling OpenAI ImageEditsQuery.swift
[9/101] Compiling OpenAI ImageVariationsQuery.swift
[10/101] Compiling OpenAI ImagesQuery.swift
[11/101] Compiling OpenAI ImagesResult.swift
[12/101] Compiling OpenAI JSONSchemaConvertible.swift
[13/101] Compiling OpenAI JSONSchemaEnumConvertible.swift
[14/101] Compiling OpenAI MessageQuery.swift
[15/101] Compiling OpenAI ModelQuery.swift
[16/101] Compiling OpenAI OpenAI+OpenAIAsync.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/ExecutionSerializer.swift:15:9: warning: stored property 'queue' of 'Sendable'-conforming struct 'GCDQueueAsyncExecutionSerializer' has non-sendable type 'DispatchQueue'
    let queue: DispatchQueue
        ^
Dispatch.DispatchQueue:1:14: note: class 'DispatchQueue' does not conform to the 'Sendable' protocol
public class DispatchQueue : DispatchObject {
             ^
/host/spi-builder-workspace/Sources/OpenAI/Private/ExecutionSerializer.swift:8:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Dispatch'
import Foundation
^
@preconcurrency
[17/101] Compiling OpenAI OpenAI+OpenAICombine.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/ExecutionSerializer.swift:15:9: warning: stored property 'queue' of 'Sendable'-conforming struct 'GCDQueueAsyncExecutionSerializer' has non-sendable type 'DispatchQueue'
    let queue: DispatchQueue
        ^
Dispatch.DispatchQueue:1:14: note: class 'DispatchQueue' does not conform to the 'Sendable' protocol
public class DispatchQueue : DispatchObject {
             ^
/host/spi-builder-workspace/Sources/OpenAI/Private/ExecutionSerializer.swift:8:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Dispatch'
import Foundation
^
@preconcurrency
[18/101] Compiling OpenAI OpenAI.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/ExecutionSerializer.swift:15:9: warning: stored property 'queue' of 'Sendable'-conforming struct 'GCDQueueAsyncExecutionSerializer' has non-sendable type 'DispatchQueue'
    let queue: DispatchQueue
        ^
Dispatch.DispatchQueue:1:14: note: class 'DispatchQueue' does not conform to the 'Sendable' protocol
public class DispatchQueue : DispatchObject {
             ^
/host/spi-builder-workspace/Sources/OpenAI/Private/ExecutionSerializer.swift:8:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Dispatch'
import Foundation
^
@preconcurrency
[19/101] Compiling OpenAI AssistantsRequest.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/ExecutionSerializer.swift:15:9: warning: stored property 'queue' of 'Sendable'-conforming struct 'GCDQueueAsyncExecutionSerializer' has non-sendable type 'DispatchQueue'
    let queue: DispatchQueue
        ^
Dispatch.DispatchQueue:1:14: note: class 'DispatchQueue' does not conform to the 'Sendable' protocol
public class DispatchQueue : DispatchObject {
             ^
/host/spi-builder-workspace/Sources/OpenAI/Private/ExecutionSerializer.swift:8:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Dispatch'
import Foundation
^
@preconcurrency
[20/101] Compiling OpenAI CancellablesFactory.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/ExecutionSerializer.swift:15:9: warning: stored property 'queue' of 'Sendable'-conforming struct 'GCDQueueAsyncExecutionSerializer' has non-sendable type 'DispatchQueue'
    let queue: DispatchQueue
        ^
Dispatch.DispatchQueue:1:14: note: class 'DispatchQueue' does not conform to the 'Sendable' protocol
public class DispatchQueue : DispatchObject {
             ^
/host/spi-builder-workspace/Sources/OpenAI/Private/ExecutionSerializer.swift:8:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Dispatch'
import Foundation
^
@preconcurrency
[21/101] Compiling OpenAI CodingUserInfoKey+ParsingOptions.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/ExecutionSerializer.swift:15:9: warning: stored property 'queue' of 'Sendable'-conforming struct 'GCDQueueAsyncExecutionSerializer' has non-sendable type 'DispatchQueue'
    let queue: DispatchQueue
        ^
Dispatch.DispatchQueue:1:14: note: class 'DispatchQueue' does not conform to the 'Sendable' protocol
public class DispatchQueue : DispatchObject {
             ^
/host/spi-builder-workspace/Sources/OpenAI/Private/ExecutionSerializer.swift:8:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Dispatch'
import Foundation
^
@preconcurrency
[22/101] Compiling OpenAI DispatchQueue+Static.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/ExecutionSerializer.swift:15:9: warning: stored property 'queue' of 'Sendable'-conforming struct 'GCDQueueAsyncExecutionSerializer' has non-sendable type 'DispatchQueue'
    let queue: DispatchQueue
        ^
Dispatch.DispatchQueue:1:14: note: class 'DispatchQueue' does not conform to the 'Sendable' protocol
public class DispatchQueue : DispatchObject {
             ^
/host/spi-builder-workspace/Sources/OpenAI/Private/ExecutionSerializer.swift:8:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Dispatch'
import Foundation
^
@preconcurrency
[23/101] Compiling OpenAI ExecutionSerializer.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/ExecutionSerializer.swift:15:9: warning: stored property 'queue' of 'Sendable'-conforming struct 'GCDQueueAsyncExecutionSerializer' has non-sendable type 'DispatchQueue'
    let queue: DispatchQueue
        ^
Dispatch.DispatchQueue:1:14: note: class 'DispatchQueue' does not conform to the 'Sendable' protocol
public class DispatchQueue : DispatchObject {
             ^
/host/spi-builder-workspace/Sources/OpenAI/Private/ExecutionSerializer.swift:8:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Dispatch'
import Foundation
^
@preconcurrency
[24/101] Compiling OpenAI JSONRequest.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/ExecutionSerializer.swift:15:9: warning: stored property 'queue' of 'Sendable'-conforming struct 'GCDQueueAsyncExecutionSerializer' has non-sendable type 'DispatchQueue'
    let queue: DispatchQueue
        ^
Dispatch.DispatchQueue:1:14: note: class 'DispatchQueue' does not conform to the 'Sendable' protocol
public class DispatchQueue : DispatchObject {
             ^
/host/spi-builder-workspace/Sources/OpenAI/Private/ExecutionSerializer.swift:8:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Dispatch'
import Foundation
^
@preconcurrency
[25/101] Compiling OpenAI JSONResponseErrorDecoder.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/ExecutionSerializer.swift:15:9: warning: stored property 'queue' of 'Sendable'-conforming struct 'GCDQueueAsyncExecutionSerializer' has non-sendable type 'DispatchQueue'
    let queue: DispatchQueue
        ^
Dispatch.DispatchQueue:1:14: note: class 'DispatchQueue' does not conform to the 'Sendable' protocol
public class DispatchQueue : DispatchObject {
             ^
/host/spi-builder-workspace/Sources/OpenAI/Private/ExecutionSerializer.swift:8:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Dispatch'
import Foundation
^
@preconcurrency
[26/101] Compiling OpenAI KeyedDecodingContainer+ParsingOptions.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/ExecutionSerializer.swift:15:9: warning: stored property 'queue' of 'Sendable'-conforming struct 'GCDQueueAsyncExecutionSerializer' has non-sendable type 'DispatchQueue'
    let queue: DispatchQueue
        ^
Dispatch.DispatchQueue:1:14: note: class 'DispatchQueue' does not conform to the 'Sendable' protocol
public class DispatchQueue : DispatchObject {
             ^
/host/spi-builder-workspace/Sources/OpenAI/Private/ExecutionSerializer.swift:8:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Dispatch'
import Foundation
^
@preconcurrency
[27/101] Compiling OpenAI MultipartFormDataBodyBuilder.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/ExecutionSerializer.swift:15:9: warning: stored property 'queue' of 'Sendable'-conforming struct 'GCDQueueAsyncExecutionSerializer' has non-sendable type 'DispatchQueue'
    let queue: DispatchQueue
        ^
Dispatch.DispatchQueue:1:14: note: class 'DispatchQueue' does not conform to the 'Sendable' protocol
public class DispatchQueue : DispatchObject {
             ^
/host/spi-builder-workspace/Sources/OpenAI/Private/ExecutionSerializer.swift:8:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Dispatch'
import Foundation
^
@preconcurrency
[28/101] Compiling OpenAI MultipartFormDataBodyEncodable.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/ExecutionSerializer.swift:15:9: warning: stored property 'queue' of 'Sendable'-conforming struct 'GCDQueueAsyncExecutionSerializer' has non-sendable type 'DispatchQueue'
    let queue: DispatchQueue
        ^
Dispatch.DispatchQueue:1:14: note: class 'DispatchQueue' does not conform to the 'Sendable' protocol
public class DispatchQueue : DispatchObject {
             ^
/host/spi-builder-workspace/Sources/OpenAI/Private/ExecutionSerializer.swift:8:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Dispatch'
import Foundation
^
@preconcurrency
[29/101] Compiling OpenAI ThreadsMessagesResult.swift
[30/101] Compiling OpenAI ThreadsQuery.swift
[31/101] Compiling OpenAI ThreadsResult.swift
[32/101] Compiling OpenAI Tool.swift
[33/101] Compiling OpenAI CancellableRequest.swift
[34/101] Compiling OpenAI OpenAIAsync.swift
[35/101] Compiling OpenAI OpenAICombine.swift
[36/101] Compiling OpenAI OpenAIMiddleware.swift
[37/101] Compiling OpenAI OpenAIProtocol.swift
[38/101] Compiling OpenAI StreamableQuery.swift
[39/101] Compiling OpenAI ParsingOptions.swift
[40/101] Compiling OpenAI Utilities.swift
[41/101] Compiling OpenAI MultipartFormDataEntry.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/Streaming/DataTaskPerformingURLSession.swift:15:17: warning: stored property 'urlRequest' of 'Sendable'-conforming class 'DataTaskPerformingURLSession' has non-sendable type 'URLRequest'
    private let urlRequest: URLRequest
                ^
FoundationNetworking.URLRequest:1:15: note: struct 'URLRequest' does not conform to the 'Sendable' protocol
public struct URLRequest : ReferenceConvertible, Equatable, Hashable {
              ^
/host/spi-builder-workspace/Sources/OpenAI/Private/Streaming/DataTaskPerformingURLSession.swift:11:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
import FoundationNetworking
^
@preconcurrency
[42/101] Compiling OpenAI MultipartFormDataRequest.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/Streaming/DataTaskPerformingURLSession.swift:15:17: warning: stored property 'urlRequest' of 'Sendable'-conforming class 'DataTaskPerformingURLSession' has non-sendable type 'URLRequest'
    private let urlRequest: URLRequest
                ^
FoundationNetworking.URLRequest:1:15: note: struct 'URLRequest' does not conform to the 'Sendable' protocol
public struct URLRequest : ReferenceConvertible, Equatable, Hashable {
              ^
/host/spi-builder-workspace/Sources/OpenAI/Private/Streaming/DataTaskPerformingURLSession.swift:11:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
import FoundationNetworking
^
@preconcurrency
[43/101] Compiling OpenAI OpenAI+MakeRequest.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/Streaming/DataTaskPerformingURLSession.swift:15:17: warning: stored property 'urlRequest' of 'Sendable'-conforming class 'DataTaskPerformingURLSession' has non-sendable type 'URLRequest'
    private let urlRequest: URLRequest
                ^
FoundationNetworking.URLRequest:1:15: note: struct 'URLRequest' does not conform to the 'Sendable' protocol
public struct URLRequest : ReferenceConvertible, Equatable, Hashable {
              ^
/host/spi-builder-workspace/Sources/OpenAI/Private/Streaming/DataTaskPerformingURLSession.swift:11:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
import FoundationNetworking
^
@preconcurrency
[44/101] Compiling OpenAI SSLDelegateProtocol.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/Streaming/DataTaskPerformingURLSession.swift:15:17: warning: stored property 'urlRequest' of 'Sendable'-conforming class 'DataTaskPerformingURLSession' has non-sendable type 'URLRequest'
    private let urlRequest: URLRequest
                ^
FoundationNetworking.URLRequest:1:15: note: struct 'URLRequest' does not conform to the 'Sendable' protocol
public struct URLRequest : ReferenceConvertible, Equatable, Hashable {
              ^
/host/spi-builder-workspace/Sources/OpenAI/Private/Streaming/DataTaskPerformingURLSession.swift:11:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
import FoundationNetworking
^
@preconcurrency
[45/101] Compiling OpenAI SendablePassthroughSubject.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/Streaming/DataTaskPerformingURLSession.swift:15:17: warning: stored property 'urlRequest' of 'Sendable'-conforming class 'DataTaskPerformingURLSession' has non-sendable type 'URLRequest'
    private let urlRequest: URLRequest
                ^
FoundationNetworking.URLRequest:1:15: note: struct 'URLRequest' does not conform to the 'Sendable' protocol
public struct URLRequest : ReferenceConvertible, Equatable, Hashable {
              ^
/host/spi-builder-workspace/Sources/OpenAI/Private/Streaming/DataTaskPerformingURLSession.swift:11:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
import FoundationNetworking
^
@preconcurrency
[46/101] Compiling OpenAI AudioSpeechStreamInterpreter.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/Streaming/DataTaskPerformingURLSession.swift:15:17: warning: stored property 'urlRequest' of 'Sendable'-conforming class 'DataTaskPerformingURLSession' has non-sendable type 'URLRequest'
    private let urlRequest: URLRequest
                ^
FoundationNetworking.URLRequest:1:15: note: struct 'URLRequest' does not conform to the 'Sendable' protocol
public struct URLRequest : ReferenceConvertible, Equatable, Hashable {
              ^
/host/spi-builder-workspace/Sources/OpenAI/Private/Streaming/DataTaskPerformingURLSession.swift:11:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
import FoundationNetworking
^
@preconcurrency
[47/101] Compiling OpenAI DataTaskPerformingURLSession.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/Streaming/DataTaskPerformingURLSession.swift:15:17: warning: stored property 'urlRequest' of 'Sendable'-conforming class 'DataTaskPerformingURLSession' has non-sendable type 'URLRequest'
    private let urlRequest: URLRequest
                ^
FoundationNetworking.URLRequest:1:15: note: struct 'URLRequest' does not conform to the 'Sendable' protocol
public struct URLRequest : ReferenceConvertible, Equatable, Hashable {
              ^
/host/spi-builder-workspace/Sources/OpenAI/Private/Streaming/DataTaskPerformingURLSession.swift:11:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
import FoundationNetworking
^
@preconcurrency
[48/101] Compiling OpenAI InvalidatableSession.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/Streaming/DataTaskPerformingURLSession.swift:15:17: warning: stored property 'urlRequest' of 'Sendable'-conforming class 'DataTaskPerformingURLSession' has non-sendable type 'URLRequest'
    private let urlRequest: URLRequest
                ^
FoundationNetworking.URLRequest:1:15: note: struct 'URLRequest' does not conform to the 'Sendable' protocol
public struct URLRequest : ReferenceConvertible, Equatable, Hashable {
              ^
/host/spi-builder-workspace/Sources/OpenAI/Private/Streaming/DataTaskPerformingURLSession.swift:11:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
import FoundationNetworking
^
@preconcurrency
[49/101] Compiling OpenAI PerformableSession.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/Streaming/DataTaskPerformingURLSession.swift:15:17: warning: stored property 'urlRequest' of 'Sendable'-conforming class 'DataTaskPerformingURLSession' has non-sendable type 'URLRequest'
    private let urlRequest: URLRequest
                ^
FoundationNetworking.URLRequest:1:15: note: struct 'URLRequest' does not conform to the 'Sendable' protocol
public struct URLRequest : ReferenceConvertible, Equatable, Hashable {
              ^
/host/spi-builder-workspace/Sources/OpenAI/Private/Streaming/DataTaskPerformingURLSession.swift:11:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
import FoundationNetworking
^
@preconcurrency
[50/101] Compiling OpenAI ServerSentEventsStreamInterpreter.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/Streaming/DataTaskPerformingURLSession.swift:15:17: warning: stored property 'urlRequest' of 'Sendable'-conforming class 'DataTaskPerformingURLSession' has non-sendable type 'URLRequest'
    private let urlRequest: URLRequest
                ^
FoundationNetworking.URLRequest:1:15: note: struct 'URLRequest' does not conform to the 'Sendable' protocol
public struct URLRequest : ReferenceConvertible, Equatable, Hashable {
              ^
/host/spi-builder-workspace/Sources/OpenAI/Private/Streaming/DataTaskPerformingURLSession.swift:11:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
import FoundationNetworking
^
@preconcurrency
[51/101] Compiling OpenAI ServerSentEventsStreamParser.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/Streaming/DataTaskPerformingURLSession.swift:15:17: warning: stored property 'urlRequest' of 'Sendable'-conforming class 'DataTaskPerformingURLSession' has non-sendable type 'URLRequest'
    private let urlRequest: URLRequest
                ^
FoundationNetworking.URLRequest:1:15: note: struct 'URLRequest' does not conform to the 'Sendable' protocol
public struct URLRequest : ReferenceConvertible, Equatable, Hashable {
              ^
/host/spi-builder-workspace/Sources/OpenAI/Private/Streaming/DataTaskPerformingURLSession.swift:11:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
import FoundationNetworking
^
@preconcurrency
[52/101] Compiling OpenAI ServerSentEventsStreamingSessionFactory.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/Streaming/DataTaskPerformingURLSession.swift:15:17: warning: stored property 'urlRequest' of 'Sendable'-conforming class 'DataTaskPerformingURLSession' has non-sendable type 'URLRequest'
    private let urlRequest: URLRequest
                ^
FoundationNetworking.URLRequest:1:15: note: struct 'URLRequest' does not conform to the 'Sendable' protocol
public struct URLRequest : ReferenceConvertible, Equatable, Hashable {
              ^
/host/spi-builder-workspace/Sources/OpenAI/Private/Streaming/DataTaskPerformingURLSession.swift:11:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
import FoundationNetworking
^
@preconcurrency
[53/101] Compiling OpenAI SessionInvalidator.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/Streaming/DataTaskPerformingURLSession.swift:15:17: warning: stored property 'urlRequest' of 'Sendable'-conforming class 'DataTaskPerformingURLSession' has non-sendable type 'URLRequest'
    private let urlRequest: URLRequest
                ^
FoundationNetworking.URLRequest:1:15: note: struct 'URLRequest' does not conform to the 'Sendable' protocol
public struct URLRequest : ReferenceConvertible, Equatable, Hashable {
              ^
/host/spi-builder-workspace/Sources/OpenAI/Private/Streaming/DataTaskPerformingURLSession.swift:11:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
import FoundationNetworking
^
@preconcurrency
[54/101] Compiling OpenAI ModelResult.swift
[55/101] Compiling OpenAI Models.swift
[56/101] Compiling OpenAI ModelsResult.swift
[57/101] Compiling OpenAI ModerationsQuery.swift
[58/101] Compiling OpenAI ModerationsResult.swift
[59/101] Compiling OpenAI RunResult.swift
[60/101] Compiling OpenAI RunRetrieveQuery.swift
[61/101] Compiling OpenAI RunRetrieveStepsResult.swift
[62/101] Compiling OpenAI RunToolOutputsQuery.swift
[63/101] Compiling OpenAI RunsQuery.swift
[64/101] Compiling OpenAI ThreadAddMessagesResult.swift
[65/101] Compiling OpenAI ThreadRunQuery.swift
[66/101] Compiling OpenAI AssistantsQuery.swift
[67/101] Compiling OpenAI AssistantsResult.swift
[68/101] Compiling OpenAI AudioSpeechQuery.swift
[69/101] Compiling OpenAI AudioSpeechResult.swift
[70/101] Compiling OpenAI AudioTranscriptionQuery.swift
[71/101] Compiling OpenAI AudioTranscriptionResult.swift
[72/101] Compiling OpenAI AudioTranslationQuery.swift
[73/101] Compiling OpenAI AudioTranslationResult.swift
[74/101] Compiling OpenAI ChatQuery.swift
[75/101] Compiling OpenAI ChatResult.swift
[76/101] Compiling OpenAI ChatStreamResult.swift
[77/101] Compiling OpenAI EmbeddingsQuery.swift
[78/101] Compiling OpenAI StreamInterpreter.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionDataTaskProtocol.swift:18:1: warning: conformance to 'Sendable' must occur in the same source file as class 'URLSessionTask'; use '@unchecked Sendable' for retroactive conformance
extension URLSessionTask: URLSessionTaskProtocol {}
^
FoundationNetworking.URLSessionTask:2:14: warning: stored property 'countOfBytesClientExpectsToReceive' of 'Sendable'-conforming class 'URLSessionTask' is mutable
    open var countOfBytesClientExpectsToReceive: Int64 { get set }
             ^
[79/101] Compiling OpenAI StreamingError.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionDataTaskProtocol.swift:18:1: warning: conformance to 'Sendable' must occur in the same source file as class 'URLSessionTask'; use '@unchecked Sendable' for retroactive conformance
extension URLSessionTask: URLSessionTaskProtocol {}
^
FoundationNetworking.URLSessionTask:2:14: warning: stored property 'countOfBytesClientExpectsToReceive' of 'Sendable'-conforming class 'URLSessionTask' is mutable
    open var countOfBytesClientExpectsToReceive: Int64 { get set }
             ^
[80/101] Compiling OpenAI StreamingSession.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionDataTaskProtocol.swift:18:1: warning: conformance to 'Sendable' must occur in the same source file as class 'URLSessionTask'; use '@unchecked Sendable' for retroactive conformance
extension URLSessionTask: URLSessionTaskProtocol {}
^
FoundationNetworking.URLSessionTask:2:14: warning: stored property 'countOfBytesClientExpectsToReceive' of 'Sendable'-conforming class 'URLSessionTask' is mutable
    open var countOfBytesClientExpectsToReceive: Int64 { get set }
             ^
[81/101] Compiling OpenAI URLBuilder.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionDataTaskProtocol.swift:18:1: warning: conformance to 'Sendable' must occur in the same source file as class 'URLSessionTask'; use '@unchecked Sendable' for retroactive conformance
extension URLSessionTask: URLSessionTaskProtocol {}
^
FoundationNetworking.URLSessionTask:2:14: warning: stored property 'countOfBytesClientExpectsToReceive' of 'Sendable'-conforming class 'URLSessionTask' is mutable
    open var countOfBytesClientExpectsToReceive: Int64 { get set }
             ^
[82/101] Compiling OpenAI URLComponents+.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionDataTaskProtocol.swift:18:1: warning: conformance to 'Sendable' must occur in the same source file as class 'URLSessionTask'; use '@unchecked Sendable' for retroactive conformance
extension URLSessionTask: URLSessionTaskProtocol {}
^
FoundationNetworking.URLSessionTask:2:14: warning: stored property 'countOfBytesClientExpectsToReceive' of 'Sendable'-conforming class 'URLSessionTask' is mutable
    open var countOfBytesClientExpectsToReceive: Int64 { get set }
             ^
[83/101] Compiling OpenAI URLRequestBuildable.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionDataTaskProtocol.swift:18:1: warning: conformance to 'Sendable' must occur in the same source file as class 'URLSessionTask'; use '@unchecked Sendable' for retroactive conformance
extension URLSessionTask: URLSessionTaskProtocol {}
^
FoundationNetworking.URLSessionTask:2:14: warning: stored property 'countOfBytesClientExpectsToReceive' of 'Sendable'-conforming class 'URLSessionTask' is mutable
    open var countOfBytesClientExpectsToReceive: Int64 { get set }
             ^
[84/101] Compiling OpenAI URLSessionCombine.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionDataTaskProtocol.swift:18:1: warning: conformance to 'Sendable' must occur in the same source file as class 'URLSessionTask'; use '@unchecked Sendable' for retroactive conformance
extension URLSessionTask: URLSessionTaskProtocol {}
^
FoundationNetworking.URLSessionTask:2:14: warning: stored property 'countOfBytesClientExpectsToReceive' of 'Sendable'-conforming class 'URLSessionTask' is mutable
    open var countOfBytesClientExpectsToReceive: Int64 { get set }
             ^
[85/101] Compiling OpenAI URLSessionDataDelegateForwarder.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionDataTaskProtocol.swift:18:1: warning: conformance to 'Sendable' must occur in the same source file as class 'URLSessionTask'; use '@unchecked Sendable' for retroactive conformance
extension URLSessionTask: URLSessionTaskProtocol {}
^
FoundationNetworking.URLSessionTask:2:14: warning: stored property 'countOfBytesClientExpectsToReceive' of 'Sendable'-conforming class 'URLSessionTask' is mutable
    open var countOfBytesClientExpectsToReceive: Int64 { get set }
             ^
[86/101] Compiling OpenAI URLSessionDataTaskProtocol.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionDataTaskProtocol.swift:18:1: warning: conformance to 'Sendable' must occur in the same source file as class 'URLSessionTask'; use '@unchecked Sendable' for retroactive conformance
extension URLSessionTask: URLSessionTaskProtocol {}
^
FoundationNetworking.URLSessionTask:2:14: warning: stored property 'countOfBytesClientExpectsToReceive' of 'Sendable'-conforming class 'URLSessionTask' is mutable
    open var countOfBytesClientExpectsToReceive: Int64 { get set }
             ^
[87/101] Compiling OpenAI URLSessionDataTaskPublisherProtocol.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionDataTaskProtocol.swift:18:1: warning: conformance to 'Sendable' must occur in the same source file as class 'URLSessionTask'; use '@unchecked Sendable' for retroactive conformance
extension URLSessionTask: URLSessionTaskProtocol {}
^
FoundationNetworking.URLSessionTask:2:14: warning: stored property 'countOfBytesClientExpectsToReceive' of 'Sendable'-conforming class 'URLSessionTask' is mutable
    open var countOfBytesClientExpectsToReceive: Int64 { get set }
             ^
[88/101] Compiling OpenAI URLSessionDataTaskStore.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionDataTaskProtocol.swift:18:1: warning: conformance to 'Sendable' must occur in the same source file as class 'URLSessionTask'; use '@unchecked Sendable' for retroactive conformance
extension URLSessionTask: URLSessionTaskProtocol {}
^
FoundationNetworking.URLSessionTask:2:14: warning: stored property 'countOfBytesClientExpectsToReceive' of 'Sendable'-conforming class 'URLSessionTask' is mutable
    open var countOfBytesClientExpectsToReceive: Int64 { get set }
             ^
[89/101] Compiling OpenAI URLSessionDelegateProtocol.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionDataTaskProtocol.swift:18:1: warning: conformance to 'Sendable' must occur in the same source file as class 'URLSessionTask'; use '@unchecked Sendable' for retroactive conformance
extension URLSessionTask: URLSessionTaskProtocol {}
^
FoundationNetworking.URLSessionTask:2:14: warning: stored property 'countOfBytesClientExpectsToReceive' of 'Sendable'-conforming class 'URLSessionTask' is mutable
    open var countOfBytesClientExpectsToReceive: Int64 { get set }
             ^
[90/101] Compiling OpenAI URLSessionFactory.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionProtocol.swift:21:1: warning: conformance to 'Sendable' must occur in the same source file as class 'URLSession'; use '@unchecked Sendable' for retroactive conformance
extension URLSession: URLSessionProtocol {
^
FoundationNetworking.URLSession (internal):2:18: warning: stored property '_configuration' of 'Sendable'-conforming class 'URLSession' has non-sendable type 'URLSession._Configuration'
    internal let _configuration: URLSession._Configuration
                 ^
FoundationNetworking.URLSession (internal):2:21: note: struct '_Configuration' does not conform to the 'Sendable' protocol
    internal struct _Configuration {
                    ^
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionProtocol.swift:10:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
import FoundationNetworking
^
@preconcurrency
FoundationNetworking.URLSession (fileprivate):3:21: warning: stored property 'multiHandle' of 'Sendable'-conforming class 'URLSession' has non-sendable type 'URLSession._MultiHandle'
    fileprivate let multiHandle: URLSession._MultiHandle
                    ^
FoundationNetworking.URLSession (internal):2:26: note: class '_MultiHandle' does not conform to the 'Sendable' protocol
    final internal class _MultiHandle {
                         ^
FoundationNetworking.URLSession (fileprivate):4:21: warning: stored property 'nextTaskIdentifier' of 'Sendable'-conforming class 'URLSession' is mutable
    fileprivate var nextTaskIdentifier: Int
                    ^
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionProtocol.swift:21:1: error: type 'URLSession' does not conform to protocol 'URLSessionProtocol'
extension URLSession: URLSessionProtocol {
^
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionProtocol.swift:18:10: note: protocol requires function 'data(for:delegate:)' with type '(URLRequest, (any URLSessionTaskDelegate)?) async throws -> (Data, URLResponse)'; add a stub for conformance
    func data(for request: URLRequest, delegate: (any URLSessionTaskDelegate)?) async throws -> (Data, URLResponse)
         ^
/host/spi-builder-workspace/Sources/OpenAI/Public/JSONSchema/JSONDocument.swift:27:1: warning: conformance to 'Sendable' must occur in the same source file as struct 'Decimal'; use '@unchecked Sendable' for retroactive conformance
extension Decimal: JSONDocument {}
^
[91/101] Compiling OpenAI URLSessionProtocol.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionProtocol.swift:21:1: warning: conformance to 'Sendable' must occur in the same source file as class 'URLSession'; use '@unchecked Sendable' for retroactive conformance
extension URLSession: URLSessionProtocol {
^
FoundationNetworking.URLSession (internal):2:18: warning: stored property '_configuration' of 'Sendable'-conforming class 'URLSession' has non-sendable type 'URLSession._Configuration'
    internal let _configuration: URLSession._Configuration
                 ^
FoundationNetworking.URLSession (internal):2:21: note: struct '_Configuration' does not conform to the 'Sendable' protocol
    internal struct _Configuration {
                    ^
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionProtocol.swift:10:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
import FoundationNetworking
^
@preconcurrency
FoundationNetworking.URLSession (fileprivate):3:21: warning: stored property 'multiHandle' of 'Sendable'-conforming class 'URLSession' has non-sendable type 'URLSession._MultiHandle'
    fileprivate let multiHandle: URLSession._MultiHandle
                    ^
FoundationNetworking.URLSession (internal):2:26: note: class '_MultiHandle' does not conform to the 'Sendable' protocol
    final internal class _MultiHandle {
                         ^
FoundationNetworking.URLSession (fileprivate):4:21: warning: stored property 'nextTaskIdentifier' of 'Sendable'-conforming class 'URLSession' is mutable
    fileprivate var nextTaskIdentifier: Int
                    ^
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionProtocol.swift:21:1: error: type 'URLSession' does not conform to protocol 'URLSessionProtocol'
extension URLSession: URLSessionProtocol {
^
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionProtocol.swift:18:10: note: protocol requires function 'data(for:delegate:)' with type '(URLRequest, (any URLSessionTaskDelegate)?) async throws -> (Data, URLResponse)'; add a stub for conformance
    func data(for request: URLRequest, delegate: (any URLSessionTaskDelegate)?) async throws -> (Data, URLResponse)
         ^
/host/spi-builder-workspace/Sources/OpenAI/Public/JSONSchema/JSONDocument.swift:27:1: warning: conformance to 'Sendable' must occur in the same source file as struct 'Decimal'; use '@unchecked Sendable' for retroactive conformance
extension Decimal: JSONDocument {}
^
[92/101] Compiling OpenAI URLSessionTaskCanceller.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionProtocol.swift:21:1: warning: conformance to 'Sendable' must occur in the same source file as class 'URLSession'; use '@unchecked Sendable' for retroactive conformance
extension URLSession: URLSessionProtocol {
^
FoundationNetworking.URLSession (internal):2:18: warning: stored property '_configuration' of 'Sendable'-conforming class 'URLSession' has non-sendable type 'URLSession._Configuration'
    internal let _configuration: URLSession._Configuration
                 ^
FoundationNetworking.URLSession (internal):2:21: note: struct '_Configuration' does not conform to the 'Sendable' protocol
    internal struct _Configuration {
                    ^
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionProtocol.swift:10:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
import FoundationNetworking
^
@preconcurrency
FoundationNetworking.URLSession (fileprivate):3:21: warning: stored property 'multiHandle' of 'Sendable'-conforming class 'URLSession' has non-sendable type 'URLSession._MultiHandle'
    fileprivate let multiHandle: URLSession._MultiHandle
                    ^
FoundationNetworking.URLSession (internal):2:26: note: class '_MultiHandle' does not conform to the 'Sendable' protocol
    final internal class _MultiHandle {
                         ^
FoundationNetworking.URLSession (fileprivate):4:21: warning: stored property 'nextTaskIdentifier' of 'Sendable'-conforming class 'URLSession' is mutable
    fileprivate var nextTaskIdentifier: Int
                    ^
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionProtocol.swift:21:1: error: type 'URLSession' does not conform to protocol 'URLSessionProtocol'
extension URLSession: URLSessionProtocol {
^
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionProtocol.swift:18:10: note: protocol requires function 'data(for:delegate:)' with type '(URLRequest, (any URLSessionTaskDelegate)?) async throws -> (Data, URLResponse)'; add a stub for conformance
    func data(for request: URLRequest, delegate: (any URLSessionTaskDelegate)?) async throws -> (Data, URLResponse)
         ^
/host/spi-builder-workspace/Sources/OpenAI/Public/JSONSchema/JSONDocument.swift:27:1: warning: conformance to 'Sendable' must occur in the same source file as struct 'Decimal'; use '@unchecked Sendable' for retroactive conformance
extension Decimal: JSONDocument {}
^
[93/101] Compiling OpenAI APIError.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionProtocol.swift:21:1: warning: conformance to 'Sendable' must occur in the same source file as class 'URLSession'; use '@unchecked Sendable' for retroactive conformance
extension URLSession: URLSessionProtocol {
^
FoundationNetworking.URLSession (internal):2:18: warning: stored property '_configuration' of 'Sendable'-conforming class 'URLSession' has non-sendable type 'URLSession._Configuration'
    internal let _configuration: URLSession._Configuration
                 ^
FoundationNetworking.URLSession (internal):2:21: note: struct '_Configuration' does not conform to the 'Sendable' protocol
    internal struct _Configuration {
                    ^
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionProtocol.swift:10:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
import FoundationNetworking
^
@preconcurrency
FoundationNetworking.URLSession (fileprivate):3:21: warning: stored property 'multiHandle' of 'Sendable'-conforming class 'URLSession' has non-sendable type 'URLSession._MultiHandle'
    fileprivate let multiHandle: URLSession._MultiHandle
                    ^
FoundationNetworking.URLSession (internal):2:26: note: class '_MultiHandle' does not conform to the 'Sendable' protocol
    final internal class _MultiHandle {
                         ^
FoundationNetworking.URLSession (fileprivate):4:21: warning: stored property 'nextTaskIdentifier' of 'Sendable'-conforming class 'URLSession' is mutable
    fileprivate var nextTaskIdentifier: Int
                    ^
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionProtocol.swift:21:1: error: type 'URLSession' does not conform to protocol 'URLSessionProtocol'
extension URLSession: URLSessionProtocol {
^
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionProtocol.swift:18:10: note: protocol requires function 'data(for:delegate:)' with type '(URLRequest, (any URLSessionTaskDelegate)?) async throws -> (Data, URLResponse)'; add a stub for conformance
    func data(for request: URLRequest, delegate: (any URLSessionTaskDelegate)?) async throws -> (Data, URLResponse)
         ^
/host/spi-builder-workspace/Sources/OpenAI/Public/JSONSchema/JSONDocument.swift:27:1: warning: conformance to 'Sendable' must occur in the same source file as struct 'Decimal'; use '@unchecked Sendable' for retroactive conformance
extension Decimal: JSONDocument {}
^
[94/101] Compiling OpenAI GeminiAPIError.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionProtocol.swift:21:1: warning: conformance to 'Sendable' must occur in the same source file as class 'URLSession'; use '@unchecked Sendable' for retroactive conformance
extension URLSession: URLSessionProtocol {
^
FoundationNetworking.URLSession (internal):2:18: warning: stored property '_configuration' of 'Sendable'-conforming class 'URLSession' has non-sendable type 'URLSession._Configuration'
    internal let _configuration: URLSession._Configuration
                 ^
FoundationNetworking.URLSession (internal):2:21: note: struct '_Configuration' does not conform to the 'Sendable' protocol
    internal struct _Configuration {
                    ^
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionProtocol.swift:10:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
import FoundationNetworking
^
@preconcurrency
FoundationNetworking.URLSession (fileprivate):3:21: warning: stored property 'multiHandle' of 'Sendable'-conforming class 'URLSession' has non-sendable type 'URLSession._MultiHandle'
    fileprivate let multiHandle: URLSession._MultiHandle
                    ^
FoundationNetworking.URLSession (internal):2:26: note: class '_MultiHandle' does not conform to the 'Sendable' protocol
    final internal class _MultiHandle {
                         ^
FoundationNetworking.URLSession (fileprivate):4:21: warning: stored property 'nextTaskIdentifier' of 'Sendable'-conforming class 'URLSession' is mutable
    fileprivate var nextTaskIdentifier: Int
                    ^
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionProtocol.swift:21:1: error: type 'URLSession' does not conform to protocol 'URLSessionProtocol'
extension URLSession: URLSessionProtocol {
^
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionProtocol.swift:18:10: note: protocol requires function 'data(for:delegate:)' with type '(URLRequest, (any URLSessionTaskDelegate)?) async throws -> (Data, URLResponse)'; add a stub for conformance
    func data(for request: URLRequest, delegate: (any URLSessionTaskDelegate)?) async throws -> (Data, URLResponse)
         ^
/host/spi-builder-workspace/Sources/OpenAI/Public/JSONSchema/JSONDocument.swift:27:1: warning: conformance to 'Sendable' must occur in the same source file as struct 'Decimal'; use '@unchecked Sendable' for retroactive conformance
extension Decimal: JSONDocument {}
^
[95/101] Compiling OpenAI AnyJSONDocument.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionProtocol.swift:21:1: warning: conformance to 'Sendable' must occur in the same source file as class 'URLSession'; use '@unchecked Sendable' for retroactive conformance
extension URLSession: URLSessionProtocol {
^
FoundationNetworking.URLSession (internal):2:18: warning: stored property '_configuration' of 'Sendable'-conforming class 'URLSession' has non-sendable type 'URLSession._Configuration'
    internal let _configuration: URLSession._Configuration
                 ^
FoundationNetworking.URLSession (internal):2:21: note: struct '_Configuration' does not conform to the 'Sendable' protocol
    internal struct _Configuration {
                    ^
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionProtocol.swift:10:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
import FoundationNetworking
^
@preconcurrency
FoundationNetworking.URLSession (fileprivate):3:21: warning: stored property 'multiHandle' of 'Sendable'-conforming class 'URLSession' has non-sendable type 'URLSession._MultiHandle'
    fileprivate let multiHandle: URLSession._MultiHandle
                    ^
FoundationNetworking.URLSession (internal):2:26: note: class '_MultiHandle' does not conform to the 'Sendable' protocol
    final internal class _MultiHandle {
                         ^
FoundationNetworking.URLSession (fileprivate):4:21: warning: stored property 'nextTaskIdentifier' of 'Sendable'-conforming class 'URLSession' is mutable
    fileprivate var nextTaskIdentifier: Int
                    ^
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionProtocol.swift:21:1: error: type 'URLSession' does not conform to protocol 'URLSessionProtocol'
extension URLSession: URLSessionProtocol {
^
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionProtocol.swift:18:10: note: protocol requires function 'data(for:delegate:)' with type '(URLRequest, (any URLSessionTaskDelegate)?) async throws -> (Data, URLResponse)'; add a stub for conformance
    func data(for request: URLRequest, delegate: (any URLSessionTaskDelegate)?) async throws -> (Data, URLResponse)
         ^
/host/spi-builder-workspace/Sources/OpenAI/Public/JSONSchema/JSONDocument.swift:27:1: warning: conformance to 'Sendable' must occur in the same source file as struct 'Decimal'; use '@unchecked Sendable' for retroactive conformance
extension Decimal: JSONDocument {}
^
[96/101] Compiling OpenAI AnyJSONSchema.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionProtocol.swift:21:1: warning: conformance to 'Sendable' must occur in the same source file as class 'URLSession'; use '@unchecked Sendable' for retroactive conformance
extension URLSession: URLSessionProtocol {
^
FoundationNetworking.URLSession (internal):2:18: warning: stored property '_configuration' of 'Sendable'-conforming class 'URLSession' has non-sendable type 'URLSession._Configuration'
    internal let _configuration: URLSession._Configuration
                 ^
FoundationNetworking.URLSession (internal):2:21: note: struct '_Configuration' does not conform to the 'Sendable' protocol
    internal struct _Configuration {
                    ^
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionProtocol.swift:10:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
import FoundationNetworking
^
@preconcurrency
FoundationNetworking.URLSession (fileprivate):3:21: warning: stored property 'multiHandle' of 'Sendable'-conforming class 'URLSession' has non-sendable type 'URLSession._MultiHandle'
    fileprivate let multiHandle: URLSession._MultiHandle
                    ^
FoundationNetworking.URLSession (internal):2:26: note: class '_MultiHandle' does not conform to the 'Sendable' protocol
    final internal class _MultiHandle {
                         ^
FoundationNetworking.URLSession (fileprivate):4:21: warning: stored property 'nextTaskIdentifier' of 'Sendable'-conforming class 'URLSession' is mutable
    fileprivate var nextTaskIdentifier: Int
                    ^
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionProtocol.swift:21:1: error: type 'URLSession' does not conform to protocol 'URLSessionProtocol'
extension URLSession: URLSessionProtocol {
^
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionProtocol.swift:18:10: note: protocol requires function 'data(for:delegate:)' with type '(URLRequest, (any URLSessionTaskDelegate)?) async throws -> (Data, URLResponse)'; add a stub for conformance
    func data(for request: URLRequest, delegate: (any URLSessionTaskDelegate)?) async throws -> (Data, URLResponse)
         ^
/host/spi-builder-workspace/Sources/OpenAI/Public/JSONSchema/JSONDocument.swift:27:1: warning: conformance to 'Sendable' must occur in the same source file as struct 'Decimal'; use '@unchecked Sendable' for retroactive conformance
extension Decimal: JSONDocument {}
^
[97/101] Compiling OpenAI JSONDocument.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionProtocol.swift:21:1: warning: conformance to 'Sendable' must occur in the same source file as class 'URLSession'; use '@unchecked Sendable' for retroactive conformance
extension URLSession: URLSessionProtocol {
^
FoundationNetworking.URLSession (internal):2:18: warning: stored property '_configuration' of 'Sendable'-conforming class 'URLSession' has non-sendable type 'URLSession._Configuration'
    internal let _configuration: URLSession._Configuration
                 ^
FoundationNetworking.URLSession (internal):2:21: note: struct '_Configuration' does not conform to the 'Sendable' protocol
    internal struct _Configuration {
                    ^
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionProtocol.swift:10:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
import FoundationNetworking
^
@preconcurrency
FoundationNetworking.URLSession (fileprivate):3:21: warning: stored property 'multiHandle' of 'Sendable'-conforming class 'URLSession' has non-sendable type 'URLSession._MultiHandle'
    fileprivate let multiHandle: URLSession._MultiHandle
                    ^
FoundationNetworking.URLSession (internal):2:26: note: class '_MultiHandle' does not conform to the 'Sendable' protocol
    final internal class _MultiHandle {
                         ^
FoundationNetworking.URLSession (fileprivate):4:21: warning: stored property 'nextTaskIdentifier' of 'Sendable'-conforming class 'URLSession' is mutable
    fileprivate var nextTaskIdentifier: Int
                    ^
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionProtocol.swift:21:1: error: type 'URLSession' does not conform to protocol 'URLSessionProtocol'
extension URLSession: URLSessionProtocol {
^
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionProtocol.swift:18:10: note: protocol requires function 'data(for:delegate:)' with type '(URLRequest, (any URLSessionTaskDelegate)?) async throws -> (Data, URLResponse)'; add a stub for conformance
    func data(for request: URLRequest, delegate: (any URLSessionTaskDelegate)?) async throws -> (Data, URLResponse)
         ^
/host/spi-builder-workspace/Sources/OpenAI/Public/JSONSchema/JSONDocument.swift:27:1: warning: conformance to 'Sendable' must occur in the same source file as struct 'Decimal'; use '@unchecked Sendable' for retroactive conformance
extension Decimal: JSONDocument {}
^
[98/101] Compiling OpenAI JSONSchema.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionProtocol.swift:21:1: warning: conformance to 'Sendable' must occur in the same source file as class 'URLSession'; use '@unchecked Sendable' for retroactive conformance
extension URLSession: URLSessionProtocol {
^
FoundationNetworking.URLSession (internal):2:18: warning: stored property '_configuration' of 'Sendable'-conforming class 'URLSession' has non-sendable type 'URLSession._Configuration'
    internal let _configuration: URLSession._Configuration
                 ^
FoundationNetworking.URLSession (internal):2:21: note: struct '_Configuration' does not conform to the 'Sendable' protocol
    internal struct _Configuration {
                    ^
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionProtocol.swift:10:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
import FoundationNetworking
^
@preconcurrency
FoundationNetworking.URLSession (fileprivate):3:21: warning: stored property 'multiHandle' of 'Sendable'-conforming class 'URLSession' has non-sendable type 'URLSession._MultiHandle'
    fileprivate let multiHandle: URLSession._MultiHandle
                    ^
FoundationNetworking.URLSession (internal):2:26: note: class '_MultiHandle' does not conform to the 'Sendable' protocol
    final internal class _MultiHandle {
                         ^
FoundationNetworking.URLSession (fileprivate):4:21: warning: stored property 'nextTaskIdentifier' of 'Sendable'-conforming class 'URLSession' is mutable
    fileprivate var nextTaskIdentifier: Int
                    ^
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionProtocol.swift:21:1: error: type 'URLSession' does not conform to protocol 'URLSessionProtocol'
extension URLSession: URLSessionProtocol {
^
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionProtocol.swift:18:10: note: protocol requires function 'data(for:delegate:)' with type '(URLRequest, (any URLSessionTaskDelegate)?) async throws -> (Data, URLResponse)'; add a stub for conformance
    func data(for request: URLRequest, delegate: (any URLSessionTaskDelegate)?) async throws -> (Data, URLResponse)
         ^
/host/spi-builder-workspace/Sources/OpenAI/Public/JSONSchema/JSONDocument.swift:27:1: warning: conformance to 'Sendable' must occur in the same source file as struct 'Decimal'; use '@unchecked Sendable' for retroactive conformance
extension Decimal: JSONDocument {}
^
[99/101] Compiling OpenAI JSONSchemaField.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionProtocol.swift:21:1: warning: conformance to 'Sendable' must occur in the same source file as class 'URLSession'; use '@unchecked Sendable' for retroactive conformance
extension URLSession: URLSessionProtocol {
^
FoundationNetworking.URLSession (internal):2:18: warning: stored property '_configuration' of 'Sendable'-conforming class 'URLSession' has non-sendable type 'URLSession._Configuration'
    internal let _configuration: URLSession._Configuration
                 ^
FoundationNetworking.URLSession (internal):2:21: note: struct '_Configuration' does not conform to the 'Sendable' protocol
    internal struct _Configuration {
                    ^
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionProtocol.swift:10:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
import FoundationNetworking
^
@preconcurrency
FoundationNetworking.URLSession (fileprivate):3:21: warning: stored property 'multiHandle' of 'Sendable'-conforming class 'URLSession' has non-sendable type 'URLSession._MultiHandle'
    fileprivate let multiHandle: URLSession._MultiHandle
                    ^
FoundationNetworking.URLSession (internal):2:26: note: class '_MultiHandle' does not conform to the 'Sendable' protocol
    final internal class _MultiHandle {
                         ^
FoundationNetworking.URLSession (fileprivate):4:21: warning: stored property 'nextTaskIdentifier' of 'Sendable'-conforming class 'URLSession' is mutable
    fileprivate var nextTaskIdentifier: Int
                    ^
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionProtocol.swift:21:1: error: type 'URLSession' does not conform to protocol 'URLSessionProtocol'
extension URLSession: URLSessionProtocol {
^
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionProtocol.swift:18:10: note: protocol requires function 'data(for:delegate:)' with type '(URLRequest, (any URLSessionTaskDelegate)?) async throws -> (Data, URLResponse)'; add a stub for conformance
    func data(for request: URLRequest, delegate: (any URLSessionTaskDelegate)?) async throws -> (Data, URLResponse)
         ^
/host/spi-builder-workspace/Sources/OpenAI/Public/JSONSchema/JSONDocument.swift:27:1: warning: conformance to 'Sendable' must occur in the same source file as struct 'Decimal'; use '@unchecked Sendable' for retroactive conformance
extension Decimal: JSONDocument {}
^
[100/101] Compiling OpenAI JSONSchemaInstanceType.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionProtocol.swift:21:1: warning: conformance to 'Sendable' must occur in the same source file as class 'URLSession'; use '@unchecked Sendable' for retroactive conformance
extension URLSession: URLSessionProtocol {
^
FoundationNetworking.URLSession (internal):2:18: warning: stored property '_configuration' of 'Sendable'-conforming class 'URLSession' has non-sendable type 'URLSession._Configuration'
    internal let _configuration: URLSession._Configuration
                 ^
FoundationNetworking.URLSession (internal):2:21: note: struct '_Configuration' does not conform to the 'Sendable' protocol
    internal struct _Configuration {
                    ^
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionProtocol.swift:10:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
import FoundationNetworking
^
@preconcurrency
FoundationNetworking.URLSession (fileprivate):3:21: warning: stored property 'multiHandle' of 'Sendable'-conforming class 'URLSession' has non-sendable type 'URLSession._MultiHandle'
    fileprivate let multiHandle: URLSession._MultiHandle
                    ^
FoundationNetworking.URLSession (internal):2:26: note: class '_MultiHandle' does not conform to the 'Sendable' protocol
    final internal class _MultiHandle {
                         ^
FoundationNetworking.URLSession (fileprivate):4:21: warning: stored property 'nextTaskIdentifier' of 'Sendable'-conforming class 'URLSession' is mutable
    fileprivate var nextTaskIdentifier: Int
                    ^
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionProtocol.swift:21:1: error: type 'URLSession' does not conform to protocol 'URLSessionProtocol'
extension URLSession: URLSessionProtocol {
^
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionProtocol.swift:18:10: note: protocol requires function 'data(for:delegate:)' with type '(URLRequest, (any URLSessionTaskDelegate)?) async throws -> (Data, URLResponse)'; add a stub for conformance
    func data(for request: URLRequest, delegate: (any URLSessionTaskDelegate)?) async throws -> (Data, URLResponse)
         ^
/host/spi-builder-workspace/Sources/OpenAI/Public/JSONSchema/JSONDocument.swift:27:1: warning: conformance to 'Sendable' must occur in the same source file as struct 'Decimal'; use '@unchecked Sendable' for retroactive conformance
extension Decimal: JSONDocument {}
^
[101/101] Compiling OpenAI AssistantResult.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionProtocol.swift:21:1: warning: conformance to 'Sendable' must occur in the same source file as class 'URLSession'; use '@unchecked Sendable' for retroactive conformance
extension URLSession: URLSessionProtocol {
^
FoundationNetworking.URLSession (internal):2:18: warning: stored property '_configuration' of 'Sendable'-conforming class 'URLSession' has non-sendable type 'URLSession._Configuration'
    internal let _configuration: URLSession._Configuration
                 ^
FoundationNetworking.URLSession (internal):2:21: note: struct '_Configuration' does not conform to the 'Sendable' protocol
    internal struct _Configuration {
                    ^
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionProtocol.swift:10:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
import FoundationNetworking
^
@preconcurrency
FoundationNetworking.URLSession (fileprivate):3:21: warning: stored property 'multiHandle' of 'Sendable'-conforming class 'URLSession' has non-sendable type 'URLSession._MultiHandle'
    fileprivate let multiHandle: URLSession._MultiHandle
                    ^
FoundationNetworking.URLSession (internal):2:26: note: class '_MultiHandle' does not conform to the 'Sendable' protocol
    final internal class _MultiHandle {
                         ^
FoundationNetworking.URLSession (fileprivate):4:21: warning: stored property 'nextTaskIdentifier' of 'Sendable'-conforming class 'URLSession' is mutable
    fileprivate var nextTaskIdentifier: Int
                    ^
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionProtocol.swift:21:1: error: type 'URLSession' does not conform to protocol 'URLSessionProtocol'
extension URLSession: URLSessionProtocol {
^
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionProtocol.swift:18:10: note: protocol requires function 'data(for:delegate:)' with type '(URLRequest, (any URLSessionTaskDelegate)?) async throws -> (Data, URLResponse)'; add a stub for conformance
    func data(for request: URLRequest, delegate: (any URLSessionTaskDelegate)?) async throws -> (Data, URLResponse)
         ^
/host/spi-builder-workspace/Sources/OpenAI/Public/JSONSchema/JSONDocument.swift:27:1: warning: conformance to 'Sendable' must occur in the same source file as struct 'Decimal'; use '@unchecked Sendable' for retroactive conformance
extension Decimal: JSONDocument {}
^
error: fatalError
BUILD FAILURE 5.10 linux