The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Relax, reference 2.2.1 (30de4b), with Swift 6.4 for Wasm on 20 Sep 2026 06:46:11 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886770-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tdeleon/Relax.git
Reference: 2.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/tdeleon/Relax
 * tag               2.2.1      -> FETCH_HEAD
HEAD is now at 30de4b5 Merge pull request #60 from tdeleon/develop
Cloned https://github.com/tdeleon/Relax.git
Revision (git rev-parse @):
30de4b526965f008ab776baac3325a98ce6787f0
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/tdeleon/Relax.git at 2.2.1
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/tdeleon/Relax.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:4328fdb43c680d205c1d6761b1e3267aa38277eefdda9ddfb17b6a0f1a77857a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Building for debugging...
[Pre-planning 1 / 124]
[1 / 39]
error: SwiftCompile normal wasm32 failed with a nonzero exit code. Command line:     cd /host

/host/spi-builder-workspace/Sources/Relax/API Structure/APIComponent.swift:39:25: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
37 |     ///
38 |     /// The default value is `URLSession.shared`.
39 |     static var session: URLSession { get }
   |                         `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
40 |
41 |     /// The decoder to use for any Requests provided by this component or its childern.
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Relax/API Structure/APIComponent.swift:56:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
54 |     public static var allProperties: Request.Properties { sharedProperties }
55 |
56 |     public static var session: URLSession { .shared }
   |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
57 |
58 |     public static var decoder: JSONDecoder { JSONDecoder() }
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Relax/API Structure/APIComponent.swift:77:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
75 |     }
76 |
77 |     public static var session: URLSession {
   |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
78 |         Parent.session
79 |     }
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Relax/Request/Request+Configuration.swift:21:33: error: cannot find type 'URLRequest' in scope
 19 |         public var allowsCellularAccess: Bool
 20 |         /// The cache policy of the request
 21 |         public var cachePolicy: URLRequest.CachePolicy
    |                                 `- error: cannot find type 'URLRequest' in scope
 22 |         /// Whether to continue transmitting data before receiving a response from an earlier transmission
 23 |         ///
/host/spi-builder-workspace/Sources/Relax/Request/Request+Configuration.swift:29:40: error: cannot find type 'URLRequest' in scope
 27 |         ///
 28 |         /// See [`networkServiceType`](https://developer.apple.com/documentation/foundation/urlrequest/2011409-networkservicetype)
 29 |         public var networkServiceType: URLRequest.NetworkServiceType
    |                                        `- error: cannot find type 'URLRequest' in scope
 30 |         /// The timeout interval for the request
 31 |         public var timeoutInterval: TimeInterval
/host/spi-builder-workspace/Sources/Relax/Request/Request+Configuration.swift:124:26: error: cannot find type 'URLRequest' in scope
122 |         public init(
123 |             allowsCellularAccess: Bool = true,
124 |             cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
    |                          `- error: cannot find type 'URLRequest' in scope
125 |             httpShouldUsePipelining: Bool = false,
126 |             networkServiceType: URLRequest.NetworkServiceType = .default,
/host/spi-builder-workspace/Sources/Relax/Request/Request+Configuration.swift:126:33: error: cannot find type 'URLRequest' in scope
124 |             cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
125 |             httpShouldUsePipelining: Bool = false,
126 |             networkServiceType: URLRequest.NetworkServiceType = .default,
    |                                 `- error: cannot find type 'URLRequest' in scope
127 |             timeoutInterval: TimeInterval = 60,
128 |             httpShouldHandleCookies: Bool = true,
/host/spi-builder-workspace/Sources/Relax/Request/Request+Configuration.swift:15:19: error: type 'Request.Configuration' does not conform to protocol 'Hashable'
 13 | extension Request {
 14 |     /// Defines configuration options for requests to use
 15 |     public struct Configuration: Hashable {
    |                   `- error: type 'Request.Configuration' does not conform to protocol 'Hashable'
 16 |         /// Allow access on cellular networks
 17 |         ///
    :
 19 |         public var allowsCellularAccess: Bool
 20 |         /// The cache policy of the request
 21 |         public var cachePolicy: URLRequest.CachePolicy
    |                    `- note: stored property type '_' does not conform to protocol 'Hashable', preventing synthesized conformance of 'Request.Configuration' to 'Hashable'
 22 |         /// Whether to continue transmitting data before receiving a response from an earlier transmission
 23 |         ///
    :
 27 |         ///
 28 |         /// See [`networkServiceType`](https://developer.apple.com/documentation/foundation/urlrequest/2011409-networkservicetype)
 29 |         public var networkServiceType: URLRequest.NetworkServiceType
    |                    `- note: stored property type '_' does not conform to protocol 'Hashable', preventing synthesized conformance of 'Request.Configuration' to 'Hashable'
 30 |         /// The timeout interval for the request
 31 |         public var timeoutInterval: TimeInterval
