The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Kiosk, reference 0.2.0 (e8a240), with Swift 6.2 for Linux on 13 Aug 2026 08:59:02 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:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.0.1
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:         linux
Swift version:             6.2
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:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:4f3911e0f09a6ac47ac813ad3222aa373869118ee0ae384fd641a13da74b5e3f
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.2-latest
Fetching https://github.com/swiftlang/swift-syntax.git
[1/76471] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (2.64s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.1 (3.60s)
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
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/601.0.1/swift-6.2.4-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/601.0.1/swift-6.2.4-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz (0.29s)
Building for debugging...
[0/6] Write sources
[2/6] Write swift-version-24593BA9C3E375BF.txt
[4/39] Emitting module KioskMacros
[5/43] Compiling KioskMacros Plugin.swift
[6/43] Compiling KioskMacros SnapMacro.swift
[7/43] Compiling KioskMacros StringMacro.swift
[8/43] Compiling KioskMacros StyleMacro.swift
[9/43] Compiling KioskMacros RouteMacro.swift
[10/43] Compiling KioskMacros CodecMacro.swift
[11/43] Compiling KioskMacros DefaultMacro.swift
[12/43] Compiling KioskMacros FieldMacro.swift
[13/43] Compiling KioskMacros FormatMacro.swift
[14/43] Compiling KioskMacros MacroSyntaxSupport.swift
[15/43] Compiling KioskMacros ContentMacro.swift
[16/43] Compiling KioskMacros DeleteMacro.swift
[17/43] Compiling KioskMacros EndpointContractWire.swift
[18/43] Compiling KioskMacros GetMacro.swift
[19/43] Compiling KioskMacros DataMacro.swift
[20/43] Compiling KioskMacros KeyMacro.swift
[21/43] Compiling KioskMacros ErasedMacro.swift
[22/43] Compiling KioskMacros InitMacro.swift
[23/43] Compiling KioskMacros RenameMacro.swift
[24/43] Compiling KioskMacros WireMacro.swift
[25/43] Compiling KioskMacros WireModel.swift
[26/43] Compiling KioskMacros CopyMacro.swift
[27/43] Compiling KioskMacros JsonMacro.swift
[28/43] Compiling KioskMacros LerpMacro.swift
[29/43] Compiling KioskMacros MapMacro.swift
[30/43] Compiling KioskMacros MergeMacro.swift
[31/43] Compiling KioskMacros QueryMacro.swift
[32/43] Compiling KioskMacros ResponseMacro.swift
[33/43] Compiling KioskMacros TimeoutMacro.swift
[34/43] Compiling KioskMacros WrapperMacro.swift
[35/43] Compiling KioskMacros ParamMacro.swift
[36/43] Compiling KioskMacros HTTPMethodBody.swift
[37/43] Compiling KioskMacros HeaderMacro.swift
[38/43] Compiling KioskMacros PatchMacro.swift
[39/43] Compiling KioskMacros PostMacro.swift
[40/43] Compiling KioskMacros PutMacro.swift
[41/44] Wrapping AST for KioskMacros for debugging
[42/44] Write Objects.LinkFileList
[43/44] Linking KioskMacros-tool
[45/54] Compiling Kiosk Macros.swift
[46/54] Compiling Kiosk WsContext.swift
/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
/host/spi-builder-workspace/Sources/Kiosk/WS/WsContext.swift:36:19: error: cannot find 'URLRequest' in scope
 34 |
 35 |   public func connect() throws -> URLSessionWebSocketTask {
 36 |     var request = URLRequest(url: try makeURL())
    |                   `- error: cannot find 'URLRequest' in scope
 37 |     options.apply(to: &request)
 38 |
/host/spi-builder-workspace/Sources/Kiosk/WS/WsContext.swift:43:24: error: value of type 'URLSession' (aka 'AnyObject') has no member 'webSocketTask'
 41 |     }
 42 |
 43 |     let task = session.webSocketTask(with: request)
    |                        `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'webSocketTask'
 44 |     if let maximumMessageSize = options.maximumMessageSize {
 45 |       task.maximumMessageSize = maximumMessageSize
[47/55] Compiling Kiosk APIParameters.swift
[48/55] Compiling Kiosk HttpHeaderEncoder.swift
[49/55] Compiling Kiosk RequestContext.swift
/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: 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: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: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: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,
[50/55] Compiling Kiosk UrlBuilder.swift
/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: 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: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: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: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,
error: emit-module command failed with exit code 1 (use -v to see invocation)
[51/55] Emitting module 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: 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: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: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: 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/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/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: 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: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: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 'URLSession' (aka '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 'URLSession' (aka '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: 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: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: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 'URLResponse' (aka 'AnyObject')
 256 |     case missingHost
 257 |     case invalidURL
 258 |     case invalidResponse(URLResponse)
     |          `- warning: associated value 'invalidResponse' of 'Sendable'-conforming enum 'Error' has non-Sendable type 'URLResponse' (aka '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 'HTTPURLResponse' (aka '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 'HTTPURLResponse' (aka '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 [#NominalTypes]
1315 | }
1316 |
1317 | extension HTTPURLResponse {
     | `- error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended [#NominalTypes]
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>
[52/55] Compiling Kiosk HttpTypes.swift
[53/55] Compiling Kiosk UrlQueryEncoder.swift
[54/55] Compiling Kiosk HttpContext.swift
/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 'URLSession' (aka '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 'URLSession' (aka '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 'URLResponse' (aka 'AnyObject')
 256 |     case missingHost
 257 |     case invalidURL
 258 |     case invalidResponse(URLResponse)
     |          `- warning: associated value 'invalidResponse' of 'Sendable'-conforming enum 'Error' has non-Sendable type 'URLResponse' (aka '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 'HTTPURLResponse' (aka '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 'HTTPURLResponse' (aka '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 [#NominalTypes]
1315 | }
1316 |
1317 | extension HTTPURLResponse {
     | `- error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended [#NominalTypes]
1318 |   fileprivate var httpHeaders: [AnyHttpHeader] {
1319 |     allHeaderFields.map { key, value in
/host/spi-builder-workspace/Sources/Kiosk/HTTP/HttpContext.swift:156:63: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 154 |   ) {
 155 |     self.parent = parent
 156 |     sessionOverride = parent == nil || session !== URLSession.shared ? session : nil
     |                                                               `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 157 |     schemeOverride = parent == nil ? url.scheme : nil
 158 |     hostOverride = parent == nil || url.host != nil ? .some(url.host) : nil
/host/spi-builder-workspace/Sources/Kiosk/HTTP/HttpContext.swift:452:54: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 450 |       let payload = try decoder.decode(Payload.self, from: data)
 451 |       let message = try? decoder.decode(HttpErrorMessage.self, from: data).message
 452 |       return HttpError(code: HTTPStatusCode(response.statusCode), message: message, payload: payload)
     |                                                      `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 453 |     }
 454 |   }
/host/spi-builder-workspace/Sources/Kiosk/HTTP/HttpContext.swift:1197:22: error: cannot find 'URLRequest' in scope
1195 |     validatesStatus: Bool
1196 |   ) async throws -> Response<Data> {
1197 |     var urlRequest = URLRequest(url: try makeURL(from: request.url))
     |                      `- error: cannot find 'URLRequest' in scope
1198 |     urlRequest.httpMethod = request.method.rawValue
1199 |     urlRequest.httpBody = request.body
/host/spi-builder-workspace/Sources/Kiosk/HTTP/HttpContext.swift:1213:54: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
1211 |     }
1212 |
1213 |     let (data, response) = try await context.session.data(for: urlRequest)
     |                                                      `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
1214 |
1215 |     guard let httpResponse = response as? HTTPURLResponse else {
/host/spi-builder-workspace/Sources/Kiosk/HTTP/HttpContext.swift:1268:24: error: 'HTTPURLResponse' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
1266 |     let url = response.url ?? (try? makeURL(from: context.url)) ?? URL(string: "https://kiosk.local")!
1267 |     let headerFields = Dictionary(uniqueKeysWithValues: response.headers.map { ($0.name, $0.value) })
1268 |     let httpResponse = HTTPURLResponse(
     |                        `- error: 'HTTPURLResponse' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
1269 |       url: url,
1270 |       statusCode: response.status.rawValue,
/host/spi-builder-workspace/Sources/Kiosk/HTTP/HttpContext.swift:1271:20: error: 'nil' requires a contextual type
1269 |       url: url,
1270 |       statusCode: response.status.rawValue,
1271 |       httpVersion: nil,
     |                    `- error: 'nil' requires a contextual type
1272 |       headerFields: headerFields
1273 |     )!
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[55/55] Compiling Kiosk Wire.swift
BUILD FAILURE 6.2 linux