Build Information
Failed to build Kiosk, reference main (32ca5b), with Swift 6.4 for Wasm on 27 Sep 2026 04:15:57 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344843-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/eliseyOzerov/kiosk-swift.git
Reference: main
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
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 32ca5b9 Add generated WebSocket routes
Cloned https://github.com/eliseyOzerov/kiosk-swift.git
Revision (git rev-parse @):
32ca5b94ace5fa46237068dafe9cb60114ef2cbc
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/eliseyOzerov/kiosk-swift.git at main
========================================
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-54344843-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:4328fdb43c680d205c1d6761b1e3267aa38277eefdda9ddfb17b6a0f1a77857a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/swiftlang/swift-syntax.git
[1/80069] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git (3.04s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.1 (4.23s)
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]
[Constructing description]
[Pre-planning 1 / 565]
[Planning deferred tasks]
[22 / 235] _SwiftSyntaxCShims
[132 / 247] SwiftSyntax601
[152 / 257] SwiftSyntax
[152 / 258] SwiftSyntax
[164 / 260] SwiftSyntax509
[165 / 260]
[168 / 261] SwiftSyntax
[181 / 289] SwiftParser
[190 / 289] SwiftBasicFormat
[195 / 289] SwiftParser
[196 / 289] SwiftParser
[199 / 289] SwiftParser
[203 / 289] SwiftParser
[205 / 289] SwiftDiagnostics
[207 / 289] SwiftDiagnostics
[207 / 289] SwiftParser
[209 / 289] SwiftDiagnostics
[212 / 289] SwiftDiagnostics
[213 / 289] SwiftParserDiagnostics
[214 / 289] SwiftParser
[217 / 291] SwiftParser
[226 / 311] SwiftParserDiagnostics
[227 / 311] SwiftParserDiagnostics
[229 / 312] SwiftOperators
[230 / 312] SwiftParserDiagnostics
[240 / 312] SwiftParserDiagnostics
[242 / 312] SwiftSyntaxBuilder
[243 / 312] SwiftSyntaxBuilder
[244 / 312] SwiftParserDiagnostics
[245 / 312] SwiftOperators
[247 / 312] SwiftOperators
[249 / 312] SwiftOperators
[255 / 322] SwiftSyntaxBuilder
[257 / 322] SwiftSyntaxBuilder
[259 / 323] SwiftSyntaxBuilder
[263 / 324] SwiftSyntaxBuilder
[269 / 324] SwiftSyntaxMacros
[276 / 334] SwiftSyntaxMacros
[281 / 334] SwiftSyntaxMacros
[291 / 344] SwiftSyntaxMacroExpansion
[293 / 345] SwiftSyntaxMacroExpansion
[294 / 345] SwiftSyntaxMacroExpansion
[302 / 345] SwiftSyntaxMacroExpansion
[309 / 356] SwiftCompilerPluginMessageHandling
[311 / 356] SwiftCompilerPluginMessageHandling
[313 / 357] SwiftSyntaxMacroExpansion
[322 / 357] SwiftCompilerPlugin
[325 / 360] SwiftCompilerPlugin
[330 / 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
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:20: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;36m18 |[0;0m
[0;36m19 |[0;0m public init(
[0;36m20 |[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;36m21 |[0;0m url: UrlBuilder = .init(),
[0;36m22 |[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:20:28: [1;31merror: [1;39mvalue of type '_' expected to be instance of class or class-constrained type[0;0m
[0;36m18 |[0;0m
[0;36m19 |[0;0m public init(
[0;36m20 |[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;36m21 |[0;0m url: UrlBuilder = .init(),
[0;36m22 |[0;0m headers: HttpHeaderStorage = .init(),
/host/spi-builder-workspace/Sources/Kiosk/HTTP/HttpContext.swift:20:28: [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m18 |[0;0m
[0;36m19 |[0;0m public init(
[0;36m20 |[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;36m21 |[0;0m url: UrlBuilder = .init(),
[0;36m22 |[0;0m headers: HttpHeaderStorage = .init(),
/host/spi-builder-workspace/Sources/Kiosk/HTTP/HttpContext.swift:509:18: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m507 |[0;0m /// Creates request-specific overrides. Nil values inherit URLSession defaults.
[0;36m508 |[0;0m public init(
[0;36m509 |[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;36m510 |[0;0m timeoutInterval: TimeInterval? = nil,
[0;36m511 |[0;0m allowsCellularAccess: Bool? = nil,
/host/spi-builder-workspace/Sources/Kiosk/HTTP/HttpContext.swift:490:27: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m488 |[0;0m public struct HttpOptions: Sendable {
[0;36m489 |[0;0m /// Overrides how this request interacts with URL caching.
[0;36m490 |[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;36m491 |[0;0m
[0;36m492 |[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:51: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;36m49 |[0;0m public let parent: HttpContext?
[0;36m50 |[0;0m
[0;36m51 |[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;36m52 |[0;0m private var schemeOverride: UrlScheme?
[0;36m53 |[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:76: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;36m74 |[0;0m
[0;36m75 |[0;0m /// The base session.
[0;36m76 |[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;36m77 |[0;0m get { fold().session }
[0;36m78 |[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:154: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;36m152 |[0;0m public init(
[0;36m153 |[0;0m parent: HttpContext? = nil,
[0;36m154 |[0;0m session: [4;39mURLSession[0;0m? = nil,
[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;36m155 |[0;0m url: UrlBuilder = .init(),
[0;36m156 |[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:273: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;36m271 |[0;0m case missingHost
[0;36m272 |[0;0m case invalidURL
[0;36m273 |[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;36m274 |[0;0m case unsuccessfulStatus(HTTPStatusCode, Data, HTTPURLResponse)
[0;36m275 |[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:274: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;36m272 |[0;0m case invalidURL
[0;36m273 |[0;0m case invalidResponse(URLResponse)
[0;36m274 |[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;36m275 |[0;0m case unexpectedStatus(HTTPStatusCode, Data)
[0;36m276 |[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:273:10: [1;33mwarning: [1;39massociated value 'invalidResponse' of 'Sendable'-conforming enum 'Error' has non-Sendable type 'AnyObject'[0;0m
[0;36m271 |[0;0m case missingHost
[0;36m272 |[0;0m case invalidURL
[0;36m273 |[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;36m274 |[0;0m case unsuccessfulStatus(HTTPStatusCode, Data, HTTPURLResponse)
[0;36m275 |[0;0m case unexpectedStatus(HTTPStatusCode, Data)
/host/spi-builder-workspace/Sources/Kiosk/HTTP/HttpContext.swift:274:10: [1;33mwarning: [1;39massociated value 'unsuccessfulStatus' of 'Sendable'-conforming enum 'Error' contains non-Sendable type 'AnyObject'[0;0m
[0;36m272 |[0;0m case invalidURL
[0;36m273 |[0;0m case invalidResponse(URLResponse)
[0;36m274 |[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;36m275 |[0;0m case unexpectedStatus(HTTPStatusCode, Data)
[0;36m276 |[0;0m case unsupportedContentType(HTTPContentType)
/host/spi-builder-workspace/Sources/Kiosk/HTTP/HttpContext.swift:437: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;36m435 |[0;0m statusCode: HTTPStatusCode,
[0;36m436 |[0;0m data: Data,
[0;36m437 |[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;36m438 |[0;0m wire: WireSpec
[0;36m439 |[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:459: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;36m457 |[0;0m public struct HttpErrorDecoder: Sendable {
[0;36m458 |[0;0m private let decodeError:
[0;36m459 |[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;36m460 |[0;0m
[0;36m461 |[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:473: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;36m471 |[0;0m public init(
[0;36m472 |[0;0m _ decodeError:
[0;36m473 |[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;36m474 |[0;0m ) {
[0;36m475 |[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:480: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;36m478 |[0;0m public func decode(
[0;36m479 |[0;0m _ data: Data,
[0;36m480 |[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;36m481 |[0;0m _ wire: WireSpec
[0;36m482 |[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:826: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;36m824 |[0;0m }
[0;36m825 |[0;0m
[0;36m826 |[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;36m827 |[0;0m sessionOverride = session
[0;36m828 |[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:1363:44: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m1361 |[0;0m
[0;36m1362 |[0;0m extension HttpOptions {
[0;36m1363 |[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;36m1364 |[0;0m if let cachePolicy {
[0;36m1365 |[0;0m request.cachePolicy = cachePolicy
/host/spi-builder-workspace/Sources/Kiosk/HTTP/HttpContext.swift:1385: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;36m1383 |[0;0m }
[0;36m1384 |[0;0m
[0;36m1385 |[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;36m1386 |[0;0m fileprivate var httpHeaders: [AnyHttpHeader] {
[0;36m1387 |[0;0m allHeaderFields.map { key, value in
/host/spi-builder-workspace/Sources/Kiosk/WS/SocketConnection.swift:43:11: [1;31merror: [1;39mcannot find type 'URLSessionWebSocketTask' in scope[0;0m
[0;36m41 |[0;0m
[0;36m42 |[0;0m public func close(
[0;36m43 |[0;0m code: [4;39mURLSessionWebSocketTask[0;0m.CloseCode = .normalClosure,
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionWebSocketTask' in scope[0;0m
[0;36m44 |[0;0m reason: Data? = nil
[0;36m45 |[0;0m ) {
/host/spi-builder-workspace/Sources/Kiosk/WS/SocketConnection.swift:57:11: [1;31merror: [1;39mcannot find type 'URLSessionWebSocketTask' in scope[0;0m
[0;36m55 |[0;0m
[0;36m56 |[0;0m private static func receive(
[0;36m57 |[0;0m task: [4;39mURLSessionWebSocketTask[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionWebSocketTask' in scope[0;0m
[0;36m58 |[0;0m wire: WireSpec,
[0;36m59 |[0;0m state: SocketConnectionState<Output>
/host/spi-builder-workspace/Sources/Kiosk/WS/SocketConnection.swift:75:8: [1;31merror: [1;39mcannot find type 'URLSessionWebSocketTask' in scope[0;0m
[0;36m73 |[0;0m
[0;36m74 |[0;0m private static func encode(_ input: Input, wire: WireSpec) throws
[0;36m75 |[0;0m -> [4;39mURLSessionWebSocketTask[0;0m.Message
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionWebSocketTask' in scope[0;0m
[0;36m76 |[0;0m {
[0;36m77 |[0;0m guard wire.codec == .json else {
/host/spi-builder-workspace/Sources/Kiosk/WS/SocketConnection.swift:94:19: [1;31merror: [1;39mcannot find type 'URLSessionWebSocketTask' in scope[0;0m
[0;36m92 |[0;0m private static func decode(
[0;36m93 |[0;0m _ output: Output.Type,
[0;36m94 |[0;0m from message: [4;39mURLSessionWebSocketTask[0;0m.Message,
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionWebSocketTask' in scope[0;0m
[0;36m95 |[0;0m wire: WireSpec
[0;36m96 |[0;0m ) throws -> Output {
/host/spi-builder-workspace/Sources/Kiosk/WS/SocketConnection.swift:127:21: [1;31merror: [1;39mcannot find type 'URLSessionWebSocketTask' in scope[0;0m
[0;36m125 |[0;0m private final class SocketConnectionState<Output>: @unchecked Sendable {
[0;36m126 |[0;0m private let lock = NSLock()
[0;36m127 |[0;0m private var task: [4;39mURLSessionWebSocketTask[0;0m?
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionWebSocketTask' in scope[0;0m
[0;36m128 |[0;0m private var wire: WireSpec?
[0;36m129 |[0;0m private var receiveTask: Task<Void, Never>?
/host/spi-builder-workspace/Sources/Kiosk/WS/SocketConnection.swift:163:19: [1;31merror: [1;39mcannot find type 'URLSessionWebSocketTask' in scope[0;0m
[0;36m161 |[0;0m }
[0;36m162 |[0;0m
[0;36m163 |[0;0m func open(task: [4;39mURLSessionWebSocketTask[0;0m, receiveTask: Task<Void, Never>, wire: WireSpec) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionWebSocketTask' in scope[0;0m
[0;36m164 |[0;0m lock.lock()
[0;36m165 |[0;0m isOpening = false
/host/spi-builder-workspace/Sources/Kiosk/WS/SocketConnection.swift:178:30: [1;31merror: [1;39mcannot find type 'URLSessionWebSocketTask' in scope[0;0m
[0;36m176 |[0;0m }
[0;36m177 |[0;0m
[0;36m178 |[0;0m func openTask() throws -> ([4;39mURLSessionWebSocketTask[0;0m, WireSpec) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionWebSocketTask' in scope[0;0m
[0;36m179 |[0;0m lock.lock()
[0;36m180 |[0;0m defer { lock.unlock() }
/host/spi-builder-workspace/Sources/Kiosk/WS/SocketConnection.swift:213:20: [1;31merror: [1;39mcannot find type 'URLSessionWebSocketTask' in scope[0;0m
[0;36m211 |[0;0m }
[0;36m212 |[0;0m
[0;36m213 |[0;0m func close(code: [4;39mURLSessionWebSocketTask[0;0m.CloseCode, reason: Data?) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionWebSocketTask' in scope[0;0m
[0;36m214 |[0;0m lock.lock()
[0;36m215 |[0;0m let task = task
/host/spi-builder-workspace/Sources/Kiosk/WS/StreamTransport.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 /// Request data used to open a long-lived stream transport.
[0;36m4 |[0;0m public struct StreamRequest: Sendable {
[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/StreamTransport.swift:12: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;36m10 |[0;0m
[0;36m11 |[0;0m public init(
[0;36m12 |[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;36m13 |[0;0m url: UrlBuilder = .init(scheme: .wss),
[0;36m14 |[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/StreamTransport.swift:12:28: [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m10 |[0;0m
[0;36m11 |[0;0m public init(
[0;36m12 |[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;36m13 |[0;0m url: UrlBuilder = .init(scheme: .wss),
[0;36m14 |[0;0m headers: HttpHeaderStorage = .init(),
/host/spi-builder-workspace/Sources/Kiosk/WS/StreamTransport.swift:12:28: [1;31merror: [1;39mvalue of type '_' expected to be instance of class or class-constrained type[0;0m
[0;36m10 |[0;0m
[0;36m11 |[0;0m public init(
[0;36m12 |[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;36m13 |[0;0m url: UrlBuilder = .init(scheme: .wss),
[0;36m14 |[0;0m headers: HttpHeaderStorage = .init(),
/host/spi-builder-workspace/Sources/Kiosk/WS/StreamTransport.swift:5:14: [1;31merror: [1;39mstored property 'session' of 'Sendable'-conforming struct 'StreamRequest' has non-Sendable type 'AnyObject'[0;0m
[0;36m3 |[0;0m /// Request data used to open a long-lived stream transport.
[0;36m4 |[0;0m public struct StreamRequest: Sendable {
[0;36m5 |[0;0m public var session: URLSession
[0;36m|[0;0m `- [1;31merror: [1;39mstored property 'session' of 'Sendable'-conforming struct 'StreamRequest' has non-Sendable type 'AnyObject'[0;0m
[0;36m6 |[0;0m public var url: UrlBuilder
[0;36m7 |[0;0m public var headers: HttpHeaderStorage
/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:43: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;36m41 |[0;0m }
[0;36m42 |[0;0m
[0;36m43 |[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;36m44 |[0;0m var context = self
[0;36m45 |[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:49:35: [1;31merror: [1;39mcannot find type 'URLSessionWebSocketTask' in scope[0;0m
[0;36m47 |[0;0m }
[0;36m48 |[0;0m
[0;36m49 |[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;36m50 |[0;0m let request = try makeRequest()
[0;36m51 |[0;0m let task = session.webSocketTask(with: request)
/host/spi-builder-workspace/Sources/Kiosk/WS/WsContext.swift:60:39: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m58 |[0;0m }
[0;36m59 |[0;0m
[0;36m60 |[0;0m public func makeRequest() throws -> [4;39mURLRequest[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m61 |[0;0m var request = URLRequest(url: try makeURL())
[0;36m62 |[0;0m options.apply(to: &request)
/host/spi-builder-workspace/Sources/Kiosk/WS/WsContext.swift:129:44: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m127 |[0;0m
[0;36m128 |[0;0m extension WsOptions {
[0;36m129 |[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;36m130 |[0;0m if let timeoutInterval {
[0;36m131 |[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/SocketConnection.swift /host/spi-builder-workspace/Sources/Kiosk/WS/StreamTransport.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