The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Kiosk, reference 0.2.0 (e8a240), with Swift 6.4 for Android on 27 Sep 2026 01:47:17 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886770-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:android-6.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build 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:         android
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-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:android-6.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:abadcff584c273feba50641b454858d377ba30b35ea7287a94f45ebd8afd0ea0
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-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.08s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.1 (4.32s)
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]
[38 / 236] SwiftSyntax601
[127 / 248] _SwiftSyntaxCShims
[153 / 258] SwiftSyntax
[161 / 260] SwiftSyntax
[162 / 261] SwiftSyntax510
[169 / 262]
[169 / 262] SwiftSyntax
[182 / 290] SwiftParser
[183 / 290] SwiftBasicFormat
[195 / 290] SwiftParser
[196 / 290] SwiftParser
[197 / 290] SwiftParser
[204 / 290] SwiftParser
[205 / 290] SwiftParser
[206 / 290] SwiftDiagnostics
[209 / 290] SwiftDiagnostics
[211 / 290] SwiftDiagnostics
[212 / 290] SwiftBasicFormat
[215 / 291] SwiftBasicFormat
[217 / 291] SwiftDiagnostics
[219 / 291] SwiftBasicFormat
[219 / 291]
[223 / 311] SwiftOperators
[225 / 312] SwiftParserDiagnostics
[226 / 313] SwiftParserDiagnostics
[227 / 313] SwiftParserDiagnostics
[235 / 313] SwiftParserDiagnostics
[236 / 313] SwiftParserDiagnostics
[237 / 313] SwiftParserDiagnostics
[244 / 313] SwiftSyntaxBuilder
[247 / 313] SwiftSyntaxBuilder
[250 / 313] SwiftOperators
[252 / 313] SwiftBasicFormat
[257 / 323] SwiftSyntaxBuilder
[259 / 324] SwiftSyntaxBuilder
[260 / 324] SwiftSyntaxBuilder
[261 / 324] SwiftSyntaxBuilder
[261 / 325] SwiftSyntaxBuilder
[263 / 325] SwiftSyntaxBuilder
[273 / 326] SwiftSyntaxMacros
[276 / 335] SwiftSyntaxMacros
[280 / 335] SwiftSyntaxMacros
[287 / 335] SwiftSyntaxMacros
[293 / 346] SwiftSyntaxMacros
[295 / 347] SwiftSyntaxMacroExpansion
[299 / 347] SwiftSyntaxMacroExpansion
[310 / 357] SwiftCompilerPluginMessageHandling
[313 / 357] SwiftCompilerPluginMessageHandling
[314 / 357] SwiftSyntax
[321 / 357] SwiftCompilerPluginMessageHandling
[328 / 360] SwiftCompilerPlugin
[329 / 360] SwiftCompilerPlugin
[332 / 362] SwiftSyntaxMacroExpansion
[333 / 362] SwiftCompilerPluginMessageHandling
[335 / 363] SwiftSyntax
[338 / 364] SwiftSyntax
[345 / 364] SwiftSyntaxMacros
[353 / 365] KioskMacros
[362 / 374] KioskMacros
[363 / 374] KioskMacros
[367 / 375] KioskMacros
error: SwiftCompile normal aarch64 failed with a nonzero exit code. Command line:     cd /host

