The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Prch, reference 0.2.1 (600b49), with Swift 6.3 for Wasm on 13 Apr 2026 05:12:35 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/brightdigit/Prch.git
Reference: 0.2.1
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/brightdigit/Prch
 * tag               0.2.1      -> FETCH_HEAD
HEAD is now at 600b49c Version 0.2.1
Cloned https://github.com/brightdigit/Prch.git
Revision (git rev-parse @):
600b49cc7a77271ea3d2a9f9e449be081562a087
SUCCESS checkout https://github.com/brightdigit/Prch.git at 0.2.1
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/brightdigit/Prch.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/44] Emitting module Prch
/host/spi-builder-workspace/Sources/Prch/Client.swift:76:33: error: cannot find type 'DispatchTime' in scope
74 |   func requestSync<RequestType: Request>(
75 |     _ request: RequestType,
76 |     timeout: @autoclosure () -> DispatchTime
   |                                 `- error: cannot find type 'DispatchTime' in scope
77 |   ) throws -> RequestType.ResponseType.SuccessType {
78 |     var result: ClientResponseResult<RequestType.ResponseType>!
/host/spi-builder-workspace/Sources/Prch/ClientError.swift:13:16: error: cannot find type 'DispatchTime' in scope
11 |   case badURL(URL, String)
12 |   case urlComponents(URLComponents)
13 |   case timeout(DispatchTime)
   |                `- error: cannot find type 'DispatchTime' in scope
14 |
15 |   public var name: String {
/host/spi-builder-workspace/Sources/Prch/Networking/Task.swift:9:1: error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended [#NominalTypes]
 7 | public protocol Task {}
 8 |
 9 | extension URLSessionDataTask: Task {}
   | `- error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended [#NominalTypes]
10 |
/host/spi-builder-workspace/Sources/Prch/Networking/URLSession.swift:7:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
 5 | #endif
 6 |
 7 | extension URLSession: Session {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
 8 |   #if compiler(>=5.5.2) && canImport(_Concurrency)
 9 |     @available(macOS, deprecated: 12.0)
/host/spi-builder-workspace/Sources/Prch/Networking/URLSessionResponse.swift:8:31: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 6 |
 7 | struct URLSessionResponse: ResponseComponents {
 8 |   init(data: Data?, response: URLResponse?) {
   |                               `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 9 |     self.data = data
10 |     self.response = response
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Prch/Networking/URLSessionResponse.swift:14:17: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |
13 |   let data: Data?
14 |   let response: URLResponse?
   |                 `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |
16 |   var statusCode: Int? {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Prch/Networking/URLSessionResponse.swift:21:17: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |
20 |   static func resultBasedOnResponse(
21 |     _ response: URLResponse?,
   |                 `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |     data: Data?,
23 |     error: Error?
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Prch/Networking/URLSessionResponse.swift:34:29: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 |
33 | extension URLSessionResponse {
34 |   init(_ components: (Data, URLResponse)) {
   |                             `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
35 |     self.init(data: components.0, response: components.1)
36 |   }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[4/49] Compiling Prch Response.swift
/host/spi-builder-workspace/Sources/Prch/ClientError.swift:13:16: error: cannot find type 'DispatchTime' in scope
11 |   case badURL(URL, String)
12 |   case urlComponents(URLComponents)
13 |   case timeout(DispatchTime)
   |                `- error: cannot find type 'DispatchTime' in scope
14 |
15 |   public var name: String {
[5/49] Compiling Prch ResponseResult.swift
/host/spi-builder-workspace/Sources/Prch/ClientError.swift:13:16: error: cannot find type 'DispatchTime' in scope
11 |   case badURL(URL, String)
12 |   case urlComponents(URLComponents)
13 |   case timeout(DispatchTime)
   |                `- error: cannot find type 'DispatchTime' in scope
14 |
15 |   public var name: String {
[6/49] Compiling Prch Result.swift
/host/spi-builder-workspace/Sources/Prch/ClientError.swift:13:16: error: cannot find type 'DispatchTime' in scope
11 |   case badURL(URL, String)
12 |   case urlComponents(URLComponents)
13 |   case timeout(DispatchTime)
   |                `- error: cannot find type 'DispatchTime' in scope
14 |
15 |   public var name: String {
[7/49] Compiling Prch Authentication.swift
/host/spi-builder-workspace/Sources/Prch/ClientError.swift:13:16: error: cannot find type 'DispatchTime' in scope
11 |   case badURL(URL, String)
12 |   case urlComponents(URLComponents)
13 |   case timeout(DispatchTime)
   |                `- error: cannot find type 'DispatchTime' in scope
14 |
15 |   public var name: String {
[8/49] Compiling Prch BasicAuthentication.swift
/host/spi-builder-workspace/Sources/Prch/ClientError.swift:13:16: error: cannot find type 'DispatchTime' in scope
11 |   case badURL(URL, String)
12 |   case urlComponents(URLComponents)
13 |   case timeout(DispatchTime)
   |                `- error: cannot find type 'DispatchTime' in scope
14 |
15 |   public var name: String {
[9/49] Compiling Prch BasicResponse.swift
/host/spi-builder-workspace/Sources/Prch/Client.swift:76:33: error: cannot find type 'DispatchTime' in scope
74 |   func requestSync<RequestType: Request>(
75 |     _ request: RequestType,
76 |     timeout: @autoclosure () -> DispatchTime
   |                                 `- error: cannot find type 'DispatchTime' in scope
77 |   ) throws -> RequestType.ResponseType.SuccessType {
78 |     var result: ClientResponseResult<RequestType.ResponseType>!
/host/spi-builder-workspace/Sources/Prch/Client.swift:71:46: error: extra argument 'timeout' in call
69 |     _ request: RequestType
70 |   ) throws -> RequestType.ResponseType.SuccessType {
71 |     try requestSync(request, timeout: .now() + 5.0)
   |                                              `- error: extra argument 'timeout' in call
72 |   }
73 |
/host/spi-builder-workspace/Sources/Prch/Client.swift:71:40: error: cannot call value of non-function type 'Date'
69 |     _ request: RequestType
70 |   ) throws -> RequestType.ResponseType.SuccessType {
71 |     try requestSync(request, timeout: .now() + 5.0)
   |                                        `- error: cannot call value of non-function type 'Date'
72 |   }
73 |
/host/spi-builder-workspace/Sources/Prch/Client.swift:79:21: error: cannot find 'DispatchSemaphore' in scope
77 |   ) throws -> RequestType.ResponseType.SuccessType {
78 |     var result: ClientResponseResult<RequestType.ResponseType>!
79 |     let semaphore = DispatchSemaphore(value: 0)
   |                     `- error: cannot find 'DispatchSemaphore' in scope
80 |     self.request(request) {
81 |       result = $0
/host/spi-builder-workspace/Sources/Prch/ClientError.swift:13:16: error: cannot find type 'DispatchTime' in scope
11 |   case badURL(URL, String)
12 |   case urlComponents(URLComponents)
13 |   case timeout(DispatchTime)
   |                `- error: cannot find type 'DispatchTime' in scope
14 |
15 |   public var name: String {
[10/49] Compiling Prch BodyRequest.swift
/host/spi-builder-workspace/Sources/Prch/Client.swift:76:33: error: cannot find type 'DispatchTime' in scope
74 |   func requestSync<RequestType: Request>(
75 |     _ request: RequestType,
76 |     timeout: @autoclosure () -> DispatchTime
   |                                 `- error: cannot find type 'DispatchTime' in scope
77 |   ) throws -> RequestType.ResponseType.SuccessType {
78 |     var result: ClientResponseResult<RequestType.ResponseType>!
/host/spi-builder-workspace/Sources/Prch/Client.swift:71:46: error: extra argument 'timeout' in call
69 |     _ request: RequestType
70 |   ) throws -> RequestType.ResponseType.SuccessType {
71 |     try requestSync(request, timeout: .now() + 5.0)
   |                                              `- error: extra argument 'timeout' in call
72 |   }
73 |
/host/spi-builder-workspace/Sources/Prch/Client.swift:71:40: error: cannot call value of non-function type 'Date'
69 |     _ request: RequestType
70 |   ) throws -> RequestType.ResponseType.SuccessType {
71 |     try requestSync(request, timeout: .now() + 5.0)
   |                                        `- error: cannot call value of non-function type 'Date'
72 |   }
73 |
/host/spi-builder-workspace/Sources/Prch/Client.swift:79:21: error: cannot find 'DispatchSemaphore' in scope
77 |   ) throws -> RequestType.ResponseType.SuccessType {
78 |     var result: ClientResponseResult<RequestType.ResponseType>!
79 |     let semaphore = DispatchSemaphore(value: 0)
   |                     `- error: cannot find 'DispatchSemaphore' in scope
80 |     self.request(request) {
81 |       result = $0
/host/spi-builder-workspace/Sources/Prch/ClientError.swift:13:16: error: cannot find type 'DispatchTime' in scope
11 |   case badURL(URL, String)
12 |   case urlComponents(URLComponents)
13 |   case timeout(DispatchTime)
   |                `- error: cannot find type 'DispatchTime' in scope
14 |
15 |   public var name: String {
[11/49] Compiling Prch Client.swift
/host/spi-builder-workspace/Sources/Prch/Client.swift:76:33: error: cannot find type 'DispatchTime' in scope
74 |   func requestSync<RequestType: Request>(
75 |     _ request: RequestType,
76 |     timeout: @autoclosure () -> DispatchTime
   |                                 `- error: cannot find type 'DispatchTime' in scope
77 |   ) throws -> RequestType.ResponseType.SuccessType {
78 |     var result: ClientResponseResult<RequestType.ResponseType>!
/host/spi-builder-workspace/Sources/Prch/Client.swift:71:46: error: extra argument 'timeout' in call
69 |     _ request: RequestType
70 |   ) throws -> RequestType.ResponseType.SuccessType {
71 |     try requestSync(request, timeout: .now() + 5.0)
   |                                              `- error: extra argument 'timeout' in call
72 |   }
73 |
/host/spi-builder-workspace/Sources/Prch/Client.swift:71:40: error: cannot call value of non-function type 'Date'
69 |     _ request: RequestType
70 |   ) throws -> RequestType.ResponseType.SuccessType {
71 |     try requestSync(request, timeout: .now() + 5.0)
   |                                        `- error: cannot call value of non-function type 'Date'
72 |   }
73 |
/host/spi-builder-workspace/Sources/Prch/Client.swift:79:21: error: cannot find 'DispatchSemaphore' in scope
77 |   ) throws -> RequestType.ResponseType.SuccessType {
78 |     var result: ClientResponseResult<RequestType.ResponseType>!
79 |     let semaphore = DispatchSemaphore(value: 0)
   |                     `- error: cannot find 'DispatchSemaphore' in scope
80 |     self.request(request) {
81 |       result = $0
/host/spi-builder-workspace/Sources/Prch/ClientError.swift:13:16: error: cannot find type 'DispatchTime' in scope
11 |   case badURL(URL, String)
12 |   case urlComponents(URLComponents)
13 |   case timeout(DispatchTime)
   |                `- error: cannot find type 'DispatchTime' in scope
14 |
15 |   public var name: String {
[12/49] Compiling Prch ClientError.swift
/host/spi-builder-workspace/Sources/Prch/Client.swift:76:33: error: cannot find type 'DispatchTime' in scope
74 |   func requestSync<RequestType: Request>(
75 |     _ request: RequestType,
76 |     timeout: @autoclosure () -> DispatchTime
   |                                 `- error: cannot find type 'DispatchTime' in scope
77 |   ) throws -> RequestType.ResponseType.SuccessType {
78 |     var result: ClientResponseResult<RequestType.ResponseType>!
/host/spi-builder-workspace/Sources/Prch/Client.swift:71:46: error: extra argument 'timeout' in call
69 |     _ request: RequestType
70 |   ) throws -> RequestType.ResponseType.SuccessType {
71 |     try requestSync(request, timeout: .now() + 5.0)
   |                                              `- error: extra argument 'timeout' in call
72 |   }
73 |
/host/spi-builder-workspace/Sources/Prch/Client.swift:71:40: error: cannot call value of non-function type 'Date'
69 |     _ request: RequestType
70 |   ) throws -> RequestType.ResponseType.SuccessType {
71 |     try requestSync(request, timeout: .now() + 5.0)
   |                                        `- error: cannot call value of non-function type 'Date'
72 |   }
73 |
/host/spi-builder-workspace/Sources/Prch/Client.swift:79:21: error: cannot find 'DispatchSemaphore' in scope
77 |   ) throws -> RequestType.ResponseType.SuccessType {
78 |     var result: ClientResponseResult<RequestType.ResponseType>!
79 |     let semaphore = DispatchSemaphore(value: 0)
   |                     `- error: cannot find 'DispatchSemaphore' in scope
80 |     self.request(request) {
81 |       result = $0
/host/spi-builder-workspace/Sources/Prch/ClientError.swift:13:16: error: cannot find type 'DispatchTime' in scope
11 |   case badURL(URL, String)
12 |   case urlComponents(URLComponents)
13 |   case timeout(DispatchTime)
   |                `- error: cannot find type 'DispatchTime' in scope
14 |
15 |   public var name: String {
[13/49] Compiling Prch ClientResult.swift
/host/spi-builder-workspace/Sources/Prch/Client.swift:76:33: error: cannot find type 'DispatchTime' in scope
74 |   func requestSync<RequestType: Request>(
75 |     _ request: RequestType,
76 |     timeout: @autoclosure () -> DispatchTime
   |                                 `- error: cannot find type 'DispatchTime' in scope
77 |   ) throws -> RequestType.ResponseType.SuccessType {
78 |     var result: ClientResponseResult<RequestType.ResponseType>!
/host/spi-builder-workspace/Sources/Prch/Client.swift:71:46: error: extra argument 'timeout' in call
69 |     _ request: RequestType
70 |   ) throws -> RequestType.ResponseType.SuccessType {
71 |     try requestSync(request, timeout: .now() + 5.0)
   |                                              `- error: extra argument 'timeout' in call
72 |   }
73 |
/host/spi-builder-workspace/Sources/Prch/Client.swift:71:40: error: cannot call value of non-function type 'Date'
69 |     _ request: RequestType
70 |   ) throws -> RequestType.ResponseType.SuccessType {
71 |     try requestSync(request, timeout: .now() + 5.0)
   |                                        `- error: cannot call value of non-function type 'Date'
72 |   }
73 |
/host/spi-builder-workspace/Sources/Prch/Client.swift:79:21: error: cannot find 'DispatchSemaphore' in scope
77 |   ) throws -> RequestType.ResponseType.SuccessType {
78 |     var result: ClientResponseResult<RequestType.ResponseType>!
79 |     let semaphore = DispatchSemaphore(value: 0)
   |                     `- error: cannot find 'DispatchSemaphore' in scope
80 |     self.request(request) {
81 |       result = $0
/host/spi-builder-workspace/Sources/Prch/ClientError.swift:13:16: error: cannot find type 'DispatchTime' in scope
11 |   case badURL(URL, String)
12 |   case urlComponents(URLComponents)
13 |   case timeout(DispatchTime)
   |                `- error: cannot find type 'DispatchTime' in scope
14 |
15 |   public var name: String {
[14/49] Compiling Prch Coding.swift
/host/spi-builder-workspace/Sources/Prch/Client.swift:76:33: error: cannot find type 'DispatchTime' in scope
74 |   func requestSync<RequestType: Request>(
75 |     _ request: RequestType,
76 |     timeout: @autoclosure () -> DispatchTime
   |                                 `- error: cannot find type 'DispatchTime' in scope
77 |   ) throws -> RequestType.ResponseType.SuccessType {
78 |     var result: ClientResponseResult<RequestType.ResponseType>!
/host/spi-builder-workspace/Sources/Prch/Client.swift:71:46: error: extra argument 'timeout' in call
69 |     _ request: RequestType
70 |   ) throws -> RequestType.ResponseType.SuccessType {
71 |     try requestSync(request, timeout: .now() + 5.0)
   |                                              `- error: extra argument 'timeout' in call
72 |   }
73 |
/host/spi-builder-workspace/Sources/Prch/Client.swift:71:40: error: cannot call value of non-function type 'Date'
69 |     _ request: RequestType
70 |   ) throws -> RequestType.ResponseType.SuccessType {
71 |     try requestSync(request, timeout: .now() + 5.0)
   |                                        `- error: cannot call value of non-function type 'Date'
72 |   }
73 |
/host/spi-builder-workspace/Sources/Prch/Client.swift:79:21: error: cannot find 'DispatchSemaphore' in scope
77 |   ) throws -> RequestType.ResponseType.SuccessType {
78 |     var result: ClientResponseResult<RequestType.ResponseType>!
79 |     let semaphore = DispatchSemaphore(value: 0)
   |                     `- error: cannot find 'DispatchSemaphore' in scope
80 |     self.request(request) {
81 |       result = $0
/host/spi-builder-workspace/Sources/Prch/ClientError.swift:13:16: error: cannot find type 'DispatchTime' in scope
11 |   case badURL(URL, String)
12 |   case urlComponents(URLComponents)
13 |   case timeout(DispatchTime)
   |                `- error: cannot find type 'DispatchTime' in scope
14 |
15 |   public var name: String {
[15/49] Compiling Prch SecurityRequirement.swift
[16/49] Compiling Prch Service.swift
[17/49] Compiling Prch ServiceRequest.swift
[18/49] Compiling Prch StatusCodeProvider.swift
[19/49] Compiling Prch SuccessModel.swift
[20/49] Compiling Prch DateFormatter.swift
[21/49] Compiling Prch DecodingError.swift
[22/49] Compiling Prch KeyedDecodingContainer.swift
[23/49] Compiling Prch KeyedEncodingContainer.swift
[24/49] Compiling Prch RequestEncoder.swift
[25/49] Compiling Prch ResponseDecoder.swift
[26/49] Compiling Prch StringCodingKey.swift
[27/49] Compiling Prch DateEncodingContainer.swift
[28/49] Compiling Prch DeprecatedRequest.swift
[29/49] Compiling Prch DeprecatedResponse.swift
[30/49] Compiling Prch DeprecatedResponseResult.swift
[31/49] Compiling Prch TypeAliases.swift
[32/49] Compiling Prch Session.swift
/host/spi-builder-workspace/Sources/Prch/Networking/Task.swift:9:1: error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended [#NominalTypes]
 7 | public protocol Task {}
 8 |
 9 | extension URLSessionDataTask: Task {}
   | `- error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended [#NominalTypes]
10 |
/host/spi-builder-workspace/Sources/Prch/Networking/URLSession.swift:7:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
 5 | #endif
 6 |
 7 | extension URLSession: Session {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
 8 |   #if compiler(>=5.5.2) && canImport(_Concurrency)
 9 |     @available(macOS, deprecated: 12.0)
/host/spi-builder-workspace/Sources/Prch/Networking/URLSessionResponse.swift:8:31: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 6 |
 7 | struct URLSessionResponse: ResponseComponents {
 8 |   init(data: Data?, response: URLResponse?) {
   |                               `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 9 |     self.data = data
10 |     self.response = response
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Prch/Networking/URLSessionResponse.swift:14:17: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |
13 |   let data: Data?
14 |   let response: URLResponse?
   |                 `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |
16 |   var statusCode: Int? {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Prch/Networking/URLSessionResponse.swift:21:17: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |
20 |   static func resultBasedOnResponse(
21 |     _ response: URLResponse?,
   |                 `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |     data: Data?,
23 |     error: Error?
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Prch/Networking/URLSessionResponse.swift:34:29: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 |
33 | extension URLSessionResponse {
34 |   init(_ components: (Data, URLResponse)) {
   |                             `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
35 |     self.init(data: components.0, response: components.1)
36 |   }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Prch/Networking/URLSessionResponse.swift:17:15: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
15 |
16 |   var statusCode: Int? {
17 |     (response as? HTTPURLResponse)?.statusCode
   |               `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
18 |   }
19 |
/host/spi-builder-workspace/Sources/Prch/Networking/URLSessionResponse.swift:17:37: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
15 |
16 |   var statusCode: Int? {
17 |     (response as? HTTPURLResponse)?.statusCode
   |                                     `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
18 |   }
19 |
/host/spi-builder-workspace/Sources/Prch/Networking/URLSession.swift:15:18: error: cannot find type 'URLRequest' in scope
13 |     @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
14 |     fileprivate func responseComponentsFrom(
15 |       _ request: URLRequest
   |                  `- error: cannot find type 'URLRequest' in scope
16 |     ) async throws -> ResponseComponents {
17 |       try await withCheckedThrowingContinuation { continuation in
/host/spi-builder-workspace/Sources/Prch/Networking/URLSession.swift:25:36: error: cannot find type 'RequestType' in scope
23 |
24 |     @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
25 |     public func request(_ request: RequestType) async throws -> ResponseComponents {
   |                                    `- error: cannot find type 'RequestType' in scope
26 |       #if canImport(FoundationNetworking)
27 |         return try await responseComponentsFrom(request)
/host/spi-builder-workspace/Sources/Prch/Networking/URLSession.swift:40:16: error: cannot find type 'URLRequest' in scope
38 |
39 |   public func beginRequest(
40 |     _ request: URLRequest,
   |                `- error: cannot find type 'URLRequest' in scope
41 |     _ completion: @escaping ((Result<ResponseComponents, ClientError>) -> Void)
42 |   ) -> Task {
/host/spi-builder-workspace/Sources/Prch/Networking/URLSession.swift:60:15: error: cannot find type 'URLRequest' in scope
58 |     andHeaders headers: [String: String],
59 |     usingEncoder encoder: RequestEncoder
60 |   ) throws -> URLRequest {
   |               `- error: cannot find type 'URLRequest' in scope
61 |     guard var componenets = URLComponents(
62 |       url: baseURL.appendingPathComponent(request.path),
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[33/49] Compiling Prch Task.swift
/host/spi-builder-workspace/Sources/Prch/Networking/Task.swift:9:1: error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended [#NominalTypes]
 7 | public protocol Task {}
 8 |
 9 | extension URLSessionDataTask: Task {}
   | `- error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended [#NominalTypes]
10 |
/host/spi-builder-workspace/Sources/Prch/Networking/URLSession.swift:7:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
 5 | #endif
 6 |
 7 | extension URLSession: Session {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
 8 |   #if compiler(>=5.5.2) && canImport(_Concurrency)
 9 |     @available(macOS, deprecated: 12.0)
/host/spi-builder-workspace/Sources/Prch/Networking/URLSessionResponse.swift:8:31: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 6 |
 7 | struct URLSessionResponse: ResponseComponents {
 8 |   init(data: Data?, response: URLResponse?) {
   |                               `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 9 |     self.data = data
10 |     self.response = response
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Prch/Networking/URLSessionResponse.swift:14:17: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |
13 |   let data: Data?
14 |   let response: URLResponse?
   |                 `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |
16 |   var statusCode: Int? {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Prch/Networking/URLSessionResponse.swift:21:17: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |
20 |   static func resultBasedOnResponse(
21 |     _ response: URLResponse?,
   |                 `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |     data: Data?,
23 |     error: Error?
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Prch/Networking/URLSessionResponse.swift:34:29: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 |
33 | extension URLSessionResponse {
34 |   init(_ components: (Data, URLResponse)) {
   |                             `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
35 |     self.init(data: components.0, response: components.1)
36 |   }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Prch/Networking/URLSessionResponse.swift:17:15: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
15 |
16 |   var statusCode: Int? {
17 |     (response as? HTTPURLResponse)?.statusCode
   |               `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
18 |   }
19 |
/host/spi-builder-workspace/Sources/Prch/Networking/URLSessionResponse.swift:17:37: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
15 |
16 |   var statusCode: Int? {
17 |     (response as? HTTPURLResponse)?.statusCode
   |                                     `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
18 |   }
19 |
/host/spi-builder-workspace/Sources/Prch/Networking/URLSession.swift:15:18: error: cannot find type 'URLRequest' in scope
13 |     @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
14 |     fileprivate func responseComponentsFrom(
15 |       _ request: URLRequest
   |                  `- error: cannot find type 'URLRequest' in scope
16 |     ) async throws -> ResponseComponents {
17 |       try await withCheckedThrowingContinuation { continuation in
/host/spi-builder-workspace/Sources/Prch/Networking/URLSession.swift:25:36: error: cannot find type 'RequestType' in scope
23 |
24 |     @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
25 |     public func request(_ request: RequestType) async throws -> ResponseComponents {
   |                                    `- error: cannot find type 'RequestType' in scope
26 |       #if canImport(FoundationNetworking)
27 |         return try await responseComponentsFrom(request)
/host/spi-builder-workspace/Sources/Prch/Networking/URLSession.swift:40:16: error: cannot find type 'URLRequest' in scope
38 |
39 |   public func beginRequest(
40 |     _ request: URLRequest,
   |                `- error: cannot find type 'URLRequest' in scope
41 |     _ completion: @escaping ((Result<ResponseComponents, ClientError>) -> Void)
42 |   ) -> Task {
/host/spi-builder-workspace/Sources/Prch/Networking/URLSession.swift:60:15: error: cannot find type 'URLRequest' in scope
58 |     andHeaders headers: [String: String],
59 |     usingEncoder encoder: RequestEncoder
60 |   ) throws -> URLRequest {
   |               `- error: cannot find type 'URLRequest' in scope
61 |     guard var componenets = URLComponents(
62 |       url: baseURL.appendingPathComponent(request.path),
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[34/49] Compiling Prch URL.swift
/host/spi-builder-workspace/Sources/Prch/Networking/Task.swift:9:1: error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended [#NominalTypes]
 7 | public protocol Task {}
 8 |
 9 | extension URLSessionDataTask: Task {}
   | `- error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended [#NominalTypes]
10 |
/host/spi-builder-workspace/Sources/Prch/Networking/URLSession.swift:7:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
 5 | #endif
 6 |
 7 | extension URLSession: Session {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
 8 |   #if compiler(>=5.5.2) && canImport(_Concurrency)
 9 |     @available(macOS, deprecated: 12.0)
/host/spi-builder-workspace/Sources/Prch/Networking/URLSessionResponse.swift:8:31: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 6 |
 7 | struct URLSessionResponse: ResponseComponents {
 8 |   init(data: Data?, response: URLResponse?) {
   |                               `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 9 |     self.data = data
10 |     self.response = response
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Prch/Networking/URLSessionResponse.swift:14:17: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |
13 |   let data: Data?
14 |   let response: URLResponse?
   |                 `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |
16 |   var statusCode: Int? {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Prch/Networking/URLSessionResponse.swift:21:17: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |
20 |   static func resultBasedOnResponse(
21 |     _ response: URLResponse?,
   |                 `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |     data: Data?,
23 |     error: Error?
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Prch/Networking/URLSessionResponse.swift:34:29: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 |
33 | extension URLSessionResponse {
34 |   init(_ components: (Data, URLResponse)) {
   |                             `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
35 |     self.init(data: components.0, response: components.1)
36 |   }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Prch/Networking/URLSessionResponse.swift:17:15: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
15 |
16 |   var statusCode: Int? {
17 |     (response as? HTTPURLResponse)?.statusCode
   |               `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
18 |   }
19 |
/host/spi-builder-workspace/Sources/Prch/Networking/URLSessionResponse.swift:17:37: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
15 |
16 |   var statusCode: Int? {
17 |     (response as? HTTPURLResponse)?.statusCode
   |                                     `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
18 |   }
19 |
/host/spi-builder-workspace/Sources/Prch/Networking/URLSession.swift:15:18: error: cannot find type 'URLRequest' in scope
13 |     @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
14 |     fileprivate func responseComponentsFrom(
15 |       _ request: URLRequest
   |                  `- error: cannot find type 'URLRequest' in scope
16 |     ) async throws -> ResponseComponents {
17 |       try await withCheckedThrowingContinuation { continuation in
/host/spi-builder-workspace/Sources/Prch/Networking/URLSession.swift:25:36: error: cannot find type 'RequestType' in scope
23 |
24 |     @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
25 |     public func request(_ request: RequestType) async throws -> ResponseComponents {
   |                                    `- error: cannot find type 'RequestType' in scope
26 |       #if canImport(FoundationNetworking)
27 |         return try await responseComponentsFrom(request)
/host/spi-builder-workspace/Sources/Prch/Networking/URLSession.swift:40:16: error: cannot find type 'URLRequest' in scope
38 |
39 |   public func beginRequest(
40 |     _ request: URLRequest,
   |                `- error: cannot find type 'URLRequest' in scope
41 |     _ completion: @escaping ((Result<ResponseComponents, ClientError>) -> Void)
42 |   ) -> Task {
/host/spi-builder-workspace/Sources/Prch/Networking/URLSession.swift:60:15: error: cannot find type 'URLRequest' in scope
58 |     andHeaders headers: [String: String],
59 |     usingEncoder encoder: RequestEncoder
60 |   ) throws -> URLRequest {
   |               `- error: cannot find type 'URLRequest' in scope
61 |     guard var componenets = URLComponents(
62 |       url: baseURL.appendingPathComponent(request.path),
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[35/49] Compiling Prch URLSession.swift
/host/spi-builder-workspace/Sources/Prch/Networking/Task.swift:9:1: error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended [#NominalTypes]
 7 | public protocol Task {}
 8 |
 9 | extension URLSessionDataTask: Task {}
   | `- error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended [#NominalTypes]
10 |
/host/spi-builder-workspace/Sources/Prch/Networking/URLSession.swift:7:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
 5 | #endif
 6 |
 7 | extension URLSession: Session {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
 8 |   #if compiler(>=5.5.2) && canImport(_Concurrency)
 9 |     @available(macOS, deprecated: 12.0)
/host/spi-builder-workspace/Sources/Prch/Networking/URLSessionResponse.swift:8:31: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 6 |
 7 | struct URLSessionResponse: ResponseComponents {
 8 |   init(data: Data?, response: URLResponse?) {
   |                               `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 9 |     self.data = data
10 |     self.response = response
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Prch/Networking/URLSessionResponse.swift:14:17: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |
13 |   let data: Data?
14 |   let response: URLResponse?
   |                 `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |
16 |   var statusCode: Int? {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Prch/Networking/URLSessionResponse.swift:21:17: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |
20 |   static func resultBasedOnResponse(
21 |     _ response: URLResponse?,
   |                 `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |     data: Data?,
23 |     error: Error?
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Prch/Networking/URLSessionResponse.swift:34:29: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 |
33 | extension URLSessionResponse {
34 |   init(_ components: (Data, URLResponse)) {
   |                             `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
35 |     self.init(data: components.0, response: components.1)
36 |   }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Prch/Networking/URLSessionResponse.swift:17:15: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
15 |
16 |   var statusCode: Int? {
17 |     (response as? HTTPURLResponse)?.statusCode
   |               `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
18 |   }
19 |
/host/spi-builder-workspace/Sources/Prch/Networking/URLSessionResponse.swift:17:37: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
15 |
16 |   var statusCode: Int? {
17 |     (response as? HTTPURLResponse)?.statusCode
   |                                     `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
18 |   }
19 |
/host/spi-builder-workspace/Sources/Prch/Networking/URLSession.swift:15:18: error: cannot find type 'URLRequest' in scope
13 |     @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
14 |     fileprivate func responseComponentsFrom(
15 |       _ request: URLRequest
   |                  `- error: cannot find type 'URLRequest' in scope
16 |     ) async throws -> ResponseComponents {
17 |       try await withCheckedThrowingContinuation { continuation in
/host/spi-builder-workspace/Sources/Prch/Networking/URLSession.swift:25:36: error: cannot find type 'RequestType' in scope
23 |
24 |     @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
25 |     public func request(_ request: RequestType) async throws -> ResponseComponents {
   |                                    `- error: cannot find type 'RequestType' in scope
26 |       #if canImport(FoundationNetworking)
27 |         return try await responseComponentsFrom(request)
/host/spi-builder-workspace/Sources/Prch/Networking/URLSession.swift:40:16: error: cannot find type 'URLRequest' in scope
38 |
39 |   public func beginRequest(
40 |     _ request: URLRequest,
   |                `- error: cannot find type 'URLRequest' in scope
41 |     _ completion: @escaping ((Result<ResponseComponents, ClientError>) -> Void)
42 |   ) -> Task {
/host/spi-builder-workspace/Sources/Prch/Networking/URLSession.swift:60:15: error: cannot find type 'URLRequest' in scope
58 |     andHeaders headers: [String: String],
59 |     usingEncoder encoder: RequestEncoder
60 |   ) throws -> URLRequest {
   |               `- error: cannot find type 'URLRequest' in scope
61 |     guard var componenets = URLComponents(
62 |       url: baseURL.appendingPathComponent(request.path),
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[36/49] Compiling Prch URLSessionResponse.swift
/host/spi-builder-workspace/Sources/Prch/Networking/Task.swift:9:1: error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended [#NominalTypes]
 7 | public protocol Task {}
 8 |
 9 | extension URLSessionDataTask: Task {}
   | `- error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended [#NominalTypes]
10 |
/host/spi-builder-workspace/Sources/Prch/Networking/URLSession.swift:7:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
 5 | #endif
 6 |
 7 | extension URLSession: Session {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
 8 |   #if compiler(>=5.5.2) && canImport(_Concurrency)
 9 |     @available(macOS, deprecated: 12.0)
/host/spi-builder-workspace/Sources/Prch/Networking/URLSessionResponse.swift:8:31: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 6 |
 7 | struct URLSessionResponse: ResponseComponents {
 8 |   init(data: Data?, response: URLResponse?) {
   |                               `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 9 |     self.data = data
10 |     self.response = response
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Prch/Networking/URLSessionResponse.swift:14:17: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |
13 |   let data: Data?
14 |   let response: URLResponse?
   |                 `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |
16 |   var statusCode: Int? {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Prch/Networking/URLSessionResponse.swift:21:17: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |
20 |   static func resultBasedOnResponse(
21 |     _ response: URLResponse?,
   |                 `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |     data: Data?,
23 |     error: Error?
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Prch/Networking/URLSessionResponse.swift:34:29: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 |
33 | extension URLSessionResponse {
34 |   init(_ components: (Data, URLResponse)) {
   |                             `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
35 |     self.init(data: components.0, response: components.1)
36 |   }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Prch/Networking/URLSessionResponse.swift:17:15: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
15 |
16 |   var statusCode: Int? {
17 |     (response as? HTTPURLResponse)?.statusCode
   |               `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
18 |   }
19 |
/host/spi-builder-workspace/Sources/Prch/Networking/URLSessionResponse.swift:17:37: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
15 |
16 |   var statusCode: Int? {
17 |     (response as? HTTPURLResponse)?.statusCode
   |                                     `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
18 |   }
19 |
/host/spi-builder-workspace/Sources/Prch/Networking/URLSession.swift:15:18: error: cannot find type 'URLRequest' in scope
13 |     @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
14 |     fileprivate func responseComponentsFrom(
15 |       _ request: URLRequest
   |                  `- error: cannot find type 'URLRequest' in scope
16 |     ) async throws -> ResponseComponents {
17 |       try await withCheckedThrowingContinuation { continuation in
/host/spi-builder-workspace/Sources/Prch/Networking/URLSession.swift:25:36: error: cannot find type 'RequestType' in scope
23 |
24 |     @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
25 |     public func request(_ request: RequestType) async throws -> ResponseComponents {
   |                                    `- error: cannot find type 'RequestType' in scope
26 |       #if canImport(FoundationNetworking)
27 |         return try await responseComponentsFrom(request)
/host/spi-builder-workspace/Sources/Prch/Networking/URLSession.swift:40:16: error: cannot find type 'URLRequest' in scope
38 |
39 |   public func beginRequest(
40 |     _ request: URLRequest,
   |                `- error: cannot find type 'URLRequest' in scope
41 |     _ completion: @escaping ((Result<ResponseComponents, ClientError>) -> Void)
42 |   ) -> Task {
/host/spi-builder-workspace/Sources/Prch/Networking/URLSession.swift:60:15: error: cannot find type 'URLRequest' in scope
58 |     andHeaders headers: [String: String],
59 |     usingEncoder encoder: RequestEncoder
60 |   ) throws -> URLRequest {
   |               `- error: cannot find type 'URLRequest' in scope
61 |     guard var componenets = URLComponents(
62 |       url: baseURL.appendingPathComponent(request.path),
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[37/49] Compiling Prch Request.swift
/host/spi-builder-workspace/Sources/Prch/Networking/Task.swift:9:1: error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended [#NominalTypes]
 7 | public protocol Task {}
 8 |
 9 | extension URLSessionDataTask: Task {}
   | `- error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended [#NominalTypes]
10 |
/host/spi-builder-workspace/Sources/Prch/Networking/URLSession.swift:7:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
 5 | #endif
 6 |
 7 | extension URLSession: Session {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
 8 |   #if compiler(>=5.5.2) && canImport(_Concurrency)
 9 |     @available(macOS, deprecated: 12.0)
/host/spi-builder-workspace/Sources/Prch/Networking/URLSessionResponse.swift:8:31: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 6 |
 7 | struct URLSessionResponse: ResponseComponents {
 8 |   init(data: Data?, response: URLResponse?) {
   |                               `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 9 |     self.data = data
10 |     self.response = response
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Prch/Networking/URLSessionResponse.swift:14:17: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |
13 |   let data: Data?
14 |   let response: URLResponse?
   |                 `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |
16 |   var statusCode: Int? {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Prch/Networking/URLSessionResponse.swift:21:17: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |
20 |   static func resultBasedOnResponse(
21 |     _ response: URLResponse?,
   |                 `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |     data: Data?,
23 |     error: Error?
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Prch/Networking/URLSessionResponse.swift:34:29: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 |
33 | extension URLSessionResponse {
34 |   init(_ components: (Data, URLResponse)) {
   |                             `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
35 |     self.init(data: components.0, response: components.1)
36 |   }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Prch/Networking/URLSessionResponse.swift:17:15: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
15 |
16 |   var statusCode: Int? {
17 |     (response as? HTTPURLResponse)?.statusCode
   |               `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
18 |   }
19 |
/host/spi-builder-workspace/Sources/Prch/Networking/URLSessionResponse.swift:17:37: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
15 |
16 |   var statusCode: Int? {
17 |     (response as? HTTPURLResponse)?.statusCode
   |                                     `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
18 |   }
19 |
/host/spi-builder-workspace/Sources/Prch/Networking/URLSession.swift:15:18: error: cannot find type 'URLRequest' in scope
13 |     @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
14 |     fileprivate func responseComponentsFrom(
15 |       _ request: URLRequest
   |                  `- error: cannot find type 'URLRequest' in scope
16 |     ) async throws -> ResponseComponents {
17 |       try await withCheckedThrowingContinuation { continuation in
/host/spi-builder-workspace/Sources/Prch/Networking/URLSession.swift:25:36: error: cannot find type 'RequestType' in scope
23 |
24 |     @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
25 |     public func request(_ request: RequestType) async throws -> ResponseComponents {
   |                                    `- error: cannot find type 'RequestType' in scope
26 |       #if canImport(FoundationNetworking)
27 |         return try await responseComponentsFrom(request)
/host/spi-builder-workspace/Sources/Prch/Networking/URLSession.swift:40:16: error: cannot find type 'URLRequest' in scope
38 |
39 |   public func beginRequest(
40 |     _ request: URLRequest,
   |                `- error: cannot find type 'URLRequest' in scope
41 |     _ completion: @escaping ((Result<ResponseComponents, ClientError>) -> Void)
42 |   ) -> Task {
/host/spi-builder-workspace/Sources/Prch/Networking/URLSession.swift:60:15: error: cannot find type 'URLRequest' in scope
58 |     andHeaders headers: [String: String],
59 |     usingEncoder encoder: RequestEncoder
60 |   ) throws -> URLRequest {
   |               `- error: cannot find type 'URLRequest' in scope
61 |     guard var componenets = URLComponents(
62 |       url: baseURL.appendingPathComponent(request.path),
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[38/49] Compiling Prch Model.swift
[39/49] Compiling Prch DateDay.swift
[40/49] Compiling Prch File.swift
[41/49] Compiling Prch ID.swift
[42/49] Compiling Prch UploadFile.swift
[43/49] Compiling Prch ResponseComponents.swift
[44/49] Compiling Prch API.swift
[45/49] Compiling Prch AnyCodable.Codable.swift
[46/49] Compiling Prch AnyCodable.Equatable.swift
[47/49] Compiling Prch AnyCodable.Expressible.swift
[48/49] Compiling Prch AnyCodable.StringConverable.swift
[49/49] Compiling Prch AnyCodable.swift
BUILD FAILURE 6.3 wasm