Build Information
Failed to build OpenAI, reference 0.4.7 (28884f), with Swift 5.10 for Linux on 26 Oct 2025 22:57:59 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/MacPaw/OpenAI.git
Reference: 0.4.7
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/MacPaw/OpenAI
* tag 0.4.7 -> FETCH_HEAD
HEAD is now at 28884fc Merge pull request #391 from mi12-root/fix-numerics-in-json-schema
Cloned https://github.com/MacPaw/OpenAI.git
Revision (git rev-parse @):
28884fcfb15946b119b6eb3498e5a900c1d8d595
SUCCESS checkout https://github.com/MacPaw/OpenAI.git at 0.4.7
========================================
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" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:876c9f54cbb08e857839f8acb28beadbc9bf56a8488855996222d9f683e93e2f
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/5753] Fetching swift-openapi-runtime
Fetched https://github.com/apple/swift-openapi-runtime from cache (0.37s)
Computing version for https://github.com/apple/swift-openapi-runtime
Computed https://github.com/apple/swift-openapi-runtime at 1.8.3 (0.42s)
Fetching https://github.com/apple/swift-http-types
[1/939] Fetching swift-http-types
Fetched https://github.com/apple/swift-http-types from cache (0.27s)
Computing version for https://github.com/apple/swift-http-types
Computed https://github.com/apple/swift-http-types at 1.5.1 (0.45s)
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.3
Creating working copy for https://github.com/apple/swift-http-types
Working copy of https://github.com/apple/swift-http-types resolved at 1.5.1
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/13] Compiling HTTPTypes ISOLatin1String.swift
[6/14] Compiling HTTPTypes HTTPParsedFields.swift
[7/14] Compiling HTTPTypes HTTPRequest.swift
[8/14] Compiling HTTPTypes HTTPResponse.swift
[9/14] Compiling HTTPTypes HTTPFields.swift
[10/14] Compiling HTTPTypes HTTPField.swift
[11/14] Compiling HTTPTypes HTTPFieldName.swift
[12/14] Emitting module HTTPTypes
[13/14] Compiling HTTPTypes NIOLock.swift
[14/14] Compiling HTTPTypes HTTPRequest+URL.swift
[16/76] Emitting module OpenAPIRuntime
[17/84] Compiling OpenAPIRuntime CurrencyTypes.swift
[18/84] Compiling OpenAPIRuntime ErrorHandlingMiddleware.swift
[19/84] Compiling OpenAPIRuntime HTTPBody.swift
[20/84] Compiling OpenAPIRuntime ServerTransport.swift
[21/84] Compiling OpenAPIRuntime UniversalClient.swift
[22/84] Compiling OpenAPIRuntime UniversalServer.swift
[23/84] Compiling OpenAPIRuntime MultipartBoundaryGenerator.swift
[24/84] Compiling OpenAPIRuntime MultipartBytesToFramesSequence.swift
[25/84] 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/84] 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/84] 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/84] 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/84] 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/84] 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/84] 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/84] 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/84] 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/84] Compiling OpenAPIRuntime MultipartFramesToBytesSequence.swift
[35/84] Compiling OpenAPIRuntime MultipartFramesToRawPartsSequence.swift
[36/84] Compiling OpenAPIRuntime MultipartInternalTypes.swift
[37/84] Compiling OpenAPIRuntime MultipartPublicTypes.swift
[38/84] Compiling OpenAPIRuntime MultipartPublicTypesExtensions.swift
[39/84] Compiling OpenAPIRuntime MultipartRawPartsToFramesSequence.swift
[40/84] Compiling OpenAPIRuntime MultipartValidation.swift
[41/84] Compiling OpenAPIRuntime OpenAPIMIMEType+Multipart.swift
[42/84] Compiling OpenAPIRuntime FoundationExtensions.swift
[43/84] Compiling OpenAPIRuntime ParameterStyles.swift
[44/84] Compiling OpenAPIRuntime ServerVariable.swift
[45/84] Compiling OpenAPIRuntime URLExtensions.swift
[46/84] Compiling OpenAPIRuntime Deprecated.swift
[47/84] Compiling OpenAPIRuntime ClientError.swift
[48/84] Compiling OpenAPIRuntime CodingErrors.swift
[49/84] Compiling OpenAPIRuntime RuntimeError.swift
[50/84] Compiling OpenAPIRuntime ServerError.swift
[51/84] Compiling OpenAPIRuntime WarningSuppressingAnnotations.swift
[52/84] Compiling OpenAPIRuntime CodableExtensions.swift
[53/84] Compiling OpenAPIRuntime Configuration.swift
[54/84] Compiling OpenAPIRuntime Converter+Client.swift
[55/84] Compiling OpenAPIRuntime Converter+Common.swift
[56/84] Compiling OpenAPIRuntime Converter+Server.swift
[57/84] Compiling OpenAPIRuntime Converter.swift
[58/84] Compiling OpenAPIRuntime CurrencyExtensions.swift
[59/84] Compiling OpenAPIRuntime ErrorExtensions.swift
[60/84] Compiling OpenAPIRuntime URICodeCodingKey.swift
[61/84] Compiling OpenAPIRuntime URICoderConfiguration.swift
[62/84] Compiling OpenAPIRuntime URIEncodedNode.swift
[63/84] Compiling OpenAPIRuntime URIParsedTypes.swift
[64/84] Compiling OpenAPIRuntime URIDecoder.swift
[65/84] Compiling OpenAPIRuntime URIValueFromNodeDecoder+Keyed.swift
[66/84] Compiling OpenAPIRuntime URIValueFromNodeDecoder+Single.swift
[67/84] Compiling OpenAPIRuntime URIValueFromNodeDecoder+Unkeyed.swift
[68/84] 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
~~~~~~~~~~~~~~~~^
[69/84] 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
~~~~~~~~~~~~~~~~^
[70/84] 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
~~~~~~~~~~~~~~~~^
[71/84] 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
~~~~~~~~~~~~~~~~^
[72/84] 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
~~~~~~~~~~~~~~~~^
[73/84] 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
~~~~~~~~~~~~~~~~^
[74/84] 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
~~~~~~~~~~~~~~~~^
[75/84] 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
~~~~~~~~~~~~~~~~^
[76/84] 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
~~~~~~~~~~~~~~~~^
[77/84] Compiling OpenAPIRuntime URIValueFromNodeDecoder.swift
[78/84] Compiling OpenAPIRuntime URIEncoder.swift
[79/84] Compiling OpenAPIRuntime URIValueToNodeEncoder+Keyed.swift
[80/84] Compiling OpenAPIRuntime URIValueToNodeEncoder+Single.swift
[81/84] Compiling OpenAPIRuntime URIValueToNodeEncoder+Unkeyed.swift
[82/84] Compiling OpenAPIRuntime URIValueToNodeEncoder.swift
[83/84] Compiling OpenAPIRuntime URIParser.swift
[84/84] Compiling OpenAPIRuntime URISerializer.swift
[86/212] 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)
^
[87/212] 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)
^
[88/212] 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)
^
[89/212] 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)
^
[90/212] 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)
^
[91/212] 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)
^
[92/212] 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)
^
[93/212] 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)
^
[94/212] 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)
^
[95/212] 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)
^
[96/212] 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)
^
[97/212] 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)
^
[98/212] 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)
^
[99/212] 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)
^
[100/212] 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)
^
[101/212] 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)
^
[102/212] 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)
^
[103/212] 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)
^
[104/230] 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
[105/230] 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
[106/230] 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
[107/230] 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
[108/230] 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
[109/230] 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
[110/230] 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
[111/230] 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
[112/230] 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
[113/230] 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
[114/230] 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
[115/230] 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
[116/230] 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
[117/230] 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
[118/230] 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
[119/230] 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
[120/230] 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
[121/230] 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
[122/230] Compiling OpenAI URLSessionTaskCanceller.swift
/host/spi-builder-workspace/Sources/OpenAI/Public/JSONSchema/JSONDocument.swift:25: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/230] Compiling OpenAI APIError.swift
/host/spi-builder-workspace/Sources/OpenAI/Public/JSONSchema/JSONDocument.swift:25: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/230] Compiling OpenAI GeminiAPIError.swift
/host/spi-builder-workspace/Sources/OpenAI/Public/JSONSchema/JSONDocument.swift:25: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/230] Compiling OpenAI AnyJSONDocument.swift
/host/spi-builder-workspace/Sources/OpenAI/Public/JSONSchema/JSONDocument.swift:25: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/230] Compiling OpenAI JSONDocument.swift
/host/spi-builder-workspace/Sources/OpenAI/Public/JSONSchema/JSONDocument.swift:25: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/230] Compiling OpenAI JSONSchema.swift
/host/spi-builder-workspace/Sources/OpenAI/Public/JSONSchema/JSONDocument.swift:25: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/230] Compiling OpenAI JSONSchemaField.swift
/host/spi-builder-workspace/Sources/OpenAI/Public/JSONSchema/JSONDocument.swift:25: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/230] Compiling OpenAI JSONSchemaInstanceType.swift
/host/spi-builder-workspace/Sources/OpenAI/Public/JSONSchema/JSONDocument.swift:25: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/230] Compiling OpenAI JSONSchemaConvertationError.swift
/host/spi-builder-workspace/Sources/OpenAI/Public/JSONSchema/JSONDocument.swift:25: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/230] Compiling OpenAI JSONSchemaConvertible.swift
/host/spi-builder-workspace/Sources/OpenAI/Public/JSONSchema/JSONDocument.swift:25: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/230] Compiling OpenAI JSONSchemaEnumConvertible.swift
/host/spi-builder-workspace/Sources/OpenAI/Public/JSONSchema/JSONDocument.swift:25: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/230] Compiling OpenAI AssistantResult.swift
/host/spi-builder-workspace/Sources/OpenAI/Public/JSONSchema/JSONDocument.swift:25: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/230] Compiling OpenAI AssistantsQuery.swift
/host/spi-builder-workspace/Sources/OpenAI/Public/JSONSchema/JSONDocument.swift:25: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/230] Compiling OpenAI AssistantsResult.swift
/host/spi-builder-workspace/Sources/OpenAI/Public/JSONSchema/JSONDocument.swift:25: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/230] Compiling OpenAI AssistantsTool.swift
/host/spi-builder-workspace/Sources/OpenAI/Public/JSONSchema/JSONDocument.swift:25: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/230] Compiling OpenAI AudioSpeechQuery.swift
/host/spi-builder-workspace/Sources/OpenAI/Public/JSONSchema/JSONDocument.swift:25: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/230] Compiling OpenAI AudioSpeechResult.swift
/host/spi-builder-workspace/Sources/OpenAI/Public/JSONSchema/JSONDocument.swift:25:1: warning: conformance to 'Sendable' must occur in the same source file as struct 'Decimal'; use '@unchecked Sendable' for retroactive conformance
extension Decimal: JSONDocument {}
^
[139/230] Compiling OpenAI AudioTranscriptionQuery.swift
/host/spi-builder-workspace/Sources/OpenAI/Public/JSONSchema/JSONDocument.swift:25: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/230] 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/230] 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/230] 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/230] 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/230] 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/230] 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/230] 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/230] 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/230] 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/230] 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/230] 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/230] 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/230] 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/230] 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/230] 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/230] 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/230] 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/230] 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/230] Compiling OpenAI ModelQuery.swift
[159/230] Compiling OpenAI ModelResult.swift
[160/230] Compiling OpenAI Models.swift
[161/230] Compiling OpenAI ModelsResult.swift
[162/230] Compiling OpenAI ModerationsQuery.swift
[163/230] Compiling OpenAI ModerationsResult.swift
[164/230] Compiling OpenAI CreateModelResponseQuery+TextResponseConfigurationOptions.swift
[165/230] Compiling OpenAI CreateModelResponseQuery.swift
[166/230] Compiling OpenAI CreateModelResponseQueryInput.swift
[167/230] Compiling OpenAI DeleteModelResponseQuery.swift
[168/230] Compiling OpenAI DeleteModelResponseResult.swift
[169/230] Compiling OpenAI GetModelResponseQuery.swift
[170/230] Compiling OpenAI ResponseEvent.swift
[171/230] Compiling OpenAI ResponseObject.swift
[172/230] Compiling OpenAI RunResult.swift
[173/230] Compiling OpenAI RunRetrieveQuery.swift
[174/230] Compiling OpenAI RunRetrieveStepsResult.swift
[175/230] Compiling OpenAI RunToolOutputsQuery.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[176/230] 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:25:1: warning: conformance to 'Sendable' must occur in the same source file as struct 'Decimal'; use '@unchecked Sendable' for retroactive conformance
extension Decimal: JSONDocument {}
^
[177/230] Compiling OpenAI AudioTranscriptionResult.swift
[178/230] Compiling OpenAI AudioTranscriptionStreamResult.swift
[179/230] Compiling OpenAI AudioTranscriptionVerboseResult.swift
[180/230] Compiling OpenAI AudioTranslationQuery.swift
[181/230] Compiling OpenAI AudioTranslationResult.swift
[182/230] Compiling OpenAI ChatQuery.swift
[183/230] Compiling OpenAI ChatResult.swift
[184/230] Compiling OpenAI ChatStreamResult.swift
[185/230] Compiling OpenAI EmbeddingsQuery.swift
[186/230] Compiling OpenAI EmbeddingsResult.swift
[187/230] Compiling OpenAI FilesQuery.swift
[188/230] Compiling OpenAI FilesResult.swift
[189/230] Compiling OpenAI FunctionDeclaration.swift
[190/230] Compiling OpenAI ImageEditsQuery.swift
[191/230] Compiling OpenAI ImageVariationsQuery.swift
[192/230] Compiling OpenAI ImagesQuery.swift
[193/230] Compiling OpenAI ImagesResult.swift
[194/230] Compiling OpenAI MessageQuery.swift
[195/230] Compiling OpenAI RunsQuery.swift
[196/230] Compiling OpenAI ThreadAddMessagesResult.swift
[197/230] Compiling OpenAI ThreadRunQuery.swift
[198/230] Compiling OpenAI ThreadsMessagesResult.swift
[199/230] Compiling OpenAI ThreadsQuery.swift
[200/230] Compiling OpenAI ThreadsResult.swift
[201/230] Compiling OpenAI ChatQueryWebSearchOptions.swift
[202/230] Compiling OpenAI JSONSchemaDefinition.swift
[203/230] Compiling OpenAI ServiceTier.swift
[204/230] Compiling OpenAI CancellableRequest.swift
[205/230] Compiling OpenAI OpenAIAsync.swift
[206/230] Compiling OpenAI OpenAICombine.swift
[207/230] Compiling OpenAI OpenAIMiddleware.swift
[208/230] Compiling OpenAI OpenAIProtocol.swift
[209/230] Compiling OpenAI ResponsesEndpointAsync.swift
[210/230] Compiling OpenAI ResponsesEndpointCombine.swift
[211/230] Compiling OpenAI ResponsesEndpointModern.swift
[212/230] Compiling OpenAI ResponsesEndpointProtocol.swift
[213/230] 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
~~~~~~~~~~~~~~~~^
[214/230] 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
~~~~~~~~~~~~~~~~^
[215/230] 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
~~~~~~~~~~~~~~~~^
[216/230] 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
~~~~~~~~~~~~~~~~^
[217/230] 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
~~~~~~~~~~~~~~~~^
[218/230] 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
~~~~~~~~~~~~~~~~^
[219/230] 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
~~~~~~~~~~~~~~~~^
[220/230] 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
~~~~~~~~~~~~~~~~^
[221/230] 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
~~~~~~~~~~~~~~~~^
[222/230] 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
~~~~~~~~~~~~~~~~^
[223/230] 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
~~~~~~~~~~~~~~~~^
[224/230] 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
~~~~~~~~~~~~~~~~^
[225/230] 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
~~~~~~~~~~~~~~~~^
[226/230] 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
~~~~~~~~~~~~~~~~^
[227/230] 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
~~~~~~~~~~~~~~~~^
[228/230] 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
~~~~~~~~~~~~~~~~^
[229/230] 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
~~~~~~~~~~~~~~~~^
[230/230] 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