The Swift Package Index logo.Swift Package Index

Build Information

Failed to build JSONSession, reference v3.2.0 (2de524), with Swift 6.4 for Wasm on 25 Sep 2026 13:17:27 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344845-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/elegantchaos/JSONSession.git
Reference: v3.2.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/elegantchaos/JSONSession
 * tag               v3.2.0     -> FETCH_HEAD
HEAD is now at 2de524e Merge pull request #3 from elegantchaos/integration/actionstatus
Cloned https://github.com/elegantchaos/JSONSession.git
Revision (git rev-parse @):
2de524eef0a6a9fbaf00f6e506eb0296eef0d018
SUCCESS checkout https://github.com/elegantchaos/JSONSession.git at v3.2.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/elegantchaos/JSONSession.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-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/elegantchaos/Logger.git
Fetching https://github.com/elegantchaos/ActionBuilderPlugin.git
[1/282] Fetching actionbuilderplugin
[283/2653] Fetching actionbuilderplugin, logger
Fetched https://github.com/elegantchaos/ActionBuilderPlugin.git (1.21s)
Fetched https://github.com/elegantchaos/Logger.git (1.21s)
Computing version for https://github.com/elegantchaos/Logger.git
Computed https://github.com/elegantchaos/Logger.git at 2.0.4 (2.31s)
Computing version for https://github.com/elegantchaos/ActionBuilderPlugin.git
Computed https://github.com/elegantchaos/ActionBuilderPlugin.git at 2.1.5 (0.17s)
Fetching https://github.com/elegantchaos/ActionBuilderCore.git
[1/1309] Fetching actionbuildercore
Fetched https://github.com/elegantchaos/ActionBuilderCore.git (0.60s)
Computing version for https://github.com/elegantchaos/ActionBuilderCore.git
Computed https://github.com/elegantchaos/ActionBuilderCore.git at 2.2.2 (0.78s)
Fetching https://github.com/elegantchaos/Versionator.git
Fetching https://github.com/elegantchaos/Runner.git
Fetching https://github.com/elegantchaos/SemanticVersion.git
[1/720] Fetching runner
[491/872] Fetching runner, semanticversion
Fetched https://github.com/elegantchaos/SemanticVersion.git (0.56s)
[670/720] Fetching runner
Fetched https://github.com/elegantchaos/Runner.git (0.59s)
[1/467] Fetching versionator
Fetched https://github.com/elegantchaos/Versionator.git (0.66s)
Computing version for https://github.com/elegantchaos/Versionator.git
Computed https://github.com/elegantchaos/Versionator.git at 2.1.1 (0.88s)
Fetching https://github.com/swiftlang/swift-subprocess.git
[1/4776] Fetching swift-subprocess
Fetched https://github.com/swiftlang/swift-subprocess.git (0.59s)
Computing version for https://github.com/elegantchaos/SemanticVersion.git
Computed https://github.com/elegantchaos/SemanticVersion.git at 1.1.2 (1.67s)
Computing version for https://github.com/elegantchaos/Runner.git
Computed https://github.com/elegantchaos/Runner.git at 2.2.0 (0.17s)
Fetching https://github.com/elegantchaos/ChaosByteStreams
[1/129] Fetching chaosbytestreams
Fetched https://github.com/elegantchaos/ChaosByteStreams (1.01s)
Computing version for https://github.com/elegantchaos/ChaosByteStreams
Computed https://github.com/elegantchaos/ChaosByteStreams at 1.0.7 (1.18s)
Computing version for https://github.com/swiftlang/swift-subprocess.git
Computed https://github.com/swiftlang/swift-subprocess.git at 0.5.0 (0.19s)
Fetching https://github.com/apple/swift-system
[1/6952] Fetching swift-system
Fetched https://github.com/apple/swift-system (0.69s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.8.1 (0.92s)
Creating working copy for https://github.com/elegantchaos/ActionBuilderPlugin.git
Working copy of https://github.com/elegantchaos/ActionBuilderPlugin.git resolved at 2.1.5
Creating working copy for https://github.com/elegantchaos/Versionator.git
Working copy of https://github.com/elegantchaos/Versionator.git resolved at 2.1.1
Creating working copy for https://github.com/elegantchaos/Runner.git
Working copy of https://github.com/elegantchaos/Runner.git resolved at 2.2.0
Creating working copy for https://github.com/elegantchaos/ChaosByteStreams
Working copy of https://github.com/elegantchaos/ChaosByteStreams resolved at 1.0.7
Creating working copy for https://github.com/swiftlang/swift-subprocess.git
Working copy of https://github.com/swiftlang/swift-subprocess.git resolved at 0.5.0
Creating working copy for https://github.com/elegantchaos/Logger.git
Working copy of https://github.com/elegantchaos/Logger.git resolved at 2.0.4
Creating working copy for https://github.com/elegantchaos/ActionBuilderCore.git
Working copy of https://github.com/elegantchaos/ActionBuilderCore.git resolved at 2.2.2
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.8.1
Creating working copy for https://github.com/elegantchaos/SemanticVersion.git
Working copy of https://github.com/elegantchaos/SemanticVersion.git resolved at 1.1.2
Building for debugging...
[Pre-planning 1 / 96]
[1 / 37]
[32 / 47] Logger
[42 / 57] JSONSession
error: SwiftCompile normal wasm32 failed with a nonzero exit code. Command line:     cd /host

