Build Information
Failed to build Kiosk, reference 0.2.0 (e8a240), with Swift 6.4 for Wasm on 26 Sep 2026 21:43:01 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886770-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>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/eliseyOzerov/kiosk-swift.git
Reference: 0.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/eliseyOzerov/kiosk-swift
* tag 0.2.0 -> FETCH_HEAD
HEAD is now at e8a240b Use TimeInterval for timeout APIs
Cloned https://github.com/eliseyOzerov/kiosk-swift.git
Revision (git rev-parse @):
e8a240b9940e5d7166152240694674af483234a8
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/eliseyOzerov/kiosk-swift.git at 0.2.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.4
Building package at path: $PWD
https://github.com/eliseyOzerov/kiosk-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-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/swiftlang/swift-syntax.git
[1/80069] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git (3.46s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.1 (4.65s)
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 601.0.1
Building for debugging...
[Computing dependencies]
[Provisioning 22 / 25]
[Pre-planning 1 / 565]
[Planning deferred tasks]
[118 / 243] SwiftSyntax601
[128 / 247] SwiftSyntax601
[147 / 248] SwiftSyntax
[152 / 257] SwiftSyntax
[155 / 259] SwiftSyntax601
[164 / 261] SwiftSyntax600
[167 / 261] SwiftSyntax
[168 / 261]
[168 / 261] SwiftSyntax
[177 / 271] SwiftBasicFormat
[180 / 289] SwiftDiagnostics
[182 / 289] SwiftDiagnostics
[185 / 289] SwiftDiagnostics
[191 / 289] SwiftBasicFormat
[196 / 289] SwiftParser
[199 / 289] SwiftParser
[203 / 289] SwiftParser
[205 / 289] SwiftDiagnostics
[206 / 289] SwiftDiagnostics
[207 / 289] SwiftDiagnostics
[208 / 289] SwiftOperators
[209 / 289] SwiftOperators
[210 / 289] SwiftDiagnostics-product
[212 / 289] SwiftBasicFormat
[213 / 289] SwiftBasicFormat
[214 / 289] SwiftParserDiagnostics
[217 / 290] SwiftDiagnostics
[221 / 310] SwiftParser
[223 / 311] SwiftParserDiagnostics
[224 / 312] SwiftParserDiagnostics
[225 / 312] SwiftParserDiagnostics
[227 / 312] SwiftParserDiagnostics
[230 / 312] SwiftParserDiagnostics
[235 / 312] SwiftParserDiagnostics
[241 / 312] SwiftSyntaxBuilder
[243 / 312] SwiftSyntaxBuilder
[244 / 312] SwiftOperators
[246 / 312] SwiftOperators
[247 / 312] SwiftOperators
[248 / 312] SwiftOperators
[249 / 312] SwiftOperators
[255 / 322] SwiftSyntaxBuilder
[256 / 322] SwiftSyntaxBuilder
[257 / 323] SwiftSyntaxBuilder
[259 / 323] SwiftSyntaxBuilder
[260 / 323] SwiftSyntaxBuilder
[262 / 323] SwiftSyntaxBuilder
[266 / 324] SwiftSyntaxBuilder
[268 / 324] SwiftSyntaxMacros
[274 / 334] SwiftSyntaxMacros
[275 / 334] SwiftSyntaxMacros
[277 / 334] SwiftSyntaxMacros
[285 / 334] SwiftSyntaxMacros-product
[287 / 336] SwiftSyntaxMacroExpansion
[290 / 344] SwiftSyntaxMacroExpansion
[292 / 345] SwiftSyntaxMacros
[293 / 345] SwiftSyntaxMacros
[294 / 345] SwiftSyntaxMacroExpansion
[298 / 345] SwiftSyntaxMacroExpansion
[302 / 345] SwiftSyntaxMacroExpansion
[303 / 345] SwiftSyntaxMacroExpansion
[307 / 355] SwiftCompilerPluginMessageHandling
[310 / 356] SwiftCompilerPluginMessageHandling
[312 / 356] SwiftSyntaxBuilder
[313 / 356] SwiftCompilerPluginMessageHandling
[315 / 356] SwiftCompilerPluginMessageHandling
[323 / 359] SwiftCompilerPlugin
[329 / 360] SwiftCompilerPlugin
[332 / 361] SwiftCompilerPluginMessageHandling
[334 / 362] SwiftSyntax
[337 / 363] SwiftSyntax
[344 / 363] SwiftSyntaxMacros
[352 / 364] KioskMacros
[361 / 373] KioskMacros
[362 / 373] KioskMacros
[366 / 374] KioskMacros
[367 / 375] Kiosk
error: SwiftCompile normal wasm32 failed with a nonzero exit code. Command line: cd /host
/host/spi-builder-workspace/Sources/Kiosk/Common/UrlBuilder.swift:327:47: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m325 |[0;0m }
[0;36m326 |[0;0m
[0;36m327 |[0;0m public func http(tls: Bool = true, session: [4;39mURLSession[0;0m = .shared) -> HttpContext {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m328 |[0;0m HttpContext(session: session, url: scheme(tls ? .https : .http))
[0;36m329 |[0;0m }
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Kiosk/Common/UrlBuilder.swift:327:61: [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m325 |[0;0m }
[0;36m326 |[0;0m
[0;36m327 |[0;0m public func http(tls: Bool = true, session: URLSession = [4;39m.shared[0;0m) -> HttpContext {
[0;36m|[0;0m `- [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m328 |[0;0m HttpContext(session: session, url: scheme(tls ? .https : .http))
[0;36m329 |[0;0m }
/host/spi-builder-workspace/Sources/Kiosk/Common/UrlBuilder.swift:327:61: [1;31merror: [1;39mvalue of type '_' expected to be instance of class or class-constrained type[0;0m
[0;36m325 |[0;0m }
[0;36m326 |[0;0m
[0;36m327 |[0;0m public func http(tls: Bool = true, session: URLSession = .shared) -> HttpContext {
[0;36m|[0;0m `- [1;31merror: [1;39mvalue of type '_' expected to be instance of class or class-constrained type[0;0m
[0;36m328 |[0;0m HttpContext(session: session, url: scheme(tls ? .https : .http))
[0;36m329 |[0;0m }
/host/spi-builder-workspace/Sources/Kiosk/Common/UrlBuilder.swift:331:45: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m329 |[0;0m }
[0;36m330 |[0;0m
[0;36m331 |[0;0m public func ws(tls: Bool = true, session: [4;39mURLSession[0;0m = .shared) -> WsContext {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m332 |[0;0m WsContext(session: session, url: scheme(tls ? .wss : .ws))
[0;36m333 |[0;0m }
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Kiosk/Common/UrlBuilder.swift:331:59: [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m329 |[0;0m }
[0;36m330 |[0;0m
[0;36m331 |[0;0m public func ws(tls: Bool = true, session: URLSession = [4;39m.shared[0;0m) -> WsContext {
[0;36m|[0;0m `- [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m332 |[0;0m WsContext(session: session, url: scheme(tls ? .wss : .ws))
[0;36m333 |[0;0m }
/host/spi-builder-workspace/Sources/Kiosk/Common/UrlBuilder.swift:331:59: [1;31merror: [1;39mvalue of type '_' expected to be instance of class or class-constrained type[0;0m
[0;36m329 |[0;0m }
[0;36m330 |[0;0m
[0;36m331 |[0;0m public func ws(tls: Bool = true, session: URLSession = .shared) -> WsContext {
[0;36m|[0;0m `- [1;31merror: [1;39mvalue of type '_' expected to be instance of class or class-constrained type[0;0m
[0;36m332 |[0;0m WsContext(session: session, url: scheme(tls ? .wss : .ws))
[0;36m333 |[0;0m }
/host/spi-builder-workspace/Sources/Kiosk/HTTP/HttpContext.swift:7:23: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m5 |[0;0m /// Resolved HTTP context snapshot produced by folding a context node with its parents.
[0;36m6 |[0;0m public struct ResolvedHttpContext: Sendable {
[0;36m7 |[0;0m public var session: [4;39mURLSession[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m8 |[0;0m public var url: UrlBuilder
[0;36m9 |[0;0m public var headers: HttpHeaderStorage
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Kiosk/HTTP/HttpContext.swift:19:14: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m17 |[0;0m
[0;36m18 |[0;0m public init(
[0;36m19 |[0;0m session: [4;39mURLSession[0;0m = .shared,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m20 |[0;0m url: UrlBuilder = .init(),
[0;36m21 |[0;0m headers: HttpHeaderStorage = .init(),
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Kiosk/HTTP/HttpContext.swift:19:28: [1;31merror: [1;39mvalue of type '_' expected to be instance of class or class-constrained type[0;0m
[0;36m17 |[0;0m
[0;36m18 |[0;0m public init(
[0;36m19 |[0;0m session: URLSession = .shared,
[0;36m|[0;0m `- [1;31merror: [1;39mvalue of type '_' expected to be instance of class or class-constrained type[0;0m
[0;36m20 |[0;0m url: UrlBuilder = .init(),
[0;36m21 |[0;0m headers: HttpHeaderStorage = .init(),
/host/spi-builder-workspace/Sources/Kiosk/HTTP/HttpContext.swift:19:28: [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m17 |[0;0m
[0;36m18 |[0;0m public init(
[0;36m19 |[0;0m session: URLSession = [4;39m.shared[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m20 |[0;0m url: UrlBuilder = .init(),
[0;36m21 |[0;0m headers: HttpHeaderStorage = .init(),
/host/spi-builder-workspace/Sources/Kiosk/HTTP/HttpContext.swift:494:18: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m492 |[0;0m /// Creates request-specific overrides. Nil values inherit URLSession defaults.
[0;36m493 |[0;0m public init(
[0;36m494 |[0;0m cachePolicy: [4;39mURLRequest[0;0m.CachePolicy? = nil,
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m495 |[0;0m timeoutInterval: TimeInterval? = nil,
[0;36m496 |[0;0m allowsCellularAccess: Bool? = nil,
/host/spi-builder-workspace/Sources/Kiosk/HTTP/HttpContext.swift:475:27: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m473 |[0;0m public struct HttpOptions: Sendable {
[0;36m474 |[0;0m /// Overrides how this request interacts with URL caching.
[0;36m475 |[0;0m public var cachePolicy: [4;39mURLRequest[0;0m.CachePolicy?
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m476 |[0;0m
[0;36m477 |[0;0m /// Overrides the idle timeout for this request.
/host/spi-builder-workspace/Sources/Kiosk/HTTP/HttpContext.swift:7:14: [1;31merror: [1;39mstored property 'session' of 'Sendable'-conforming struct 'ResolvedHttpContext' has non-Sendable type 'AnyObject'[0;0m
[0;36m5 |[0;0m /// Resolved HTTP context snapshot produced by folding a context node with its parents.
[0;36m6 |[0;0m public struct ResolvedHttpContext: Sendable {
[0;36m7 |[0;0m public var session: URLSession
[0;36m|[0;0m `- [1;31merror: [1;39mstored property 'session' of 'Sendable'-conforming struct 'ResolvedHttpContext' has non-Sendable type 'AnyObject'[0;0m
[0;36m8 |[0;0m public var url: UrlBuilder
[0;36m9 |[0;0m public var headers: HttpHeaderStorage
/host/spi-builder-workspace/Sources/Kiosk/HTTP/HttpContext.swift:48:32: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m46 |[0;0m public let parent: HttpContext?
[0;36m47 |[0;0m
[0;36m48 |[0;0m private var sessionOverride: [4;39mURLSession[0;0m?
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m49 |[0;0m private var schemeOverride: UrlScheme?
[0;36m50 |[0;0m private var hostOverride: String??
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Kiosk/HTTP/HttpContext.swift:72:23: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m70 |[0;0m
[0;36m71 |[0;0m /// The base session.
[0;36m72 |[0;0m public var session: [4;39mURLSession[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m73 |[0;0m get { fold().session }
[0;36m74 |[0;0m set { sessionOverride = newValue }
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Kiosk/HTTP/HttpContext.swift:144:14: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m142 |[0;0m public init(
[0;36m143 |[0;0m parent: HttpContext? = nil,
[0;36m144 |[0;0m session: [4;39mURLSession[0;0m = .shared,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m145 |[0;0m url: UrlBuilder = .init(),
[0;36m146 |[0;0m headers: HttpHeaderStorage = .init(),
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Kiosk/HTTP/HttpContext.swift:144:28: [1;31merror: [1;39mvalue of type '_' expected to be instance of class or class-constrained type[0;0m
[0;36m142 |[0;0m public init(
[0;36m143 |[0;0m parent: HttpContext? = nil,
[0;36m144 |[0;0m session: URLSession = .shared,
[0;36m|[0;0m `- [1;31merror: [1;39mvalue of type '_' expected to be instance of class or class-constrained type[0;0m
[0;36m145 |[0;0m url: UrlBuilder = .init(),
[0;36m146 |[0;0m headers: HttpHeaderStorage = .init(),
/host/spi-builder-workspace/Sources/Kiosk/HTTP/HttpContext.swift:144:28: [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m142 |[0;0m public init(
[0;36m143 |[0;0m parent: HttpContext? = nil,
[0;36m144 |[0;0m session: URLSession = [4;39m.shared[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m145 |[0;0m url: UrlBuilder = .init(),
[0;36m146 |[0;0m headers: HttpHeaderStorage = .init(),
/host/spi-builder-workspace/Sources/Kiosk/HTTP/HttpContext.swift:258:26: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m256 |[0;0m case missingHost
[0;36m257 |[0;0m case invalidURL
[0;36m258 |[0;0m case invalidResponse([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;36m259 |[0;0m case unsuccessfulStatus(HTTPStatusCode, Data, HTTPURLResponse)
[0;36m260 |[0;0m case unexpectedStatus(HTTPStatusCode, Data)
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Kiosk/HTTP/HttpContext.swift:259:51: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m257 |[0;0m case invalidURL
[0;36m258 |[0;0m case invalidResponse(URLResponse)
[0;36m259 |[0;0m case unsuccessfulStatus(HTTPStatusCode, 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;36m260 |[0;0m case unexpectedStatus(HTTPStatusCode, Data)
[0;36m261 |[0;0m case unsupportedContentType(HTTPContentType)
Foundation.HTTPURLResponse:2:18: [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias HTTPURLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Kiosk/HTTP/HttpContext.swift:258:10: [1;33mwarning: [1;39massociated value 'invalidResponse' of 'Sendable'-conforming enum 'Error' has non-Sendable type 'AnyObject'[0;0m
[0;36m256 |[0;0m case missingHost
[0;36m257 |[0;0m case invalidURL
[0;36m258 |[0;0m case invalidResponse(URLResponse)
[0;36m|[0;0m `- [1;33mwarning: [1;39massociated value 'invalidResponse' of 'Sendable'-conforming enum 'Error' has non-Sendable type 'AnyObject'[0;0m
[0;36m259 |[0;0m case unsuccessfulStatus(HTTPStatusCode, Data, HTTPURLResponse)
[0;36m260 |[0;0m case unexpectedStatus(HTTPStatusCode, Data)
/host/spi-builder-workspace/Sources/Kiosk/HTTP/HttpContext.swift:259:10: [1;33mwarning: [1;39massociated value 'unsuccessfulStatus' of 'Sendable'-conforming enum 'Error' contains non-Sendable type 'AnyObject'[0;0m
[0;36m257 |[0;0m case invalidURL
[0;36m258 |[0;0m case invalidResponse(URLResponse)
[0;36m259 |[0;0m case unsuccessfulStatus(HTTPStatusCode, Data, HTTPURLResponse)
[0;36m|[0;0m `- [1;33mwarning: [1;39massociated value 'unsuccessfulStatus' of 'Sendable'-conforming enum 'Error' contains non-Sendable type 'AnyObject'[0;0m
[0;36m260 |[0;0m case unexpectedStatus(HTTPStatusCode, Data)
[0;36m261 |[0;0m case unsupportedContentType(HTTPContentType)
/host/spi-builder-workspace/Sources/Kiosk/HTTP/HttpContext.swift:422: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;36m420 |[0;0m statusCode: HTTPStatusCode,
[0;36m421 |[0;0m data: Data,
[0;36m422 |[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;36m423 |[0;0m wire: WireSpec
[0;36m424 |[0;0m ) throws -> (any Swift.Error)? {
Foundation.HTTPURLResponse:2:18: [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias HTTPURLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Kiosk/HTTP/HttpContext.swift:444:22: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m442 |[0;0m public struct HttpErrorDecoder: Sendable {
[0;36m443 |[0;0m private let decodeError:
[0;36m444 |[0;0m @Sendable (Data, [4;39mHTTPURLResponse[0;0m, WireSpec) throws -> any Swift.Error
[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;36m445 |[0;0m
[0;36m446 |[0;0m public init<Payload: Decodable & Sendable>(_ payload: Payload.Type) {
Foundation.HTTPURLResponse:2:18: [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias HTTPURLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Kiosk/HTTP/HttpContext.swift:458:34: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m456 |[0;0m public init(
[0;36m457 |[0;0m _ decodeError:
[0;36m458 |[0;0m @escaping @Sendable (Data, [4;39mHTTPURLResponse[0;0m, WireSpec) throws -> any Swift.Error
[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;36m459 |[0;0m ) {
[0;36m460 |[0;0m self.decodeError = decodeError
Foundation.HTTPURLResponse:2:18: [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias HTTPURLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Kiosk/HTTP/HttpContext.swift:465:17: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m463 |[0;0m public func decode(
[0;36m464 |[0;0m _ data: Data,
[0;36m465 |[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;36m466 |[0;0m _ wire: WireSpec
[0;36m467 |[0;0m ) throws -> any Swift.Error {
Foundation.HTTPURLResponse:2:18: [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias HTTPURLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Kiosk/HTTP/HttpContext.swift:811:34: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m809 |[0;0m }
[0;36m810 |[0;0m
[0;36m811 |[0;0m public func session(_ session: [4;39mURLSession[0;0m) -> HttpContext {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m812 |[0;0m sessionOverride = session
[0;36m813 |[0;0m return self
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Kiosk/HTTP/HttpContext.swift:1295:44: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m1293 |[0;0m
[0;36m1294 |[0;0m extension HttpOptions {
[0;36m1295 |[0;0m fileprivate func apply(to request: inout [4;39mURLRequest[0;0m) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m1296 |[0;0m if let cachePolicy {
[0;36m1297 |[0;0m request.cachePolicy = cachePolicy
/host/spi-builder-workspace/Sources/Kiosk/HTTP/HttpContext.swift:1317: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;36m1315 |[0;0m }
[0;36m1316 |[0;0m
[0;36m1317 |[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;36m1318 |[0;0m fileprivate var httpHeaders: [AnyHttpHeader] {
[0;36m1319 |[0;0m allHeaderFields.map { key, value in
/host/spi-builder-workspace/Sources/Kiosk/WS/WsContext.swift:5:23: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m3 |[0;0m /// Fluent WebSocket context that builds and starts URLSessionWebSocketTask requests.
[0;36m4 |[0;0m public struct WsContext: RequestContext {
[0;36m5 |[0;0m public var session: [4;39mURLSession[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m6 |[0;0m public var url: UrlBuilder
[0;36m7 |[0;0m public var headers: HttpHeaderStorage
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Kiosk/WS/WsContext.swift:11:14: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m9 |[0;0m
[0;36m10 |[0;0m public init(
[0;36m11 |[0;0m session: [4;39mURLSession[0;0m = .shared,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m12 |[0;0m url: UrlBuilder = .init(scheme: .wss),
[0;36m13 |[0;0m headers: HttpHeaderStorage = .init(),
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Kiosk/WS/WsContext.swift:11:28: [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m9 |[0;0m
[0;36m10 |[0;0m public init(
[0;36m11 |[0;0m session: URLSession = [4;39m.shared[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m12 |[0;0m url: UrlBuilder = .init(scheme: .wss),
[0;36m13 |[0;0m headers: HttpHeaderStorage = .init(),
/host/spi-builder-workspace/Sources/Kiosk/WS/WsContext.swift:11:28: [1;31merror: [1;39mvalue of type '_' expected to be instance of class or class-constrained type[0;0m
[0;36m9 |[0;0m
[0;36m10 |[0;0m public init(
[0;36m11 |[0;0m session: URLSession = .shared,
[0;36m|[0;0m `- [1;31merror: [1;39mvalue of type '_' expected to be instance of class or class-constrained type[0;0m
[0;36m12 |[0;0m url: UrlBuilder = .init(scheme: .wss),
[0;36m13 |[0;0m headers: HttpHeaderStorage = .init(),
/host/spi-builder-workspace/Sources/Kiosk/WS/WsContext.swift:29:34: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m27 |[0;0m }
[0;36m28 |[0;0m
[0;36m29 |[0;0m public func session(_ session: [4;39mURLSession[0;0m) -> WsContext {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m30 |[0;0m var context = self
[0;36m31 |[0;0m context.session = session
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Kiosk/WS/WsContext.swift:35:35: [1;31merror: [1;39mcannot find type 'URLSessionWebSocketTask' in scope[0;0m
[0;36m33 |[0;0m }
[0;36m34 |[0;0m
[0;36m35 |[0;0m public func connect() throws -> [4;39mURLSessionWebSocketTask[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionWebSocketTask' in scope[0;0m
[0;36m36 |[0;0m var request = URLRequest(url: try makeURL())
[0;36m37 |[0;0m options.apply(to: &request)
/host/spi-builder-workspace/Sources/Kiosk/WS/WsContext.swift:98:44: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m96 |[0;0m
[0;36m97 |[0;0m extension WsOptions {
[0;36m98 |[0;0m fileprivate func apply(to request: inout [4;39mURLRequest[0;0m) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m99 |[0;0m if let timeoutInterval {
[0;36m100 |[0;0m request.timeoutInterval = timeoutInterval
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Sources/Kiosk/APIParameters.swift /host/spi-builder-workspace/Sources/Kiosk/Common/HttpHeaderEncoder.swift /host/spi-builder-workspace/Sources/Kiosk/Common/RequestContext.swift /host/spi-builder-workspace/Sources/Kiosk/Common/UrlBuilder.swift /host/spi-builder-workspace/Sources/Kiosk/Common/UrlQueryEncoder.swift /host/spi-builder-workspace/Sources/Kiosk/HTTP/HttpContext.swift /host/spi-builder-workspace/Sources/Kiosk/HTTP/HttpTypes.swift /host/spi-builder-workspace/Sources/Kiosk/Macros.swift /host/spi-builder-workspace/Sources/Kiosk/WS/WsContext.swift /host/spi-builder-workspace/Sources/Kiosk/Wire.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 -load-plugin-executable /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64/KioskMacros\#KioskMacros -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/Kiosk.build/Debug-webassembly-wasm32/Kiosk-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Kiosk.build/Debug-webassembly-wasm32/Kiosk-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Kiosk.build/Debug-webassembly-wasm32/Kiosk-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name Kiosk -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/Kiosk.build/Debug-webassembly-wasm32/Kiosk-t.build/Objects-normal/wasm32/Kiosk_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/Kiosk.build/Debug-webassembly-wasm32/Kiosk-t.build/Objects-normal/wasm32/Modules/Kiosk.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Kiosk.build/Debug-webassembly-wasm32/Kiosk-t.build/Objects-normal/wasm32/Modules/Kiosk.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Kiosk.build/Debug-webassembly-wasm32/Kiosk-t.build/Objects-normal/wasm32/Kiosk-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Kiosk.build/Debug-webassembly-wasm32/Kiosk-t.build/Objects-normal/wasm32/Kiosk-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Kiosk.build/Debug-webassembly-wasm32/Kiosk-t.build/Objects-normal/wasm32/Kiosk-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Kiosk.build/Debug-webassembly-wasm32/Kiosk-t.build/Objects-normal/wasm32/Modules/Kiosk.swiftmodule
error: Build failed
BUILD FAILURE 6.4 wasm