Build Information
Failed to build Octoid, reference v3.0.0 (96e62a), with Swift 6.4 for Wasm on 24 Sep 2026 10:03:45 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886769-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/elegantchaos/Octoid.git
Reference: v3.0.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/Octoid
* tag v3.0.0 -> FETCH_HEAD
HEAD is now at 96e62a8 Merge pull request #2 from elegantchaos/feature/async-stream
Cloned https://github.com/elegantchaos/Octoid.git
Revision (git rev-parse @):
96e62a871b437b245dff213330b3f3dfce26004d
SUCCESS checkout https://github.com/elegantchaos/Octoid.git at v3.0.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.4
Building package at path: $PWD
https://github.com/elegantchaos/Octoid.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-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/JSONSession.git
Fetching https://github.com/elegantchaos/Logger.git
Fetching https://github.com/elegantchaos/ActionBuilderPlugin.git
[1/486] Fetching jsonsession
Fetched https://github.com/elegantchaos/JSONSession.git (0.55s)
[1/2371] Fetching logger
[2372/2653] Fetching logger, actionbuilderplugin
Fetched https://github.com/elegantchaos/ActionBuilderPlugin.git (0.98s)
Fetched https://github.com/elegantchaos/Logger.git (0.98s)
Computing version for https://github.com/elegantchaos/JSONSession.git
Computed https://github.com/elegantchaos/JSONSession.git at 3.2.0 (1.15s)
Computing version for https://github.com/elegantchaos/ActionBuilderPlugin.git
Computed https://github.com/elegantchaos/ActionBuilderPlugin.git at 2.1.5 (0.15s)
Fetching https://github.com/elegantchaos/ActionBuilderCore.git
[1/1309] Fetching actionbuildercore
Fetched https://github.com/elegantchaos/ActionBuilderCore.git (0.51s)
Computing version for https://github.com/elegantchaos/Logger.git
Computed https://github.com/elegantchaos/Logger.git at 2.0.4 (1.56s)
Computing version for https://github.com/elegantchaos/ActionBuilderCore.git
Computed https://github.com/elegantchaos/ActionBuilderCore.git at 2.2.2 (0.15s)
Fetching https://github.com/elegantchaos/Runner.git
Fetching https://github.com/elegantchaos/Versionator.git
Fetching https://github.com/elegantchaos/SemanticVersion.git
[1/720] Fetching runner
[621/1187] Fetching runner, versionator
[675/1339] Fetching runner, versionator, semanticversion
Fetched https://github.com/elegantchaos/Versionator.git (0.52s)
Fetched https://github.com/elegantchaos/SemanticVersion.git (0.52s)
Fetched https://github.com/elegantchaos/Runner.git (0.52s)
Computing version for https://github.com/elegantchaos/Versionator.git
Computed https://github.com/elegantchaos/Versionator.git at 2.1.1 (0.72s)
Fetching https://github.com/swiftlang/swift-subprocess.git
[1/4776] Fetching swift-subprocess
Fetched https://github.com/swiftlang/swift-subprocess.git (0.58s)
Computing version for https://github.com/elegantchaos/SemanticVersion.git
Computed https://github.com/elegantchaos/SemanticVersion.git at 1.1.2 (1.62s)
Computing version for https://github.com/elegantchaos/Runner.git
Computed https://github.com/elegantchaos/Runner.git at 2.2.0 (0.15s)
Fetching https://github.com/elegantchaos/ChaosByteStreams
[1/129] Fetching chaosbytestreams
Fetched https://github.com/elegantchaos/ChaosByteStreams (0.48s)
Computing version for https://github.com/elegantchaos/ChaosByteStreams
Computed https://github.com/elegantchaos/ChaosByteStreams at 1.0.7 (0.63s)
Computing version for https://github.com/swiftlang/swift-subprocess.git
Computed https://github.com/swiftlang/swift-subprocess.git at 0.5.0 (0.17s)
Fetching https://github.com/apple/swift-system
[1/6916] Fetching swift-system
Fetched https://github.com/apple/swift-system (0.71s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.8.1 (0.93s)
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/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/ChaosByteStreams
Working copy of https://github.com/elegantchaos/ChaosByteStreams resolved at 1.0.7
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/Runner.git
Working copy of https://github.com/elegantchaos/Runner.git resolved at 2.2.0
Creating working copy for https://github.com/elegantchaos/SemanticVersion.git
Working copy of https://github.com/elegantchaos/SemanticVersion.git resolved at 1.1.2
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/JSONSession.git
Working copy of https://github.com/elegantchaos/JSONSession.git resolved at 3.2.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
Building for debugging...
[Constructing description]
[Planning deferred tasks]
[43 / 65] Logger
error: SwiftCompile normal wasm32 failed with a nonzero exit code. Command line: cd /host
/host/spi-builder-workspace/.build/checkouts/JSONSession/Sources/JSONSession/HTTPResponseMetadata.swift:81:25: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m79 |[0;0m
[0;36m80 |[0;0m /// Creates metadata from an `HTTPURLResponse`.
[0;36m81 |[0;0m public init(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;36m82 |[0;0m self.init(
[0;36m83 |[0;0m statusCode: response.statusCode,
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/.build/checkouts/JSONSession/Sources/JSONSession/HTTPResponseMetadata.swift:99:52: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m97 |[0;0m
[0;36m98 |[0;0m /// Converts response headers to string-keyed and string-valued storage.
[0;36m99 |[0;0m private static func stringHeaders(from response: [4;39mHTTPURLResponse[0;0m) -> [String: String] {
[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;36m100 |[0;0m response.allHeaderFields.reduce(into: [:]) { headers, field in
[0;36m101 |[0;0m guard
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/.build/checkouts/JSONSession/Sources/JSONSession/HTTPResponseMetadata.swift:171:1: [1;31merror: [1;39mnon-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
[0;36m169 |[0;0m }
[0;36m170 |[0;0m
[0;36m171 |[0;0m extension [4;39mHTTPURLResponse[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mnon-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
[0;36m172 |[0;0m /// Typed metadata derived from this response.
[0;36m173 |[0;0m public var metadata: HTTPResponseMetadata {
/host/spi-builder-workspace/.build/checkouts/JSONSession/Sources/JSONSession/Processor.swift:30:47: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m28 |[0;0m
[0;36m29 |[0;0m private let decodePayload: @Sendable (Data, JSONDecoder) throws -> Any
[0;36m30 |[0;0m private let processPayload: @Sendable (Any, [4;39mHTTPURLResponse[0;0m, Request<Context>, Context) async throws
[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;36m31 |[0;0m -> RepeatStatus
[0;36m32 |[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/.build/checkouts/JSONSession/Sources/JSONSession/Processor.swift:38:40: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m36 |[0;0m codes: [Int],
[0;36m37 |[0;0m decode: @escaping @Sendable (Data, JSONDecoder) throws -> Any,
[0;36m38 |[0;0m process: @escaping @Sendable (Any, [4;39mHTTPURLResponse[0;0m, Request<Context>, Context) async throws
[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;36m39 |[0;0m -> RepeatStatus
[0;36m40 |[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/.build/checkouts/JSONSession/Sources/JSONSession/Processor.swift:53:15: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m51 |[0;0m func process(
[0;36m52 |[0;0m decoded: Any,
[0;36m53 |[0;0m 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;36m54 |[0;0m for request: Request<Context>,
[0;36m55 |[0;0m in context: Context
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/.build/checkouts/JSONSession/Sources/JSONSession/Processor.swift:81:15: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m79 |[0;0m func process(
[0;36m80 |[0;0m _ payload: Payload,
[0;36m81 |[0;0m 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;36m82 |[0;0m for request: Request<Context>,
[0;36m83 |[0;0m in context: Context
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/.build/checkouts/JSONSession/Sources/JSONSession/ProcessorGroup.swift:31:15: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m29 |[0;0m /// Decode a response and return repeat behavior.
[0;36m30 |[0;0m func decode(
[0;36m31 |[0;0m 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;36m32 |[0;0m data: Data,
[0;36m33 |[0;0m for request: Request<Context>,
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/.build/checkouts/JSONSession/Sources/JSONSession/ProcessorGroup.swift:50:15: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m48 |[0;0m
[0;36m49 |[0;0m public func decode(
[0;36m50 |[0;0m 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;36m51 |[0;0m data: Data,
[0;36m52 |[0;0m for request: Request<Context>,
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/.build/checkouts/JSONSession/Sources/JSONSession/Query.swift:26:81: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m24 |[0;0m
[0;36m25 |[0;0m /// Builds an authenticated GET request for a target resource.
[0;36m26 |[0;0m public func request(for target: any ResourceResolver, in session: Session) -> [4;39mURLRequest[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m27 |[0;0m let authorization = "bearer \(session.token)"
[0;36m28 |[0;0m let path = query(target, session)
/host/spi-builder-workspace/.build/checkouts/JSONSession/Sources/JSONSession/Request.swift:26:19: [1;31merror: [1;39mcannot find type 'DispatchTime' in scope[0;0m
[0;36m24 |[0;0m
[0;36m25 |[0;0m /// Next scheduled repeat time when `repeating` is true.
[0;36m26 |[0;0m var repeatTime: [4;39mDispatchTime[0;0m? {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'DispatchTime' in scope[0;0m
[0;36m27 |[0;0m repeating ? DispatchTime.now().advanced(by: interval.asDispatchTimeInterval) : nil
[0;36m28 |[0;0m }
/host/spi-builder-workspace/.build/checkouts/JSONSession/Sources/JSONSession/Request.swift:49:44: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m47 |[0;0m
[0;36m48 |[0;0m /// Builds an authenticated URL request for this target.
[0;36m49 |[0;0m func urlRequest(for session: Session) -> [4;39mURLRequest[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m50 |[0;0m let authorization = "bearer \(session.token)"
[0;36m51 |[0;0m let path = processors.path(for: resource)
/host/spi-builder-workspace/.build/checkouts/JSONSession/Sources/JSONSession/Request.swift:66:22: [1;31merror: [1;39mcannot find type 'DispatchTime' in scope[0;0m
[0;36m64 |[0;0m
[0;36m65 |[0;0m /// Logs scheduled request timing details.
[0;36m66 |[0;0m func log(deadline: [4;39mDispatchTime[0;0m) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'DispatchTime' in scope[0;0m
[0;36m67 |[0;0m let distance = DispatchTime.now().distance(to: deadline).asTimeInterval
[0;36m68 |[0;0m let timeInfo = distance < 0 ? "now." : "in \(seconds: distance)."
/host/spi-builder-workspace/.build/checkouts/JSONSession/Sources/JSONSession/Request.swift:82:22: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m80 |[0;0m
[0;36m81 |[0;0m /// Logs successful transport receipt.
[0;36m82 |[0;0m func log(response: [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;36m83 |[0;0m if let _ = response {
[0;36m84 |[0;0m networkingChannel.log("got response for \(resource)")
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/.build/checkouts/JSONSession/Sources/JSONSession/Session.swift:21:26: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m19 |[0;0m public protocol HTTPDataFetcher: Sendable {
[0;36m20 |[0;0m /// Fetches bytes and response metadata for a request.
[0;36m21 |[0;0m func data(for 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;36m22 |[0;0m }
[0;36m23 |[0;0m
/host/spi-builder-workspace/.build/checkouts/JSONSession/Sources/JSONSession/Session.swift:21:61: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m19 |[0;0m public protocol HTTPDataFetcher: Sendable {
[0;36m20 |[0;0m /// Fetches bytes and response metadata for a request.
[0;36m21 |[0;0m func data(for 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;36m22 |[0;0m }
[0;36m23 |[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/.build/checkouts/JSONSession/Sources/JSONSession/Session.swift:24: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;36m22 |[0;0m }
[0;36m23 |[0;0m
[0;36m24 |[0;0m extension [4;39mURLSession[0;0m: HTTPDataFetcher {}
[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;36m25 |[0;0m
[0;36m26 |[0;0m /// Concurrency-safe HTTP session wrapper used to fetch and decode JSON resources.
/host/spi-builder-workspace/.build/checkouts/JSONSession/Sources/JSONSession/Session.swift:31:25: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m29 |[0;0m public enum PollDataEvent: Sendable {
[0;36m30 |[0;0m /// Successful response payload.
[0;36m31 |[0;0m case response(Data, [4;39mHTTPURLResponse[0;0m, HTTPResponseMetadata)
[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;36m32 |[0;0m /// Transport-level failure while executing a poll request.
[0;36m33 |[0;0m case transportError(String)
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/.build/checkouts/JSONSession/Sources/JSONSession/Session.swift:31:10: [1;31merror: [1;39massociated value 'response' of 'Sendable'-conforming enum 'PollDataEvent' contains non-Sendable type 'AnyObject'[0;0m
[0;36m29 |[0;0m public enum PollDataEvent: Sendable {
[0;36m30 |[0;0m /// Successful response payload.
[0;36m31 |[0;0m case response(Data, HTTPURLResponse, HTTPResponseMetadata)
[0;36m|[0;0m `- [1;31merror: [1;39massociated value 'response' of 'Sendable'-conforming enum 'PollDataEvent' contains non-Sendable type 'AnyObject'[0;0m
[0;36m32 |[0;0m /// Transport-level failure while executing a poll request.
[0;36m33 |[0;0m case transportError(String)
/host/spi-builder-workspace/.build/checkouts/JSONSession/Sources/JSONSession/Session.swift:84:47: [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m82 |[0;0m base: URL,
[0;36m83 |[0;0m token: String,
[0;36m84 |[0;0m fetcher: any HTTPDataFetcher = [4;39mURLSession[0;0m.[4;39mshared[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m85 |[0;0m ) {
[0;36m86 |[0;0m self.base = base
/host/spi-builder-workspace/.build/checkouts/JSONSession/Sources/JSONSession/Session.swift:110:11: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m108 |[0;0m /// Executes a single request and returns the raw bytes and HTTP response.
[0;36m109 |[0;0m public func data(for target: any ResourceResolver, tag: String? = nil) async throws -> (
[0;36m110 |[0;0m Data, [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;36m111 |[0;0m ) {
[0;36m112 |[0;0m try await data(forPath: target.path, tag: tag)
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/.build/checkouts/JSONSession/Sources/JSONSession/Session.swift:116:78: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m114 |[0;0m
[0;36m115 |[0;0m /// Executes a single request for an explicit path and returns raw bytes plus HTTP response.
[0;36m116 |[0;0m func data(forPath path: String, tag: String? = nil) async throws -> (Data, [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;36m117 |[0;0m let authorization = "bearer \(token)"
[0;36m118 |[0;0m var request = URLRequest(url: base.appendingPathComponent(path))
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/.build/checkouts/JSONSession/Sources/JSONSession/Session.swift:218:15: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m216 |[0;0m func processResponse<Context: Sendable>(
[0;36m217 |[0;0m _ result: Result<Data, Error>,
[0;36m218 |[0;0m response: [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;36m219 |[0;0m for request: Request<Context>,
[0;36m220 |[0;0m context: Context
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/.build/checkouts/JSONSession/Sources/JSONSession/TimeExtensions.swift:23:31: [1;31merror: [1;39mcannot find type 'DispatchTimeInterval' in scope[0;0m
[0;36m21 |[0;0m extension TimeInterval {
[0;36m22 |[0;0m /// Converts a time interval in seconds to a dispatch interval.
[0;36m23 |[0;0m var asDispatchTimeInterval: [4;39mDispatchTimeInterval[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'DispatchTimeInterval' in scope[0;0m
[0;36m24 |[0;0m .nanoseconds(Int(self * 1_000_000_000.0))
[0;36m25 |[0;0m }
/host/spi-builder-workspace/.build/checkouts/JSONSession/Sources/JSONSession/TimeExtensions.swift:28:11: [1;31merror: [1;39mcannot find type 'DispatchTimeInterval' in scope[0;0m
[0;36m26 |[0;0m }
[0;36m27 |[0;0m
[0;36m28 |[0;0m extension [4;39mDispatchTimeInterval[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'DispatchTimeInterval' in scope[0;0m
[0;36m29 |[0;0m /// Converts a dispatch interval into seconds.
[0;36m30 |[0;0m var asTimeInterval: TimeInterval {
/host/spi-builder-workspace/.build/checkouts/JSONSession/Sources/JSONSession/TimeExtensions.swift:50:11: [1;31merror: [1;39mcannot find type 'DispatchTime' in scope[0;0m
[0;36m48 |[0;0m }
[0;36m49 |[0;0m
[0;36m50 |[0;0m extension [4;39mDispatchTime[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'DispatchTime' in scope[0;0m
[0;36m51 |[0;0m /// Linux-compatible shim mirroring Darwin's `distance(to:)`.
[0;36m52 |[0;0m 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/.build/checkouts/JSONSession/Sources/JSONSession/Failure.swift /host/spi-builder-workspace/.build/checkouts/JSONSession/Sources/JSONSession/HTTPResponseMetadata.swift /host/spi-builder-workspace/.build/checkouts/JSONSession/Sources/JSONSession/Processor.swift /host/spi-builder-workspace/.build/checkouts/JSONSession/Sources/JSONSession/ProcessorGroup.swift /host/spi-builder-workspace/.build/checkouts/JSONSession/Sources/JSONSession/Query.swift /host/spi-builder-workspace/.build/checkouts/JSONSession/Sources/JSONSession/Request.swift /host/spi-builder-workspace/.build/checkouts/JSONSession/Sources/JSONSession/Resource.swift /host/spi-builder-workspace/.build/checkouts/JSONSession/Sources/JSONSession/ResourceResolver.swift /host/spi-builder-workspace/.build/checkouts/JSONSession/Sources/JSONSession/Session.swift /host/spi-builder-workspace/.build/checkouts/JSONSession/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 -suppress-warnings -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 -user-module-version 3.2.0 -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 jsonsession -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
[52 / 75] JSONSession
error: Build failed
BUILD FAILURE 6.4 wasm