The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build Prch, reference 1.0.0-alpha.2 (b9329b), with Swift 6.1 for Wasm on 28 May 2025 07:48:50 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/brightdigit/Prch.git
Reference: 1.0.0-alpha.2
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               1.0.0-alpha.2 -> FETCH_HEAD
HEAD is now at b9329ba Allow Status Code Decoding (#30)
Cloned https://github.com/brightdigit/Prch.git
Revision (git rev-parse @):
b9329bab762886dbc478c9f6850a63bfde7fde93
SUCCESS checkout https://github.com/brightdigit/Prch.git at 1.0.0-alpha.2
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/brightdigit/Prch.git
https://github.com/brightdigit/Prch.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Prch",
  "name" : "Prch",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "watchos",
      "version" : "7.0"
    }
  ],
  "products" : [
    {
      "name" : "Prch",
      "targets" : [
        "Prch"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "PrchModel",
      "targets" : [
        "PrchModel"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "PrchTests",
      "module_type" : "SwiftTarget",
      "name" : "PrchTests",
      "path" : "Tests/PrchTests",
      "sources" : [
        "PrchTests.swift",
        "ServiceImplTests.swift",
        "URLComponents.swift"
      ],
      "target_dependencies" : [
        "Prch"
      ],
      "type" : "test"
    },
    {
      "c99name" : "PrchModel",
      "module_type" : "SwiftTarget",
      "name" : "PrchModel",
      "path" : "Sources/PrchModel",
      "product_memberships" : [
        "Prch",
        "PrchModel"
      ],
      "sources" : [
        "API.swift",
        "Array.swift",
        "CoderError.swift",
        "Content.swift",
        "ContentDecodable.swift",
        "ContentEncodable.swift",
        "CustomServiceDecoding.swift",
        "CustomServiceEncoding.swift",
        "Decodable.swift",
        "Decoder.swift",
        "Dictionary.swift",
        "Empty.swift",
        "Encodable.swift",
        "EncodableValue.swift",
        "Encoder.swift",
        "JSONDecoder.swift",
        "JSONEncoder.swift",
        "RequestMethod.swift",
        "ServiceCall.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Prch",
      "module_type" : "SwiftTarget",
      "name" : "Prch",
      "path" : "Sources/Prch",
      "product_memberships" : [
        "Prch"
      ],
      "sources" : [
        "AuthorizationManager.swift",
        "NullAuthorizationManager.swift",
        "Service.swift",
        "ServiceProtocol.swift",
        "Session/RequestError.swift",
        "Session/Session.swift",
        "Session/SessionAuthorization.swift",
        "Session/SessionRequest.swift",
        "Session/SessionResponse.swift",
        "Session/URLSession/URLRequest.swift",
        "Session/URLSession/URLSession.swift",
        "Session/URLSession/URLSessionResponse.swift"
      ],
      "target_dependencies" : [
        "PrchModel"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/21] Compiling PrchModel Empty.swift
/host/spi-builder-workspace/Sources/PrchModel/Empty.swift:19:21: warning: static property 'value' is not concurrency-safe because non-'Sendable' type 'Empty' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | public struct Empty: ContentDecodable, ContentEncodable, Equatable {
   |               `- note: consider making struct 'Empty' conform to the 'Sendable' protocol
 2 |   public static func decode<CoderType>(
 3 |     _: CoderType.DataType,
   :
17 |   }
18 |
19 |   public static let value = Empty()
   |                     |- warning: static property 'value' is not concurrency-safe because non-'Sendable' type 'Empty' may have shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: add '@MainActor' to make static property 'value' part of global actor 'MainActor'
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 |   private init() {}
[5/21] Compiling PrchModel Encodable.swift
/host/spi-builder-workspace/Sources/PrchModel/Empty.swift:19:21: warning: static property 'value' is not concurrency-safe because non-'Sendable' type 'Empty' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | public struct Empty: ContentDecodable, ContentEncodable, Equatable {
   |               `- note: consider making struct 'Empty' conform to the 'Sendable' protocol
 2 |   public static func decode<CoderType>(
 3 |     _: CoderType.DataType,
   :
17 |   }
18 |
19 |   public static let value = Empty()
   |                     |- warning: static property 'value' is not concurrency-safe because non-'Sendable' type 'Empty' may have shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: add '@MainActor' to make static property 'value' part of global actor 'MainActor'
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 |   private init() {}
[6/21] Compiling PrchModel EncodableValue.swift
[7/21] Compiling PrchModel Encoder.swift
[8/23] Compiling PrchModel Content.swift
[9/23] Compiling PrchModel ContentDecodable.swift
[10/23] Compiling PrchModel ContentEncodable.swift
[11/23] Compiling PrchModel JSONDecoder.swift
[12/23] Compiling PrchModel JSONEncoder.swift
[13/23] Compiling PrchModel CustomServiceDecoding.swift
[14/23] Compiling PrchModel CustomServiceEncoding.swift
[15/23] Compiling PrchModel Decodable.swift
[16/23] Compiling PrchModel Decoder.swift
[17/23] Compiling PrchModel Dictionary.swift
[18/23] Compiling PrchModel RequestMethod.swift
[19/23] Compiling PrchModel ServiceCall.swift
[20/23] Emitting module PrchModel
/host/spi-builder-workspace/Sources/PrchModel/Empty.swift:19:21: warning: static property 'value' is not concurrency-safe because non-'Sendable' type 'Empty' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | public struct Empty: ContentDecodable, ContentEncodable, Equatable {
   |               `- note: consider making struct 'Empty' conform to the 'Sendable' protocol
 2 |   public static func decode<CoderType>(
 3 |     _: CoderType.DataType,
   :
17 |   }
18 |
19 |   public static let value = Empty()
   |                     |- warning: static property 'value' is not concurrency-safe because non-'Sendable' type 'Empty' may have shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: add '@MainActor' to make static property 'value' part of global actor 'MainActor'
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 |   private init() {}
[21/23] Compiling PrchModel API.swift
[22/23] Compiling PrchModel Array.swift
[23/23] Compiling PrchModel CoderError.swift
[25/36] Compiling Prch RequestError.swift
/host/spi-builder-workspace/Sources/Prch/Session/RequestError.swift:9:24: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 7 | public enum RequestError: Error {
 8 |   case missingData
 9 |   case invalidResponse(URLResponse?)
   |                        `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 |   case invalidStatusCode(Int)
11 | }
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/Session/RequestError.swift:9:8: warning: associated value 'invalidResponse' of 'Sendable'-conforming enum 'RequestError' has non-sendable type 'URLResponse' (aka 'AnyObject'); this is an error in the Swift 6 language mode
 7 | public enum RequestError: Error {
 8 |   case missingData
 9 |   case invalidResponse(URLResponse?)
   |        `- warning: associated value 'invalidResponse' of 'Sendable'-conforming enum 'RequestError' has non-sendable type 'URLResponse' (aka 'AnyObject'); this is an error in the Swift 6 language mode
10 |   case invalidStatusCode(Int)
11 | }
[26/36] Compiling Prch Session.swift
/host/spi-builder-workspace/Sources/Prch/Session/RequestError.swift:9:24: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 7 | public enum RequestError: Error {
 8 |   case missingData
 9 |   case invalidResponse(URLResponse?)
   |                        `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 |   case invalidStatusCode(Int)
11 | }
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/Session/RequestError.swift:9:8: warning: associated value 'invalidResponse' of 'Sendable'-conforming enum 'RequestError' has non-sendable type 'URLResponse' (aka 'AnyObject'); this is an error in the Swift 6 language mode
 7 | public enum RequestError: Error {
 8 |   case missingData
 9 |   case invalidResponse(URLResponse?)
   |        `- warning: associated value 'invalidResponse' of 'Sendable'-conforming enum 'RequestError' has non-sendable type 'URLResponse' (aka 'AnyObject'); this is an error in the Swift 6 language mode
10 |   case invalidStatusCode(Int)
11 | }
[27/36] Compiling Prch Service.swift
[28/36] Compiling Prch ServiceProtocol.swift
[29/37] Compiling Prch SessionAuthorization.swift
[30/37] Compiling Prch SessionRequest.swift
[31/37] Compiling Prch AuthorizationManager.swift
[32/37] Compiling Prch NullAuthorizationManager.swift
[33/37] Compiling Prch URLSession.swift
/host/spi-builder-workspace/Sources/Prch/Session/URLSession/URLSession.swift:8:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 6 | #endif
 7 |
 8 | extension URLSession: Session {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 9 |   public typealias ResponseType = URLSession.Response
10 |   public typealias RequestType = URLRequest
/host/spi-builder-workspace/Sources/Prch/Session/URLSession/URLSession.swift:9:46: error: 'Response' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
 7 |
 8 | extension URLSession: Session {
 9 |   public typealias ResponseType = URLSession.Response
   |                                              `- error: 'Response' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
10 |   public typealias RequestType = URLRequest
11 |
/host/spi-builder-workspace/Sources/Prch/Session/URLSession/URLSession.swift:10:34: error: cannot find type 'URLRequest' in scope
 8 | extension URLSession: Session {
 9 |   public typealias ResponseType = URLSession.Response
10 |   public typealias RequestType = URLRequest
   |                                  `- error: cannot find type 'URLRequest' in scope
11 |
12 |   public func data<RequestType>(
/host/spi-builder-workspace/Sources/Prch/Session/URLSession/URLSession.swift:18:32: error: 'Response' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
16 |     authorizationManager: any AuthorizationManager<SessionAuthorization>,
17 |     usingEncoder encoder: any Encoder<Data>
18 |   ) async throws -> URLSession.Response
   |                                `- error: 'Response' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
19 |     where RequestType: ServiceCall {
20 |     var componenents = baseURLComponents
error: emit-module command failed with exit code 1 (use -v to see invocation)
[34/37] Emitting module Prch
/host/spi-builder-workspace/Sources/Prch/Session/RequestError.swift:9:24: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 7 | public enum RequestError: Error {
 8 |   case missingData
 9 |   case invalidResponse(URLResponse?)
   |                        `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 |   case invalidStatusCode(Int)
11 | }
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/Session/RequestError.swift:9:8: warning: associated value 'invalidResponse' of 'Sendable'-conforming enum 'RequestError' has non-sendable type 'URLResponse' (aka 'AnyObject'); this is an error in the Swift 6 language mode
 7 | public enum RequestError: Error {
 8 |   case missingData
 9 |   case invalidResponse(URLResponse?)
   |        `- warning: associated value 'invalidResponse' of 'Sendable'-conforming enum 'RequestError' has non-sendable type 'URLResponse' (aka 'AnyObject'); this is an error in the Swift 6 language mode
10 |   case invalidStatusCode(Int)
11 | }
/host/spi-builder-workspace/Sources/Prch/Session/URLSession/URLRequest.swift:7:11: error: cannot find type 'URLRequest' in scope
 5 | #endif
 6 |
 7 | extension URLRequest: SessionRequest {
   |           `- error: cannot find type 'URLRequest' in scope
 8 |   public typealias DataType = Data
 9 | }
/host/spi-builder-workspace/Sources/Prch/Session/URLSession/URLSession.swift:8:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 6 | #endif
 7 |
 8 | extension URLSession: Session {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 9 |   public typealias ResponseType = URLSession.Response
10 |   public typealias RequestType = URLRequest
/host/spi-builder-workspace/Sources/Prch/Session/URLSession/URLSessionResponse.swift:7:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 5 | #endif
 6 |
 7 | extension URLSession {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 8 |   public struct Response: SessionResponse {
 9 |     public typealias DataType = Data
/host/spi-builder-workspace/Sources/Prch/Session/URLSession/URLSessionResponse.swift:25:22: error: 'Response' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
23 | }
24 |
25 | extension URLSession.Response {
   |                      `- error: 'Response' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
26 |   internal init(_ tuple: (Data, URLResponse)) throws {
27 |     try self.init(urlResponse: tuple.1, data: tuple.0)
[35/37] Compiling Prch URLRequest.swift
/host/spi-builder-workspace/Sources/Prch/Session/URLSession/URLRequest.swift:7:11: error: cannot find type 'URLRequest' in scope
 5 | #endif
 6 |
 7 | extension URLRequest: SessionRequest {
   |           `- error: cannot find type 'URLRequest' in scope
 8 |   public typealias DataType = Data
 9 | }
[36/37] Compiling Prch SessionResponse.swift
[37/37] Compiling Prch URLSessionResponse.swift
/host/spi-builder-workspace/Sources/Prch/Session/URLSession/URLSessionResponse.swift:7:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 5 | #endif
 6 |
 7 | extension URLSession {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 8 |   public struct Response: SessionResponse {
 9 |     public typealias DataType = Data
/host/spi-builder-workspace/Sources/Prch/Session/URLSession/URLSessionResponse.swift:25:22: error: 'Response' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
23 | }
24 |
25 | extension URLSession.Response {
   |                      `- error: 'Response' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
26 |   internal init(_ tuple: (Data, URLResponse)) throws {
27 |     try self.init(urlResponse: tuple.1, data: tuple.0)
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/19] Emitting module PrchModel
[3/21] Compiling PrchModel Content.swift
[4/21] Compiling PrchModel ContentDecodable.swift
[5/21] Compiling PrchModel ContentEncodable.swift
[6/21] Compiling PrchModel EncodableValue.swift
[7/21] Compiling PrchModel Encoder.swift
[8/21] Compiling PrchModel JSONDecoder.swift
[9/21] Compiling PrchModel JSONEncoder.swift
[10/21] Compiling PrchModel Decoder.swift
[11/21] Compiling PrchModel Dictionary.swift
[12/21] Compiling PrchModel CustomServiceDecoding.swift
[13/21] Compiling PrchModel CustomServiceEncoding.swift
[14/21] Compiling PrchModel Decodable.swift
[15/21] Compiling PrchModel Empty.swift
[16/21] Compiling PrchModel Encodable.swift
[17/21] Compiling PrchModel API.swift
[18/21] Compiling PrchModel Array.swift
[19/21] Compiling PrchModel CoderError.swift
[20/21] Compiling PrchModel RequestMethod.swift
[21/21] Compiling PrchModel ServiceCall.swift
[23/34] Compiling Prch SessionResponse.swift
[24/35] Compiling Prch URLRequest.swift
/host/spi-builder-workspace/Sources/Prch/Session/URLSession/URLRequest.swift:7:11: error: cannot find type 'URLRequest' in scope
 5 | #endif
 6 |
 7 | extension URLRequest: SessionRequest {
   |           `- error: cannot find type 'URLRequest' in scope
 8 |   public typealias DataType = Data
 9 | }
[25/35] Compiling Prch URLSession.swift
/host/spi-builder-workspace/Sources/Prch/Session/URLSession/URLSession.swift:8:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 6 | #endif
 7 |
 8 | extension URLSession: Session {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 9 |   public typealias ResponseType = URLSession.Response
10 |   public typealias RequestType = URLRequest
/host/spi-builder-workspace/Sources/Prch/Session/URLSession/URLSession.swift:9:46: error: 'Response' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
 7 |
 8 | extension URLSession: Session {
 9 |   public typealias ResponseType = URLSession.Response
   |                                              `- error: 'Response' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
10 |   public typealias RequestType = URLRequest
11 |
/host/spi-builder-workspace/Sources/Prch/Session/URLSession/URLSession.swift:10:34: error: cannot find type 'URLRequest' in scope
 8 | extension URLSession: Session {
 9 |   public typealias ResponseType = URLSession.Response
10 |   public typealias RequestType = URLRequest
   |                                  `- error: cannot find type 'URLRequest' in scope
11 |
12 |   public func data<RequestType>(
/host/spi-builder-workspace/Sources/Prch/Session/URLSession/URLSession.swift:18:32: error: 'Response' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
16 |     authorizationManager: any AuthorizationManager<SessionAuthorization>,
17 |     usingEncoder encoder: any Encoder<Data>
18 |   ) async throws -> URLSession.Response
   |                                `- error: 'Response' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
19 |     where RequestType: ServiceCall {
20 |     var componenents = baseURLComponents
[26/35] Compiling Prch SessionAuthorization.swift
[27/35] Compiling Prch SessionRequest.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[28/35] Emitting module Prch
/host/spi-builder-workspace/Sources/Prch/Session/RequestError.swift:9:24: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 7 | public enum RequestError: Error {
 8 |   case missingData
 9 |   case invalidResponse(URLResponse?)
   |                        `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 |   case invalidStatusCode(Int)
11 | }
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/Session/URLSession/URLRequest.swift:7:11: error: cannot find type 'URLRequest' in scope
 5 | #endif
 6 |
 7 | extension URLRequest: SessionRequest {
   |           `- error: cannot find type 'URLRequest' in scope
 8 |   public typealias DataType = Data
 9 | }
/host/spi-builder-workspace/Sources/Prch/Session/URLSession/URLSession.swift:8:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 6 | #endif
 7 |
 8 | extension URLSession: Session {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 9 |   public typealias ResponseType = URLSession.Response
10 |   public typealias RequestType = URLRequest
/host/spi-builder-workspace/Sources/Prch/Session/URLSession/URLSessionResponse.swift:7:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 5 | #endif
 6 |
 7 | extension URLSession {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 8 |   public struct Response: SessionResponse {
 9 |     public typealias DataType = Data
/host/spi-builder-workspace/Sources/Prch/Session/URLSession/URLSessionResponse.swift:25:22: error: 'Response' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
23 | }
24 |
25 | extension URLSession.Response {
   |                      `- error: 'Response' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
26 |   internal init(_ tuple: (Data, URLResponse)) throws {
27 |     try self.init(urlResponse: tuple.1, data: tuple.0)
[29/35] Compiling Prch Service.swift
[30/35] Compiling Prch ServiceProtocol.swift
[31/35] Compiling Prch AuthorizationManager.swift
[32/35] Compiling Prch NullAuthorizationManager.swift
[33/35] Compiling Prch RequestError.swift
/host/spi-builder-workspace/Sources/Prch/Session/RequestError.swift:9:24: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 7 | public enum RequestError: Error {
 8 |   case missingData
 9 |   case invalidResponse(URLResponse?)
   |                        `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 |   case invalidStatusCode(Int)
11 | }
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
[34/35] Compiling Prch Session.swift
/host/spi-builder-workspace/Sources/Prch/Session/RequestError.swift:9:24: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 7 | public enum RequestError: Error {
 8 |   case missingData
 9 |   case invalidResponse(URLResponse?)
   |                        `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 |   case invalidStatusCode(Int)
11 | }
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
[35/35] Compiling Prch URLSessionResponse.swift
/host/spi-builder-workspace/Sources/Prch/Session/URLSession/URLSessionResponse.swift:7:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 5 | #endif
 6 |
 7 | extension URLSession {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 8 |   public struct Response: SessionResponse {
 9 |     public typealias DataType = Data
/host/spi-builder-workspace/Sources/Prch/Session/URLSession/URLSessionResponse.swift:25:22: error: 'Response' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
23 | }
24 |
25 | extension URLSession.Response {
   |                      `- error: 'Response' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
26 |   internal init(_ tuple: (Data, URLResponse)) throws {
27 |     try self.init(urlResponse: tuple.1, data: tuple.0)
BUILD FAILURE 6.1 wasm