Build Information
Failed to build HackerRankKit, reference 0.9.0 (701e5d), with Swift 6.4 for Wasm on 25 Sep 2026 21:38:05 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344847-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images: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/adamtheturtle/HackerRankKit.git
Reference: 0.9.0
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/adamtheturtle/HackerRankKit
* tag 0.9.0 -> FETCH_HEAD
HEAD is now at 701e5da Merge pull request #213 from adamtheturtle/codex/hk-release-0.9.0
Cloned https://github.com/adamtheturtle/HackerRankKit.git
Revision (git rev-parse @):
701e5da5e38308378b523d8e9c078ff07eb229e8
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/adamtheturtle/HackerRankKit.git at 0.9.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.4
Building package at path: $PWD
https://github.com/adamtheturtle/HackerRankKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images: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/adamtheturtle/PaginatedRESTClient.git
[1/760] Fetching paginatedrestclient
Fetched https://github.com/adamtheturtle/PaginatedRESTClient.git (0.56s)
Computing version for https://github.com/adamtheturtle/PaginatedRESTClient.git
Computed https://github.com/adamtheturtle/PaginatedRESTClient.git at 0.5.0 (0.72s)
Creating working copy for https://github.com/adamtheturtle/PaginatedRESTClient.git
Working copy of https://github.com/adamtheturtle/PaginatedRESTClient.git resolved at 0.5.0
Building for debugging...
[Pre-planning 1 / 154]
error: SwiftCompile normal wasm32 failed with a nonzero exit code. Command line: cd /host
/host/spi-builder-workspace/.build/checkouts/PaginatedRESTClient/Sources/PaginatedRESTClient/URLSessionTransport.swift:28:31: [1;31merror: [1;39m'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers[0;0m
[0;36m26 |[0;0m // default transport without hopping to MainActor.
[0;36m27 |[0;0m public nonisolated init(
[0;36m28 |[0;0m session: URLSession = [4;39mURLSession[0;0m(configuration: .ephemeral),
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers[0;0m
[0;36m29 |[0;0m successResponseLimit: Int = 10 * 1024 * 1024,
[0;36m30 |[0;0m errorResponseLimit: Int = 64 * 1024
/host/spi-builder-workspace/.build/checkouts/PaginatedRESTClient/Sources/PaginatedRESTClient/URLSessionTransport.swift:28:31: [1;31merror: [1;39mdefault argument value of type '_' cannot be converted to type 'AnyObject'[0;0m
[0;36m26 |[0;0m // default transport without hopping to MainActor.
[0;36m27 |[0;0m public nonisolated init(
[0;36m28 |[0;0m session: URLSession = [4;39mURLSession(configuration: .ephemeral)[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39mdefault argument value of type '_' cannot be converted to type 'AnyObject'[0;0m
[0;36m29 |[0;0m successResponseLimit: Int = 10 * 1024 * 1024,
[0;36m30 |[0;0m errorResponseLimit: Int = 64 * 1024
/host/spi-builder-workspace/.build/checkouts/PaginatedRESTClient/Sources/PaginatedRESTClient/SameOriginRedirectDelegate.swift:33:34: [1;31merror: [1;39mcannot find type 'URLSessionDelegate' in scope[0;0m
[0;36m31 |[0;0m bodyStreamFailureBox: FileBodyStreamFailureBox? = nil,
[0;36m32 |[0;0m requiresSameOrigin: Bool = true,
[0;36m33 |[0;0m forwardingDelegate: (any [4;39mURLSessionDelegate[0;0m)?
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionDelegate' in scope[0;0m
[0;36m34 |[0;0m ) {
[0;36m35 |[0;0m requestOrigin = Self.origin(from: requestURL)
/host/spi-builder-workspace/.build/checkouts/PaginatedRESTClient/Sources/PaginatedRESTClient/SameOriginRedirectDelegate.swift:14:63: [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m12 |[0;0m /// Rejects redirects that would move an authenticated request to another origin,
[0;36m13 |[0;0m /// while preserving the caller's task-delegate behavior for safe redirects.
[0;36m14 |[0;0m final nonisolated class SameOriginRedirectDelegate: NSObject, [4;39mURLSessionTaskDelegate[0;0m, @unchecked Sendable {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m15 |[0;0m private struct Origin: Equatable {
[0;36m16 |[0;0m let scheme: String
/host/spi-builder-workspace/.build/checkouts/PaginatedRESTClient/Sources/PaginatedRESTClient/SameOriginRedirectDelegate.swift:25:39: [1;31merror: [1;39mcannot find type 'URLSessionDelegate' in scope[0;0m
[0;36m23 |[0;0m private let bodyStreamFailureBox: FileBodyStreamFailureBox?
[0;36m24 |[0;0m private let requiresSameOrigin: Bool
[0;36m25 |[0;0m private let sessionDelegate: (any [4;39mURLSessionDelegate[0;0m)?
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionDelegate' in scope[0;0m
[0;36m26 |[0;0m private let forwardingDelegate: (any URLSessionTaskDelegate)?
[0;36m27 |[0;0m
/host/spi-builder-workspace/.build/checkouts/PaginatedRESTClient/Sources/PaginatedRESTClient/SameOriginRedirectDelegate.swift:26:42: [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m24 |[0;0m private let requiresSameOrigin: Bool
[0;36m25 |[0;0m private let sessionDelegate: (any URLSessionDelegate)?
[0;36m26 |[0;0m private let forwardingDelegate: (any [4;39mURLSessionTaskDelegate[0;0m)?
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m27 |[0;0m
[0;36m28 |[0;0m init(
/host/spi-builder-workspace/.build/checkouts/PaginatedRESTClient/Sources/PaginatedRESTClient/SameOriginRedirectDelegate.swift:46:60: [1;31merror: [1;39m'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')[0;0m
[0;36m44 |[0;0m _ session: URLSession,
[0;36m45 |[0;0m didReceive challenge: URLAuthenticationChallenge,
[0;36m46 |[0;0m completionHandler: @escaping @Sendable ([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;36m47 |[0;0m ) {
[0;36m48 |[0;0m guard let sessionDelegate else {
/host/spi-builder-workspace/.build/checkouts/PaginatedRESTClient/Sources/PaginatedRESTClient/SameOriginRedirectDelegate.swift:44:20: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m42 |[0;0m
[0;36m43 |[0;0m func urlSession(
[0;36m44 |[0;0m _ 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;36m45 |[0;0m didReceive challenge: URLAuthenticationChallenge,
[0;36m46 |[0;0m completionHandler: @escaping @Sendable (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
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/PaginatedRESTClient/Sources/PaginatedRESTClient/SameOriginRedirectDelegate.swift:45:31: [1;31merror: [1;39m'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m43 |[0;0m func urlSession(
[0;36m44 |[0;0m _ session: URLSession,
[0;36m45 |[0;0m didReceive challenge: [4;39mURLAuthenticationChallenge[0;0m,
[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;36m46 |[0;0m completionHandler: @escaping @Sendable (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
[0;36m47 |[0;0m ) {
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/PaginatedRESTClient/Sources/PaginatedRESTClient/SameOriginRedirectDelegate.swift:66: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;36m64 |[0;0m }
[0;36m65 |[0;0m
[0;36m66 |[0;0m func urlSession(_ session: [4;39mURLSession[0;0m, didBecomeInvalidWithError error: (any 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;36m67 |[0;0m #if canImport(FoundationNetworking)
[0;36m68 |[0;0m sessionDelegate?.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/PaginatedRESTClient/Sources/PaginatedRESTClient/SameOriginRedirectDelegate.swift:78:29: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m76 |[0;0m task: URLSessionTask,
[0;36m77 |[0;0m willPerformHTTPRedirection response: HTTPURLResponse,
[0;36m78 |[0;0m newRequest request: [4;39mURLRequest[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m79 |[0;0m completionHandler: @escaping @Sendable (URLRequest?) -> Void
[0;36m80 |[0;0m ) {
/host/spi-builder-workspace/.build/checkouts/PaginatedRESTClient/Sources/PaginatedRESTClient/SameOriginRedirectDelegate.swift:79:49: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m77 |[0;0m willPerformHTTPRedirection response: HTTPURLResponse,
[0;36m78 |[0;0m newRequest request: URLRequest,
[0;36m79 |[0;0m completionHandler: @escaping @Sendable ([4;39mURLRequest[0;0m?) -> Void
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m80 |[0;0m ) {
[0;36m81 |[0;0m guard allows(request) else {
/host/spi-builder-workspace/.build/checkouts/PaginatedRESTClient/Sources/PaginatedRESTClient/SameOriginRedirectDelegate.swift:75:20: [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
[0;36m74 |[0;0m func urlSession(
[0;36m75 |[0;0m _ 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;36m76 |[0;0m task: URLSessionTask,
[0;36m77 |[0;0m willPerformHTTPRedirection response: HTTPURLResponse,
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/PaginatedRESTClient/Sources/PaginatedRESTClient/SameOriginRedirectDelegate.swift:76: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;36m74 |[0;0m func urlSession(
[0;36m75 |[0;0m _ session: URLSession,
[0;36m76 |[0;0m 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;36m77 |[0;0m willPerformHTTPRedirection response: HTTPURLResponse,
[0;36m78 |[0;0m newRequest request: URLRequest,
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/PaginatedRESTClient/Sources/PaginatedRESTClient/SameOriginRedirectDelegate.swift:77:46: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m75 |[0;0m _ session: URLSession,
[0;36m76 |[0;0m task: URLSessionTask,
[0;36m77 |[0;0m willPerformHTTPRedirection response: [4;39mHTTPURLResponse[0;0m,
[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;36m78 |[0;0m newRequest request: URLRequest,
[0;36m79 |[0;0m completionHandler: @escaping @Sendable (URLRequest?) -> Void
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/PaginatedRESTClient/Sources/PaginatedRESTClient/SameOriginRedirectDelegate.swift:119:60: [1;31merror: [1;39m'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')[0;0m
[0;36m117 |[0;0m task: URLSessionTask,
[0;36m118 |[0;0m didReceive challenge: URLAuthenticationChallenge,
[0;36m119 |[0;0m completionHandler: @escaping @Sendable ([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;36m120 |[0;0m ) {
[0;36m121 |[0;0m guard let forwardingDelegate else {
/host/spi-builder-workspace/.build/checkouts/PaginatedRESTClient/Sources/PaginatedRESTClient/SameOriginRedirectDelegate.swift:116:20: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m114 |[0;0m
[0;36m115 |[0;0m func urlSession(
[0;36m116 |[0;0m _ 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;36m117 |[0;0m task: URLSessionTask,
[0;36m118 |[0;0m didReceive challenge: URLAuthenticationChallenge,
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/PaginatedRESTClient/Sources/PaginatedRESTClient/SameOriginRedirectDelegate.swift:117: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;36m115 |[0;0m func urlSession(
[0;36m116 |[0;0m _ session: URLSession,
[0;36m117 |[0;0m 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;36m118 |[0;0m didReceive challenge: URLAuthenticationChallenge,
[0;36m119 |[0;0m completionHandler: @escaping @Sendable (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
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/PaginatedRESTClient/Sources/PaginatedRESTClient/SameOriginRedirectDelegate.swift:118:31: [1;31merror: [1;39m'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m116 |[0;0m _ session: URLSession,
[0;36m117 |[0;0m task: URLSessionTask,
[0;36m118 |[0;0m didReceive challenge: [4;39mURLAuthenticationChallenge[0;0m,
[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;36m119 |[0;0m completionHandler: @escaping @Sendable (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
[0;36m120 |[0;0m ) {
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/PaginatedRESTClient/Sources/PaginatedRESTClient/SameOriginRedirectDelegate.swift:141:20: [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
[0;36m140 |[0;0m func urlSession(
[0;36m141 |[0;0m _ 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;36m142 |[0;0m task: URLSessionTask,
[0;36m143 |[0;0m needNewBodyStream completionHandler: @escaping @Sendable (InputStream?) -> Void
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/PaginatedRESTClient/Sources/PaginatedRESTClient/SameOriginRedirectDelegate.swift:142: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;36m140 |[0;0m func urlSession(
[0;36m141 |[0;0m _ session: URLSession,
[0;36m142 |[0;0m 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;36m143 |[0;0m needNewBodyStream completionHandler: @escaping @Sendable (InputStream?) -> Void
[0;36m144 |[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/PaginatedRESTClient/Sources/PaginatedRESTClient/SameOriginRedirectDelegate.swift:173:20: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m171 |[0;0m
[0;36m172 |[0;0m func urlSession(
[0;36m173 |[0;0m _ 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;36m174 |[0;0m task: URLSessionTask,
[0;36m175 |[0;0m didSendBodyData bytesSent: Int64,
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/PaginatedRESTClient/Sources/PaginatedRESTClient/SameOriginRedirectDelegate.swift:174: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;36m172 |[0;0m func urlSession(
[0;36m173 |[0;0m _ session: URLSession,
[0;36m174 |[0;0m 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;36m175 |[0;0m didSendBodyData bytesSent: Int64,
[0;36m176 |[0;0m totalBytesSent: Int64,
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/PaginatedRESTClient/Sources/PaginatedRESTClient/SameOriginRedirectDelegate.swift:201:42: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m199 |[0;0m _ session: URLSession,
[0;36m200 |[0;0m task: URLSessionTask,
[0;36m201 |[0;0m willBeginDelayedRequest request: [4;39mURLRequest[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m202 |[0;0m completionHandler: @escaping @Sendable (URLSession.DelayedRequestDisposition, URLRequest?) -> Void
[0;36m203 |[0;0m ) {
/host/spi-builder-workspace/.build/checkouts/PaginatedRESTClient/Sources/PaginatedRESTClient/SameOriginRedirectDelegate.swift:202:60: [1;31merror: [1;39m'DelayedRequestDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')[0;0m
[0;36m200 |[0;0m task: URLSessionTask,
[0;36m201 |[0;0m willBeginDelayedRequest request: URLRequest,
[0;36m202 |[0;0m completionHandler: @escaping @Sendable ([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;36m203 |[0;0m ) {
[0;36m204 |[0;0m guard let forwardingDelegate else {
/host/spi-builder-workspace/.build/checkouts/PaginatedRESTClient/Sources/PaginatedRESTClient/SameOriginRedirectDelegate.swift:202:87: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m200 |[0;0m task: URLSessionTask,
[0;36m201 |[0;0m willBeginDelayedRequest request: URLRequest,
[0;36m202 |[0;0m completionHandler: @escaping @Sendable (URLSession.DelayedRequestDisposition, [4;39mURLRequest[0;0m?) -> Void
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m203 |[0;0m ) {
[0;36m204 |[0;0m guard let forwardingDelegate else {
/host/spi-builder-workspace/.build/checkouts/PaginatedRESTClient/Sources/PaginatedRESTClient/SameOriginRedirectDelegate.swift:199:20: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m197 |[0;0m
[0;36m198 |[0;0m func urlSession(
[0;36m199 |[0;0m _ 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;36m200 |[0;0m task: URLSessionTask,
[0;36m201 |[0;0m willBeginDelayedRequest request: URLRequest,
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/PaginatedRESTClient/Sources/PaginatedRESTClient/SameOriginRedirectDelegate.swift:200: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;36m198 |[0;0m func urlSession(
[0;36m199 |[0;0m _ session: URLSession,
[0;36m200 |[0;0m 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;36m201 |[0;0m willBeginDelayedRequest request: URLRequest,
[0;36m202 |[0;0m completionHandler: @escaping @Sendable (URLSession.DelayedRequestDisposition, URLRequest?) -> Void
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/PaginatedRESTClient/Sources/PaginatedRESTClient/SameOriginRedirectDelegate.swift:243:95: [1;31merror: [1;39mcannot find type 'URLSessionTaskMetrics' in scope[0;0m
[0;36m241 |[0;0m }
[0;36m242 |[0;0m
[0;36m243 |[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;36m244 |[0;0m #if canImport(FoundationNetworking)
[0;36m245 |[0;0m forwardingDelegate?.urlSession(session, task: task, didFinishCollecting: metrics)
/host/spi-builder-workspace/.build/checkouts/PaginatedRESTClient/Sources/PaginatedRESTClient/SameOriginRedirectDelegate.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 }
[0;36m242 |[0;0m
[0;36m243 |[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;36m244 |[0;0m #if canImport(FoundationNetworking)
[0;36m245 |[0;0m forwardingDelegate?.urlSession(session, task: task, didFinishCollecting: 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/PaginatedRESTClient/Sources/PaginatedRESTClient/SameOriginRedirectDelegate.swift:243: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;36m241 |[0;0m }
[0;36m242 |[0;0m
[0;36m243 |[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;36m244 |[0;0m #if canImport(FoundationNetworking)
[0;36m245 |[0;0m forwardingDelegate?.urlSession(session, task: task, didFinishCollecting: 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/PaginatedRESTClient/Sources/PaginatedRESTClient/SameOriginRedirectDelegate.swift:251: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;36m249 |[0;0m }
[0;36m250 |[0;0m
[0;36m251 |[0;0m func urlSession(_ session: [4;39mURLSession[0;0m, task: URLSessionTask, didCompleteWithError error: (any 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;36m252 |[0;0m #if canImport(FoundationNetworking)
[0;36m253 |[0;0m forwardingDelegate?.urlSession(session, task: task, didCompleteWithError: 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/PaginatedRESTClient/Sources/PaginatedRESTClient/SameOriginRedirectDelegate.swift:251: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;36m249 |[0;0m }
[0;36m250 |[0;0m
[0;36m251 |[0;0m func urlSession(_ session: URLSession, task: [4;39mURLSessionTask[0;0m, didCompleteWithError error: (any 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;36m252 |[0;0m #if canImport(FoundationNetworking)
[0;36m253 |[0;0m forwardingDelegate?.urlSession(session, task: task, didCompleteWithError: error)
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/PaginatedRESTClient/Sources/PaginatedRESTClient/SameOriginRedirectDelegate.swift:260: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;36m258 |[0;0m
[0;36m259 |[0;0m #if !canImport(FoundationNetworking)
[0;36m260 |[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;36m261 |[0;0m forwardingDelegate?.urlSession?(session, taskIsWaitingForConnectivity: task)
[0;36m262 |[0;0m }
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/PaginatedRESTClient/Sources/PaginatedRESTClient/SameOriginRedirectDelegate.swift:260: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;36m258 |[0;0m
[0;36m259 |[0;0m #if !canImport(FoundationNetworking)
[0;36m260 |[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;36m261 |[0;0m forwardingDelegate?.urlSession?(session, taskIsWaitingForConnectivity: task)
[0;36m262 |[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/PaginatedRESTClient/Sources/PaginatedRESTClient/SameOriginRedirectDelegate.swift:266:20: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m264 |[0;0m @available(macOS 14.0, iOS 17.0, tvOS 17.0, watchOS 10.0, *)
[0;36m265 |[0;0m func urlSession(
[0;36m266 |[0;0m _ 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;36m267 |[0;0m task: URLSessionTask,
[0;36m268 |[0;0m didReceiveInformationalResponse response: HTTPURLResponse
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/PaginatedRESTClient/Sources/PaginatedRESTClient/SameOriginRedirectDelegate.swift:267: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;36m265 |[0;0m func urlSession(
[0;36m266 |[0;0m _ session: URLSession,
[0;36m267 |[0;0m 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;36m268 |[0;0m didReceiveInformationalResponse response: HTTPURLResponse
[0;36m269 |[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/PaginatedRESTClient/Sources/PaginatedRESTClient/SameOriginRedirectDelegate.swift:268:51: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m266 |[0;0m _ session: URLSession,
[0;36m267 |[0;0m task: URLSessionTask,
[0;36m268 |[0;0m didReceiveInformationalResponse response: [4;39mHTTPURLResponse[0;0m
[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;36m269 |[0;0m ) {
[0;36m270 |[0;0m forwardingDelegate?.urlSession?(session, task: task, didReceiveInformationalResponse: response)
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/PaginatedRESTClient/Sources/PaginatedRESTClient/SameOriginRedirectDelegate.swift:279:36: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m277 |[0;0m }
[0;36m278 |[0;0m
[0;36m279 |[0;0m private func allows(_ request: [4;39mURLRequest[0;0m) -> Bool {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m280 |[0;0m guard let url = request.url,
[0;36m281 |[0;0m let components = URLComponents(url: url, resolvingAgainstBaseURL: false),
/host/spi-builder-workspace/.build/checkouts/PaginatedRESTClient/Sources/PaginatedRESTClient/SameOriginRedirectDelegate.swift:294:61: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m292 |[0;0m }
[0;36m293 |[0;0m
[0;36m294 |[0;0m private static func containsSensitiveHeaders(_ request: [4;39mURLRequest[0;0m) -> Bool {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m295 |[0;0m let sensitive = ["authorization", "cookie", "proxy-authorization"]
[0;36m296 |[0;0m return (request.allHTTPHeaderFields ?? [:]).keys.contains {
/host/spi-builder-workspace/.build/checkouts/PaginatedRESTClient/Sources/PaginatedRESTClient/URLSessionTransport.swift:21:5: [1;31merror: [1;39m'nonisolated' can not be applied to variable with non-'Sendable' type 'URLSession' (aka 'AnyObject')[0;0m
[0;36m19 |[0;0m /// configured session (custom timeouts or a stub `URLProtocol`) when you need one.
[0;36m20 |[0;0m public struct URLSessionTransport: RESTTransport {
[0;36m21 |[0;0m nonisolated let session: URLSession
[0;36m|[0;0m `- [1;31merror: [1;39m'nonisolated' can not be applied to variable with non-'Sendable' type 'URLSession' (aka 'AnyObject')[0;0m
[0;36m22 |[0;0m nonisolated let successResponseLimit: Int
[0;36m23 |[0;0m nonisolated let errorResponseLimit: Int
/host/spi-builder-workspace/.build/checkouts/PaginatedRESTClient/Sources/PaginatedRESTClient/URLSessionTransport.swift:21:30: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m19 |[0;0m /// configured session (custom timeouts or a stub `URLProtocol`) when you need one.
[0;36m20 |[0;0m public struct URLSessionTransport: RESTTransport {
[0;36m21 |[0;0m 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;36m22 |[0;0m nonisolated let successResponseLimit: Int
[0;36m23 |[0;0m nonisolated let errorResponseLimit: Int
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/PaginatedRESTClient/Sources/PaginatedRESTClient/URLSessionTransport.swift:28:18: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m26 |[0;0m // default transport without hopping to MainActor.
[0;36m27 |[0;0m public nonisolated init(
[0;36m28 |[0;0m session: [4;39mURLSession[0;0m = URLSession(configuration: .ephemeral),
[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;36m29 |[0;0m successResponseLimit: Int = 10 * 1024 * 1024,
[0;36m30 |[0;0m errorResponseLimit: Int = 64 * 1024
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/PaginatedRESTClient/Sources/PaginatedRESTClient/URLSessionTransport.swift:42:56: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m40 |[0;0m /// response path. Reject them before a request starts rather than failing after the
[0;36m41 |[0;0m /// system has accepted the transfer.
[0;36m42 |[0;0m public nonisolated static func supports(_ session: [4;39mURLSession[0;0m) -> Bool {
[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;36m43 |[0;0m #if os(Linux)
[0;36m44 |[0;0m true
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/PaginatedRESTClient/Sources/PaginatedRESTClient/URLSessionTransport.swift:128:17: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m126 |[0;0m from request: RESTRequest,
[0;36m127 |[0;0m bodyStreamFailureBox: FileBodyStreamFailureBox? = nil
[0;36m128 |[0;0m ) throws -> [4;39mURLRequest[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m129 |[0;0m try request.validate()
[0;36m130 |[0;0m var urlRequest = URLRequest(url: request.url)
/host/spi-builder-workspace/.build/checkouts/PaginatedRESTClient/Sources/PaginatedRESTClient/URLSessionTransport.swift:145:20: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m143 |[0;0m
[0;36m144 |[0;0m private nonisolated static func requiresSameOrigin(
[0;36m145 |[0;0m _ request: [4;39mURLRequest[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m146 |[0;0m bodyFileURL: URL?
[0;36m147 |[0;0m ) -> Bool {
/host/spi-builder-workspace/.build/checkouts/PaginatedRESTClient/Sources/PaginatedRESTClient/URLSessionTransport.swift:159:30: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m157 |[0;0m private nonisolated static func attachFileBody(
[0;36m158 |[0;0m _ bodyFileURL: URL,
[0;36m159 |[0;0m to urlRequest: inout [4;39mURLRequest[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m160 |[0;0m failureBox: FileBodyStreamFailureBox? = nil
[0;36m161 |[0;0m ) throws {
/host/spi-builder-workspace/.build/checkouts/PaginatedRESTClient/Sources/PaginatedRESTClient/URLSessionTransport.swift:211:60: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m209 |[0;0m /// values (such as NSArray), which can add quotes and brackets not present on the wire.
[0;36m210 |[0;0m /// Package-visible so the Linux bounded loader can reuse the same header projection.
[0;36m211 |[0;0m nonisolated static func responseHeaders(from response: [4;39mHTTPURLResponse[0;0m) -> [String: String] {
[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;36m212 |[0;0m response.allHeaderFields.reduce(into: [String: String]()) { result, field in
[0;36m213 |[0;0m guard let name = field.key as? String,
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/PaginatedRESTClient/Sources/PaginatedRESTClient/URLSessionTransport.swift:322:34: [1;31merror: [1;39mcannot find type 'URLSessionDelegate' in scope[0;0m
[0;36m320 |[0;0m requiresSameOrigin: Bool = true,
[0;36m321 |[0;0m retainingSuccessBody: Bool = true,
[0;36m322 |[0;0m forwardingDelegate: (any [4;39mURLSessionDelegate[0;0m)?
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionDelegate' in scope[0;0m
[0;36m323 |[0;0m ) {
[0;36m324 |[0;0m self.successResponseLimit = successResponseLimit
/host/spi-builder-workspace/.build/checkouts/PaginatedRESTClient/Sources/PaginatedRESTClient/URLSessionTransport.swift:276:48: [1;31merror: [1;39mcannot find type 'URLSessionDataDelegate' in scope[0;0m
[0;36m274 |[0;0m }
[0;36m275 |[0;0m
[0;36m276 |[0;0m final class BoundedURLSessionLoader: NSObject, [4;39mURLSessionDataDelegate[0;0m, @unchecked Sendable {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionDataDelegate' in scope[0;0m
[0;36m277 |[0;0m private struct State {
[0;36m278 |[0;0m var continuation: CheckedContinuation<RESTResponse, any Error>?
/host/spi-builder-workspace/.build/checkouts/PaginatedRESTClient/Sources/PaginatedRESTClient/URLSessionTransport.swift:282:27: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m280 |[0;0m /// task-specific delegates, so Linux creates a one-shot session with `self`
[0;36m281 |[0;0m /// as the session delegate and finishes it when the transfer ends.
[0;36m282 |[0;0m var ownedSession: [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;36m283 |[0;0m var task: URLSessionDataTask?
[0;36m284 |[0;0m var response: HTTPURLResponse?
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/PaginatedRESTClient/Sources/PaginatedRESTClient/URLSessionTransport.swift:283:19: [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m281 |[0;0m /// as the session delegate and finishes it when the transfer ends.
[0;36m282 |[0;0m var ownedSession: URLSession?
[0;36m283 |[0;0m var task: [4;39mURLSessionDataTask[0;0m?
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m284 |[0;0m var response: HTTPURLResponse?
[0;36m285 |[0;0m var data = Data()
Foundation.URLSessionDataTask:2:18: [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionDataTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/PaginatedRESTClient/Sources/PaginatedRESTClient/URLSessionTransport.swift:284:23: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m282 |[0;0m var ownedSession: URLSession?
[0;36m283 |[0;0m var task: URLSessionDataTask?
[0;36m284 |[0;0m var response: [4;39mHTTPURLResponse[0;0m?
[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;36m285 |[0;0m var data = Data()
[0;36m286 |[0;0m var limit = 0
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/PaginatedRESTClient/Sources/PaginatedRESTClient/URLSessionTransport.swift:294:19: [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m292 |[0;0m private struct CancellationResources {
[0;36m293 |[0;0m let continuation: CheckedContinuation<RESTResponse, any Error>?
[0;36m294 |[0;0m let task: [4;39mURLSessionDataTask[0;0m?
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m295 |[0;0m let ownedSession: URLSession?
[0;36m296 |[0;0m }
Foundation.URLSessionDataTask:2:18: [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionDataTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/PaginatedRESTClient/Sources/PaginatedRESTClient/URLSessionTransport.swift:295:27: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m293 |[0;0m let continuation: CheckedContinuation<RESTResponse, any Error>?
[0;36m294 |[0;0m let task: URLSessionDataTask?
[0;36m295 |[0;0m let ownedSession: [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;36m296 |[0;0m }
[0;36m297 |[0;0m
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/PaginatedRESTClient/Sources/PaginatedRESTClient/URLSessionTransport.swift:310:42: [1;31merror: [1;39mcannot find type 'URLSessionDelegate' in scope[0;0m
[0;36m308 |[0;0m private let redirectDelegate: SameOriginRedirectDelegate
[0;36m309 |[0;0m private let retainingSuccessBody: Bool
[0;36m310 |[0;0m private let forwardingDelegate: (any [4;39mURLSessionDelegate[0;0m)?
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionDelegate' in scope[0;0m
[0;36m311 |[0;0m private let bodyFileURL: URL?
[0;36m312 |[0;0m private let bodyStreamFailureBox: FileBodyStreamFailureBox?
/host/spi-builder-workspace/.build/checkouts/PaginatedRESTClient/Sources/PaginatedRESTClient/URLSessionTransport.swift:346:48: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m344 |[0;0m /// the loader creates a one-shot session from the caller's configuration and owns
[0;36m345 |[0;0m /// that session for the duration of the transfer.
[0;36m346 |[0;0m func load(on session: URLSession, request: [4;39mURLRequest[0;0m) async throws -> RESTResponse {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m347 |[0;0m try await withTaskCancellationHandler {
[0;36m348 |[0;0m try await withCheckedThrowingContinuation { continuation in
/host/spi-builder-workspace/.build/checkouts/PaginatedRESTClient/Sources/PaginatedRESTClient/URLSessionTransport.swift:346:27: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m344 |[0;0m /// the loader creates a one-shot session from the caller's configuration and owns
[0;36m345 |[0;0m /// that session for the duration of the transfer.
[0;36m346 |[0;0m func load(on session: [4;39mURLSession[0;0m, request: URLRequest) async throws -> RESTResponse {
[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;36m347 |[0;0m try await withTaskCancellationHandler {
[0;36m348 |[0;0m try await withCheckedThrowingContinuation { 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/PaginatedRESTClient/Sources/PaginatedRESTClient/URLSessionTransport.swift:390:21: [1;31merror: [1;39m'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')[0;0m
[0;36m388 |[0;0m nonisolated static func constrainedResponseDisposition(
[0;36m389 |[0;0m _ disposition: URLSession.ResponseDisposition
[0;36m390 |[0;0m ) -> [4;39mURLSession[0;0m.ResponseDisposition {
[0;36m|[0;0m `- [1;31merror: [1;39m'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')[0;0m
[0;36m391 |[0;0m disposition == .cancel ? .cancel : .allow
[0;36m392 |[0;0m }
/host/spi-builder-workspace/.build/checkouts/PaginatedRESTClient/Sources/PaginatedRESTClient/URLSessionTransport.swift:389:35: [1;31merror: [1;39m'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')[0;0m
[0;36m387 |[0;0m /// `.allow` so a `RESTResponse` can still be produced.
[0;36m388 |[0;0m nonisolated static func constrainedResponseDisposition(
[0;36m389 |[0;0m _ disposition: [4;39mURLSession[0;0m.ResponseDisposition
[0;36m|[0;0m `- [1;31merror: [1;39m'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')[0;0m
[0;36m390 |[0;0m ) -> URLSession.ResponseDisposition {
[0;36m391 |[0;0m disposition == .cancel ? .cancel : .allow
/host/spi-builder-workspace/.build/checkouts/PaginatedRESTClient/Sources/PaginatedRESTClient/URLSessionTransport.swift:398:60: [1;31merror: [1;39m'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')[0;0m
[0;36m396 |[0;0m dataTask: URLSessionDataTask,
[0;36m397 |[0;0m didReceive response: URLResponse,
[0;36m398 |[0;0m completionHandler: @escaping @Sendable ([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;36m399 |[0;0m ) {
[0;36m400 |[0;0m guard let http = response as? HTTPURLResponse else {
/host/spi-builder-workspace/.build/checkouts/PaginatedRESTClient/Sources/PaginatedRESTClient/URLSessionTransport.swift:395:20: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m393 |[0;0m
[0;36m394 |[0;0m func urlSession(
[0;36m395 |[0;0m _ 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;36m396 |[0;0m dataTask: URLSessionDataTask,
[0;36m397 |[0;0m didReceive response: URLResponse,
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/PaginatedRESTClient/Sources/PaginatedRESTClient/URLSessionTransport.swift:396:19: [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m394 |[0;0m func urlSession(
[0;36m395 |[0;0m _ session: URLSession,
[0;36m396 |[0;0m dataTask: [4;39mURLSessionDataTask[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m397 |[0;0m didReceive response: URLResponse,
[0;36m398 |[0;0m completionHandler: @escaping @Sendable (URLSession.ResponseDisposition) -> Void
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/PaginatedRESTClient/Sources/PaginatedRESTClient/URLSessionTransport.swift:397:30: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m395 |[0;0m _ session: URLSession,
[0;36m396 |[0;0m dataTask: URLSessionDataTask,
[0;36m397 |[0;0m didReceive 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;36m398 |[0;0m completionHandler: @escaping @Sendable (URLSession.ResponseDisposition) -> Void
[0;36m399 |[0;0m ) {
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/PaginatedRESTClient/Sources/PaginatedRESTClient/URLSessionTransport.swift:456: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;36m454 |[0;0m }
[0;36m455 |[0;0m
[0;36m456 |[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;36m457 |[0;0m let shouldRetain = lock.withLock { state.retainBody }
[0;36m458 |[0;0m guard shouldRetain else {
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/PaginatedRESTClient/Sources/PaginatedRESTClient/URLSessionTransport.swift:456: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;36m454 |[0;0m }
[0;36m455 |[0;0m
[0;36m456 |[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;36m457 |[0;0m let shouldRetain = lock.withLock { state.retainBody }
[0;36m458 |[0;0m guard shouldRetain else {
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/PaginatedRESTClient/Sources/PaginatedRESTClient/URLSessionTransport.swift:488: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;36m486 |[0;0m }
[0;36m487 |[0;0m
[0;36m488 |[0;0m func urlSession(_ session: [4;39mURLSession[0;0m, task: URLSessionTask, didCompleteWithError error: (any 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;36m489 |[0;0m #if canImport(FoundationNetworking)
[0;36m490 |[0;0m (forwardingDelegate as? any URLSessionTaskDelegate)?
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/PaginatedRESTClient/Sources/PaginatedRESTClient/URLSessionTransport.swift:488: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;36m486 |[0;0m }
[0;36m487 |[0;0m
[0;36m488 |[0;0m func urlSession(_ session: URLSession, task: [4;39mURLSessionTask[0;0m, didCompleteWithError error: (any 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;36m489 |[0;0m #if canImport(FoundationNetworking)
[0;36m490 |[0;0m (forwardingDelegate as? any URLSessionTaskDelegate)?
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/PaginatedRESTClient/Sources/PaginatedRESTClient/URLSessionTransport.swift:523:20: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m521 |[0;0m
[0;36m522 |[0;0m private func forwardDidReceiveData(
[0;36m523 |[0;0m _ 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;36m524 |[0;0m dataTask: URLSessionDataTask,
[0;36m525 |[0;0m data: Data
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/PaginatedRESTClient/Sources/PaginatedRESTClient/URLSessionTransport.swift:524:19: [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m522 |[0;0m private func forwardDidReceiveData(
[0;36m523 |[0;0m _ session: URLSession,
[0;36m524 |[0;0m dataTask: [4;39mURLSessionDataTask[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m525 |[0;0m data: Data
[0;36m526 |[0;0m ) {
Foundation.URLSessionDataTask:2:18: [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionDataTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/PaginatedRESTClient/Sources/PaginatedRESTClient/URLSessionTransport.swift:581:60: [1;31merror: [1;39m'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')[0;0m
[0;36m579 |[0;0m _ session: URLSession,
[0;36m580 |[0;0m didReceive challenge: URLAuthenticationChallenge,
[0;36m581 |[0;0m completionHandler: @escaping @Sendable ([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;36m582 |[0;0m ) {
[0;36m583 |[0;0m redirectDelegate.urlSession(session, didReceive: challenge, completionHandler: completionHandler)
/host/spi-builder-workspace/.build/checkouts/PaginatedRESTClient/Sources/PaginatedRESTClient/URLSessionTransport.swift:579:20: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m577 |[0;0m
[0;36m578 |[0;0m func urlSession(
[0;36m579 |[0;0m _ 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;36m580 |[0;0m didReceive challenge: URLAuthenticationChallenge,
[0;36m581 |[0;0m completionHandler: @escaping @Sendable (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
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/PaginatedRESTClient/Sources/PaginatedRESTClient/URLSessionTransport.swift:580:31: [1;31merror: [1;39m'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m578 |[0;0m func urlSession(
[0;36m579 |[0;0m _ session: URLSession,
[0;36m580 |[0;0m didReceive challenge: [4;39mURLAuthenticationChallenge[0;0m,
[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;36m581 |[0;0m completionHandler: @escaping @Sendable (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
[0;36m582 |[0;0m ) {
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/PaginatedRESTClient/Sources/PaginatedRESTClient/URLSessionTransport.swift:590:29: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m588 |[0;0m task: URLSessionTask,
[0;36m589 |[0;0m willPerformHTTPRedirection response: HTTPURLResponse,
[0;36m590 |[0;0m newRequest request: [4;39mURLRequest[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m591 |[0;0m completionHandler: @escaping @Sendable (URLRequest?) -> Void
[0;36m592 |[0;0m ) {
/host/spi-builder-workspace/.build/checkouts/PaginatedRESTClient/Sources/PaginatedRESTClient/URLSessionTransport.swift:591:49: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m589 |[0;0m willPerformHTTPRedirection response: HTTPURLResponse,
[0;36m590 |[0;0m newRequest request: URLRequest,
[0;36m591 |[0;0m completionHandler: @escaping @Sendable ([4;39mURLRequest[0;0m?) -> Void
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m592 |[0;0m ) {
[0;36m593 |[0;0m redirectDelegate.urlSession(
/host/spi-builder-workspace/.build/checkouts/PaginatedRESTClient/Sources/PaginatedRESTClient/URLSessionTransport.swift:587:20: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m585 |[0;0m
[0;36m586 |[0;0m func urlSession(
[0;36m587 |[0;0m _ 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;36m588 |[0;0m task: URLSessionTask,
[0;36m589 |[0;0m willPerformHTTPRedirection response: HTTPURLResponse,
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/PaginatedRESTClient/Sources/PaginatedRESTClient/URLSessionTransport.swift:588: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;36m586 |[0;0m func urlSession(
[0;36m587 |[0;0m _ session: URLSession,
[0;36m588 |[0;0m 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;36m589 |[0;0m willPerformHTTPRedirection response: HTTPURLResponse,
[0;36m590 |[0;0m newRequest request: URLRequest,
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/PaginatedRESTClient/Sources/PaginatedRESTClient/URLSessionTransport.swift:589:46: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m587 |[0;0m _ session: URLSession,
[0;36m588 |[0;0m task: URLSessionTask,
[0;36m589 |[0;0m willPerformHTTPRedirection response: [4;39mHTTPURLResponse[0;0m,
[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;36m590 |[0;0m newRequest request: URLRequest,
[0;36m591 |[0;0m completionHandler: @escaping @Sendable (URLRequest?) -> Void
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/PaginatedRESTClient/Sources/PaginatedRESTClient/URLSessionTransport.swift:606:60: [1;31merror: [1;39m'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')[0;0m
[0;36m604 |[0;0m task: URLSessionTask,
[0;36m605 |[0;0m didReceive challenge: URLAuthenticationChallenge,
[0;36m606 |[0;0m completionHandler: @escaping @Sendable ([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;36m607 |[0;0m ) {
[0;36m608 |[0;0m redirectDelegate.urlSession(
/host/spi-builder-workspace/.build/checkouts/PaginatedRESTClient/Sources/PaginatedRESTClient/URLSessionTransport.swift:603:20: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m601 |[0;0m
[0;36m602 |[0;0m func urlSession(
[0;36m603 |[0;0m _ 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;36m604 |[0;0m task: URLSessionTask,
[0;36m605 |[0;0m didReceive challenge: URLAuthenticationChallenge,
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/PaginatedRESTClient/Sources/PaginatedRESTClient/URLSessionTransport.swift:604: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;36m602 |[0;0m func urlSession(
[0;36m603 |[0;0m _ session: URLSession,
[0;36m604 |[0;0m 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;36m605 |[0;0m didReceive challenge: URLAuthenticationChallenge,
[0;36m606 |[0;0m completionHandler: @escaping @Sendable (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
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/PaginatedRESTClient/Sources/PaginatedRESTClient/URLSessionTransport.swift:605:31: [1;31merror: [1;39m'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m603 |[0;0m _ session: URLSession,
[0;36m604 |[0;0m task: URLSessionTask,
[0;36m605 |[0;0m didReceive challenge: [4;39mURLAuthenticationChallenge[0;0m,
[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;36m606 |[0;0m completionHandler: @escaping @Sendable (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
[0;36m607 |[0;0m ) {
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/PaginatedRESTClient/Sources/PaginatedRESTClient/URLSessionTransport.swift:617:20: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m615 |[0;0m
[0;36m616 |[0;0m func urlSession(
[0;36m617 |[0;0m _ 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;36m618 |[0;0m task: URLSessionTask,
[0;36m619 |[0;0m needNewBodyStream completionHandler: @escaping @Sendable (InputStream?) -> Void
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/PaginatedRESTClient/Sources/PaginatedRESTClient/URLSessionTransport.swift:618: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;36m616 |[0;0m func urlSession(
[0;36m617 |[0;0m _ session: URLSession,
[0;36m618 |[0;0m 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;36m619 |[0;0m needNewBodyStream completionHandler: @escaping @Sendable (InputStream?) -> Void
[0;36m620 |[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/PaginatedRESTClient/Sources/PaginatedRESTClient/URLSessionTransport.swift:629:20: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m627 |[0;0m
[0;36m628 |[0;0m func urlSession(
[0;36m629 |[0;0m _ 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;36m630 |[0;0m task: URLSessionTask,
[0;36m631 |[0;0m didSendBodyData bytesSent: Int64,
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/PaginatedRESTClient/Sources/PaginatedRESTClient/URLSessionTransport.swift:630: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;36m628 |[0;0m func urlSession(
[0;36m629 |[0;0m _ session: URLSession,
[0;36m630 |[0;0m 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;36m631 |[0;0m didSendBodyData bytesSent: Int64,
[0;36m632 |[0;0m totalBytesSent: Int64,
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/PaginatedRESTClient/Sources/PaginatedRESTClient/URLSessionTransport.swift:647:42: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m645 |[0;0m _ session: URLSession,
[0;36m646 |[0;0m task: URLSessionTask,
[0;36m647 |[0;0m willBeginDelayedRequest request: [4;39mURLRequest[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m648 |[0;0m completionHandler: @escaping @Sendable (URLSession.DelayedRequestDisposition, URLRequest?) -> Void
[0;36m649 |[0;0m ) {
/host/spi-builder-workspace/.build/checkouts/PaginatedRESTClient/Sources/PaginatedRESTClient/URLSessionTransport.swift:648:60: [1;31merror: [1;39m'DelayedRequestDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')[0;0m
[0;36m646 |[0;0m task: URLSessionTask,
[0;36m647 |[0;0m willBeginDelayedRequest request: URLRequest,
[0;36m648 |[0;0m completionHandler: @escaping @Sendable ([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;36m649 |[0;0m ) {
[0;36m650 |[0;0m redirectDelegate.urlSession(
/host/spi-builder-workspace/.build/checkouts/PaginatedRESTClient/Sources/PaginatedRESTClient/URLSessionTransport.swift:648:87: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m646 |[0;0m task: URLSessionTask,
[0;36m647 |[0;0m willBeginDelayedRequest request: URLRequest,
[0;36m648 |[0;0m completionHandler: @escaping @Sendable (URLSession.DelayedRequestDisposition, [4;39mURLRequest[0;0m?) -> Void
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m649 |[0;0m ) {
[0;36m650 |[0;0m redirectDelegate.urlSession(
/host/spi-builder-workspace/.build/checkouts/PaginatedRESTClient/Sources/PaginatedRESTClient/URLSessionTransport.swift:645:20: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m643 |[0;0m
[0;36m644 |[0;0m func urlSession(
[0;36m645 |[0;0m _ 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;36m646 |[0;0m task: URLSessionTask,
[0;36m647 |[0;0m willBeginDelayedRequest request: URLRequest,
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/PaginatedRESTClient/Sources/PaginatedRESTClient/URLSessionTransport.swift:646: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;36m644 |[0;0m func urlSession(
[0;36m645 |[0;0m _ session: URLSession,
[0;36m646 |[0;0m 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;36m647 |[0;0m willBeginDelayedRequest request: URLRequest,
[0;36m648 |[0;0m completionHandler: @escaping @Sendable (URLSession.DelayedRequestDisposition, URLRequest?) -> Void
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/PaginatedRESTClient/Sources/PaginatedRESTClient/URLSessionTransport.swift:658:95: [1;31merror: [1;39mcannot find type 'URLSessionTaskMetrics' in scope[0;0m
[0;36m656 |[0;0m }
[0;36m657 |[0;0m
[0;36m658 |[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;36m659 |[0;0m redirectDelegate.urlSession(session, task: task, didFinishCollecting: metrics)
[0;36m660 |[0;0m }
/host/spi-builder-workspace/.build/checkouts/PaginatedRESTClient/Sources/PaginatedRESTClient/URLSessionTransport.swift:658: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;36m656 |[0;0m }
[0;36m657 |[0;0m
[0;36m658 |[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;36m659 |[0;0m redirectDelegate.urlSession(session, task: task, didFinishCollecting: metrics)
[0;36m660 |[0;0m }
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/PaginatedRESTClient/Sources/PaginatedRESTClient/URLSessionTransport.swift:658: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;36m656 |[0;0m }
[0;36m657 |[0;0m
[0;36m658 |[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;36m659 |[0;0m redirectDelegate.urlSession(session, task: task, didFinishCollecting: metrics)
[0;36m660 |[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/PaginatedRESTClient/Sources/PaginatedRESTClient/URLSessionTransport.swift:663: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;36m661 |[0;0m
[0;36m662 |[0;0m #if !canImport(FoundationNetworking)
[0;36m663 |[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;36m664 |[0;0m redirectDelegate.urlSession(session, taskIsWaitingForConnectivity: task)
[0;36m665 |[0;0m }
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/PaginatedRESTClient/Sources/PaginatedRESTClient/URLSessionTransport.swift:663: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;36m661 |[0;0m
[0;36m662 |[0;0m #if !canImport(FoundationNetworking)
[0;36m663 |[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;36m664 |[0;0m redirectDelegate.urlSession(session, taskIsWaitingForConnectivity: task)
[0;36m665 |[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/PaginatedRESTClient/Sources/PaginatedRESTClient/URLSessionTransport.swift:669:20: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m667 |[0;0m @available(macOS 14.0, iOS 17.0, tvOS 17.0, watchOS 10.0, *)
[0;36m668 |[0;0m func urlSession(
[0;36m669 |[0;0m _ 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;36m670 |[0;0m task: URLSessionTask,
[0;36m671 |[0;0m didReceiveInformationalResponse response: HTTPURLResponse
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/PaginatedRESTClient/Sources/PaginatedRESTClient/URLSessionTransport.swift:670: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;36m668 |[0;0m func urlSession(
[0;36m669 |[0;0m _ session: URLSession,
[0;36m670 |[0;0m 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;36m671 |[0;0m didReceiveInformationalResponse response: HTTPURLResponse
[0;36m672 |[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/PaginatedRESTClient/Sources/PaginatedRESTClient/URLSessionTransport.swift:671:51: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m669 |[0;0m _ session: URLSession,
[0;36m670 |[0;0m task: URLSessionTask,
[0;36m671 |[0;0m didReceiveInformationalResponse response: [4;39mHTTPURLResponse[0;0m
[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;36m672 |[0;0m ) {
[0;36m673 |[0;0m redirectDelegate.urlSession(session, task: task, didReceiveInformationalResponse: response)
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/PaginatedRESTClient/Sources/PaginatedRESTClient/URLSessionTransport.swift:678:20: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m676 |[0;0m
[0;36m677 |[0;0m func urlSession(
[0;36m678 |[0;0m _ 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;36m679 |[0;0m dataTask: URLSessionDataTask,
[0;36m680 |[0;0m willCacheResponse proposedResponse: CachedURLResponse,
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/PaginatedRESTClient/Sources/PaginatedRESTClient/URLSessionTransport.swift:679:19: [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m677 |[0;0m func urlSession(
[0;36m678 |[0;0m _ session: URLSession,
[0;36m679 |[0;0m dataTask: [4;39mURLSessionDataTask[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m680 |[0;0m willCacheResponse proposedResponse: CachedURLResponse,
[0;36m681 |[0;0m completionHandler: @escaping @Sendable (CachedURLResponse?) -> Void
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/PaginatedRESTClient/Sources/PaginatedRESTClient/URLSessionTransport.swift:680:45: [1;31merror: [1;39m'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m678 |[0;0m _ session: URLSession,
[0;36m679 |[0;0m dataTask: URLSessionDataTask,
[0;36m680 |[0;0m willCacheResponse proposedResponse: [4;39mCachedURLResponse[0;0m,
[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;36m681 |[0;0m completionHandler: @escaping @Sendable (CachedURLResponse?) -> Void
[0;36m682 |[0;0m ) {
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/PaginatedRESTClient/Sources/PaginatedRESTClient/URLSessionTransport.swift:681:49: [1;31merror: [1;39m'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m679 |[0;0m dataTask: URLSessionDataTask,
[0;36m680 |[0;0m willCacheResponse proposedResponse: CachedURLResponse,
[0;36m681 |[0;0m completionHandler: @escaping @Sendable ([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;36m682 |[0;0m ) {
[0;36m683 |[0;0m guard let delegate = forwardingDelegate as? any URLSessionDataDelegate else {
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
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/.build/checkouts/PaginatedRESTClient/Sources/PaginatedRESTClient/PaginatedRESTClient.swift /host/spi-builder-workspace/.build/checkouts/PaginatedRESTClient/Sources/PaginatedRESTClient/RESTTransport.swift /host/spi-builder-workspace/.build/checkouts/PaginatedRESTClient/Sources/PaginatedRESTClient/SameOriginRedirectDelegate.swift /host/spi-builder-workspace/.build/checkouts/PaginatedRESTClient/Sources/PaginatedRESTClient/URLSessionTransport.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 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-upcoming-feature NonisolatedNonsendingByDefault -enable-upcoming-feature InferIsolatedConformances -enable-experimental-feature DebugDescriptionMacro -default-isolation MainActor -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -user-module-version 0.5.0 -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/PaginatedRESTClient.build/Debug-webassembly-wasm32/PaginatedRESTClient-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/PaginatedRESTClient.build/Debug-webassembly-wasm32/PaginatedRESTClient-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/PaginatedRESTClient.build/Debug-webassembly-wasm32/PaginatedRESTClient-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name PaginatedRESTClient -package-name paginatedrestclient -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/PaginatedRESTClient.build/Debug-webassembly-wasm32/PaginatedRESTClient-t.build/Objects-normal/wasm32/PaginatedRESTClient_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/PaginatedRESTClient.build/Debug-webassembly-wasm32/PaginatedRESTClient-t.build/Objects-normal/wasm32/Modules/PaginatedRESTClient.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/PaginatedRESTClient.build/Debug-webassembly-wasm32/PaginatedRESTClient-t.build/Objects-normal/wasm32/Modules/PaginatedRESTClient.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/PaginatedRESTClient.build/Debug-webassembly-wasm32/PaginatedRESTClient-t.build/Objects-normal/wasm32/PaginatedRESTClient-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/PaginatedRESTClient.build/Debug-webassembly-wasm32/PaginatedRESTClient-t.build/Objects-normal/wasm32/PaginatedRESTClient-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/PaginatedRESTClient.build/Debug-webassembly-wasm32/PaginatedRESTClient-t.build/Objects-normal/wasm32/PaginatedRESTClient-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/PaginatedRESTClient.build/Debug-webassembly-wasm32/PaginatedRESTClient-t.build/Objects-normal/wasm32/Modules/PaginatedRESTClient.swiftmodule
error: Build failed
BUILD FAILURE 6.4 wasm