/host/spi-builder-workspace/Sources/Relax/Request/Request+Configuration.swift:15:19: error: type 'Request.Configuration' does not conform to protocol 'Equatable'
 13 | extension Request {
 14 |     /// Defines configuration options for requests to use
 15 |     public struct Configuration: Hashable {
    |                   |- error: type 'Request.Configuration' does not conform to protocol 'Equatable'
    |                   `- note: add stubs for conformance
 16 |         /// Allow access on cellular networks
 17 |         ///
    :
 19 |         public var allowsCellularAccess: Bool
 20 |         /// The cache policy of the request
 21 |         public var cachePolicy: URLRequest.CachePolicy
    |                    `- note: stored property type '_' does not conform to protocol 'Equatable', preventing synthesized conformance of 'Request.Configuration' to 'Equatable'
 22 |         /// Whether to continue transmitting data before receiving a response from an earlier transmission
 23 |         ///
    :
 27 |         ///
 28 |         /// See [`networkServiceType`](https://developer.apple.com/documentation/foundation/urlrequest/2011409-networkservicetype)
 29 |         public var networkServiceType: URLRequest.NetworkServiceType
    |                    `- note: stored property type '_' does not conform to protocol 'Equatable', preventing synthesized conformance of 'Request.Configuration' to 'Equatable'
 30 |         /// The timeout interval for the request
 31 |         public var timeoutInterval: TimeInterval
Swift.==:1:24: note: candidate would match if 'Request.Configuration' conformed to 'RawRepresentable'
1 | @inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
  |                        `- note: candidate would match if 'Request.Configuration' conformed to 'RawRepresentable'
Swift.FloatingPoint.==:2:20: note: candidate would match if 'Request.Configuration' conformed to 'FloatingPoint'
1 | protocol FloatingPoint {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'Request.Configuration' conformed to 'FloatingPoint'
3 |
Swift.BinaryInteger.==:2:20: note: candidate would match if 'Request.Configuration' conformed to 'BinaryInteger'
1 | protocol BinaryInteger {
2 | public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
  |                    `- note: candidate would match if 'Request.Configuration' conformed to 'BinaryInteger'
3 |
Swift._Pointer.==:2:20: note: candidate would match if 'Request.Configuration' conformed to '_Pointer'
1 | protocol _Pointer {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'Request.Configuration' conformed to '_Pointer'
3 |
Swift._Pointer.==:2:31: note: candidate would match if 'Request.Configuration' conformed to '_Pointer'
1 | protocol _Pointer {
2 | @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer}
  |                               `- note: candidate would match if 'Request.Configuration' conformed to '_Pointer'
3 |
Swift.Strideable.==:2:31: note: candidate would match if 'Request.Configuration' conformed to 'Strideable'
1 | protocol Strideable {
2 | @inlinable public static func == (x: Self, y: Self) -> Bool}
  |                               `- note: candidate would match if 'Request.Configuration' conformed to 'Strideable'
3 |
Swift.StringProtocol.==:2:31: note: candidate would match if 'Request.Configuration' conformed to 'StringProtocol'
1 | protocol StringProtocol {
2 | @inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol}
  |                               `- note: candidate would match if 'Request.Configuration' conformed to 'StringProtocol'
3 |
Swift.SIMD.==:2:20: note: candidate would match if 'Request.Configuration' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func == (a: Self, b: Self) -> Bool}
  |                    `- note: candidate would match if 'Request.Configuration' conformed to 'SIMD'
3 |
Foundation.__BridgedNSError.==:2:20: note: candidate would match if 'Request.Configuration' conformed to '__BridgedNSError'
1 | protocol __BridgedNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'Request.Configuration' conformed to '__BridgedNSError'
3 |
Foundation._BridgedStoredNSError.==:2:20: note: candidate would match if 'Request.Configuration' conformed to '_BridgedStoredNSError'
1 | protocol _BridgedStoredNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'Request.Configuration' conformed to '_BridgedStoredNSError'
3 |
FoundationEssentials.AttributedStringProtocol.==:2:20: note: candidate would match if 'Request.Configuration' conformed to 'AttributedStringProtocol'
1 | protocol AttributedStringProtocol {
2 | public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol}
  |                    `- note: candidate would match if 'Request.Configuration' conformed to 'AttributedStringProtocol'
3 |
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(borrowing Request.Configuration, borrowing Request.Configuration) -> Bool'
1 | protocol Equatable {
2 | static func == (lhs: borrowing Self, rhs: borrowing Self) -> Bool}
  |             `- note: protocol requires function '==' with type '(borrowing Request.Configuration, borrowing Request.Configuration) -> Bool'
3 |
/host/spi-builder-workspace/Sources/Relax/Request/Request+Send.swift:20:65: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 18 |     ///    - urlResponse: The response received
 19 |     ///    - data: Data received in the request. If there is no data in the response, then this will be 0 bytes.
 20 |     public typealias Response = (request: Request, urlResponse: HTTPURLResponse, data: Data)
    |                                                                 `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 21 |
 22 |     /// Response for decoding Decodable objects from an HTTP request
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Relax/Request/Request+Send.swift:28:88: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 26 |     ///    - urlResponse: The response received
 27 |     ///    - responseModel: The model decoded from data received
 28 |     public typealias ResponseModel<Model: Decodable> = (request: Request, urlResponse: HTTPURLResponse, responseModel: Model)
    |                                                                                        `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 29 |
 30 |     /// Completion handler response for a request
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Relax/Request/Request+Send.swift:46:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 44 |     @discardableResult
 45 |     public func send(
 46 |         session: URLSession? = nil,
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 47 |         autoResumeTask: Bool = true,
 48 |         completion: @escaping Request.Completion
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Relax/Request/Request+Send.swift:49:10: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 47 |         autoResumeTask: Bool = true,
 48 |         completion: @escaping Request.Completion
 49 |     ) -> URLSessionDataTask {
    |          `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 50 |         let task = (session ?? self.session).dataTask(with: urlRequest) { data, response, error in
 51 |             guard error == nil,
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' 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 URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Relax/Request/Request+Send.swift:110:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
108 |     public func send<ResponseModel: Decodable>(
109 |         decoder: JSONDecoder? = nil,
110 |         session: URLSession? = nil,
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
111 |         completion: @escaping (_ result: Result<ResponseModel, RequestError>) -> Void
112 |     ) {
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Relax/Request/Request+Send.swift:135:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
133 |     public func send<ResponseModel: Decodable>(
134 |         decoder: JSONDecoder? = nil,
135 |         session: URLSession? = nil,
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
136 |         completion: @escaping Request.ModelCompletion<ResponseModel>
137 |     ) {
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Relax/Request/Request+SendAsync.swift:21:70: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |     ///    - urlResponse: The response received
20 |     ///    - data: Data received. If there is no data in the response, then this will be 0 bytes.
21 |     public typealias AsyncResponse = (request: Request, urlResponse: HTTPURLResponse, data: Data)
   |                                                                      `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |
23 |     /// Send a request asynchronously
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Relax/Request/Request+SendAsync.swift:31:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
29 |     @discardableResult
30 |     public func send(
31 |         session: URLSession? = nil
   |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 |     ) async throws -> AsyncResponse {
33 |         var task: URLSessionDataTask?
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Relax/Request/Request+SendAsync.swift:65:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
63 |     public func send<ResponseModel: Decodable>(
64 |         decoder: JSONDecoder? = nil,
65 |         session: URLSession? = nil
   |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
66 |     ) async throws -> ResponseModel {
67 |         let response: AsyncResponse = try await send(session: session)
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Relax/Request/Request.swift:113:25: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
111 |     ///
112 |     /// - Tip: The session can also be overridden when sending requests.
113 |     public var session: URLSession
    |                         `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
114 |
115 |     /// The decoder to use for this request
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Relax/Request/Request.swift:139:28: error: cannot find type 'URLRequest' in scope
137 |
138 |     /// The URLRequest of the request
139 |     public var urlRequest: URLRequest {
    |                            `- error: cannot find type 'URLRequest' in scope
140 |         var request = URLRequest(url: url)
141 |         request.httpMethod = httpMethod.rawValue
/host/spi-builder-workspace/Sources/Relax/Request/Request.swift:182:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
180 |         url: URL,
181 |         configuration: Configuration = .default,
182 |         session: URLSession = .shared,
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
183 |         decoder: JSONDecoder = JSONDecoder(),
184 |         @Request.Properties.Builder properties: () -> Request.Properties = { .empty }
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Relax/Request/Request.swift:182:32: error: value of type '_' expected to be instance of class or class-constrained type
180 |         url: URL,
181 |         configuration: Configuration = .default,
182 |         session: URLSession = .shared,
    |                                `- error: value of type '_' expected to be instance of class or class-constrained type
183 |         decoder: JSONDecoder = JSONDecoder(),
184 |         @Request.Properties.Builder properties: () -> Request.Properties = { .empty }
/host/spi-builder-workspace/Sources/Relax/Request/Request.swift:182:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
180 |         url: URL,
181 |         configuration: Configuration = .default,
182 |         session: URLSession = .shared,
    |                                `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
183 |         decoder: JSONDecoder = JSONDecoder(),
184 |         @Request.Properties.Builder properties: () -> Request.Properties = { .empty }
/host/spi-builder-workspace/Sources/Relax/Request/Request.swift:223:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
221 |         parent: APIComponent.Type,
222 |         configuration: Configuration? = nil,
223 |         session: URLSession? = nil,
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
224 |         decoder: JSONDecoder? = nil,
225 |         @Request.Properties.Builder properties: () -> Request.Properties = { .empty }
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Relax/Request/Request.swift:241:19: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
239 |         url: URL,
240 |         configuration: Configuration,
241 |         sesssion: URLSession,
    |                   `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
242 |         decoder: JSONDecoder,
243 |         properties: Properties
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Sources/Relax/API\ Structure/APIComponent.swift /host/spi-builder-workspace/Sources/Relax/API\ Structure/Endpoint.swift /host/spi-builder-workspace/Sources/Relax/API\ Structure/Service.swift /host/spi-builder-workspace/Sources/Relax/Errors.swift /host/spi-builder-workspace/Sources/Relax/Request/Properties/Body.swift /host/spi-builder-workspace/Sources/Relax/Request/Properties/Headers.swift /host/spi-builder-workspace/Sources/Relax/Request/P[33 / 49] Relax
roperties/PathComponents.swift /host/spi-builder-workspace/Sources/Relax/Request/Properties/QueryItems.swift /host/spi-builder-workspace/Sources/Relax/Request/Properties/RequestProperty.swift /host/spi-builder-workspace/Sources/Relax/Request/Request+Configuration.swift /host/spi-builder-workspace/Sources/Relax/Request/Request+Modifiers.swift /host/spi-builder-workspace/Sources/Relax/Request/Request+Send.swift /host/spi-builder-workspace/Sources/Relax/Request/Request+SendAsync.swift /host/spi-builder-workspace/Sources/Relax/Request/Request+SendPublisher.swift /host/spi-builder-workspace/Sources/Relax/Request/Request.swift -target wasm32-unknown-wasip1 -disable-objc-interop -sdk /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -sysroot /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -I /host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -resource-dir /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static -use-static-resource-dir -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/clang -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Relax.build/Debug-webassembly-wasm32/Relax-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Relax.build/Debug-webassembly-wasm32/Relax-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Relax.build/Debug-webassembly-wasm32/Relax-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name Relax -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/Relax.build/Debug-webassembly-wasm32/Relax-t.build/Objects-normal/wasm32/Relax_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Relax.build/Debug-webassembly-wasm32/Relax-t.build/Objects-normal/wasm32/Modules/Relax.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Relax.build/Debug-webassembly-wasm32/Relax-t.build/Objects-normal/wasm32/Modules/Relax.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Relax.build/Debug-webassembly-wasm32/Relax-t.build/Objects-normal/wasm32/Relax-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Relax.build/Debug-webassembly-wasm32/Relax-t.build/Objects-normal/wasm32/Relax-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Relax.build/Debug-webassembly-wasm32/Relax-t.build/Objects-normal/wasm32/Relax-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Relax.build/Debug-webassembly-wasm32/Relax-t.build/Objects-normal/wasm32/Modules/Relax.swiftmodule
error: Build failed
BUILD FAILURE 6.4 wasm