Build Information
Failed to build functions-swift, reference main (1870b2), with Swift 6.4 for Wasm on 19 Sep 2026 20:40:48 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886769-1":/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:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/supabase-community/functions-swift.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/supabase-community/functions-swift
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 1870b24 Update README.md
Cloned https://github.com/supabase-community/functions-swift.git
Revision (git rev-parse @):
1870b2495ec452a7bd4ba9a92c35984ee5d1e915
SUCCESS checkout https://github.com/supabase-community/functions-swift.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.4
Building package at path: $PWD
https://github.com/supabase-community/functions-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-1":/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:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:4328fdb43c680d205c1d6761b1e3267aa38277eefdda9ddfb17b6a0f1a77857a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/kean/Get
[1/2351] Fetching get
Fetched https://github.com/kean/Get (1.06s)
Computing version for https://github.com/kean/Get
Computed https://github.com/kean/Get at 2.2.1 (1.32s)
Creating working copy for https://github.com/kean/Get
Working copy of https://github.com/kean/Get resolved at 2.2.1
Building for debugging...
[Constructing description]
[Planning deferred tasks]
[29 / 44] Get
error: SwiftCompile normal wasm32 failed with a nonzero exit code. Command line: cd /host
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:15:37: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m13 |[0;0m public nonisolated let configuration: Configuration
[0;36m14 |[0;0m /// The underlying `URLSession` instance.
[0;36m15 |[0;0m public nonisolated let session: [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;36m16 |[0;0m
[0;36m17 |[0;0m private let decoder: JSONDecoder
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/.build/checkouts/Get/Sources/Get/APIClientDelegate.swift:20:69: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m18 |[0;0m /// - client: The client that sends the request.
[0;36m19 |[0;0m /// - request: The request about to be sent. Can be modified
[0;36m20 |[0;0m func client(_ client: APIClient, willSendRequest request: inout [4;39mURLRequest[0;0m) async throws
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m21 |[0;0m
[0;36m22 |[0;0m /// Validates response for the given request.
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:29:42: [1;31merror: [1;39m'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m27 |[0;0m public var delegate: APIClientDelegate?
[0;36m28 |[0;0m /// By default, `URLSessionConfiguration.default`.
[0;36m29 |[0;0m public var sessionConfiguration: [4;39mURLSessionConfiguration[0;0m = .default
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m30 |[0;0m /// The (optional) URLSession delegate that allows you to monitor the underlying URLSession.
[0;36m31 |[0;0m public var sessionDelegate: URLSessionDelegate?
Foundation.URLSessionConfiguration:2:18: [1;39mnote: [1;39m'URLSessionConfiguration' 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 URLSessionConfiguration = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionConfiguration' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:29:69: [1;31merror: [1;39mtype 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'[0;0m
[0;36m27 |[0;0m public var delegate: APIClientDelegate?
[0;36m28 |[0;0m /// By default, `URLSessionConfiguration.default`.
[0;36m29 |[0;0m public var sessionConfiguration: URLSessionConfiguration = [4;39m.default[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39mtype 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'[0;0m
[0;36m30 |[0;0m /// The (optional) URLSession delegate that allows you to monitor the underlying URLSession.
[0;36m31 |[0;0m public var sessionDelegate: URLSessionDelegate?
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:29:69: [1;31merror: [1;39mvalue of type '_' expected to be instance of class or class-constrained type[0;0m
[0;36m27 |[0;0m public var delegate: APIClientDelegate?
[0;36m28 |[0;0m /// By default, `URLSessionConfiguration.default`.
[0;36m29 |[0;0m public var sessionConfiguration: URLSessionConfiguration = .default
[0;36m|[0;0m `- [1;31merror: [1;39mvalue of type '_' expected to be instance of class or class-constrained type[0;0m
[0;36m30 |[0;0m /// The (optional) URLSession delegate that allows you to monitor the underlying URLSession.
[0;36m31 |[0;0m public var sessionDelegate: URLSessionDelegate?
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:31:37: [1;31merror: [1;39mcannot find type 'URLSessionDelegate' in scope[0;0m
[0;36m29 |[0;0m public var sessionConfiguration: URLSessionConfiguration = .default
[0;36m30 |[0;0m /// The (optional) URLSession delegate that allows you to monitor the underlying URLSession.
[0;36m31 |[0;0m public var sessionDelegate: [4;39mURLSessionDelegate[0;0m?
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionDelegate' in scope[0;0m
[0;36m32 |[0;0m /// Overrides the default delegate queue.
[0;36m33 |[0;0m public var sessionDelegateQueue: OperationQueue?
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:33:42: [1;31merror: [1;39mcannot find type 'OperationQueue' in scope[0;0m
[0;36m31 |[0;0m public var sessionDelegate: URLSessionDelegate?
[0;36m32 |[0;0m /// Overrides the default delegate queue.
[0;36m33 |[0;0m public var sessionDelegateQueue: [4;39mOperationQueue[0;0m?
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'OperationQueue' in scope[0;0m
[0;36m34 |[0;0m /// By default, uses `.iso8601` date decoding strategy.
[0;36m35 |[0;0m public var decoder: JSONDecoder
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:42:35: [1;31merror: [1;39m'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m40 |[0;0m public init(
[0;36m41 |[0;0m baseURL: URL?,
[0;36m42 |[0;0m sessionConfiguration: [4;39mURLSessionConfiguration[0;0m = .default,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m43 |[0;0m delegate: APIClientDelegate? = nil
[0;36m44 |[0;0m ) {
Foundation.URLSessionConfiguration:2:18: [1;39mnote: [1;39m'URLSessionConfiguration' 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 URLSessionConfiguration = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionConfiguration' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:42:62: [1;31merror: [1;39mvalue of type '_' expected to be instance of class or class-constrained type[0;0m
[0;36m40 |[0;0m public init(
[0;36m41 |[0;0m baseURL: URL?,
[0;36m42 |[0;0m sessionConfiguration: URLSessionConfiguration = .default,
[0;36m|[0;0m `- [1;31merror: [1;39mvalue of type '_' expected to be instance of class or class-constrained type[0;0m
[0;36m43 |[0;0m delegate: APIClientDelegate? = nil
[0;36m44 |[0;0m ) {
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:42:62: [1;31merror: [1;39mtype 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'[0;0m
[0;36m40 |[0;0m public init(
[0;36m41 |[0;0m baseURL: URL?,
[0;36m42 |[0;0m sessionConfiguration: URLSessionConfiguration = [4;39m.default[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39mtype 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'[0;0m
[0;36m43 |[0;0m delegate: APIClientDelegate? = nil
[0;36m44 |[0;0m ) {
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:103:19: [1;31merror: [1;39mcannot find type 'URLSessionDataDelegate' in scope[0;0m
[0;36m101 |[0;0m @discardableResult public func send<T: Decodable>(
[0;36m102 |[0;0m _ request: Request<T>,
[0;36m103 |[0;0m delegate: [4;39mURLSessionDataDelegate[0;0m? = nil,
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionDataDelegate' in scope[0;0m
[0;36m104 |[0;0m configure: ((inout URLRequest) throws -> Void)? = nil
[0;36m105 |[0;0m ) async throws -> Response<T> {
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:104:28: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m102 |[0;0m _ request: Request<T>,
[0;36m103 |[0;0m delegate: URLSessionDataDelegate? = nil,
[0;36m104 |[0;0m configure: ((inout [4;39mURLRequest[0;0m) throws -> Void)? = nil
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m105 |[0;0m ) async throws -> Response<T> {
[0;36m106 |[0;0m let response = try await data(for: request, delegate: delegate, configure: configure)
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:122:19: [1;31merror: [1;39mcannot find type 'URLSessionDataDelegate' in scope[0;0m
[0;36m120 |[0;0m @discardableResult public func send(
[0;36m121 |[0;0m _ request: Request<Void>,
[0;36m122 |[0;0m delegate: [4;39mURLSessionDataDelegate[0;0m? = nil,
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionDataDelegate' in scope[0;0m
[0;36m123 |[0;0m configure: ((inout URLRequest) throws -> Void)? = nil
[0;36m124 |[0;0m ) async throws -> Response<Void> {
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:123:28: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m121 |[0;0m _ request: Request<Void>,
[0;36m122 |[0;0m delegate: URLSessionDataDelegate? = nil,
[0;36m123 |[0;0m configure: ((inout [4;39mURLRequest[0;0m) throws -> Void)? = nil
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m124 |[0;0m ) async throws -> Response<Void> {
[0;36m125 |[0;0m try await data(for: request, delegate: delegate, configure: configure).map { _ in () }
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:140:19: [1;31merror: [1;39mcannot find type 'URLSessionDataDelegate' in scope[0;0m
[0;36m138 |[0;0m public func data<T>(
[0;36m139 |[0;0m for request: Request<T>,
[0;36m140 |[0;0m delegate: [4;39mURLSessionDataDelegate[0;0m? = nil,
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionDataDelegate' in scope[0;0m
[0;36m141 |[0;0m configure: ((inout URLRequest) throws -> Void)? = nil
[0;36m142 |[0;0m ) async throws -> Response<Data> {
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:141:28: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m139 |[0;0m for request: Request<T>,
[0;36m140 |[0;0m delegate: URLSessionDataDelegate? = nil,
[0;36m141 |[0;0m configure: ((inout [4;39mURLRequest[0;0m) throws -> Void)? = nil
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m142 |[0;0m ) async throws -> Response<Data> {
[0;36m143 |[0;0m let request = try await makeURLRequest(for: request, configure)
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:174:19: [1;31merror: [1;39mcannot find type 'URLSessionDownloadDelegate' in scope[0;0m
[0;36m172 |[0;0m public func download<T>(
[0;36m173 |[0;0m for request: Request<T>,
[0;36m174 |[0;0m delegate: [4;39mURLSessionDownloadDelegate[0;0m? = nil,
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionDownloadDelegate' in scope[0;0m
[0;36m175 |[0;0m configure: ((inout URLRequest) throws -> Void)? = nil
[0;36m176 |[0;0m ) async throws -> Response<URL> {
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:175:28: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m173 |[0;0m for request: Request<T>,
[0;36m174 |[0;0m delegate: URLSessionDownloadDelegate? = nil,
[0;36m175 |[0;0m configure: ((inout [4;39mURLRequest[0;0m) throws -> Void)? = nil
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m176 |[0;0m ) async throws -> Response<URL> {
[0;36m177 |[0;0m var urlRequest = try await makeURLRequest(for: request, configure)
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:189:19: [1;31merror: [1;39mcannot find type 'URLSessionDownloadDelegate' in scope[0;0m
[0;36m187 |[0;0m public func download(
[0;36m188 |[0;0m resumeFrom resumeData: Data,
[0;36m189 |[0;0m delegate: [4;39mURLSessionDownloadDelegate[0;0m? = nil
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionDownloadDelegate' in scope[0;0m
[0;36m190 |[0;0m ) async throws -> Response<URL> {
[0;36m191 |[0;0m let task = session.downloadTask(withResumeData: resumeData)
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:197:19: [1;31merror: [1;39mcannot find type 'URLSessionDownloadDelegate' in scope[0;0m
[0;36m195 |[0;0m private func _startDownloadTask(
[0;36m196 |[0;0m _ task: URLSessionDownloadTask,
[0;36m197 |[0;0m delegate: [4;39mURLSessionDownloadDelegate[0;0m?
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionDownloadDelegate' in scope[0;0m
[0;36m198 |[0;0m ) async throws -> Response<URL> {
[0;36m199 |[0;0m let response = try await dataLoader.startDownloadTask(task, session: session, delegate: delegate)
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:196:17: [1;31merror: [1;39m'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m194 |[0;0m
[0;36m195 |[0;0m private func _startDownloadTask(
[0;36m196 |[0;0m _ task: [4;39mURLSessionDownloadTask[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m197 |[0;0m delegate: URLSessionDownloadDelegate?
[0;36m198 |[0;0m ) async throws -> Response<URL> {
Foundation.URLSessionDownloadTask:2:18: [1;39mnote: [1;39m'URLSessionDownloadTask' 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 URLSessionDownloadTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDownloadTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:221:19: [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m219 |[0;0m for request: Request<T>,
[0;36m220 |[0;0m fromFile fileURL: URL,
[0;36m221 |[0;0m delegate: [4;39mURLSessionTaskDelegate[0;0m? = nil,
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m222 |[0;0m configure: ((inout URLRequest) throws -> Void)? = nil
[0;36m223 |[0;0m ) async throws -> Response<T> {
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:222:28: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m220 |[0;0m fromFile fileURL: URL,
[0;36m221 |[0;0m delegate: URLSessionTaskDelegate? = nil,
[0;36m222 |[0;0m configure: ((inout [4;39mURLRequest[0;0m) throws -> Void)? = nil
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m223 |[0;0m ) async throws -> Response<T> {
[0;36m224 |[0;0m let response = try await _upload(for: request, fromFile: fileURL, delegate: delegate, configure: configure)
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:242:19: [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m240 |[0;0m for request: Request<Void>,
[0;36m241 |[0;0m fromFile fileURL: URL,
[0;36m242 |[0;0m delegate: [4;39mURLSessionTaskDelegate[0;0m? = nil,
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m243 |[0;0m configure: ((inout URLRequest) throws -> Void)? = nil
[0;36m244 |[0;0m ) async throws -> Response<Void> {
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:243:28: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m241 |[0;0m fromFile fileURL: URL,
[0;36m242 |[0;0m delegate: URLSessionTaskDelegate? = nil,
[0;36m243 |[0;0m configure: ((inout [4;39mURLRequest[0;0m) throws -> Void)? = nil
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m244 |[0;0m ) async throws -> Response<Void> {
[0;36m245 |[0;0m try await _upload(for: request, fromFile: fileURL, delegate: delegate, configure: configure).map { _ in () }
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:251:19: [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m249 |[0;0m for request: Request<T>,
[0;36m250 |[0;0m fromFile fileURL: URL,
[0;36m251 |[0;0m delegate: [4;39mURLSessionTaskDelegate[0;0m?,
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m252 |[0;0m configure: ((inout URLRequest) throws -> Void)?
[0;36m253 |[0;0m ) async throws -> Response<Data> {
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:252:28: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m250 |[0;0m fromFile fileURL: URL,
[0;36m251 |[0;0m delegate: URLSessionTaskDelegate?,
[0;36m252 |[0;0m configure: ((inout [4;39mURLRequest[0;0m) throws -> Void)?
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m253 |[0;0m ) async throws -> Response<Data> {
[0;36m254 |[0;0m let request = try await makeURLRequest(for: request, configure)
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:284:19: [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m282 |[0;0m for request: Request<T>,
[0;36m283 |[0;0m from data: Data,
[0;36m284 |[0;0m delegate: [4;39mURLSessionTaskDelegate[0;0m? = nil,
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m285 |[0;0m configure: ((inout URLRequest) throws -> Void)? = nil
[0;36m286 |[0;0m ) async throws -> Response<T> {
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:285:28: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m283 |[0;0m from data: Data,
[0;36m284 |[0;0m delegate: URLSessionTaskDelegate? = nil,
[0;36m285 |[0;0m configure: ((inout [4;39mURLRequest[0;0m) throws -> Void)? = nil
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m286 |[0;0m ) async throws -> Response<T> {
[0;36m287 |[0;0m let response = try await _upload(for: request, from: data, delegate: delegate, configure: configure)
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:305:19: [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m303 |[0;0m for request: Request<Void>,
[0;36m304 |[0;0m from data: Data,
[0;36m305 |[0;0m delegate: [4;39mURLSessionTaskDelegate[0;0m? = nil,
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m306 |[0;0m configure: ((inout URLRequest) throws -> Void)? = nil
[0;36m307 |[0;0m ) async throws -> Response<Void> {
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:306:28: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m304 |[0;0m from data: Data,
[0;36m305 |[0;0m delegate: URLSessionTaskDelegate? = nil,
[0;36m306 |[0;0m configure: ((inout [4;39mURLRequest[0;0m) throws -> Void)? = nil
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m307 |[0;0m ) async throws -> Response<Void> {
[0;36m308 |[0;0m try await _upload(for: request, from: data, delegate: delegate, configure: configure).map { _ in () }
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:314:19: [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m312 |[0;0m for request: Request<T>,
[0;36m313 |[0;0m from data: Data,
[0;36m314 |[0;0m delegate: [4;39mURLSessionTaskDelegate[0;0m?,
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m315 |[0;0m configure: ((inout URLRequest) throws -> Void)?
[0;36m316 |[0;0m ) async throws -> Response<Data> {
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:315:28: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m313 |[0;0m from data: Data,
[0;36m314 |[0;0m delegate: URLSessionTaskDelegate?,
[0;36m315 |[0;0m configure: ((inout [4;39mURLRequest[0;0m) throws -> Void)?
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m316 |[0;0m ) async throws -> Response<Data> {
[0;36m317 |[0;0m let request = try await makeURLRequest(for: request, configure)
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:335:76: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m333 |[0;0m
[0;36m334 |[0;0m /// Creates `URLRequest` for the given request.
[0;36m335 |[0;0m public func makeURLRequest<T>(for request: Request<T>) async throws -> [4;39mURLRequest[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m336 |[0;0m try await makeURLRequest(for: request, { _ in })
[0;36m337 |[0;0m }
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:341:30: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m339 |[0;0m private func makeURLRequest<T>(
[0;36m340 |[0;0m for request: Request<T>,
[0;36m341 |[0;0m _ configure: ((inout [4;39mURLRequest[0;0m) throws -> Void)?
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m342 |[0;0m ) async throws -> URLRequest {
[0;36m343 |[0;0m let url = try makeURL(for: request)
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:342:23: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m340 |[0;0m for request: Request<T>,
[0;36m341 |[0;0m _ configure: ((inout URLRequest) throws -> Void)?
[0;36m342 |[0;0m ) async throws -> [4;39mURLRequest[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m343 |[0;0m let url = try makeURL(for: request)
[0;36m344 |[0;0m var urlRequest = URLRequest(url: url)
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:83:24: [1;31merror: [1;39mvalue of type '_' expected to be an instance of a class or class-constrained type in assignment[0;0m
[0;36m81 |[0;0m self.configuration = configuration
[0;36m82 |[0;0m let delegateQueue = configuration.sessionDelegateQueue ?? .serial()
[0;36m83 |[0;0m self.session = [4;39mURLSession(configuration: configuration.sessionConfiguration, delegate: dataLoader, delegateQueue: delegateQueue)[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39mvalue of type '_' expected to be an instance of a class or class-constrained type in assignment[0;0m
[0;36m84 |[0;0m self.dataLoader.userSessionDelegate = configuration.sessionDelegate
[0;36m85 |[0;0m self.delegate = configuration.delegate ?? DefaultAPIClientDelegate()
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:83:24: [1;31merror: [1;39m'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers[0;0m
[0;36m81 |[0;0m self.configuration = configuration
[0;36m82 |[0;0m let delegateQueue = configuration.sessionDelegateQueue ?? .serial()
[0;36m83 |[0;0m self.session = [4;39mURLSession[0;0m(configuration: configuration.sessionConfiguration, delegate: dataLoader, delegateQueue: delegateQueue)
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers[0;0m
[0;36m84 |[0;0m self.dataLoader.userSessionDelegate = configuration.sessionDelegate
[0;36m85 |[0;0m self.delegate = configuration.delegate ?? DefaultAPIClientDelegate()
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:14:30: [1;31merror: [1;39mcannot find type 'URLSessionDelegate' in scope[0;0m
[0;36m12 |[0;0m private let handlers = TaskHandlersDictionary()
[0;36m13 |[0;0m
[0;36m14 |[0;0m var userSessionDelegate: [4;39mURLSessionDelegate[0;0m? {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionDelegate' in scope[0;0m
[0;36m15 |[0;0m didSet {
[0;36m16 |[0;0m userTaskDelegate = userSessionDelegate as? URLSessionTaskDelegate
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClientDelegate.swift:33:65: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m31 |[0;0m /// ``APIError/unacceptableStatusCode(_:)`` if the code is outside of
[0;36m32 |[0;0m /// the `200..<300` range.
[0;36m33 |[0;0m func client(_ client: APIClient, validateResponse response: [4;39mHTTPURLResponse[0;0m, data: Data, task: URLSessionTask) throws
[0;36m|[0;0m `- [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m34 |[0;0m
[0;36m35 |[0;0m /// Gets called after a networking failure. Only one retry attempt is allowed.
Foundation.HTTPURLResponse:2:18: [1;39mnote: [1;39m'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClientDelegate.swift:33:100: [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m31 |[0;0m /// ``APIError/unacceptableStatusCode(_:)`` if the code is outside of
[0;36m32 |[0;0m /// the `200..<300` range.
[0;36m33 |[0;0m func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: [4;39mURLSessionTask[0;0m) throws
[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;36m34 |[0;0m
[0;36m35 |[0;0m /// Gets called after a networking failure. Only one retry attempt is allowed.
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/.build/checkouts/Get/Sources/Get/APIClientDelegate.swift:48:56: [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m46 |[0;0m ///
[0;36m47 |[0;0m /// - returns: Return `true` to retry the request.
[0;36m48 |[0;0m func client(_ client: APIClient, shouldRetry task: [4;39mURLSessionTask[0;0m, error: Error, attempts: Int) async throws -> Bool
[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;36m49 |[0;0m
[0;36m50 |[0;0m /// Constructs URL for the given request.
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/.build/checkouts/Get/Sources/Get/APIClientDelegate.swift:81:69: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m79 |[0;0m
[0;36m80 |[0;0m public extension APIClientDelegate {
[0;36m81 |[0;0m func client(_ client: APIClient, willSendRequest request: inout [4;39mURLRequest[0;0m) async throws {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m82 |[0;0m // Do nothing
[0;36m83 |[0;0m }
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClientDelegate.swift:85:56: [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m83 |[0;0m }
[0;36m84 |[0;0m
[0;36m85 |[0;0m func client(_ client: APIClient, shouldRetry task: [4;39mURLSessionTask[0;0m, error: Error, attempts: Int) async throws -> Bool {
[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;36m86 |[0;0m false // Disabled by default
[0;36m87 |[0;0m }
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/.build/checkouts/Get/Sources/Get/APIClientDelegate.swift:89:65: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m87 |[0;0m }
[0;36m88 |[0;0m
[0;36m89 |[0;0m func client(_ client: APIClient, validateResponse response: [4;39mHTTPURLResponse[0;0m, data: Data, task: URLSessionTask) throws {
[0;36m|[0;0m `- [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m90 |[0;0m guard (200..<300).contains(response.statusCode) else {
[0;36m91 |[0;0m throw APIError.unacceptableStatusCode(response.statusCode)
Foundation.HTTPURLResponse:2:18: [1;39mnote: [1;39m'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClientDelegate.swift:89:100: [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m87 |[0;0m }
[0;36m88 |[0;0m
[0;36m89 |[0;0m func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: [4;39mURLSessionTask[0;0m) throws {
[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;36m90 |[0;0m guard (200..<300).contains(response.statusCode) else {
[0;36m91 |[0;0m throw APIError.unacceptableStatusCode(response.statusCode)
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/.build/checkouts/Get/Sources/Get/DataLoader.swift:11:35: [1;31merror: [1;39mcannot find type 'URLSessionDataDelegate' in scope[0;0m
[0;36m9 |[0;0m
[0;36m10 |[0;0m // A simple URLSession wrapper adding async/await APIs compatible with older platforms.
[0;36m11 |[0;0m final class DataLoader: NSObject, [4;39mURLSessionDataDelegate[0;0m, URLSessionDownloadDelegate, @unchecked Sendable {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionDataDelegate' in scope[0;0m
[0;36m12 |[0;0m private let handlers = TaskHandlersDictionary()
[0;36m13 |[0;0m
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:11:59: [1;31merror: [1;39mcannot find type 'URLSessionDownloadDelegate' in scope[0;0m
[0;36m9 |[0;0m
[0;36m10 |[0;0m // A simple URLSession wrapper adding async/await APIs compatible with older platforms.
[0;36m11 |[0;0m final class DataLoader: NSObject, URLSessionDataDelegate, [4;39mURLSessionDownloadDelegate[0;0m, @unchecked Sendable {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionDownloadDelegate' in scope[0;0m
[0;36m12 |[0;0m private let handlers = TaskHandlersDictionary()
[0;36m13 |[0;0m
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:21:35: [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m19 |[0;0m }
[0;36m20 |[0;0m }
[0;36m21 |[0;0m private var userTaskDelegate: [4;39mURLSessionTaskDelegate[0;0m?
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m22 |[0;0m private var userDataDelegate: URLSessionDataDelegate?
[0;36m23 |[0;0m private var userDownloadDelegate: URLSessionDownloadDelegate?
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:16:56: [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m14 |[0;0m var userSessionDelegate: URLSessionDelegate? {
[0;36m15 |[0;0m didSet {
[0;36m16 |[0;0m userTaskDelegate = userSessionDelegate as? [4;39mURLSessionTaskDelegate[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m17 |[0;0m userDataDelegate = userSessionDelegate as? URLSessionDataDelegate
[0;36m18 |[0;0m userDownloadDelegate = userSessionDelegate as? URLSessionDownloadDelegate
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:22:35: [1;31merror: [1;39mcannot find type 'URLSessionDataDelegate' in scope[0;0m
[0;36m20 |[0;0m }
[0;36m21 |[0;0m private var userTaskDelegate: URLSessionTaskDelegate?
[0;36m22 |[0;0m private var userDataDelegate: [4;39mURLSessionDataDelegate[0;0m?
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionDataDelegate' in scope[0;0m
[0;36m23 |[0;0m private var userDownloadDelegate: URLSessionDownloadDelegate?
[0;36m24 |[0;0m
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:17:56: [1;31merror: [1;39mcannot find type 'URLSessionDataDelegate' in scope[0;0m
[0;36m15 |[0;0m didSet {
[0;36m16 |[0;0m userTaskDelegate = userSessionDelegate as? URLSessionTaskDelegate
[0;36m17 |[0;0m userDataDelegate = userSessionDelegate as? [4;39mURLSessionDataDelegate[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionDataDelegate' in scope[0;0m
[0;36m18 |[0;0m userDownloadDelegate = userSessionDelegate as? URLSessionDownloadDelegate
[0;36m19 |[0;0m }
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:23:39: [1;31merror: [1;39mcannot find type 'URLSessionDownloadDelegate' in scope[0;0m
[0;36m21 |[0;0m private var userTaskDelegate: URLSessionTaskDelegate?
[0;36m22 |[0;0m private var userDataDelegate: URLSessionDataDelegate?
[0;36m23 |[0;0m private var userDownloadDelegate: [4;39mURLSessionDownloadDelegate[0;0m?
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionDownloadDelegate' in scope[0;0m
[0;36m24 |[0;0m
[0;36m25 |[0;0m private static let downloadDirectoryURL: URL = {
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:18:60: [1;31merror: [1;39mcannot find type 'URLSessionDownloadDelegate' in scope[0;0m
[0;36m16 |[0;0m userTaskDelegate = userSessionDelegate as? URLSessionTaskDelegate
[0;36m17 |[0;0m userDataDelegate = userSessionDelegate as? URLSessionDataDelegate
[0;36m18 |[0;0m userDownloadDelegate = userSessionDelegate as? [4;39mURLSessionDownloadDelegate[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionDownloadDelegate' in scope[0;0m
[0;36m19 |[0;0m }
[0;36m20 |[0;0m }
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:31:83: [1;31merror: [1;39mcannot find type 'URLSessionDataDelegate' in scope[0;0m
[0;36m29 |[0;0m }()
[0;36m30 |[0;0m
[0;36m31 |[0;0m func startDataTask(_ task: URLSessionDataTask, session: URLSession, delegate: [4;39mURLSessionDataDelegate[0;0m?) async throws -> Response<Data> {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionDataDelegate' in scope[0;0m
[0;36m32 |[0;0m try await withTaskCancellationHandler(operation: {
[0;36m33 |[0;0m try await withUnsafeThrowingContinuation { continuation in
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:31:32: [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m29 |[0;0m }()
[0;36m30 |[0;0m
[0;36m31 |[0;0m func startDataTask(_ task: [4;39mURLSessionDataTask[0;0m, session: URLSession, delegate: URLSessionDataDelegate?) async throws -> Response<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;36m32 |[0;0m try await withTaskCancellationHandler(operation: {
[0;36m33 |[0;0m try await withUnsafeThrowingContinuation { continuation 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/.build/checkouts/Get/Sources/Get/DataLoader.swift:31:61: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m29 |[0;0m }()
[0;36m30 |[0;0m
[0;36m31 |[0;0m func startDataTask(_ task: URLSessionDataTask, session: [4;39mURLSession[0;0m, delegate: URLSessionDataDelegate?) async throws -> Response<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;36m32 |[0;0m try await withTaskCancellationHandler(operation: {
[0;36m33 |[0;0m try await withUnsafeThrowingContinuation { continuation 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/.build/checkouts/Get/Sources/Get/DataLoader.swift:45:91: [1;31merror: [1;39mcannot find type 'URLSessionDownloadDelegate' in scope[0;0m
[0;36m43 |[0;0m }
[0;36m44 |[0;0m
[0;36m45 |[0;0m func startDownloadTask(_ task: URLSessionDownloadTask, session: URLSession, delegate: [4;39mURLSessionDownloadDelegate[0;0m?) async throws -> Response<URL> {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionDownloadDelegate' in scope[0;0m
[0;36m46 |[0;0m try await withTaskCancellationHandler(operation: {
[0;36m47 |[0;0m try await withUnsafeThrowingContinuation { continuation in
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:45:36: [1;31merror: [1;39m'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m43 |[0;0m }
[0;36m44 |[0;0m
[0;36m45 |[0;0m func startDownloadTask(_ task: [4;39mURLSessionDownloadTask[0;0m, session: URLSession, delegate: URLSessionDownloadDelegate?) async throws -> Response<URL> {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m46 |[0;0m try await withTaskCancellationHandler(operation: {
[0;36m47 |[0;0m try await withUnsafeThrowingContinuation { continuation in
Foundation.URLSessionDownloadTask:2:18: [1;39mnote: [1;39m'URLSessionDownloadTask' 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 URLSessionDownloadTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDownloadTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:45:69: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m43 |[0;0m }
[0;36m44 |[0;0m
[0;36m45 |[0;0m func startDownloadTask(_ task: URLSessionDownloadTask, session: [4;39mURLSession[0;0m, delegate: URLSessionDownloadDelegate?) async throws -> Response<URL> {
[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;36m46 |[0;0m try await withTaskCancellationHandler(operation: {
[0;36m47 |[0;0m try await withUnsafeThrowingContinuation { continuation 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/.build/checkouts/Get/Sources/Get/DataLoader.swift:59:87: [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m57 |[0;0m }
[0;36m58 |[0;0m
[0;36m59 |[0;0m func startUploadTask(_ task: URLSessionUploadTask, session: URLSession, delegate: [4;39mURLSessionTaskDelegate[0;0m?) async throws -> Response<Data> {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m60 |[0;0m try await withTaskCancellationHandler(operation: {
[0;36m61 |[0;0m try await withUnsafeThrowingContinuation { continuation in
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:59:34: [1;31merror: [1;39m'URLSessionUploadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m57 |[0;0m }
[0;36m58 |[0;0m
[0;36m59 |[0;0m func startUploadTask(_ task: [4;39mURLSessionUploadTask[0;0m, session: URLSession, delegate: URLSessionTaskDelegate?) async throws -> Response<Data> {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionUploadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m60 |[0;0m try await withTaskCancellationHandler(operation: {
[0;36m61 |[0;0m try await withUnsafeThrowingContinuation { continuation in
Foundation.URLSessionUploadTask:2:18: [1;39mnote: [1;39m'URLSessionUploadTask' 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 URLSessionUploadTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionUploadTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:59:65: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m57 |[0;0m }
[0;36m58 |[0;0m
[0;36m59 |[0;0m func startUploadTask(_ task: URLSessionUploadTask, session: [4;39mURLSession[0;0m, delegate: URLSessionTaskDelegate?) async throws -> Response<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;36m60 |[0;0m try await withTaskCancellationHandler(operation: {
[0;36m61 |[0;0m try await withUnsafeThrowingContinuation { continuation 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/.build/checkouts/Get/Sources/Get/DataLoader.swift:75:32: [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 // MARK: - URLSessionDelegate
[0;36m74 |[0;0m
[0;36m75 |[0;0m func urlSession(_ session: [4;39mURLSession[0;0m, didBecomeInvalidWithError 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;36m76 |[0;0m #if os(Linux)
[0;36m77 |[0;0m userSessionDelegate?.urlSession(session, didBecomeInvalidWithError: error)
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/.build/checkouts/Get/Sources/Get/DataLoader.swift:84:69: [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
[0;36m83 |[0;0m #if !os(Linux)
[0;36m84 |[0;0m func urlSessionDidFinishEvents(forBackgroundURLSession session: [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;36m85 |[0;0m if #available(macOS 11.0, *) {
[0;36m86 |[0;0m userSessionDelegate?.urlSessionDidFinishEvents?(forBackgroundURLSession: session)
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/.build/checkouts/Get/Sources/Get/DataLoader.swift:95:32: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m93 |[0;0m // MARK: - URLSessionTaskDelegate
[0;36m94 |[0;0m
[0;36m95 |[0;0m 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;36m96 |[0;0m guard let handler = handlers[task] else { return assertionFailure() }
[0;36m97 |[0;0m handlers[task] = nil
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/.build/checkouts/Get/Sources/Get/DataLoader.swift:95:50: [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m93 |[0;0m // MARK: - URLSessionTaskDelegate
[0;36m94 |[0;0m
[0;36m95 |[0;0m 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;36m96 |[0;0m guard let handler = handlers[task] else { return assertionFailure() }
[0;36m97 |[0;0m handlers[task] = nil
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/.build/checkouts/Get/Sources/Get/DataLoader.swift:126:95: [1;31merror: [1;39mcannot find type 'URLSessionTaskMetrics' in scope[0;0m
[0;36m124 |[0;0m }
[0;36m125 |[0;0m
[0;36m126 |[0;0m func urlSession(_ session: URLSession, task: URLSessionTask, didFinishCollecting metrics: [4;39mURLSessionTaskMetrics[0;0m) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionTaskMetrics' in scope[0;0m
[0;36m127 |[0;0m let handler = handlers[task]
[0;36m128 |[0;0m handler?.metrics = metrics
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:126:32: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m124 |[0;0m }
[0;36m125 |[0;0m
[0;36m126 |[0;0m func urlSession(_ session: [4;39mURLSession[0;0m, task: URLSessionTask, didFinishCollecting metrics: URLSessionTaskMetrics) {
[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;36m127 |[0;0m let handler = handlers[task]
[0;36m128 |[0;0m handler?.metrics = metrics
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/.build/checkouts/Get/Sources/Get/DataLoader.swift:126:50: [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m124 |[0;0m }
[0;36m125 |[0;0m
[0;36m126 |[0;0m func urlSession(_ session: URLSession, task: [4;39mURLSessionTask[0;0m, didFinishCollecting metrics: URLSessionTaskMetrics) {
[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;36m127 |[0;0m let handler = handlers[task]
[0;36m128 |[0;0m handler?.metrics = metrics
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/.build/checkouts/Get/Sources/Get/DataLoader.swift:138:140: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m136 |[0;0m }
[0;36m137 |[0;0m
[0;36m138 |[0;0m func urlSession(_ session: URLSession, task: URLSessionTask, willPerformHTTPRedirection response: HTTPURLResponse, newRequest request: [4;39mURLRequest[0;0m, completionHandler: @escaping (URLRequest?) -> Void) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m139 |[0;0m #if os(Linux)
[0;36m140 |[0;0m handlers[task]?.delegate?.urlSession(session, task: task, willPerformHTTPRedirection: response, newRequest: request, completionHandler: completionHandler) ??
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:138:182: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m136 |[0;0m }
[0;36m137 |[0;0m
[0;36m138 |[0;0m func urlSession(_ session: URLSession, task: URLSessionTask, willPerformHTTPRedirection response: HTTPURLResponse, newRequest request: URLRequest, completionHandler: @escaping ([4;39mURLRequest[0;0m?) -> Void) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m139 |[0;0m #if os(Linux)
[0;36m140 |[0;0m handlers[task]?.delegate?.urlSession(session, task: task, willPerformHTTPRedirection: response, newRequest: request, completionHandler: completionHandler) ??
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:138:32: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m136 |[0;0m }
[0;36m137 |[0;0m
[0;36m138 |[0;0m func urlSession(_ session: [4;39mURLSession[0;0m, task: URLSessionTask, willPerformHTTPRedirection response: HTTPURLResponse, newRequest request: URLRequest, completionHandler: @escaping (URLRequest?) -> Void) {
[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;36m139 |[0;0m #if os(Linux)
[0;36m140 |[0;0m handlers[task]?.delegate?.urlSession(session, task: task, willPerformHTTPRedirection: response, newRequest: request, completionHandler: completionHandler) ??
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/.build/checkouts/Get/Sources/Get/DataLoader.swift:138:50: [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m136 |[0;0m }
[0;36m137 |[0;0m
[0;36m138 |[0;0m func urlSession(_ session: URLSession, task: [4;39mURLSessionTask[0;0m, willPerformHTTPRedirection response: HTTPURLResponse, newRequest request: URLRequest, completionHandler: @escaping (URLRequest?) -> Void) {
[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;36m139 |[0;0m #if os(Linux)
[0;36m140 |[0;0m handlers[task]?.delegate?.urlSession(session, task: task, willPerformHTTPRedirection: response, newRequest: request, completionHandler: completionHandler) ??
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/.build/checkouts/Get/Sources/Get/DataLoader.swift:138:103: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m136 |[0;0m }
[0;36m137 |[0;0m
[0;36m138 |[0;0m func urlSession(_ session: URLSession, task: URLSessionTask, willPerformHTTPRedirection response: [4;39mHTTPURLResponse[0;0m, newRequest request: URLRequest, completionHandler: @escaping (URLRequest?) -> Void) {
[0;36m|[0;0m `- [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m139 |[0;0m #if os(Linux)
[0;36m140 |[0;0m handlers[task]?.delegate?.urlSession(session, task: task, willPerformHTTPRedirection: response, newRequest: request, completionHandler: completionHandler) ??
Foundation.HTTPURLResponse:2:18: [1;39mnote: [1;39m'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:151:32: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m149 |[0;0m
[0;36m150 |[0;0m #if !os(Linux)
[0;36m151 |[0;0m func urlSession(_ session: [4;39mURLSession[0;0m, taskIsWaitingForConnectivity task: URLSessionTask) {
[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;36m152 |[0;0m handlers[task]?.delegate?.urlSession?(session, taskIsWaitingForConnectivity: task)
[0;36m153 |[0;0m userTaskDelegate?.urlSession?(session, taskIsWaitingForConnectivity: task)
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/.build/checkouts/Get/Sources/Get/DataLoader.swift:151:79: [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m149 |[0;0m
[0;36m150 |[0;0m #if !os(Linux)
[0;36m151 |[0;0m func urlSession(_ session: URLSession, taskIsWaitingForConnectivity task: [4;39mURLSessionTask[0;0m) {
[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;36m152 |[0;0m handlers[task]?.delegate?.urlSession?(session, taskIsWaitingForConnectivity: task)
[0;36m153 |[0;0m userTaskDelegate?.urlSession?(session, taskIsWaitingForConnectivity: task)
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/.build/checkouts/Get/Sources/Get/DataLoader.swift:157:32: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m155 |[0;0m
[0;36m156 |[0;0m #if !os(macOS) && !targetEnvironment(macCatalyst) && swift(>=5.7)
[0;36m157 |[0;0m func urlSession(_ session: [4;39mURLSession[0;0m, didCreateTask task: URLSessionTask) {
[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;36m158 |[0;0m if #available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) {
[0;36m159 |[0;0m handlers[task]?.delegate?.urlSession?(session, didCreateTask: task)
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/.build/checkouts/Get/Sources/Get/DataLoader.swift:157:64: [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m155 |[0;0m
[0;36m156 |[0;0m #if !os(macOS) && !targetEnvironment(macCatalyst) && swift(>=5.7)
[0;36m157 |[0;0m func urlSession(_ session: URLSession, didCreateTask task: [4;39mURLSessionTask[0;0m) {
[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;36m158 |[0;0m if #available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) {
[0;36m159 |[0;0m handlers[task]?.delegate?.urlSession?(session, didCreateTask: task)
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/.build/checkouts/Get/Sources/Get/DataLoader.swift:168:157: [1;31merror: [1;39m'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')[0;0m
[0;36m166 |[0;0m #endif
[0;36m167 |[0;0m
[0;36m168 |[0;0m func urlSession(_ session: URLSession, task: URLSessionTask, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping ([4;39mURLSession[0;0m.AuthChallengeDisposition, URLCredential?) -> Void) {
[0;36m|[0;0m `- [1;31merror: [1;39m'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')[0;0m
[0;36m169 |[0;0m #if os(Linux)
[0;36m170 |[0;0m handlers[task]?.delegate?.urlSession(session, task: task, didReceive: challenge, completionHandler: completionHandler) ??
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:168:32: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m166 |[0;0m #endif
[0;36m167 |[0;0m
[0;36m168 |[0;0m func urlSession(_ session: [4;39mURLSession[0;0m, task: URLSessionTask, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
[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;36m169 |[0;0m #if os(Linux)
[0;36m170 |[0;0m handlers[task]?.delegate?.urlSession(session, task: task, didReceive: challenge, completionHandler: completionHandler) ??
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/.build/checkouts/Get/Sources/Get/DataLoader.swift:168:50: [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m166 |[0;0m #endif
[0;36m167 |[0;0m
[0;36m168 |[0;0m func urlSession(_ session: URLSession, task: [4;39mURLSessionTask[0;0m, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
[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;36m169 |[0;0m #if os(Linux)
[0;36m170 |[0;0m handlers[task]?.delegate?.urlSession(session, task: task, didReceive: challenge, completionHandler: completionHandler) ??
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/.build/checkouts/Get/Sources/Get/DataLoader.swift:168:88: [1;31merror: [1;39m'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m166 |[0;0m #endif
[0;36m167 |[0;0m
[0;36m168 |[0;0m func urlSession(_ session: URLSession, task: URLSessionTask, didReceive challenge: [4;39mURLAuthenticationChallenge[0;0m, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m169 |[0;0m #if os(Linux)
[0;36m170 |[0;0m handlers[task]?.delegate?.urlSession(session, task: task, didReceive: challenge, completionHandler: completionHandler) ??
Foundation.URLAuthenticationChallenge:2:18: [1;39mnote: [1;39m'URLAuthenticationChallenge' 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 URLAuthenticationChallenge = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLAuthenticationChallenge' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:180:99: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m178 |[0;0m }
[0;36m179 |[0;0m
[0;36m180 |[0;0m func urlSession(_ session: URLSession, task: URLSessionTask, willBeginDelayedRequest request: [4;39mURLRequest[0;0m, completionHandler: @escaping (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m181 |[0;0m #if os(Linux)
[0;36m182 |[0;0m handlers[task]?.delegate?.urlSession(session, task: task, willBeginDelayedRequest: request, completionHandler: completionHandler) ??
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:180:152: [1;31merror: [1;39m'DelayedRequestDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')[0;0m
[0;36m178 |[0;0m }
[0;36m179 |[0;0m
[0;36m180 |[0;0m func urlSession(_ session: URLSession, task: URLSessionTask, willBeginDelayedRequest request: URLRequest, completionHandler: @escaping ([4;39mURLSession[0;0m.DelayedRequestDisposition, URLRequest?) -> Void) {
[0;36m|[0;0m `- [1;31merror: [1;39m'DelayedRequestDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')[0;0m
[0;36m181 |[0;0m #if os(Linux)
[0;36m182 |[0;0m handlers[task]?.delegate?.urlSession(session, task: task, willBeginDelayedRequest: request, completionHandler: completionHandler) ??
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:180:179: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m178 |[0;0m }
[0;36m179 |[0;0m
[0;36m180 |[0;0m func urlSession(_ session: URLSession, task: URLSessionTask, willBeginDelayedRequest request: URLRequest, completionHandler: @escaping (URLSession.DelayedRequestDisposition, [4;39mURLRequest[0;0m?) -> Void) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m181 |[0;0m #if os(Linux)
[0;36m182 |[0;0m handlers[task]?.delegate?.urlSession(session, task: task, willBeginDelayedRequest: request, completionHandler: completionHandler) ??
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:180:32: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m178 |[0;0m }
[0;36m179 |[0;0m
[0;36m180 |[0;0m func urlSession(_ session: [4;39mURLSession[0;0m, task: URLSessionTask, willBeginDelayedRequest request: URLRequest, completionHandler: @escaping (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) {
[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;36m181 |[0;0m #if os(Linux)
[0;36m182 |[0;0m handlers[task]?.delegate?.urlSession(session, task: task, willBeginDelayedRequest: request, completionHandler: completionHandler) ??
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/.build/checkouts/Get/Sources/Get/DataLoader.swift:180:50: [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m178 |[0;0m }
[0;36m179 |[0;0m
[0;36m180 |[0;0m func urlSession(_ session: URLSession, task: [4;39mURLSessionTask[0;0m, willBeginDelayedRequest request: URLRequest, completionHandler: @escaping (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) {
[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;36m181 |[0;0m #if os(Linux)
[0;36m182 |[0;0m handlers[task]?.delegate?.urlSession(session, task: task, willBeginDelayedRequest: request, completionHandler: completionHandler) ??
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/.build/checkouts/Get/Sources/Get/DataLoader.swift:192: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;36m190 |[0;0m }
[0;36m191 |[0;0m
[0;36m192 |[0;0m func urlSession(_ session: [4;39mURLSession[0;0m, task: URLSessionTask, didSendBodyData bytesSent: Int64, totalBytesSent: Int64, totalBytesExpectedToSend: Int64) {
[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;36m193 |[0;0m #if os(Linux)
[0;36m194 |[0;0m handlers[task]?.delegate?.urlSession(session, task: task, didSendBodyData: bytesSent, totalBytesSent: totalBytesSent, totalBytesExpectedToSend: totalBytesExpectedToSend) ??
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/.build/checkouts/Get/Sources/Get/DataLoader.swift:192:47: [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m190 |[0;0m }
[0;36m191 |[0;0m
[0;36m192 |[0;0m func urlSession(_ session: URLSession, task: [4;39mURLSessionTask[0;0m, didSendBodyData bytesSent: Int64, totalBytesSent: Int64, totalBytesExpectedToSend: Int64) {
[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;36m193 |[0;0m #if os(Linux)
[0;36m194 |[0;0m handlers[task]?.delegate?.urlSession(session, task: task, didSendBodyData: bytesSent, totalBytesSent: totalBytesSent, totalBytesExpectedToSend: totalBytesExpectedToSend) ??
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/.build/checkouts/Get/Sources/Get/DataLoader.swift:204:149: [1;31merror: [1;39m'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')[0;0m
[0;36m202 |[0;0m // MARK: - URLSessionDataDelegate
[0;36m203 |[0;0m
[0;36m204 |[0;0m func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping ([4;39mURLSession[0;0m.ResponseDisposition) -> Void) {
[0;36m|[0;0m `- [1;31merror: [1;39m'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')[0;0m
[0;36m205 |[0;0m #if os(Linux)
[0;36m206 |[0;0m (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession(session, dataTask: dataTask, didReceive: response, completionHandler: completionHandler) ??
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:204:32: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m202 |[0;0m // MARK: - URLSessionDataDelegate
[0;36m203 |[0;0m
[0;36m204 |[0;0m func urlSession(_ session: [4;39mURLSession[0;0m, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
[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;36m205 |[0;0m #if os(Linux)
[0;36m206 |[0;0m (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession(session, dataTask: dataTask, didReceive: response, completionHandler: completionHandler) ??
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/.build/checkouts/Get/Sources/Get/DataLoader.swift:204:54: [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m202 |[0;0m // MARK: - URLSessionDataDelegate
[0;36m203 |[0;0m
[0;36m204 |[0;0m func urlSession(_ session: URLSession, dataTask: [4;39mURLSessionDataTask[0;0m, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
[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;36m205 |[0;0m #if os(Linux)
[0;36m206 |[0;0m (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession(session, dataTask: dataTask, didReceive: response, completionHandler: completionHandler) ??
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/.build/checkouts/Get/Sources/Get/DataLoader.swift:204:95: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m202 |[0;0m // MARK: - URLSessionDataDelegate
[0;36m203 |[0;0m
[0;36m204 |[0;0m func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: [4;39mURLResponse[0;0m, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m205 |[0;0m #if os(Linux)
[0;36m206 |[0;0m (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession(session, dataTask: dataTask, didReceive: response, completionHandler: completionHandler) ??
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' 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 URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:216:32: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m214 |[0;0m }
[0;36m215 |[0;0m
[0;36m216 |[0;0m 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;36m217 |[0;0m guard let handler = handlers[dataTask] as? DataTaskHandler else { return }
[0;36m218 |[0;0m #if os(Linux)
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/.build/checkouts/Get/Sources/Get/DataLoader.swift:216:54: [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m214 |[0;0m }
[0;36m215 |[0;0m
[0;36m216 |[0;0m 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;36m217 |[0;0m guard let handler = handlers[dataTask] as? DataTaskHandler else { return }
[0;36m218 |[0;0m #if os(Linux)
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/.build/checkouts/Get/Sources/Get/DataLoader.swift:232:32: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m230 |[0;0m
[0;36m231 |[0;0m #if !os(Linux)
[0;36m232 |[0;0m func urlSession(_ session: [4;39mURLSession[0;0m, dataTask: URLSessionDataTask, didBecome downloadTask: URLSessionDownloadTask) {
[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;36m233 |[0;0m (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession?(session, dataTask: dataTask, didBecome: downloadTask)
[0;36m234 |[0;0m userDataDelegate?.urlSession?(session, dataTask: dataTask, didBecome: downloadTask)
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/.build/checkouts/Get/Sources/Get/DataLoader.swift:232:54: [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m230 |[0;0m
[0;36m231 |[0;0m #if !os(Linux)
[0;36m232 |[0;0m func urlSession(_ session: URLSession, dataTask: [4;39mURLSessionDataTask[0;0m, didBecome downloadTask: URLSessionDownloadTask) {
[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;36m233 |[0;0m (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession?(session, dataTask: dataTask, didBecome: downloadTask)
[0;36m234 |[0;0m userDataDelegate?.urlSession?(session, dataTask: dataTask, didBecome: downloadTask)
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/.build/checkouts/Get/Sources/Get/DataLoader.swift:232:98: [1;31merror: [1;39m'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m230 |[0;0m
[0;36m231 |[0;0m #if !os(Linux)
[0;36m232 |[0;0m func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didBecome downloadTask: [4;39mURLSessionDownloadTask[0;0m) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m233 |[0;0m (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession?(session, dataTask: dataTask, didBecome: downloadTask)
[0;36m234 |[0;0m userDataDelegate?.urlSession?(session, dataTask: dataTask, didBecome: downloadTask)
Foundation.URLSessionDownloadTask:2:18: [1;39mnote: [1;39m'URLSessionDownloadTask' 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 URLSessionDownloadTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDownloadTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:237:32: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m235 |[0;0m }
[0;36m236 |[0;0m
[0;36m237 |[0;0m func urlSession(_ session: [4;39mURLSession[0;0m, dataTask: URLSessionDataTask, didBecome streamTask: URLSessionStreamTask) {
[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;36m238 |[0;0m (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession?(session, dataTask: dataTask, didBecome: streamTask)
[0;36m239 |[0;0m userDataDelegate?.urlSession?(session, dataTask: dataTask, didBecome: streamTask)
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/.build/checkouts/Get/Sources/Get/DataLoader.swift:237:54: [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m235 |[0;0m }
[0;36m236 |[0;0m
[0;36m237 |[0;0m func urlSession(_ session: URLSession, dataTask: [4;39mURLSessionDataTask[0;0m, didBecome streamTask: URLSessionStreamTask) {
[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;36m238 |[0;0m (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession?(session, dataTask: dataTask, didBecome: streamTask)
[0;36m239 |[0;0m userDataDelegate?.urlSession?(session, dataTask: dataTask, didBecome: streamTask)
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/.build/checkouts/Get/Sources/Get/DataLoader.swift:237:96: [1;31merror: [1;39m'URLSessionStreamTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m235 |[0;0m }
[0;36m236 |[0;0m
[0;36m237 |[0;0m func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didBecome streamTask: [4;39mURLSessionStreamTask[0;0m) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionStreamTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m238 |[0;0m (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession?(session, dataTask: dataTask, didBecome: streamTask)
[0;36m239 |[0;0m userDataDelegate?.urlSession?(session, dataTask: dataTask, didBecome: streamTask)
Foundation.URLSessionStreamTask:2:18: [1;39mnote: [1;39m'URLSessionStreamTask' 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 URLSessionStreamTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionStreamTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:237:10: [1;31merror: [1;39minvalid redeclaration of 'urlSession(_:dataTask:didBecome:)'[0;0m
[0;36m230 |[0;0m
[0;36m231 |[0;0m #if !os(Linux)
[0;36m232 |[0;0m func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didBecome downloadTask: URLSessionDownloadTask) {
[0;36m|[0;0m `- [1;39mnote: [1;39m'urlSession(_:dataTask:didBecome:)' previously declared here[0;0m
[0;36m233 |[0;0m (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession?(session, dataTask: dataTask, didBecome: downloadTask)
[0;36m234 |[0;0m userDataDelegate?.urlSession?(session, dataTask: dataTask, didBecome: downloadTask)
[0;36m235 |[0;0m }
[0;36m236 |[0;0m
[0;36m237 |[0;0m func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didBecome streamTask: URLSessionStreamTask) {
[0;36m|[0;0m `- [1;31merror: [1;39minvalid redeclaration of 'urlSession(_:dataTask:didBecome:)'[0;0m
[0;36m238 |[0;0m (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession?(session, dataTask: dataTask, didBecome: streamTask)
[0;36m239 |[0;0m userDataDelegate?.urlSession?(session, dataTask: dataTask, didBecome: streamTask)
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:243:32: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m241 |[0;0m #endif
[0;36m242 |[0;0m
[0;36m243 |[0;0m func urlSession(_ session: [4;39mURLSession[0;0m, dataTask: URLSessionDataTask, willCacheResponse proposedResponse: CachedURLResponse, completionHandler: @escaping (CachedURLResponse?) -> Void) {
[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;36m244 |[0;0m #if os(Linux)
[0;36m245 |[0;0m (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession(session, dataTask: dataTask, willCacheResponse: proposedResponse, completionHandler: completionHandler) ??
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/.build/checkouts/Get/Sources/Get/DataLoader.swift:243:54: [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m241 |[0;0m #endif
[0;36m242 |[0;0m
[0;36m243 |[0;0m func urlSession(_ session: URLSession, dataTask: [4;39mURLSessionDataTask[0;0m, willCacheResponse proposedResponse: CachedURLResponse, completionHandler: @escaping (CachedURLResponse?) -> Void) {
[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;36m244 |[0;0m #if os(Linux)
[0;36m245 |[0;0m (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession(session, dataTask: dataTask, willCacheResponse: proposedResponse, completionHandler: completionHandler) ??
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/.build/checkouts/Get/Sources/Get/DataLoader.swift:243:110: [1;31merror: [1;39m'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m241 |[0;0m #endif
[0;36m242 |[0;0m
[0;36m243 |[0;0m func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, willCacheResponse proposedResponse: [4;39mCachedURLResponse[0;0m, completionHandler: @escaping (CachedURLResponse?) -> Void) {
[0;36m|[0;0m `- [1;31merror: [1;39m'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m244 |[0;0m #if os(Linux)
[0;36m245 |[0;0m (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession(session, dataTask: dataTask, willCacheResponse: proposedResponse, completionHandler: completionHandler) ??
Foundation.CachedURLResponse:2:18: [1;39mnote: [1;39m'CachedURLResponse' 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 CachedURLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'CachedURLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:243:159: [1;31merror: [1;39m'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m241 |[0;0m #endif
[0;36m242 |[0;0m
[0;36m243 |[0;0m func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, willCacheResponse proposedResponse: CachedURLResponse, completionHandler: @escaping ([4;39mCachedURLResponse[0;0m?) -> Void) {
[0;36m|[0;0m `- [1;31merror: [1;39m'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m244 |[0;0m #if os(Linux)
[0;36m245 |[0;0m (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession(session, dataTask: dataTask, willCacheResponse: proposedResponse, completionHandler: completionHandler) ??
Foundation.CachedURLResponse:2:18: [1;39mnote: [1;39m'CachedURLResponse' 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 CachedURLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'CachedURLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:257:32: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m255 |[0;0m // MARK: - URLSessionDownloadDelegate
[0;36m256 |[0;0m
[0;36m257 |[0;0m func urlSession(_ session: [4;39mURLSession[0;0m, downloadTask: URLSessionDownloadTask, didFinishDownloadingTo location: URL) {
[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;36m258 |[0;0m let handler = (handlers[downloadTask] as? DownloadTaskHandler)
[0;36m259 |[0;0m let downloadsURL = DataLoader.downloadDirectoryURL
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/.build/checkouts/Get/Sources/Get/DataLoader.swift:257:58: [1;31merror: [1;39m'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m255 |[0;0m // MARK: - URLSessionDownloadDelegate
[0;36m256 |[0;0m
[0;36m257 |[0;0m func urlSession(_ session: URLSession, downloadTask: [4;39mURLSessionDownloadTask[0;0m, didFinishDownloadingTo location: URL) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m258 |[0;0m let handler = (handlers[downloadTask] as? DownloadTaskHandler)
[0;36m259 |[0;0m let downloadsURL = DataLoader.downloadDirectoryURL
Foundation.URLSessionDownloadTask:2:18: [1;39mnote: [1;39m'URLSessionDownloadTask' 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 URLSessionDownloadTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDownloadTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:268:32: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m266 |[0;0m }
[0;36m267 |[0;0m
[0;36m268 |[0;0m func urlSession(_ session: [4;39mURLSession[0;0m, downloadTask: URLSessionDownloadTask, didWriteData bytesWritten: Int64, totalBytesWritten: Int64, totalBytesExpectedToWrite: Int64) {
[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;36m269 |[0;0m #if os(Linux)
[0;36m270 |[0;0m (handlers[downloadTask] as? DownloadTaskHandler)?.downloadDelegate?.urlSession(session, downloadTask: downloadTask, didWriteData: bytesWritten, totalBytesWritten: totalBytesWritten, totalBytesExpectedToWrite: totalBytesExpectedToWrite)
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/.build/checkouts/Get/Sources/Get/DataLoader.swift:268:58: [1;31merror: [1;39m'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m266 |[0;0m }
[0;36m267 |[0;0m
[0;36m268 |[0;0m func urlSession(_ session: URLSession, downloadTask: [4;39mURLSessionDownloadTask[0;0m, didWriteData bytesWritten: Int64, totalBytesWritten: Int64, totalBytesExpectedToWrite: Int64) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m269 |[0;0m #if os(Linux)
[0;36m270 |[0;0m (handlers[downloadTask] as? DownloadTaskHandler)?.downloadDelegate?.urlSession(session, downloadTask: downloadTask, didWriteData: bytesWritten, totalBytesWritten: totalBytesWritten, totalBytesExpectedToWrite: totalBytesExpectedToWrite)
Foundation.URLSessionDownloadTask:2:18: [1;39mnote: [1;39m'URLSessionDownloadTask' 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 URLSessionDownloadTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDownloadTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:278:32: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m276 |[0;0m }
[0;36m277 |[0;0m
[0;36m278 |[0;0m func urlSession(_ session: [4;39mURLSession[0;0m, downloadTask: URLSessionDownloadTask, didResumeAtOffset fileOffset: Int64, expectedTotalBytes: Int64) {
[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;36m279 |[0;0m #if os(Linux)
[0;36m280 |[0;0m (handlers[downloadTask] as? DownloadTaskHandler)?.downloadDelegate?.urlSession(session, downloadTask: downloadTask, didResumeAtOffset: fileOffset, expectedTotalBytes: expectedTotalBytes)
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/.build/checkouts/Get/Sources/Get/DataLoader.swift:278:58: [1;31merror: [1;39m'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m276 |[0;0m }
[0;36m277 |[0;0m
[0;36m278 |[0;0m func urlSession(_ session: URLSession, downloadTask: [4;39mURLSessionDownloadTask[0;0m, didResumeAtOffset fileOffset: Int64, expectedTotalBytes: Int64) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m279 |[0;0m #if os(Linux)
[0;36m280 |[0;0m (handlers[downloadTask] as? DownloadTaskHandler)?.downloadDelegate?.urlSession(session, downloadTask: downloadTask, didResumeAtOffset: fileOffset, expectedTotalBytes: expectedTotalBytes)
Foundation.URLSessionDownloadTask:2:18: [1;39mnote: [1;39m'URLSessionDownloadTask' 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 URLSessionDownloadTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDownloadTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:292:19: [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m290 |[0;0m
[0;36m291 |[0;0m private class TaskHandler {
[0;36m292 |[0;0m let delegate: [4;39mURLSessionTaskDelegate[0;0m?
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m293 |[0;0m var metrics: URLSessionTaskMetrics?
[0;36m294 |[0;0m
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:293:18: [1;31merror: [1;39mcannot find type 'URLSessionTaskMetrics' in scope[0;0m
[0;36m291 |[0;0m private class TaskHandler {
[0;36m292 |[0;0m let delegate: URLSessionTaskDelegate?
[0;36m293 |[0;0m var metrics: [4;39mURLSessionTaskMetrics[0;0m?
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionTaskMetrics' in scope[0;0m
[0;36m294 |[0;0m
[0;36m295 |[0;0m init(delegate: URLSessionTaskDelegate?) {
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:295:20: [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m293 |[0;0m var metrics: URLSessionTaskMetrics?
[0;36m294 |[0;0m
[0;36m295 |[0;0m init(delegate: [4;39mURLSessionTaskDelegate[0;0m?) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m296 |[0;0m self.delegate = delegate
[0;36m297 |[0;0m }
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:303:23: [1;31merror: [1;39mcannot find type 'URLSessionDataDelegate' in scope[0;0m
[0;36m301 |[0;0m typealias Completion = (Result<Response<Data>, Error>) -> Void
[0;36m302 |[0;0m
[0;36m303 |[0;0m let dataDelegate: [4;39mURLSessionDataDelegate[0;0m?
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionDataDelegate' in scope[0;0m
[0;36m304 |[0;0m var completion: Completion?
[0;36m305 |[0;0m var data: Data?
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:307:29: [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m305 |[0;0m var data: Data?
[0;36m306 |[0;0m
[0;36m307 |[0;0m override init(delegate: [4;39mURLSessionTaskDelegate[0;0m?) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m308 |[0;0m self.dataDelegate = delegate as? URLSessionDataDelegate
[0;36m309 |[0;0m super.init(delegate: delegate)
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:316:27: [1;31merror: [1;39mcannot find type 'URLSessionDownloadDelegate' in scope[0;0m
[0;36m314 |[0;0m typealias Completion = (Result<Response<URL>, Error>) -> Void
[0;36m315 |[0;0m
[0;36m316 |[0;0m let downloadDelegate: [4;39mURLSessionDownloadDelegate[0;0m?
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionDownloadDelegate' in scope[0;0m
[0;36m317 |[0;0m var completion: Completion?
[0;36m318 |[0;0m var location: URL?
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:320:20: [1;31merror: [1;39mcannot find type 'URLSessionDownloadDelegate' in scope[0;0m
[0;36m318 |[0;0m var location: URL?
[0;36m319 |[0;0m
[0;36m320 |[0;0m init(delegate: [4;39mURLSessionDownloadDelegate[0;0m?) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionDownloadDelegate' in scope[0;0m
[0;36m321 |[0;0m self.downloadDelegate = delegate
[0;36m322 |[0;0m super.init(delegate: delegate)
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:331:15: [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m329 |[0;0m
[0;36m330 |[0;0m struct DataLoaderError: Error {
[0;36m331 |[0;0m let task: [4;39mURLSessionTask[0;0m
[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;36m332 |[0;0m let error: Error
[0;36m333 |[0;0m }
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/.build/checkouts/Get/Sources/Get/DataLoader.swift:335:11: [1;31merror: [1;39mcannot find type 'OperationQueue' in scope[0;0m
[0;36m333 |[0;0m }
[0;36m334 |[0;0m
[0;36m335 |[0;0m extension [4;39mOperationQueue[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'OperationQueue' in scope[0;0m
[0;36m336 |[0;0m static func serial() -> OperationQueue {
[0;36m337 |[0;0m let queue = OperationQueue()
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:379:28: [1;31merror: [1;39mtype 'URLSessionTask' (aka 'AnyObject') does not conform to protocol 'Hashable'[0;0m
[0;36m377 |[0;0m private final class TaskHandlersDictionary {
[0;36m378 |[0;0m private let lock = NSLock()
[0;36m379 |[0;0m private var handlers = [URLSessionTask: TaskHandler]()
[0;36m|[0;0m `- [1;31merror: [1;39mtype 'URLSessionTask' (aka 'AnyObject') does not conform to protocol 'Hashable'[0;0m
[0;36m380 |[0;0m
[0;36m381 |[0;0m subscript(task: URLSessionTask) -> TaskHandler? {
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:381:21: [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m379 |[0;0m private var handlers = [URLSessionTask: TaskHandler]()
[0;36m380 |[0;0m
[0;36m381 |[0;0m subscript(task: [4;39mURLSessionTask[0;0m) -> TaskHandler? {
[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;36m382 |[0;0m get {
[0;36m383 |[0;0m lock.lock()
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/.build/checkouts/Get/Sources/Get/Response.swift:16:26: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m14 |[0;0m public let value: T
[0;36m15 |[0;0m /// Original response.
[0;36m16 |[0;0m public let response: [4;39mURLResponse[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m17 |[0;0m /// Response HTTP status code.
[0;36m18 |[0;0m public var statusCode: Int? { (response as? HTTPURLResponse)?.statusCode }
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' 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 URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Response.swift:22:33: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m20 |[0;0m public let data: Data
[0;36m21 |[0;0m /// Original request.
[0;36m22 |[0;0m public var originalRequest: [4;39mURLRequest[0;0m? { task.originalRequest }
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m23 |[0;0m /// The URL request object currently being handled by the task. May be
[0;36m24 |[0;0m /// different from the original request.
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Response.swift:25:32: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m23 |[0;0m /// The URL request object currently being handled by the task. May be
[0;36m24 |[0;0m /// different from the original request.
[0;36m25 |[0;0m public var currentRequest: [4;39mURLRequest[0;0m? { task.currentRequest }
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m26 |[0;0m /// Completed task.
[0;36m27 |[0;0m public let task: URLSessionTask
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Response.swift:27:22: [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m25 |[0;0m public var currentRequest: URLRequest? { task.currentRequest }
[0;36m26 |[0;0m /// Completed task.
[0;36m27 |[0;0m public let task: [4;39mURLSessionTask[0;0m
[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;36m28 |[0;0m /// Task metrics collected for the request.
[0;36m29 |[0;0m public let metrics: URLSessionTaskMetrics?
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/.build/checkouts/Get/Sources/Get/Response.swift:29:25: [1;31merror: [1;39mcannot find type 'URLSessionTaskMetrics' in scope[0;0m
[0;36m27 |[0;0m public let task: URLSessionTask
[0;36m28 |[0;0m /// Task metrics collected for the request.
[0;36m29 |[0;0m public let metrics: [4;39mURLSessionTaskMetrics[0;0m?
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionTaskMetrics' in scope[0;0m
[0;36m30 |[0;0m
[0;36m31 |[0;0m /// Initializes the response.
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Response.swift:32:93: [1;31merror: [1;39mcannot find type 'URLSessionTaskMetrics' in scope[0;0m
[0;36m30 |[0;0m
[0;36m31 |[0;0m /// Initializes the response.
[0;36m32 |[0;0m public init(value: T, data: Data, response: URLResponse, task: URLSessionTask, metrics: [4;39mURLSessionTaskMetrics[0;0m? = nil) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionTaskMetrics' in scope[0;0m
[0;36m33 |[0;0m self.value = value
[0;36m34 |[0;0m self.data = data
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Response.swift:32:49: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m30 |[0;0m
[0;36m31 |[0;0m /// Initializes the response.
[0;36m32 |[0;0m public init(value: T, data: Data, response: [4;39mURLResponse[0;0m, task: URLSessionTask, metrics: URLSessionTaskMetrics? = nil) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m33 |[0;0m self.value = value
[0;36m34 |[0;0m self.data = data
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' 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 URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Response.swift:32:68: [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m30 |[0;0m
[0;36m31 |[0;0m /// Initializes the response.
[0;36m32 |[0;0m public init(value: T, data: Data, response: URLResponse, task: [4;39mURLSessionTask[0;0m, metrics: URLSessionTaskMetrics? = nil) {
[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;36m33 |[0;0m self.value = value
[0;36m34 |[0;0m self.data = data
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:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift /host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClientDelegate.swift /host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift /host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Request.swift /host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Response.swift -target wasm32-unknown-wasip1 -disable-objc-interop -sdk /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -sysroot /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -I /host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32 -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 -suppress-warnings -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 /usr/lib/swift/host/plugins/testing\#/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_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static -use-static-resource-dir -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/clang -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-webassembly-wasm32/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Get.build/Debug-webassembly-wasm32/Get-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Get.build/Debug-webassembly-wasm32/Get-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Get.build/Debug-webassembly-wasm32/Get-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name Get -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/Get.build/Debug-webassembly-wasm32/Get-t.build/Objects-normal/wasm32/Get_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Get.build/Debug-webassembly-wasm32/Get-t.build/Objects-normal/wasm32/Modules/Get.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Get.build/Debug-webassembly-wasm32/Get-t.build/Objects-normal/wasm32/Modules/Get.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Get.build/Debug-webassembly-wasm32/Get-t.build/Objects-normal/wasm32/Get-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Get.build/Debug-webassembly-wasm32/Get-t.build/Objects-normal/wasm32/Get-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Get.build/Debug-webassembly-wasm32/Get-t.build/Objects-normal/wasm32/Get-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Get.build/Debug-webassembly-wasm32/Get-t.build/Objects-normal/wasm32/Modules/Get.swiftmodule
error: Build failed
BUILD FAILURE 6.4 wasm