Build Information
Failed to build OpenAI, reference main (80045f
), with Swift 5.10 for Linux on 9 Aug 2025 22:39:29 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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.65.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 80045fc Merge pull request #374 from piscue/add-gpt-5-models
Cloned https://github.com/MacPaw/OpenAI.git
Revision (git rev-parse @):
80045fcda7ba727a327eb0a525e983fd7a796c70
SUCCESS checkout https://github.com/MacPaw/OpenAI.git at 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-4609320-2":/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:c30bb8beee7254e839cc0142f4ae78578b8fc8e8159324cc3637097cc1b395b6
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Fetching https://github.com/apple/swift-openapi-runtime
[1/5698] Fetching swift-openapi-runtime
Fetched https://github.com/apple/swift-openapi-runtime from cache (0.44s)
Computing version for https://github.com/apple/swift-openapi-runtime
Computed https://github.com/apple/swift-openapi-runtime at 1.8.2 (0.42s)
Fetching https://github.com/apple/swift-http-types
[1/917] Fetching swift-http-types
Fetched https://github.com/apple/swift-http-types from cache (0.25s)
Computing version for https://github.com/apple/swift-http-types
Computed https://github.com/apple/swift-http-types at 1.4.0 (0.42s)
Creating working copy for https://github.com/apple/swift-http-types
Working copy of https://github.com/apple/swift-http-types resolved at 1.4.0
Creating working copy for https://github.com/apple/swift-openapi-runtime
Working copy of https://github.com/apple/swift-openapi-runtime resolved at 1.8.2
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/12] Compiling HTTPTypes ISOLatin1String.swift
[6/13] Compiling HTTPTypes HTTPResponse.swift
[7/13] Compiling HTTPTypes HTTPParsedFields.swift
[8/13] Compiling HTTPTypes HTTPRequest.swift
[9/13] Emitting module HTTPTypes
[10/13] Compiling HTTPTypes HTTPField.swift
[11/13] Compiling HTTPTypes HTTPFields.swift
[12/13] Compiling HTTPTypes HTTPFieldName.swift
[13/13] Compiling HTTPTypes NIOLock.swift
[15/75] Compiling OpenAPIRuntime FoundationExtensions.swift
[16/75] Compiling OpenAPIRuntime ParameterStyles.swift
[17/75] Compiling OpenAPIRuntime ServerVariable.swift
[18/75] Compiling OpenAPIRuntime URLExtensions.swift
[19/75] Compiling OpenAPIRuntime Deprecated.swift
[20/75] Compiling OpenAPIRuntime ClientError.swift
[21/75] Compiling OpenAPIRuntime CodingErrors.swift
[22/75] Compiling OpenAPIRuntime RuntimeError.swift
[23/75] Compiling OpenAPIRuntime ServerError.swift
[24/83] Emitting module OpenAPIRuntime
[25/83] Compiling OpenAPIRuntime Acceptable.swift
/host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/Base/OpenAPIValue.swift:19:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import class Foundation.NSNull
~~~~~~~~~~~~~~~~^
[26/83] Compiling OpenAPIRuntime Base64EncodedData.swift
/host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/Base/OpenAPIValue.swift:19:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import class Foundation.NSNull
~~~~~~~~~~~~~~~~^
[27/83] Compiling OpenAPIRuntime ByteUtilities.swift
/host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/Base/OpenAPIValue.swift:19:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import class Foundation.NSNull
~~~~~~~~~~~~~~~~^
[28/83] Compiling OpenAPIRuntime ContentDisposition.swift
/host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/Base/OpenAPIValue.swift:19:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import class Foundation.NSNull
~~~~~~~~~~~~~~~~^
[29/83] Compiling OpenAPIRuntime CopyOnWriteBox.swift
/host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/Base/OpenAPIValue.swift:19:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import class Foundation.NSNull
~~~~~~~~~~~~~~~~^
[30/83] Compiling OpenAPIRuntime OpenAPIMIMEType.swift
/host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/Base/OpenAPIValue.swift:19:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import class Foundation.NSNull
~~~~~~~~~~~~~~~~^
[31/83] Compiling OpenAPIRuntime OpenAPIValue.swift
/host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/Base/OpenAPIValue.swift:19:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import class Foundation.NSNull
~~~~~~~~~~~~~~~~^
[32/83] Compiling OpenAPIRuntime PrettyStringConvertible.swift
/host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/Base/OpenAPIValue.swift:19:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import class Foundation.NSNull
~~~~~~~~~~~~~~~~^
[33/83] Compiling OpenAPIRuntime UndocumentedPayload.swift
/host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/Base/OpenAPIValue.swift:19:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import class Foundation.NSNull
~~~~~~~~~~~~~~~~^
[34/83] Compiling OpenAPIRuntime URICodeCodingKey.swift
[35/83] Compiling OpenAPIRuntime URICoderConfiguration.swift
[36/83] Compiling OpenAPIRuntime URIEncodedNode.swift
[37/83] Compiling OpenAPIRuntime URIParsedTypes.swift
[38/83] Compiling OpenAPIRuntime URIDecoder.swift
[39/83] Compiling OpenAPIRuntime URIValueFromNodeDecoder+Keyed.swift
[40/83] Compiling OpenAPIRuntime URIValueFromNodeDecoder+Single.swift
[41/83] Compiling OpenAPIRuntime URIValueFromNodeDecoder+Unkeyed.swift
[42/83] Compiling OpenAPIRuntime MultipartFramesToBytesSequence.swift
[43/83] Compiling OpenAPIRuntime MultipartFramesToRawPartsSequence.swift
[44/83] Compiling OpenAPIRuntime MultipartInternalTypes.swift
[45/83] Compiling OpenAPIRuntime MultipartPublicTypes.swift
[46/83] Compiling OpenAPIRuntime MultipartPublicTypesExtensions.swift
[47/83] Compiling OpenAPIRuntime MultipartRawPartsToFramesSequence.swift
[48/83] Compiling OpenAPIRuntime MultipartValidation.swift
[49/83] Compiling OpenAPIRuntime OpenAPIMIMEType+Multipart.swift
[50/83] Compiling OpenAPIRuntime JSONLinesDecoding.swift
/host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/EventStreams/JSONLinesDecoding.swift:18:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import class Foundation.JSONDecoder
~~~~~~~~~~~~~~~~^
/host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/EventStreams/JSONLinesEncoding.swift:18:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import class Foundation.JSONEncoder
~~~~~~~~~~~~~~~~^
/host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/EventStreams/JSONSequenceDecoding.swift:18:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import class Foundation.JSONDecoder
~~~~~~~~~~~~~~~~^
/host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/EventStreams/JSONSequenceEncoding.swift:18:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import class Foundation.JSONEncoder
~~~~~~~~~~~~~~~~^
/host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/EventStreams/ServerSentEventsDecoding.swift:18:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import class Foundation.JSONDecoder
~~~~~~~~~~~~~~~~^
/host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/EventStreams/ServerSentEventsEncoding.swift:18:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import class Foundation.JSONEncoder
~~~~~~~~~~~~~~~~^
[51/83] Compiling OpenAPIRuntime JSONLinesEncoding.swift
/host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/EventStreams/JSONLinesDecoding.swift:18:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import class Foundation.JSONDecoder
~~~~~~~~~~~~~~~~^
/host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/EventStreams/JSONLinesEncoding.swift:18:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import class Foundation.JSONEncoder
~~~~~~~~~~~~~~~~^
/host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/EventStreams/JSONSequenceDecoding.swift:18:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import class Foundation.JSONDecoder
~~~~~~~~~~~~~~~~^
/host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/EventStreams/JSONSequenceEncoding.swift:18:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import class Foundation.JSONEncoder
~~~~~~~~~~~~~~~~^
/host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/EventStreams/ServerSentEventsDecoding.swift:18:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import class Foundation.JSONDecoder
~~~~~~~~~~~~~~~~^
/host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/EventStreams/ServerSentEventsEncoding.swift:18:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import class Foundation.JSONEncoder
~~~~~~~~~~~~~~~~^
[52/83] Compiling OpenAPIRuntime JSONSequenceDecoding.swift
/host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/EventStreams/JSONLinesDecoding.swift:18:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import class Foundation.JSONDecoder
~~~~~~~~~~~~~~~~^
/host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/EventStreams/JSONLinesEncoding.swift:18:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import class Foundation.JSONEncoder
~~~~~~~~~~~~~~~~^
/host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/EventStreams/JSONSequenceDecoding.swift:18:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import class Foundation.JSONDecoder
~~~~~~~~~~~~~~~~^
/host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/EventStreams/JSONSequenceEncoding.swift:18:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import class Foundation.JSONEncoder
~~~~~~~~~~~~~~~~^
/host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/EventStreams/ServerSentEventsDecoding.swift:18:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import class Foundation.JSONDecoder
~~~~~~~~~~~~~~~~^
/host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/EventStreams/ServerSentEventsEncoding.swift:18:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import class Foundation.JSONEncoder
~~~~~~~~~~~~~~~~^
[53/83] Compiling OpenAPIRuntime JSONSequenceEncoding.swift
/host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/EventStreams/JSONLinesDecoding.swift:18:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import class Foundation.JSONDecoder
~~~~~~~~~~~~~~~~^
/host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/EventStreams/JSONLinesEncoding.swift:18:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import class Foundation.JSONEncoder
~~~~~~~~~~~~~~~~^
/host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/EventStreams/JSONSequenceDecoding.swift:18:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import class Foundation.JSONDecoder
~~~~~~~~~~~~~~~~^
/host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/EventStreams/JSONSequenceEncoding.swift:18:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import class Foundation.JSONEncoder
~~~~~~~~~~~~~~~~^
/host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/EventStreams/ServerSentEventsDecoding.swift:18:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import class Foundation.JSONDecoder
~~~~~~~~~~~~~~~~^
/host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/EventStreams/ServerSentEventsEncoding.swift:18:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import class Foundation.JSONEncoder
~~~~~~~~~~~~~~~~^
[54/83] Compiling OpenAPIRuntime ServerSentEvents.swift
/host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/EventStreams/JSONLinesDecoding.swift:18:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import class Foundation.JSONDecoder
~~~~~~~~~~~~~~~~^
/host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/EventStreams/JSONLinesEncoding.swift:18:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import class Foundation.JSONEncoder
~~~~~~~~~~~~~~~~^
/host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/EventStreams/JSONSequenceDecoding.swift:18:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import class Foundation.JSONDecoder
~~~~~~~~~~~~~~~~^
/host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/EventStreams/JSONSequenceEncoding.swift:18:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import class Foundation.JSONEncoder
~~~~~~~~~~~~~~~~^
/host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/EventStreams/ServerSentEventsDecoding.swift:18:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import class Foundation.JSONDecoder
~~~~~~~~~~~~~~~~^
/host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/EventStreams/ServerSentEventsEncoding.swift:18:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import class Foundation.JSONEncoder
~~~~~~~~~~~~~~~~^
[55/83] Compiling OpenAPIRuntime ServerSentEventsDecoding.swift
/host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/EventStreams/JSONLinesDecoding.swift:18:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import class Foundation.JSONDecoder
~~~~~~~~~~~~~~~~^
/host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/EventStreams/JSONLinesEncoding.swift:18:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import class Foundation.JSONEncoder
~~~~~~~~~~~~~~~~^
/host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/EventStreams/JSONSequenceDecoding.swift:18:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import class Foundation.JSONDecoder
~~~~~~~~~~~~~~~~^
/host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/EventStreams/JSONSequenceEncoding.swift:18:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import class Foundation.JSONEncoder
~~~~~~~~~~~~~~~~^
/host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/EventStreams/ServerSentEventsDecoding.swift:18:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import class Foundation.JSONDecoder
~~~~~~~~~~~~~~~~^
/host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/EventStreams/ServerSentEventsEncoding.swift:18:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import class Foundation.JSONEncoder
~~~~~~~~~~~~~~~~^
[56/83] Compiling OpenAPIRuntime ServerSentEventsEncoding.swift
/host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/EventStreams/JSONLinesDecoding.swift:18:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import class Foundation.JSONDecoder
~~~~~~~~~~~~~~~~^
/host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/EventStreams/JSONLinesEncoding.swift:18:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import class Foundation.JSONEncoder
~~~~~~~~~~~~~~~~^
/host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/EventStreams/JSONSequenceDecoding.swift:18:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import class Foundation.JSONDecoder
~~~~~~~~~~~~~~~~^
/host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/EventStreams/JSONSequenceEncoding.swift:18:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import class Foundation.JSONEncoder
~~~~~~~~~~~~~~~~^
/host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/EventStreams/ServerSentEventsDecoding.swift:18:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import class Foundation.JSONDecoder
~~~~~~~~~~~~~~~~^
/host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/EventStreams/ServerSentEventsEncoding.swift:18:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import class Foundation.JSONEncoder
~~~~~~~~~~~~~~~~^
[57/83] Compiling OpenAPIRuntime AsyncSequenceCommon.swift
/host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/EventStreams/JSONLinesDecoding.swift:18:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import class Foundation.JSONDecoder
~~~~~~~~~~~~~~~~^
/host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/EventStreams/JSONLinesEncoding.swift:18:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import class Foundation.JSONEncoder
~~~~~~~~~~~~~~~~^
/host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/EventStreams/JSONSequenceDecoding.swift:18:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import class Foundation.JSONDecoder
~~~~~~~~~~~~~~~~^
/host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/EventStreams/JSONSequenceEncoding.swift:18:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import class Foundation.JSONEncoder
~~~~~~~~~~~~~~~~^
/host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/EventStreams/ServerSentEventsDecoding.swift:18:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import class Foundation.JSONDecoder
~~~~~~~~~~~~~~~~^
/host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/EventStreams/ServerSentEventsEncoding.swift:18:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import class Foundation.JSONEncoder
~~~~~~~~~~~~~~~~^
[58/83] Compiling OpenAPIRuntime ClientTransport.swift
/host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/EventStreams/JSONLinesDecoding.swift:18:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import class Foundation.JSONDecoder
~~~~~~~~~~~~~~~~^
/host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/EventStreams/JSONLinesEncoding.swift:18:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import class Foundation.JSONEncoder
~~~~~~~~~~~~~~~~^
/host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/EventStreams/JSONSequenceDecoding.swift:18:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import class Foundation.JSONDecoder
~~~~~~~~~~~~~~~~^
/host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/EventStreams/JSONSequenceEncoding.swift:18:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import class Foundation.JSONEncoder
~~~~~~~~~~~~~~~~^
/host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/EventStreams/ServerSentEventsDecoding.swift:18:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import class Foundation.JSONDecoder
~~~~~~~~~~~~~~~~^
/host/spi-builder-workspace/.build/checkouts/swift-openapi-runtime/Sources/OpenAPIRuntime/EventStreams/ServerSentEventsEncoding.swift:18:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import class Foundation.JSONEncoder
~~~~~~~~~~~~~~~~^
[59/83] Compiling OpenAPIRuntime WarningSuppressingAnnotations.swift
[60/83] Compiling OpenAPIRuntime CodableExtensions.swift
[61/83] Compiling OpenAPIRuntime Configuration.swift
[62/83] Compiling OpenAPIRuntime Converter+Client.swift
[63/83] Compiling OpenAPIRuntime Converter+Common.swift
[64/83] Compiling OpenAPIRuntime Converter+Server.swift
[65/83] Compiling OpenAPIRuntime Converter.swift
[66/83] Compiling OpenAPIRuntime CurrencyExtensions.swift
[67/83] Compiling OpenAPIRuntime ErrorExtensions.swift
[68/83] Compiling OpenAPIRuntime CurrencyTypes.swift
[69/83] Compiling OpenAPIRuntime ErrorHandlingMiddleware.swift
[70/83] Compiling OpenAPIRuntime HTTPBody.swift
[71/83] Compiling OpenAPIRuntime ServerTransport.swift
[72/83] Compiling OpenAPIRuntime UniversalClient.swift
[73/83] Compiling OpenAPIRuntime UniversalServer.swift
[74/83] Compiling OpenAPIRuntime MultipartBoundaryGenerator.swift
[75/83] Compiling OpenAPIRuntime MultipartBytesToFramesSequence.swift
[76/83] Compiling OpenAPIRuntime URIValueFromNodeDecoder.swift
[77/83] Compiling OpenAPIRuntime URIEncoder.swift
[78/83] Compiling OpenAPIRuntime URIValueToNodeEncoder+Keyed.swift
[79/83] Compiling OpenAPIRuntime URIValueToNodeEncoder+Single.swift
[80/83] Compiling OpenAPIRuntime URIValueToNodeEncoder+Unkeyed.swift
[81/83] Compiling OpenAPIRuntime URIValueToNodeEncoder.swift
[82/83] Compiling OpenAPIRuntime URIParser.swift
[83/83] Compiling OpenAPIRuntime URISerializer.swift
[85/211] Compiling OpenAI ServerSentEventsStreamParser.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionDataDelegateForwarder.swift:33:10: warning: sendability of function types in instance method 'urlSession(_:dataTask:didReceive:completionHandler:)' does not match requirement in protocol 'URLSessionDataDelegate'
func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping @Sendable (URLSession.ResponseDisposition) -> Void) {
^
FoundationNetworking.URLSessionDataDelegate:2:10: note: expected sendability to match requirement here
func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void)
^
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionDataDelegateForwarder.swift:11:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
import FoundationNetworking
^
@preconcurrency
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionDataDelegateForwarder.swift:29:10: warning: sendability of function types in instance method 'urlSession(_:didReceive:completionHandler:)' does not match requirement in protocol 'URLSessionDelegate'
func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping @Sendable (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
^
FoundationNetworking.URLSessionDelegate:3:10: note: expected sendability to match requirement here
func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void)
^
/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)
^
[86/211] Compiling OpenAI ServerSentEventsStreamingSessionFactory.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionDataDelegateForwarder.swift:33:10: warning: sendability of function types in instance method 'urlSession(_:dataTask:didReceive:completionHandler:)' does not match requirement in protocol 'URLSessionDataDelegate'
func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping @Sendable (URLSession.ResponseDisposition) -> Void) {
^
FoundationNetworking.URLSessionDataDelegate:2:10: note: expected sendability to match requirement here
func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void)
^
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionDataDelegateForwarder.swift:11:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
import FoundationNetworking
^
@preconcurrency
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionDataDelegateForwarder.swift:29:10: warning: sendability of function types in instance method 'urlSession(_:didReceive:completionHandler:)' does not match requirement in protocol 'URLSessionDelegate'
func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping @Sendable (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
^
FoundationNetworking.URLSessionDelegate:3:10: note: expected sendability to match requirement here
func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void)
^
/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)
^
[87/211] Compiling OpenAI SessionInvalidator.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionDataDelegateForwarder.swift:33:10: warning: sendability of function types in instance method 'urlSession(_:dataTask:didReceive:completionHandler:)' does not match requirement in protocol 'URLSessionDataDelegate'
func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping @Sendable (URLSession.ResponseDisposition) -> Void) {
^
FoundationNetworking.URLSessionDataDelegate:2:10: note: expected sendability to match requirement here
func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void)
^
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionDataDelegateForwarder.swift:11:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
import FoundationNetworking
^
@preconcurrency
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionDataDelegateForwarder.swift:29:10: warning: sendability of function types in instance method 'urlSession(_:didReceive:completionHandler:)' does not match requirement in protocol 'URLSessionDelegate'
func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping @Sendable (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
^
FoundationNetworking.URLSessionDelegate:3:10: note: expected sendability to match requirement here
func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void)
^
/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)
^
[88/211] Compiling OpenAI StreamingError.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionDataDelegateForwarder.swift:33:10: warning: sendability of function types in instance method 'urlSession(_:dataTask:didReceive:completionHandler:)' does not match requirement in protocol 'URLSessionDataDelegate'
func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping @Sendable (URLSession.ResponseDisposition) -> Void) {
^
FoundationNetworking.URLSessionDataDelegate:2:10: note: expected sendability to match requirement here
func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void)
^
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionDataDelegateForwarder.swift:11:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
import FoundationNetworking
^
@preconcurrency
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionDataDelegateForwarder.swift:29:10: warning: sendability of function types in instance method 'urlSession(_:didReceive:completionHandler:)' does not match requirement in protocol 'URLSessionDelegate'
func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping @Sendable (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
^
FoundationNetworking.URLSessionDelegate:3:10: note: expected sendability to match requirement here
func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void)
^
/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)
^
[89/211] Compiling OpenAI StreamingSession.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionDataDelegateForwarder.swift:33:10: warning: sendability of function types in instance method 'urlSession(_:dataTask:didReceive:completionHandler:)' does not match requirement in protocol 'URLSessionDataDelegate'
func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping @Sendable (URLSession.ResponseDisposition) -> Void) {
^
FoundationNetworking.URLSessionDataDelegate:2:10: note: expected sendability to match requirement here
func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void)
^
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionDataDelegateForwarder.swift:11:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
import FoundationNetworking
^
@preconcurrency
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionDataDelegateForwarder.swift:29:10: warning: sendability of function types in instance method 'urlSession(_:didReceive:completionHandler:)' does not match requirement in protocol 'URLSessionDelegate'
func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping @Sendable (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
^
FoundationNetworking.URLSessionDelegate:3:10: note: expected sendability to match requirement here
func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void)
^
/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)
^
[90/211] Compiling OpenAI URLBuilder.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionDataDelegateForwarder.swift:33:10: warning: sendability of function types in instance method 'urlSession(_:dataTask:didReceive:completionHandler:)' does not match requirement in protocol 'URLSessionDataDelegate'
func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping @Sendable (URLSession.ResponseDisposition) -> Void) {
^
FoundationNetworking.URLSessionDataDelegate:2:10: note: expected sendability to match requirement here
func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void)
^
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionDataDelegateForwarder.swift:11:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
import FoundationNetworking
^
@preconcurrency
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionDataDelegateForwarder.swift:29:10: warning: sendability of function types in instance method 'urlSession(_:didReceive:completionHandler:)' does not match requirement in protocol 'URLSessionDelegate'
func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping @Sendable (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
^
FoundationNetworking.URLSessionDelegate:3:10: note: expected sendability to match requirement here
func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void)
^
/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)
^
[91/211] Compiling OpenAI URLComponents+.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionDataDelegateForwarder.swift:33:10: warning: sendability of function types in instance method 'urlSession(_:dataTask:didReceive:completionHandler:)' does not match requirement in protocol 'URLSessionDataDelegate'
func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping @Sendable (URLSession.ResponseDisposition) -> Void) {
^
FoundationNetworking.URLSessionDataDelegate:2:10: note: expected sendability to match requirement here
func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void)
^
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionDataDelegateForwarder.swift:11:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
import FoundationNetworking
^
@preconcurrency
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionDataDelegateForwarder.swift:29:10: warning: sendability of function types in instance method 'urlSession(_:didReceive:completionHandler:)' does not match requirement in protocol 'URLSessionDelegate'
func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping @Sendable (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
^
FoundationNetworking.URLSessionDelegate:3:10: note: expected sendability to match requirement here
func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void)
^
/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)
^
[92/211] Compiling OpenAI URLRequestBuildable.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionDataDelegateForwarder.swift:33:10: warning: sendability of function types in instance method 'urlSession(_:dataTask:didReceive:completionHandler:)' does not match requirement in protocol 'URLSessionDataDelegate'
func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping @Sendable (URLSession.ResponseDisposition) -> Void) {
^
FoundationNetworking.URLSessionDataDelegate:2:10: note: expected sendability to match requirement here
func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void)
^
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionDataDelegateForwarder.swift:11:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
import FoundationNetworking
^
@preconcurrency
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionDataDelegateForwarder.swift:29:10: warning: sendability of function types in instance method 'urlSession(_:didReceive:completionHandler:)' does not match requirement in protocol 'URLSessionDelegate'
func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping @Sendable (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
^
FoundationNetworking.URLSessionDelegate:3:10: note: expected sendability to match requirement here
func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void)
^
/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)
^
[93/211] Compiling OpenAI URLResponseHandler.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionDataDelegateForwarder.swift:33:10: warning: sendability of function types in instance method 'urlSession(_:dataTask:didReceive:completionHandler:)' does not match requirement in protocol 'URLSessionDataDelegate'
func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping @Sendable (URLSession.ResponseDisposition) -> Void) {
^
FoundationNetworking.URLSessionDataDelegate:2:10: note: expected sendability to match requirement here
func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void)
^
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionDataDelegateForwarder.swift:11:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
import FoundationNetworking
^
@preconcurrency
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionDataDelegateForwarder.swift:29:10: warning: sendability of function types in instance method 'urlSession(_:didReceive:completionHandler:)' does not match requirement in protocol 'URLSessionDelegate'
func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping @Sendable (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
^
FoundationNetworking.URLSessionDelegate:3:10: note: expected sendability to match requirement here
func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void)
^
/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)
^
[94/211] Compiling OpenAI URLSessionCombine.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionDataDelegateForwarder.swift:33:10: warning: sendability of function types in instance method 'urlSession(_:dataTask:didReceive:completionHandler:)' does not match requirement in protocol 'URLSessionDataDelegate'
func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping @Sendable (URLSession.ResponseDisposition) -> Void) {
^
FoundationNetworking.URLSessionDataDelegate:2:10: note: expected sendability to match requirement here
func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void)
^
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionDataDelegateForwarder.swift:11:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
import FoundationNetworking
^
@preconcurrency
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionDataDelegateForwarder.swift:29:10: warning: sendability of function types in instance method 'urlSession(_:didReceive:completionHandler:)' does not match requirement in protocol 'URLSessionDelegate'
func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping @Sendable (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
^
FoundationNetworking.URLSessionDelegate:3:10: note: expected sendability to match requirement here
func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void)
^
/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)
^
[95/211] Compiling OpenAI URLSessionDataDelegateForwarder.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionDataDelegateForwarder.swift:33:10: warning: sendability of function types in instance method 'urlSession(_:dataTask:didReceive:completionHandler:)' does not match requirement in protocol 'URLSessionDataDelegate'
func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping @Sendable (URLSession.ResponseDisposition) -> Void) {
^
FoundationNetworking.URLSessionDataDelegate:2:10: note: expected sendability to match requirement here
func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void)
^
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionDataDelegateForwarder.swift:11:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
import FoundationNetworking
^
@preconcurrency
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionDataDelegateForwarder.swift:29:10: warning: sendability of function types in instance method 'urlSession(_:didReceive:completionHandler:)' does not match requirement in protocol 'URLSessionDelegate'
func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping @Sendable (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
^
FoundationNetworking.URLSessionDelegate:3:10: note: expected sendability to match requirement here
func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void)
^
/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)
^
[96/211] Compiling OpenAI URLSessionDataTaskProtocol.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionDataDelegateForwarder.swift:33:10: warning: sendability of function types in instance method 'urlSession(_:dataTask:didReceive:completionHandler:)' does not match requirement in protocol 'URLSessionDataDelegate'
func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping @Sendable (URLSession.ResponseDisposition) -> Void) {
^
FoundationNetworking.URLSessionDataDelegate:2:10: note: expected sendability to match requirement here
func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void)
^
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionDataDelegateForwarder.swift:11:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
import FoundationNetworking
^
@preconcurrency
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionDataDelegateForwarder.swift:29:10: warning: sendability of function types in instance method 'urlSession(_:didReceive:completionHandler:)' does not match requirement in protocol 'URLSessionDelegate'
func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping @Sendable (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
^
FoundationNetworking.URLSessionDelegate:3:10: note: expected sendability to match requirement here
func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void)
^
/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)
^
[97/211] Compiling OpenAI URLSessionDataTaskPublisherProtocol.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionDataDelegateForwarder.swift:33:10: warning: sendability of function types in instance method 'urlSession(_:dataTask:didReceive:completionHandler:)' does not match requirement in protocol 'URLSessionDataDelegate'
func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping @Sendable (URLSession.ResponseDisposition) -> Void) {
^
FoundationNetworking.URLSessionDataDelegate:2:10: note: expected sendability to match requirement here
func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void)
^
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionDataDelegateForwarder.swift:11:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
import FoundationNetworking
^
@preconcurrency
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionDataDelegateForwarder.swift:29:10: warning: sendability of function types in instance method 'urlSession(_:didReceive:completionHandler:)' does not match requirement in protocol 'URLSessionDelegate'
func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping @Sendable (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
^
FoundationNetworking.URLSessionDelegate:3:10: note: expected sendability to match requirement here
func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void)
^
/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)
^
[98/211] Compiling OpenAI URLSessionDataTaskStore.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionDataDelegateForwarder.swift:33:10: warning: sendability of function types in instance method 'urlSession(_:dataTask:didReceive:completionHandler:)' does not match requirement in protocol 'URLSessionDataDelegate'
func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping @Sendable (URLSession.ResponseDisposition) -> Void) {
^
FoundationNetworking.URLSessionDataDelegate:2:10: note: expected sendability to match requirement here
func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void)
^
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionDataDelegateForwarder.swift:11:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
import FoundationNetworking
^
@preconcurrency
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionDataDelegateForwarder.swift:29:10: warning: sendability of function types in instance method 'urlSession(_:didReceive:completionHandler:)' does not match requirement in protocol 'URLSessionDelegate'
func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping @Sendable (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
^
FoundationNetworking.URLSessionDelegate:3:10: note: expected sendability to match requirement here
func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void)
^
/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)
^
[99/211] Compiling OpenAI URLSessionDelegateProtocol.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionDataDelegateForwarder.swift:33:10: warning: sendability of function types in instance method 'urlSession(_:dataTask:didReceive:completionHandler:)' does not match requirement in protocol 'URLSessionDataDelegate'
func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping @Sendable (URLSession.ResponseDisposition) -> Void) {
^
FoundationNetworking.URLSessionDataDelegate:2:10: note: expected sendability to match requirement here
func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void)
^
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionDataDelegateForwarder.swift:11:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
import FoundationNetworking
^
@preconcurrency
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionDataDelegateForwarder.swift:29:10: warning: sendability of function types in instance method 'urlSession(_:didReceive:completionHandler:)' does not match requirement in protocol 'URLSessionDelegate'
func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping @Sendable (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
^
FoundationNetworking.URLSessionDelegate:3:10: note: expected sendability to match requirement here
func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void)
^
/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)
^
[100/211] Compiling OpenAI URLSessionFactory.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionDataDelegateForwarder.swift:33:10: warning: sendability of function types in instance method 'urlSession(_:dataTask:didReceive:completionHandler:)' does not match requirement in protocol 'URLSessionDataDelegate'
func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping @Sendable (URLSession.ResponseDisposition) -> Void) {
^
FoundationNetworking.URLSessionDataDelegate:2:10: note: expected sendability to match requirement here
func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void)
^
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionDataDelegateForwarder.swift:11:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
import FoundationNetworking
^
@preconcurrency
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionDataDelegateForwarder.swift:29:10: warning: sendability of function types in instance method 'urlSession(_:didReceive:completionHandler:)' does not match requirement in protocol 'URLSessionDelegate'
func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping @Sendable (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
^
FoundationNetworking.URLSessionDelegate:3:10: note: expected sendability to match requirement here
func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void)
^
/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)
^
[101/211] Compiling OpenAI URLSessionProtocol+MakeDataTask.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionDataDelegateForwarder.swift:33:10: warning: sendability of function types in instance method 'urlSession(_:dataTask:didReceive:completionHandler:)' does not match requirement in protocol 'URLSessionDataDelegate'
func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping @Sendable (URLSession.ResponseDisposition) -> Void) {
^
FoundationNetworking.URLSessionDataDelegate:2:10: note: expected sendability to match requirement here
func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void)
^
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionDataDelegateForwarder.swift:11:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
import FoundationNetworking
^
@preconcurrency
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionDataDelegateForwarder.swift:29:10: warning: sendability of function types in instance method 'urlSession(_:didReceive:completionHandler:)' does not match requirement in protocol 'URLSessionDelegate'
func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping @Sendable (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
^
FoundationNetworking.URLSessionDelegate:3:10: note: expected sendability to match requirement here
func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void)
^
/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)
^
[102/211] Compiling OpenAI URLSessionProtocol.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionDataDelegateForwarder.swift:33:10: warning: sendability of function types in instance method 'urlSession(_:dataTask:didReceive:completionHandler:)' does not match requirement in protocol 'URLSessionDataDelegate'
func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping @Sendable (URLSession.ResponseDisposition) -> Void) {
^
FoundationNetworking.URLSessionDataDelegate:2:10: note: expected sendability to match requirement here
func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void)
^
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionDataDelegateForwarder.swift:11:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
import FoundationNetworking
^
@preconcurrency
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionDataDelegateForwarder.swift:29:10: warning: sendability of function types in instance method 'urlSession(_:didReceive:completionHandler:)' does not match requirement in protocol 'URLSessionDelegate'
func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping @Sendable (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
^
FoundationNetworking.URLSessionDelegate:3:10: note: expected sendability to match requirement here
func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void)
^
/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)
^
[103/229] Compiling OpenAI RunsQuery.swift
[104/229] Compiling OpenAI ThreadAddMessagesResult.swift
[105/229] Compiling OpenAI ThreadRunQuery.swift
[106/229] Compiling OpenAI ThreadsMessagesResult.swift
[107/229] Compiling OpenAI ThreadsQuery.swift
[108/229] Compiling OpenAI ThreadsResult.swift
[109/229] Compiling OpenAI ChatQueryWebSearchOptions.swift
[110/229] Compiling OpenAI JSONSchemaDefinition.swift
[111/229] Compiling OpenAI ServiceTier.swift
[112/229] Compiling OpenAI CancellableRequest.swift
[113/229] Compiling OpenAI OpenAIAsync.swift
[114/229] Compiling OpenAI OpenAICombine.swift
[115/229] Compiling OpenAI OpenAIMiddleware.swift
[116/229] Compiling OpenAI OpenAIProtocol.swift
[117/229] Compiling OpenAI ResponsesEndpointAsync.swift
[118/229] Compiling OpenAI ResponsesEndpointCombine.swift
[119/229] Compiling OpenAI ResponsesEndpointModern.swift
[120/229] Compiling OpenAI ResponsesEndpointProtocol.swift
[121/229] Compiling OpenAI URLSessionTaskCanceller.swift
/host/spi-builder-workspace/Sources/OpenAI/Public/JSONSchema/JSONDocument.swift:24:1: warning: conformance to 'Sendable' must occur in the same source file as struct 'Decimal'; use '@unchecked Sendable' for retroactive conformance
extension Decimal: JSONDocument {}
^
[122/229] Compiling OpenAI APIError.swift
/host/spi-builder-workspace/Sources/OpenAI/Public/JSONSchema/JSONDocument.swift:24:1: warning: conformance to 'Sendable' must occur in the same source file as struct 'Decimal'; use '@unchecked Sendable' for retroactive conformance
extension Decimal: JSONDocument {}
^
[123/229] Compiling OpenAI GeminiAPIError.swift
/host/spi-builder-workspace/Sources/OpenAI/Public/JSONSchema/JSONDocument.swift:24:1: warning: conformance to 'Sendable' must occur in the same source file as struct 'Decimal'; use '@unchecked Sendable' for retroactive conformance
extension Decimal: JSONDocument {}
^
[124/229] Compiling OpenAI AnyJSONDocument.swift
/host/spi-builder-workspace/Sources/OpenAI/Public/JSONSchema/JSONDocument.swift:24:1: warning: conformance to 'Sendable' must occur in the same source file as struct 'Decimal'; use '@unchecked Sendable' for retroactive conformance
extension Decimal: JSONDocument {}
^
[125/229] Compiling OpenAI JSONDocument.swift
/host/spi-builder-workspace/Sources/OpenAI/Public/JSONSchema/JSONDocument.swift:24:1: warning: conformance to 'Sendable' must occur in the same source file as struct 'Decimal'; use '@unchecked Sendable' for retroactive conformance
extension Decimal: JSONDocument {}
^
[126/229] Compiling OpenAI JSONSchema.swift
/host/spi-builder-workspace/Sources/OpenAI/Public/JSONSchema/JSONDocument.swift:24:1: warning: conformance to 'Sendable' must occur in the same source file as struct 'Decimal'; use '@unchecked Sendable' for retroactive conformance
extension Decimal: JSONDocument {}
^
[127/229] Compiling OpenAI JSONSchemaField.swift
/host/spi-builder-workspace/Sources/OpenAI/Public/JSONSchema/JSONDocument.swift:24:1: warning: conformance to 'Sendable' must occur in the same source file as struct 'Decimal'; use '@unchecked Sendable' for retroactive conformance
extension Decimal: JSONDocument {}
^
[128/229] Compiling OpenAI JSONSchemaInstanceType.swift
/host/spi-builder-workspace/Sources/OpenAI/Public/JSONSchema/JSONDocument.swift:24:1: warning: conformance to 'Sendable' must occur in the same source file as struct 'Decimal'; use '@unchecked Sendable' for retroactive conformance
extension Decimal: JSONDocument {}
^
[129/229] Compiling OpenAI JSONSchemaConvertationError.swift
/host/spi-builder-workspace/Sources/OpenAI/Public/JSONSchema/JSONDocument.swift:24:1: warning: conformance to 'Sendable' must occur in the same source file as struct 'Decimal'; use '@unchecked Sendable' for retroactive conformance
extension Decimal: JSONDocument {}
^
[130/229] Compiling OpenAI JSONSchemaConvertible.swift
/host/spi-builder-workspace/Sources/OpenAI/Public/JSONSchema/JSONDocument.swift:24:1: warning: conformance to 'Sendable' must occur in the same source file as struct 'Decimal'; use '@unchecked Sendable' for retroactive conformance
extension Decimal: JSONDocument {}
^
[131/229] Compiling OpenAI JSONSchemaEnumConvertible.swift
/host/spi-builder-workspace/Sources/OpenAI/Public/JSONSchema/JSONDocument.swift:24:1: warning: conformance to 'Sendable' must occur in the same source file as struct 'Decimal'; use '@unchecked Sendable' for retroactive conformance
extension Decimal: JSONDocument {}
^
[132/229] Compiling OpenAI AssistantResult.swift
/host/spi-builder-workspace/Sources/OpenAI/Public/JSONSchema/JSONDocument.swift:24:1: warning: conformance to 'Sendable' must occur in the same source file as struct 'Decimal'; use '@unchecked Sendable' for retroactive conformance
extension Decimal: JSONDocument {}
^
[133/229] Compiling OpenAI AssistantsQuery.swift
/host/spi-builder-workspace/Sources/OpenAI/Public/JSONSchema/JSONDocument.swift:24:1: warning: conformance to 'Sendable' must occur in the same source file as struct 'Decimal'; use '@unchecked Sendable' for retroactive conformance
extension Decimal: JSONDocument {}
^
[134/229] Compiling OpenAI AssistantsResult.swift
/host/spi-builder-workspace/Sources/OpenAI/Public/JSONSchema/JSONDocument.swift:24:1: warning: conformance to 'Sendable' must occur in the same source file as struct 'Decimal'; use '@unchecked Sendable' for retroactive conformance
extension Decimal: JSONDocument {}
^
[135/229] Compiling OpenAI AssistantsTool.swift
/host/spi-builder-workspace/Sources/OpenAI/Public/JSONSchema/JSONDocument.swift:24:1: warning: conformance to 'Sendable' must occur in the same source file as struct 'Decimal'; use '@unchecked Sendable' for retroactive conformance
extension Decimal: JSONDocument {}
^
[136/229] Compiling OpenAI AudioSpeechQuery.swift
/host/spi-builder-workspace/Sources/OpenAI/Public/JSONSchema/JSONDocument.swift:24:1: warning: conformance to 'Sendable' must occur in the same source file as struct 'Decimal'; use '@unchecked Sendable' for retroactive conformance
extension Decimal: JSONDocument {}
^
[137/229] Compiling OpenAI AudioSpeechResult.swift
/host/spi-builder-workspace/Sources/OpenAI/Public/JSONSchema/JSONDocument.swift:24:1: warning: conformance to 'Sendable' must occur in the same source file as struct 'Decimal'; use '@unchecked Sendable' for retroactive conformance
extension Decimal: JSONDocument {}
^
[138/229] Compiling OpenAI AudioTranscriptionQuery.swift
/host/spi-builder-workspace/Sources/OpenAI/Public/JSONSchema/JSONDocument.swift:24: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: emit-module command failed with exit code 1 (use -v to see invocation)
[139/229] 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/JSONRequest.swift:16:9: warning: stored property 'url' of 'Sendable'-conforming generic class 'JSONRequest' has non-sendable type 'URL'
let url: URL
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/OpenAI/Private/JSONRequest.swift:8:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/OpenAI/Private/MultipartFormDataRequest.swift:16:9: warning: stored property 'url' of 'Sendable'-conforming generic class 'MultipartFormDataRequest' has non-sendable type 'URL'
let url: URL
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/OpenAI/Private/MultipartFormDataRequest.swift:8:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
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/URLSessionDataDelegateForwarder.swift:33:10: warning: sendability of function types in instance method 'urlSession(_:dataTask:didReceive:completionHandler:)' does not match requirement in protocol 'URLSessionDataDelegate'
func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping @Sendable (URLSession.ResponseDisposition) -> Void) {
^
FoundationNetworking.URLSessionDataDelegate:2:10: note: expected sendability to match requirement here
func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void)
^
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionDataDelegateForwarder.swift:11:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
import FoundationNetworking
^
@preconcurrency
/host/spi-builder-workspace/Sources/OpenAI/Private/URLSessionDataDelegateForwarder.swift:29:10: warning: sendability of function types in instance method 'urlSession(_:didReceive:completionHandler:)' does not match requirement in protocol 'URLSessionDelegate'
func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping @Sendable (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
^
FoundationNetworking.URLSessionDelegate:3:10: note: expected sendability to match requirement here
func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void)
^
/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:24:1: warning: conformance to 'Sendable' must occur in the same source file as struct 'Decimal'; use '@unchecked Sendable' for retroactive conformance
extension Decimal: JSONDocument {}
^
[140/229] 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
/host/spi-builder-workspace/Sources/OpenAI/Private/JSONRequest.swift:16:9: warning: stored property 'url' of 'Sendable'-conforming generic class 'JSONRequest' has non-sendable type 'URL'
let url: URL
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/OpenAI/Private/JSONRequest.swift:8:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
[141/229] 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
/host/spi-builder-workspace/Sources/OpenAI/Private/JSONRequest.swift:16:9: warning: stored property 'url' of 'Sendable'-conforming generic class 'JSONRequest' has non-sendable type 'URL'
let url: URL
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/OpenAI/Private/JSONRequest.swift:8:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
[142/229] 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
/host/spi-builder-workspace/Sources/OpenAI/Private/JSONRequest.swift:16:9: warning: stored property 'url' of 'Sendable'-conforming generic class 'JSONRequest' has non-sendable type 'URL'
let url: URL
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/OpenAI/Private/JSONRequest.swift:8:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
[143/229] 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
/host/spi-builder-workspace/Sources/OpenAI/Private/JSONRequest.swift:16:9: warning: stored property 'url' of 'Sendable'-conforming generic class 'JSONRequest' has non-sendable type 'URL'
let url: URL
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/OpenAI/Private/JSONRequest.swift:8:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
[144/229] 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
/host/spi-builder-workspace/Sources/OpenAI/Private/JSONRequest.swift:16:9: warning: stored property 'url' of 'Sendable'-conforming generic class 'JSONRequest' has non-sendable type 'URL'
let url: URL
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/OpenAI/Private/JSONRequest.swift:8:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
[145/229] Compiling OpenAI AsyncClient.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
/host/spi-builder-workspace/Sources/OpenAI/Private/JSONRequest.swift:16:9: warning: stored property 'url' of 'Sendable'-conforming generic class 'JSONRequest' has non-sendable type 'URL'
let url: URL
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/OpenAI/Private/JSONRequest.swift:8:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
[146/229] Compiling OpenAI Client.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
/host/spi-builder-workspace/Sources/OpenAI/Private/JSONRequest.swift:16:9: warning: stored property 'url' of 'Sendable'-conforming generic class 'JSONRequest' has non-sendable type 'URL'
let url: URL
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/OpenAI/Private/JSONRequest.swift:8:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
[147/229] Compiling OpenAI CombineClient.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
/host/spi-builder-workspace/Sources/OpenAI/Private/JSONRequest.swift:16:9: warning: stored property 'url' of 'Sendable'-conforming generic class 'JSONRequest' has non-sendable type 'URL'
let url: URL
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/OpenAI/Private/JSONRequest.swift:8:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
[148/229] Compiling OpenAI StreamingClient.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
/host/spi-builder-workspace/Sources/OpenAI/Private/JSONRequest.swift:16:9: warning: stored property 'url' of 'Sendable'-conforming generic class 'JSONRequest' has non-sendable type 'URL'
let url: URL
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/OpenAI/Private/JSONRequest.swift:8:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
[149/229] 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
/host/spi-builder-workspace/Sources/OpenAI/Private/JSONRequest.swift:16:9: warning: stored property 'url' of 'Sendable'-conforming generic class 'JSONRequest' has non-sendable type 'URL'
let url: URL
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/OpenAI/Private/JSONRequest.swift:8:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
[150/229] Compiling OpenAI DataTaskFactory.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
/host/spi-builder-workspace/Sources/OpenAI/Private/JSONRequest.swift:16:9: warning: stored property 'url' of 'Sendable'-conforming generic class 'JSONRequest' has non-sendable type 'URL'
let url: URL
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/OpenAI/Private/JSONRequest.swift:8:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
[151/229] Compiling OpenAI DescribedError.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
/host/spi-builder-workspace/Sources/OpenAI/Private/JSONRequest.swift:16:9: warning: stored property 'url' of 'Sendable'-conforming generic class 'JSONRequest' has non-sendable type 'URL'
let url: URL
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/OpenAI/Private/JSONRequest.swift:8:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
[152/229] 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
/host/spi-builder-workspace/Sources/OpenAI/Private/JSONRequest.swift:16:9: warning: stored property 'url' of 'Sendable'-conforming generic class 'JSONRequest' has non-sendable type 'URL'
let url: URL
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/OpenAI/Private/JSONRequest.swift:8:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
[153/229] 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
/host/spi-builder-workspace/Sources/OpenAI/Private/JSONRequest.swift:16:9: warning: stored property 'url' of 'Sendable'-conforming generic class 'JSONRequest' has non-sendable type 'URL'
let url: URL
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/OpenAI/Private/JSONRequest.swift:8:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
[154/229] Compiling OpenAI Schemas+Description.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
/host/spi-builder-workspace/Sources/OpenAI/Private/JSONRequest.swift:16:9: warning: stored property 'url' of 'Sendable'-conforming generic class 'JSONRequest' has non-sendable type 'URL'
let url: URL
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/OpenAI/Private/JSONRequest.swift:8:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
[155/229] 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
/host/spi-builder-workspace/Sources/OpenAI/Private/JSONRequest.swift:16:9: warning: stored property 'url' of 'Sendable'-conforming generic class 'JSONRequest' has non-sendable type 'URL'
let url: URL
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/OpenAI/Private/JSONRequest.swift:8:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
[156/229] Compiling OpenAI JSONResponseDecoder.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
/host/spi-builder-workspace/Sources/OpenAI/Private/JSONRequest.swift:16:9: warning: stored property 'url' of 'Sendable'-conforming generic class 'JSONRequest' has non-sendable type 'URL'
let url: URL
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/OpenAI/Private/JSONRequest.swift:8:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
[157/229] 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
/host/spi-builder-workspace/Sources/OpenAI/Private/JSONRequest.swift:16:9: warning: stored property 'url' of 'Sendable'-conforming generic class 'JSONRequest' has non-sendable type 'URL'
let url: URL
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/OpenAI/Private/JSONRequest.swift:8:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
[158/229] Compiling OpenAI ModelQuery.swift
[159/229] Compiling OpenAI ModelResult.swift
[160/229] Compiling OpenAI Models.swift
[161/229] Compiling OpenAI ModelsResult.swift
[162/229] Compiling OpenAI ModerationsQuery.swift
[163/229] Compiling OpenAI ModerationsResult.swift
[164/229] Compiling OpenAI CreateModelResponseQuery+TextResponseConfigurationOptions.swift
[165/229] Compiling OpenAI CreateModelResponseQuery.swift
[166/229] Compiling OpenAI CreateModelResponseQueryInput.swift
[167/229] Compiling OpenAI DeleteModelResponseQuery.swift
[168/229] Compiling OpenAI DeleteModelResponseResult.swift
[169/229] Compiling OpenAI GetModelResponseQuery.swift
[170/229] Compiling OpenAI ResponseEvent.swift
[171/229] Compiling OpenAI ResponseObject.swift
[172/229] Compiling OpenAI RunResult.swift
[173/229] Compiling OpenAI RunRetrieveQuery.swift
[174/229] Compiling OpenAI RunRetrieveStepsResult.swift
[175/229] Compiling OpenAI RunToolOutputsQuery.swift
[176/229] Compiling OpenAI KeyedDecodingContainer+ParsingOptions.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/MultipartFormDataRequest.swift:16:9: warning: stored property 'url' of 'Sendable'-conforming generic class 'MultipartFormDataRequest' has non-sendable type 'URL'
let url: URL
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/OpenAI/Private/MultipartFormDataRequest.swift:8:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
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
[177/229] Compiling OpenAI MultipartFormDataBodyBuilder.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/MultipartFormDataRequest.swift:16:9: warning: stored property 'url' of 'Sendable'-conforming generic class 'MultipartFormDataRequest' has non-sendable type 'URL'
let url: URL
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/OpenAI/Private/MultipartFormDataRequest.swift:8:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
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
[178/229] Compiling OpenAI MultipartFormDataBodyEncodable.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/MultipartFormDataRequest.swift:16:9: warning: stored property 'url' of 'Sendable'-conforming generic class 'MultipartFormDataRequest' has non-sendable type 'URL'
let url: URL
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/OpenAI/Private/MultipartFormDataRequest.swift:8:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
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
[179/229] Compiling OpenAI MultipartFormDataEntry.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/MultipartFormDataRequest.swift:16:9: warning: stored property 'url' of 'Sendable'-conforming generic class 'MultipartFormDataRequest' has non-sendable type 'URL'
let url: URL
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/OpenAI/Private/MultipartFormDataRequest.swift:8:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
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
[180/229] Compiling OpenAI MultipartFormDataRequest.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/MultipartFormDataRequest.swift:16:9: warning: stored property 'url' of 'Sendable'-conforming generic class 'MultipartFormDataRequest' has non-sendable type 'URL'
let url: URL
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/OpenAI/Private/MultipartFormDataRequest.swift:8:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
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
[181/229] Compiling OpenAI OpenAI+MakeRequest.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/MultipartFormDataRequest.swift:16:9: warning: stored property 'url' of 'Sendable'-conforming generic class 'MultipartFormDataRequest' has non-sendable type 'URL'
let url: URL
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/OpenAI/Private/MultipartFormDataRequest.swift:8:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
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
[182/229] Compiling OpenAI PropertyValue.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/MultipartFormDataRequest.swift:16:9: warning: stored property 'url' of 'Sendable'-conforming generic class 'MultipartFormDataRequest' has non-sendable type 'URL'
let url: URL
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/OpenAI/Private/MultipartFormDataRequest.swift:8:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
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
[183/229] Compiling OpenAI SSLDelegateProtocol.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/MultipartFormDataRequest.swift:16:9: warning: stored property 'url' of 'Sendable'-conforming generic class 'MultipartFormDataRequest' has non-sendable type 'URL'
let url: URL
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/OpenAI/Private/MultipartFormDataRequest.swift:8:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
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
[184/229] Compiling OpenAI SendablePassthroughSubject.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/MultipartFormDataRequest.swift:16:9: warning: stored property 'url' of 'Sendable'-conforming generic class 'MultipartFormDataRequest' has non-sendable type 'URL'
let url: URL
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/OpenAI/Private/MultipartFormDataRequest.swift:8:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
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
[185/229] Compiling OpenAI StreamableQuery.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/MultipartFormDataRequest.swift:16:9: warning: stored property 'url' of 'Sendable'-conforming generic class 'MultipartFormDataRequest' has non-sendable type 'URL'
let url: URL
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/OpenAI/Private/MultipartFormDataRequest.swift:8:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
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
[186/229] Compiling OpenAI AudioSpeechStreamInterpreter.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/MultipartFormDataRequest.swift:16:9: warning: stored property 'url' of 'Sendable'-conforming generic class 'MultipartFormDataRequest' has non-sendable type 'URL'
let url: URL
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/OpenAI/Private/MultipartFormDataRequest.swift:8:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
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
[187/229] Compiling OpenAI CodableResultStreamInterpreter.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/MultipartFormDataRequest.swift:16:9: warning: stored property 'url' of 'Sendable'-conforming generic class 'MultipartFormDataRequest' has non-sendable type 'URL'
let url: URL
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/OpenAI/Private/MultipartFormDataRequest.swift:8:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
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
[188/229] Compiling OpenAI DataTaskPerformingURLSession.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/MultipartFormDataRequest.swift:16:9: warning: stored property 'url' of 'Sendable'-conforming generic class 'MultipartFormDataRequest' has non-sendable type 'URL'
let url: URL
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/OpenAI/Private/MultipartFormDataRequest.swift:8:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
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
[189/229] Compiling OpenAI InvalidatableSession.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/MultipartFormDataRequest.swift:16:9: warning: stored property 'url' of 'Sendable'-conforming generic class 'MultipartFormDataRequest' has non-sendable type 'URL'
let url: URL
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/OpenAI/Private/MultipartFormDataRequest.swift:8:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
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
[190/229] Compiling OpenAI ModelResponseEventsStreamInterpreter.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/MultipartFormDataRequest.swift:16:9: warning: stored property 'url' of 'Sendable'-conforming generic class 'MultipartFormDataRequest' has non-sendable type 'URL'
let url: URL
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/OpenAI/Private/MultipartFormDataRequest.swift:8:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
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
[191/229] Compiling OpenAI ModelResponseStreamEventType.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/MultipartFormDataRequest.swift:16:9: warning: stored property 'url' of 'Sendable'-conforming generic class 'MultipartFormDataRequest' has non-sendable type 'URL'
let url: URL
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/OpenAI/Private/MultipartFormDataRequest.swift:8:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
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
[192/229] Compiling OpenAI PerformableSession.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/MultipartFormDataRequest.swift:16:9: warning: stored property 'url' of 'Sendable'-conforming generic class 'MultipartFormDataRequest' has non-sendable type 'URL'
let url: URL
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/OpenAI/Private/MultipartFormDataRequest.swift:8:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
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
[193/229] Compiling OpenAI ServerSentEventsStreamInterpreter.swift
/host/spi-builder-workspace/Sources/OpenAI/Private/MultipartFormDataRequest.swift:16:9: warning: stored property 'url' of 'Sendable'-conforming generic class 'MultipartFormDataRequest' has non-sendable type 'URL'
let url: URL
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/OpenAI/Private/MultipartFormDataRequest.swift:8:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
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
[194/229] Compiling OpenAI AudioTranscriptionResult.swift
[195/229] Compiling OpenAI AudioTranscriptionStreamResult.swift
[196/229] Compiling OpenAI AudioTranscriptionVerboseResult.swift
[197/229] Compiling OpenAI AudioTranslationQuery.swift
[198/229] Compiling OpenAI AudioTranslationResult.swift
[199/229] Compiling OpenAI ChatQuery.swift
[200/229] Compiling OpenAI ChatResult.swift
[201/229] Compiling OpenAI ChatStreamResult.swift
[202/229] Compiling OpenAI EmbeddingsQuery.swift
[203/229] Compiling OpenAI EmbeddingsResult.swift
[204/229] Compiling OpenAI FilesQuery.swift
[205/229] Compiling OpenAI FilesResult.swift
[206/229] Compiling OpenAI FunctionDeclaration.swift
[207/229] Compiling OpenAI ImageEditsQuery.swift
[208/229] Compiling OpenAI ImageVariationsQuery.swift
[209/229] Compiling OpenAI ImagesQuery.swift
[210/229] Compiling OpenAI ImagesResult.swift
[211/229] Compiling OpenAI MessageQuery.swift
[212/229] Compiling OpenAI EasyInputMessage.swift
/host/spi-builder-workspace/Sources/OpenAI/Public/Schemas/Generated/Components.swift:10:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import struct Foundation.URL
~~~~~~~~~~~~~~~~^
/host/spi-builder-workspace/Sources/OpenAI/Public/Schemas/Generated/Components.swift:11:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import struct Foundation.Data
~~~~~~~~~~~~~~~~^
/host/spi-builder-workspace/Sources/OpenAI/Public/Schemas/Generated/Components.swift:12:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import struct Foundation.Date
~~~~~~~~~~~~~~~~^
[213/229] Compiling OpenAI FunctionTool.swift
/host/spi-builder-workspace/Sources/OpenAI/Public/Schemas/Generated/Components.swift:10:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import struct Foundation.URL
~~~~~~~~~~~~~~~~^
/host/spi-builder-workspace/Sources/OpenAI/Public/Schemas/Generated/Components.swift:11:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import struct Foundation.Data
~~~~~~~~~~~~~~~~^
/host/spi-builder-workspace/Sources/OpenAI/Public/Schemas/Generated/Components.swift:12:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import struct Foundation.Date
~~~~~~~~~~~~~~~~^
[214/229] Compiling OpenAI InputContent.swift
/host/spi-builder-workspace/Sources/OpenAI/Public/Schemas/Generated/Components.swift:10:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import struct Foundation.URL
~~~~~~~~~~~~~~~~^
/host/spi-builder-workspace/Sources/OpenAI/Public/Schemas/Generated/Components.swift:11:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import struct Foundation.Data
~~~~~~~~~~~~~~~~^
/host/spi-builder-workspace/Sources/OpenAI/Public/Schemas/Generated/Components.swift:12:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import struct Foundation.Date
~~~~~~~~~~~~~~~~^
[215/229] Compiling OpenAI InputImage.swift
/host/spi-builder-workspace/Sources/OpenAI/Public/Schemas/Generated/Components.swift:10:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import struct Foundation.URL
~~~~~~~~~~~~~~~~^
/host/spi-builder-workspace/Sources/OpenAI/Public/Schemas/Generated/Components.swift:11:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import struct Foundation.Data
~~~~~~~~~~~~~~~~^
/host/spi-builder-workspace/Sources/OpenAI/Public/Schemas/Generated/Components.swift:12:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import struct Foundation.Date
~~~~~~~~~~~~~~~~^
[216/229] Compiling OpenAI InputItem.swift
/host/spi-builder-workspace/Sources/OpenAI/Public/Schemas/Generated/Components.swift:10:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import struct Foundation.URL
~~~~~~~~~~~~~~~~^
/host/spi-builder-workspace/Sources/OpenAI/Public/Schemas/Generated/Components.swift:11:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import struct Foundation.Data
~~~~~~~~~~~~~~~~^
/host/spi-builder-workspace/Sources/OpenAI/Public/Schemas/Generated/Components.swift:12:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import struct Foundation.Date
~~~~~~~~~~~~~~~~^
[217/229] Compiling OpenAI ResponseMCPCallArgumentsDeltaEvent.swift
/host/spi-builder-workspace/Sources/OpenAI/Public/Schemas/Generated/Components.swift:10:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import struct Foundation.URL
~~~~~~~~~~~~~~~~^
/host/spi-builder-workspace/Sources/OpenAI/Public/Schemas/Generated/Components.swift:11:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import struct Foundation.Data
~~~~~~~~~~~~~~~~^
/host/spi-builder-workspace/Sources/OpenAI/Public/Schemas/Generated/Components.swift:12:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import struct Foundation.Date
~~~~~~~~~~~~~~~~^
[218/229] Compiling OpenAI ResponseMCPCallArgumentsDoneEvent.swift
/host/spi-builder-workspace/Sources/OpenAI/Public/Schemas/Generated/Components.swift:10:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import struct Foundation.URL
~~~~~~~~~~~~~~~~^
/host/spi-builder-workspace/Sources/OpenAI/Public/Schemas/Generated/Components.swift:11:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import struct Foundation.Data
~~~~~~~~~~~~~~~~^
/host/spi-builder-workspace/Sources/OpenAI/Public/Schemas/Generated/Components.swift:12:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import struct Foundation.Date
~~~~~~~~~~~~~~~~^
[219/229] Compiling OpenAI ResponseOutputItemAddedEvent.swift
/host/spi-builder-workspace/Sources/OpenAI/Public/Schemas/Generated/Components.swift:10:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import struct Foundation.URL
~~~~~~~~~~~~~~~~^
/host/spi-builder-workspace/Sources/OpenAI/Public/Schemas/Generated/Components.swift:11:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import struct Foundation.Data
~~~~~~~~~~~~~~~~^
/host/spi-builder-workspace/Sources/OpenAI/Public/Schemas/Generated/Components.swift:12:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import struct Foundation.Date
~~~~~~~~~~~~~~~~^
[220/229] Compiling OpenAI ResponseOutputItemDoneEvent.swift
/host/spi-builder-workspace/Sources/OpenAI/Public/Schemas/Generated/Components.swift:10:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import struct Foundation.URL
~~~~~~~~~~~~~~~~^
/host/spi-builder-workspace/Sources/OpenAI/Public/Schemas/Generated/Components.swift:11:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import struct Foundation.Data
~~~~~~~~~~~~~~~~^
/host/spi-builder-workspace/Sources/OpenAI/Public/Schemas/Generated/Components.swift:12:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import struct Foundation.Date
~~~~~~~~~~~~~~~~^
[221/229] Compiling OpenAI Tool.swift
/host/spi-builder-workspace/Sources/OpenAI/Public/Schemas/Generated/Components.swift:10:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import struct Foundation.URL
~~~~~~~~~~~~~~~~^
/host/spi-builder-workspace/Sources/OpenAI/Public/Schemas/Generated/Components.swift:11:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import struct Foundation.Data
~~~~~~~~~~~~~~~~^
/host/spi-builder-workspace/Sources/OpenAI/Public/Schemas/Generated/Components.swift:12:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import struct Foundation.Date
~~~~~~~~~~~~~~~~^
[222/229] Compiling OpenAI OutputItem.swift
/host/spi-builder-workspace/Sources/OpenAI/Public/Schemas/Generated/Components.swift:10:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import struct Foundation.URL
~~~~~~~~~~~~~~~~^
/host/spi-builder-workspace/Sources/OpenAI/Public/Schemas/Generated/Components.swift:11:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import struct Foundation.Data
~~~~~~~~~~~~~~~~^
/host/spi-builder-workspace/Sources/OpenAI/Public/Schemas/Generated/Components.swift:12:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import struct Foundation.Date
~~~~~~~~~~~~~~~~^
[223/229] Compiling OpenAI ResponseStreamEvent.swift
/host/spi-builder-workspace/Sources/OpenAI/Public/Schemas/Generated/Components.swift:10:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import struct Foundation.URL
~~~~~~~~~~~~~~~~^
/host/spi-builder-workspace/Sources/OpenAI/Public/Schemas/Generated/Components.swift:11:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import struct Foundation.Data
~~~~~~~~~~~~~~~~^
/host/spi-builder-workspace/Sources/OpenAI/Public/Schemas/Generated/Components.swift:12:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import struct Foundation.Date
~~~~~~~~~~~~~~~~^
[224/229] Compiling OpenAI Components.swift
/host/spi-builder-workspace/Sources/OpenAI/Public/Schemas/Generated/Components.swift:10:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import struct Foundation.URL
~~~~~~~~~~~~~~~~^
/host/spi-builder-workspace/Sources/OpenAI/Public/Schemas/Generated/Components.swift:11:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import struct Foundation.Data
~~~~~~~~~~~~~~~~^
/host/spi-builder-workspace/Sources/OpenAI/Public/Schemas/Generated/Components.swift:12:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import struct Foundation.Date
~~~~~~~~~~~~~~~~^
[225/229] Compiling OpenAI ParsingOptions.swift
/host/spi-builder-workspace/Sources/OpenAI/Public/Schemas/Generated/Components.swift:10:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import struct Foundation.URL
~~~~~~~~~~~~~~~~^
/host/spi-builder-workspace/Sources/OpenAI/Public/Schemas/Generated/Components.swift:11:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import struct Foundation.Data
~~~~~~~~~~~~~~~~^
/host/spi-builder-workspace/Sources/OpenAI/Public/Schemas/Generated/Components.swift:12:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import struct Foundation.Date
~~~~~~~~~~~~~~~~^
[226/229] Compiling OpenAI Utilities.swift
/host/spi-builder-workspace/Sources/OpenAI/Public/Schemas/Generated/Components.swift:10:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import struct Foundation.URL
~~~~~~~~~~~~~~~~^
/host/spi-builder-workspace/Sources/OpenAI/Public/Schemas/Generated/Components.swift:11:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import struct Foundation.Data
~~~~~~~~~~~~~~~~^
/host/spi-builder-workspace/Sources/OpenAI/Public/Schemas/Generated/Components.swift:12:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import struct Foundation.Date
~~~~~~~~~~~~~~~~^
[227/229] Compiling OpenAI ResponsesEndpoint+Async.swift
/host/spi-builder-workspace/Sources/OpenAI/Public/Schemas/Generated/Components.swift:10:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import struct Foundation.URL
~~~~~~~~~~~~~~~~^
/host/spi-builder-workspace/Sources/OpenAI/Public/Schemas/Generated/Components.swift:11:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import struct Foundation.Data
~~~~~~~~~~~~~~~~^
/host/spi-builder-workspace/Sources/OpenAI/Public/Schemas/Generated/Components.swift:12:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import struct Foundation.Date
~~~~~~~~~~~~~~~~^
[228/229] Compiling OpenAI ResponsesEndpoint+Combine.swift
/host/spi-builder-workspace/Sources/OpenAI/Public/Schemas/Generated/Components.swift:10:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import struct Foundation.URL
~~~~~~~~~~~~~~~~^
/host/spi-builder-workspace/Sources/OpenAI/Public/Schemas/Generated/Components.swift:11:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import struct Foundation.Data
~~~~~~~~~~~~~~~~^
/host/spi-builder-workspace/Sources/OpenAI/Public/Schemas/Generated/Components.swift:12:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import struct Foundation.Date
~~~~~~~~~~~~~~~~^
[229/229] Compiling OpenAI ResponsesEndpoint.swift
/host/spi-builder-workspace/Sources/OpenAI/Public/Schemas/Generated/Components.swift:10:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import struct Foundation.URL
~~~~~~~~~~~~~~~~^
/host/spi-builder-workspace/Sources/OpenAI/Public/Schemas/Generated/Components.swift:11:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import struct Foundation.Data
~~~~~~~~~~~~~~~~^
/host/spi-builder-workspace/Sources/OpenAI/Public/Schemas/Generated/Components.swift:12:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import struct Foundation.Date
~~~~~~~~~~~~~~~~^
error: fatalError
BUILD FAILURE 5.10 linux