Build Information
Failed to build AsyncHTTP, reference 1.1.0 (56228f), with Swift 6.4 for Wasm on 18 Sep 2026 13:43:35 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344843-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/tevelee/AsyncHTTP.git
Reference: 1.1.0
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/tevelee/AsyncHTTP
* tag 1.1.0 -> FETCH_HEAD
HEAD is now at 56228ff Adopting primary associated types
Cloned https://github.com/tevelee/AsyncHTTP.git
Revision (git rev-parse @):
56228ff141d61083071bd941db2918a4dc040143
SUCCESS checkout https://github.com/tevelee/AsyncHTTP.git at 1.1.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.4
Building package at path: $PWD
https://github.com/tevelee/AsyncHTTP.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-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
Fetching https://github.com/apple/swift-docc-plugin
[1/2345] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin (0.56s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.5.0 (0.76s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3823] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit (0.57s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.79s)
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.5.0
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Building for debugging...
[Planning deferred tasks]
error: SwiftCompile normal wasm32 failed with a nonzero exit code. Command line: cd /host
/host/spi-builder-workspace/Sources/AsyncHTTP/Loaders/HTTP.swift:6:33: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m4 |[0;0m #endif
[0;36m5 |[0;0m
[0;36m6 |[0;0m extension Loader where Input == [4;39mURLRequest[0;0m, Output == (Data, URLResponse) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m7 |[0;0m #if compiler(>=5.7)
[0;36m8 |[0;0m @_disfavoredOverload
/host/spi-builder-workspace/Sources/AsyncHTTP/Loaders/HTTP.swift:9:57: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m7 |[0;0m #if compiler(>=5.7)
[0;36m8 |[0;0m @_disfavoredOverload
[0;36m9 |[0;0m public func httpLoader(modify: ((HTTPRequest, inout [4;39mURLRequest[0;0m) -> Void)? = nil) -> some HTTPLoader {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m10 |[0;0m Loaders.HTTP(loader: self, modify: modify)
[0;36m11 |[0;0m }
/host/spi-builder-workspace/Sources/AsyncHTTP/Loaders/HTTP.swift:24:81: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m22 |[0;0m
[0;36m23 |[0;0m extension Loaders {
[0;36m24 |[0;0m public struct HTTP<Wrapped: Loader>: CompositeLoader where Wrapped.Input == [4;39mURLRequest[0;0m, Wrapped.Output == (Data, URLResponse) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m25 |[0;0m private let loader: Wrapped
[0;36m26 |[0;0m private let modify: ((HTTPRequest, inout URLRequest) -> Void)?
/host/spi-builder-workspace/Sources/AsyncHTTP/Loaders/HTTP.swift:14:57: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m12 |[0;0m #endif
[0;36m13 |[0;0m
[0;36m14 |[0;0m public func httpLoader(modify: ((HTTPRequest, inout [4;39mURLRequest[0;0m) -> Void)? = nil) -> Loaders.HTTP<Self> {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m15 |[0;0m Loaders.HTTP(loader: self, modify: modify)
[0;36m16 |[0;0m }
/host/spi-builder-workspace/Sources/AsyncHTTP/Loaders/HTTP.swift:6:62: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m4 |[0;0m #endif
[0;36m5 |[0;0m
[0;36m6 |[0;0m extension Loader where Input == URLRequest, Output == (Data, [4;39mURLResponse[0;0m) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m7 |[0;0m #if compiler(>=5.7)
[0;36m8 |[0;0m @_disfavoredOverload
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' 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 URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/AsyncHTTP/Loaders/HTTP.swift:26:50: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m24 |[0;0m public struct HTTP<Wrapped: Loader>: CompositeLoader where Wrapped.Input == URLRequest, Wrapped.Output == (Data, URLResponse) {
[0;36m25 |[0;0m private let loader: Wrapped
[0;36m26 |[0;0m private let modify: ((HTTPRequest, inout [4;39mURLRequest[0;0m) -> Void)?
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m27 |[0;0m
[0;36m28 |[0;0m public init(loader: Wrapped, modify: ((HTTPRequest, inout URLRequest) -> Void)? = nil) {
/host/spi-builder-workspace/Sources/AsyncHTTP/Loaders/HTTP.swift:28:67: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m26 |[0;0m private let modify: ((HTTPRequest, inout URLRequest) -> Void)?
[0;36m27 |[0;0m
[0;36m28 |[0;0m public init(loader: Wrapped, modify: ((HTTPRequest, inout [4;39mURLRequest[0;0m) -> Void)? = nil) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m29 |[0;0m self.loader = loader
[0;36m30 |[0;0m self.modify = modify
/host/spi-builder-workspace/Sources/AsyncHTTP/Loaders/HTTP.swift:47:21: [1;31merror: [1;39mtype 'Loaders.HTTP<Wrapped>.Error' does not conform to protocol 'Equatable'[0;0m
[0;36m45 |[0;0m }
[0;36m46 |[0;0m
[0;36m47 |[0;0m public enum Error: Swift.Error {
[0;36m|[0;0m `- [1;31merror: [1;39mtype 'Loaders.HTTP<Wrapped>.Error' does not conform to protocol 'Equatable'[0;0m
[0;36m48 |[0;0m case invalidRequest
[0;36m49 |[0;0m case notHTTPURLResponse
/host/spi-builder-workspace/Sources/AsyncHTTP/Loaders/HTTP.swift:47:21: [1;31merror: [1;39mprotocol 'Equatable' is broken; cannot derive conformance for type 'Loaders.HTTP<Wrapped>.Error'[0;0m
[0;36m45 |[0;0m }
[0;36m46 |[0;0m
[0;36m47 |[0;0m public enum Error: Swift.Error {
[0;36m|[0;0m `- [1;31merror: [1;39mprotocol 'Equatable' is broken; cannot derive conformance for type 'Loaders.HTTP<Wrapped>.Error'[0;0m
[0;36m48 |[0;0m case invalidRequest
[0;36m49 |[0;0m case notHTTPURLResponse
/host/spi-builder-workspace/Sources/AsyncHTTP/Loaders/HTTP.swift:47:21: [1;31merror: [1;39mtype 'Loaders.HTTP<Wrapped>.Error' does not conform to protocol 'Hashable'[0;0m
[0;36m45 |[0;0m }
[0;36m46 |[0;0m
[0;36m47 |[0;0m public enum Error: Swift.Error {
[0;36m|[0;0m `- [1;31merror: [1;39mtype 'Loaders.HTTP<Wrapped>.Error' does not conform to protocol 'Hashable'[0;0m
[0;36m48 |[0;0m case invalidRequest
[0;36m49 |[0;0m case notHTTPURLResponse
/host/spi-builder-workspace/Sources/AsyncHTTP/Loaders/HTTP.swift:47:21: [1;31merror: [1;39mprotocol 'Hashable' is broken; cannot derive conformance for type 'Loaders.HTTP<Wrapped>.Error'[0;0m
[0;36m45 |[0;0m }
[0;36m46 |[0;0m
[0;36m47 |[0;0m public enum Error: Swift.Error {
[0;36m|[0;0m `- [1;31merror: [1;39mprotocol 'Hashable' is broken; cannot derive conformance for type 'Loaders.HTTP<Wrapped>.Error'[0;0m
[0;36m48 |[0;0m case invalidRequest
[0;36m49 |[0;0m case notHTTPURLResponse
/host/spi-builder-workspace/Sources/AsyncHTTP/Loaders/HTTP.swift:47:21: [1;31merror: [1;39mprotocol 'Hashable' is broken; cannot derive conformance for type 'Loaders.HTTP<Wrapped>.Error'[0;0m
[0;36m45 |[0;0m }
[0;36m46 |[0;0m
[0;36m47 |[0;0m public enum Error: Swift.Error {
[0;36m|[0;0m `- [1;31merror: [1;39mprotocol 'Hashable' is broken; cannot derive conformance for type 'Loaders.HTTP<Wrapped>.Error'[0;0m
[0;36m48 |[0;0m case invalidRequest
[0;36m49 |[0;0m case notHTTPURLResponse
/host/spi-builder-workspace/Sources/AsyncHTTP/Loaders/HTTP.swift:24:118: [1;31merror: [1;39m'URLResponse' 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 extension Loaders {
[0;36m24 |[0;0m public struct HTTP<Wrapped: Loader>: CompositeLoader where Wrapped.Input == URLRequest, Wrapped.Output == (Data, [4;39mURLResponse[0;0m) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m25 |[0;0m private let loader: Wrapped
[0;36m26 |[0;0m private let modify: ((HTTPRequest, inout URLRequest) -> Void)?
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' 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 URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/AsyncHTTP/Loaders/HTTP.swift:24:19: [1;31merror: [1;39mtype 'Loaders.HTTP<Wrapped>' does not conform to protocol 'Loader'[0;0m
[0;36m22 |[0;0m
[0;36m23 |[0;0m extension Loaders {
[0;36m24 |[0;0m public struct HTTP<Wrapped: Loader>: CompositeLoader where Wrapped.Input == URLRequest, Wrapped.Output == (Data, URLResponse) {
[0;36m|[0;0m |- [1;31merror: [1;39mtype 'Loaders.HTTP<Wrapped>' does not conform to protocol 'Loader'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39madd stubs for conformance[0;0m
[0;36m25 |[0;0m private let loader: Wrapped
[0;36m26 |[0;0m private let modify: ((HTTPRequest, inout URLRequest) -> Void)?
[0;36m:[0;0m
[0;36m31 |[0;0m }
[0;36m32 |[0;0m
[0;36m33 |[0;0m public func load(_ request: HTTPRequest) async throws -> HTTPResponse {
[0;36m|[0;0m `- [1;39mnote: [1;39mcandidate has non-matching type '<Wrapped> (HTTPRequest) async throws -> HTTPResponse' [with Input = HTTPRequest, Output = HTTPResponse][0;0m
[0;36m34 |[0;0m guard var urlRequest = request.urlRequest else {
[0;36m35 |[0;0m throw Self.Error.invalidRequest
/host/spi-builder-workspace/Sources/AsyncHTTP/Loader.swift:10:10: [1;39mnote: [1;39mprotocol requires function 'load' with type '(HTTPRequest) async throws -> HTTPResponse'[0;0m
[0;36m8 |[0;0m associatedtype Input
[0;36m9 |[0;0m associatedtype Output
[0;36m10 |[0;0m func load(_ input: Input) async throws -> Output
[0;36m|[0;0m `- [1;39mnote: [1;39mprotocol requires function 'load' with type '(HTTPRequest) async throws -> HTTPResponse'[0;0m
[0;36m11 |[0;0m }
[0;36m12 |[0;0m #else
/host/spi-builder-workspace/Sources/AsyncHTTP/Loaders/URLSession.swift:21:1: [1;31merror: [1;39mnon-nominal type 'URLSession' (aka 'AnyObject') cannot be extended[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
[0;36m19 |[0;0m #endif
[0;36m20 |[0;0m
[0;36m21 |[0;0m extension [4;39mURLSession[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mnon-nominal type 'URLSession' (aka 'AnyObject') cannot be extended[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
[0;36m22 |[0;0m #if compiler(>=5.7)
[0;36m23 |[0;0m public var dataLoader: some Loader<URLRequest, (Data, URLResponse)> {
/host/spi-builder-workspace/Sources/AsyncHTTP/Loaders/URLSession.swift:43:33: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m41 |[0;0m extension Loaders {
[0;36m42 |[0;0m public struct URLSessionData: Loader {
[0;36m43 |[0;0m private let urlSession: [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;36m44 |[0;0m
[0;36m45 |[0;0m init(urlSession: URLSession = .shared) {
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/AsyncHTTP/Loaders/URLSession.swift:45:26: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m43 |[0;0m private let urlSession: URLSession
[0;36m44 |[0;0m
[0;36m45 |[0;0m init(urlSession: [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;36m46 |[0;0m self.urlSession = urlSession
[0;36m47 |[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/AsyncHTTP/Loaders/URLSession.swift:45:40: [1;31merror: [1;39mvalue of type '_' expected to be instance of class or class-constrained type[0;0m
[0;36m43 |[0;0m private let urlSession: URLSession
[0;36m44 |[0;0m
[0;36m45 |[0;0m init(urlSession: 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;36m46 |[0;0m self.urlSession = urlSession
[0;36m47 |[0;0m }
/host/spi-builder-workspace/Sources/AsyncHTTP/Loaders/URLSession.swift:45:40: [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m43 |[0;0m private let urlSession: URLSession
[0;36m44 |[0;0m
[0;36m45 |[0;0m init(urlSession: URLSession = [4;39m.shared[0;0m) {
[0;36m|[0;0m `- [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m46 |[0;0m self.urlSession = urlSession
[0;36m47 |[0;0m }
/host/spi-builder-workspace/Sources/AsyncHTTP/Loaders/URLSession.swift:49:37: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m47 |[0;0m }
[0;36m48 |[0;0m
[0;36m49 |[0;0m public func load(_ request: [4;39mURLRequest[0;0m) async throws -> (Data, URLResponse) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m50 |[0;0m try await urlSession.data(for: request)
[0;36m51 |[0;0m }
/host/spi-builder-workspace/Sources/AsyncHTTP/Loaders/URLSession.swift:49:72: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m47 |[0;0m }
[0;36m48 |[0;0m
[0;36m49 |[0;0m public func load(_ request: URLRequest) async throws -> (Data, [4;39mURLResponse[0;0m) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m50 |[0;0m try await urlSession.data(for: request)
[0;36m51 |[0;0m }
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' 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 URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/AsyncHTTP/Loaders/URLSession.swift:42:19: [1;31merror: [1;39mtype 'Loaders.URLSessionData' does not conform to protocol 'Loader'[0;0m
[0;36m40 |[0;0m
[0;36m41 |[0;0m extension Loaders {
[0;36m42 |[0;0m public struct URLSessionData: Loader {
[0;36m|[0;0m |- [1;31merror: [1;39mtype 'Loaders.URLSessionData' does not conform to protocol 'Loader'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39madd stubs for conformance[0;0m
[0;36m43 |[0;0m private let urlSession: URLSession
[0;36m44 |[0;0m
/host/spi-builder-workspace/Sources/AsyncHTTP/Loader.swift:8:20: [1;39mnote: [1;39mprotocol requires nested type 'Input'[0;0m
[0;36m6 |[0;0m #if compiler(>=5.7)
[0;36m7 |[0;0m @rethrows public protocol Loader<Input, Output> {
[0;36m8 |[0;0m associatedtype Input
[0;36m|[0;0m `- [1;39mnote: [1;39mprotocol requires nested type 'Input'[0;0m
[0;36m9 |[0;0m associatedtype Output
[0;36m|[0;0m `- [1;39mnote: [1;39mprotocol requires nested type 'Output'[0;0m
[0;36m10 |[0;0m func load(_ input: Input) async throws -> Output
[0;36m11 |[0;0m }
/host/spi-builder-workspace/Sources/AsyncHTTP/Loaders/URLSession.swift:23:40: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m21 |[0;0m extension URLSession {
[0;36m22 |[0;0m #if compiler(>=5.7)
[0;36m23 |[0;0m public var dataLoader: some Loader<[4;39mURLRequest[0;0m, (Data, URLResponse)> {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m24 |[0;0m Loaders.URLSessionData(urlSession: self)
[0;36m25 |[0;0m }
/host/spi-builder-workspace/Sources/AsyncHTTP/Model/HTTPRequest.swift:60:30: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m58 |[0;0m }
[0;36m59 |[0;0m
[0;36m60 |[0;0m internal var urlRequest: [4;39mURLRequest[0;0m? {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m61 |[0;0m guard let url = url else {
[0;36m62 |[0;0m return nil
/host/spi-builder-workspace/Sources/AsyncHTTP/Model/HTTPRequest.swift:141:40: [1;31merror: [1;39m'HTTPCookie' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m139 |[0;0m }
[0;36m140 |[0;0m
[0;36m141 |[0;0m public mutating func set(cookies: [[4;39mHTTPCookie[0;0m]) {
[0;36m|[0;0m `- [1;31merror: [1;39m'HTTPCookie' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m142 |[0;0m let newHeaders = HTTPCookie.requestHeaderFields(with: cookies).mapKeys(HTTPHeader<String>.init(name:))
[0;36m143 |[0;0m headers.merge(newHeaders) { _, new in new }
Foundation.HTTPCookie:2:18: [1;39mnote: [1;39m'HTTPCookie' 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 HTTPCookie = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'HTTPCookie' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/AsyncHTTP/Model/HTTPRequest.swift:146:38: [1;31merror: [1;39m'HTTPCookie' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m144 |[0;0m }
[0;36m145 |[0;0m
[0;36m146 |[0;0m public mutating func add(cookie: [4;39mHTTPCookie[0;0m) {
[0;36m|[0;0m `- [1;31merror: [1;39m'HTTPCookie' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m147 |[0;0m addCookie(name: cookie.name, value: cookie.value)
[0;36m148 |[0;0m }
Foundation.HTTPCookie:2:18: [1;39mnote: [1;39m'HTTPCookie' 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 HTTPCookie = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'HTTPCookie' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/AsyncHTTP/Model/HTTPRequest.swift:186:37: [1;33mwarning: [1;39mconformance of 'URLComponents' to protocol 'Sendable' was already stated in the type's module 'FoundationEssentials'[0;0m
[0;36m184 |[0;0m }
[0;36m185 |[0;0m
[0;36m186 |[0;0m extension URLComponents: @unchecked Sendable {}
[0;36m|[0;0m `- [1;33mwarning: [1;39mconformance of 'URLComponents' to protocol 'Sendable' was already stated in the type's module 'FoundationEssentials'[0;0m
[0;36m187 |[0;0m extension AnyHashable: @unchecked Sendable {}
[0;36m188 |[0;0m
FoundationEssentials.URLComponents:2:15: [1;39mnote: [1;39m'URLComponents' declares conformance to protocol 'Sendable' here[0;0m
[0;36m1 |[0;0m @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
[0;36m2 |[0;0m public struct URLComponents : Hashable, Equatable, Sendable {
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLComponents' declares conformance to protocol 'Sendable' here[0;0m
[0;36m3 |[0;0m public init()
[0;36m4 |[0;0m public init?(url: __shared URL, resolvingAgainstBaseURL resolve: Bool)
/host/spi-builder-workspace/Sources/AsyncHTTP/Model/HTTPRequest.swift:187:35: [1;33mwarning: [1;39m'AnyHashable' was declared with an unavailable 'Sendable' conformance in 'Swift'; conforming here risks data races[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unavailable-sendable-conformance\UnavailableSendableConformance]8;;\]
[0;36m185 |[0;0m
[0;36m186 |[0;0m extension URLComponents: @unchecked Sendable {}
[0;36m187 |[0;0m extension AnyHashable: @unchecked Sendable {}
[0;36m|[0;0m `- [1;33mwarning: [1;39m'AnyHashable' was declared with an unavailable 'Sendable' conformance in 'Swift'; conforming here risks data races[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unavailable-sendable-conformance\UnavailableSendableConformance]8;;\]
[0;36m188 |[0;0m
Swift.AnyHashable:2:11: [1;39mnote: [1;39m'AnyHashable' declares unavailable conformance to protocol 'Sendable' here[0;0m
[0;36m1 |[0;0m @available(*, unavailable)
[0;36m2 |[0;0m extension AnyHashable : Sendable {
[0;36m|[0;0m `- [1;39mnote: [1;39m'AnyHashable' declares unavailable conformance to protocol 'Sendable' here[0;0m
[0;36m3 |[0;0m }
/host/spi-builder-workspace/Sources/AsyncHTTP/Model/HTTPRequestBody.swift:113:28: [1;33mwarning: [1;39mconformance of 'Data' to protocol 'Sendable' was already stated in the type's module 'FoundationEssentials'[0;0m
[0;36m111 |[0;0m }
[0;36m112 |[0;0m
[0;36m113 |[0;0m extension Data: @unchecked Sendable {}
[0;36m|[0;0m `- [1;33mwarning: [1;39mconformance of 'Data' to protocol 'Sendable' was already stated in the type's module 'FoundationEssentials'[0;0m
[0;36m114 |[0;0m
FoundationEssentials.Data:2:23: [1;39mnote: [1;39m'Data' declares conformance to protocol 'Sendable' here[0;0m
[0;36m1 |[0;0m @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
[0;36m2 |[0;0m @frozen public struct Data : RandomAccessCollection, MutableCollection, RangeReplaceableCollection, Sendable, Hashable {
[0;36m|[0;0m `- [1;39mnote: [1;39m'Data' declares conformance to protocol 'Sendable' here[0;0m
[0;36m3 |[0;0m public typealias Index = Int
[0;36m4 |[0;0m public typealias Indices = Range<Int>
/host/spi-builder-workspace/Sources/AsyncHTTP/Model/HTTPResponse.swift:11:26: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m9 |[0;0m public struct HTTPResponse {
[0;36m10 |[0;0m public let request: HTTPRequest
[0;36m11 |[0;0m public let response: [4;39mHTTPURLResponse[0;0m
[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;36m12 |[0;0m public let body: Data
[0;36m13 |[0;0m
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/AsyncHTTP/Model/HTTPResponse.swift:38:26: [1;31merror: [1;39m'HTTPCookie' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m36 |[0;0m }
[0;36m37 |[0;0m
[0;36m38 |[0;0m public var cookies: [[4;39mHTTPCookie[0;0m]? {
[0;36m|[0;0m `- [1;31merror: [1;39m'HTTPCookie' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m39 |[0;0m let headers = self.headers.mapKeys(\.name)
[0;36m40 |[0;0m guard let url = url, !headers.isEmpty else {
Foundation.HTTPCookie:2:18: [1;39mnote: [1;39m'HTTPCookie' 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 HTTPCookie = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'HTTPCookie' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Timeout.swift:14:35: [1;31merror: [1;39mcannot find type 'DispatchTimeInterval' in scope[0;0m
[0;36m12 |[0;0m }
[0;36m13 |[0;0m
[0;36m14 |[0;0m public init?(maximumDuration: [4;39mDispatchTimeInterval[0;0m) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'DispatchTimeInterval' in scope[0;0m
[0;36m15 |[0;0m guard let duration = TimeInterval(dispatchTimeInterval: maximumDuration) else {
[0;36m16 |[0;0m return nil
/host/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Timeout.swift:103:33: [1;31merror: [1;39mcannot find type 'DispatchTimeInterval' in scope[0;0m
[0;36m101 |[0;0m
[0;36m102 |[0;0m extension TimeInterval {
[0;36m103 |[0;0m init?(dispatchTimeInterval: [4;39mDispatchTimeInterval[0;0m) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'DispatchTimeInterval' in scope[0;0m
[0;36m104 |[0;0m switch dispatchTimeInterval {
[0;36m105 |[0;0m case .seconds(let value):
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[#UnavailableSendableConformance]: <https://docs.swift.org/compiler/documentation/diagnostics/unavailable-sendable-conformance>
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Sources/AsyncHTTP/AsyncHTTP.swift /host/spi-builder-workspace/Sources/AsyncHTTP/Formatters/Formatter.swift /host/spi-builder-workspace/Sources/AsyncHTTP/Formatters/HTTPRequestFormatter.swift /host/spi-builder-workspace/Sources/AsyncHTTP/Formatters/HTTPResponseFormatter.swift /host/spi-builder-workspace/Sources/AsyncHTTP/Loader.swift /host/spi-builder-workspace/Sources/AsyncHTTP/Loaders/Any.swift /host/spi-builder-workspace/Sources/AsyncHTTP/Loaders/Capture.swift /host/spi-builder-workspace/Sources/AsyncHTTP/Loaders/Decode.swift /host/spi-builder-workspace/Sources/AsyncHTTP/Loaders/FlatMap.swift /host/spi-builder-workspace/Sources/AsyncHTTP/Loaders/HTTP.swift /host/spi-builder-workspace/Sources/AsyncHTTP/Loaders/Intercept.swift /host/spi-builder-workspace/Sources/AsyncHTTP/Loaders/Map.swift /host/spi-builder-workspace/Sources/AsyncHTTP/Loaders/Pipe.swift /host/spi-builder-workspace/Sources/AsyncHTTP/Loaders/Pullback.swift /host/spi-builder-workspace/Sources/AsyncHTTP/Loaders/URLSession.swift /host/spi-builder-workspace/Sources/AsyncHTTP/Model/HTTPHeader.swift /host/spi-builder-workspace/Sources/AsyncHTTP/Model/HTTPMethod.swift /host/spi-builder-workspace/Sources/AsyncHTTP/Model/HTTPRequest.swift /host/spi-builder-workspace/Sources/AsyncHTTP/Model/HTTPRequestBody.swift /host/spi-builder-workspace/Sources/AsyncHTTP/Model/HTTPResponse.swift /host/spi-builder-workspace/Sources/AsyncHTTP/Model/HTTPStatus.swift /host/spi-builder-workspace/Sources/AsyncHTTP/Model/HTTPVersion.swift /host/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift /host/spi-builder-workspace/Sources/AsyncHTTP/Model/URIScheme.swift /host/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Deduplication.swift /host/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Delay.swift /host/spi-builder-workspace/Sources/AsyncHTTP/Plugins/IdentifyRequests.swift /host/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Retry.swift /host/spi-builder-workspace/Sources/AsyncHTTP/Plugins/ServerEnvironment.swift /host/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Throttle.swift /host/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Timeout.swift /host/spi-builder-workspace/Sources/AsyncHTTP/Plugins/ValidateRequests.swift /host/spi-builder-workspace/Sources/AsyncHTTP/Utils/Combine.swift /host/spi-builder-workspace/Sources/AsyncHTTP/Utils/Converted.swift /host/spi-builder-workspace/Sources/AsyncHTTP/Utils/HTTPFormattible.swift /host/spi-builder-workspace/Sources/AsyncHTTP/Utils/Sorted.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/AsyncHTTP.build/Debug-webassembly-wasm32/AsyncHTTP-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/AsyncHTTP.build/Debug-webassembly-wasm32/AsyncHTTP-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/AsyncHTTP.build/Debug-webassembly-wasm32/AsyncHTTP-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name AsyncHTTP -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/AsyncHTTP.build/Debug-webassembly-wasm32/AsyncHTTP-t.build/Objects-normal/wasm32/AsyncHTTP_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/AsyncHTTP.build/Debug-webassembly-wasm32/AsyncHTTP-t.build/Objects-normal/wasm32/Modules/AsyncHTTP.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/AsyncHTTP.build/Debug-webassembly-wasm32/AsyncHTTP-t.build/Objects-normal/wasm32/Modules/AsyncHTTP.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/AsyncHTTP.build/Debug-webassembly-wasm32/AsyncHTTP-t.build/Objects-normal/wasm32/AsyncHTTP-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/AsyncHTTP.build/Debug-webassembly-wasm32/AsyncHTTP-t.build/Objects-normal/wasm32/AsyncHTTP-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/AsyncHTTP.build/Debug-webassembly-wasm32/AsyncHTTP-t.build/Objects-normal/wasm32/AsyncHTTP-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/AsyncHTTP.build/Debug-webassembly-wasm32/AsyncHTTP-t.build/Objects-normal/wasm32/Modules/AsyncHTTP.swiftmodule
error: Build failed
BUILD FAILURE 6.4 wasm