[377 / 385] Kiosk
/host/spi-builder-workspace/Sources/Kiosk/Common/UrlBuilder.swift:327:47: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
325 |   }
326 |
327 |   public func http(tls: Bool = true, session: URLSession = .shared) -> HttpContext {
    |                                               `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
328 |     HttpContext(session: session, url: scheme(tls ? .https : .http))
329 |   }
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/Kiosk/Common/UrlBuilder.swift:327:61: error: value of type '_' expected to be instance of class or class-constrained type
325 |   }
326 |
327 |   public func http(tls: Bool = true, session: URLSession = .shared) -> HttpContext {
    |                                                             `- error: value of type '_' expected to be instance of class or class-constrained type
328 |     HttpContext(session: session, url: scheme(tls ? .https : .http))
329 |   }
/host/spi-builder-workspace/Sources/Kiosk/Common/UrlBuilder.swift:327:61: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
325 |   }
326 |
327 |   public func http(tls: Bool = true, session: URLSession = .shared) -> HttpContext {
    |                                                             `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
328 |     HttpContext(session: session, url: scheme(tls ? .https : .http))
329 |   }
/host/spi-builder-workspace/Sources/Kiosk/Common/UrlBuilder.swift:331:45: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
329 |   }
330 |
331 |   public func ws(tls: Bool = true, session: URLSession = .shared) -> WsContext {
    |                                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
332 |     WsContext(session: session, url: scheme(tls ? .wss : .ws))
333 |   }
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/Kiosk/Common/UrlBuilder.swift:331:59: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
329 |   }
330 |
331 |   public func ws(tls: Bool = true, session: URLSession = .shared) -> WsContext {
    |                                                           `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
332 |     WsContext(session: session, url: scheme(tls ? .wss : .ws))
333 |   }
/host/spi-builder-workspace/Sources/Kiosk/Common/UrlBuilder.swift:331:59: error: value of type '_' expected to be instance of class or class-constrained type
329 |   }
330 |
331 |   public func ws(tls: Bool = true, session: URLSession = .shared) -> WsContext {
    |                                                           `- error: value of type '_' expected to be instance of class or class-constrained type
332 |     WsContext(session: session, url: scheme(tls ? .wss : .ws))
333 |   }
/host/spi-builder-workspace/Sources/Kiosk/HTTP/HttpContext.swift:7:23: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
   5 | /// Resolved HTTP context snapshot produced by folding a context node with its parents.
   6 | public struct ResolvedHttpContext: Sendable {
   7 |   public var session: URLSession
     |                       `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
   8 |   public var url: UrlBuilder
   9 |   public var headers: HttpHeaderStorage
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/Kiosk/HTTP/HttpContext.swift:19:14: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  17 |
  18 |   public init(
  19 |     session: URLSession = .shared,
     |              `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  20 |     url: UrlBuilder = .init(),
  21 |     headers: HttpHeaderStorage = .init(),
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/Kiosk/HTTP/HttpContext.swift:19:28: error: value of type '_' expected to be instance of class or class-constrained type
  17 |
  18 |   public init(
  19 |     session: URLSession = .shared,
     |                            `- error: value of type '_' expected to be instance of class or class-constrained type
  20 |     url: UrlBuilder = .init(),
  21 |     headers: HttpHeaderStorage = .init(),
/host/spi-builder-workspace/Sources/Kiosk/HTTP/HttpContext.swift:19:28: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
  17 |
  18 |   public init(
  19 |     session: URLSession = .shared,
     |                            `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
  20 |     url: UrlBuilder = .init(),
  21 |     headers: HttpHeaderStorage = .init(),
/host/spi-builder-workspace/Sources/Kiosk/HTTP/HttpContext.swift:494:18: error: cannot find type 'URLRequest' in scope
 492 |   /// Creates request-specific overrides. Nil values inherit URLSession defaults.
 493 |   public init(
 494 |     cachePolicy: URLRequest.CachePolicy? = nil,
     |                  `- error: cannot find type 'URLRequest' in scope
 495 |     timeoutInterval: TimeInterval? = nil,
 496 |     allowsCellularAccess: Bool? = nil,
/host/spi-builder-workspace/Sources/Kiosk/HTTP/HttpContext.swift:475:27: error: cannot find type 'URLRequest' in scope
 473 | public struct HttpOptions: Sendable {
 474 |   /// Overrides how this request interacts with URL caching.
 475 |   public var cachePolicy: URLRequest.CachePolicy?
     |                           `- error: cannot find type 'URLRequest' in scope
 476 |
 477 |   /// Overrides the idle timeout for this request.
/host/spi-builder-workspace/Sources/Kiosk/HTTP/HttpContext.swift:7:14: error: stored property 'session' of 'Sendable'-conforming struct 'ResolvedHttpContext' has non-Sendable type 'AnyObject'
   5 | /// Resolved HTTP context snapshot produced by folding a context node with its parents.
   6 | public struct ResolvedHttpContext: Sendable {
   7 |   public var session: URLSession
     |              `- error: stored property 'session' of 'Sendable'-conforming struct 'ResolvedHttpContext' has non-Sendable type 'AnyObject'
   8 |   public var url: UrlBuilder
   9 |   public var headers: HttpHeaderStorage
/host/spi-builder-workspace/Sources/Kiosk/HTTP/HttpContext.swift:48:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  46 |   public let parent: HttpContext?
  47 |
  48 |   private var sessionOverride: URLSession?
     |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  49 |   private var schemeOverride: UrlScheme?
  50 |   private var hostOverride: String??
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/Kiosk/HTTP/HttpContext.swift:72:23: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  70 |
  71 |   /// The base session.
  72 |   public var session: URLSession {
     |                       `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  73 |     get { fold().session }
  74 |     set { sessionOverride = newValue }
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/Kiosk/HTTP/HttpContext.swift:144:14: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 142 |   public init(
 143 |     parent: HttpContext? = nil,
 144 |     session: URLSession = .shared,
     |              `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 145 |     url: UrlBuilder = .init(),
 146 |     headers: HttpHeaderStorage = .init(),
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/Kiosk/HTTP/HttpContext.swift:144:28: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 142 |   public init(
 143 |     parent: HttpContext? = nil,
 144 |     session: URLSession = .shared,
     |                            `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 145 |     url: UrlBuilder = .init(),
 146 |     headers: HttpHeaderStorage = .init(),
/host/spi-builder-workspace/Sources/Kiosk/HTTP/HttpContext.swift:144:28: error: value of type '_' expected to be instance of class or class-constrained type
 142 |   public init(
 143 |     parent: HttpContext? = nil,
 144 |     session: URLSession = .shared,
     |                            `- error: value of type '_' expected to be instance of class or class-constrained type
 145 |     url: UrlBuilder = .init(),
 146 |     headers: HttpHeaderStorage = .init(),
/host/spi-builder-workspace/Sources/Kiosk/HTTP/HttpContext.swift:258:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 256 |     case missingHost
 257 |     case invalidURL
 258 |     case invalidResponse(URLResponse)
     |                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 259 |     case unsuccessfulStatus(HTTPStatusCode, Data, HTTPURLResponse)
 260 |     case unexpectedStatus(HTTPStatusCode, Data)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Kiosk/HTTP/HttpContext.swift:259:51: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 257 |     case invalidURL
 258 |     case invalidResponse(URLResponse)
 259 |     case unsuccessfulStatus(HTTPStatusCode, Data, HTTPURLResponse)
     |                                                   `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 260 |     case unexpectedStatus(HTTPStatusCode, Data)
 261 |     case unsupportedContentType(HTTPContentType)
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/Kiosk/HTTP/HttpContext.swift:258:10: warning: associated value 'invalidResponse' of 'Sendable'-conforming enum 'Error' has non-Sendable type 'AnyObject'
 256 |     case missingHost
 257 |     case invalidURL
 258 |     case invalidResponse(URLResponse)
     |          `- warning: associated value 'invalidResponse' of 'Sendable'-conforming enum 'Error' has non-Sendable type 'AnyObject'
 259 |     case unsuccessfulStatus(HTTPStatusCode, Data, HTTPURLResponse)
 260 |     case unexpectedStatus(HTTPStatusCode, Data)
/host/spi-builder-workspace/Sources/Kiosk/HTTP/HttpContext.swift:259:10: warning: associated value 'unsuccessfulStatus' of 'Sendable'-conforming enum 'Error' contains non-Sendable type 'AnyObject'
 257 |     case invalidURL
 258 |     case invalidResponse(URLResponse)
 259 |     case unsuccessfulStatus(HTTPStatusCode, Data, HTTPURLResponse)
     |          `- warning: associated value 'unsuccessfulStatus' of 'Sendable'-conforming enum 'Error' contains non-Sendable type 'AnyObject'
 260 |     case unexpectedStatus(HTTPStatusCode, Data)
 261 |     case unsupportedContentType(HTTPContentType)
/host/spi-builder-workspace/Sources/Kiosk/HTTP/HttpContext.swift:422:15: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 420 |     statusCode: HTTPStatusCode,
 421 |     data: Data,
 422 |     response: HTTPURLResponse,
     |               `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 423 |     wire: WireSpec
 424 |   ) throws -> (any Swift.Error)? {
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/Kiosk/HTTP/HttpContext.swift:444:22: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 442 | public struct HttpErrorDecoder: Sendable {
 443 |   private let decodeError:
 444 |     @Sendable (Data, HTTPURLResponse, WireSpec) throws -> any Swift.Error
     |                      `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 445 |
 446 |   public init<Payload: Decodable & Sendable>(_ payload: Payload.Type) {
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/Kiosk/HTTP/HttpContext.swift:458:34: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 456 |   public init(
 457 |     _ decodeError:
 458 |       @escaping @Sendable (Data, HTTPURLResponse, WireSpec) throws -> any Swift.Error
     |                                  `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 459 |   ) {
 460 |     self.decodeError = decodeError
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/Kiosk/HTTP/HttpContext.swift:465:17: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 463 |   public func decode(
 464 |     _ data: Data,
 465 |     _ response: HTTPURLResponse,
     |                 `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 466 |     _ wire: WireSpec
 467 |   ) throws -> any Swift.Error {
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/Kiosk/HTTP/HttpContext.swift:811:34: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 809 |   }
 810 |
 811 |   public func session(_ session: URLSession) -> HttpContext {
     |                                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 812 |     sessionOverride = session
 813 |     return self
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/Kiosk/HTTP/HttpContext.swift:1295:44: error: cannot find type 'URLRequest' in scope
1293 |
1294 | extension HttpOptions {
1295 |   fileprivate func apply(to request: inout URLRequest) {
     |                                            `- error: cannot find type 'URLRequest' in scope
1296 |     if let cachePolicy {
1297 |       request.cachePolicy = cachePolicy
/host/spi-builder-workspace/Sources/Kiosk/HTTP/HttpContext.swift:1317:1: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
1315 | }
1316 |
1317 | extension HTTPURLResponse {
     | `- error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
1318 |   fileprivate var httpHeaders: [AnyHttpHeader] {
1319 |     allHeaderFields.map { key, value in
/host/spi-builder-workspace/Sources/Kiosk/WS/WsContext.swift:5:23: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  3 | /// Fluent WebSocket context that builds and starts URLSessionWebSocketTask requests.
  4 | public struct WsContext: RequestContext {
  5 |   public var session: URLSession
    |                       `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  6 |   public var url: UrlBuilder
  7 |   public var headers: HttpHeaderStorage
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/Kiosk/WS/WsContext.swift:11:14: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  9 |
 10 |   public init(
 11 |     session: URLSession = .shared,
    |              `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 12 |     url: UrlBuilder = .init(scheme: .wss),
 13 |     headers: HttpHeaderStorage = .init(),
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/Kiosk/WS/WsContext.swift:11:28: error: value of type '_' expected to be instance of class or class-constrained type
  9 |
 10 |   public init(
 11 |     session: URLSession = .shared,
    |                            `- error: value of type '_' expected to be instance of class or class-constrained type
 12 |     url: UrlBuilder = .init(scheme: .wss),
 13 |     headers: HttpHeaderStorage = .init(),
/host/spi-builder-workspace/Sources/Kiosk/WS/WsContext.swift:11:28: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
  9 |
 10 |   public init(
 11 |     session: URLSession = .shared,
    |                            `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 12 |     url: UrlBuilder = .init(scheme: .wss),
 13 |     headers: HttpHeaderStorage = .init(),
/host/spi-builder-workspace/Sources/Kiosk/WS/WsContext.swift:29:34: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 27 |   }
 28 |
 29 |   public func session(_ session: URLSession) -> WsContext {
    |                                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 30 |     var context = self
 31 |     context.session = session
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/Kiosk/WS/WsContext.swift:35:35: error: cannot find type 'URLSessionWebSocketTask' in scope
 33 |   }
 34 |
 35 |   public func connect() throws -> URLSessionWebSocketTask {
    |                                   `- error: cannot find type 'URLSessionWebSocketTask' in scope
 36 |     var request = URLRequest(url: try makeURL())
 37 |     options.apply(to: &request)
/host/spi-builder-workspace/Sources/Kiosk/WS/WsContext.swift:98:44: error: cannot find type 'URLRequest' in scope
 96 |
 97 | extension WsOptions {
 98 |   fileprivate func apply(to request: inout URLRequest) {
    |                                            `- error: cannot find type 'URLRequest' in scope
 99 |     if let timeoutInterval {
100 |       request.timeoutInterval = timeoutInterval
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
Failed frontend command:
/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/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 aarch64-unknown-linux-android28 -Xllvm -aarch64-use-tbi -disable-objc-interop -sdk /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -sysroot /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -I /host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64 -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 /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/plugins/testing\#/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/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_android.artifactbundle/swift-android/swift-resources/usr/lib/swift-aarch64 -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/lib/clang/18 -Xcc -fno-omit-frame-pointer -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-android-aarch64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Kiosk.build/Debug-android-aarch64/Kiosk-t.build/DerivedSources-normal/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Kiosk.build/Debug-android-aarch64/Kiosk-t.build/DerivedSources/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Kiosk.build/Debug-android-aarch64/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-android-aarch64/Kiosk-t.build/Objects-normal/aarch64/Kiosk_const_extract_protocols.json -in-process-plugin-server-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/plugins -plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/local/lib/swift/host/plugins -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Kiosk.build/Debug-android-aarch64/Kiosk-t.build/Objects-normal/aarch64/Modules/Kiosk.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Kiosk.build/Debug-android-aarch64/Kiosk-t.build/Objects-normal/aarch64/Modules/Kiosk.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Kiosk.build/Debug-android-aarch64/Kiosk-t.build/Objects-normal/aarch64/Kiosk-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Kiosk.build/Debug-android-aarch64/Kiosk-t.build/Objects-normal/aarch64/Kiosk-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Kiosk.build/Debug-android-aarch64/Kiosk-t.build/Objects-normal/aarch64/Kiosk-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Kiosk.build/Debug-android-aarch64/Kiosk-t.build/Objects-normal/aarch64/Modules/Kiosk.swiftmodule
error: Build failed
BUILD FAILURE 6.4 android