The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Netrofit, reference main (cd874e), with Swift 6.1 for Android on 8 Mar 2026 14:06:54 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/winddpan/Netrofit.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/winddpan/Netrofit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at cd874ef Add Swift 6 concurrency support with Sendable conformance
Cloned https://github.com/winddpan/Netrofit.git
Revision (git rev-parse @):
cd874ef94615829fe489ca697077f7d562052db8
SUCCESS checkout https://github.com/winddpan/Netrofit.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/winddpan/Netrofit.git
https://github.com/winddpan/Netrofit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-syntax",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "600.0.1",
            "upper_bound" : "603.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swiftlang/swift-syntax"
    }
  ],
  "manifest_display_name" : "Netrofit",
  "name" : "Netrofit",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "Netrofit",
      "targets" : [
        "Netrofit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "NetrofitClient",
      "targets" : [
        "NetrofitClient"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "NetrofitMacros",
      "targets" : [
        "NetrofitMacros"
      ],
      "type" : {
        "macro" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "NetrofitTests",
      "module_type" : "SwiftTarget",
      "name" : "NetrofitTests",
      "path" : "Sources/NetrofitTests",
      "sources" : [
        "AnyCodable.swift",
        "HTTPBinTests.swift",
        "LLMSSETests.swift",
        "TestNetrofitInterceptors.swift"
      ],
      "target_dependencies" : [
        "Netrofit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "NetrofitMacros",
      "module_type" : "SwiftTarget",
      "name" : "NetrofitMacros",
      "path" : "Sources/NetrofitMacros",
      "product_dependencies" : [
        "SwiftSyntaxMacros",
        "SwiftCompilerPlugin"
      ],
      "product_memberships" : [
        "Netrofit",
        "NetrofitClient",
        "NetrofitMacros"
      ],
      "sources" : [
        "APIMacro.swift",
        "EmptyMacro.swift",
        "MethodMacro.swift",
        "Plugin.swift",
        "Utils/AttributeDecl+.swift",
        "Utils/FunctionDecl+.swift",
        "Utils/PayloadFormat.swift",
        "Utils/String+.swift"
      ],
      "type" : "macro"
    },
    {
      "c99name" : "NetrofitClient",
      "module_type" : "SwiftTarget",
      "name" : "NetrofitClient",
      "path" : "Sources/NetrofitClient",
      "product_memberships" : [
        "NetrofitClient"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "Netrofit"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "Netrofit",
      "module_type" : "SwiftTarget",
      "name" : "Netrofit",
      "path" : "Sources/Netrofit",
      "product_memberships" : [
        "Netrofit",
        "NetrofitClient"
      ],
      "sources" : [
        "AttributeWrappers.swift",
        "HTTPBodyDecoder/DynamicContentTypeDecoder.swift",
        "HTTPBodyDecoder/EventStreamingDecoder.swift",
        "HTTPBodyDecoder/HTTPBodyDecoder.swift",
        "HTTPBodyDecoder/JSONDecoder.swift",
        "HTTPBodyDecoder/TextPlainDecoder.swift",
        "HTTPBodyEncoder/HTTPBodyEncoder.swift",
        "HTTPBodyEncoder/JSONEncoder.swift",
        "HTTPBodyEncoder/MultipartEncoder.swift",
        "HTTPBodyEncoder/TextPlainEncoder.swift",
        "HTTPBodyEncoder/URLEncodedFormEncoder.swift",
        "NetrofitMacros.swift",
        "NetrofitPlugin.swift",
        "NetrofitProvider.swift",
        "NetrofitResponse.swift",
        "NetrofitSessionProtocols.swift",
        "RequestBuilder.swift",
        "Utils/AnyEncodable.swift",
        "Utils/String+URLPathPart.swift",
        "_Netrofit/_NetrofitSession.swift",
        "_Netrofit/_NetrofitTask.swift"
      ],
      "target_dependencies" : [
        "NetrofitMacros"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:08fa5f1bd27c53c71ebe7c2842e29d52715d90da2c5b8f52513c9039c232613d
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/swiftlang/swift-syntax
[1/74621] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (9.66s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 602.0.0 (14.03s)
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 602.0.0
Building for debugging...
[0/44] Write sources
[19/44] Compiling _SwiftSyntaxCShims PlatformMutex.c
[20/44] Write swift-version-24593BA9C3E375BF.txt
[22/54] Emitting module SwiftSyntax600
[23/54] Emitting module SwiftSyntax602
[24/54] Compiling SwiftSyntax602 Empty.swift
[25/54] Emitting module SwiftSyntax510
[26/54] Compiling SwiftSyntax510 Empty.swift
[27/56] Compiling SwiftSyntax600 Empty.swift
[28/57] Emitting module SwiftSyntax509
[29/57] Compiling SwiftSyntax509 Empty.swift
[33/58] Emitting module SwiftSyntax601
[34/58] Compiling SwiftSyntax601 Empty.swift
[35/59] Wrapping AST for SwiftSyntax510 for debugging
[36/59] Wrapping AST for SwiftSyntax602 for debugging
[38/59] Wrapping AST for SwiftSyntax600 for debugging
[39/59] Wrapping AST for SwiftSyntax509 for debugging
[40/59] Wrapping AST for SwiftSyntax601 for debugging
[42/122] Emitting module SwiftSyntax
[43/130] Compiling SwiftSyntax SyntaxRewriter.swift
[44/130] Compiling SwiftSyntax SyntaxTraits.swift
[45/130] Compiling SwiftSyntax SyntaxVisitor.swift
[46/130] Compiling SwiftSyntax TokenKind.swift
[47/130] Compiling SwiftSyntax Tokens.swift
[48/130] Compiling SwiftSyntax TriviaPieces.swift
[49/130] Compiling SwiftSyntax RawSyntaxNodesAB.swift
[50/130] Compiling SwiftSyntax RawSyntaxNodesC.swift
[51/130] Compiling SwiftSyntax RawSyntaxNodesD.swift
[52/130] Compiling SwiftSyntax SourceLength.swift
[53/130] Compiling SwiftSyntax SourceLocation.swift
[54/130] Compiling SwiftSyntax SourcePresence.swift
[55/130] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[56/130] Compiling SwiftSyntax Syntax.swift
[57/130] Compiling SwiftSyntax SyntaxChildren.swift
[58/130] Compiling SwiftSyntax SyntaxCollection.swift
[59/130] Compiling SwiftSyntax SyntaxHashable.swift
[60/130] Compiling SwiftSyntax SyntaxIdentifier.swift
[61/130] Compiling SwiftSyntax Identifier.swift
[62/130] Compiling SwiftSyntax MemoryLayout.swift
[63/130] Compiling SwiftSyntax MissingNodeInitializers.swift
[64/130] Compiling SwiftSyntax RawSyntax.swift
[65/130] Compiling SwiftSyntax RawSyntaxArena.swift
[66/130] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[67/130] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[68/130] Compiling SwiftSyntax RawSyntaxTokenView.swift
[69/130] Compiling SwiftSyntax SourceEdit.swift
[70/130] Compiling SwiftSyntax SyntaxNodeStructure.swift
[71/130] Compiling SwiftSyntax SyntaxProtocol.swift
[72/130] Compiling SwiftSyntax SyntaxText.swift
[73/130] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[74/130] Compiling SwiftSyntax TokenDiagnostic.swift
[75/130] Compiling SwiftSyntax TokenSequence.swift
[76/130] Compiling SwiftSyntax TokenSyntax.swift
[77/130] Compiling SwiftSyntax Trivia.swift
[78/130] Compiling SwiftSyntax Utils.swift
[79/130] Compiling SwiftSyntax RawSyntaxNodesEF.swift
[80/130] Compiling SwiftSyntax RawSyntaxNodesGHI.swift
[81/130] Compiling SwiftSyntax RawSyntaxNodesJKLMN.swift
[82/130] Compiling SwiftSyntax RawSyntaxNodesOP.swift
[83/130] Compiling SwiftSyntax RawSyntaxNodesQRS.swift
[84/130] Compiling SwiftSyntax RawSyntaxNodesTUVWXYZ.swift
[85/130] Compiling SwiftSyntax RawSyntaxValidation.swift
[86/130] Compiling SwiftSyntax SyntaxNodesAB.swift
[87/130] Compiling SwiftSyntax AbsolutePosition.swift
[88/130] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[89/130] Compiling SwiftSyntax ArenaAllocatedBuffer.swift
[90/130] Compiling SwiftSyntax Assert.swift
[91/130] Compiling SwiftSyntax BumpPtrAllocator.swift
[92/130] Compiling SwiftSyntax CommonAncestor.swift
[93/130] Compiling SwiftSyntax Convenience.swift
[94/130] Compiling SwiftSyntax CustomTraits.swift
[95/130] Compiling SwiftSyntax EditorPlaceholder.swift
[96/130] Compiling SwiftSyntax ChildNameForKeyPath.swift
[97/130] Compiling SwiftSyntax Keyword.swift
[98/130] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[99/130] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[100/130] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[101/130] Compiling SwiftSyntax SyntaxBaseNodes.swift
[102/130] Compiling SwiftSyntax SyntaxCollections.swift
[103/130] Compiling SwiftSyntax SyntaxEnum.swift
[104/130] Compiling SwiftSyntax SyntaxKind.swift
[105/130] Compiling SwiftSyntax SyntaxNodesC.swift
[106/130] Compiling SwiftSyntax SyntaxNodesD.swift
[107/130] Compiling SwiftSyntax SyntaxNodesEF.swift
[108/130] Compiling SwiftSyntax SyntaxNodesGHI.swift
[109/130] Compiling SwiftSyntax SyntaxNodesJKLMN.swift
[110/130] Compiling SwiftSyntax SyntaxNodesOP.swift
[111/130] Compiling SwiftSyntax SyntaxNodesQRS.swift
[112/130] Compiling SwiftSyntax SyntaxNodesTUVWXYZ.swift
[113/131] Wrapping AST for SwiftSyntax for debugging
[115/190] Compiling SwiftDiagnostics Message.swift
[116/191] Compiling SwiftBasicFormat Syntax+Extensions.swift
[117/191] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[118/191] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[119/191] Emitting module SwiftDiagnostics
[120/191] Compiling SwiftDiagnostics FixIt.swift
[121/191] Compiling SwiftParser Attributes.swift
[122/191] Compiling SwiftParser Availability.swift
[123/191] Compiling SwiftDiagnostics Note.swift
[124/191] Compiling SwiftBasicFormat Indenter.swift
[125/191] Compiling SwiftBasicFormat InferIndentation.swift
[126/191] Compiling SwiftDiagnostics DiagnosticDecorator.swift
[127/191] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[128/191] Compiling SwiftParser CharacterInfo.swift
[129/191] Compiling SwiftParser CollectionNodes+Parsable.swift
[130/191] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[131/192] Wrapping AST for SwiftDiagnostics for debugging
[133/192] Emitting module SwiftBasicFormat
[134/192] Compiling SwiftBasicFormat BasicFormat.swift
[135/193] Wrapping AST for SwiftBasicFormat for debugging
[137/193] Emitting module SwiftParser
[138/198] Compiling SwiftParser StringLiterals.swift
[139/198] Compiling SwiftParser SwiftParserCompatibility.swift
[140/198] Compiling SwiftParser SwiftVersion.swift
[141/198] Compiling SwiftParser SyntaxUtils.swift
[142/198] Compiling SwiftParser TokenConsumer.swift
[143/198] Compiling SwiftParser TokenPrecedence.swift
[144/198] Compiling SwiftParser LoopProgressCondition.swift
[145/198] Compiling SwiftParser Modifiers.swift
[146/198] Compiling SwiftParser Names.swift
[147/198] Compiling SwiftParser Nominals.swift
[148/198] Compiling SwiftParser Parameters.swift
[149/198] Compiling SwiftParser ParseSourceFile.swift
[150/198] Compiling SwiftParser Parser.swift
[151/198] Compiling SwiftParser Patterns.swift
[152/198] Compiling SwiftParser Recovery.swift
[153/198] Compiling SwiftParser Specifiers.swift
[154/198] Compiling SwiftParser Statements.swift
[155/198] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[156/198] Compiling SwiftParser TokenSpec.swift
[157/198] Compiling SwiftParser TokenSpecSet.swift
[158/198] Compiling SwiftParser TopLevel.swift
[159/198] Compiling SwiftParser TriviaParser.swift
[160/198] Compiling SwiftParser Types.swift
[161/198] Compiling SwiftParser Lexeme.swift
[162/198] Compiling SwiftParser LexemeSequence.swift
[163/198] Compiling SwiftParser Lexer.swift
[164/198] Compiling SwiftParser RegexLiteralLexer.swift
[165/198] Compiling SwiftParser UnicodeScalarExtensions.swift
[166/198] Compiling SwiftParser Lookahead.swift
[171/198] Compiling SwiftParser CompilerFiles.swift
[172/198] Compiling SwiftParser Declarations.swift
[173/198] Compiling SwiftParser Directives.swift
[174/198] Compiling SwiftParser ExpressionInterpretedAsVersionTuple.swift
[175/198] Compiling SwiftParser Expressions.swift
[176/198] Compiling SwiftParser IncrementalParseTransition.swift
[177/198] Compiling SwiftParser IsValidIdentifier.swift
[178/198] Compiling SwiftParser Cursor.swift
[179/198] Compiling SwiftParser ExperimentalFeatures.swift
[180/198] Compiling SwiftParser IsLexerClassified.swift
[181/198] Compiling SwiftParser LayoutNodes+Parsable.swift
[182/198] Compiling SwiftParser Parser+TokenSpecSet.swift
[183/198] Compiling SwiftParser TokenSpecStaticMembers.swift
[184/199] Wrapping AST for SwiftParser for debugging
[186/222] Compiling SwiftOperators OperatorTable+Folding.swift
[187/222] Compiling SwiftOperators OperatorTable+Semantics.swift
[188/223] Compiling SwiftOperators OperatorTable.swift
[189/223] Compiling SwiftOperators PrecedenceGraph.swift
[190/223] Compiling SwiftOperators PrecedenceGroup.swift
[191/223] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[192/224] Compiling SwiftParserDiagnostics MissingNodesError.swift
[193/224] Compiling SwiftParserDiagnostics MissingTokenError.swift
[194/224] Compiling SwiftParserDiagnostics DiagnosticExtensions.swift
[195/224] Compiling SwiftParserDiagnostics LexerDiagnosticMessages.swift
[196/224] Compiling SwiftOperators SyntaxSynthesis.swift
[197/224] Emitting module SwiftOperators
[198/225] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[200/225] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[201/225] Compiling SwiftParserDiagnostics Utils.swift
[201/225] Wrapping AST for SwiftOperators for debugging
[203/225] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[206/225] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[207/225] Compiling SwiftParserDiagnostics PresenceUtils.swift
[208/225] Emitting module SwiftParserDiagnostics
[211/225] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[212/225] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[213/226] Wrapping AST for SwiftParserDiagnostics for debugging
[215/241] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[216/241] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[217/242] Emitting module SwiftSyntaxBuilder
[218/242] Compiling SwiftSyntaxBuilder Indenter.swift
[219/242] Compiling SwiftSyntaxBuilder ListBuilder.swift
[220/242] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[221/242] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[222/242] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[223/242] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[224/242] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[225/242] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[226/242] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[227/242] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[228/242] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[229/242] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[230/242] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[231/243] Wrapping AST for SwiftSyntaxBuilder for debugging
[233/260] Compiling SwiftSyntaxMacros MemberMacro.swift
[234/260] Compiling SwiftSyntaxMacros PeerMacro.swift
[235/262] Compiling SwiftSyntaxMacros Macro.swift
[236/262] Compiling SwiftSyntaxMacros MemberAttributeMacro.swift
[237/262] Compiling SwiftSyntaxMacros ExpressionMacro.swift
[238/262] Compiling SwiftSyntaxMacros ExtensionMacro.swift
[239/262] Compiling SwiftSyntaxMacros FreestandingMacro.swift
[240/262] Compiling SwiftSyntaxMacros Macro+Format.swift
[241/262] Compiling SwiftSyntaxMacros CodeItemMacro.swift
[242/262] Compiling SwiftSyntaxMacros DeclarationMacro.swift
[243/262] Compiling SwiftSyntaxMacros AccessorMacro.swift
[244/262] Compiling SwiftSyntaxMacros AttachedMacro.swift
[245/262] Compiling SwiftSyntaxMacros BodyMacro.swift
[246/262] Emitting module SwiftSyntaxMacros
[247/262] Compiling SwiftSyntaxMacros AbstractSourceLocation.swift
[248/262] Compiling SwiftSyntaxMacros MacroExpansionContext.swift
[249/262] Compiling SwiftSyntaxMacros MacroExpansionDiagnosticMessages.swift
[250/262] Compiling SwiftSyntaxMacros PreambleMacro.swift
[251/262] Compiling SwiftSyntaxMacros Syntax+LexicalContext.swift
[252/263] Wrapping AST for SwiftSyntaxMacros for debugging
[254/272] Compiling SwiftSyntaxMacroExpansion MacroSpec.swift
[255/273] Compiling SwiftSyntaxMacroExpansion MacroArgument.swift
[256/273] Compiling SwiftSyntaxMacroExpansion MacroExpansionDiagnosticMessages.swift
[257/273] Compiling SwiftSyntaxMacroExpansion IndentationUtils.swift
[258/273] Emitting module SwiftSyntaxMacroExpansion
[259/273] Compiling SwiftSyntaxMacroExpansion BasicMacroExpansionContext.swift
[260/273] Compiling SwiftSyntaxMacroExpansion FunctionParameterUtils.swift
[261/273] Compiling SwiftSyntaxMacroExpansion MacroExpansion.swift
[262/273] Compiling SwiftSyntaxMacroExpansion MacroReplacement.swift
[263/273] Compiling SwiftSyntaxMacroExpansion MacroSystem.swift
[264/274] Wrapping AST for SwiftSyntaxMacroExpansion for debugging
[266/286] Compiling SwiftCompilerPluginMessageHandling PluginMessageCompatibility.swift
[267/287] Compiling SwiftCompilerPluginMessageHandling LRUCache.swift
[268/287] Compiling SwiftCompilerPluginMessageHandling Macros.swift
[269/287] Compiling SwiftCompilerPluginMessageHandling PluginMacroExpansionContext.swift
[270/287] Compiling SwiftCompilerPluginMessageHandling StandardIOMessageConnection.swift
[271/287] Compiling SwiftCompilerPluginMessageHandling PluginMessages.swift
[272/287] Compiling SwiftCompilerPluginMessageHandling CodingUtilities.swift
[273/287] Compiling SwiftCompilerPluginMessageHandling JSON.swift
[274/287] Compiling SwiftCompilerPluginMessageHandling CompilerPluginMessageHandler.swift
[275/287] Compiling SwiftCompilerPluginMessageHandling Diagnostics.swift
[276/287] Emitting module SwiftCompilerPluginMessageHandling
[277/287] Compiling SwiftCompilerPluginMessageHandling JSONDecoding.swift
[278/287] Compiling SwiftCompilerPluginMessageHandling JSONEncoding.swift
[279/288] Wrapping AST for SwiftCompilerPluginMessageHandling for debugging
[281/290] Emitting module SwiftCompilerPlugin
[282/290] Compiling SwiftCompilerPlugin CompilerPlugin.swift
[283/291] Wrapping AST for SwiftCompilerPlugin for debugging
[285/299] Compiling NetrofitMacros PayloadFormat.swift
[286/300] Compiling NetrofitMacros FunctionDecl+.swift
[287/300] Compiling NetrofitMacros AttributeDecl+.swift
[288/300] Emitting module NetrofitMacros
/host/spi-builder-workspace/Sources/NetrofitMacros/APIMacro.swift:5:8: warning: deprecated default implementation is used to satisfy static method 'expansion(of:providingMembersOf:conformingTo:in:)' required by protocol 'MemberMacro': `MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter
 3 | import SwiftSyntaxMacros
 4 |
 5 | struct APIMacro: MemberMacro {
   |        `- warning: deprecated default implementation is used to satisfy static method 'expansion(of:providingMembersOf:conformingTo:in:)' required by protocol 'MemberMacro': `MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter
 6 |     static func expansion(of node: AttributeSyntax, providingMembersOf declaration: some DeclGroupSyntax, in context: some MacroExpansionContext) throws -> [DeclSyntax] {
 7 |         var attributes: AttributeListSyntax?
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntaxMacros/MacroProtocols/MemberMacro.swift:89:22: note: 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
53 |   /// - Returns: the set of member declarations introduced by this macro, which
54 |   /// are nested inside the `attachedTo` declaration.
55 |   static func expansion(
   |               `- note: requirement 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
56 |     of node: AttributeSyntax,
57 |     providingMembersOf declaration: some DeclGroupSyntax,
   :
87 |     message: "`MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter"
88 |   )
89 |   public static func expansion(
   |                      `- note: 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
90 |     of node: AttributeSyntax,
91 |     providingMembersOf declaration: some DeclGroupSyntax,
[289/300] Compiling NetrofitMacros APIMacro.swift
/host/spi-builder-workspace/Sources/NetrofitMacros/APIMacro.swift:5:8: warning: deprecated default implementation is used to satisfy static method 'expansion(of:providingMembersOf:conformingTo:in:)' required by protocol 'MemberMacro': `MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter
 3 | import SwiftSyntaxMacros
 4 |
 5 | struct APIMacro: MemberMacro {
   |        `- warning: deprecated default implementation is used to satisfy static method 'expansion(of:providingMembersOf:conformingTo:in:)' required by protocol 'MemberMacro': `MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter
 6 |     static func expansion(of node: AttributeSyntax, providingMembersOf declaration: some DeclGroupSyntax, in context: some MacroExpansionContext) throws -> [DeclSyntax] {
 7 |         var attributes: AttributeListSyntax?
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntaxMacros/MacroProtocols/MemberMacro.swift:89:22: note: 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
53 |   /// - Returns: the set of member declarations introduced by this macro, which
54 |   /// are nested inside the `attachedTo` declaration.
55 |   static func expansion(
   |               `- note: requirement 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
56 |     of node: AttributeSyntax,
57 |     providingMembersOf declaration: some DeclGroupSyntax,
   :
87 |     message: "`MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter"
88 |   )
89 |   public static func expansion(
   |                      `- note: 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
90 |     of node: AttributeSyntax,
91 |     providingMembersOf declaration: some DeclGroupSyntax,
[290/300] Compiling NetrofitMacros EmptyMacro.swift
[291/300] Compiling NetrofitMacros String+.swift
[292/300] Compiling NetrofitMacros Plugin.swift
[293/300] Compiling NetrofitMacros MethodMacro.swift
[294/301] Wrapping AST for NetrofitMacros for debugging
[295/301] Write Objects.LinkFileList
[296/301] Linking NetrofitMacros-tool
error: emit-module command failed with exit code 1 (use -v to see invocation)
[298/321] Emitting module Netrofit
/host/spi-builder-workspace/Sources/Netrofit/NetrofitResponse.swift:9:25: error: cannot find type 'URLRequest' in scope
 7 |
 8 | public struct NetrofitResponse: Sendable {
 9 |     public var request: URLRequest
   |                         `- error: cannot find type 'URLRequest' in scope
10 |     public var body: Data?
11 |     public var headers: [String: String]?
/host/spi-builder-workspace/Sources/Netrofit/NetrofitResponse.swift:15:26: error: cannot find type 'URLRequest' in scope
13 |     public var error: Error?
14 |
15 |     public init(request: URLRequest) {
   |                          `- error: cannot find type 'URLRequest' in scope
16 |         self.request = request
17 |     }
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitSession.swift:6:24: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 4 |     public convenience init(
 5 |         baseURL: String,
 6 |         configuration: URLSessionConfiguration = .default,
   |                        `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 7 |         plugins: [NetrofitPlugin] = []
 8 |     ) {
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' 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 URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitSession.swift:6:51: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 4 |     public convenience init(
 5 |         baseURL: String,
 6 |         configuration: URLSessionConfiguration = .default,
   |                                                   `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 7 |         plugins: [NetrofitPlugin] = []
 8 |     ) {
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitSession.swift:14:79: error: cannot find type 'URLSessionDataDelegate' in scope
12 | }
13 |
14 | final class _NetrofitSession: NSObject, NetrofitSession, @unchecked Sendable, URLSessionDataDelegate {
   |                                                                               `- error: cannot find type 'URLSessionDataDelegate' in scope
15 |     let configuration: URLSessionConfiguration
16 |     private var urlSession: URLSession!
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitSession.swift:15:24: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |
14 | final class _NetrofitSession: NSObject, NetrofitSession, @unchecked Sendable, URLSessionDataDelegate {
15 |     let configuration: URLSessionConfiguration
   |                        `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |     private var urlSession: URLSession!
17 |     private let lock = NSLock()
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' 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 URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitSession.swift:16:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 | final class _NetrofitSession: NSObject, NetrofitSession, @unchecked Sendable, URLSessionDataDelegate {
15 |     let configuration: URLSessionConfiguration
16 |     private var urlSession: URLSession!
   |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 |     private let lock = NSLock()
18 |     private var _createdTasks = Set<_NetrofitTask>()
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/Netrofit/_Netrofit/_NetrofitSession.swift:30:25: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |     }
29 |
30 |     init(configuration: URLSessionConfiguration) {
   |                         `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
31 |         self.configuration = configuration
32 |         super.init()
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' 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 URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitSession.swift:47:128: error: 'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
45 |     }
46 |
47 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse) async -> URLSession.ResponseDisposition {
   |                                                                                                                                `- error: 'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
48 |         if let _task = createdTasks.first(where: { $0.dataTask === dataTask }) {
49 |             _task.urlResponse = response
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitSession.swift:47:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 |     }
46 |
47 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse) async -> URLSession.ResponseDisposition {
   |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 |         if let _task = createdTasks.first(where: { $0.dataTask === dataTask }) {
49 |             _task.urlResponse = response
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/Netrofit/_Netrofit/_NetrofitSession.swift:47:54: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 |     }
46 |
47 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse) async -> URLSession.ResponseDisposition {
   |                                                      `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 |         if let _task = createdTasks.first(where: { $0.dataTask === dataTask }) {
49 |             _task.urlResponse = response
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' 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 URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitSession.swift:47:95: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 |     }
46 |
47 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse) async -> URLSession.ResponseDisposition {
   |                                                                                               `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 |         if let _task = createdTasks.first(where: { $0.dataTask === dataTask }) {
49 |             _task.urlResponse = response
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/Netrofit/_Netrofit/_NetrofitSession.swift:54:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
52 |     }
53 |
54 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
   |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
55 |         if let _task = createdTasks.first(where: { $0.dataTask === dataTask }) {
56 |             _task.didReceiveData(data)
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/Netrofit/_Netrofit/_NetrofitSession.swift:54:54: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
52 |     }
53 |
54 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
   |                                                      `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
55 |         if let _task = createdTasks.first(where: { $0.dataTask === dataTask }) {
56 |             _task.didReceiveData(data)
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' 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 URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitSession.swift:60:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
58 |     }
59 |
60 |     func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: (any Error)?) {
   |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
61 |         if let _task = createdTasks.first(where: { $0.dataTask === task }) {
62 |             _task.didCompleteWithError(error)
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/Netrofit/_Netrofit/_NetrofitSession.swift:60:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
58 |     }
59 |
60 |     func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: (any Error)?) {
   |                                                  `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
61 |         if let _task = createdTasks.first(where: { $0.dataTask === task }) {
62 |             _task.didCompleteWithError(error)
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitTask.swift:32:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 30 |
 31 |     let uuid = UUID()
 32 |     let urlSession: URLSession
    |                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 33 |     let request: URLRequest
 34 |     let plugins: [NetrofitPlugin]
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/Netrofit/_Netrofit/_NetrofitTask.swift:33:18: error: cannot find type 'URLRequest' in scope
 31 |     let uuid = UUID()
 32 |     let urlSession: URLSession
 33 |     let request: URLRequest
    |                  `- error: cannot find type 'URLRequest' in scope
 34 |     let plugins: [NetrofitPlugin]
 35 |     var urlResponse: URLResponse?
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitTask.swift:35:22: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 33 |     let request: URLRequest
 34 |     let plugins: [NetrofitPlugin]
 35 |     var urlResponse: URLResponse?
    |                      `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 36 |
 37 |     private(set) var responseData = 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/Netrofit/_Netrofit/_NetrofitTask.swift:38:32: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 36 |
 37 |     private(set) var responseData = Data()
 38 |     private(set) var dataTask: URLSessionDataTask?
    |                                `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 39 |
 40 |     private var state: EventStreamingState = .idle
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' 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 URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitTask.swift:44:43: error: cannot find type 'URLRequest' in scope
 42 |     private var lineBuffer = Data() // Buffer for accumulating incomplete lines in SSE streaming
 43 |
 44 |     init(urlSession: URLSession, request: URLRequest, plugins: [NetrofitPlugin]) {
    |                                           `- error: cannot find type 'URLRequest' in scope
 45 |         self.urlSession = urlSession
 46 |         self.request = request
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitTask.swift:44:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 42 |     private var lineBuffer = Data() // Buffer for accumulating incomplete lines in SSE streaming
 43 |
 44 |     init(urlSession: URLSession, request: URLRequest, plugins: [NetrofitPlugin]) {
    |                      `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 45 |         self.urlSession = urlSession
 46 |         self.request = request
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
[299/323] Compiling Netrofit NetrofitSessionProtocols.swift
[300/323] Compiling Netrofit RequestBuilder.swift
[301/323] Compiling Netrofit AttributeWrappers.swift
[302/323] Compiling Netrofit DynamicContentTypeDecoder.swift
[303/323] Compiling Netrofit EventStreamingDecoder.swift
[304/323] Compiling Netrofit _NetrofitSession.swift
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitSession.swift:6:24: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 4 |     public convenience init(
 5 |         baseURL: String,
 6 |         configuration: URLSessionConfiguration = .default,
   |                        `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 7 |         plugins: [NetrofitPlugin] = []
 8 |     ) {
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' 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 URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitSession.swift:6:51: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 4 |     public convenience init(
 5 |         baseURL: String,
 6 |         configuration: URLSessionConfiguration = .default,
   |                                                   `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 7 |         plugins: [NetrofitPlugin] = []
 8 |     ) {
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitSession.swift:14:79: error: cannot find type 'URLSessionDataDelegate' in scope
12 | }
13 |
14 | final class _NetrofitSession: NSObject, NetrofitSession, @unchecked Sendable, URLSessionDataDelegate {
   |                                                                               `- error: cannot find type 'URLSessionDataDelegate' in scope
15 |     let configuration: URLSessionConfiguration
16 |     private var urlSession: URLSession!
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitSession.swift:15:24: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |
14 | final class _NetrofitSession: NSObject, NetrofitSession, @unchecked Sendable, URLSessionDataDelegate {
15 |     let configuration: URLSessionConfiguration
   |                        `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |     private var urlSession: URLSession!
17 |     private let lock = NSLock()
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' 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 URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitSession.swift:16:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 | final class _NetrofitSession: NSObject, NetrofitSession, @unchecked Sendable, URLSessionDataDelegate {
15 |     let configuration: URLSessionConfiguration
16 |     private var urlSession: URLSession!
   |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 |     private let lock = NSLock()
18 |     private var _createdTasks = Set<_NetrofitTask>()
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/Netrofit/_Netrofit/_NetrofitSession.swift:30:25: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |     }
29 |
30 |     init(configuration: URLSessionConfiguration) {
   |                         `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
31 |         self.configuration = configuration
32 |         super.init()
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' 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 URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitSession.swift:47:128: error: 'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
45 |     }
46 |
47 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse) async -> URLSession.ResponseDisposition {
   |                                                                                                                                `- error: 'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
48 |         if let _task = createdTasks.first(where: { $0.dataTask === dataTask }) {
49 |             _task.urlResponse = response
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitSession.swift:47:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 |     }
46 |
47 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse) async -> URLSession.ResponseDisposition {
   |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 |         if let _task = createdTasks.first(where: { $0.dataTask === dataTask }) {
49 |             _task.urlResponse = response
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/Netrofit/_Netrofit/_NetrofitSession.swift:47:54: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 |     }
46 |
47 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse) async -> URLSession.ResponseDisposition {
   |                                                      `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 |         if let _task = createdTasks.first(where: { $0.dataTask === dataTask }) {
49 |             _task.urlResponse = response
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' 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 URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitSession.swift:47:95: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 |     }
46 |
47 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse) async -> URLSession.ResponseDisposition {
   |                                                                                               `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 |         if let _task = createdTasks.first(where: { $0.dataTask === dataTask }) {
49 |             _task.urlResponse = response
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/Netrofit/_Netrofit/_NetrofitSession.swift:54:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
52 |     }
53 |
54 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
   |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
55 |         if let _task = createdTasks.first(where: { $0.dataTask === dataTask }) {
56 |             _task.didReceiveData(data)
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/Netrofit/_Netrofit/_NetrofitSession.swift:54:54: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
52 |     }
53 |
54 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
   |                                                      `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
55 |         if let _task = createdTasks.first(where: { $0.dataTask === dataTask }) {
56 |             _task.didReceiveData(data)
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' 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 URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitSession.swift:60:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
58 |     }
59 |
60 |     func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: (any Error)?) {
   |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
61 |         if let _task = createdTasks.first(where: { $0.dataTask === task }) {
62 |             _task.didCompleteWithError(error)
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/Netrofit/_Netrofit/_NetrofitSession.swift:60:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
58 |     }
59 |
60 |     func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: (any Error)?) {
   |                                                  `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
61 |         if let _task = createdTasks.first(where: { $0.dataTask === task }) {
62 |             _task.didCompleteWithError(error)
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitSession.swift:33:22: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
31 |         self.configuration = configuration
32 |         super.init()
33 |         urlSession = URLSession(configuration: configuration, delegate: self, delegateQueue: nil)
   |                      `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
34 |     }
35 |
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitSession.swift:33:94: error: 'nil' requires a contextual type
31 |         self.configuration = configuration
32 |         super.init()
33 |         urlSession = URLSession(configuration: configuration, delegate: self, delegateQueue: nil)
   |                                                                                              `- error: 'nil' requires a contextual type
34 |     }
35 |
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitSession.swift:37:23: error: cannot find 'URLRequest' in scope
35 |
36 |     func createTask(method: String, url: URL, headers: [String: String]?, body: Data?, plugins: [NetrofitPlugin]) -> NetrofitTask {
37 |         var request = URLRequest(url: url)
   |                       `- error: cannot find 'URLRequest' in scope
38 |         request.httpMethod = method
39 |         request.httpBody = body
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitTask.swift:44:43: error: cannot find type 'URLRequest' in scope
 42 |     private var lineBuffer = Data() // Buffer for accumulating incomplete lines in SSE streaming
 43 |
 44 |     init(urlSession: URLSession, request: URLRequest, plugins: [NetrofitPlugin]) {
    |                                           `- error: cannot find type 'URLRequest' in scope
 45 |         self.urlSession = urlSession
 46 |         self.request = request
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitTask.swift:32:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 30 |
 31 |     let uuid = UUID()
 32 |     let urlSession: URLSession
    |                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 33 |     let request: URLRequest
 34 |     let plugins: [NetrofitPlugin]
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/Netrofit/_Netrofit/_NetrofitTask.swift:33:18: error: cannot find type 'URLRequest' in scope
 31 |     let uuid = UUID()
 32 |     let urlSession: URLSession
 33 |     let request: URLRequest
    |                  `- error: cannot find type 'URLRequest' in scope
 34 |     let plugins: [NetrofitPlugin]
 35 |     var urlResponse: URLResponse?
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitTask.swift:35:22: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 33 |     let request: URLRequest
 34 |     let plugins: [NetrofitPlugin]
 35 |     var urlResponse: URLResponse?
    |                      `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 36 |
 37 |     private(set) var responseData = 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/Netrofit/_Netrofit/_NetrofitTask.swift:38:32: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 36 |
 37 |     private(set) var responseData = Data()
 38 |     private(set) var dataTask: URLSessionDataTask?
    |                                `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 39 |
 40 |     private var state: EventStreamingState = .idle
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' 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 URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitTask.swift:44:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 42 |     private var lineBuffer = Data() // Buffer for accumulating incomplete lines in SSE streaming
 43 |
 44 |     init(urlSession: URLSession, request: URLRequest, plugins: [NetrofitPlugin]) {
    |                      `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 45 |         self.urlSession = urlSession
 46 |         self.request = request
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/Netrofit/_Netrofit/_NetrofitTask.swift:52:31: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 50 |     func resume() {
 51 |         guard dataTask == nil else { return }
 52 |         let task = urlSession.dataTask(with: request)
    |                               `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 53 |         task.resume()
 54 |         dataTask = task
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitTask.swift:82:16: error: type of expression is ambiguous without a type annotation
 80 |         let decoder = builder.decoder
 81 |         let deocdeKeyPath = builder.responseKeyPath
 82 |         return AsyncStream<T> { continuation in
    |                `- error: type of expression is ambiguous without a type annotation
 83 |             let wrapper = StreamWrapper(
 84 |                 decoder: decoder,
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitTask.swift:113:16: error: type of expression is ambiguous without a type annotation
111 |         let decoder = builder.decoder
112 |         let deocdeKeyPath = builder.responseKeyPath
113 |         return AsyncThrowingStream(T.self) { continuation in
    |                `- error: type of expression is ambiguous without a type annotation
114 |             let wrapper = ThrowingStreamWrapper(
115 |                 decoder: decoder,
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitTask.swift:194:40: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
192 |         dataTask = nil
193 |
194 |         let httpResponse = urlResponse as? HTTPURLResponse
    |                                        `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
195 |         let headers = httpResponse?.allHeaderFields.compactMap { key, value -> (String, String)? in
196 |             guard let k = key as? String,
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitTask.swift:194:44: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
192 |         dataTask = nil
193 |
194 |         let httpResponse = urlResponse as? HTTPURLResponse
    |                                            `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
195 |         let headers = httpResponse?.allHeaderFields.compactMap { key, value -> (String, String)? in
196 |             guard let k = key as? String,
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/Netrofit/_Netrofit/_NetrofitTask.swift:195:37: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
193 |
194 |         let httpResponse = urlResponse as? HTTPURLResponse
195 |         let headers = httpResponse?.allHeaderFields.compactMap { key, value -> (String, String)? in
    |                                     `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
196 |             guard let k = key as? String,
197 |                   let v = value as? String
/host/spi-builder-workspace/Sources/Netrofit/NetrofitResponse.swift:15:26: error: cannot find type 'URLRequest' in scope
13 |     public var error: Error?
14 |
15 |     public init(request: URLRequest) {
   |                          `- error: cannot find type 'URLRequest' in scope
16 |         self.request = request
17 |     }
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitTask.swift:208:45: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
206 |         response.body = responseData
207 |         response.headers = headers
208 |         response.statusCode = httpResponse?.statusCode
    |                                             `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
209 |
210 |         for plugin in plugins {
[305/323] Compiling Netrofit _NetrofitTask.swift
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitSession.swift:6:24: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 4 |     public convenience init(
 5 |         baseURL: String,
 6 |         configuration: URLSessionConfiguration = .default,
   |                        `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 7 |         plugins: [NetrofitPlugin] = []
 8 |     ) {
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' 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 URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitSession.swift:6:51: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 4 |     public convenience init(
 5 |         baseURL: String,
 6 |         configuration: URLSessionConfiguration = .default,
   |                                                   `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 7 |         plugins: [NetrofitPlugin] = []
 8 |     ) {
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitSession.swift:14:79: error: cannot find type 'URLSessionDataDelegate' in scope
12 | }
13 |
14 | final class _NetrofitSession: NSObject, NetrofitSession, @unchecked Sendable, URLSessionDataDelegate {
   |                                                                               `- error: cannot find type 'URLSessionDataDelegate' in scope
15 |     let configuration: URLSessionConfiguration
16 |     private var urlSession: URLSession!
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitSession.swift:15:24: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |
14 | final class _NetrofitSession: NSObject, NetrofitSession, @unchecked Sendable, URLSessionDataDelegate {
15 |     let configuration: URLSessionConfiguration
   |                        `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |     private var urlSession: URLSession!
17 |     private let lock = NSLock()
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' 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 URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitSession.swift:16:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 | final class _NetrofitSession: NSObject, NetrofitSession, @unchecked Sendable, URLSessionDataDelegate {
15 |     let configuration: URLSessionConfiguration
16 |     private var urlSession: URLSession!
   |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 |     private let lock = NSLock()
18 |     private var _createdTasks = Set<_NetrofitTask>()
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/Netrofit/_Netrofit/_NetrofitSession.swift:30:25: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |     }
29 |
30 |     init(configuration: URLSessionConfiguration) {
   |                         `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
31 |         self.configuration = configuration
32 |         super.init()
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' 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 URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitSession.swift:47:128: error: 'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
45 |     }
46 |
47 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse) async -> URLSession.ResponseDisposition {
   |                                                                                                                                `- error: 'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
48 |         if let _task = createdTasks.first(where: { $0.dataTask === dataTask }) {
49 |             _task.urlResponse = response
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitSession.swift:47:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 |     }
46 |
47 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse) async -> URLSession.ResponseDisposition {
   |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 |         if let _task = createdTasks.first(where: { $0.dataTask === dataTask }) {
49 |             _task.urlResponse = response
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/Netrofit/_Netrofit/_NetrofitSession.swift:47:54: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 |     }
46 |
47 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse) async -> URLSession.ResponseDisposition {
   |                                                      `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 |         if let _task = createdTasks.first(where: { $0.dataTask === dataTask }) {
49 |             _task.urlResponse = response
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' 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 URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitSession.swift:47:95: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 |     }
46 |
47 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse) async -> URLSession.ResponseDisposition {
   |                                                                                               `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 |         if let _task = createdTasks.first(where: { $0.dataTask === dataTask }) {
49 |             _task.urlResponse = response
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/Netrofit/_Netrofit/_NetrofitSession.swift:54:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
52 |     }
53 |
54 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
   |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
55 |         if let _task = createdTasks.first(where: { $0.dataTask === dataTask }) {
56 |             _task.didReceiveData(data)
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/Netrofit/_Netrofit/_NetrofitSession.swift:54:54: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
52 |     }
53 |
54 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
   |                                                      `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
55 |         if let _task = createdTasks.first(where: { $0.dataTask === dataTask }) {
56 |             _task.didReceiveData(data)
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' 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 URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitSession.swift:60:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
58 |     }
59 |
60 |     func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: (any Error)?) {
   |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
61 |         if let _task = createdTasks.first(where: { $0.dataTask === task }) {
62 |             _task.didCompleteWithError(error)
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/Netrofit/_Netrofit/_NetrofitSession.swift:60:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
58 |     }
59 |
60 |     func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: (any Error)?) {
   |                                                  `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
61 |         if let _task = createdTasks.first(where: { $0.dataTask === task }) {
62 |             _task.didCompleteWithError(error)
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitSession.swift:33:22: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
31 |         self.configuration = configuration
32 |         super.init()
33 |         urlSession = URLSession(configuration: configuration, delegate: self, delegateQueue: nil)
   |                      `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
34 |     }
35 |
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitSession.swift:33:94: error: 'nil' requires a contextual type
31 |         self.configuration = configuration
32 |         super.init()
33 |         urlSession = URLSession(configuration: configuration, delegate: self, delegateQueue: nil)
   |                                                                                              `- error: 'nil' requires a contextual type
34 |     }
35 |
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitSession.swift:37:23: error: cannot find 'URLRequest' in scope
35 |
36 |     func createTask(method: String, url: URL, headers: [String: String]?, body: Data?, plugins: [NetrofitPlugin]) -> NetrofitTask {
37 |         var request = URLRequest(url: url)
   |                       `- error: cannot find 'URLRequest' in scope
38 |         request.httpMethod = method
39 |         request.httpBody = body
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitTask.swift:44:43: error: cannot find type 'URLRequest' in scope
 42 |     private var lineBuffer = Data() // Buffer for accumulating incomplete lines in SSE streaming
 43 |
 44 |     init(urlSession: URLSession, request: URLRequest, plugins: [NetrofitPlugin]) {
    |                                           `- error: cannot find type 'URLRequest' in scope
 45 |         self.urlSession = urlSession
 46 |         self.request = request
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitTask.swift:32:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 30 |
 31 |     let uuid = UUID()
 32 |     let urlSession: URLSession
    |                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 33 |     let request: URLRequest
 34 |     let plugins: [NetrofitPlugin]
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/Netrofit/_Netrofit/_NetrofitTask.swift:33:18: error: cannot find type 'URLRequest' in scope
 31 |     let uuid = UUID()
 32 |     let urlSession: URLSession
 33 |     let request: URLRequest
    |                  `- error: cannot find type 'URLRequest' in scope
 34 |     let plugins: [NetrofitPlugin]
 35 |     var urlResponse: URLResponse?
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitTask.swift:35:22: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 33 |     let request: URLRequest
 34 |     let plugins: [NetrofitPlugin]
 35 |     var urlResponse: URLResponse?
    |                      `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 36 |
 37 |     private(set) var responseData = 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/Netrofit/_Netrofit/_NetrofitTask.swift:38:32: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 36 |
 37 |     private(set) var responseData = Data()
 38 |     private(set) var dataTask: URLSessionDataTask?
    |                                `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 39 |
 40 |     private var state: EventStreamingState = .idle
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' 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 URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitTask.swift:44:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 42 |     private var lineBuffer = Data() // Buffer for accumulating incomplete lines in SSE streaming
 43 |
 44 |     init(urlSession: URLSession, request: URLRequest, plugins: [NetrofitPlugin]) {
    |                      `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 45 |         self.urlSession = urlSession
 46 |         self.request = request
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/Netrofit/_Netrofit/_NetrofitTask.swift:52:31: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 50 |     func resume() {
 51 |         guard dataTask == nil else { return }
 52 |         let task = urlSession.dataTask(with: request)
    |                               `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 53 |         task.resume()
 54 |         dataTask = task
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitTask.swift:82:16: error: type of expression is ambiguous without a type annotation
 80 |         let decoder = builder.decoder
 81 |         let deocdeKeyPath = builder.responseKeyPath
 82 |         return AsyncStream<T> { continuation in
    |                `- error: type of expression is ambiguous without a type annotation
 83 |             let wrapper = StreamWrapper(
 84 |                 decoder: decoder,
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitTask.swift:113:16: error: type of expression is ambiguous without a type annotation
111 |         let decoder = builder.decoder
112 |         let deocdeKeyPath = builder.responseKeyPath
113 |         return AsyncThrowingStream(T.self) { continuation in
    |                `- error: type of expression is ambiguous without a type annotation
114 |             let wrapper = ThrowingStreamWrapper(
115 |                 decoder: decoder,
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitTask.swift:194:40: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
192 |         dataTask = nil
193 |
194 |         let httpResponse = urlResponse as? HTTPURLResponse
    |                                        `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
195 |         let headers = httpResponse?.allHeaderFields.compactMap { key, value -> (String, String)? in
196 |             guard let k = key as? String,
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitTask.swift:194:44: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
192 |         dataTask = nil
193 |
194 |         let httpResponse = urlResponse as? HTTPURLResponse
    |                                            `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
195 |         let headers = httpResponse?.allHeaderFields.compactMap { key, value -> (String, String)? in
196 |             guard let k = key as? String,
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/Netrofit/_Netrofit/_NetrofitTask.swift:195:37: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
193 |
194 |         let httpResponse = urlResponse as? HTTPURLResponse
195 |         let headers = httpResponse?.allHeaderFields.compactMap { key, value -> (String, String)? in
    |                                     `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
196 |             guard let k = key as? String,
197 |                   let v = value as? String
/host/spi-builder-workspace/Sources/Netrofit/NetrofitResponse.swift:15:26: error: cannot find type 'URLRequest' in scope
13 |     public var error: Error?
14 |
15 |     public init(request: URLRequest) {
   |                          `- error: cannot find type 'URLRequest' in scope
16 |         self.request = request
17 |     }
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitTask.swift:208:45: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
206 |         response.body = responseData
207 |         response.headers = headers
208 |         response.statusCode = httpResponse?.statusCode
    |                                             `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
209 |
210 |         for plugin in plugins {
[306/323] Compiling Netrofit AnyEncodable.swift
[307/323] Compiling Netrofit String+URLPathPart.swift
[308/323] Compiling Netrofit HTTPBodyEncoder.swift
[309/323] Compiling Netrofit JSONEncoder.swift
[310/323] Compiling Netrofit MultipartEncoder.swift
[311/323] Compiling Netrofit HTTPBodyDecoder.swift
[312/323] Compiling Netrofit JSONDecoder.swift
[313/323] Compiling Netrofit TextPlainDecoder.swift
[314/323] Compiling Netrofit TextPlainEncoder.swift
[315/323] Compiling Netrofit URLEncodedFormEncoder.swift
[316/323] Compiling Netrofit NetrofitMacros.swift
[317/323] Compiling Netrofit NetrofitPlugin.swift
/host/spi-builder-workspace/Sources/Netrofit/NetrofitResponse.swift:9:25: error: cannot find type 'URLRequest' in scope
 7 |
 8 | public struct NetrofitResponse: Sendable {
 9 |     public var request: URLRequest
   |                         `- error: cannot find type 'URLRequest' in scope
10 |     public var body: Data?
11 |     public var headers: [String: String]?
/host/spi-builder-workspace/Sources/Netrofit/NetrofitResponse.swift:15:26: error: cannot find type 'URLRequest' in scope
13 |     public var error: Error?
14 |
15 |     public init(request: URLRequest) {
   |                          `- error: cannot find type 'URLRequest' in scope
16 |         self.request = request
17 |     }
[318/323] Compiling Netrofit NetrofitProvider.swift
/host/spi-builder-workspace/Sources/Netrofit/NetrofitResponse.swift:9:25: error: cannot find type 'URLRequest' in scope
 7 |
 8 | public struct NetrofitResponse: Sendable {
 9 |     public var request: URLRequest
   |                         `- error: cannot find type 'URLRequest' in scope
10 |     public var body: Data?
11 |     public var headers: [String: String]?
/host/spi-builder-workspace/Sources/Netrofit/NetrofitResponse.swift:15:26: error: cannot find type 'URLRequest' in scope
13 |     public var error: Error?
14 |
15 |     public init(request: URLRequest) {
   |                          `- error: cannot find type 'URLRequest' in scope
16 |         self.request = request
17 |     }
[319/323] Compiling Netrofit NetrofitResponse.swift
/host/spi-builder-workspace/Sources/Netrofit/NetrofitResponse.swift:9:25: error: cannot find type 'URLRequest' in scope
 7 |
 8 | public struct NetrofitResponse: Sendable {
 9 |     public var request: URLRequest
   |                         `- error: cannot find type 'URLRequest' in scope
10 |     public var body: Data?
11 |     public var headers: [String: String]?
/host/spi-builder-workspace/Sources/Netrofit/NetrofitResponse.swift:15:26: error: cannot find type 'URLRequest' in scope
13 |     public var error: Error?
14 |
15 |     public init(request: URLRequest) {
   |                          `- error: cannot find type 'URLRequest' in scope
16 |         self.request = request
17 |     }
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:08fa5f1bd27c53c71ebe7c2842e29d52715d90da2c5b8f52513c9039c232613d
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/24] Write swift-version-24593BA9C3E375BF.txt
[2/31] Emitting module SwiftSyntax601
[3/34] Compiling SwiftSyntax601 Empty.swift
[4/35] Compiling SwiftSyntax509 Empty.swift
[5/35] Emitting module SwiftSyntax509
[6/36] Emitting module SwiftSyntax602
[7/36] Compiling SwiftSyntax602 Empty.swift
[8/36] Emitting module SwiftSyntax510
[9/36] Compiling SwiftSyntax510 Empty.swift
[11/38] Compiling SwiftSyntax600 Empty.swift
[13/38] Emitting module SwiftSyntax600
[17/97] Compiling SwiftSyntax Identifier.swift
[18/97] Compiling SwiftSyntax MemoryLayout.swift
[19/97] Compiling SwiftSyntax MissingNodeInitializers.swift
[20/97] Compiling SwiftSyntax RawSyntax.swift
[21/97] Compiling SwiftSyntax RawSyntaxArena.swift
[22/97] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[23/97] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[24/97] Compiling SwiftSyntax RawSyntaxTokenView.swift
[25/97] Compiling SwiftSyntax SourceEdit.swift
[26/105] Compiling SwiftSyntax SourceLength.swift
[27/105] Compiling SwiftSyntax SourceLocation.swift
[28/105] Compiling SwiftSyntax SourcePresence.swift
[29/105] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[30/105] Compiling SwiftSyntax Syntax.swift
[31/105] Compiling SwiftSyntax SyntaxChildren.swift
[32/105] Compiling SwiftSyntax SyntaxCollection.swift
[33/105] Compiling SwiftSyntax SyntaxHashable.swift
[34/105] Compiling SwiftSyntax SyntaxIdentifier.swift
[35/105] Emitting module SwiftSyntax
[36/105] Compiling SwiftSyntax SyntaxRewriter.swift
[37/105] Compiling SwiftSyntax SyntaxTraits.swift
[38/105] Compiling SwiftSyntax SyntaxVisitor.swift
[39/105] Compiling SwiftSyntax TokenKind.swift
[40/105] Compiling SwiftSyntax Tokens.swift
[41/105] Compiling SwiftSyntax TriviaPieces.swift
[42/105] Compiling SwiftSyntax RawSyntaxNodesAB.swift
[43/105] Compiling SwiftSyntax RawSyntaxNodesC.swift
[44/105] Compiling SwiftSyntax RawSyntaxNodesD.swift
[45/105] Compiling SwiftSyntax RawSyntaxNodesEF.swift
[46/105] Compiling SwiftSyntax RawSyntaxNodesGHI.swift
[47/105] Compiling SwiftSyntax RawSyntaxNodesJKLMN.swift
[48/105] Compiling SwiftSyntax RawSyntaxNodesOP.swift
[49/105] Compiling SwiftSyntax RawSyntaxNodesQRS.swift
[50/105] Compiling SwiftSyntax RawSyntaxNodesTUVWXYZ.swift
[51/105] Compiling SwiftSyntax RawSyntaxValidation.swift
[52/105] Compiling SwiftSyntax SyntaxNodesAB.swift
[53/105] Compiling SwiftSyntax SyntaxNodesC.swift
[54/105] Compiling SwiftSyntax SyntaxNodesD.swift
[55/105] Compiling SwiftSyntax SyntaxNodesEF.swift
[56/105] Compiling SwiftSyntax SyntaxNodesGHI.swift
[57/105] Compiling SwiftSyntax SyntaxNodesJKLMN.swift
[58/105] Compiling SwiftSyntax SyntaxNodesOP.swift
[59/105] Compiling SwiftSyntax SyntaxNodesQRS.swift
[60/105] Compiling SwiftSyntax SyntaxNodesTUVWXYZ.swift
[61/105] Compiling SwiftSyntax AbsolutePosition.swift
[62/105] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[63/105] Compiling SwiftSyntax ArenaAllocatedBuffer.swift
[64/105] Compiling SwiftSyntax Assert.swift
[65/105] Compiling SwiftSyntax BumpPtrAllocator.swift
[66/105] Compiling SwiftSyntax CommonAncestor.swift
[67/105] Compiling SwiftSyntax Convenience.swift
[68/105] Compiling SwiftSyntax CustomTraits.swift
[69/105] Compiling SwiftSyntax EditorPlaceholder.swift
[70/105] Compiling SwiftSyntax SyntaxNodeStructure.swift
[71/105] Compiling SwiftSyntax SyntaxProtocol.swift
[72/105] Compiling SwiftSyntax SyntaxText.swift
[73/105] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[74/105] Compiling SwiftSyntax TokenDiagnostic.swift
[75/105] Compiling SwiftSyntax TokenSequence.swift
[76/105] Compiling SwiftSyntax TokenSyntax.swift
[77/105] Compiling SwiftSyntax Trivia.swift
[78/105] Compiling SwiftSyntax Utils.swift
[79/105] Compiling SwiftSyntax ChildNameForKeyPath.swift
[80/105] Compiling SwiftSyntax Keyword.swift
[81/105] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[82/105] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[83/105] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[84/105] Compiling SwiftSyntax SyntaxBaseNodes.swift
[85/105] Compiling SwiftSyntax SyntaxCollections.swift
[86/105] Compiling SwiftSyntax SyntaxEnum.swift
[87/105] Compiling SwiftSyntax SyntaxKind.swift
[89/159] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[90/159] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[91/164] Compiling SwiftDiagnostics Message.swift
[92/165] Compiling SwiftParser Expressions.swift
[93/165] Compiling SwiftParser IncrementalParseTransition.swift
[94/165] Compiling SwiftParser Directives.swift
[95/165] Compiling SwiftParser ExpressionInterpretedAsVersionTuple.swift
[96/165] Emitting module SwiftDiagnostics
[97/165] Compiling SwiftBasicFormat InferIndentation.swift
[98/165] Emitting module SwiftBasicFormat
[99/165] Compiling SwiftBasicFormat Indenter.swift
[100/165] Compiling SwiftDiagnostics Note.swift
[101/165] Compiling SwiftDiagnostics FixIt.swift
[102/165] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[103/165] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[104/165] Compiling SwiftDiagnostics DiagnosticDecorator.swift
[105/166] Compiling SwiftBasicFormat Syntax+Extensions.swift
[106/166] Compiling SwiftBasicFormat BasicFormat.swift
[109/165] Compiling SwiftParser Lexeme.swift
[110/165] Compiling SwiftParser LexemeSequence.swift
[111/165] Compiling SwiftParser Lexer.swift
[112/165] Compiling SwiftParser RegexLiteralLexer.swift
[113/165] Compiling SwiftParser UnicodeScalarExtensions.swift
[114/165] Compiling SwiftParser Lookahead.swift
[115/165] Compiling SwiftParser LoopProgressCondition.swift
[116/165] Compiling SwiftParser Modifiers.swift
[117/165] Compiling SwiftParser Names.swift
[118/165] Compiling SwiftParser Nominals.swift
[119/165] Compiling SwiftParser Parameters.swift
[120/165] Compiling SwiftParser ParseSourceFile.swift
[121/170] Compiling SwiftParser Parser.swift
[122/170] Compiling SwiftParser Patterns.swift
[123/170] Compiling SwiftParser Recovery.swift
[124/170] Compiling SwiftParser Specifiers.swift
[125/170] Compiling SwiftParser Statements.swift
[126/170] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[127/170] Compiling SwiftParser StringLiterals.swift
[128/170] Compiling SwiftParser SwiftParserCompatibility.swift
[129/170] Compiling SwiftParser SwiftVersion.swift
[130/170] Compiling SwiftParser SyntaxUtils.swift
[131/170] Compiling SwiftParser TokenConsumer.swift
[132/170] Compiling SwiftParser TokenPrecedence.swift
[133/170] Compiling SwiftParser TokenSpec.swift
[134/170] Compiling SwiftParser TokenSpecSet.swift
[135/170] Compiling SwiftParser TopLevel.swift
[136/170] Compiling SwiftParser TriviaParser.swift
[137/170] Compiling SwiftParser Types.swift
[138/170] Compiling SwiftParser Attributes.swift
[139/170] Compiling SwiftParser Availability.swift
[140/170] Compiling SwiftParser CharacterInfo.swift
[141/170] Compiling SwiftParser CollectionNodes+Parsable.swift
[142/170] Compiling SwiftParser CompilerFiles.swift
[143/170] Compiling SwiftParser Declarations.swift
[144/170] Emitting module SwiftParser
[149/170] Compiling SwiftParser IsValidIdentifier.swift
[150/170] Compiling SwiftParser Cursor.swift
[151/170] Compiling SwiftParser ExperimentalFeatures.swift
[152/170] Compiling SwiftParser IsLexerClassified.swift
[153/170] Compiling SwiftParser LayoutNodes+Parsable.swift
[154/170] Compiling SwiftParser Parser+TokenSpecSet.swift
[155/170] Compiling SwiftParser TokenSpecStaticMembers.swift
[157/193] Compiling SwiftParserDiagnostics MissingNodesError.swift
[158/193] Compiling SwiftParserDiagnostics MissingTokenError.swift
[159/193] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[160/195] Compiling SwiftOperators OperatorTable.swift
[161/195] Compiling SwiftOperators PrecedenceGraph.swift
[162/195] Compiling SwiftOperators PrecedenceGroup.swift
[163/195] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[164/195] Compiling SwiftParserDiagnostics Utils.swift
[165/195] Compiling SwiftParserDiagnostics DiagnosticExtensions.swift
[166/195] Compiling SwiftParserDiagnostics LexerDiagnosticMessages.swift
[167/195] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[168/195] Compiling SwiftOperators SyntaxSynthesis.swift
[169/195] Emitting module SwiftOperators
[170/195] Compiling SwiftOperators OperatorTable+Semantics.swift
[171/195] Compiling SwiftOperators OperatorTable+Folding.swift
[173/195] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[174/195] Emitting module SwiftParserDiagnostics
[179/195] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[180/195] Compiling SwiftParserDiagnostics PresenceUtils.swift
[181/195] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[182/195] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[184/210] Compiling SwiftSyntaxBuilder Indenter.swift
[185/210] Compiling SwiftSyntaxBuilder ListBuilder.swift
[186/211] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[187/211] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[188/211] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[189/211] Emitting module SwiftSyntaxBuilder
[190/211] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[191/211] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[192/211] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[193/211] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[194/211] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[195/211] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[196/211] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[197/211] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[198/211] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[199/211] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[201/228] Emitting module SwiftSyntaxMacros
[202/228] Compiling SwiftSyntaxMacros AccessorMacro.swift
[203/228] Compiling SwiftSyntaxMacros AttachedMacro.swift
[204/228] Compiling SwiftSyntaxMacros BodyMacro.swift
[205/230] Compiling SwiftSyntaxMacros Macro.swift
[206/230] Compiling SwiftSyntaxMacros MemberAttributeMacro.swift
[207/230] Compiling SwiftSyntaxMacros MemberMacro.swift
[208/230] Compiling SwiftSyntaxMacros PeerMacro.swift
[209/230] Compiling SwiftSyntaxMacros ExpressionMacro.swift
[210/230] Compiling SwiftSyntaxMacros ExtensionMacro.swift
[211/230] Compiling SwiftSyntaxMacros FreestandingMacro.swift
[212/230] Compiling SwiftSyntaxMacros Macro+Format.swift
[213/230] Compiling SwiftSyntaxMacros AbstractSourceLocation.swift
[214/230] Compiling SwiftSyntaxMacros MacroExpansionContext.swift
[215/230] Compiling SwiftSyntaxMacros MacroExpansionDiagnosticMessages.swift
[216/230] Compiling SwiftSyntaxMacros CodeItemMacro.swift
[217/230] Compiling SwiftSyntaxMacros DeclarationMacro.swift
[218/230] Compiling SwiftSyntaxMacros PreambleMacro.swift
[219/230] Compiling SwiftSyntaxMacros Syntax+LexicalContext.swift
[221/239] Compiling SwiftSyntaxMacroExpansion MacroSpec.swift
[222/240] Compiling SwiftSyntaxMacroExpansion MacroExpansionDiagnosticMessages.swift
[223/240] Compiling SwiftSyntaxMacroExpansion MacroArgument.swift
[224/240] Compiling SwiftSyntaxMacroExpansion BasicMacroExpansionContext.swift
[225/240] Compiling SwiftSyntaxMacroExpansion FunctionParameterUtils.swift
[226/240] Compiling SwiftSyntaxMacroExpansion IndentationUtils.swift
[227/240] Emitting module SwiftSyntaxMacroExpansion
[228/240] Compiling SwiftSyntaxMacroExpansion MacroReplacement.swift
[229/240] Compiling SwiftSyntaxMacroExpansion MacroExpansion.swift
[230/240] Compiling SwiftSyntaxMacroExpansion MacroSystem.swift
[232/252] Compiling SwiftCompilerPluginMessageHandling LRUCache.swift
[233/252] Compiling SwiftCompilerPluginMessageHandling Macros.swift
[234/253] Compiling SwiftCompilerPluginMessageHandling StandardIOMessageConnection.swift
[235/253] Compiling SwiftCompilerPluginMessageHandling PluginMacroExpansionContext.swift
[236/253] Compiling SwiftCompilerPluginMessageHandling PluginMessageCompatibility.swift
[237/253] Compiling SwiftCompilerPluginMessageHandling PluginMessages.swift
[238/253] Emitting module SwiftCompilerPluginMessageHandling
[239/253] Compiling SwiftCompilerPluginMessageHandling CodingUtilities.swift
[240/253] Compiling SwiftCompilerPluginMessageHandling JSON.swift
[241/253] Compiling SwiftCompilerPluginMessageHandling CompilerPluginMessageHandler.swift
[242/253] Compiling SwiftCompilerPluginMessageHandling Diagnostics.swift
[243/253] Compiling SwiftCompilerPluginMessageHandling JSONDecoding.swift
[244/253] Compiling SwiftCompilerPluginMessageHandling JSONEncoding.swift
[246/255] Emitting module SwiftCompilerPlugin
[247/255] Compiling SwiftCompilerPlugin CompilerPlugin.swift
[249/263] Compiling NetrofitMacros Plugin.swift
[250/264] Compiling NetrofitMacros PayloadFormat.swift
[251/264] Compiling NetrofitMacros FunctionDecl+.swift
[252/264] Compiling NetrofitMacros AttributeDecl+.swift
[253/264] Compiling NetrofitMacros String+.swift
[254/264] Compiling NetrofitMacros APIMacro.swift
/host/spi-builder-workspace/Sources/NetrofitMacros/APIMacro.swift:5:8: warning: deprecated default implementation is used to satisfy static method 'expansion(of:providingMembersOf:conformingTo:in:)' required by protocol 'MemberMacro': `MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter
 3 | import SwiftSyntaxMacros
 4 |
 5 | struct APIMacro: MemberMacro {
   |        `- warning: deprecated default implementation is used to satisfy static method 'expansion(of:providingMembersOf:conformingTo:in:)' required by protocol 'MemberMacro': `MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter
 6 |     static func expansion(of node: AttributeSyntax, providingMembersOf declaration: some DeclGroupSyntax, in context: some MacroExpansionContext) throws -> [DeclSyntax] {
 7 |         var attributes: AttributeListSyntax?
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntaxMacros/MacroProtocols/MemberMacro.swift:89:22: note: 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
53 |   /// - Returns: the set of member declarations introduced by this macro, which
54 |   /// are nested inside the `attachedTo` declaration.
55 |   static func expansion(
   |               `- note: requirement 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
56 |     of node: AttributeSyntax,
57 |     providingMembersOf declaration: some DeclGroupSyntax,
   :
87 |     message: "`MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter"
88 |   )
89 |   public static func expansion(
   |                      `- note: 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
90 |     of node: AttributeSyntax,
91 |     providingMembersOf declaration: some DeclGroupSyntax,
[255/264] Emitting module NetrofitMacros
/host/spi-builder-workspace/Sources/NetrofitMacros/APIMacro.swift:5:8: warning: deprecated default implementation is used to satisfy static method 'expansion(of:providingMembersOf:conformingTo:in:)' required by protocol 'MemberMacro': `MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter
 3 | import SwiftSyntaxMacros
 4 |
 5 | struct APIMacro: MemberMacro {
   |        `- warning: deprecated default implementation is used to satisfy static method 'expansion(of:providingMembersOf:conformingTo:in:)' required by protocol 'MemberMacro': `MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter
 6 |     static func expansion(of node: AttributeSyntax, providingMembersOf declaration: some DeclGroupSyntax, in context: some MacroExpansionContext) throws -> [DeclSyntax] {
 7 |         var attributes: AttributeListSyntax?
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntaxMacros/MacroProtocols/MemberMacro.swift:89:22: note: 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
53 |   /// - Returns: the set of member declarations introduced by this macro, which
54 |   /// are nested inside the `attachedTo` declaration.
55 |   static func expansion(
   |               `- note: requirement 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
56 |     of node: AttributeSyntax,
57 |     providingMembersOf declaration: some DeclGroupSyntax,
   :
87 |     message: "`MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter"
88 |   )
89 |   public static func expansion(
   |                      `- note: 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
90 |     of node: AttributeSyntax,
91 |     providingMembersOf declaration: some DeclGroupSyntax,
[256/264] Compiling NetrofitMacros EmptyMacro.swift
[257/264] Compiling NetrofitMacros MethodMacro.swift
[258/264] Write Objects.LinkFileList
[259/264] Linking NetrofitMacros-tool
[261/284] Compiling Netrofit TextPlainEncoder.swift
[262/284] Compiling Netrofit URLEncodedFormEncoder.swift
[263/284] Compiling Netrofit NetrofitMacros.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[264/286] Emitting module Netrofit
/host/spi-builder-workspace/Sources/Netrofit/NetrofitResponse.swift:9:25: error: cannot find type 'URLRequest' in scope
 7 |
 8 | public struct NetrofitResponse: Sendable {
 9 |     public var request: URLRequest
   |                         `- error: cannot find type 'URLRequest' in scope
10 |     public var body: Data?
11 |     public var headers: [String: String]?
/host/spi-builder-workspace/Sources/Netrofit/NetrofitResponse.swift:15:26: error: cannot find type 'URLRequest' in scope
13 |     public var error: Error?
14 |
15 |     public init(request: URLRequest) {
   |                          `- error: cannot find type 'URLRequest' in scope
16 |         self.request = request
17 |     }
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitSession.swift:6:24: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 4 |     public convenience init(
 5 |         baseURL: String,
 6 |         configuration: URLSessionConfiguration = .default,
   |                        `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 7 |         plugins: [NetrofitPlugin] = []
 8 |     ) {
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' 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 URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitSession.swift:6:51: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 4 |     public convenience init(
 5 |         baseURL: String,
 6 |         configuration: URLSessionConfiguration = .default,
   |                                                   `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 7 |         plugins: [NetrofitPlugin] = []
 8 |     ) {
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitSession.swift:14:79: error: cannot find type 'URLSessionDataDelegate' in scope
12 | }
13 |
14 | final class _NetrofitSession: NSObject, NetrofitSession, @unchecked Sendable, URLSessionDataDelegate {
   |                                                                               `- error: cannot find type 'URLSessionDataDelegate' in scope
15 |     let configuration: URLSessionConfiguration
16 |     private var urlSession: URLSession!
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitSession.swift:15:24: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |
14 | final class _NetrofitSession: NSObject, NetrofitSession, @unchecked Sendable, URLSessionDataDelegate {
15 |     let configuration: URLSessionConfiguration
   |                        `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |     private var urlSession: URLSession!
17 |     private let lock = NSLock()
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' 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 URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitSession.swift:16:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 | final class _NetrofitSession: NSObject, NetrofitSession, @unchecked Sendable, URLSessionDataDelegate {
15 |     let configuration: URLSessionConfiguration
16 |     private var urlSession: URLSession!
   |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 |     private let lock = NSLock()
18 |     private var _createdTasks = Set<_NetrofitTask>()
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/Netrofit/_Netrofit/_NetrofitSession.swift:30:25: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |     }
29 |
30 |     init(configuration: URLSessionConfiguration) {
   |                         `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
31 |         self.configuration = configuration
32 |         super.init()
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' 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 URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitSession.swift:47:128: error: 'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
45 |     }
46 |
47 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse) async -> URLSession.ResponseDisposition {
   |                                                                                                                                `- error: 'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
48 |         if let _task = createdTasks.first(where: { $0.dataTask === dataTask }) {
49 |             _task.urlResponse = response
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitSession.swift:47:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 |     }
46 |
47 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse) async -> URLSession.ResponseDisposition {
   |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 |         if let _task = createdTasks.first(where: { $0.dataTask === dataTask }) {
49 |             _task.urlResponse = response
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/Netrofit/_Netrofit/_NetrofitSession.swift:47:54: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 |     }
46 |
47 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse) async -> URLSession.ResponseDisposition {
   |                                                      `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 |         if let _task = createdTasks.first(where: { $0.dataTask === dataTask }) {
49 |             _task.urlResponse = response
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' 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 URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitSession.swift:47:95: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 |     }
46 |
47 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse) async -> URLSession.ResponseDisposition {
   |                                                                                               `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 |         if let _task = createdTasks.first(where: { $0.dataTask === dataTask }) {
49 |             _task.urlResponse = response
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/Netrofit/_Netrofit/_NetrofitSession.swift:54:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
52 |     }
53 |
54 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
   |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
55 |         if let _task = createdTasks.first(where: { $0.dataTask === dataTask }) {
56 |             _task.didReceiveData(data)
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/Netrofit/_Netrofit/_NetrofitSession.swift:54:54: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
52 |     }
53 |
54 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
   |                                                      `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
55 |         if let _task = createdTasks.first(where: { $0.dataTask === dataTask }) {
56 |             _task.didReceiveData(data)
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' 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 URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitSession.swift:60:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
58 |     }
59 |
60 |     func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: (any Error)?) {
   |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
61 |         if let _task = createdTasks.first(where: { $0.dataTask === task }) {
62 |             _task.didCompleteWithError(error)
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/Netrofit/_Netrofit/_NetrofitSession.swift:60:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
58 |     }
59 |
60 |     func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: (any Error)?) {
   |                                                  `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
61 |         if let _task = createdTasks.first(where: { $0.dataTask === task }) {
62 |             _task.didCompleteWithError(error)
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitTask.swift:32:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 30 |
 31 |     let uuid = UUID()
 32 |     let urlSession: URLSession
    |                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 33 |     let request: URLRequest
 34 |     let plugins: [NetrofitPlugin]
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/Netrofit/_Netrofit/_NetrofitTask.swift:33:18: error: cannot find type 'URLRequest' in scope
 31 |     let uuid = UUID()
 32 |     let urlSession: URLSession
 33 |     let request: URLRequest
    |                  `- error: cannot find type 'URLRequest' in scope
 34 |     let plugins: [NetrofitPlugin]
 35 |     var urlResponse: URLResponse?
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitTask.swift:35:22: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 33 |     let request: URLRequest
 34 |     let plugins: [NetrofitPlugin]
 35 |     var urlResponse: URLResponse?
    |                      `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 36 |
 37 |     private(set) var responseData = 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/Netrofit/_Netrofit/_NetrofitTask.swift:38:32: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 36 |
 37 |     private(set) var responseData = Data()
 38 |     private(set) var dataTask: URLSessionDataTask?
    |                                `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 39 |
 40 |     private var state: EventStreamingState = .idle
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' 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 URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitTask.swift:44:43: error: cannot find type 'URLRequest' in scope
 42 |     private var lineBuffer = Data() // Buffer for accumulating incomplete lines in SSE streaming
 43 |
 44 |     init(urlSession: URLSession, request: URLRequest, plugins: [NetrofitPlugin]) {
    |                                           `- error: cannot find type 'URLRequest' in scope
 45 |         self.urlSession = urlSession
 46 |         self.request = request
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitTask.swift:44:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 42 |     private var lineBuffer = Data() // Buffer for accumulating incomplete lines in SSE streaming
 43 |
 44 |     init(urlSession: URLSession, request: URLRequest, plugins: [NetrofitPlugin]) {
    |                      `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 45 |         self.urlSession = urlSession
 46 |         self.request = request
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
[265/286] Compiling Netrofit AnyEncodable.swift
[266/286] Compiling Netrofit String+URLPathPart.swift
[267/286] Compiling Netrofit NetrofitPlugin.swift
/host/spi-builder-workspace/Sources/Netrofit/NetrofitResponse.swift:9:25: error: cannot find type 'URLRequest' in scope
 7 |
 8 | public struct NetrofitResponse: Sendable {
 9 |     public var request: URLRequest
   |                         `- error: cannot find type 'URLRequest' in scope
10 |     public var body: Data?
11 |     public var headers: [String: String]?
/host/spi-builder-workspace/Sources/Netrofit/NetrofitResponse.swift:15:26: error: cannot find type 'URLRequest' in scope
13 |     public var error: Error?
14 |
15 |     public init(request: URLRequest) {
   |                          `- error: cannot find type 'URLRequest' in scope
16 |         self.request = request
17 |     }
[268/286] Compiling Netrofit NetrofitProvider.swift
/host/spi-builder-workspace/Sources/Netrofit/NetrofitResponse.swift:9:25: error: cannot find type 'URLRequest' in scope
 7 |
 8 | public struct NetrofitResponse: Sendable {
 9 |     public var request: URLRequest
   |                         `- error: cannot find type 'URLRequest' in scope
10 |     public var body: Data?
11 |     public var headers: [String: String]?
/host/spi-builder-workspace/Sources/Netrofit/NetrofitResponse.swift:15:26: error: cannot find type 'URLRequest' in scope
13 |     public var error: Error?
14 |
15 |     public init(request: URLRequest) {
   |                          `- error: cannot find type 'URLRequest' in scope
16 |         self.request = request
17 |     }
[269/286] Compiling Netrofit NetrofitResponse.swift
/host/spi-builder-workspace/Sources/Netrofit/NetrofitResponse.swift:9:25: error: cannot find type 'URLRequest' in scope
 7 |
 8 | public struct NetrofitResponse: Sendable {
 9 |     public var request: URLRequest
   |                         `- error: cannot find type 'URLRequest' in scope
10 |     public var body: Data?
11 |     public var headers: [String: String]?
/host/spi-builder-workspace/Sources/Netrofit/NetrofitResponse.swift:15:26: error: cannot find type 'URLRequest' in scope
13 |     public var error: Error?
14 |
15 |     public init(request: URLRequest) {
   |                          `- error: cannot find type 'URLRequest' in scope
16 |         self.request = request
17 |     }
[270/286] Compiling Netrofit AttributeWrappers.swift
[271/286] Compiling Netrofit DynamicContentTypeDecoder.swift
[272/286] Compiling Netrofit EventStreamingDecoder.swift
[273/286] Compiling Netrofit NetrofitSessionProtocols.swift
[274/286] Compiling Netrofit RequestBuilder.swift
[275/286] Compiling Netrofit HTTPBodyDecoder.swift
[276/286] Compiling Netrofit JSONDecoder.swift
[277/286] Compiling Netrofit TextPlainDecoder.swift
[278/286] Compiling Netrofit HTTPBodyEncoder.swift
[279/286] Compiling Netrofit JSONEncoder.swift
[280/286] Compiling Netrofit MultipartEncoder.swift
[281/286] Compiling Netrofit _NetrofitSession.swift
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitSession.swift:6:24: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 4 |     public convenience init(
 5 |         baseURL: String,
 6 |         configuration: URLSessionConfiguration = .default,
   |                        `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 7 |         plugins: [NetrofitPlugin] = []
 8 |     ) {
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' 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 URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitSession.swift:6:51: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 4 |     public convenience init(
 5 |         baseURL: String,
 6 |         configuration: URLSessionConfiguration = .default,
   |                                                   `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 7 |         plugins: [NetrofitPlugin] = []
 8 |     ) {
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitSession.swift:14:79: error: cannot find type 'URLSessionDataDelegate' in scope
12 | }
13 |
14 | final class _NetrofitSession: NSObject, NetrofitSession, @unchecked Sendable, URLSessionDataDelegate {
   |                                                                               `- error: cannot find type 'URLSessionDataDelegate' in scope
15 |     let configuration: URLSessionConfiguration
16 |     private var urlSession: URLSession!
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitSession.swift:15:24: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |
14 | final class _NetrofitSession: NSObject, NetrofitSession, @unchecked Sendable, URLSessionDataDelegate {
15 |     let configuration: URLSessionConfiguration
   |                        `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |     private var urlSession: URLSession!
17 |     private let lock = NSLock()
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' 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 URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitSession.swift:16:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 | final class _NetrofitSession: NSObject, NetrofitSession, @unchecked Sendable, URLSessionDataDelegate {
15 |     let configuration: URLSessionConfiguration
16 |     private var urlSession: URLSession!
   |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 |     private let lock = NSLock()
18 |     private var _createdTasks = Set<_NetrofitTask>()
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/Netrofit/_Netrofit/_NetrofitSession.swift:30:25: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |     }
29 |
30 |     init(configuration: URLSessionConfiguration) {
   |                         `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
31 |         self.configuration = configuration
32 |         super.init()
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' 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 URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitSession.swift:47:128: error: 'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
45 |     }
46 |
47 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse) async -> URLSession.ResponseDisposition {
   |                                                                                                                                `- error: 'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
48 |         if let _task = createdTasks.first(where: { $0.dataTask === dataTask }) {
49 |             _task.urlResponse = response
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitSession.swift:47:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 |     }
46 |
47 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse) async -> URLSession.ResponseDisposition {
   |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 |         if let _task = createdTasks.first(where: { $0.dataTask === dataTask }) {
49 |             _task.urlResponse = response
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/Netrofit/_Netrofit/_NetrofitSession.swift:47:54: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 |     }
46 |
47 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse) async -> URLSession.ResponseDisposition {
   |                                                      `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 |         if let _task = createdTasks.first(where: { $0.dataTask === dataTask }) {
49 |             _task.urlResponse = response
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' 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 URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitSession.swift:47:95: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 |     }
46 |
47 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse) async -> URLSession.ResponseDisposition {
   |                                                                                               `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 |         if let _task = createdTasks.first(where: { $0.dataTask === dataTask }) {
49 |             _task.urlResponse = response
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/Netrofit/_Netrofit/_NetrofitSession.swift:54:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
52 |     }
53 |
54 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
   |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
55 |         if let _task = createdTasks.first(where: { $0.dataTask === dataTask }) {
56 |             _task.didReceiveData(data)
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/Netrofit/_Netrofit/_NetrofitSession.swift:54:54: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
52 |     }
53 |
54 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
   |                                                      `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
55 |         if let _task = createdTasks.first(where: { $0.dataTask === dataTask }) {
56 |             _task.didReceiveData(data)
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' 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 URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitSession.swift:60:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
58 |     }
59 |
60 |     func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: (any Error)?) {
   |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
61 |         if let _task = createdTasks.first(where: { $0.dataTask === task }) {
62 |             _task.didCompleteWithError(error)
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/Netrofit/_Netrofit/_NetrofitSession.swift:60:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
58 |     }
59 |
60 |     func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: (any Error)?) {
   |                                                  `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
61 |         if let _task = createdTasks.first(where: { $0.dataTask === task }) {
62 |             _task.didCompleteWithError(error)
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitSession.swift:33:22: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
31 |         self.configuration = configuration
32 |         super.init()
33 |         urlSession = URLSession(configuration: configuration, delegate: self, delegateQueue: nil)
   |                      `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
34 |     }
35 |
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitSession.swift:33:94: error: 'nil' requires a contextual type
31 |         self.configuration = configuration
32 |         super.init()
33 |         urlSession = URLSession(configuration: configuration, delegate: self, delegateQueue: nil)
   |                                                                                              `- error: 'nil' requires a contextual type
34 |     }
35 |
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitSession.swift:37:23: error: cannot find 'URLRequest' in scope
35 |
36 |     func createTask(method: String, url: URL, headers: [String: String]?, body: Data?, plugins: [NetrofitPlugin]) -> NetrofitTask {
37 |         var request = URLRequest(url: url)
   |                       `- error: cannot find 'URLRequest' in scope
38 |         request.httpMethod = method
39 |         request.httpBody = body
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitTask.swift:44:43: error: cannot find type 'URLRequest' in scope
 42 |     private var lineBuffer = Data() // Buffer for accumulating incomplete lines in SSE streaming
 43 |
 44 |     init(urlSession: URLSession, request: URLRequest, plugins: [NetrofitPlugin]) {
    |                                           `- error: cannot find type 'URLRequest' in scope
 45 |         self.urlSession = urlSession
 46 |         self.request = request
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitTask.swift:32:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 30 |
 31 |     let uuid = UUID()
 32 |     let urlSession: URLSession
    |                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 33 |     let request: URLRequest
 34 |     let plugins: [NetrofitPlugin]
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/Netrofit/_Netrofit/_NetrofitTask.swift:33:18: error: cannot find type 'URLRequest' in scope
 31 |     let uuid = UUID()
 32 |     let urlSession: URLSession
 33 |     let request: URLRequest
    |                  `- error: cannot find type 'URLRequest' in scope
 34 |     let plugins: [NetrofitPlugin]
 35 |     var urlResponse: URLResponse?
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitTask.swift:35:22: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 33 |     let request: URLRequest
 34 |     let plugins: [NetrofitPlugin]
 35 |     var urlResponse: URLResponse?
    |                      `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 36 |
 37 |     private(set) var responseData = 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/Netrofit/_Netrofit/_NetrofitTask.swift:38:32: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 36 |
 37 |     private(set) var responseData = Data()
 38 |     private(set) var dataTask: URLSessionDataTask?
    |                                `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 39 |
 40 |     private var state: EventStreamingState = .idle
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' 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 URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitTask.swift:44:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 42 |     private var lineBuffer = Data() // Buffer for accumulating incomplete lines in SSE streaming
 43 |
 44 |     init(urlSession: URLSession, request: URLRequest, plugins: [NetrofitPlugin]) {
    |                      `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 45 |         self.urlSession = urlSession
 46 |         self.request = request
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/Netrofit/_Netrofit/_NetrofitTask.swift:52:31: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 50 |     func resume() {
 51 |         guard dataTask == nil else { return }
 52 |         let task = urlSession.dataTask(with: request)
    |                               `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 53 |         task.resume()
 54 |         dataTask = task
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitTask.swift:82:16: error: type of expression is ambiguous without a type annotation
 80 |         let decoder = builder.decoder
 81 |         let deocdeKeyPath = builder.responseKeyPath
 82 |         return AsyncStream<T> { continuation in
    |                `- error: type of expression is ambiguous without a type annotation
 83 |             let wrapper = StreamWrapper(
 84 |                 decoder: decoder,
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitTask.swift:113:16: error: type of expression is ambiguous without a type annotation
111 |         let decoder = builder.decoder
112 |         let deocdeKeyPath = builder.responseKeyPath
113 |         return AsyncThrowingStream(T.self) { continuation in
    |                `- error: type of expression is ambiguous without a type annotation
114 |             let wrapper = ThrowingStreamWrapper(
115 |                 decoder: decoder,
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitTask.swift:194:40: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
192 |         dataTask = nil
193 |
194 |         let httpResponse = urlResponse as? HTTPURLResponse
    |                                        `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
195 |         let headers = httpResponse?.allHeaderFields.compactMap { key, value -> (String, String)? in
196 |             guard let k = key as? String,
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitTask.swift:194:44: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
192 |         dataTask = nil
193 |
194 |         let httpResponse = urlResponse as? HTTPURLResponse
    |                                            `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
195 |         let headers = httpResponse?.allHeaderFields.compactMap { key, value -> (String, String)? in
196 |             guard let k = key as? String,
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/Netrofit/_Netrofit/_NetrofitTask.swift:195:37: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
193 |
194 |         let httpResponse = urlResponse as? HTTPURLResponse
195 |         let headers = httpResponse?.allHeaderFields.compactMap { key, value -> (String, String)? in
    |                                     `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
196 |             guard let k = key as? String,
197 |                   let v = value as? String
/host/spi-builder-workspace/Sources/Netrofit/NetrofitResponse.swift:15:26: error: cannot find type 'URLRequest' in scope
13 |     public var error: Error?
14 |
15 |     public init(request: URLRequest) {
   |                          `- error: cannot find type 'URLRequest' in scope
16 |         self.request = request
17 |     }
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitTask.swift:208:45: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
206 |         response.body = responseData
207 |         response.headers = headers
208 |         response.statusCode = httpResponse?.statusCode
    |                                             `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
209 |
210 |         for plugin in plugins {
[282/286] Compiling Netrofit _NetrofitTask.swift
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitSession.swift:6:24: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 4 |     public convenience init(
 5 |         baseURL: String,
 6 |         configuration: URLSessionConfiguration = .default,
   |                        `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 7 |         plugins: [NetrofitPlugin] = []
 8 |     ) {
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' 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 URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitSession.swift:6:51: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 4 |     public convenience init(
 5 |         baseURL: String,
 6 |         configuration: URLSessionConfiguration = .default,
   |                                                   `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 7 |         plugins: [NetrofitPlugin] = []
 8 |     ) {
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitSession.swift:14:79: error: cannot find type 'URLSessionDataDelegate' in scope
12 | }
13 |
14 | final class _NetrofitSession: NSObject, NetrofitSession, @unchecked Sendable, URLSessionDataDelegate {
   |                                                                               `- error: cannot find type 'URLSessionDataDelegate' in scope
15 |     let configuration: URLSessionConfiguration
16 |     private var urlSession: URLSession!
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitSession.swift:15:24: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |
14 | final class _NetrofitSession: NSObject, NetrofitSession, @unchecked Sendable, URLSessionDataDelegate {
15 |     let configuration: URLSessionConfiguration
   |                        `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |     private var urlSession: URLSession!
17 |     private let lock = NSLock()
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' 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 URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitSession.swift:16:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 | final class _NetrofitSession: NSObject, NetrofitSession, @unchecked Sendable, URLSessionDataDelegate {
15 |     let configuration: URLSessionConfiguration
16 |     private var urlSession: URLSession!
   |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 |     private let lock = NSLock()
18 |     private var _createdTasks = Set<_NetrofitTask>()
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/Netrofit/_Netrofit/_NetrofitSession.swift:30:25: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |     }
29 |
30 |     init(configuration: URLSessionConfiguration) {
   |                         `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
31 |         self.configuration = configuration
32 |         super.init()
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' 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 URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitSession.swift:47:128: error: 'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
45 |     }
46 |
47 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse) async -> URLSession.ResponseDisposition {
   |                                                                                                                                `- error: 'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
48 |         if let _task = createdTasks.first(where: { $0.dataTask === dataTask }) {
49 |             _task.urlResponse = response
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitSession.swift:47:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 |     }
46 |
47 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse) async -> URLSession.ResponseDisposition {
   |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 |         if let _task = createdTasks.first(where: { $0.dataTask === dataTask }) {
49 |             _task.urlResponse = response
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/Netrofit/_Netrofit/_NetrofitSession.swift:47:54: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 |     }
46 |
47 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse) async -> URLSession.ResponseDisposition {
   |                                                      `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 |         if let _task = createdTasks.first(where: { $0.dataTask === dataTask }) {
49 |             _task.urlResponse = response
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' 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 URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitSession.swift:47:95: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 |     }
46 |
47 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse) async -> URLSession.ResponseDisposition {
   |                                                                                               `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 |         if let _task = createdTasks.first(where: { $0.dataTask === dataTask }) {
49 |             _task.urlResponse = response
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/Netrofit/_Netrofit/_NetrofitSession.swift:54:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
52 |     }
53 |
54 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
   |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
55 |         if let _task = createdTasks.first(where: { $0.dataTask === dataTask }) {
56 |             _task.didReceiveData(data)
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/Netrofit/_Netrofit/_NetrofitSession.swift:54:54: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
52 |     }
53 |
54 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
   |                                                      `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
55 |         if let _task = createdTasks.first(where: { $0.dataTask === dataTask }) {
56 |             _task.didReceiveData(data)
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' 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 URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitSession.swift:60:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
58 |     }
59 |
60 |     func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: (any Error)?) {
   |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
61 |         if let _task = createdTasks.first(where: { $0.dataTask === task }) {
62 |             _task.didCompleteWithError(error)
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/Netrofit/_Netrofit/_NetrofitSession.swift:60:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
58 |     }
59 |
60 |     func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: (any Error)?) {
   |                                                  `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
61 |         if let _task = createdTasks.first(where: { $0.dataTask === task }) {
62 |             _task.didCompleteWithError(error)
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitSession.swift:33:22: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
31 |         self.configuration = configuration
32 |         super.init()
33 |         urlSession = URLSession(configuration: configuration, delegate: self, delegateQueue: nil)
   |                      `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
34 |     }
35 |
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitSession.swift:33:94: error: 'nil' requires a contextual type
31 |         self.configuration = configuration
32 |         super.init()
33 |         urlSession = URLSession(configuration: configuration, delegate: self, delegateQueue: nil)
   |                                                                                              `- error: 'nil' requires a contextual type
34 |     }
35 |
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitSession.swift:37:23: error: cannot find 'URLRequest' in scope
35 |
36 |     func createTask(method: String, url: URL, headers: [String: String]?, body: Data?, plugins: [NetrofitPlugin]) -> NetrofitTask {
37 |         var request = URLRequest(url: url)
   |                       `- error: cannot find 'URLRequest' in scope
38 |         request.httpMethod = method
39 |         request.httpBody = body
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitTask.swift:44:43: error: cannot find type 'URLRequest' in scope
 42 |     private var lineBuffer = Data() // Buffer for accumulating incomplete lines in SSE streaming
 43 |
 44 |     init(urlSession: URLSession, request: URLRequest, plugins: [NetrofitPlugin]) {
    |                                           `- error: cannot find type 'URLRequest' in scope
 45 |         self.urlSession = urlSession
 46 |         self.request = request
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitTask.swift:32:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 30 |
 31 |     let uuid = UUID()
 32 |     let urlSession: URLSession
    |                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 33 |     let request: URLRequest
 34 |     let plugins: [NetrofitPlugin]
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/Netrofit/_Netrofit/_NetrofitTask.swift:33:18: error: cannot find type 'URLRequest' in scope
 31 |     let uuid = UUID()
 32 |     let urlSession: URLSession
 33 |     let request: URLRequest
    |                  `- error: cannot find type 'URLRequest' in scope
 34 |     let plugins: [NetrofitPlugin]
 35 |     var urlResponse: URLResponse?
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitTask.swift:35:22: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 33 |     let request: URLRequest
 34 |     let plugins: [NetrofitPlugin]
 35 |     var urlResponse: URLResponse?
    |                      `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 36 |
 37 |     private(set) var responseData = 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/Netrofit/_Netrofit/_NetrofitTask.swift:38:32: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 36 |
 37 |     private(set) var responseData = Data()
 38 |     private(set) var dataTask: URLSessionDataTask?
    |                                `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 39 |
 40 |     private var state: EventStreamingState = .idle
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' 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 URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitTask.swift:44:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 42 |     private var lineBuffer = Data() // Buffer for accumulating incomplete lines in SSE streaming
 43 |
 44 |     init(urlSession: URLSession, request: URLRequest, plugins: [NetrofitPlugin]) {
    |                      `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 45 |         self.urlSession = urlSession
 46 |         self.request = request
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/Netrofit/_Netrofit/_NetrofitTask.swift:52:31: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 50 |     func resume() {
 51 |         guard dataTask == nil else { return }
 52 |         let task = urlSession.dataTask(with: request)
    |                               `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 53 |         task.resume()
 54 |         dataTask = task
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitTask.swift:82:16: error: type of expression is ambiguous without a type annotation
 80 |         let decoder = builder.decoder
 81 |         let deocdeKeyPath = builder.responseKeyPath
 82 |         return AsyncStream<T> { continuation in
    |                `- error: type of expression is ambiguous without a type annotation
 83 |             let wrapper = StreamWrapper(
 84 |                 decoder: decoder,
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitTask.swift:113:16: error: type of expression is ambiguous without a type annotation
111 |         let decoder = builder.decoder
112 |         let deocdeKeyPath = builder.responseKeyPath
113 |         return AsyncThrowingStream(T.self) { continuation in
    |                `- error: type of expression is ambiguous without a type annotation
114 |             let wrapper = ThrowingStreamWrapper(
115 |                 decoder: decoder,
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitTask.swift:194:40: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
192 |         dataTask = nil
193 |
194 |         let httpResponse = urlResponse as? HTTPURLResponse
    |                                        `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
195 |         let headers = httpResponse?.allHeaderFields.compactMap { key, value -> (String, String)? in
196 |             guard let k = key as? String,
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitTask.swift:194:44: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
192 |         dataTask = nil
193 |
194 |         let httpResponse = urlResponse as? HTTPURLResponse
    |                                            `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
195 |         let headers = httpResponse?.allHeaderFields.compactMap { key, value -> (String, String)? in
196 |             guard let k = key as? String,
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/Netrofit/_Netrofit/_NetrofitTask.swift:195:37: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
193 |
194 |         let httpResponse = urlResponse as? HTTPURLResponse
195 |         let headers = httpResponse?.allHeaderFields.compactMap { key, value -> (String, String)? in
    |                                     `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
196 |             guard let k = key as? String,
197 |                   let v = value as? String
/host/spi-builder-workspace/Sources/Netrofit/NetrofitResponse.swift:15:26: error: cannot find type 'URLRequest' in scope
13 |     public var error: Error?
14 |
15 |     public init(request: URLRequest) {
   |                          `- error: cannot find type 'URLRequest' in scope
16 |         self.request = request
17 |     }
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitTask.swift:208:45: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
206 |         response.body = responseData
207 |         response.headers = headers
208 |         response.statusCode = httpResponse?.statusCode
    |                                             `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
209 |
210 |         for plugin in plugins {
BUILD FAILURE 6.1 android