The Swift Package Index logo.Swift Package Index

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>&1

Build 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: error: cannot find type 'URLRequest' in scope
 4 | #endif
 5 |
 6 | extension Loader where Input == URLRequest, Output == (Data, URLResponse) {
   |                                 `- error: cannot find type 'URLRequest' in scope
 7 | #if compiler(>=5.7)
 8 |     @_disfavoredOverload
/host/spi-builder-workspace/Sources/AsyncHTTP/Loaders/HTTP.swift:9:57: error: cannot find type 'URLRequest' in scope
 7 | #if compiler(>=5.7)
 8 |     @_disfavoredOverload
 9 |     public func httpLoader(modify: ((HTTPRequest, inout URLRequest) -> Void)? = nil) -> some HTTPLoader {
   |                                                         `- error: cannot find type 'URLRequest' in scope
10 |         Loaders.HTTP(loader: self, modify: modify)
11 |     }
/host/spi-builder-workspace/Sources/AsyncHTTP/Loaders/HTTP.swift:24:81: error: cannot find type 'URLRequest' in scope
22 |
23 | extension Loaders {
24 |     public struct HTTP<Wrapped: Loader>: CompositeLoader where Wrapped.Input == URLRequest, Wrapped.Output == (Data, URLResponse) {
   |                                                                                 `- error: cannot find type 'URLRequest' in scope
25 |         private let loader: Wrapped
26 |         private let modify: ((HTTPRequest, inout URLRequest) -> Void)?
/host/spi-builder-workspace/Sources/AsyncHTTP/Loaders/HTTP.swift:14:57: error: cannot find type 'URLRequest' in scope
12 | #endif
13 |
14 |     public func httpLoader(modify: ((HTTPRequest, inout URLRequest) -> Void)? = nil) -> Loaders.HTTP<Self> {
   |                                                         `- error: cannot find type 'URLRequest' in scope
15 |         Loaders.HTTP(loader: self, modify: modify)
16 |     }
/host/spi-builder-workspace/Sources/AsyncHTTP/Loaders/HTTP.swift:6:62: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 4 | #endif
 5 |
 6 | extension Loader where Input == URLRequest, Output == (Data, URLResponse) {
   |                                                              `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 7 | #if compiler(>=5.7)
 8 |     @_disfavoredOverload
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AsyncHTTP/Loaders/HTTP.swift:26:50: error: cannot find type 'URLRequest' in scope
24 |     public struct HTTP<Wrapped: Loader>: CompositeLoader where Wrapped.Input == URLRequest, Wrapped.Output == (Data, URLResponse) {
25 |         private let loader: Wrapped
26 |         private let modify: ((HTTPRequest, inout URLRequest) -> Void)?
   |                                                  `- error: cannot find type 'URLRequest' in scope
27 |
28 |         public init(loader: Wrapped, modify: ((HTTPRequest, inout URLRequest) -> Void)? = nil) {
/host/spi-builder-workspace/Sources/AsyncHTTP/Loaders/HTTP.swift:28:67: error: cannot find type 'URLRequest' in scope
26 |         private let modify: ((HTTPRequest, inout URLRequest) -> Void)?
27 |
28 |         public init(loader: Wrapped, modify: ((HTTPRequest, inout URLRequest) -> Void)? = nil) {
   |                                                                   `- error: cannot find type 'URLRequest' in scope
29 |             self.loader = loader
30 |             self.modify = modify
/host/spi-builder-workspace/Sources/AsyncHTTP/Loaders/HTTP.swift:47:21: error: type 'Loaders.HTTP<Wrapped>.Error' does not conform to protocol 'Equatable'
45 |         }
46 |
47 |         public enum Error: Swift.Error {
   |                     `- error: type 'Loaders.HTTP<Wrapped>.Error' does not conform to protocol 'Equatable'
48 |             case invalidRequest
49 |             case notHTTPURLResponse
/host/spi-builder-workspace/Sources/AsyncHTTP/Loaders/HTTP.swift:47:21: error: protocol 'Equatable' is broken; cannot derive conformance for type 'Loaders.HTTP<Wrapped>.Error'
45 |         }
46 |
47 |         public enum Error: Swift.Error {
   |                     `- error: protocol 'Equatable' is broken; cannot derive conformance for type 'Loaders.HTTP<Wrapped>.Error'
48 |             case invalidRequest
49 |             case notHTTPURLResponse
/host/spi-builder-workspace/Sources/AsyncHTTP/Loaders/HTTP.swift:47:21: error: type 'Loaders.HTTP<Wrapped>.Error' does not conform to protocol 'Hashable'
45 |         }
46 |
47 |         public enum Error: Swift.Error {
   |                     `- error: type 'Loaders.HTTP<Wrapped>.Error' does not conform to protocol 'Hashable'
48 |             case invalidRequest
49 |             case notHTTPURLResponse
/host/spi-builder-workspace/Sources/AsyncHTTP/Loaders/HTTP.swift:47:21: error: protocol 'Hashable' is broken; cannot derive conformance for type 'Loaders.HTTP<Wrapped>.Error'
45 |         }
46 |
47 |         public enum Error: Swift.Error {
   |                     `- error: protocol 'Hashable' is broken; cannot derive conformance for type 'Loaders.HTTP<Wrapped>.Error'
48 |             case invalidRequest
49 |             case notHTTPURLResponse
/host/spi-builder-workspace/Sources/AsyncHTTP/Loaders/HTTP.swift:47:21: error: protocol 'Hashable' is broken; cannot derive conformance for type 'Loaders.HTTP<Wrapped>.Error'
45 |         }
46 |
47 |         public enum Error: Swift.Error {
   |                     `- error: protocol 'Hashable' is broken; cannot derive conformance for type 'Loaders.HTTP<Wrapped>.Error'
48 |             case invalidRequest
49 |             case notHTTPURLResponse
/host/spi-builder-workspace/Sources/AsyncHTTP/Loaders/HTTP.swift:24:118: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |
23 | extension Loaders {
24 |     public struct HTTP<Wrapped: Loader>: CompositeLoader where Wrapped.Input == URLRequest, Wrapped.Output == (Data, URLResponse) {
   |                                                                                                                      `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |         private let loader: Wrapped
26 |         private let modify: ((HTTPRequest, inout URLRequest) -> Void)?
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AsyncHTTP/Loaders/HTTP.swift:24:19: error: type 'Loaders.HTTP<Wrapped>' does not conform to protocol 'Loader'
22 |
23 | extension Loaders {
24 |     public struct HTTP<Wrapped: Loader>: CompositeLoader where Wrapped.Input == URLRequest, Wrapped.Output == (Data, URLResponse) {
   |                   |- error: type 'Loaders.HTTP<Wrapped>' does not conform to protocol 'Loader'
   |                   `- note: add stubs for conformance
25 |         private let loader: Wrapped
26 |         private let modify: ((HTTPRequest, inout URLRequest) -> Void)?
   :
31 |         }
32 |
33 |         public func load(_ request: HTTPRequest) async throws -> HTTPResponse {
   |                     `- note: candidate has non-matching type '<Wrapped> (HTTPRequest) async throws -> HTTPResponse' [with Input = HTTPRequest, Output = HTTPResponse]
34 |             guard var urlRequest = request.urlRequest else {
35 |                 throw Self.Error.invalidRequest
/host/spi-builder-workspace/Sources/AsyncHTTP/Loader.swift:10:10: note: protocol requires function 'load' with type '(HTTPRequest) async throws -> HTTPResponse'
 8 |     associatedtype Input
 9 |     associatedtype Output
10 |     func load(_ input: Input) async throws -> Output
   |          `- note: protocol requires function 'load' with type '(HTTPRequest) async throws -> HTTPResponse'
11 | }
12 | #else
/host/spi-builder-workspace/Sources/AsyncHTTP/Loaders/URLSession.swift:21:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
19 | #endif
20 |
21 | extension URLSession {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
22 | #if compiler(>=5.7)
23 |     public var dataLoader: some Loader<URLRequest, (Data, URLResponse)> {
/host/spi-builder-workspace/Sources/AsyncHTTP/Loaders/URLSession.swift:43:33: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
41 | extension Loaders {
42 |     public struct URLSessionData: Loader {
43 |         private let urlSession: URLSession
   |                                 `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
44 |
45 |         init(urlSession: URLSession = .shared) {
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/AsyncHTTP/Loaders/URLSession.swift:45:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
43 |         private let urlSession: URLSession
44 |
45 |         init(urlSession: URLSession = .shared) {
   |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
46 |             self.urlSession = urlSession
47 |         }
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/AsyncHTTP/Loaders/URLSession.swift:45:40: error: value of type '_' expected to be instance of class or class-constrained type
43 |         private let urlSession: URLSession
44 |
45 |         init(urlSession: URLSession = .shared) {
   |                                        `- error: value of type '_' expected to be instance of class or class-constrained type
46 |             self.urlSession = urlSession
47 |         }
/host/spi-builder-workspace/Sources/AsyncHTTP/Loaders/URLSession.swift:45:40: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
43 |         private let urlSession: URLSession
44 |
45 |         init(urlSession: URLSession = .shared) {
   |                                        `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
46 |             self.urlSession = urlSession
47 |         }
/host/spi-builder-workspace/Sources/AsyncHTTP/Loaders/URLSession.swift:49:37: error: cannot find type 'URLRequest' in scope
47 |         }
48 |
49 |         public func load(_ request: URLRequest) async throws -> (Data, URLResponse) {
   |                                     `- error: cannot find type 'URLRequest' in scope
50 |             try await urlSession.data(for: request)
51 |         }
/host/spi-builder-workspace/Sources/AsyncHTTP/Loaders/URLSession.swift:49:72: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
47 |         }
48 |
49 |         public func load(_ request: URLRequest) async throws -> (Data, URLResponse) {
   |                                                                        `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
50 |             try await urlSession.data(for: request)
51 |         }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AsyncHTTP/Loaders/URLSession.swift:42:19: error: type 'Loaders.URLSessionData' does not conform to protocol 'Loader'
40 |
41 | extension Loaders {
42 |     public struct URLSessionData: Loader {
   |                   |- error: type 'Loaders.URLSessionData' does not conform to protocol 'Loader'
   |                   `- note: add stubs for conformance
43 |         private let urlSession: URLSession
44 |
/host/spi-builder-workspace/Sources/AsyncHTTP/Loader.swift:8:20: note: protocol requires nested type 'Input'
 6 | #if compiler(>=5.7)
 7 | @rethrows public protocol Loader<Input, Output> {
 8 |     associatedtype Input
   |                    `- note: protocol requires nested type 'Input'
 9 |     associatedtype Output
   |                    `- note: protocol requires nested type 'Output'
10 |     func load(_ input: Input) async throws -> Output
11 | }
/host/spi-builder-workspace/Sources/AsyncHTTP/Loaders/URLSession.swift:23:40: error: cannot find type 'URLRequest' in scope
21 | extension URLSession {
22 | #if compiler(>=5.7)
23 |     public var dataLoader: some Loader<URLRequest, (Data, URLResponse)> {
   |                                        `- error: cannot find type 'URLRequest' in scope
24 |         Loaders.URLSessionData(urlSession: self)
25 |     }
/host/spi-builder-workspace/Sources/AsyncHTTP/Model/HTTPRequest.swift:60:30: error: cannot find type 'URLRequest' in scope
 58 |     }
 59 |
 60 |     internal var urlRequest: URLRequest? {
    |                              `- error: cannot find type 'URLRequest' in scope
 61 |         guard let url = url else {
 62 |             return nil
/host/spi-builder-workspace/Sources/AsyncHTTP/Model/HTTPRequest.swift:141:40: error: 'HTTPCookie' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
139 |     }
140 |
141 |     public mutating func set(cookies: [HTTPCookie]) {
    |                                        `- error: 'HTTPCookie' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
142 |         let newHeaders = HTTPCookie.requestHeaderFields(with: cookies).mapKeys(HTTPHeader<String>.init(name:))
143 |         headers.merge(newHeaders) { _, new in new }
Foundation.HTTPCookie:2:18: note: 'HTTPCookie' 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 HTTPCookie = AnyObject
  |                  `- note: 'HTTPCookie' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AsyncHTTP/Model/HTTPRequest.swift:146:38: error: 'HTTPCookie' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
144 |     }
145 |
146 |     public mutating func add(cookie: HTTPCookie) {
    |                                      `- error: 'HTTPCookie' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
147 |         addCookie(name: cookie.name, value: cookie.value)
148 |     }
Foundation.HTTPCookie:2:18: note: 'HTTPCookie' 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 HTTPCookie = AnyObject
  |                  `- note: 'HTTPCookie' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AsyncHTTP/Model/HTTPRequest.swift:186:37: warning: conformance of 'URLComponents' to protocol 'Sendable' was already stated in the type's module 'FoundationEssentials'
184 | }
185 |
186 | extension URLComponents: @unchecked Sendable {}
    |                                     `- warning: conformance of 'URLComponents' to protocol 'Sendable' was already stated in the type's module 'FoundationEssentials'
187 | extension AnyHashable: @unchecked Sendable {}
188 |
FoundationEssentials.URLComponents:2:15: note: 'URLComponents' declares conformance to protocol 'Sendable' here
 1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
 2 | public struct URLComponents : Hashable, Equatable, Sendable {
   |               `- note: 'URLComponents' declares conformance to protocol 'Sendable' here
 3 |     public init()
 4 |     public init?(url: __shared URL, resolvingAgainstBaseURL resolve: Bool)
/host/spi-builder-workspace/Sources/AsyncHTTP/Model/HTTPRequest.swift:187:35: warning: 'AnyHashable' was declared with an unavailable 'Sendable' conformance in 'Swift'; conforming here risks data races [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unavailable-sendable-conformance\UnavailableSendableConformance]8;;\]
185 |
186 | extension URLComponents: @unchecked Sendable {}
187 | extension AnyHashable: @unchecked Sendable {}
    |                                   `- warning: 'AnyHashable' was declared with an unavailable 'Sendable' conformance in 'Swift'; conforming here risks data races [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unavailable-sendable-conformance\UnavailableSendableConformance]8;;\]
188 |
Swift.AnyHashable:2:11: note: 'AnyHashable' declares unavailable conformance to protocol 'Sendable' here
1 | @available(*, unavailable)
2 | extension AnyHashable : Sendable {
  |           `- note: 'AnyHashable' declares unavailable conformance to protocol 'Sendable' here
3 | }
/host/spi-builder-workspace/Sources/AsyncHTTP/Model/HTTPRequestBody.swift:113:28: warning: conformance of 'Data' to protocol 'Sendable' was already stated in the type's module 'FoundationEssentials'
111 | }
112 |
113 | extension Data: @unchecked Sendable {}
    |                            `- warning: conformance of 'Data' to protocol 'Sendable' was already stated in the type's module 'FoundationEssentials'
114 |
FoundationEssentials.Data:2:23: note: 'Data' declares conformance to protocol 'Sendable' here
 1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
 2 | @frozen public struct Data : RandomAccessCollection, MutableCollection, RangeReplaceableCollection, Sendable, Hashable {
   |                       `- note: 'Data' declares conformance to protocol 'Sendable' here
 3 |     public typealias Index = Int
 4 |     public typealias Indices = Range<Int>
/host/spi-builder-workspace/Sources/AsyncHTTP/Model/HTTPResponse.swift:11:26: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 9 | public struct HTTPResponse {
10 |     public let request: HTTPRequest
11 |     public let response: HTTPURLResponse
   |                          `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |     public let body: Data
13 |
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/AsyncHTTP/Model/HTTPResponse.swift:38:26: error: 'HTTPCookie' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
36 |     }
37 |
38 |     public var cookies: [HTTPCookie]? {
   |                          `- error: 'HTTPCookie' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
39 |         let headers = self.headers.mapKeys(\.name)
40 |         guard let url = url, !headers.isEmpty else {
Foundation.HTTPCookie:2:18: note: 'HTTPCookie' 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 HTTPCookie = AnyObject
  |                  `- note: 'HTTPCookie' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Timeout.swift:14:35: error: cannot find type 'DispatchTimeInterval' in scope
 12 |     }
 13 |
 14 |     public init?(maximumDuration: DispatchTimeInterval) {
    |                                   `- error: cannot find type 'DispatchTimeInterval' in scope
 15 |         guard let duration = TimeInterval(dispatchTimeInterval: maximumDuration) else {
 16 |             return nil
/host/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Timeout.swift:103:33: error: cannot find type 'DispatchTimeInterval' in scope
101 |
102 | extension TimeInterval {
103 |     init?(dispatchTimeInterval: DispatchTimeInterval) {
    |                                 `- error: cannot find type 'DispatchTimeInterval' in scope
104 |         switch dispatchTimeInterval {
105 |             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