/host/spi-builder-workspace/Sources/JSONSession/HTTPResponseMetadata.swift:81:25: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 79 |
 80 |   /// Creates metadata from an `HTTPURLResponse`.
 81 |   public init(response: HTTPURLResponse) {
    |                         `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 82 |     self.init(
 83 |       statusCode: response.statusCode,
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/JSONSession/HTTPResponseMetadata.swift:99:52: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 97 |
 98 |   /// Converts response headers to string-keyed and string-valued storage.
 99 |   private static func stringHeaders(from response: HTTPURLResponse) -> [String: String] {
    |                                                    `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
100 |     response.allHeaderFields.reduce(into: [:]) { headers, field in
101 |       guard
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/JSONSession/HTTPResponseMetadata.swift:171:1: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
169 | }
170 |
171 | extension HTTPURLResponse {
    | `- error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
172 |   /// Typed metadata derived from this response.
173 |   public var metadata: HTTPResponseMetadata {
/host/spi-builder-workspace/Sources/JSONSession/Processor.swift:30:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 28 |
 29 |   private let decodePayload: @Sendable (Data, JSONDecoder) throws -> Any
 30 |   private let processPayload: @Sendable (Any, HTTPURLResponse, Request<Context>, Context) async throws
    |                                               `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 31 |     -> RepeatStatus
 32 |
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/JSONSession/Processor.swift:38:40: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 36 |     codes: [Int],
 37 |     decode: @escaping @Sendable (Data, JSONDecoder) throws -> Any,
 38 |     process: @escaping @Sendable (Any, HTTPURLResponse, Request<Context>, Context) async throws
    |                                        `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 39 |       -> RepeatStatus
 40 |   ) {
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/JSONSession/Processor.swift:53:15: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 51 |   func process(
 52 |     decoded: Any,
 53 |     response: HTTPURLResponse,
    |               `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 54 |     for request: Request<Context>,
 55 |     in context: Context
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/JSONSession/Processor.swift:81:15: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 79 |   func process(
 80 |     _ payload: Payload,
 81 |     response: HTTPURLResponse,
    |               `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 82 |     for request: Request<Context>,
 83 |     in context: Context
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/JSONSession/ProcessorGroup.swift:31:15: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 29 |   /// Decode a response and return repeat behavior.
 30 |   func decode(
 31 |     response: HTTPURLResponse,
    |               `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 32 |     data: Data,
 33 |     for request: Request<Context>,
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/JSONSession/ProcessorGroup.swift:50:15: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 48 |
 49 |   public func decode(
 50 |     response: HTTPURLResponse,
    |               `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 51 |     data: Data,
 52 |     for request: Request<Context>,
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/JSONSession/Query.swift:26:81: error: cannot find type 'URLRequest' in scope
24 |
25 |   /// Builds an authenticated GET request for a target resource.
26 |   public func request(for target: any ResourceResolver, in session: Session) -> URLRequest {
   |                                                                                 `- error: cannot find type 'URLRequest' in scope
27 |     let authorization = "bearer \(session.token)"
28 |     let path = query(target, session)
/host/spi-builder-workspace/Sources/JSONSession/Request.swift:26:19: error: cannot find type 'DispatchTime' in scope
24 |
25 |   /// Next scheduled repeat time when `repeating` is true.
26 |   var repeatTime: DispatchTime? {
   |                   `- error: cannot find type 'DispatchTime' in scope
27 |     repeating ? DispatchTime.now().advanced(by: interval.asDispatchTimeInterval) : nil
28 |   }
/host/spi-builder-workspace/Sources/JSONSession/Request.swift:49:44: error: cannot find type 'URLRequest' in scope
47 |
48 |   /// Builds an authenticated URL request for this target.
49 |   func urlRequest(for session: Session) -> URLRequest {
   |                                            `- error: cannot find type 'URLRequest' in scope
50 |     let authorization = "bearer \(session.token)"
51 |     let path = processors.path(for: resource)
/host/spi-builder-workspace/Sources/JSONSession/Request.swift:66:22: error: cannot find type 'DispatchTime' in scope
64 |
65 |   /// Logs scheduled request timing details.
66 |   func log(deadline: DispatchTime) {
   |                      `- error: cannot find type 'DispatchTime' in scope
67 |     let distance = DispatchTime.now().distance(to: deadline).asTimeInterval
68 |     let timeInfo = distance < 0 ? "now." : "in \(seconds: distance)."
/host/spi-builder-workspace/Sources/JSONSession/Request.swift:82:22: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
80 |
81 |   /// Logs successful transport receipt.
82 |   func log(response: URLResponse?) {
   |                      `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
83 |     if let _ = response {
84 |       networkingChannel.log("got response for \(resource)")
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/JSONSession/Session.swift:21:26: error: cannot find type 'URLRequest' in scope
 19 | public protocol HTTPDataFetcher: Sendable {
 20 |   /// Fetches bytes and response metadata for a request.
 21 |   func data(for request: URLRequest) async throws -> (Data, URLResponse)
    |                          `- error: cannot find type 'URLRequest' in scope
 22 | }
 23 |
/host/spi-builder-workspace/Sources/JSONSession/Session.swift:21:61: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 19 | public protocol HTTPDataFetcher: Sendable {
 20 |   /// Fetches bytes and response metadata for a request.
 21 |   func data(for request: URLRequest) async throws -> (Data, URLResponse)
    |                                                             `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 22 | }
 23 |
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/JSONSession/Session.swift:24:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
 22 | }
 23 |
 24 | extension URLSession: HTTPDataFetcher {}
    | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
 25 |
 26 | /// Concurrency-safe HTTP session wrapper used to fetch and decode JSON resources.
/host/spi-builder-workspace/Sources/JSONSession/Session.swift:31:25: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 29 |   public enum PollDataEvent: Sendable {
 30 |     /// Successful response payload.
 31 |     case response(Data, HTTPURLResponse, HTTPResponseMetadata)
    |                         `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 32 |     /// Transport-level failure while executing a poll request.
 33 |     case transportError(String)
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/JSONSession/Session.swift:31:10: error: associated value 'response' of 'Sendable'-conforming enum 'PollDataEvent' contains non-Sendable type 'AnyObject'
 29 |   public enum PollDataEvent: Sendable {
 30 |     /// Successful response payload.
 31 |     case response(Data, HTTPURLResponse, HTTPResponseMetadata)
    |          `- error: associated value 'response' of 'Sendable'-conforming enum 'PollDataEvent' contains non-Sendable type 'AnyObject'
 32 |     /// Transport-level failure while executing a poll request.
 33 |     case transportError(String)
/host/spi-builder-workspace/Sources/JSONSession/Session.swift:84:47: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 82 |     base: URL,
 83 |     token: String,
 84 |     fetcher: any HTTPDataFetcher = URLSession.shared
    |                                               `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 85 |   ) {
 86 |     self.base = base
/host/spi-builder-workspace/Sources/JSONSession/Session.swift:110:11: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
108 |   /// Executes a single request and returns the raw bytes and HTTP response.
109 |   public func data(for target: any ResourceResolver, tag: String? = nil) async throws -> (
110 |     Data, HTTPURLResponse
    |           `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
111 |   ) {
112 |     try await data(forPath: target.path, tag: tag)
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/JSONSession/Session.swift:116:78: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
114 |
115 |   /// Executes a single request for an explicit path and returns raw bytes plus HTTP response.
116 |   func data(forPath path: String, tag: String? = nil) async throws -> (Data, HTTPURLResponse) {
    |                                                                              `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
117 |     let authorization = "bearer \(token)"
118 |     var request = URLRequest(url: base.appendingPathComponent(path))
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/JSONSession/Session.swift:218:15: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
216 |   func processResponse<Context: Sendable>(
217 |     _ result: Result<Data, Error>,
218 |     response: URLResponse?,
    |               `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
219 |     for request: Request<Context>,
220 |     context: Context
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/JSONSession/TimeExtensions.swift:23:31: error: cannot find type 'DispatchTimeInterval' in scope
21 | extension TimeInterval {
22 |   /// Converts a time interval in seconds to a dispatch interval.
23 |   var asDispatchTimeInterval: DispatchTimeInterval {
   |                               `- error: cannot find type 'DispatchTimeInterval' in scope
24 |     .nanoseconds(Int(self * 1_000_000_000.0))
25 |   }
/host/spi-builder-workspace/Sources/JSONSession/TimeExtensions.swift:28:11: error: cannot find type 'DispatchTimeInterval' in scope
26 | }
27 |
28 | extension DispatchTimeInterval {
   |           `- error: cannot find type 'DispatchTimeInterval' in scope
29 |   /// Converts a dispatch interval into seconds.
30 |   var asTimeInterval: TimeInterval {
/host/spi-builder-workspace/Sources/JSONSession/TimeExtensions.swift:50:11: error: cannot find type 'DispatchTime' in scope
48 | }
49 |
50 | extension DispatchTime {
   |           `- error: cannot find type 'DispatchTime' in scope
51 |   /// Linux-compatible shim mirroring Darwin's `distance(to:)`.
52 |   public func distance_shim(to other: DispatchTime) -> DispatchTimeInterval {
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Sources/JSONSession/Failure.swift /host/spi-builder-workspace/Sources/JSONSession/HTTPResponseMetadata.swift /host/spi-builder-workspace/Sources/JSONSession/Processor.swift /host/spi-builder-workspace/Sources/JSONSession/ProcessorGroup.swift /host/spi-builder-workspace/Sources/JSONSession/Query.swift /host/spi-builder-workspace/Sources/JSONSession/Request.swift /host/spi-builder-workspace/Sources/JSONSession/Resource.swift /host/spi-builder-workspace/Sources/JSONSession/ResourceResolver.swift /host/spi-builder-workspace/Sources/JSONSession/Session.swift /host/spi-builder-workspace/Sources/JSONSession/TimeExtensions.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 6 -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/JSONSession.build/Debug-webassembly-wasm32/JSONSession-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/JSONSession.build/Debug-webassembly-wasm32/JSONSession-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/JSONSession.build/Debug-webassembly-wasm32/JSONSession-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name JSONSession -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/JSONSession.build/Debug-webassembly-wasm32/JSONSession-t.build/Objects-normal/wasm32/JSONSession_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/JSONSession.build/Debug-webassembly-wasm32/JSONSession-t.build/Objects-normal/wasm32/Modules/JSONSession.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/JSONSession.build/Debug-webassembly-wasm32/JSONSession-t.build/Objects-normal/wasm32/Modules/JSONSession.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/JSONSession.build/Debug-webassembly-wasm32/JSONSession-t.build/Objects-normal/wasm32/JSONSession-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/JSONSession.build/Debug-webassembly-wasm32/JSONSession-t.build/Objects-normal/wasm32/JSONSession-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/JSONSession.build/Debug-webassembly-wasm32/JSONSession-t.build/Objects-normal/wasm32/JSONSession-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/JSONSession.build/Debug-webassembly-wasm32/JSONSession-t.build/Objects-normal/wasm32/Modules/JSONSession.swiftmodule
error: Build failed
BUILD FAILURE 6.4 wasm