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>&1Build 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: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m37 |[0;0m ///
[0;36m38 |[0;0m /// The default value is `URLSession.shared`.
[0;36m39 |[0;0m static var session: [4;39mURLSession[0;0m { get }
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m40 |[0;0m
[0;36m41 |[0;0m /// The decoder to use for any Requests provided by this component or its childern.
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Relax/API Structure/APIComponent.swift:56:32: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m54 |[0;0m public static var allProperties: Request.Properties { sharedProperties }
[0;36m55 |[0;0m
[0;36m56 |[0;0m public static var session: [4;39mURLSession[0;0m { .shared }
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m57 |[0;0m
[0;36m58 |[0;0m public static var decoder: JSONDecoder { JSONDecoder() }
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Relax/API Structure/APIComponent.swift:77:32: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m75 |[0;0m }
[0;36m76 |[0;0m
[0;36m77 |[0;0m public static var session: [4;39mURLSession[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m78 |[0;0m Parent.session
[0;36m79 |[0;0m }
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Relax/Request/Request+Configuration.swift:21:33: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m19 |[0;0m public var allowsCellularAccess: Bool
[0;36m20 |[0;0m /// The cache policy of the request
[0;36m21 |[0;0m public var cachePolicy: [4;39mURLRequest[0;0m.CachePolicy
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m22 |[0;0m /// Whether to continue transmitting data before receiving a response from an earlier transmission
[0;36m23 |[0;0m ///
/host/spi-builder-workspace/Sources/Relax/Request/Request+Configuration.swift:29:40: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m27 |[0;0m ///
[0;36m28 |[0;0m /// See [`networkServiceType`](https://developer.apple.com/documentation/foundation/urlrequest/2011409-networkservicetype)
[0;36m29 |[0;0m public var networkServiceType: [4;39mURLRequest[0;0m.NetworkServiceType
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m30 |[0;0m /// The timeout interval for the request
[0;36m31 |[0;0m public var timeoutInterval: TimeInterval
/host/spi-builder-workspace/Sources/Relax/Request/Request+Configuration.swift:124:26: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m122 |[0;0m public init(
[0;36m123 |[0;0m allowsCellularAccess: Bool = true,
[0;36m124 |[0;0m cachePolicy: [4;39mURLRequest[0;0m.CachePolicy = .useProtocolCachePolicy,
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m125 |[0;0m httpShouldUsePipelining: Bool = false,
[0;36m126 |[0;0m networkServiceType: URLRequest.NetworkServiceType = .default,
/host/spi-builder-workspace/Sources/Relax/Request/Request+Configuration.swift:126:33: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m124 |[0;0m cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
[0;36m125 |[0;0m httpShouldUsePipelining: Bool = false,
[0;36m126 |[0;0m networkServiceType: [4;39mURLRequest[0;0m.NetworkServiceType = .default,
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m127 |[0;0m timeoutInterval: TimeInterval = 60,
[0;36m128 |[0;0m httpShouldHandleCookies: Bool = true,
/host/spi-builder-workspace/Sources/Relax/Request/Request+Configuration.swift:15:19: [1;31merror: [1;39mtype 'Request.Configuration' does not conform to protocol 'Hashable'[0;0m
[0;36m13 |[0;0m extension Request {
[0;36m14 |[0;0m /// Defines configuration options for requests to use
[0;36m15 |[0;0m public struct Configuration: Hashable {
[0;36m|[0;0m `- [1;31merror: [1;39mtype 'Request.Configuration' does not conform to protocol 'Hashable'[0;0m
[0;36m16 |[0;0m /// Allow access on cellular networks
[0;36m17 |[0;0m ///
[0;36m:[0;0m
[0;36m19 |[0;0m public var allowsCellularAccess: Bool
[0;36m20 |[0;0m /// The cache policy of the request
[0;36m21 |[0;0m public var cachePolicy: URLRequest.CachePolicy
[0;36m|[0;0m `- [1;39mnote: [1;39mstored property type '_' does not conform to protocol 'Hashable', preventing synthesized conformance of 'Request.Configuration' to 'Hashable'[0;0m
[0;36m22 |[0;0m /// Whether to continue transmitting data before receiving a response from an earlier transmission
[0;36m23 |[0;0m ///
[0;36m:[0;0m
[0;36m27 |[0;0m ///
[0;36m28 |[0;0m /// See [`networkServiceType`](https://developer.apple.com/documentation/foundation/urlrequest/2011409-networkservicetype)
[0;36m29 |[0;0m public var networkServiceType: URLRequest.NetworkServiceType
[0;36m|[0;0m `- [1;39mnote: [1;39mstored property type '_' does not conform to protocol 'Hashable', preventing synthesized conformance of 'Request.Configuration' to 'Hashable'[0;0m
[0;36m30 |[0;0m /// The timeout interval for the request
[0;36m31 |[0;0m public var timeoutInterval: TimeInterval
/host/spi-builder-workspace/Sources/Relax/Request/Request+Configuration.swift:15:19: [1;31merror: [1;39mtype 'Request.Configuration' does not conform to protocol 'Equatable'[0;0m
[0;36m13 |[0;0m extension Request {
[0;36m14 |[0;0m /// Defines configuration options for requests to use
[0;36m15 |[0;0m public struct Configuration: Hashable {
[0;36m|[0;0m |- [1;31merror: [1;39mtype 'Request.Configuration' does not conform to protocol 'Equatable'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39madd stubs for conformance[0;0m
[0;36m16 |[0;0m /// Allow access on cellular networks
[0;36m17 |[0;0m ///
[0;36m:[0;0m
[0;36m19 |[0;0m public var allowsCellularAccess: Bool
[0;36m20 |[0;0m /// The cache policy of the request
[0;36m21 |[0;0m public var cachePolicy: URLRequest.CachePolicy
[0;36m|[0;0m `- [1;39mnote: [1;39mstored property type '_' does not conform to protocol 'Equatable', preventing synthesized conformance of 'Request.Configuration' to 'Equatable'[0;0m
[0;36m22 |[0;0m /// Whether to continue transmitting data before receiving a response from an earlier transmission
[0;36m23 |[0;0m ///
[0;36m:[0;0m
[0;36m27 |[0;0m ///
[0;36m28 |[0;0m /// See [`networkServiceType`](https://developer.apple.com/documentation/foundation/urlrequest/2011409-networkservicetype)
[0;36m29 |[0;0m public var networkServiceType: URLRequest.NetworkServiceType
[0;36m|[0;0m `- [1;39mnote: [1;39mstored property type '_' does not conform to protocol 'Equatable', preventing synthesized conformance of 'Request.Configuration' to 'Equatable'[0;0m
[0;36m30 |[0;0m /// The timeout interval for the request
[0;36m31 |[0;0m public var timeoutInterval: TimeInterval
Swift.==:1:24: [1;39mnote: [1;39mcandidate would match if 'Request.Configuration' conformed to 'RawRepresentable'[0;0m
[0;36m1 |[0;0m @inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
[0;36m|[0;0m `- [1;39mnote: [1;39mcandidate would match if 'Request.Configuration' conformed to 'RawRepresentable'[0;0m
Swift.FloatingPoint.==:2:20: [1;39mnote: [1;39mcandidate would match if 'Request.Configuration' conformed to 'FloatingPoint'[0;0m
[0;36m1 |[0;0m protocol FloatingPoint {
[0;36m2 |[0;0m public static func == (lhs: Self, rhs: Self) -> Bool}
[0;36m|[0;0m `- [1;39mnote: [1;39mcandidate would match if 'Request.Configuration' conformed to 'FloatingPoint'[0;0m
[0;36m3 |[0;0m
Swift.BinaryInteger.==:2:20: [1;39mnote: [1;39mcandidate would match if 'Request.Configuration' conformed to 'BinaryInteger'[0;0m
[0;36m1 |[0;0m protocol BinaryInteger {
[0;36m2 |[0;0m public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
[0;36m|[0;0m `- [1;39mnote: [1;39mcandidate would match if 'Request.Configuration' conformed to 'BinaryInteger'[0;0m
[0;36m3 |[0;0m
Swift._Pointer.==:2:20: [1;39mnote: [1;39mcandidate would match if 'Request.Configuration' conformed to '_Pointer'[0;0m
[0;36m1 |[0;0m protocol _Pointer {
[0;36m2 |[0;0m public static func == (lhs: Self, rhs: Self) -> Bool}
[0;36m|[0;0m `- [1;39mnote: [1;39mcandidate would match if 'Request.Configuration' conformed to '_Pointer'[0;0m
[0;36m3 |[0;0m
Swift._Pointer.==:2:31: [1;39mnote: [1;39mcandidate would match if 'Request.Configuration' conformed to '_Pointer'[0;0m
[0;36m1 |[0;0m protocol _Pointer {
[0;36m2 |[0;0m @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer}
[0;36m|[0;0m `- [1;39mnote: [1;39mcandidate would match if 'Request.Configuration' conformed to '_Pointer'[0;0m
[0;36m3 |[0;0m
Swift.Strideable.==:2:31: [1;39mnote: [1;39mcandidate would match if 'Request.Configuration' conformed to 'Strideable'[0;0m
[0;36m1 |[0;0m protocol Strideable {
[0;36m2 |[0;0m @inlinable public static func == (x: Self, y: Self) -> Bool}
[0;36m|[0;0m `- [1;39mnote: [1;39mcandidate would match if 'Request.Configuration' conformed to 'Strideable'[0;0m
[0;36m3 |[0;0m
Swift.StringProtocol.==:2:31: [1;39mnote: [1;39mcandidate would match if 'Request.Configuration' conformed to 'StringProtocol'[0;0m
[0;36m1 |[0;0m protocol StringProtocol {
[0;36m2 |[0;0m @inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol}
[0;36m|[0;0m `- [1;39mnote: [1;39mcandidate would match if 'Request.Configuration' conformed to 'StringProtocol'[0;0m
[0;36m3 |[0;0m
Swift.SIMD.==:2:20: [1;39mnote: [1;39mcandidate would match if 'Request.Configuration' conformed to 'SIMD'[0;0m
[0;36m1 |[0;0m protocol SIMD {
[0;36m2 |[0;0m public static func == (a: Self, b: Self) -> Bool}
[0;36m|[0;0m `- [1;39mnote: [1;39mcandidate would match if 'Request.Configuration' conformed to 'SIMD'[0;0m
[0;36m3 |[0;0m
Foundation.__BridgedNSError.==:2:20: [1;39mnote: [1;39mcandidate would match if 'Request.Configuration' conformed to '__BridgedNSError'[0;0m
[0;36m1 |[0;0m protocol __BridgedNSError {
[0;36m2 |[0;0m public static func == (lhs: Self, rhs: Self) -> Bool}
[0;36m|[0;0m `- [1;39mnote: [1;39mcandidate would match if 'Request.Configuration' conformed to '__BridgedNSError'[0;0m
[0;36m3 |[0;0m
Foundation._BridgedStoredNSError.==:2:20: [1;39mnote: [1;39mcandidate would match if 'Request.Configuration' conformed to '_BridgedStoredNSError'[0;0m
[0;36m1 |[0;0m protocol _BridgedStoredNSError {
[0;36m2 |[0;0m public static func == (lhs: Self, rhs: Self) -> Bool}
[0;36m|[0;0m `- [1;39mnote: [1;39mcandidate would match if 'Request.Configuration' conformed to '_BridgedStoredNSError'[0;0m
[0;36m3 |[0;0m
FoundationEssentials.AttributedStringProtocol.==:2:20: [1;39mnote: [1;39mcandidate would match if 'Request.Configuration' conformed to 'AttributedStringProtocol'[0;0m
[0;36m1 |[0;0m protocol AttributedStringProtocol {
[0;36m2 |[0;0m public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol}
[0;36m|[0;0m `- [1;39mnote: [1;39mcandidate would match if 'Request.Configuration' conformed to 'AttributedStringProtocol'[0;0m
[0;36m3 |[0;0m
Swift.Equatable.==:2:13: [1;39mnote: [1;39mprotocol requires function '==' with type '(borrowing Request.Configuration, borrowing Request.Configuration) -> Bool'[0;0m
[0;36m1 |[0;0m protocol Equatable {
[0;36m2 |[0;0m static func == (lhs: borrowing Self, rhs: borrowing Self) -> Bool}
[0;36m|[0;0m `- [1;39mnote: [1;39mprotocol requires function '==' with type '(borrowing Request.Configuration, borrowing Request.Configuration) -> Bool'[0;0m
[0;36m3 |[0;0m
/host/spi-builder-workspace/Sources/Relax/Request/Request+Send.swift:20:65: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m18 |[0;0m /// - urlResponse: The response received
[0;36m19 |[0;0m /// - data: Data received in the request. If there is no data in the response, then this will be 0 bytes.
[0;36m20 |[0;0m public typealias Response = (request: Request, urlResponse: [4;39mHTTPURLResponse[0;0m, data: Data)
[0;36m|[0;0m `- [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m21 |[0;0m
[0;36m22 |[0;0m /// Response for decoding Decodable objects from an HTTP request
Foundation.HTTPURLResponse:2:18: [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias HTTPURLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Relax/Request/Request+Send.swift:28:88: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m26 |[0;0m /// - urlResponse: The response received
[0;36m27 |[0;0m /// - responseModel: The model decoded from data received
[0;36m28 |[0;0m public typealias ResponseModel<Model: Decodable> = (request: Request, urlResponse: [4;39mHTTPURLResponse[0;0m, responseModel: Model)
[0;36m|[0;0m `- [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m29 |[0;0m
[0;36m30 |[0;0m /// Completion handler response for a request
Foundation.HTTPURLResponse:2:18: [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias HTTPURLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Relax/Request/Request+Send.swift:46:18: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m44 |[0;0m @discardableResult
[0;36m45 |[0;0m public func send(
[0;36m46 |[0;0m session: [4;39mURLSession[0;0m? = nil,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m47 |[0;0m autoResumeTask: Bool = true,
[0;36m48 |[0;0m completion: @escaping Request.Completion
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Relax/Request/Request+Send.swift:49:10: [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m47 |[0;0m autoResumeTask: Bool = true,
[0;36m48 |[0;0m completion: @escaping Request.Completion
[0;36m49 |[0;0m ) -> [4;39mURLSessionDataTask[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m50 |[0;0m let task = (session ?? self.session).dataTask(with: urlRequest) { data, response, error in
[0;36m51 |[0;0m guard error == nil,
Foundation.URLSessionDataTask:2:18: [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionDataTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Relax/Request/Request+Send.swift:110:18: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m108 |[0;0m public func send<ResponseModel: Decodable>(
[0;36m109 |[0;0m decoder: JSONDecoder? = nil,
[0;36m110 |[0;0m session: [4;39mURLSession[0;0m? = nil,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m111 |[0;0m completion: @escaping (_ result: Result<ResponseModel, RequestError>) -> Void
[0;36m112 |[0;0m ) {
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Relax/Request/Request+Send.swift:135:18: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m133 |[0;0m public func send<ResponseModel: Decodable>(
[0;36m134 |[0;0m decoder: JSONDecoder? = nil,
[0;36m135 |[0;0m session: [4;39mURLSession[0;0m? = nil,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m136 |[0;0m completion: @escaping Request.ModelCompletion<ResponseModel>
[0;36m137 |[0;0m ) {
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Relax/Request/Request+SendAsync.swift:21:70: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m19 |[0;0m /// - urlResponse: The response received
[0;36m20 |[0;0m /// - data: Data received. If there is no data in the response, then this will be 0 bytes.
[0;36m21 |[0;0m public typealias AsyncResponse = (request: Request, urlResponse: [4;39mHTTPURLResponse[0;0m, data: Data)
[0;36m|[0;0m `- [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m22 |[0;0m
[0;36m23 |[0;0m /// Send a request asynchronously
Foundation.HTTPURLResponse:2:18: [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias HTTPURLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Relax/Request/Request+SendAsync.swift:31:18: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m29 |[0;0m @discardableResult
[0;36m30 |[0;0m public func send(
[0;36m31 |[0;0m session: [4;39mURLSession[0;0m? = nil
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m32 |[0;0m ) async throws -> AsyncResponse {
[0;36m33 |[0;0m var task: URLSessionDataTask?
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Relax/Request/Request+SendAsync.swift:65:18: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m63 |[0;0m public func send<ResponseModel: Decodable>(
[0;36m64 |[0;0m decoder: JSONDecoder? = nil,
[0;36m65 |[0;0m session: [4;39mURLSession[0;0m? = nil
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m66 |[0;0m ) async throws -> ResponseModel {
[0;36m67 |[0;0m let response: AsyncResponse = try await send(session: session)
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Relax/Request/Request.swift:113:25: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m111 |[0;0m ///
[0;36m112 |[0;0m /// - Tip: The session can also be overridden when sending requests.
[0;36m113 |[0;0m public var session: [4;39mURLSession[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m114 |[0;0m
[0;36m115 |[0;0m /// The decoder to use for this request
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Relax/Request/Request.swift:139:28: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m137 |[0;0m
[0;36m138 |[0;0m /// The URLRequest of the request
[0;36m139 |[0;0m public var urlRequest: [4;39mURLRequest[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m140 |[0;0m var request = URLRequest(url: url)
[0;36m141 |[0;0m request.httpMethod = httpMethod.rawValue
/host/spi-builder-workspace/Sources/Relax/Request/Request.swift:182:18: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m180 |[0;0m url: URL,
[0;36m181 |[0;0m configuration: Configuration = .default,
[0;36m182 |[0;0m session: [4;39mURLSession[0;0m = .shared,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m183 |[0;0m decoder: JSONDecoder = JSONDecoder(),
[0;36m184 |[0;0m @Request.Properties.Builder properties: () -> Request.Properties = { .empty }
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Relax/Request/Request.swift:182:32: [1;31merror: [1;39mvalue of type '_' expected to be instance of class or class-constrained type[0;0m
[0;36m180 |[0;0m url: URL,
[0;36m181 |[0;0m configuration: Configuration = .default,
[0;36m182 |[0;0m session: URLSession = .shared,
[0;36m|[0;0m `- [1;31merror: [1;39mvalue of type '_' expected to be instance of class or class-constrained type[0;0m
[0;36m183 |[0;0m decoder: JSONDecoder = JSONDecoder(),
[0;36m184 |[0;0m @Request.Properties.Builder properties: () -> Request.Properties = { .empty }
/host/spi-builder-workspace/Sources/Relax/Request/Request.swift:182:32: [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m180 |[0;0m url: URL,
[0;36m181 |[0;0m configuration: Configuration = .default,
[0;36m182 |[0;0m session: URLSession = [4;39m.shared[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m183 |[0;0m decoder: JSONDecoder = JSONDecoder(),
[0;36m184 |[0;0m @Request.Properties.Builder properties: () -> Request.Properties = { .empty }
/host/spi-builder-workspace/Sources/Relax/Request/Request.swift:223:18: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m221 |[0;0m parent: APIComponent.Type,
[0;36m222 |[0;0m configuration: Configuration? = nil,
[0;36m223 |[0;0m session: [4;39mURLSession[0;0m? = nil,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m224 |[0;0m decoder: JSONDecoder? = nil,
[0;36m225 |[0;0m @Request.Properties.Builder properties: () -> Request.Properties = { .empty }
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Relax/Request/Request.swift:241:19: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m239 |[0;0m url: URL,
[0;36m240 |[0;0m configuration: Configuration,
[0;36m241 |[0;0m sesssion: [4;39mURLSession[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m242 |[0;0m decoder: JSONDecoder,
[0;36m243 |[0;0m properties: Properties
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
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