Build Information
Failed to build OpenAI, reference main (40f3d6
), with Swift 5.10 for Linux on 28 Apr 2025 23:43:12 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-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: main
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
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
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 main
========================================
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-4606859-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
[3/89] 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 }
^
[4/89] 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 }
^
[5/89] 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 }
^
[6/89] 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 }
^
[7/89] 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 }
^
[8/89] 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 }
^
[9/89] 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 }
^
[10/89] 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 }
^
[11/89] 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 }
^
[12/89] 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 }
^
[13/89] 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 }
^
[14/89] 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 }
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[15/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
[16/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
[17/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
[18/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
[19/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
[20/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
[21/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
[22/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
[23/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
[24/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
[25/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
[26/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
[27/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
[28/101] 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 {}
^
[29/101] Compiling OpenAI ModelResult.swift
[30/101] Compiling OpenAI Models.swift
[31/101] Compiling OpenAI ModelsResult.swift
[32/101] Compiling OpenAI ModerationsQuery.swift
[33/101] Compiling OpenAI ModerationsResult.swift
[34/101] Compiling OpenAI RunResult.swift
[35/101] Compiling OpenAI RunRetrieveQuery.swift
[36/101] Compiling OpenAI RunRetrieveStepsResult.swift
[37/101] Compiling OpenAI RunToolOutputsQuery.swift
[38/101] Compiling OpenAI RunsQuery.swift
[39/101] Compiling OpenAI ThreadAddMessagesResult.swift
[40/101] Compiling OpenAI ThreadRunQuery.swift
[41/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 {}
^
[42/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 {}
^
[43/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 {}
^
[44/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 {}
^
[45/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 {}
^
[46/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 {}
^
[47/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 {}
^
[48/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 {}
^
[49/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 {}
^
[50/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 {}
^
[51/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 {}
^
[52/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 {}
^
[53/101] Compiling OpenAI EmbeddingsResult.swift
[54/101] Compiling OpenAI FilesQuery.swift
[55/101] Compiling OpenAI FilesResult.swift
[56/101] Compiling OpenAI FunctionDeclaration.swift
[57/101] Compiling OpenAI ImageEditsQuery.swift
[58/101] Compiling OpenAI ImageVariationsQuery.swift
[59/101] Compiling OpenAI ImagesQuery.swift
[60/101] Compiling OpenAI ImagesResult.swift
[61/101] Compiling OpenAI JSONSchemaConvertible.swift
[62/101] Compiling OpenAI JSONSchemaEnumConvertible.swift
[63/101] Compiling OpenAI MessageQuery.swift
[64/101] Compiling OpenAI ModelQuery.swift
[65/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
[66/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
[67/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
[68/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
[69/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
[70/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
[71/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
[72/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
[73/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
[74/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
[75/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
[76/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
[77/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
[78/101] Compiling OpenAI ThreadsMessagesResult.swift
[79/101] Compiling OpenAI ThreadsQuery.swift
[80/101] Compiling OpenAI ThreadsResult.swift
[81/101] Compiling OpenAI Tool.swift
[82/101] Compiling OpenAI CancellableRequest.swift
[83/101] Compiling OpenAI OpenAIAsync.swift
[84/101] Compiling OpenAI OpenAICombine.swift
[85/101] Compiling OpenAI OpenAIMiddleware.swift
[86/101] Compiling OpenAI OpenAIProtocol.swift
[87/101] Compiling OpenAI StreamableQuery.swift
[88/101] Compiling OpenAI ParsingOptions.swift
[89/101] Compiling OpenAI Utilities.swift
[90/101] Compiling OpenAI AssistantsQuery.swift
[91/101] Compiling OpenAI AssistantsResult.swift
[92/101] Compiling OpenAI AudioSpeechQuery.swift
[93/101] Compiling OpenAI AudioSpeechResult.swift
[94/101] Compiling OpenAI AudioTranscriptionQuery.swift
[95/101] Compiling OpenAI AudioTranscriptionResult.swift
[96/101] Compiling OpenAI AudioTranslationQuery.swift
[97/101] Compiling OpenAI AudioTranslationResult.swift
[98/101] Compiling OpenAI ChatQuery.swift
[99/101] Compiling OpenAI ChatResult.swift
[100/101] Compiling OpenAI ChatStreamResult.swift
[101/101] Compiling OpenAI EmbeddingsQuery.swift
error: fatalError
BUILD FAILURE 5.10 linux