The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Kiosk, reference 0.2.0 (e8a240), with Swift 6.3 for Wasm on 13 Aug 2026 09:01:06 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344844-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 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:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/eliseyOzerov/kiosk-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:e92e38b97676c18adb57b57429ddfb766786102cb50cb918e0d9e8055d05b35d
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest
Fetching https://github.com/swiftlang/swift-syntax.git
[1/76471] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (3.30s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.1 (4.33s)
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...
[0/37] Write sources
[17/37] Compiling _SwiftSyntaxCShims dummy.c
[18/37] Write swift-version-24593BA9C3E375BF.txt
[20/45] Emitting module SwiftSyntax510
[21/45] Emitting module SwiftSyntax509
[22/45] Compiling SwiftSyntax509 Empty.swift
[23/46] Wrapping AST for SwiftSyntax509 for debugging
[25/46] Compiling SwiftSyntax600 Empty.swift
[26/46] Emitting module SwiftSyntax600
[27/47] Compiling SwiftSyntax510 Empty.swift
[29/47] Emitting module SwiftSyntax601
[30/47] Compiling SwiftSyntax601 Empty.swift
[32/49] Wrapping AST for SwiftSyntax600 for debugging
[33/49] Wrapping AST for SwiftSyntax510 for debugging
[34/49] Wrapping AST for SwiftSyntax601 for debugging
[36/113] Compiling SwiftSyntax Identifier.swift
[37/113] Compiling SwiftSyntax MemoryLayout.swift
[38/113] Compiling SwiftSyntax MissingNodeInitializers.swift
[39/113] Compiling SwiftSyntax RawSyntax.swift
[40/113] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[41/113] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[42/113] Compiling SwiftSyntax RawSyntaxTokenView.swift
[43/113] Compiling SwiftSyntax SourceEdit.swift
[44/113] Compiling SwiftSyntax SourceLength.swift
[45/122] Compiling SwiftSyntax SyntaxIdentifier.swift
[46/122] Compiling SwiftSyntax SyntaxNodeFactory.swift
[47/122] Compiling SwiftSyntax SyntaxNodeStructure.swift
[48/122] Compiling SwiftSyntax SyntaxProtocol.swift
[49/122] Compiling SwiftSyntax SyntaxText.swift
[50/122] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[51/122] Compiling SwiftSyntax TokenDiagnostic.swift
[52/122] Compiling SwiftSyntax TokenSequence.swift
[53/122] Compiling SwiftSyntax TokenSyntax.swift
[54/122] Compiling SwiftSyntax SourceLocation.swift
[55/122] Compiling SwiftSyntax SourcePresence.swift
[56/122] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[57/122] Compiling SwiftSyntax Syntax.swift
[58/122] Compiling SwiftSyntax SyntaxArena.swift
[59/122] Compiling SwiftSyntax SyntaxArenaAllocatedBuffer.swift
[60/122] Compiling SwiftSyntax SyntaxChildren.swift
[61/122] Compiling SwiftSyntax SyntaxCollection.swift
[62/122] Compiling SwiftSyntax SyntaxHashable.swift
[63/122] Compiling SwiftSyntax AbsolutePosition.swift
[64/122] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[65/122] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[66/122] Compiling SwiftSyntax Assert.swift
[67/122] Compiling SwiftSyntax BumpPtrAllocator.swift
[68/122] Compiling SwiftSyntax CommonAncestor.swift
[69/122] Compiling SwiftSyntax Convenience.swift
[70/122] Compiling SwiftSyntax CustomTraits.swift
[71/122] Compiling SwiftSyntax EditorPlaceholder.swift
[72/122] Emitting module SwiftSyntax
[73/122] Compiling SwiftSyntax RawSyntaxNodesC.swift
[74/122] Compiling SwiftSyntax RawSyntaxNodesD.swift
[75/122] Compiling SwiftSyntax RawSyntaxNodesEF.swift
[76/122] Compiling SwiftSyntax RawSyntaxNodesGHI.swift
[77/122] Compiling SwiftSyntax RawSyntaxNodesJKLMN.swift
[78/122] Compiling SwiftSyntax RawSyntaxNodesOP.swift
[79/122] Compiling SwiftSyntax RawSyntaxNodesQRS.swift
[80/122] Compiling SwiftSyntax RawSyntaxNodesTUVWXYZ.swift
[81/122] Compiling SwiftSyntax RawSyntaxValidation.swift
[82/122] Compiling SwiftSyntax SyntaxEnum.swift
[83/122] Compiling SwiftSyntax SyntaxKind.swift
[84/122] Compiling SwiftSyntax SyntaxRewriter.swift
[85/122] Compiling SwiftSyntax SyntaxTraits.swift
[86/122] Compiling SwiftSyntax SyntaxVisitor.swift
[87/122] Compiling SwiftSyntax TokenKind.swift
[88/122] Compiling SwiftSyntax Tokens.swift
[89/122] Compiling SwiftSyntax TriviaPieces.swift
[90/122] Compiling SwiftSyntax RawSyntaxNodesAB.swift
[91/122] Compiling SwiftSyntax Trivia.swift
[92/122] Compiling SwiftSyntax Utils.swift
[93/122] Compiling SwiftSyntax ChildNameForKeyPath.swift
[94/122] Compiling SwiftSyntax Keyword.swift
[95/122] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[96/122] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[97/122] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[98/122] Compiling SwiftSyntax SyntaxBaseNodes.swift
[99/122] Compiling SwiftSyntax SyntaxCollections.swift
[100/122] Compiling SwiftSyntax SyntaxNodesAB.swift
[101/122] Compiling SwiftSyntax SyntaxNodesC.swift
[102/122] Compiling SwiftSyntax SyntaxNodesD.swift
[103/122] Compiling SwiftSyntax SyntaxNodesEF.swift
[104/122] Compiling SwiftSyntax SyntaxNodesGHI.swift
[105/122] Compiling SwiftSyntax SyntaxNodesJKLMN.swift
[106/122] Compiling SwiftSyntax SyntaxNodesOP.swift
[107/122] Compiling SwiftSyntax SyntaxNodesQRS.swift
[108/122] Compiling SwiftSyntax SyntaxNodesTUVWXYZ.swift
[109/132] Wrapping AST for SwiftSyntax for debugging
[111/181] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[112/181] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[113/181] Compiling SwiftDiagnostics FixIt.swift
[114/182] Emitting module SwiftDiagnostics
[115/182] Compiling SwiftParser Attributes.swift
[116/182] Compiling SwiftParser Availability.swift
[117/182] Compiling SwiftDiagnostics Note.swift
[118/182] Compiling SwiftBasicFormat InferIndentation.swift
[119/182] Compiling SwiftBasicFormat Syntax+Extensions.swift
[120/182] Compiling SwiftBasicFormat Indenter.swift
[121/182] Compiling SwiftDiagnostics DiagnosticDecorator.swift
[122/182] Compiling SwiftParser CharacterInfo.swift
[123/182] Compiling SwiftParser CollectionNodes+Parsable.swift
[124/182] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[125/182] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[126/182] Compiling SwiftDiagnostics Message.swift
[127/183] Wrapping AST for SwiftDiagnostics for debugging
[129/183] Emitting module SwiftBasicFormat
[130/183] Compiling SwiftBasicFormat BasicFormat.swift
[131/184] Wrapping AST for SwiftBasicFormat for debugging
[133/184] Emitting module SwiftParser
[134/189] Compiling SwiftParser LexemeSequence.swift
[135/189] Compiling SwiftParser Lexer.swift
[136/189] Compiling SwiftParser RegexLiteralLexer.swift
[137/189] Compiling SwiftParser UnicodeScalarExtensions.swift
[138/189] Compiling SwiftParser Lookahead.swift
[139/189] Compiling SwiftParser LoopProgressCondition.swift
[140/189] Compiling SwiftParser SwiftParserCompatibility.swift
[141/189] Compiling SwiftParser SwiftVersion.swift
[142/189] Compiling SwiftParser SyntaxUtils.swift
[143/189] Compiling SwiftParser TokenConsumer.swift
[144/189] Compiling SwiftParser TokenPrecedence.swift
[145/189] Compiling SwiftParser Modifiers.swift
[146/189] Compiling SwiftParser Names.swift
[147/189] Compiling SwiftParser Nominals.swift
[148/189] Compiling SwiftParser Parameters.swift
[149/189] Compiling SwiftParser ParseSourceFile.swift
[150/189] Compiling SwiftParser Parser.swift
[151/189] Compiling SwiftParser Patterns.swift
[152/189] Compiling SwiftParser Recovery.swift
[153/189] Compiling SwiftParser Specifiers.swift
[154/189] Compiling SwiftParser Statements.swift
[155/189] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[156/189] Compiling SwiftParser StringLiterals.swift
[161/189] Compiling SwiftParser Declarations.swift
[162/189] Compiling SwiftParser Directives.swift
[163/189] Compiling SwiftParser ExpressionInterpretedAsVersionTuple.swift
[164/189] Compiling SwiftParser Expressions.swift
[165/189] Compiling SwiftParser IncrementalParseTransition.swift
[166/189] Compiling SwiftParser IsValidIdentifier.swift
[167/189] Compiling SwiftParser Cursor.swift
[168/189] Compiling SwiftParser Lexeme.swift
[169/189] Compiling SwiftParser TokenSpec.swift
[170/189] Compiling SwiftParser TokenSpecSet.swift
[171/189] Compiling SwiftParser TopLevel.swift
[172/189] Compiling SwiftParser TriviaParser.swift
[173/189] Compiling SwiftParser Types.swift
[174/189] Compiling SwiftParser ExperimentalFeatures.swift
[175/189] Compiling SwiftParser IsLexerClassified.swift
[176/189] Compiling SwiftParser LayoutNodes+Parsable.swift
[177/189] Compiling SwiftParser Parser+TokenSpecSet.swift
[178/189] Compiling SwiftParser TokenSpecStaticMembers.swift
[179/190] Wrapping AST for SwiftParser for debugging
[181/213] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[182/214] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[183/214] Compiling SwiftOperators PrecedenceGroup.swift
[184/215] Compiling SwiftOperators PrecedenceGraph.swift
[185/215] Compiling SwiftOperators OperatorTable.swift
[186/215] Compiling SwiftOperators OperatorTable+Semantics.swift
[187/215] Compiling SwiftOperators SyntaxSynthesis.swift
[188/215] Compiling SwiftParserDiagnostics MissingNodesError.swift
[189/215] Compiling SwiftParserDiagnostics MissingTokenError.swift
[190/215] Compiling SwiftOperators OperatorTable+Folding.swift
[191/215] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[192/215] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[193/215] Emitting module SwiftOperators
[195/216] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[196/216] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[197/216] Compiling SwiftParserDiagnostics Utils.swift
[197/216] Wrapping AST for SwiftOperators for debugging
[199/216] Emitting module SwiftParserDiagnostics
[200/216] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[201/216] Compiling SwiftParserDiagnostics PresenceUtils.swift
[202/216] Compiling SwiftParserDiagnostics DiagnosticExtensions.swift
[203/216] Compiling SwiftParserDiagnostics LexerDiagnosticMessages.swift
[208/217] Wrapping AST for SwiftParserDiagnostics for debugging
[210/232] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[211/232] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[212/232] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[213/232] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[214/232] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[215/232] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[216/232] Emitting module SwiftSyntaxBuilder
[217/232] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[218/232] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[219/232] Compiling SwiftSyntaxBuilder Indenter.swift
[220/232] Compiling SwiftSyntaxBuilder ListBuilder.swift
[221/233] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[222/233] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[223/233] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[224/233] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[225/233] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[226/234] Wrapping AST for SwiftSyntaxBuilder for debugging
[228/251] Compiling SwiftSyntaxMacros MemberMacro.swift
[229/251] Compiling SwiftSyntaxMacros PeerMacro.swift
[230/251] Compiling SwiftSyntaxMacros AccessorMacro.swift
[231/251] Compiling SwiftSyntaxMacros AttachedMacro.swift
[232/251] Compiling SwiftSyntaxMacros BodyMacro.swift
[233/251] Compiling SwiftSyntaxMacros Macro.swift
[234/251] Compiling SwiftSyntaxMacros MemberAttributeMacro.swift
[235/251] Compiling SwiftSyntaxMacros FreestandingMacro.swift
[236/251] Compiling SwiftSyntaxMacros Macro+Format.swift
[237/253] Compiling SwiftSyntaxMacros CodeItemMacro.swift
[238/253] Compiling SwiftSyntaxMacros DeclarationMacro.swift
[239/253] Emitting module SwiftSyntaxMacros
[240/253] Compiling SwiftSyntaxMacros PreambleMacro.swift
[241/253] Compiling SwiftSyntaxMacros Syntax+LexicalContext.swift
[242/253] Compiling SwiftSyntaxMacros AbstractSourceLocation.swift
[243/253] Compiling SwiftSyntaxMacros MacroExpansionContext.swift
[244/253] Compiling SwiftSyntaxMacros MacroExpansionDiagnosticMessages.swift
[245/253] Compiling SwiftSyntaxMacros ExpressionMacro.swift
[246/253] Compiling SwiftSyntaxMacros ExtensionMacro.swift
[247/254] Wrapping AST for SwiftSyntaxMacros for debugging
[249/263] Compiling SwiftSyntaxMacroExpansion MacroSpec.swift
[250/264] Compiling SwiftSyntaxMacroExpansion MacroArgument.swift
[251/264] Emitting module SwiftSyntaxMacroExpansion
[252/264] Compiling SwiftSyntaxMacroExpansion MacroExpansion.swift
[253/264] Compiling SwiftSyntaxMacroExpansion IndentationUtils.swift
[254/264] Compiling SwiftSyntaxMacroExpansion BasicMacroExpansionContext.swift
[255/264] Compiling SwiftSyntaxMacroExpansion FunctionParameterUtils.swift
[256/264] Compiling SwiftSyntaxMacroExpansion MacroExpansionDiagnosticMessages.swift
[257/264] Compiling SwiftSyntaxMacroExpansion MacroReplacement.swift
[258/264] Compiling SwiftSyntaxMacroExpansion MacroSystem.swift
[259/265] Wrapping AST for SwiftSyntaxMacroExpansion for debugging
[261/277] Compiling SwiftCompilerPluginMessageHandling PluginMessageCompatibility.swift
[262/278] Compiling SwiftCompilerPluginMessageHandling LRUCache.swift
[263/278] Compiling SwiftCompilerPluginMessageHandling Macros.swift
[264/278] Compiling SwiftCompilerPluginMessageHandling PluginMacroExpansionContext.swift
[265/278] Compiling SwiftCompilerPluginMessageHandling StandardIOMessageConnection.swift
[266/278] Compiling SwiftCompilerPluginMessageHandling PluginMessages.swift
[267/278] Emitting module SwiftCompilerPluginMessageHandling
[268/278] Compiling SwiftCompilerPluginMessageHandling JSONDecoding.swift
[269/278] Compiling SwiftCompilerPluginMessageHandling JSONEncoding.swift
[270/278] Compiling SwiftCompilerPluginMessageHandling CodingUtilities.swift
[271/278] Compiling SwiftCompilerPluginMessageHandling JSON.swift
[272/278] Compiling SwiftCompilerPluginMessageHandling CompilerPluginMessageHandler.swift
[273/278] Compiling SwiftCompilerPluginMessageHandling Diagnostics.swift
[274/279] Wrapping AST for SwiftCompilerPluginMessageHandling for debugging
[276/281] Emitting module SwiftCompilerPlugin
[277/281] Compiling SwiftCompilerPlugin CompilerPlugin.swift
[278/282] Wrapping AST for SwiftCompilerPlugin for debugging
[280/315] Emitting module KioskMacros
[281/319] Compiling KioskMacros Plugin.swift
[282/319] Compiling KioskMacros SnapMacro.swift
[283/319] Compiling KioskMacros StringMacro.swift
[284/319] Compiling KioskMacros StyleMacro.swift
[285/319] Compiling KioskMacros QueryMacro.swift
[286/319] Compiling KioskMacros ResponseMacro.swift
[287/319] Compiling KioskMacros TimeoutMacro.swift
[288/319] Compiling KioskMacros WrapperMacro.swift
[289/319] Compiling KioskMacros ParamMacro.swift
[290/319] Compiling KioskMacros RouteMacro.swift
[291/319] Compiling KioskMacros CodecMacro.swift
[292/319] Compiling KioskMacros DefaultMacro.swift
[293/319] Compiling KioskMacros FieldMacro.swift
[294/319] Compiling KioskMacros FormatMacro.swift
[295/319] Compiling KioskMacros DataMacro.swift
[296/319] Compiling KioskMacros KeyMacro.swift
[297/319] Compiling KioskMacros ErasedMacro.swift
[298/319] Compiling KioskMacros InitMacro.swift
[299/319] Compiling KioskMacros JsonMacro.swift
[300/319] Compiling KioskMacros LerpMacro.swift
[301/319] Compiling KioskMacros MapMacro.swift
[302/319] Compiling KioskMacros MergeMacro.swift
[303/319] Compiling KioskMacros HTTPMethodBody.swift
[304/319] Compiling KioskMacros HeaderMacro.swift
[305/319] Compiling KioskMacros PatchMacro.swift
[306/319] Compiling KioskMacros PostMacro.swift
[307/319] Compiling KioskMacros PutMacro.swift
[308/319] Compiling KioskMacros MacroSyntaxSupport.swift
[309/319] Compiling KioskMacros ContentMacro.swift
[310/319] Compiling KioskMacros DeleteMacro.swift
[311/319] Compiling KioskMacros EndpointContractWire.swift
[312/319] Compiling KioskMacros GetMacro.swift
[313/319] Compiling KioskMacros RenameMacro.swift
[314/319] Compiling KioskMacros WireMacro.swift
[315/319] Compiling KioskMacros WireModel.swift
[316/319] Compiling KioskMacros CopyMacro.swift
[317/320] Wrapping AST for KioskMacros for debugging
[318/320] Write Objects.LinkFileList
[319/320] Linking KioskMacros-tool
[321/330] Compiling Kiosk HttpTypes.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[322/331] Compiling Kiosk APIParameters.swift
[323/331] Compiling Kiosk HttpHeaderEncoder.swift
[324/331] Compiling Kiosk UrlQueryEncoder.swift
[325/331] 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: 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: 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 '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 [#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>
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
[326/331] 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: 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: 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: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,
[327/331] 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: 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: 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: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,
[328/331] 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 '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: 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 '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 [#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>
[329/331] Compiling Kiosk Macros.swift
[330/331] 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
[331/331] Compiling Kiosk Wire.swift
BUILD FAILURE 6.3 wasm