Build Information
Failed to build Prch, reference 1.0.0-alpha.2 (b9329b), with Swift 6.3 for Wasm on 13 Apr 2026 05:10:34 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
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.3
Building package at path: $PWD
https://github.com/brightdigit/Prch.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/21] Emitting module PrchModel
[5/23] Compiling PrchModel Content.swift
[6/23] Compiling PrchModel ContentDecodable.swift
[7/23] Compiling PrchModel ContentEncodable.swift
[8/23] Compiling PrchModel JSONDecoder.swift
[9/23] Compiling PrchModel JSONEncoder.swift
[10/23] Compiling PrchModel EncodableValue.swift
[11/23] Compiling PrchModel Encoder.swift
[12/23] Compiling PrchModel CustomServiceDecoding.swift
[13/23] Compiling PrchModel CustomServiceEncoding.swift
[14/23] Compiling PrchModel Decodable.swift
[15/23] Compiling PrchModel API.swift
[16/23] Compiling PrchModel Array.swift
[17/23] Compiling PrchModel CoderError.swift
[18/23] Compiling PrchModel Decoder.swift
[19/23] Compiling PrchModel Dictionary.swift
[20/23] Compiling PrchModel Empty.swift
[21/23] Compiling PrchModel Encodable.swift
[22/23] Compiling PrchModel RequestMethod.swift
[23/23] Compiling PrchModel ServiceCall.swift
[25/36] 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 | }
[26/36] 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 [#NominalTypes]
6 | #endif
7 |
8 | extension URLSession: Session {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
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
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[27/36] Compiling Prch SessionAuthorization.swift
[28/36] Compiling Prch SessionRequest.swift
[29/36] Compiling Prch SessionResponse.swift
[30/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
[31/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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[32/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/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 [#NominalTypes]
6 | #endif
7 |
8 | extension URLSession: Session {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
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 [#NominalTypes]
5 | #endif
6 |
7 | extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
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)
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[33/37] Compiling Prch AuthorizationManager.swift
[34/37] Compiling Prch NullAuthorizationManager.swift
[35/37] Compiling Prch Service.swift
[36/37] Compiling Prch ServiceProtocol.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 [#NominalTypes]
5 | #endif
6 |
7 | extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
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)
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
BUILD FAILURE 6.3 wasm