The Swift Package Index logo.Swift Package Index

Build Information

Failed to build MistKit, reference 0.2.4 (5900c2), with Swift 6.4 for Wasm on 19 Sep 2026 14:22:05 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344845-1":/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/brightdigit/MistKit.git
Reference: 0.2.4
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/brightdigit/MistKit
 * tag               0.2.4      -> FETCH_HEAD
HEAD is now at 5900c20 Version 0.2.4
Cloned https://github.com/brightdigit/MistKit.git
Revision (git rev-parse @):
5900c20b7af1a65fc02a066987a1e374e68b4a40
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/brightdigit/MistKit.git at 0.2.4
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/brightdigit/MistKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-1":/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/vapor/vapor.git
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/vapor/fluent.git
Fetching https://github.com/vapor/fluent-sqlite-driver.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/swift-server/async-http-client.git
[1/1373] Fetching fluent-sqlite-driver
[180/14890] Fetching fluent-sqlite-driver, fluent
[14891/96292] Fetching fluent-sqlite-driver, fluent, vapor
[14892/115210] Fetching fluent-sqlite-driver, fluent, vapor, swift-argument-parser
[19530/131407] Fetching fluent-sqlite-driver, fluent, vapor, swift-argument-parser, async-http-client
[73613/217480] Fetching fluent-sqlite-driver, fluent, vapor, swift-argument-parser, async-http-client, swift-nio
Fetched https://github.com/swift-server/async-http-client.git (0.93s)
[79628/201283] Fetching fluent-sqlite-driver, fluent, vapor, swift-argument-parser, swift-nio
Fetched https://github.com/vapor/vapor.git (1.42s)
[93199/119881] Fetching fluent-sqlite-driver, fluent, swift-argument-parser, swift-nio
Fetched https://github.com/vapor/fluent-sqlite-driver.git (2.68s)
Fetched https://github.com/vapor/fluent.git (2.68s)
Fetched https://github.com/apple/swift-argument-parser (2.68s)
Fetched https://github.com/apple/swift-nio.git (2.71s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.5.0 (2.91s)
Computing version for https://github.com/vapor/fluent.git
Computed https://github.com/vapor/fluent.git at 4.13.0 (0.16s)
Fetching https://github.com/vapor/fluent-kit.git
[1/13968] Fetching fluent-kit
Fetched https://github.com/vapor/fluent-kit.git (0.60s)
Computing version for https://github.com/vapor/fluent-kit.git
Computed https://github.com/vapor/fluent-kit.git at 1.57.0 (0.76s)
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-service-context.git
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetching https://github.com/vapor/sql-kit.git
[1/1364] Fetching swift-service-context
[15/9460] Fetching swift-service-context, swift-log
[614/12303] Fetching swift-service-context, swift-log, swift-service-lifecycle
[2742/18661] Fetching swift-service-context, swift-log, swift-service-lifecycle, sql-kit
[7415/24966] Fetching swift-service-context, swift-log, swift-service-lifecycle, sql-kit, swift-distributed-tracing
Fetched https://github.com/apple/swift-log.git (0.52s)
[14222/16870] Fetching swift-service-context, swift-service-lifecycle, sql-kit, swift-distributed-tracing
Fetched https://github.com/vapor/sql-kit.git (0.53s)
[8621/10512] Fetching swift-service-context, swift-service-lifecycle, swift-distributed-tracing
Fetched https://github.com/apple/swift-service-context.git (0.58s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git (0.58s)
Fetched https://github.com/apple/swift-distributed-tracing.git (0.58s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.5.0 (0.76s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.3.0 (0.16s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.12.0 (0.16s)
Fetching https://github.com/apple/swift-async-algorithms.git
[1/6723] Fetching swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git (0.59s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (0.77s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.5 (0.19s)
Fetching https://github.com/apple/swift-collections.git
[1/27352] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git (1.10s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.6.0 (1.38s)
Computing version for https://github.com/vapor/sql-kit.git
Computed https://github.com/vapor/sql-kit.git at 3.36.0 (0.14s)
Computing version for https://github.com/vapor/vapor.git
Computed https://github.com/vapor/vapor.git at 4.122.2 (0.17s)
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/vapor/websocket-kit.git
Fetching https://github.com/apple/swift-nio-ssl.git
[1/1983] Fetching swift-asn1
[160/18048] Fetching swift-asn1, swift-nio-ssl
[2211/24193] Fetching swift-asn1, swift-nio-ssl, swift-algorithms
[2628/26863] Fetching swift-asn1, swift-nio-ssl, swift-algorithms, websocket-kit
[2762/28738] Fetching swift-asn1, swift-nio-ssl, swift-algorithms, websocket-kit, swift-atomics
[3136/36311] Fetching swift-asn1, swift-nio-ssl, swift-algorithms, websocket-kit, swift-atomics, swift-certificates
Fetched https://github.com/apple/swift-asn1.git (0.53s)
Fetched https://github.com/apple/swift-algorithms.git (0.53s)
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/vapor/async-kit.git
[15010/28183] Fetching swift-nio-ssl, websocket-kit, swift-atomics, swift-certificates
Fetched https://github.com/apple/swift-certificates.git (0.57s)
Fetching https://github.com/vapor/multipart-kit.git
[8240/20610] Fetching swift-nio-ssl, websocket-kit, swift-atomics
[20611/27300] Fetching swift-nio-ssl, websocket-kit, swift-atomics, swift-nio-extras
Fetched https://github.com/vapor/websocket-kit.git (0.97s)
[18275/24630] Fetching swift-nio-ssl, swift-atomics, swift-nio-extras
Fetched https://github.com/apple/swift-atomics.git (0.97s)
Fetching https://github.com/vapor/routing-kit.git
Fetching https://github.com/apple/swift-crypto.git
[16467/22755] Fetching swift-nio-ssl, swift-nio-extras
Fetched https://github.com/apple/swift-nio-ssl.git (0.97s)
Fetching https://github.com/apple/swift-metrics.git
[736/6690] Fetching swift-nio-extras
[1273/9204] Fetching swift-nio-extras, async-kit
[1943/15482] Fetching swift-nio-extras, async-kit, multipart-kit
Fetched https://github.com/vapor/async-kit.git (0.53s)
Fetching https://github.com/apple/swift-nio-http2.git
Fetched https://github.com/apple/swift-nio-extras.git (0.53s)
Fetching https://github.com/vapor/console-kit.git
[1634/27834] Fetching multipart-kit, routing-kit
[2066/46376] Fetching multipart-kit, routing-kit, swift-crypto
[7610/49884] Fetching multipart-kit, routing-kit, swift-crypto, swift-metrics
[22207/56727] Fetching multipart-kit, routing-kit, swift-crypto, swift-metrics, console-kit
Fetched https://github.com/apple/swift-metrics.git (0.52s)
[20125/53219] Fetching multipart-kit, routing-kit, swift-crypto, console-kit
Fetched https://github.com/vapor/console-kit.git (0.49s)
[29874/46376] Fetching multipart-kit, routing-kit, swift-crypto
[29875/58628] Fetching multipart-kit, routing-kit, swift-crypto, swift-nio-http2
Fetched https://github.com/vapor/multipart-kit.git (1.09s)
[27467/52350] Fetching routing-kit, swift-crypto, swift-nio-http2
Fetched https://github.com/vapor/routing-kit.git (0.72s)
[6219/30794] Fetching swift-crypto, swift-nio-http2
Fetched https://github.com/apple/swift-nio-http2.git (0.91s)
[17615/18542] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git (1.21s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (2.35s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.17s)
Fetching https://github.com/apple/swift-numerics.git
[1/6636] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git (0.53s)
Computing version for https://github.com/vapor/routing-kit.git
Computed https://github.com/vapor/routing-kit.git at 4.9.3 (0.68s)
Computing version for https://github.com/vapor/websocket-kit.git
Computed https://github.com/vapor/websocket-kit.git at 2.16.2 (0.14s)
Fetching https://github.com/apple/swift-nio-transport-services.git
[1/2863] Fetching swift-nio-transport-services
Fetched https://github.com/apple/swift-nio-transport-services.git (0.44s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.58s)
Computing version for https://github.com/vapor/console-kit.git
Computed https://github.com/vapor/console-kit.git at 4.16.1 (0.15s)
Computing version for https://github.com/vapor/async-kit.git
Computed https://github.com/vapor/async-kit.git at 1.22.0 (0.14s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.103.0 (0.31s)
Fetching https://github.com/apple/swift-system.git
[1/6898] Fetching swift-system
Fetched https://github.com/apple/swift-system.git (0.70s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.11.0 (0.87s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.37.5 (0.21s)
Computing version for https://github.com/vapor/multipart-kit.git
Computed https://github.com/vapor/multipart-kit.git at 4.7.1 (0.14s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.20.0 (1.08s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (0.20s)
Computing version for https://github.com/vapor/fluent-sqlite-driver.git
Computed https://github.com/vapor/fluent-sqlite-driver.git at 4.9.0 (0.14s)
Fetching https://github.com/vapor/sqlite-kit.git
[1/2197] Fetching sqlite-kit
Fetched https://github.com/vapor/sqlite-kit.git (0.63s)
Computing version for https://github.com/vapor/sqlite-kit.git
Computed https://github.com/vapor/sqlite-kit.git at 4.5.2 (0.78s)
Fetching https://github.com/vapor/sqlite-nio.git
[1/2014] Fetching sqlite-nio
Fetched https://github.com/vapor/sqlite-nio.git (1.84s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.28.0 (2.03s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.5.2 (0.26s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.20s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.35.1 (0.30s)
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-http-structured-headers.git
[1/1253] Fetching swift-http-structured-headers
[1254/3188] Fetching swift-http-structured-headers, swift-http-types
Fetched https://github.com/apple/swift-http-structured-headers.git (0.40s)
[20/1935] Fetching swift-http-types
Fetched https://github.com/apple/swift-http-types.git (0.47s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.7.0 (0.64s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.8.0 (0.19s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.46.0 (0.18s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.36.1 (0.19s)
Fetching https://github.com/apple/swift-configuration.git
[1/3755] Fetching swift-configuration
Fetched https://github.com/apple/swift-configuration.git (0.54s)
Computing version for https://github.com/apple/swift-configuration.git
Computed https://github.com/apple/swift-configuration.git at 1.2.0 (0.78s)
Computing version for https://github.com/vapor/sqlite-nio.git
Computed https://github.com/vapor/sqlite-nio.git at 1.13.0 (0.16s)
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.37.5
Creating working copy for https://github.com/vapor/multipart-kit.git
Working copy of https://github.com/vapor/multipart-kit.git resolved at 4.7.1
Creating working copy for https://github.com/apple/swift-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.28.0
Creating working copy for https://github.com/apple/swift-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.8.0
Creating working copy for https://github.com/apple/swift-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.35.1
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.20.0
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/vapor/async-kit.git
Working copy of https://github.com/vapor/async-kit.git resolved at 1.22.0
Creating working copy for https://github.com/apple/swift-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.11.0
Creating working copy for https://github.com/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.46.0
Creating working copy for https://github.com/vapor/routing-kit.git
Working copy of https://github.com/vapor/routing-kit.git resolved at 4.9.3
Creating working copy for https://github.com/vapor/console-kit.git
Working copy of https://github.com/vapor/console-kit.git resolved at 4.16.1
Creating working copy for https://github.com/apple/swift-service-context.git
Working copy of https://github.com/apple/swift-service-context.git resolved at 1.3.0
Creating working copy for https://github.com/vapor/fluent-kit.git
Working copy of https://github.com/vapor/fluent-kit.git resolved at 1.57.0
Creating working copy for https://github.com/vapor/websocket-kit.git
Working copy of https://github.com/vapor/websocket-kit.git resolved at 2.16.2
Creating working copy for https://github.com/apple/swift-distributed-tracing.git
Working copy of https://github.com/apple/swift-distributed-tracing.git resolved at 1.5.0
Creating working copy for https://github.com/vapor/fluent.git
Working copy of https://github.com/vapor/fluent.git resolved at 4.13.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.103.0
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.1
Creating working copy for https://github.com/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.12.0
Creating working copy for https://github.com/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.1.5
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 4.5.2
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 0.5.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.6.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.1
Creating working copy for https://github.com/apple/swift-http-structured-headers.git
Working copy of https://github.com/apple/swift-http-structured-headers.git resolved at 1.7.0
Creating working copy for https://github.com/vapor/fluent-sqlite-driver.git
Working copy of https://github.com/vapor/fluent-sqlite-driver.git resolved at 4.9.0
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.3
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.8.1
Creating working copy for https://github.com/swift-server/async-http-client.git
Working copy of https://github.com/swift-server/async-http-client.git resolved at 1.36.1
Creating working copy for https://github.com/vapor/sql-kit.git
Working copy of https://github.com/vapor/sql-kit.git resolved at 3.36.0
Creating working copy for https://github.com/vapor/sqlite-kit.git
Working copy of https://github.com/vapor/sqlite-kit.git resolved at 4.5.2
Creating working copy for https://github.com/vapor/sqlite-nio.git
Working copy of https://github.com/vapor/sqlite-nio.git resolved at 1.13.0
Creating working copy for https://github.com/apple/swift-configuration.git
Working copy of https://github.com/apple/swift-configuration.git resolved at 1.2.0
Creating working copy for https://github.com/vapor/vapor.git
Working copy of https://github.com/vapor/vapor.git resolved at 4.122.2
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.15.1
Building for debugging...
[Computing dependencies]
[Provisioning 1 / 157]
[Constructing description]
[Pre-planning 1 / 3128]
[Planning 1 / 3128]
[Planning 1737 / 3128]
[Planning 2633 / 3128]
[Planning deferred tasks]
[Constructing 103 / 7492]
[Constructing 4571 / 7492]
[Starting]
[6 / 1817]
[396 / 1817] CNIOBoringSSL
[476 / 1848] SystemPackage
[487 / 1848] _NIODataStructures
[488 / 1848] SystemPackage
[499 / 1848] SwiftASN1
[501 / 1848] SwiftASN1
[513 / 1850] _NIODataStructures
[515 / 1850] SystemPackage
[521 / 1851] _NIODataStructures
[523 / 1851] _NIODataStructures
[528 / 1851] SwiftASN1
[528 / 1851]
[536 / 1885] CryptoBoringWrapper
[539 / 1885] ServiceContextModule
[546 / 1891] VaporCSQLite
[552 / 1892] ServiceContextModule
[570 / 1892] CryptoBoringWrapper
[582 / 1892] InternalCollectionsUtilities
[586 / 1893] SwiftASN1
[592 / 1893] CryptoBoringWrapper
[595 / 1894] Logging
[600 / 1894] Logging
[602 / 1894] Metrics
[606 / 1897] NIOConcurrencyHelpers
[614 / 1928] MistKit
[620 / 1941] Atomics
[623 / 1941] ConcurrencyHelpers
[643 / 1941] NIOConcurrencyHelpers
[672 / 1941] CNIOExtrasZlib
[677 / 1941] CNIODarwin
[684 / 1942] CNIOBoringSSL
[685 / 1942] CNIOBoringSSL
error: SwiftCompile normal wasm32 failed with a nonzero exit code. Command line:     cd /host

/host/spi-builder-workspace/Sources/MistKit/URLNetworking/MKDatabase.URLSession.swift:14:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |        requestConfigFactory _: RequestConfigurationFactoryProtocol? = nil,
13 |        tokenManager: MKTokenManagerProtocol? = nil,
14 |        session: URLSession? = nil,
   |                 `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |        resultSink: ResultSinkProtocol? = nil) {
16 |     let factory = factory ?? MKURLBuilderFactory()
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/MistKit/URLNetworking/MKURLRequest.swift:8:26: error: cannot find type 'URLRequest' in scope
 6 |
 7 | public struct MKURLRequest: MKHttpRequest {
 8 |   public let urlRequest: URLRequest
   |                          `- error: cannot find type 'URLRequest' in scope
 9 |   public let urlSession: URLSession
10 |   public func execute(_ callback: @escaping ((Result<MKHttpResponse, Error>) -> Void)) {
/host/spi-builder-workspace/Sources/MistKit/URLNetworking/MKURLRequest.swift:9:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 7 | public struct MKURLRequest: MKHttpRequest {
 8 |   public let urlRequest: URLRequest
 9 |   public let urlSession: URLSession
   |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 |   public func execute(_ callback: @escaping ((Result<MKHttpResponse, Error>) -> Void)) {
11 |     urlSession.dataTask(with: urlRequest) { data, response, error in
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/MistKit/URLNetworking/MKURLResponse.swift:9:24: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 7 | public struct MKURLResponse: MKHttpResponse {
 8 |   public let body: Data?
 9 |   public let response: HTTPURLResponse
   |                        `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 |
11 |   public var status: Int {
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/MistKit/URLNetworking/MKURLSessionClient.swift:10:23: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 8 |   public typealias RequestType = MKURLRequest
 9 |
10 |   public let session: URLSession
   |                       `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 |
12 |   public init(session: URLSession) {
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/MistKit/URLNetworking/MKURLSessionClient.swift:12:24: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 |   public let session: URLSession
11 |
12 |   public init(session: URLSession) {
   |                        `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |     self.session = session
14 |   }
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
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Sources/MistKit/Authentication/CharacterMapEncoder.swift /host/spi-builder-workspace/Sources/MistKit/Authentication/MKAuthenticationRedirect.swift /host/spi-builder-workspace/Sources/MistKit/Authentication/MKAuthenticationResponse.swift /host/spi-builder-workspace/Sources/MistKit/Authentication/MKFileStorage.swift /host/spi-builder-workspace/Sources/MistKit/Authentication/MKStaticTokenManager.swift /host/spi-builder-workspace/Sources/MistKit/Authentication/MKTokenClient.swift /host/spi-builder-workspace/Sources/MistKit/Authentication/MKTokenEncoder.swift /host/spi-builder-workspace/Sources/MistKit/Authentication/MKTokenManager.swift /host/spi-builder-workspace/Sources/MistKit/Authentication/MKTokenManagerProtocol.swift /host/spi-builder-workspace/Sources/MistKit/Authentication/MKTokenStorage.swift /host/spi-builder-workspace/Sources/MistKit/Authentication/MKUserDefaultsStorage.swift /host/spi-builder-workspace/Sources/MistKit/Configuration/MKAPIVersion.swift /host/spi-builder-workspace/Sources/MistKit/Configuration/MKDatabaseConnection.Query.swift /host/spi-builder-workspace/Sources/MistKit/Configuration/MKDatabaseConnection.swift /host/spi-builder-workspace/Sources/MistKit/Configuration/MKDatabaseType.swift /host/spi-builder-workspace/Sources/MistKit/Configuration/MKEnvironment.swift /host/spi-builder-workspace/Sources/MistKit/Controllers/MKDatabase.swift /host/spi-builder-workspace/Sources/MistKit/Controllers/RecordNameParser.swift /host/spi-builder-workspace/Sources/MistKit/Controllers/RequestConfigurationFactory.swift /host/spi-builder-workspace/Sources/MistKit/Controllers/ResultSink.swift /host/spi-builder-workspace/Sources/MistKit/Controllers/ResultTransformer.swift /host/spi-builder-workspace/Sources/MistKit/Extensions/Array.swift /host/spi-builder-workspace/Sources/MistKit/Extensions/JSONDecoder.swift /host/spi-builder-workspace/Sources/MistKit/Extensions/JSONEncoder.swift /host/spi-builder-workspace/Sources/MistKit/Extensions/String.swift /host/spi-builder-workspace/Sources/MistKit/Extensions/UUID.swift /host/spi-builder-workspace/Sources/MistKit/Models/MKAnyQuery.swift /host/spi-builder-workspace/Sources/MistKit/Models/MKAnyRecord.swift /host/spi-builder-workspace/Sources/MistKit/Models/MKAsset.swift /host/spi-builder-workspace/Sources/MistKit/Models/MKDecodingError.swift /host/spi-builder-workspace/Sources/MistKit/Models/MKError.swift /host/spi-builder-workspace/Sources/MistKit/Models/MKErrorCode.swift /host/spi-builder-workspace/Sources/MistKit/Models/MKFieldType.swift /host/spi-builder-workspace/Sources/MistKit/Models/MKLocation.swift /host/spi-builder-workspace/Sources/MistKit/Models/MKServerResponse.swift /host/spi-builder-workspace/Sources/MistKit/Models/MKValue.swift /host/spi-builder-workspace/Sources/MistKit/Models/ModifiedRecordQueryContent.swift /host/spi-builder-workspace/Sources/MistKit/Models/RecordName.swift /host/spi-builder-workspace/Sources/MistKit/Models/RequestConfiguration.swift /host/spi-builder-workspace/Sources/MistKit/Protocols/MKContentRecord.swift /host/spi-builder-workspace/Sources/MistKit/Protocols/MKDecodable.swift /host/spi-builder-workspace/Sources/MistKit/Protocols/MKDecoder.swift /host/spi-builder-workspace/Sources/MistKit/Protocols/MKEncodable.swift /host/spi-builder-workspace/Sources/MistKit/Protocols/MKEncoder.swift /host/spi-builder-workspace/Sources/MistKit/Protocols/MKQuery.swift /host/spi-builder-workspace/Sources/MistKit/Protocols/MKQueryProtocol.swift /host/spi-builder-workspace/Sources/MistKit/Protocols/MKQueryRecord.swift /host/spi-builder-workspace/Sources/MistKit/Protocols/MKRequest.swift /host/spi-builder-workspace/Sources/MistKit/Protocols/RequestConfigurationFactoryProtocol.swift /host/spi-builder-workspace/Sources/MistKit/Protocols/ResultSinkProtocol.swift /host/spi-builder-workspace/Sources/MistKit/Protocols/ResultTransformerProtocol.swift /host/spi-builder-workspace/Sources/MistKit/Requests/RecordsLookup/LookupRecord.swift /host/spi-builder-workspace/Sources/MistKit/Requests/RecordsLookup/LookupRecordQuery.swift /host/spi-builder-workspace/Sources/MistKit/Requests/RecordsLookup/LookupRecordQueryRequest.swift /host/spi-builder-workspace/Sources/MistKit/Requests/RecordsModify/ModifiedRecord.swift /host/spi-builder-workspace/Sources/MistKit/Requests/RecordsModify/ModifiedRecordQueryResponse.swift /host/spi-builder-workspace/Sources/MistKit/Requests/RecordsModify/ModifiedRecordQueryResult.swift /host/spi-builder-workspace/Sources/MistKit/Requests/RecordsModify/ModifyOperation.swift /host/spi-builder-workspace/Sources/MistKit/Requests/RecordsModify/ModifyOperationType.swift /host/spi-builder-workspace/Sources/MistKit/Requests/RecordsModify/ModifyRecordQuery.swift /host/spi-builder-workspace/Sources/MistKit/Requests/RecordsModify/ModifyRecordQueryRequest.swift /host/spi-builder-workspace/Sources/MistKit/Requests/RecordsQuery/FetchRecordQuery.swift /host/spi-builder-workspace/Sources/MistKit/Requests/RecordsQuery/FetchRecordQueryRequest.swift /host/spi-builder-workspace/Sources/MistKit/Requests/RecordsQuery/FetchRecordQueryResponse.swift /host/spi-builder-workspace/Sources/MistKit/Requests/UsersCaller/GetCurrentUserIdentityRequest.swift /host/spi-builder-workspace/Sources/MistKit/Requests/UsersCaller/UserIdentityLookupInfo.swift /host/spi-builder-workspace/Sources/MistKit/Requests/UsersCaller/UserIdentityNameComponents.swift /host/spi-builder-workspace/Sources/MistKit/Requests/UsersCaller/UserIdentityResponse.swift /host/spi-builder-workspace/Sources/MistKit/URLNetworking/MKDatabase.URLSession.swift /host/spi-builder-workspace/Sources/MistKit/URLNetworking/MKEmptyGet.swift /host/spi-builder-workspace/Sources/MistKit/URLNetworking/MKHttpClient.swift /host/spi-builder-workspace/Sources/MistKit/URLNetworking/MKHttpRequest.swift /host/spi-builder-workspace/Sources/MistKit/URLNetworking/MKHttpResponse.swift /host/spi-builder-workspace/Sources/MistKit/URLNetworking/MKURLBuilder.swift /host/spi-builder-workspace/Sources/MistKit/URLNetworking/MKURLBuilderFactory.swift /host/spi-builder-workspace/Sources/MistKit/URLNetworking/MKURLBuilderProtocol.swift /host/spi-builder-workspace/Sources/MistKit/URLNetworking/MKURLRequest.swift /host/spi-builder-workspace/Sources/MistKit/URLNetworking/MKURLResponse.swift /host/spi-builder-workspace/Sources/MistKit/URLNetworking/MKURLSessionClient.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/MistKit.build/Debug-webassembly-wasm32/MistKit-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/MistKit.build/Debug-webassembly-wasm32/MistKit-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/MistKit.build/Debug-webassembly-wasm32/MistKit-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name MistKit -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/MistKit.build/Debug-webassembly-wasm32/MistKit-t.build/Objects-normal/wasm32/MistKit_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/MistKit.build/Debug-webassembly-wasm32/MistKit-t.build/Objects-normal/wasm32/Modules/MistKit.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/MistKit.build/Debug-webassembly-wasm32/MistKit-t.build/Objects-normal/wasm32/Modules/MistKit.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/MistKit.build/Debug-webassembly-wasm32/MistKit-t.build/Objects-normal/wasm32/MistKit-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/MistKit.build/Debug-webassembly-wasm32/MistKit-t.build/Objects-normal/wasm32/MistKit-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/MistKit.build/Debug-webassembly-wasm32/MistKit-t.build/Objects-normal/wasm32/MistKit-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/MistKit.build/Debug-webassembly-wasm32/MistKit-t.build/Objects-normal/wasm32/Modules/MistKit.swiftmodule
[688 / 1942] MistKit
error: Build failed
BUILD FAILURE 6.4 wasm