The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build SwiftOpenAI with Swift 5.8 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.39.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SwiftBeta/SwiftOpenAI.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/SwiftBeta/SwiftOpenAI
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at b316788 Edits and variations images (#45)
Cloned https://github.com/SwiftBeta/SwiftOpenAI.git
Revision (git rev-parse @):
b316788cf0e6584cc730d8231112dd2c76458713
SPI manifest file found: $workDir/.spi.yml
SUCCESS checkout https://github.com/SwiftBeta/SwiftOpenAI.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.8
Building package at path:  $workDir
https://github.com/SwiftBeta/SwiftOpenAI.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-docc-symbolkit
[1/1458] Fetching swift-docc-plugin
[1197/4297] Fetching swift-docc-plugin, swift-docc-symbolkit
Fetched https://github.com/apple/swift-docc-symbolkit (0.57s)
Fetched https://github.com/apple/swift-docc-plugin (0.60s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.2.0 (0.37s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.36s)
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-docc-symbolkit
Working copy of https://github.com/apple/swift-docc-symbolkit resolved at 1.0.0
[1/1] Compiling plugin Swift-DocC
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/55] Emitting module SwiftOpenAI
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Requester/Requester.swift:4:35: error: cannot find type 'URLRequest' in scope
    func execute(with urlRequest: URLRequest) async -> Result<Data, APIError>
                                  ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Requester/RequestBuilder.swift:4:49: error: cannot find type 'URLRequest' in scope
    func buildURLRequest(endpoint: Endpoint) -> URLRequest
                                                ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Requester/RequestBuilder.swift:5:39: error: cannot find type 'URLRequest' in scope
    func addHeaders(urlRequest: inout URLRequest, headers: [String: String])
                                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/API.swift:23:56: error: cannot find type 'URLRequest' in scope
    public func buildURLRequest(endpoint: Endpoint) -> URLRequest {
                                                       ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/API.swift:27:46: error: cannot find type 'URLRequest' in scope
    public func addHeaders(urlRequest: inout URLRequest, headers: [String: String]) {
                                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/API.swift:31:42: error: cannot find type 'URLRequest' in scope
    public func execute(with urlRequest: URLRequest) async -> Result<Data, APIError> {
                                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Requester/RequestBuilder.swift:12:56: error: cannot find type 'URLRequest' in scope
    public func buildURLRequest(endpoint: Endpoint) -> URLRequest {
                                                       ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Requester/RequestBuilder.swift:39:46: error: cannot find type 'URLRequest' in scope
    public func addHeaders(urlRequest: inout URLRequest, headers: [String: String]) {
                                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Requester/Requester.swift:8:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private let urlSession: URLSession
                            ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Requester/Requester.swift:10:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public init(urlSession: URLSession = URLSession.shared) {
                            ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Requester/Requester.swift:10:53: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    public init(urlSession: URLSession = URLSession.shared) {
                                         ~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Requester/Requester.swift:14:42: error: cannot find type 'URLRequest' in scope
    public func execute(with urlRequest: URLRequest) async -> Result<Data, APIError> {
                                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranscriptionRequest.swift:24:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private var urlSession: URLSession?
                            ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranscriptionRequest.swift:25:27: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private var dataTask: URLSessionDataTask?
                          ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranscriptionRequest.swift:71:39: error: cannot find type 'URLSessionDataDelegate' in scope
extension CreateTranscriptionRequest: URLSessionDataDelegate {
                                      ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranscriptionRequest.swift:72:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
                                      ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranscriptionRequest.swift:72:61: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
                                                            ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranscriptionRequest.swift:81:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
                                      ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranscriptionRequest.swift:81:57: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
                                                        ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranslationRequest.swift:22:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private var urlSession: URLSession?
                            ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranslationRequest.swift:23:27: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private var dataTask: URLSessionDataTask?
                          ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranslationRequest.swift:77:37: error: cannot find type 'URLSessionDataDelegate' in scope
extension CreateTranslationRequest: URLSessionDataDelegate {
                                    ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranslationRequest.swift:78:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
                                      ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranslationRequest.swift:78:61: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
                                                            ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranslationRequest.swift:87:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
                                      ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranslationRequest.swift:87:57: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
                                                        ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/ChatCompletions/Stream/CreateChatCompletionsStreamRequest.swift:10:36: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func setURLSession(urlSession: URLSession)
                                   ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/ChatCompletions/Stream/CreateChatCompletionsStreamRequest.swift:21:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private var urlSession: URLSession?
                            ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/ChatCompletions/Stream/CreateChatCompletionsStreamRequest.swift:22:27: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private var dataTask: URLSessionDataTask?
                          ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/ChatCompletions/Stream/CreateChatCompletionsStreamRequest.swift:54:36: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func setURLSession(urlSession: URLSession) {
                                   ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/ChatCompletions/Stream/CreateChatCompletionsStreamRequest.swift:60:47: error: cannot find type 'URLSessionDataDelegate' in scope
extension CreateChatCompletionsStreamRequest: URLSessionDataDelegate {
                                              ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/ChatCompletions/Stream/CreateChatCompletionsStreamRequest.swift:61:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
                                      ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/ChatCompletions/Stream/CreateChatCompletionsStreamRequest.swift:61:61: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
                                                            ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/ChatCompletions/Stream/CreateChatCompletionsStreamRequest.swift:71:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
                                      ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/ChatCompletions/Stream/CreateChatCompletionsStreamRequest.swift:71:57: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
                                                        ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
[4/62] Compiling SwiftOpenAI MessageRoleType.swift
[5/62] Compiling SwiftOpenAI ModelDataModel.swift
[6/62] Compiling SwiftOpenAI ModerationsDataModel.swift
[7/62] Compiling SwiftOpenAI OpenAIError.swift
[8/62] Compiling SwiftOpenAI OpenAIModelType.swift
[9/62] Compiling SwiftOpenAI OpenAIBaseEnvironment.swift
[10/62] Compiling SwiftOpenAI CreateSpeechEndpoint.swift
[11/62] Compiling SwiftOpenAI ChatCompletionsStreamDataModel.swift
[12/62] Compiling SwiftOpenAI CompletionsDataModel.swift
[13/62] Compiling SwiftOpenAI CompletionsOptionalParameters.swift
[14/62] Compiling SwiftOpenAI EmbeddingDataModel.swift
[15/62] Compiling SwiftOpenAI CreateImageDataModel.swift
[16/62] Compiling SwiftOpenAI ImageSize.swift
[17/62] Compiling SwiftOpenAI MessageChatGPT.swift
[18/62] Compiling SwiftOpenAI MessageChatImageInput.swift
[19/62] Compiling SwiftOpenAI CreateTranscriptionDataModel.swift
[20/62] Compiling SwiftOpenAI CreateTranslationDataModel.swift
[21/62] Compiling SwiftOpenAI OpenAIAudioResponseType.swift
[22/62] Compiling SwiftOpenAI OpenAITTSModelType.swift
[23/62] Compiling SwiftOpenAI OpenAITranscriptionModelType.swift
[24/62] Compiling SwiftOpenAI OpenAIVoiceType.swift
[25/62] Compiling SwiftOpenAI ChatCompletionsDataModel.swift
[26/62] Compiling SwiftOpenAI ChatCompletionsOptionalParameters.swift
[27/62] Compiling SwiftOpenAI EditImageEndpoint.swift
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/API.swift:23:56: error: cannot find type 'URLRequest' in scope
    public func buildURLRequest(endpoint: Endpoint) -> URLRequest {
                                                       ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/API.swift:27:46: error: cannot find type 'URLRequest' in scope
    public func addHeaders(urlRequest: inout URLRequest, headers: [String: String]) {
                                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/API.swift:31:42: error: cannot find type 'URLRequest' in scope
    public func execute(with urlRequest: URLRequest) async -> Result<Data, APIError> {
                                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranscriptionRequest.swift:24:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private var urlSession: URLSession?
                            ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranscriptionRequest.swift:25:27: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private var dataTask: URLSessionDataTask?
                          ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranscriptionRequest.swift:71:39: error: cannot find type 'URLSessionDataDelegate' in scope
extension CreateTranscriptionRequest: URLSessionDataDelegate {
                                      ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranscriptionRequest.swift:72:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
                                      ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranscriptionRequest.swift:72:61: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
                                                            ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranscriptionRequest.swift:81:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
                                      ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranscriptionRequest.swift:81:57: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
                                                        ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
[28/62] Compiling SwiftOpenAI VariationImageEndpoint.swift
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/API.swift:23:56: error: cannot find type 'URLRequest' in scope
    public func buildURLRequest(endpoint: Endpoint) -> URLRequest {
                                                       ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/API.swift:27:46: error: cannot find type 'URLRequest' in scope
    public func addHeaders(urlRequest: inout URLRequest, headers: [String: String]) {
                                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/API.swift:31:42: error: cannot find type 'URLRequest' in scope
    public func execute(with urlRequest: URLRequest) async -> Result<Data, APIError> {
                                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranscriptionRequest.swift:24:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private var urlSession: URLSession?
                            ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranscriptionRequest.swift:25:27: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private var dataTask: URLSessionDataTask?
                          ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranscriptionRequest.swift:71:39: error: cannot find type 'URLSessionDataDelegate' in scope
extension CreateTranscriptionRequest: URLSessionDataDelegate {
                                      ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranscriptionRequest.swift:72:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
                                      ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranscriptionRequest.swift:72:61: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
                                                            ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranscriptionRequest.swift:81:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
                                      ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranscriptionRequest.swift:81:57: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
                                                        ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
[29/62] Compiling SwiftOpenAI ListModelsEndpoint.swift
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/API.swift:23:56: error: cannot find type 'URLRequest' in scope
    public func buildURLRequest(endpoint: Endpoint) -> URLRequest {
                                                       ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/API.swift:27:46: error: cannot find type 'URLRequest' in scope
    public func addHeaders(urlRequest: inout URLRequest, headers: [String: String]) {
                                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/API.swift:31:42: error: cannot find type 'URLRequest' in scope
    public func execute(with urlRequest: URLRequest) async -> Result<Data, APIError> {
                                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranscriptionRequest.swift:24:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private var urlSession: URLSession?
                            ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranscriptionRequest.swift:25:27: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private var dataTask: URLSessionDataTask?
                          ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranscriptionRequest.swift:71:39: error: cannot find type 'URLSessionDataDelegate' in scope
extension CreateTranscriptionRequest: URLSessionDataDelegate {
                                      ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranscriptionRequest.swift:72:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
                                      ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranscriptionRequest.swift:72:61: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
                                                            ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranscriptionRequest.swift:81:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
                                      ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranscriptionRequest.swift:81:57: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
                                                        ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
[30/62] Compiling SwiftOpenAI ModerationEndpoint.swift
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/API.swift:23:56: error: cannot find type 'URLRequest' in scope
    public func buildURLRequest(endpoint: Endpoint) -> URLRequest {
                                                       ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/API.swift:27:46: error: cannot find type 'URLRequest' in scope
    public func addHeaders(urlRequest: inout URLRequest, headers: [String: String]) {
                                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/API.swift:31:42: error: cannot find type 'URLRequest' in scope
    public func execute(with urlRequest: URLRequest) async -> Result<Data, APIError> {
                                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranscriptionRequest.swift:24:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private var urlSession: URLSession?
                            ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranscriptionRequest.swift:25:27: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private var dataTask: URLSessionDataTask?
                          ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranscriptionRequest.swift:71:39: error: cannot find type 'URLSessionDataDelegate' in scope
extension CreateTranscriptionRequest: URLSessionDataDelegate {
                                      ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranscriptionRequest.swift:72:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
                                      ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranscriptionRequest.swift:72:61: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
                                                            ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranscriptionRequest.swift:81:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
                                      ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranscriptionRequest.swift:81:57: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
                                                        ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
[31/62] Compiling SwiftOpenAI OpenAIEndpoints.swift
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/API.swift:23:56: error: cannot find type 'URLRequest' in scope
    public func buildURLRequest(endpoint: Endpoint) -> URLRequest {
                                                       ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/API.swift:27:46: error: cannot find type 'URLRequest' in scope
    public func addHeaders(urlRequest: inout URLRequest, headers: [String: String]) {
                                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/API.swift:31:42: error: cannot find type 'URLRequest' in scope
    public func execute(with urlRequest: URLRequest) async -> Result<Data, APIError> {
                                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranscriptionRequest.swift:24:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private var urlSession: URLSession?
                            ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranscriptionRequest.swift:25:27: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private var dataTask: URLSessionDataTask?
                          ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranscriptionRequest.swift:71:39: error: cannot find type 'URLSessionDataDelegate' in scope
extension CreateTranscriptionRequest: URLSessionDataDelegate {
                                      ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranscriptionRequest.swift:72:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
                                      ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranscriptionRequest.swift:72:61: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
                                                            ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranscriptionRequest.swift:81:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
                                      ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranscriptionRequest.swift:81:57: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
                                                        ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
[32/62] Compiling SwiftOpenAI CreateSpeechRequest.swift
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/API.swift:23:56: error: cannot find type 'URLRequest' in scope
    public func buildURLRequest(endpoint: Endpoint) -> URLRequest {
                                                       ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/API.swift:27:46: error: cannot find type 'URLRequest' in scope
    public func addHeaders(urlRequest: inout URLRequest, headers: [String: String]) {
                                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/API.swift:31:42: error: cannot find type 'URLRequest' in scope
    public func execute(with urlRequest: URLRequest) async -> Result<Data, APIError> {
                                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranscriptionRequest.swift:24:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private var urlSession: URLSession?
                            ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranscriptionRequest.swift:25:27: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private var dataTask: URLSessionDataTask?
                          ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranscriptionRequest.swift:71:39: error: cannot find type 'URLSessionDataDelegate' in scope
extension CreateTranscriptionRequest: URLSessionDataDelegate {
                                      ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranscriptionRequest.swift:72:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
                                      ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranscriptionRequest.swift:72:61: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
                                                            ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranscriptionRequest.swift:81:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
                                      ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranscriptionRequest.swift:81:57: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
                                                        ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
[33/62] Compiling SwiftOpenAI CreateTranscriptionRequest.swift
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/API.swift:23:56: error: cannot find type 'URLRequest' in scope
    public func buildURLRequest(endpoint: Endpoint) -> URLRequest {
                                                       ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/API.swift:27:46: error: cannot find type 'URLRequest' in scope
    public func addHeaders(urlRequest: inout URLRequest, headers: [String: String]) {
                                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/API.swift:31:42: error: cannot find type 'URLRequest' in scope
    public func execute(with urlRequest: URLRequest) async -> Result<Data, APIError> {
                                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranscriptionRequest.swift:24:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private var urlSession: URLSession?
                            ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranscriptionRequest.swift:25:27: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private var dataTask: URLSessionDataTask?
                          ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranscriptionRequest.swift:71:39: error: cannot find type 'URLSessionDataDelegate' in scope
extension CreateTranscriptionRequest: URLSessionDataDelegate {
                                      ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranscriptionRequest.swift:72:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
                                      ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranscriptionRequest.swift:72:61: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
                                                            ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranscriptionRequest.swift:81:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
                                      ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranscriptionRequest.swift:81:57: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
                                                        ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
[34/62] Compiling SwiftOpenAI CreateTranslationRequest.swift
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranslationRequest.swift:22:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private var urlSession: URLSession?
                            ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranslationRequest.swift:23:27: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private var dataTask: URLSessionDataTask?
                          ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranslationRequest.swift:77:37: error: cannot find type 'URLSessionDataDelegate' in scope
extension CreateTranslationRequest: URLSessionDataDelegate {
                                    ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranslationRequest.swift:78:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
                                      ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranslationRequest.swift:78:61: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
                                                            ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranslationRequest.swift:87:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
                                      ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranslationRequest.swift:87:57: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
                                                        ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/API.swift:23:56: error: cannot find type 'URLRequest' in scope
    public func buildURLRequest(endpoint: Endpoint) -> URLRequest {
                                                       ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/API.swift:27:46: error: cannot find type 'URLRequest' in scope
    public func addHeaders(urlRequest: inout URLRequest, headers: [String: String]) {
                                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/API.swift:31:42: error: cannot find type 'URLRequest' in scope
    public func execute(with urlRequest: URLRequest) async -> Result<Data, APIError> {
                                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/ChatCompletions/Stream/CreateChatCompletionsStreamRequest.swift:10:36: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func setURLSession(urlSession: URLSession)
                                   ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/ChatCompletions/Stream/CreateChatCompletionsStreamRequest.swift:21:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private var urlSession: URLSession?
                            ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/ChatCompletions/Stream/CreateChatCompletionsStreamRequest.swift:22:27: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private var dataTask: URLSessionDataTask?
                          ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/ChatCompletions/Stream/CreateChatCompletionsStreamRequest.swift:54:36: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func setURLSession(urlSession: URLSession) {
                                   ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/ChatCompletions/Stream/CreateChatCompletionsStreamRequest.swift:60:47: error: cannot find type 'URLSessionDataDelegate' in scope
extension CreateChatCompletionsStreamRequest: URLSessionDataDelegate {
                                              ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/ChatCompletions/Stream/CreateChatCompletionsStreamRequest.swift:61:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
                                      ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/ChatCompletions/Stream/CreateChatCompletionsStreamRequest.swift:61:61: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
                                                            ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/ChatCompletions/Stream/CreateChatCompletionsStreamRequest.swift:71:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
                                      ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/ChatCompletions/Stream/CreateChatCompletionsStreamRequest.swift:71:57: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
                                                        ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/ChatCompletions/Stream/CreateChatCompletionsStreamRequest.swift:29:27: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        self.urlSession = URLSession(configuration: .default,
                          ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/ChatCompletions/Stream/CreateChatCompletionsStreamRequest.swift:29:54: error: cannot infer contextual base in reference to member 'default'
        self.urlSession = URLSession(configuration: .default,
                                                    ~^~~~~~~
[35/62] Compiling SwiftOpenAI CreateChatCompletionsImageInputRequest.swift
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranslationRequest.swift:22:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private var urlSession: URLSession?
                            ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranslationRequest.swift:23:27: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private var dataTask: URLSessionDataTask?
                          ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranslationRequest.swift:77:37: error: cannot find type 'URLSessionDataDelegate' in scope
extension CreateTranslationRequest: URLSessionDataDelegate {
                                    ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranslationRequest.swift:78:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
                                      ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranslationRequest.swift:78:61: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
                                                            ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranslationRequest.swift:87:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
                                      ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranslationRequest.swift:87:57: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
                                                        ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/API.swift:23:56: error: cannot find type 'URLRequest' in scope
    public func buildURLRequest(endpoint: Endpoint) -> URLRequest {
                                                       ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/API.swift:27:46: error: cannot find type 'URLRequest' in scope
    public func addHeaders(urlRequest: inout URLRequest, headers: [String: String]) {
                                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/API.swift:31:42: error: cannot find type 'URLRequest' in scope
    public func execute(with urlRequest: URLRequest) async -> Result<Data, APIError> {
                                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/ChatCompletions/Stream/CreateChatCompletionsStreamRequest.swift:10:36: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func setURLSession(urlSession: URLSession)
                                   ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/ChatCompletions/Stream/CreateChatCompletionsStreamRequest.swift:21:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private var urlSession: URLSession?
                            ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/ChatCompletions/Stream/CreateChatCompletionsStreamRequest.swift:22:27: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private var dataTask: URLSessionDataTask?
                          ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/ChatCompletions/Stream/CreateChatCompletionsStreamRequest.swift:54:36: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func setURLSession(urlSession: URLSession) {
                                   ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/ChatCompletions/Stream/CreateChatCompletionsStreamRequest.swift:60:47: error: cannot find type 'URLSessionDataDelegate' in scope
extension CreateChatCompletionsStreamRequest: URLSessionDataDelegate {
                                              ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/ChatCompletions/Stream/CreateChatCompletionsStreamRequest.swift:61:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
                                      ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/ChatCompletions/Stream/CreateChatCompletionsStreamRequest.swift:61:61: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
                                                            ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/ChatCompletions/Stream/CreateChatCompletionsStreamRequest.swift:71:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
                                      ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/ChatCompletions/Stream/CreateChatCompletionsStreamRequest.swift:71:57: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
                                                        ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/ChatCompletions/Stream/CreateChatCompletionsStreamRequest.swift:29:27: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        self.urlSession = URLSession(configuration: .default,
                          ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/ChatCompletions/Stream/CreateChatCompletionsStreamRequest.swift:29:54: error: cannot infer contextual base in reference to member 'default'
        self.urlSession = URLSession(configuration: .default,
                                                    ~^~~~~~~
[36/62] Compiling SwiftOpenAI CreateChatCompletionsRequest.swift
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranslationRequest.swift:22:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private var urlSession: URLSession?
                            ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranslationRequest.swift:23:27: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private var dataTask: URLSessionDataTask?
                          ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranslationRequest.swift:77:37: error: cannot find type 'URLSessionDataDelegate' in scope
extension CreateTranslationRequest: URLSessionDataDelegate {
                                    ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranslationRequest.swift:78:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
                                      ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranslationRequest.swift:78:61: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
                                                            ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranslationRequest.swift:87:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
                                      ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranslationRequest.swift:87:57: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
                                                        ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/API.swift:23:56: error: cannot find type 'URLRequest' in scope
    public func buildURLRequest(endpoint: Endpoint) -> URLRequest {
                                                       ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/API.swift:27:46: error: cannot find type 'URLRequest' in scope
    public func addHeaders(urlRequest: inout URLRequest, headers: [String: String]) {
                                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/API.swift:31:42: error: cannot find type 'URLRequest' in scope
    public func execute(with urlRequest: URLRequest) async -> Result<Data, APIError> {
                                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/ChatCompletions/Stream/CreateChatCompletionsStreamRequest.swift:10:36: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func setURLSession(urlSession: URLSession)
                                   ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/ChatCompletions/Stream/CreateChatCompletionsStreamRequest.swift:21:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private var urlSession: URLSession?
                            ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/ChatCompletions/Stream/CreateChatCompletionsStreamRequest.swift:22:27: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private var dataTask: URLSessionDataTask?
                          ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/ChatCompletions/Stream/CreateChatCompletionsStreamRequest.swift:54:36: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func setURLSession(urlSession: URLSession) {
                                   ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/ChatCompletions/Stream/CreateChatCompletionsStreamRequest.swift:60:47: error: cannot find type 'URLSessionDataDelegate' in scope
extension CreateChatCompletionsStreamRequest: URLSessionDataDelegate {
                                              ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/ChatCompletions/Stream/CreateChatCompletionsStreamRequest.swift:61:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
                                      ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/ChatCompletions/Stream/CreateChatCompletionsStreamRequest.swift:61:61: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
                                                            ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/ChatCompletions/Stream/CreateChatCompletionsStreamRequest.swift:71:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
                                      ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/ChatCompletions/Stream/CreateChatCompletionsStreamRequest.swift:71:57: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
                                                        ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/ChatCompletions/Stream/CreateChatCompletionsStreamRequest.swift:29:27: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        self.urlSession = URLSession(configuration: .default,
                          ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/ChatCompletions/Stream/CreateChatCompletionsStreamRequest.swift:29:54: error: cannot infer contextual base in reference to member 'default'
        self.urlSession = URLSession(configuration: .default,
                                                    ~^~~~~~~
[37/62] Compiling SwiftOpenAI ChatCompletionsStreamMapper.swift
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranslationRequest.swift:22:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private var urlSession: URLSession?
                            ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranslationRequest.swift:23:27: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private var dataTask: URLSessionDataTask?
                          ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranslationRequest.swift:77:37: error: cannot find type 'URLSessionDataDelegate' in scope
extension CreateTranslationRequest: URLSessionDataDelegate {
                                    ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranslationRequest.swift:78:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
                                      ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranslationRequest.swift:78:61: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
                                                            ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranslationRequest.swift:87:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
                                      ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranslationRequest.swift:87:57: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
                                                        ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/API.swift:23:56: error: cannot find type 'URLRequest' in scope
    public func buildURLRequest(endpoint: Endpoint) -> URLRequest {
                                                       ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/API.swift:27:46: error: cannot find type 'URLRequest' in scope
    public func addHeaders(urlRequest: inout URLRequest, headers: [String: String]) {
                                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/API.swift:31:42: error: cannot find type 'URLRequest' in scope
    public func execute(with urlRequest: URLRequest) async -> Result<Data, APIError> {
                                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/ChatCompletions/Stream/CreateChatCompletionsStreamRequest.swift:10:36: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func setURLSession(urlSession: URLSession)
                                   ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/ChatCompletions/Stream/CreateChatCompletionsStreamRequest.swift:21:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private var urlSession: URLSession?
                            ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/ChatCompletions/Stream/CreateChatCompletionsStreamRequest.swift:22:27: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private var dataTask: URLSessionDataTask?
                          ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/ChatCompletions/Stream/CreateChatCompletionsStreamRequest.swift:54:36: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func setURLSession(urlSession: URLSession) {
                                   ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/ChatCompletions/Stream/CreateChatCompletionsStreamRequest.swift:60:47: error: cannot find type 'URLSessionDataDelegate' in scope
extension CreateChatCompletionsStreamRequest: URLSessionDataDelegate {
                                              ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/ChatCompletions/Stream/CreateChatCompletionsStreamRequest.swift:61:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
                                      ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/ChatCompletions/Stream/CreateChatCompletionsStreamRequest.swift:61:61: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
                                                            ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/ChatCompletions/Stream/CreateChatCompletionsStreamRequest.swift:71:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
                                      ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/ChatCompletions/Stream/CreateChatCompletionsStreamRequest.swift:71:57: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
                                                        ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/ChatCompletions/Stream/CreateChatCompletionsStreamRequest.swift:29:27: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        self.urlSession = URLSession(configuration: .default,
                          ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/ChatCompletions/Stream/CreateChatCompletionsStreamRequest.swift:29:54: error: cannot infer contextual base in reference to member 'default'
        self.urlSession = URLSession(configuration: .default,
                                                    ~^~~~~~~
[38/62] Compiling SwiftOpenAI CreateChatCompletionsStreamRequest.swift
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranslationRequest.swift:22:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private var urlSession: URLSession?
                            ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranslationRequest.swift:23:27: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private var dataTask: URLSessionDataTask?
                          ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranslationRequest.swift:77:37: error: cannot find type 'URLSessionDataDelegate' in scope
extension CreateTranslationRequest: URLSessionDataDelegate {
                                    ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranslationRequest.swift:78:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
                                      ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranslationRequest.swift:78:61: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
                                                            ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranslationRequest.swift:87:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
                                      ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranslationRequest.swift:87:57: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
                                                        ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/API.swift:23:56: error: cannot find type 'URLRequest' in scope
    public func buildURLRequest(endpoint: Endpoint) -> URLRequest {
                                                       ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/API.swift:27:46: error: cannot find type 'URLRequest' in scope
    public func addHeaders(urlRequest: inout URLRequest, headers: [String: String]) {
                                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/API.swift:31:42: error: cannot find type 'URLRequest' in scope
    public func execute(with urlRequest: URLRequest) async -> Result<Data, APIError> {
                                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/ChatCompletions/Stream/CreateChatCompletionsStreamRequest.swift:10:36: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func setURLSession(urlSession: URLSession)
                                   ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/ChatCompletions/Stream/CreateChatCompletionsStreamRequest.swift:21:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private var urlSession: URLSession?
                            ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/ChatCompletions/Stream/CreateChatCompletionsStreamRequest.swift:22:27: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private var dataTask: URLSessionDataTask?
                          ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/ChatCompletions/Stream/CreateChatCompletionsStreamRequest.swift:54:36: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func setURLSession(urlSession: URLSession) {
                                   ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/ChatCompletions/Stream/CreateChatCompletionsStreamRequest.swift:60:47: error: cannot find type 'URLSessionDataDelegate' in scope
extension CreateChatCompletionsStreamRequest: URLSessionDataDelegate {
                                              ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/ChatCompletions/Stream/CreateChatCompletionsStreamRequest.swift:61:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
                                      ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/ChatCompletions/Stream/CreateChatCompletionsStreamRequest.swift:61:61: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
                                                            ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/ChatCompletions/Stream/CreateChatCompletionsStreamRequest.swift:71:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
                                      ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/ChatCompletions/Stream/CreateChatCompletionsStreamRequest.swift:71:57: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
                                                        ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/ChatCompletions/Stream/CreateChatCompletionsStreamRequest.swift:29:27: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        self.urlSession = URLSession(configuration: .default,
                          ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/ChatCompletions/Stream/CreateChatCompletionsStreamRequest.swift:29:54: error: cannot infer contextual base in reference to member 'default'
        self.urlSession = URLSession(configuration: .default,
                                                    ~^~~~~~~
[39/62] Compiling SwiftOpenAI CompletionsRequest.swift
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranslationRequest.swift:22:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private var urlSession: URLSession?
                            ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranslationRequest.swift:23:27: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private var dataTask: URLSessionDataTask?
                          ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranslationRequest.swift:77:37: error: cannot find type 'URLSessionDataDelegate' in scope
extension CreateTranslationRequest: URLSessionDataDelegate {
                                    ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranslationRequest.swift:78:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
                                      ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranslationRequest.swift:78:61: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
                                                            ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranslationRequest.swift:87:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
                                      ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranslationRequest.swift:87:57: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
                                                        ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/API.swift:23:56: error: cannot find type 'URLRequest' in scope
    public func buildURLRequest(endpoint: Endpoint) -> URLRequest {
                                                       ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/API.swift:27:46: error: cannot find type 'URLRequest' in scope
    public func addHeaders(urlRequest: inout URLRequest, headers: [String: String]) {
                                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/API.swift:31:42: error: cannot find type 'URLRequest' in scope
    public func execute(with urlRequest: URLRequest) async -> Result<Data, APIError> {
                                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/ChatCompletions/Stream/CreateChatCompletionsStreamRequest.swift:10:36: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func setURLSession(urlSession: URLSession)
                                   ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/ChatCompletions/Stream/CreateChatCompletionsStreamRequest.swift:21:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private var urlSession: URLSession?
                            ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/ChatCompletions/Stream/CreateChatCompletionsStreamRequest.swift:22:27: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private var dataTask: URLSessionDataTask?
                          ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/ChatCompletions/Stream/CreateChatCompletionsStreamRequest.swift:54:36: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func setURLSession(urlSession: URLSession) {
                                   ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/ChatCompletions/Stream/CreateChatCompletionsStreamRequest.swift:60:47: error: cannot find type 'URLSessionDataDelegate' in scope
extension CreateChatCompletionsStreamRequest: URLSessionDataDelegate {
                                              ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/ChatCompletions/Stream/CreateChatCompletionsStreamRequest.swift:61:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
                                      ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/ChatCompletions/Stream/CreateChatCompletionsStreamRequest.swift:61:61: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
                                                            ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/ChatCompletions/Stream/CreateChatCompletionsStreamRequest.swift:71:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
                                      ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/ChatCompletions/Stream/CreateChatCompletionsStreamRequest.swift:71:57: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
                                                        ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/ChatCompletions/Stream/CreateChatCompletionsStreamRequest.swift:29:27: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        self.urlSession = URLSession(configuration: .default,
                          ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/ChatCompletions/Stream/CreateChatCompletionsStreamRequest.swift:29:54: error: cannot infer contextual base in reference to member 'default'
        self.urlSession = URLSession(configuration: .default,
                                                    ~^~~~~~~
[40/62] Compiling SwiftOpenAI EmbeddingsRequest.swift
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranslationRequest.swift:22:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private var urlSession: URLSession?
                            ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranslationRequest.swift:23:27: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private var dataTask: URLSessionDataTask?
                          ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranslationRequest.swift:77:37: error: cannot find type 'URLSessionDataDelegate' in scope
extension CreateTranslationRequest: URLSessionDataDelegate {
                                    ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranslationRequest.swift:78:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
                                      ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranslationRequest.swift:78:61: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
                                                            ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranslationRequest.swift:87:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
                                      ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranslationRequest.swift:87:57: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
                                                        ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/API.swift:23:56: error: cannot find type 'URLRequest' in scope
    public func buildURLRequest(endpoint: Endpoint) -> URLRequest {
                                                       ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/API.swift:27:46: error: cannot find type 'URLRequest' in scope
    public func addHeaders(urlRequest: inout URLRequest, headers: [String: String]) {
                                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/API.swift:31:42: error: cannot find type 'URLRequest' in scope
    public func execute(with urlRequest: URLRequest) async -> Result<Data, APIError> {
                                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/ChatCompletions/Stream/CreateChatCompletionsStreamRequest.swift:10:36: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func setURLSession(urlSession: URLSession)
                                   ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/ChatCompletions/Stream/CreateChatCompletionsStreamRequest.swift:21:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private var urlSession: URLSession?
                            ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/ChatCompletions/Stream/CreateChatCompletionsStreamRequest.swift:22:27: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private var dataTask: URLSessionDataTask?
                          ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/ChatCompletions/Stream/CreateChatCompletionsStreamRequest.swift:54:36: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func setURLSession(urlSession: URLSession) {
                                   ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/ChatCompletions/Stream/CreateChatCompletionsStreamRequest.swift:60:47: error: cannot find type 'URLSessionDataDelegate' in scope
extension CreateChatCompletionsStreamRequest: URLSessionDataDelegate {
                                              ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/ChatCompletions/Stream/CreateChatCompletionsStreamRequest.swift:61:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
                                      ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/ChatCompletions/Stream/CreateChatCompletionsStreamRequest.swift:61:61: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
                                                            ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/ChatCompletions/Stream/CreateChatCompletionsStreamRequest.swift:71:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
                                      ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/ChatCompletions/Stream/CreateChatCompletionsStreamRequest.swift:71:57: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
                                                        ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/ChatCompletions/Stream/CreateChatCompletionsStreamRequest.swift:29:27: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        self.urlSession = URLSession(configuration: .default,
                          ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/ChatCompletions/Stream/CreateChatCompletionsStreamRequest.swift:29:54: error: cannot infer contextual base in reference to member 'default'
        self.urlSession = URLSession(configuration: .default,
                                                    ~^~~~~~~
[41/62] Compiling SwiftOpenAI CreateImagesRequest.swift
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/API.swift:23:56: error: cannot find type 'URLRequest' in scope
    public func buildURLRequest(endpoint: Endpoint) -> URLRequest {
                                                       ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/API.swift:27:46: error: cannot find type 'URLRequest' in scope
    public func addHeaders(urlRequest: inout URLRequest, headers: [String: String]) {
                                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/API.swift:31:42: error: cannot find type 'URLRequest' in scope
    public func execute(with urlRequest: URLRequest) async -> Result<Data, APIError> {
                                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Images/EditImageRequest.swift:58:46: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
        let (data, _) = try await URLSession.shared.data(for: urlRequest)
                                  ~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Images/VariationImageRequest.swift:48:46: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
        let (data, _) = try await URLSession.shared.data(for: urlRequest)
                                  ~~~~~~~~~~ ^~~~~~
[42/62] Compiling SwiftOpenAI EditImageRequest.swift
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/API.swift:23:56: error: cannot find type 'URLRequest' in scope
    public func buildURLRequest(endpoint: Endpoint) -> URLRequest {
                                                       ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/API.swift:27:46: error: cannot find type 'URLRequest' in scope
    public func addHeaders(urlRequest: inout URLRequest, headers: [String: String]) {
                                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/API.swift:31:42: error: cannot find type 'URLRequest' in scope
    public func execute(with urlRequest: URLRequest) async -> Result<Data, APIError> {
                                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Images/EditImageRequest.swift:58:46: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
        let (data, _) = try await URLSession.shared.data(for: urlRequest)
                                  ~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Images/VariationImageRequest.swift:48:46: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
        let (data, _) = try await URLSession.shared.data(for: urlRequest)
                                  ~~~~~~~~~~ ^~~~~~
[43/62] Compiling SwiftOpenAI VariationImageRequest.swift
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/API.swift:23:56: error: cannot find type 'URLRequest' in scope
    public func buildURLRequest(endpoint: Endpoint) -> URLRequest {
                                                       ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/API.swift:27:46: error: cannot find type 'URLRequest' in scope
    public func addHeaders(urlRequest: inout URLRequest, headers: [String: String]) {
                                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/API.swift:31:42: error: cannot find type 'URLRequest' in scope
    public func execute(with urlRequest: URLRequest) async -> Result<Data, APIError> {
                                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Images/EditImageRequest.swift:58:46: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
        let (data, _) = try await URLSession.shared.data(for: urlRequest)
                                  ~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Images/VariationImageRequest.swift:48:46: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
        let (data, _) = try await URLSession.shared.data(for: urlRequest)
                                  ~~~~~~~~~~ ^~~~~~
[44/62] Compiling SwiftOpenAI ListModelsRequest.swift
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/API.swift:23:56: error: cannot find type 'URLRequest' in scope
    public func buildURLRequest(endpoint: Endpoint) -> URLRequest {
                                                       ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/API.swift:27:46: error: cannot find type 'URLRequest' in scope
    public func addHeaders(urlRequest: inout URLRequest, headers: [String: String]) {
                                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/API.swift:31:42: error: cannot find type 'URLRequest' in scope
    public func execute(with urlRequest: URLRequest) async -> Result<Data, APIError> {
                                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Images/EditImageRequest.swift:58:46: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
        let (data, _) = try await URLSession.shared.data(for: urlRequest)
                                  ~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Images/VariationImageRequest.swift:48:46: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
        let (data, _) = try await URLSession.shared.data(for: urlRequest)
                                  ~~~~~~~~~~ ^~~~~~
[45/62] Compiling SwiftOpenAI ModerationsRequest.swift
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/API.swift:23:56: error: cannot find type 'URLRequest' in scope
    public func buildURLRequest(endpoint: Endpoint) -> URLRequest {
                                                       ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/API.swift:27:46: error: cannot find type 'URLRequest' in scope
    public func addHeaders(urlRequest: inout URLRequest, headers: [String: String]) {
                                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/API.swift:31:42: error: cannot find type 'URLRequest' in scope
    public func execute(with urlRequest: URLRequest) async -> Result<Data, APIError> {
                                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Images/EditImageRequest.swift:58:46: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
        let (data, _) = try await URLSession.shared.data(for: urlRequest)
                                  ~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Images/VariationImageRequest.swift:48:46: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
        let (data, _) = try await URLSession.shared.data(for: urlRequest)
                                  ~~~~~~~~~~ ^~~~~~
[46/62] Compiling SwiftOpenAI MultipartFormData.swift
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/API.swift:23:56: error: cannot find type 'URLRequest' in scope
    public func buildURLRequest(endpoint: Endpoint) -> URLRequest {
                                                       ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/API.swift:27:46: error: cannot find type 'URLRequest' in scope
    public func addHeaders(urlRequest: inout URLRequest, headers: [String: String]) {
                                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/API.swift:31:42: error: cannot find type 'URLRequest' in scope
    public func execute(with urlRequest: URLRequest) async -> Result<Data, APIError> {
                                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Images/EditImageRequest.swift:58:46: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
        let (data, _) = try await URLSession.shared.data(for: urlRequest)
                                  ~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Images/VariationImageRequest.swift:48:46: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
        let (data, _) = try await URLSession.shared.data(for: urlRequest)
                                  ~~~~~~~~~~ ^~~~~~
[47/62] Compiling SwiftOpenAI SwiftOpenAI.swift
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/API.swift:23:56: error: cannot find type 'URLRequest' in scope
    public func buildURLRequest(endpoint: Endpoint) -> URLRequest {
                                                       ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/API.swift:27:46: error: cannot find type 'URLRequest' in scope
    public func addHeaders(urlRequest: inout URLRequest, headers: [String: String]) {
                                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/API.swift:31:42: error: cannot find type 'URLRequest' in scope
    public func execute(with urlRequest: URLRequest) async -> Result<Data, APIError> {
                                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Images/EditImageRequest.swift:58:46: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
        let (data, _) = try await URLSession.shared.data(for: urlRequest)
                                  ~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Images/VariationImageRequest.swift:48:46: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
        let (data, _) = try await URLSession.shared.data(for: urlRequest)
                                  ~~~~~~~~~~ ^~~~~~
[48/62] Compiling SwiftOpenAI CreateTranscriptionEndpoint.swift
[49/62] Compiling SwiftOpenAI CreateTranslationEndpoint.swift
[50/62] Compiling SwiftOpenAI ChatCompletionsEndpoint.swift
[51/62] Compiling SwiftOpenAI ChatCompletionsImageInputEndpoint.swift
[52/62] Compiling SwiftOpenAI CompletionsEndpoint.swift
[53/62] Compiling SwiftOpenAI EmbeddingsEndpoint.swift
[54/62] Compiling SwiftOpenAI CreateImageEndpoint.swift
[55/62] Compiling SwiftOpenAI API.swift
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Requester/Requester.swift:4:35: error: cannot find type 'URLRequest' in scope
    func execute(with urlRequest: URLRequest) async -> Result<Data, APIError>
                                  ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Requester/RequestBuilder.swift:4:49: error: cannot find type 'URLRequest' in scope
    func buildURLRequest(endpoint: Endpoint) -> URLRequest
                                                ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Requester/RequestBuilder.swift:5:39: error: cannot find type 'URLRequest' in scope
    func addHeaders(urlRequest: inout URLRequest, headers: [String: String])
                                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/API.swift:23:56: error: cannot find type 'URLRequest' in scope
    public func buildURLRequest(endpoint: Endpoint) -> URLRequest {
                                                       ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/API.swift:27:46: error: cannot find type 'URLRequest' in scope
    public func addHeaders(urlRequest: inout URLRequest, headers: [String: String]) {
                                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/API.swift:31:42: error: cannot find type 'URLRequest' in scope
    public func execute(with urlRequest: URLRequest) async -> Result<Data, APIError> {
                                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Requester/RequestBuilder.swift:12:56: error: cannot find type 'URLRequest' in scope
    public func buildURLRequest(endpoint: Endpoint) -> URLRequest {
                                                       ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Requester/RequestBuilder.swift:39:46: error: cannot find type 'URLRequest' in scope
    public func addHeaders(urlRequest: inout URLRequest, headers: [String: String]) {
                                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Requester/RequestBuilder.swift:13:26: error: cannot find 'URLRequest' in scope
        var urlRequest = URLRequest(url: URL(string: endpoint.path)!)
                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Requester/Requester.swift:8:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private let urlSession: URLSession
                            ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Requester/Requester.swift:10:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public init(urlSession: URLSession = URLSession.shared) {
                            ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Requester/Requester.swift:10:53: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    public init(urlSession: URLSession = URLSession.shared) {
                                         ~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Requester/Requester.swift:14:42: error: cannot find type 'URLRequest' in scope
    public func execute(with urlRequest: URLRequest) async -> Result<Data, APIError> {
                                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Requester/Requester.swift:16:57: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
            let (data, response) = try await urlSession.data(for: urlRequest)
                                             ~~~~~~~~~~ ^~~~
[56/62] Compiling SwiftOpenAI Endpoint.swift
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Requester/Requester.swift:4:35: error: cannot find type 'URLRequest' in scope
    func execute(with urlRequest: URLRequest) async -> Result<Data, APIError>
                                  ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Requester/RequestBuilder.swift:4:49: error: cannot find type 'URLRequest' in scope
    func buildURLRequest(endpoint: Endpoint) -> URLRequest
                                                ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Requester/RequestBuilder.swift:5:39: error: cannot find type 'URLRequest' in scope
    func addHeaders(urlRequest: inout URLRequest, headers: [String: String])
                                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/API.swift:23:56: error: cannot find type 'URLRequest' in scope
    public func buildURLRequest(endpoint: Endpoint) -> URLRequest {
                                                       ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/API.swift:27:46: error: cannot find type 'URLRequest' in scope
    public func addHeaders(urlRequest: inout URLRequest, headers: [String: String]) {
                                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/API.swift:31:42: error: cannot find type 'URLRequest' in scope
    public func execute(with urlRequest: URLRequest) async -> Result<Data, APIError> {
                                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Requester/RequestBuilder.swift:12:56: error: cannot find type 'URLRequest' in scope
    public func buildURLRequest(endpoint: Endpoint) -> URLRequest {
                                                       ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Requester/RequestBuilder.swift:39:46: error: cannot find type 'URLRequest' in scope
    public func addHeaders(urlRequest: inout URLRequest, headers: [String: String]) {
                                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Requester/RequestBuilder.swift:13:26: error: cannot find 'URLRequest' in scope
        var urlRequest = URLRequest(url: URL(string: endpoint.path)!)
                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Requester/Requester.swift:8:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private let urlSession: URLSession
                            ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Requester/Requester.swift:10:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public init(urlSession: URLSession = URLSession.shared) {
                            ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Requester/Requester.swift:10:53: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    public init(urlSession: URLSession = URLSession.shared) {
                                         ~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Requester/Requester.swift:14:42: error: cannot find type 'URLRequest' in scope
    public func execute(with urlRequest: URLRequest) async -> Result<Data, APIError> {
                                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Requester/Requester.swift:16:57: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
            let (data, response) = try await urlSession.data(for: urlRequest)
                                             ~~~~~~~~~~ ^~~~
[57/62] Compiling SwiftOpenAI Parser.swift
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Requester/Requester.swift:4:35: error: cannot find type 'URLRequest' in scope
    func execute(with urlRequest: URLRequest) async -> Result<Data, APIError>
                                  ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Requester/RequestBuilder.swift:4:49: error: cannot find type 'URLRequest' in scope
    func buildURLRequest(endpoint: Endpoint) -> URLRequest
                                                ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Requester/RequestBuilder.swift:5:39: error: cannot find type 'URLRequest' in scope
    func addHeaders(urlRequest: inout URLRequest, headers: [String: String])
                                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/API.swift:23:56: error: cannot find type 'URLRequest' in scope
    public func buildURLRequest(endpoint: Endpoint) -> URLRequest {
                                                       ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/API.swift:27:46: error: cannot find type 'URLRequest' in scope
    public func addHeaders(urlRequest: inout URLRequest, headers: [String: String]) {
                                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/API.swift:31:42: error: cannot find type 'URLRequest' in scope
    public func execute(with urlRequest: URLRequest) async -> Result<Data, APIError> {
                                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Requester/RequestBuilder.swift:12:56: error: cannot find type 'URLRequest' in scope
    public func buildURLRequest(endpoint: Endpoint) -> URLRequest {
                                                       ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Requester/RequestBuilder.swift:39:46: error: cannot find type 'URLRequest' in scope
    public func addHeaders(urlRequest: inout URLRequest, headers: [String: String]) {
                                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Requester/RequestBuilder.swift:13:26: error: cannot find 'URLRequest' in scope
        var urlRequest = URLRequest(url: URL(string: endpoint.path)!)
                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Requester/Requester.swift:8:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private let urlSession: URLSession
                            ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Requester/Requester.swift:10:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public init(urlSession: URLSession = URLSession.shared) {
                            ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Requester/Requester.swift:10:53: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    public init(urlSession: URLSession = URLSession.shared) {
                                         ~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Requester/Requester.swift:14:42: error: cannot find type 'URLRequest' in scope
    public func execute(with urlRequest: URLRequest) async -> Result<Data, APIError> {
                                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Requester/Requester.swift:16:57: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
            let (data, response) = try await urlSession.data(for: urlRequest)
                                             ~~~~~~~~~~ ^~~~
[58/62] Compiling SwiftOpenAI APIError.swift
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Requester/Requester.swift:4:35: error: cannot find type 'URLRequest' in scope
    func execute(with urlRequest: URLRequest) async -> Result<Data, APIError>
                                  ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Requester/RequestBuilder.swift:4:49: error: cannot find type 'URLRequest' in scope
    func buildURLRequest(endpoint: Endpoint) -> URLRequest
                                                ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Requester/RequestBuilder.swift:5:39: error: cannot find type 'URLRequest' in scope
    func addHeaders(urlRequest: inout URLRequest, headers: [String: String])
                                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/API.swift:23:56: error: cannot find type 'URLRequest' in scope
    public func buildURLRequest(endpoint: Endpoint) -> URLRequest {
                                                       ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/API.swift:27:46: error: cannot find type 'URLRequest' in scope
    public func addHeaders(urlRequest: inout URLRequest, headers: [String: String]) {
                                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/API.swift:31:42: error: cannot find type 'URLRequest' in scope
    public func execute(with urlRequest: URLRequest) async -> Result<Data, APIError> {
                                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Requester/RequestBuilder.swift:12:56: error: cannot find type 'URLRequest' in scope
    public func buildURLRequest(endpoint: Endpoint) -> URLRequest {
                                                       ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Requester/RequestBuilder.swift:39:46: error: cannot find type 'URLRequest' in scope
    public func addHeaders(urlRequest: inout URLRequest, headers: [String: String]) {
                                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Requester/RequestBuilder.swift:13:26: error: cannot find 'URLRequest' in scope
        var urlRequest = URLRequest(url: URL(string: endpoint.path)!)
                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Requester/Requester.swift:8:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private let urlSession: URLSession
                            ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Requester/Requester.swift:10:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public init(urlSession: URLSession = URLSession.shared) {
                            ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Requester/Requester.swift:10:53: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    public init(urlSession: URLSession = URLSession.shared) {
                                         ~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Requester/Requester.swift:14:42: error: cannot find type 'URLRequest' in scope
    public func execute(with urlRequest: URLRequest) async -> Result<Data, APIError> {
                                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Requester/Requester.swift:16:57: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
            let (data, response) = try await urlSession.data(for: urlRequest)
                                             ~~~~~~~~~~ ^~~~
[59/62] Compiling SwiftOpenAI RequestBuilder.swift
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Requester/Requester.swift:4:35: error: cannot find type 'URLRequest' in scope
    func execute(with urlRequest: URLRequest) async -> Result<Data, APIError>
                                  ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Requester/RequestBuilder.swift:4:49: error: cannot find type 'URLRequest' in scope
    func buildURLRequest(endpoint: Endpoint) -> URLRequest
                                                ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Requester/RequestBuilder.swift:5:39: error: cannot find type 'URLRequest' in scope
    func addHeaders(urlRequest: inout URLRequest, headers: [String: String])
                                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/API.swift:23:56: error: cannot find type 'URLRequest' in scope
    public func buildURLRequest(endpoint: Endpoint) -> URLRequest {
                                                       ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/API.swift:27:46: error: cannot find type 'URLRequest' in scope
    public func addHeaders(urlRequest: inout URLRequest, headers: [String: String]) {
                                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/API.swift:31:42: error: cannot find type 'URLRequest' in scope
    public func execute(with urlRequest: URLRequest) async -> Result<Data, APIError> {
                                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Requester/RequestBuilder.swift:12:56: error: cannot find type 'URLRequest' in scope
    public func buildURLRequest(endpoint: Endpoint) -> URLRequest {
                                                       ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Requester/RequestBuilder.swift:39:46: error: cannot find type 'URLRequest' in scope
    public func addHeaders(urlRequest: inout URLRequest, headers: [String: String]) {
                                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Requester/RequestBuilder.swift:13:26: error: cannot find 'URLRequest' in scope
        var urlRequest = URLRequest(url: URL(string: endpoint.path)!)
                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Requester/Requester.swift:8:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private let urlSession: URLSession
                            ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Requester/Requester.swift:10:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public init(urlSession: URLSession = URLSession.shared) {
                            ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Requester/Requester.swift:10:53: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    public init(urlSession: URLSession = URLSession.shared) {
                                         ~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Requester/Requester.swift:14:42: error: cannot find type 'URLRequest' in scope
    public func execute(with urlRequest: URLRequest) async -> Result<Data, APIError> {
                                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Requester/Requester.swift:16:57: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
            let (data, response) = try await urlSession.data(for: urlRequest)
                                             ~~~~~~~~~~ ^~~~
[60/62] Compiling SwiftOpenAI Requester.swift
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Requester/Requester.swift:4:35: error: cannot find type 'URLRequest' in scope
    func execute(with urlRequest: URLRequest) async -> Result<Data, APIError>
                                  ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Requester/RequestBuilder.swift:4:49: error: cannot find type 'URLRequest' in scope
    func buildURLRequest(endpoint: Endpoint) -> URLRequest
                                                ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Requester/RequestBuilder.swift:5:39: error: cannot find type 'URLRequest' in scope
    func addHeaders(urlRequest: inout URLRequest, headers: [String: String])
                                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/API.swift:23:56: error: cannot find type 'URLRequest' in scope
    public func buildURLRequest(endpoint: Endpoint) -> URLRequest {
                                                       ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/API.swift:27:46: error: cannot find type 'URLRequest' in scope
    public func addHeaders(urlRequest: inout URLRequest, headers: [String: String]) {
                                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/API.swift:31:42: error: cannot find type 'URLRequest' in scope
    public func execute(with urlRequest: URLRequest) async -> Result<Data, APIError> {
                                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Requester/RequestBuilder.swift:12:56: error: cannot find type 'URLRequest' in scope
    public func buildURLRequest(endpoint: Endpoint) -> URLRequest {
                                                       ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Requester/RequestBuilder.swift:39:46: error: cannot find type 'URLRequest' in scope
    public func addHeaders(urlRequest: inout URLRequest, headers: [String: String]) {
                                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Requester/RequestBuilder.swift:13:26: error: cannot find 'URLRequest' in scope
        var urlRequest = URLRequest(url: URL(string: endpoint.path)!)
                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Requester/Requester.swift:8:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private let urlSession: URLSession
                            ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Requester/Requester.swift:10:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public init(urlSession: URLSession = URLSession.shared) {
                            ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Requester/Requester.swift:10:53: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    public init(urlSession: URLSession = URLSession.shared) {
                                         ~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Requester/Requester.swift:14:42: error: cannot find type 'URLRequest' in scope
    public func execute(with urlRequest: URLRequest) async -> Result<Data, APIError> {
                                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Requester/Requester.swift:16:57: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
            let (data, response) = try await urlSession.data(for: urlRequest)
                                             ~~~~~~~~~~ ^~~~
[61/62] Compiling SwiftOpenAI BaseEnvironment.swift
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Requester/Requester.swift:4:35: error: cannot find type 'URLRequest' in scope
    func execute(with urlRequest: URLRequest) async -> Result<Data, APIError>
                                  ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Requester/RequestBuilder.swift:4:49: error: cannot find type 'URLRequest' in scope
    func buildURLRequest(endpoint: Endpoint) -> URLRequest
                                                ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Requester/RequestBuilder.swift:5:39: error: cannot find type 'URLRequest' in scope
    func addHeaders(urlRequest: inout URLRequest, headers: [String: String])
                                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/API.swift:23:56: error: cannot find type 'URLRequest' in scope
    public func buildURLRequest(endpoint: Endpoint) -> URLRequest {
                                                       ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/API.swift:27:46: error: cannot find type 'URLRequest' in scope
    public func addHeaders(urlRequest: inout URLRequest, headers: [String: String]) {
                                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/API.swift:31:42: error: cannot find type 'URLRequest' in scope
    public func execute(with urlRequest: URLRequest) async -> Result<Data, APIError> {
                                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Requester/RequestBuilder.swift:12:56: error: cannot find type 'URLRequest' in scope
    public func buildURLRequest(endpoint: Endpoint) -> URLRequest {
                                                       ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Requester/RequestBuilder.swift:39:46: error: cannot find type 'URLRequest' in scope
    public func addHeaders(urlRequest: inout URLRequest, headers: [String: String]) {
                                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Requester/RequestBuilder.swift:13:26: error: cannot find 'URLRequest' in scope
        var urlRequest = URLRequest(url: URL(string: endpoint.path)!)
                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Requester/Requester.swift:8:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private let urlSession: URLSession
                            ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Requester/Requester.swift:10:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public init(urlSession: URLSession = URLSession.shared) {
                            ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Requester/Requester.swift:10:53: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    public init(urlSession: URLSession = URLSession.shared) {
                                         ~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Requester/Requester.swift:14:42: error: cannot find type 'URLRequest' in scope
    public func execute(with urlRequest: URLRequest) async -> Result<Data, APIError> {
                                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Requester/Requester.swift:16:57: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
            let (data, response) = try await urlSession.data(for: urlRequest)
                                             ~~~~~~~~~~ ^~~~
[62/62] Compiling SwiftOpenAI Router.swift
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Requester/Requester.swift:4:35: error: cannot find type 'URLRequest' in scope
    func execute(with urlRequest: URLRequest) async -> Result<Data, APIError>
                                  ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Requester/RequestBuilder.swift:4:49: error: cannot find type 'URLRequest' in scope
    func buildURLRequest(endpoint: Endpoint) -> URLRequest
                                                ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Requester/RequestBuilder.swift:5:39: error: cannot find type 'URLRequest' in scope
    func addHeaders(urlRequest: inout URLRequest, headers: [String: String])
                                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/API.swift:23:56: error: cannot find type 'URLRequest' in scope
    public func buildURLRequest(endpoint: Endpoint) -> URLRequest {
                                                       ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/API.swift:27:46: error: cannot find type 'URLRequest' in scope
    public func addHeaders(urlRequest: inout URLRequest, headers: [String: String]) {
                                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/API.swift:31:42: error: cannot find type 'URLRequest' in scope
    public func execute(with urlRequest: URLRequest) async -> Result<Data, APIError> {
                                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Requester/RequestBuilder.swift:12:56: error: cannot find type 'URLRequest' in scope
    public func buildURLRequest(endpoint: Endpoint) -> URLRequest {
                                                       ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Requester/RequestBuilder.swift:39:46: error: cannot find type 'URLRequest' in scope
    public func addHeaders(urlRequest: inout URLRequest, headers: [String: String]) {
                                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Requester/RequestBuilder.swift:13:26: error: cannot find 'URLRequest' in scope
        var urlRequest = URLRequest(url: URL(string: endpoint.path)!)
                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Requester/Requester.swift:8:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private let urlSession: URLSession
                            ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Requester/Requester.swift:10:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public init(urlSession: URLSession = URLSession.shared) {
                            ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Requester/Requester.swift:10:53: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    public init(urlSession: URLSession = URLSession.shared) {
                                         ~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Requester/Requester.swift:14:42: error: cannot find type 'URLRequest' in scope
    public func execute(with urlRequest: URLRequest) async -> Result<Data, APIError> {
                                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Requester/Requester.swift:16:57: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
            let (data, response) = try await urlSession.data(for: urlRequest)
                                             ~~~~~~~~~~ ^~~~
BUILD FAILURE 5.8 linux