Build Information
Failed to build SwiftOpenAI, reference main (b31678), with Swift 6.4 for Android on 20 Sep 2026 17:43:16 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886769-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.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: $PWD/.spi.yml
SUCCESS checkout https://github.com/SwiftBeta/SwiftOpenAI.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.4
Building package at path: $PWD
https://github.com/SwiftBeta/SwiftOpenAI.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:abadcff584c273feba50641b454858d377ba30b35ea7287a94f45ebd8afd0ea0
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.4-latest
Fetching https://github.com/apple/swift-docc-plugin
[1/2345] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin (0.55s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.5.0 (0.75s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3824] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit (0.61s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.84s)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.5.0
Building for debugging...
[Planning deferred tasks]
error: SwiftCompile normal aarch64 failed with a nonzero exit code. Command line: cd /host
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Requester/Requester.swift:4:35: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m2 |[0;0m
[0;36m3 |[0;0m public protocol RequesterProtocol {
[0;36m4 |[0;0m func execute(with urlRequest: [4;39mURLRequest[0;0m) async -> Result<Data, APIError>
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m5 |[0;0m }
[0;36m6 |[0;0m
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Requester/RequestBuilder.swift:4:49: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m2 |[0;0m
[0;36m3 |[0;0m public protocol RequestBuilderProtocol {
[0;36m4 |[0;0m func buildURLRequest(endpoint: Endpoint) -> [4;39mURLRequest[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m5 |[0;0m func addHeaders(urlRequest: inout URLRequest, headers: [String: String])
[0;36m6 |[0;0m }
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Requester/RequestBuilder.swift:5:39: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m3 |[0;0m public protocol RequestBuilderProtocol {
[0;36m4 |[0;0m func buildURLRequest(endpoint: Endpoint) -> URLRequest
[0;36m5 |[0;0m func addHeaders(urlRequest: inout [4;39mURLRequest[0;0m, headers: [String: String])
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m6 |[0;0m }
[0;36m7 |[0;0m
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Requester/Requester.swift:10:53: [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m8 |[0;0m private let urlSession: URLSession
[0;36m9 |[0;0m
[0;36m10 |[0;0m public init(urlSession: URLSession = [4;39mURLSession[0;0m.[4;39mshared[0;0m) {
[0;36m|[0;0m `- [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m11 |[0;0m self.urlSession = urlSession
[0;36m12 |[0;0m }
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Requester/Requester.swift:10:53: [1;31merror: [1;39mdefault argument value of type '_' cannot be converted to type 'AnyObject'[0;0m
[0;36m8 |[0;0m private let urlSession: URLSession
[0;36m9 |[0;0m
[0;36m10 |[0;0m public init(urlSession: URLSession = [4;39mURLSession.shared[0;0m) {
[0;36m|[0;0m `- [1;31merror: [1;39mdefault argument value of type '_' cannot be converted to type 'AnyObject'[0;0m
[0;36m11 |[0;0m self.urlSession = urlSession
[0;36m12 |[0;0m }
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/API.swift:23:56: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m21 |[0;0m }
[0;36m22 |[0;0m
[0;36m23 |[0;0m public func buildURLRequest(endpoint: Endpoint) -> [4;39mURLRequest[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m24 |[0;0m requestBuilder.buildURLRequest(endpoint: endpoint)
[0;36m25 |[0;0m }
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/API.swift:27:46: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m25 |[0;0m }
[0;36m26 |[0;0m
[0;36m27 |[0;0m public func addHeaders(urlRequest: inout [4;39mURLRequest[0;0m, headers: [String: String]) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m28 |[0;0m requestBuilder.addHeaders(urlRequest: &urlRequest, headers: headers)
[0;36m29 |[0;0m }
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/API.swift:31:42: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m29 |[0;0m }
[0;36m30 |[0;0m
[0;36m31 |[0;0m public func execute(with urlRequest: [4;39mURLRequest[0;0m) async -> Result<Data, APIError> {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m32 |[0;0m await requester.execute(with: urlRequest)
[0;36m33 |[0;0m }
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Requester/RequestBuilder.swift:12:56: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m10 |[0;0m public init() { }
[0;36m11 |[0;0m
[0;36m12 |[0;0m public func buildURLRequest(endpoint: Endpoint) -> [4;39mURLRequest[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m13 |[0;0m var urlRequest = URLRequest(url: URL(string: endpoint.path)!)
[0;36m14 |[0;0m urlRequest.httpMethod = endpoint.method.rawValue
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Requester/RequestBuilder.swift:39:46: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m37 |[0;0m }
[0;36m38 |[0;0m
[0;36m39 |[0;0m public func addHeaders(urlRequest: inout [4;39mURLRequest[0;0m, headers: [String: String]) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m40 |[0;0m headers.forEach { key, value in
[0;36m41 |[0;0m urlRequest.setValue(value, forHTTPHeaderField: key)
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Requester/Requester.swift:8:29: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m6 |[0;0m
[0;36m7 |[0;0m final public class Requester: RequesterProtocol {
[0;36m8 |[0;0m private let urlSession: [4;39mURLSession[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m9 |[0;0m
[0;36m10 |[0;0m public init(urlSession: URLSession = URLSession.shared) {
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Requester/Requester.swift:10:29: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m8 |[0;0m private let urlSession: URLSession
[0;36m9 |[0;0m
[0;36m10 |[0;0m public init(urlSession: [4;39mURLSession[0;0m = URLSession.shared) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m11 |[0;0m self.urlSession = urlSession
[0;36m12 |[0;0m }
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Requester/Requester.swift:14:42: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m12 |[0;0m }
[0;36m13 |[0;0m
[0;36m14 |[0;0m public func execute(with urlRequest: [4;39mURLRequest[0;0m) async -> Result<Data, APIError> {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m15 |[0;0m do {
[0;36m16 |[0;0m let (data, response) = try await urlSession.data(for: urlRequest)
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranscriptionRequest.swift:24:29: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m22 |[0;0m _ temperature: Double) async throws -> AsyncThrowingStream<CreateTranscriptionDataModel, Error>
[0;36m23 |[0;0m
[0;36m24 |[0;0m private var urlSession: [4;39mURLSession[0;0m?
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m25 |[0;0m private var dataTask: URLSessionDataTask?
[0;36m26 |[0;0m private var continuation: AsyncThrowingStream<CreateTranscriptionDataModel, Error>.Continuation?
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranscriptionRequest.swift:25:27: [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m23 |[0;0m
[0;36m24 |[0;0m private var urlSession: URLSession?
[0;36m25 |[0;0m private var dataTask: [4;39mURLSessionDataTask[0;0m?
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m26 |[0;0m private var continuation: AsyncThrowingStream<CreateTranscriptionDataModel, Error>.Continuation?
[0;36m27 |[0;0m
Foundation.URLSessionDataTask:2:18: [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionDataTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranscriptionRequest.swift:71:39: [1;31merror: [1;39mcannot find type 'URLSessionDataDelegate' in scope[0;0m
[0;36m69 |[0;0m }
[0;36m70 |[0;0m
[0;36m71 |[0;0m extension CreateTranscriptionRequest: [4;39mURLSessionDataDelegate[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionDataDelegate' in scope[0;0m
[0;36m72 |[0;0m public func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
[0;36m73 |[0;0m do {
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranscriptionRequest.swift:72:39: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m70 |[0;0m
[0;36m71 |[0;0m extension CreateTranscriptionRequest: URLSessionDataDelegate {
[0;36m72 |[0;0m public func urlSession(_ session: [4;39mURLSession[0;0m, dataTask: URLSessionDataTask, didReceive data: Data) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m73 |[0;0m do {
[0;36m74 |[0;0m let createTranscriptionDataModel = try JSONDecoder().decode(CreateTranscriptionDataModel.self, from: data)
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranscriptionRequest.swift:72:61: [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m70 |[0;0m
[0;36m71 |[0;0m extension CreateTranscriptionRequest: URLSessionDataDelegate {
[0;36m72 |[0;0m public func urlSession(_ session: URLSession, dataTask: [4;39mURLSessionDataTask[0;0m, didReceive data: Data) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m73 |[0;0m do {
[0;36m74 |[0;0m let createTranscriptionDataModel = try JSONDecoder().decode(CreateTranscriptionDataModel.self, from: data)
Foundation.URLSessionDataTask:2:18: [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionDataTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranscriptionRequest.swift:81:39: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m79 |[0;0m }
[0;36m80 |[0;0m
[0;36m81 |[0;0m public func urlSession(_ session: [4;39mURLSession[0;0m, task: URLSessionTask, didCompleteWithError error: Error?) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m82 |[0;0m guard let error = error else {
[0;36m83 |[0;0m continuation?.finish()
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranscriptionRequest.swift:81:57: [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m79 |[0;0m }
[0;36m80 |[0;0m
[0;36m81 |[0;0m public func urlSession(_ session: URLSession, task: [4;39mURLSessionTask[0;0m, didCompleteWithError error: Error?) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m82 |[0;0m guard let error = error else {
[0;36m83 |[0;0m continuation?.finish()
Foundation.URLSessionTask:2:18: [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranslationRequest.swift:22:29: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m20 |[0;0m _ temperature: Double) async throws -> AsyncThrowingStream<CreateTranslationDataModel, Error>
[0;36m21 |[0;0m
[0;36m22 |[0;0m private var urlSession: [4;39mURLSession[0;0m?
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m23 |[0;0m private var dataTask: URLSessionDataTask?
[0;36m24 |[0;0m private var continuation: AsyncThrowingStream<CreateTranslationDataModel, Error>.Continuation?
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranslationRequest.swift:23:27: [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m21 |[0;0m
[0;36m22 |[0;0m private var urlSession: URLSession?
[0;36m23 |[0;0m private var dataTask: [4;39mURLSessionDataTask[0;0m?
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m24 |[0;0m private var continuation: AsyncThrowingStream<CreateTranslationDataModel, Error>.Continuation?
[0;36m25 |[0;0m
Foundation.URLSessionDataTask:2:18: [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionDataTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranslationRequest.swift:77:37: [1;31merror: [1;39mcannot find type 'URLSessionDataDelegate' in scope[0;0m
[0;36m75 |[0;0m }
[0;36m76 |[0;0m
[0;36m77 |[0;0m extension CreateTranslationRequest: [4;39mURLSessionDataDelegate[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionDataDelegate' in scope[0;0m
[0;36m78 |[0;0m public func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
[0;36m79 |[0;0m do {
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranslationRequest.swift:78:39: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m76 |[0;0m
[0;36m77 |[0;0m extension CreateTranslationRequest: URLSessionDataDelegate {
[0;36m78 |[0;0m public func urlSession(_ session: [4;39mURLSession[0;0m, dataTask: URLSessionDataTask, didReceive data: Data) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m79 |[0;0m do {
[0;36m80 |[0;0m let createTranslationDataModel = try JSONDecoder().decode(CreateTranslationDataModel.self, from: data)
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranslationRequest.swift:78:61: [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m76 |[0;0m
[0;36m77 |[0;0m extension CreateTranslationRequest: URLSessionDataDelegate {
[0;36m78 |[0;0m public func urlSession(_ session: URLSession, dataTask: [4;39mURLSessionDataTask[0;0m, didReceive data: Data) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m79 |[0;0m do {
[0;36m80 |[0;0m let createTranslationDataModel = try JSONDecoder().decode(CreateTranslationDataModel.self, from: data)
Foundation.URLSessionDataTask:2:18: [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionDataTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranslationRequest.swift:87:39: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m85 |[0;0m }
[0;36m86 |[0;0m
[0;36m87 |[0;0m public func urlSession(_ session: [4;39mURLSession[0;0m, task: URLSessionTask, didCompleteWithError error: Error?) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m88 |[0;0m guard let error = error else {
[0;36m89 |[0;0m continuation?.finish()
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranslationRequest.swift:87:57: [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m85 |[0;0m }
[0;36m86 |[0;0m
[0;36m87 |[0;0m public func urlSession(_ session: URLSession, task: [4;39mURLSessionTask[0;0m, didCompleteWithError error: Error?) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m88 |[0;0m guard let error = error else {
[0;36m89 |[0;0m continuation?.finish()
Foundation.URLSessionTask:2:18: [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/ChatCompletions/Stream/CreateChatCompletionsStreamRequest.swift:10:36: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m8 |[0;0m messages: [MessageChatGPT],
[0;36m9 |[0;0m optionalParameters: ChatCompletionsOptionalParameters?) throws -> AsyncThrowingStream<ChatCompletionsStreamDataModel, Error>
[0;36m10 |[0;0m func setURLSession(urlSession: [4;39mURLSession[0;0m)
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m11 |[0;0m }
[0;36m12 |[0;0m
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/ChatCompletions/Stream/CreateChatCompletionsStreamRequest.swift:21:29: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m19 |[0;0m _ optionalParameters: ChatCompletionsOptionalParameters?) throws -> AsyncThrowingStream<ChatCompletionsStreamDataModel, Error>
[0;36m20 |[0;0m
[0;36m21 |[0;0m private var urlSession: [4;39mURLSession[0;0m?
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m22 |[0;0m private var dataTask: URLSessionDataTask?
[0;36m23 |[0;0m private var streamMapper: ChatCompletionsStreamMappeable
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/ChatCompletions/Stream/CreateChatCompletionsStreamRequest.swift:22:27: [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m20 |[0;0m
[0;36m21 |[0;0m private var urlSession: URLSession?
[0;36m22 |[0;0m private var dataTask: [4;39mURLSessionDataTask[0;0m?
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m23 |[0;0m private var streamMapper: ChatCompletionsStreamMappeable
[0;36m24 |[0;0m private var continuation: AsyncThrowingStream<ChatCompletionsStreamDataModel, Error>.Continuation?
Foundation.URLSessionDataTask:2:18: [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionDataTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/ChatCompletions/Stream/CreateChatCompletionsStreamRequest.swift:54:36: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m52 |[0;0m }
[0;36m53 |[0;0m
[0;36m54 |[0;0m func setURLSession(urlSession: [4;39mURLSession[0;0m) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m55 |[0;0m self.urlSession = urlSession
[0;36m56 |[0;0m }
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/ChatCompletions/Stream/CreateChatCompletionsStreamRequest.swift:60:47: [1;31merror: [1;39mcannot find type 'URLSessionDataDelegate' in scope[0;0m
[0;36m58 |[0;0m // swiftlint:enable line_length
[0;36m59 |[0;0m
[0;36m60 |[0;0m extension CreateChatCompletionsStreamRequest: [4;39mURLSessionDataDelegate[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionDataDelegate' in scope[0;0m
[0;36m61 |[0;0m public func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
[0;36m62 |[0;0m do {
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/ChatCompletions/Stream/CreateChatCompletionsStreamRequest.swift:61:39: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m59 |[0;0m
[0;36m60 |[0;0m extension CreateChatCompletionsStreamRequest: URLSessionDataDelegate {
[0;36m61 |[0;0m public func urlSession(_ session: [4;39mURLSession[0;0m, dataTask: URLSessionDataTask, didReceive data: Data) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m62 |[0;0m do {
[0;36m63 |[0;0m try streamMapper.parse(data: data).forEach { [weak self] newMessage in
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/ChatCompletions/Stream/CreateChatCompletionsStreamRequest.swift:61:61: [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m59 |[0;0m
[0;36m60 |[0;0m extension CreateChatCompletionsStreamRequest: URLSessionDataDelegate {
[0;36m61 |[0;0m public func urlSession(_ session: URLSession, dataTask: [4;39mURLSessionDataTask[0;0m, didReceive data: Data) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m62 |[0;0m do {
[0;36m63 |[0;0m try streamMapper.parse(data: data).forEach { [weak self] newMessage in
Foundation.URLSessionDataTask:2:18: [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionDataTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/ChatCompletions/Stream/CreateChatCompletionsStreamRequest.swift:71:39: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m69 |[0;0m }
[0;36m70 |[0;0m
[0;36m71 |[0;0m public func urlSession(_ session: [4;39mURLSession[0;0m, task: URLSessionTask, didCompleteWithError error: Error?) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m72 |[0;0m guard let error = error else {
[0;36m73 |[0;0m continuation?.finish()
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/ChatCompletions/Stream/CreateChatCompletionsStreamRequest.swift:71:57: [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m69 |[0;0m }
[0;36m70 |[0;0m
[0;36m71 |[0;0m public func urlSession(_ session: URLSession, task: [4;39mURLSessionTask[0;0m, didCompleteWithError error: Error?) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m72 |[0;0m guard let error = error else {
[0;36m73 |[0;0m continuation?.finish()
Foundation.URLSessionTask:2:18: [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
Failed frontend command:
/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/API.swift /host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Endpoint/Endpoint.swift /host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Parser/Parser.swift /host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Requester/APIError.swift /host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Requester/RequestBuilder.swift /host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Requester/Requester.swift /host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Router/BaseEnvironment.swift /host/spi-builder-workspace/Sources/SwiftOpenAI/APIClient/Router/Router.swift /host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/DataModels/Audio/CreateTranscriptionDataModel.swift /host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/DataModels/Audio/CreateTranslationDataModel.swift /host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/DataModels/Audio/OpenAIAudioResponseType.swift /host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/DataModels/Audio/OpenAITTSModelType.swift /host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/DataModels/Audio/OpenAITranscriptionModelType.swift /host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/DataModels/Audio/OpenAIVoiceType.swift /host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/DataModels/Chat/ChatCompletionsDataModel.swift /host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/DataModels/Chat/ChatCompletionsOptionalParameters.swift /host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/DataModels/Chat/ChatCompletionsStreamDataModel.swift /host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/DataModels/Completions/CompletionsDataModel.swift /host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/DataModels/Completions/CompletionsOptionalParameters.swift /host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/DataModels/Embedding/EmbeddingDataModel.swift /host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/DataModels/Images/CreateImageDataModel.swift /host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/DataModels/Images/ImageSize.swift /host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/DataModels/Message/MessageChatGPT.swift /host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/DataModels/Message/MessageChatImageInput.swift /host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/DataModels/Message/MessageRoleType.swift /host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/DataModels/Models/ModelDataModel.swift /host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/DataModels/Moderations/ModerationsDataModel.swift /host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/DataModels/OpenAIError.swift /host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/DataModels/OpenAIModelType.swift /host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Environment/OpenAIBaseEnvironment.swift /host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/OpenAIEndpoints/List/Audio/CreateSpeechEndpoint.swift /host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/OpenAIEndpoints/List/Audio/CreateTranscriptionEndpoint.swift /host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/OpenAIEndpoints/List/Audio/CreateTranslationEndpoint.swift /host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/OpenAIEndpoints/List/Chat/ChatCompletionsEndpoint.swift /host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/OpenAIEndpoints/List/Chat/ChatCompletionsImageInputEndpoint.swift /host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/OpenAIEndpoints/List/Chat/CompletionsEndpoint.swift /host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/OpenAIEndpoints/List/Embeddings/EmbeddingsEndpoint.swift /host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/OpenAIEndpoints/List/Image/CreateImageEndpoint.swift /host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/OpenAIEndpoints/List/Image/EditImageEndpoint.swift /host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/OpenAIEndpoints/List/Image/VariationImageEndpoint.swift /host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/OpenAIEndpoints/List/Models/ListModelsEndpoint.swift /host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/OpenAIEndpoints/List/Moderation/ModerationEndpoint.swift /host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/OpenAIEndpoints/OpenAIEndpoints.swift /host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateSpeechRequest.swift /host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranscriptionRequest.swift /host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranslationRequest.swift /host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/ChatCompletions/CreateChatCompletionsImageInputRequest.swift /host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/ChatCompletions/CreateChatCompletionsRequest.swift /host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/ChatCompletions/Stream/ChatCompletionsStreamMapper.swift /host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/ChatCompletions/Stream/CreateChatCompletionsStreamRequest.swift /host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Completions/CompletionsRequest.swift /host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Embeddings/EmbeddingsRequest.swift /host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Images/CreateImagesRequest.swift /host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Images/EditImageRequest.swift /host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Images/VariationImageRequest.swift /host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Models/ListModelsRequest.swift /host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Moderations/ModerationsRequest.swift /host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/MultipartFormData.swift /host/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/SwiftOpenAI.swift -target aarch64-unknown-linux-android28 -Xllvm -aarch64-use-tbi -disable-objc-interop -sdk /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -sysroot /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -I /host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/plugins/testing\#/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -resource-dir /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_android.artifactbundle/swift-android/swift-resources/usr/lib/swift-aarch64 -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/lib/clang/18 -Xcc -fno-omit-frame-pointer -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftOpenAI.build/Debug-android-aarch64/SwiftOpenAI-t.build/DerivedSources-normal/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftOpenAI.build/Debug-android-aarch64/SwiftOpenAI-t.build/DerivedSources/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftOpenAI.build/Debug-android-aarch64/SwiftOpenAI-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name SwiftOpenAI -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftOpenAI.build/Debug-android-aarch64/SwiftOpenAI-t.build/Objects-normal/aarch64/SwiftOpenAI_const_extract_protocols.json -in-process-plugin-server-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/plugins -plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/local/lib/swift/host/plugins -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftOpenAI.build/Debug-android-aarch64/SwiftOpenAI-t.build/Objects-normal/aarch64/Modules/SwiftOpenAI.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftOpenAI.build/Debug-android-aarch64/SwiftOpenAI-t.build/Objects-normal/aarch64/Modules/SwiftOpenAI.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftOpenAI.build/Debug-android-aarch64/SwiftOpenAI-t.build/Objects-normal/aarch64/SwiftOpenAI-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftOpenAI.build/Debug-android-aarch64/SwiftOpenAI-t.build/Objects-normal/aarch64/SwiftOpenAI-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftOpenAI.build/Debug-android-aarch64/SwiftOpenAI-t.build/Objects-normal/aarch64/SwiftOpenAI-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftOpenAI.build/Debug-android-aarch64/SwiftOpenAI-t.build/Objects-normal/aarch64/Modules/SwiftOpenAI.swiftmodule
[40 / 48] SwiftOpenAI
error: Build failed
BUILD FAILURE 6.4 android