Build Information
Failed to build Netrofit, reference 0.1.0 (e95883), with Swift 6.1 for Android on 1 Nov 2025 13:46:33 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-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>&1Build Log
[139/187] Compiling SwiftParser SwiftParserCompatibility.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[140/187] Compiling SwiftParser SwiftVersion.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[141/187] Compiling SwiftParser SyntaxUtils.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[142/187] Compiling SwiftParser TokenConsumer.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[143/187] Compiling SwiftParser TokenPrecedence.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[144/187] Compiling SwiftParser TokenSpec.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[145/187] Compiling SwiftParser TokenSpecSet.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[146/187] Compiling SwiftParser TopLevel.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[147/187] Compiling SwiftParser TriviaParser.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[148/187] Compiling SwiftParser Types.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[149/187] Compiling SwiftParser Patterns.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[150/187] Compiling SwiftParser Recovery.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[151/187] Compiling SwiftParser Specifiers.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[152/187] Compiling SwiftParser Statements.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[153/187] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[154/187] Compiling SwiftParser StringLiterals.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[159/187] Compiling SwiftParser Declarations.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[160/187] Compiling SwiftParser Directives.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[161/187] Emitting module SwiftParser
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[162/187] Compiling SwiftParser ExpressionInterpretedAsVersionTuple.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[163/187] Compiling SwiftParser Expressions.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[164/187] Compiling SwiftParser IncrementalParseTransition.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[165/187] Compiling SwiftParser IsValidIdentifier.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[166/187] Compiling SwiftParser Cursor.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[167/187] Compiling SwiftParser Lexeme.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[168/187] Compiling SwiftParser ExperimentalFeatures.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[169/187] Compiling SwiftParser IsLexerClassified.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[170/187] Compiling SwiftParser LayoutNodes+Parsable.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[171/187] Compiling SwiftParser Parser+TokenSpecSet.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[172/187] Compiling SwiftParser TokenSpecStaticMembers.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[173/188] Wrapping AST for SwiftParser for debugging
[175/211] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[176/212] Compiling SwiftOperators Operator.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[177/212] Compiling SwiftOperators OperatorError+Diagnostics.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[178/212] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[179/212] Compiling SwiftParserDiagnostics Utils.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[180/212] Compiling SwiftOperators PrecedenceGroup.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[181/213] Compiling SwiftOperators OperatorError.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[182/213] Compiling SwiftOperators OperatorTable+Defaults.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[183/213] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[184/213] Compiling SwiftOperators OperatorTable.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[185/213] Compiling SwiftOperators PrecedenceGraph.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[186/213] Emitting module SwiftOperators
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[187/213] Compiling SwiftOperators OperatorTable+Folding.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[188/213] Compiling SwiftOperators OperatorTable+Semantics.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[189/213] Compiling SwiftOperators SyntaxSynthesis.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[190/214] Wrapping AST for SwiftOperators for debugging
[192/214] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[197/214] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[198/214] Compiling SwiftParserDiagnostics PresenceUtils.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[199/214] Emitting module SwiftParserDiagnostics
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[200/214] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[201/214] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[202/215] Wrapping AST for SwiftParserDiagnostics for debugging
[204/230] Emitting module SwiftSyntaxBuilder
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[205/231] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[206/231] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[207/231] Compiling SwiftSyntaxBuilder Indenter.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[208/231] Compiling SwiftSyntaxBuilder ListBuilder.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[209/231] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[210/231] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[211/231] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[212/231] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[213/231] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[214/231] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[215/231] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[216/231] Compiling SwiftSyntaxBuilder BuildableNodes.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[217/231] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[218/231] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[219/231] Compiling SwiftSyntaxBuilder ResultBuilders.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[220/232] Wrapping AST for SwiftSyntaxBuilder for debugging
[222/249] Compiling SwiftSyntaxMacros AccessorMacro.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[223/249] Compiling SwiftSyntaxMacros AttachedMacro.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[224/249] Compiling SwiftSyntaxMacros BodyMacro.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[225/251] Compiling SwiftSyntaxMacros CodeItemMacro.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[226/251] Compiling SwiftSyntaxMacros DeclarationMacro.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[227/251] Emitting module SwiftSyntaxMacros
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[228/251] Compiling SwiftSyntaxMacros MemberMacro.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[229/251] Compiling SwiftSyntaxMacros PeerMacro.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[230/251] Compiling SwiftSyntaxMacros Macro.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[231/251] Compiling SwiftSyntaxMacros MemberAttributeMacro.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[232/251] Compiling SwiftSyntaxMacros ExpressionMacro.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[233/251] Compiling SwiftSyntaxMacros ExtensionMacro.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[234/251] Compiling SwiftSyntaxMacros FreestandingMacro.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[235/251] Compiling SwiftSyntaxMacros Macro+Format.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[236/251] Compiling SwiftSyntaxMacros AbstractSourceLocation.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[237/251] Compiling SwiftSyntaxMacros MacroExpansionContext.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[238/251] Compiling SwiftSyntaxMacros MacroExpansionDiagnosticMessages.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[239/251] Compiling SwiftSyntaxMacros PreambleMacro.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[240/251] Compiling SwiftSyntaxMacros Syntax+LexicalContext.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[241/252] Wrapping AST for SwiftSyntaxMacros for debugging
[243/261] Compiling SwiftSyntaxMacroExpansion MacroSpec.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[244/262] Compiling SwiftSyntaxMacroExpansion BasicMacroExpansionContext.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[245/262] Compiling SwiftSyntaxMacroExpansion FunctionParameterUtils.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[246/262] Emitting module SwiftSyntaxMacroExpansion
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[247/262] Compiling SwiftSyntaxMacroExpansion IndentationUtils.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[248/262] Compiling SwiftSyntaxMacroExpansion MacroExpansionDiagnosticMessages.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[249/262] Compiling SwiftSyntaxMacroExpansion MacroExpansion.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[250/262] Compiling SwiftSyntaxMacroExpansion MacroArgument.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[251/262] Compiling SwiftSyntaxMacroExpansion MacroReplacement.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[252/262] Compiling SwiftSyntaxMacroExpansion MacroSystem.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[253/263] Wrapping AST for SwiftSyntaxMacroExpansion for debugging
[255/275] Compiling SwiftCompilerPluginMessageHandling PluginMessageCompatibility.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[256/275] Compiling SwiftCompilerPluginMessageHandling PluginMacroExpansionContext.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[257/275] Compiling SwiftCompilerPluginMessageHandling LRUCache.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[258/275] Compiling SwiftCompilerPluginMessageHandling Macros.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[259/275] Compiling SwiftCompilerPluginMessageHandling PluginMessages.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[260/276] Compiling SwiftCompilerPluginMessageHandling StandardIOMessageConnection.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[261/276] Compiling SwiftCompilerPluginMessageHandling CodingUtilities.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[262/276] Compiling SwiftCompilerPluginMessageHandling JSON.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[263/276] Compiling SwiftCompilerPluginMessageHandling CompilerPluginMessageHandler.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[264/276] Compiling SwiftCompilerPluginMessageHandling Diagnostics.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[265/276] Emitting module SwiftCompilerPluginMessageHandling
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[266/276] Compiling SwiftCompilerPluginMessageHandling JSONDecoding.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[267/276] Compiling SwiftCompilerPluginMessageHandling JSONEncoding.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[268/277] Wrapping AST for SwiftCompilerPluginMessageHandling for debugging
[270/279] Compiling SwiftCompilerPlugin CompilerPlugin.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[271/279] Emitting module SwiftCompilerPlugin
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[272/280] Wrapping AST for SwiftCompilerPlugin for debugging
[274/288] Compiling NetrofitMacros APIMacro.swift
[275/288] Compiling NetrofitMacros EmptyMacro.swift
[276/289] Compiling NetrofitMacros FunctionDecl+.swift
[277/289] Compiling NetrofitMacros PayloadFormat.swift
[278/289] Compiling NetrofitMacros AttributeDecl+.swift
[279/289] Emitting module NetrofitMacros
[280/289] Compiling NetrofitMacros String+.swift
[281/289] Compiling NetrofitMacros Plugin.swift
[282/289] Compiling NetrofitMacros MethodMacro.swift
[283/290] Wrapping AST for NetrofitMacros for debugging
[284/290] Write Objects.LinkFileList
[285/290] Linking NetrofitMacros-tool
error: emit-module command failed with exit code 1 (use -v to see invocation)
[287/310] Emitting module Netrofit
/host/spi-builder-workspace/Sources/Netrofit/HTTPBodyDecoder/JSONDecoder.swift:5:10: warning: associated value 'errorKeyPathValue' of 'Sendable'-conforming enum 'JSONDecoderError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
3 | public enum JSONDecoderError: Error {
4 | case errorKeyPath(String)
5 | case errorKeyPathValue(Any)
| `- warning: associated value 'errorKeyPathValue' of 'Sendable'-conforming enum 'JSONDecoderError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
6 | }
7 |
/host/spi-builder-workspace/Sources/Netrofit/NetrofitResponse.swift:9:25: error: cannot find type 'URLRequest' in scope
7 |
8 | public struct NetrofitResponse {
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:58: error: cannot find type 'URLSessionDataDelegate' in scope
12 | }
13 |
14 | final class _NetrofitSession: NSObject, NetrofitSession, 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, 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 var createdTasks = Set<_NetrofitTask>()
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, 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 var createdTasks = Set<_NetrofitTask>()
18 |
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:19:25: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 | private var createdTasks = Set<_NetrofitTask>()
18 |
19 | init(configuration: URLSessionConfiguration) {
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 | self.configuration = configuration
21 | 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:36:128: error: 'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
34 | }
35 |
36 | 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')
37 | if let _task = createdTasks.first(where: { $0.dataTask === dataTask }) {
38 | _task.urlResponse = response
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitSession.swift:36:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
34 | }
35 |
36 | 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.
37 | if let _task = createdTasks.first(where: { $0.dataTask === dataTask }) {
38 | _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:36:54: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
34 | }
35 |
36 | 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.
37 | if let _task = createdTasks.first(where: { $0.dataTask === dataTask }) {
38 | _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:36:95: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
34 | }
35 |
36 | 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.
37 | if let _task = createdTasks.first(where: { $0.dataTask === dataTask }) {
38 | _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:43:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
41 | }
42 |
43 | 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.
44 | if let _task = createdTasks.first(where: { $0.dataTask === dataTask }) {
45 | _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:43:54: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
41 | }
42 |
43 | 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.
44 | if let _task = createdTasks.first(where: { $0.dataTask === dataTask }) {
45 | _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:49:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
47 | }
48 |
49 | 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.
50 | if let _task = createdTasks.first(where: { $0.dataTask === task }) {
51 | _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:49:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
47 | }
48 |
49 | 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.
50 | if let _task = createdTasks.first(where: { $0.dataTask === task }) {
51 | _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:34:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 |
33 | let uuid = UUID()
34 | let urlSession: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
35 | let request: URLRequest
36 | 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:35:18: error: cannot find type 'URLRequest' in scope
33 | let uuid = UUID()
34 | let urlSession: URLSession
35 | let request: URLRequest
| `- error: cannot find type 'URLRequest' in scope
36 | let plugins: [NetrofitPlugin]
37 | var urlResponse: URLResponse?
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitTask.swift:37:22: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
35 | let request: URLRequest
36 | let plugins: [NetrofitPlugin]
37 | var urlResponse: URLResponse?
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
38 |
39 | 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:40:32: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
38 |
39 | private(set) var responseData = Data()
40 | private(set) var dataTask: URLSessionDataTask?
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
41 |
42 | 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:46:43: error: cannot find type 'URLRequest' in scope
44 | private var lineBuffer = Data() // Buffer for accumulating incomplete lines in SSE streaming
45 |
46 | init(urlSession: URLSession, request: URLRequest, plugins: [NetrofitPlugin]) {
| `- error: cannot find type 'URLRequest' in scope
47 | self.urlSession = urlSession
48 | self.request = request
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitTask.swift:46:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
44 | private var lineBuffer = Data() // Buffer for accumulating incomplete lines in SSE streaming
45 |
46 | 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.
47 | self.urlSession = urlSession
48 | 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
[288/312] Compiling Netrofit NetrofitSessionProtocols.swift
[289/312] Compiling Netrofit RequestBuilder.swift
[290/312] Compiling Netrofit AnyEncodable.swift
[291/312] Compiling Netrofit String+URLPathPart.swift
[292/312] Compiling Netrofit TextPlainEncoder.swift
[293/312] Compiling Netrofit URLEncodedFormEncoder.swift
[294/312] Compiling Netrofit NetrofitMacros.swift
[295/312] Compiling Netrofit HTTPBodyDecoder.swift
/host/spi-builder-workspace/Sources/Netrofit/HTTPBodyDecoder/JSONDecoder.swift:5:10: warning: associated value 'errorKeyPathValue' of 'Sendable'-conforming enum 'JSONDecoderError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
3 | public enum JSONDecoderError: Error {
4 | case errorKeyPath(String)
5 | case errorKeyPathValue(Any)
| `- warning: associated value 'errorKeyPathValue' of 'Sendable'-conforming enum 'JSONDecoderError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
6 | }
7 |
[296/312] Compiling Netrofit JSONDecoder.swift
/host/spi-builder-workspace/Sources/Netrofit/HTTPBodyDecoder/JSONDecoder.swift:5:10: warning: associated value 'errorKeyPathValue' of 'Sendable'-conforming enum 'JSONDecoderError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
3 | public enum JSONDecoderError: Error {
4 | case errorKeyPath(String)
5 | case errorKeyPathValue(Any)
| `- warning: associated value 'errorKeyPathValue' of 'Sendable'-conforming enum 'JSONDecoderError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
6 | }
7 |
[297/312] Compiling Netrofit TextPlainDecoder.swift
/host/spi-builder-workspace/Sources/Netrofit/HTTPBodyDecoder/JSONDecoder.swift:5:10: warning: associated value 'errorKeyPathValue' of 'Sendable'-conforming enum 'JSONDecoderError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
3 | public enum JSONDecoderError: Error {
4 | case errorKeyPath(String)
5 | case errorKeyPathValue(Any)
| `- warning: associated value 'errorKeyPathValue' of 'Sendable'-conforming enum 'JSONDecoderError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
6 | }
7 |
[298/312] Compiling Netrofit HTTPBodyEncoder.swift
[299/312] Compiling Netrofit JSONEncoder.swift
[300/312] Compiling Netrofit MultipartEncoder.swift
[301/312] Compiling Netrofit AttributeWrappers.swift
[302/312] Compiling Netrofit DynamicContentTypeDecoder.swift
[303/312] Compiling Netrofit EventStreamingDecoder.swift
[304/312] 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 {
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 | }
[305/312] 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 {
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 | }
[306/312] 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 {
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 | }
[307/312] 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:58: error: cannot find type 'URLSessionDataDelegate' in scope
12 | }
13 |
14 | final class _NetrofitSession: NSObject, NetrofitSession, 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, 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 var createdTasks = Set<_NetrofitTask>()
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, 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 var createdTasks = Set<_NetrofitTask>()
18 |
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:19:25: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 | private var createdTasks = Set<_NetrofitTask>()
18 |
19 | init(configuration: URLSessionConfiguration) {
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 | self.configuration = configuration
21 | 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:36:128: error: 'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
34 | }
35 |
36 | 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')
37 | if let _task = createdTasks.first(where: { $0.dataTask === dataTask }) {
38 | _task.urlResponse = response
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitSession.swift:36:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
34 | }
35 |
36 | 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.
37 | if let _task = createdTasks.first(where: { $0.dataTask === dataTask }) {
38 | _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:36:54: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
34 | }
35 |
36 | 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.
37 | if let _task = createdTasks.first(where: { $0.dataTask === dataTask }) {
38 | _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:36:95: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
34 | }
35 |
36 | 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.
37 | if let _task = createdTasks.first(where: { $0.dataTask === dataTask }) {
38 | _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:43:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
41 | }
42 |
43 | 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.
44 | if let _task = createdTasks.first(where: { $0.dataTask === dataTask }) {
45 | _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:43:54: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
41 | }
42 |
43 | 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.
44 | if let _task = createdTasks.first(where: { $0.dataTask === dataTask }) {
45 | _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:49:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
47 | }
48 |
49 | 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.
50 | if let _task = createdTasks.first(where: { $0.dataTask === task }) {
51 | _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:49:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
47 | }
48 |
49 | 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.
50 | if let _task = createdTasks.first(where: { $0.dataTask === task }) {
51 | _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:22:22: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
20 | self.configuration = configuration
21 | super.init()
22 | urlSession = URLSession(configuration: configuration, delegate: self, delegateQueue: nil)
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
23 | }
24 |
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitSession.swift:22:94: error: 'nil' requires a contextual type
20 | self.configuration = configuration
21 | super.init()
22 | urlSession = URLSession(configuration: configuration, delegate: self, delegateQueue: nil)
| `- error: 'nil' requires a contextual type
23 | }
24 |
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitSession.swift:26:23: error: cannot find 'URLRequest' in scope
24 |
25 | func createTask(method: String, url: URL, headers: [String: String]?, body: Data?, plugins: [NetrofitPlugin]) -> NetrofitTask {
26 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
27 | request.httpMethod = method
28 | request.httpBody = body
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitTask.swift:46:43: error: cannot find type 'URLRequest' in scope
44 | private var lineBuffer = Data() // Buffer for accumulating incomplete lines in SSE streaming
45 |
46 | init(urlSession: URLSession, request: URLRequest, plugins: [NetrofitPlugin]) {
| `- error: cannot find type 'URLRequest' in scope
47 | self.urlSession = urlSession
48 | self.request = request
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitTask.swift:34:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 |
33 | let uuid = UUID()
34 | let urlSession: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
35 | let request: URLRequest
36 | 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:35:18: error: cannot find type 'URLRequest' in scope
33 | let uuid = UUID()
34 | let urlSession: URLSession
35 | let request: URLRequest
| `- error: cannot find type 'URLRequest' in scope
36 | let plugins: [NetrofitPlugin]
37 | var urlResponse: URLResponse?
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitTask.swift:37:22: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
35 | let request: URLRequest
36 | let plugins: [NetrofitPlugin]
37 | var urlResponse: URLResponse?
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
38 |
39 | 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:40:32: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
38 |
39 | private(set) var responseData = Data()
40 | private(set) var dataTask: URLSessionDataTask?
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
41 |
42 | 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:46:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
44 | private var lineBuffer = Data() // Buffer for accumulating incomplete lines in SSE streaming
45 |
46 | 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.
47 | self.urlSession = urlSession
48 | 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:54:31: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
52 | func resume() {
53 | guard dataTask == nil else { return }
54 | let task = urlSession.dataTask(with: request)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
55 | task.resume()
56 | dataTask = task
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitTask.swift:84:16: error: type of expression is ambiguous without a type annotation
82 | let decoder = builder.decoder
83 | let deocdeKeyPath = builder.responseKeyPath
84 | return AsyncStream<T> { continuation in
| `- error: type of expression is ambiguous without a type annotation
85 | let wrapper = StreamWrapper(
86 | decoder: decoder,
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitTask.swift:115:16: error: type of expression is ambiguous without a type annotation
113 | let decoder = builder.decoder
114 | let deocdeKeyPath = builder.responseKeyPath
115 | return AsyncThrowingStream(T.self) { continuation in
| `- error: type of expression is ambiguous without a type annotation
116 | let wrapper = ThrowingStreamWrapper(
117 | decoder: decoder,
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitTask.swift:197:40: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
195 | dataTask = nil
196 |
197 | let httpResponse = urlResponse as? HTTPURLResponse
| `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
198 | let headers = httpResponse?.allHeaderFields.compactMap { key, value -> (String, String)? in
199 | guard let k = key as? String,
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitTask.swift:197:44: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
195 | dataTask = nil
196 |
197 | let httpResponse = urlResponse as? HTTPURLResponse
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
198 | let headers = httpResponse?.allHeaderFields.compactMap { key, value -> (String, String)? in
199 | 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:198:37: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
196 |
197 | let httpResponse = urlResponse as? HTTPURLResponse
198 | let headers = httpResponse?.allHeaderFields.compactMap { key, value -> (String, String)? in
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
199 | guard let k = key as? String,
200 | 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:211:45: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
209 | response.body = responseData
210 | response.headers = headers
211 | response.statusCode = httpResponse?.statusCode
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
212 |
213 | for plugin in plugins {
[308/312] 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:58: error: cannot find type 'URLSessionDataDelegate' in scope
12 | }
13 |
14 | final class _NetrofitSession: NSObject, NetrofitSession, 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, 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 var createdTasks = Set<_NetrofitTask>()
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, 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 var createdTasks = Set<_NetrofitTask>()
18 |
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:19:25: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 | private var createdTasks = Set<_NetrofitTask>()
18 |
19 | init(configuration: URLSessionConfiguration) {
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 | self.configuration = configuration
21 | 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:36:128: error: 'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
34 | }
35 |
36 | 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')
37 | if let _task = createdTasks.first(where: { $0.dataTask === dataTask }) {
38 | _task.urlResponse = response
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitSession.swift:36:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
34 | }
35 |
36 | 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.
37 | if let _task = createdTasks.first(where: { $0.dataTask === dataTask }) {
38 | _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:36:54: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
34 | }
35 |
36 | 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.
37 | if let _task = createdTasks.first(where: { $0.dataTask === dataTask }) {
38 | _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:36:95: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
34 | }
35 |
36 | 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.
37 | if let _task = createdTasks.first(where: { $0.dataTask === dataTask }) {
38 | _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:43:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
41 | }
42 |
43 | 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.
44 | if let _task = createdTasks.first(where: { $0.dataTask === dataTask }) {
45 | _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:43:54: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
41 | }
42 |
43 | 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.
44 | if let _task = createdTasks.first(where: { $0.dataTask === dataTask }) {
45 | _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:49:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
47 | }
48 |
49 | 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.
50 | if let _task = createdTasks.first(where: { $0.dataTask === task }) {
51 | _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:49:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
47 | }
48 |
49 | 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.
50 | if let _task = createdTasks.first(where: { $0.dataTask === task }) {
51 | _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:22:22: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
20 | self.configuration = configuration
21 | super.init()
22 | urlSession = URLSession(configuration: configuration, delegate: self, delegateQueue: nil)
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
23 | }
24 |
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitSession.swift:22:94: error: 'nil' requires a contextual type
20 | self.configuration = configuration
21 | super.init()
22 | urlSession = URLSession(configuration: configuration, delegate: self, delegateQueue: nil)
| `- error: 'nil' requires a contextual type
23 | }
24 |
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitSession.swift:26:23: error: cannot find 'URLRequest' in scope
24 |
25 | func createTask(method: String, url: URL, headers: [String: String]?, body: Data?, plugins: [NetrofitPlugin]) -> NetrofitTask {
26 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
27 | request.httpMethod = method
28 | request.httpBody = body
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitTask.swift:46:43: error: cannot find type 'URLRequest' in scope
44 | private var lineBuffer = Data() // Buffer for accumulating incomplete lines in SSE streaming
45 |
46 | init(urlSession: URLSession, request: URLRequest, plugins: [NetrofitPlugin]) {
| `- error: cannot find type 'URLRequest' in scope
47 | self.urlSession = urlSession
48 | self.request = request
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitTask.swift:34:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 |
33 | let uuid = UUID()
34 | let urlSession: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
35 | let request: URLRequest
36 | 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:35:18: error: cannot find type 'URLRequest' in scope
33 | let uuid = UUID()
34 | let urlSession: URLSession
35 | let request: URLRequest
| `- error: cannot find type 'URLRequest' in scope
36 | let plugins: [NetrofitPlugin]
37 | var urlResponse: URLResponse?
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitTask.swift:37:22: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
35 | let request: URLRequest
36 | let plugins: [NetrofitPlugin]
37 | var urlResponse: URLResponse?
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
38 |
39 | 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:40:32: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
38 |
39 | private(set) var responseData = Data()
40 | private(set) var dataTask: URLSessionDataTask?
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
41 |
42 | 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:46:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
44 | private var lineBuffer = Data() // Buffer for accumulating incomplete lines in SSE streaming
45 |
46 | 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.
47 | self.urlSession = urlSession
48 | 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:54:31: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
52 | func resume() {
53 | guard dataTask == nil else { return }
54 | let task = urlSession.dataTask(with: request)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
55 | task.resume()
56 | dataTask = task
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitTask.swift:84:16: error: type of expression is ambiguous without a type annotation
82 | let decoder = builder.decoder
83 | let deocdeKeyPath = builder.responseKeyPath
84 | return AsyncStream<T> { continuation in
| `- error: type of expression is ambiguous without a type annotation
85 | let wrapper = StreamWrapper(
86 | decoder: decoder,
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitTask.swift:115:16: error: type of expression is ambiguous without a type annotation
113 | let decoder = builder.decoder
114 | let deocdeKeyPath = builder.responseKeyPath
115 | return AsyncThrowingStream(T.self) { continuation in
| `- error: type of expression is ambiguous without a type annotation
116 | let wrapper = ThrowingStreamWrapper(
117 | decoder: decoder,
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitTask.swift:197:40: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
195 | dataTask = nil
196 |
197 | let httpResponse = urlResponse as? HTTPURLResponse
| `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
198 | let headers = httpResponse?.allHeaderFields.compactMap { key, value -> (String, String)? in
199 | guard let k = key as? String,
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitTask.swift:197:44: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
195 | dataTask = nil
196 |
197 | let httpResponse = urlResponse as? HTTPURLResponse
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
198 | let headers = httpResponse?.allHeaderFields.compactMap { key, value -> (String, String)? in
199 | 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:198:37: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
196 |
197 | let httpResponse = urlResponse as? HTTPURLResponse
198 | let headers = httpResponse?.allHeaderFields.compactMap { key, value -> (String, String)? in
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
199 | guard let k = key as? String,
200 | 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:211:45: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
209 | response.body = responseData
210 | response.headers = headers
211 | response.statusCode = httpResponse?.statusCode
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
212 |
213 | for plugin in plugins {
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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:496d77b037d0552dd779110e0d7093275ebb8376a63c7a364a5a4acca11a4ff5
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/22] Write swift-version-24593BA9C3E375BF.txt
[2/28] Emitting module SwiftSyntax509
[3/28] Compiling SwiftSyntax509 Empty.swift
[4/29] Compiling SwiftSyntax510 Empty.swift
[6/28] Emitting module SwiftSyntax600
[7/28] Emitting module SwiftSyntax510
[8/29] Compiling SwiftSyntax600 Empty.swift
[11/92] Compiling SwiftSyntax AbsolutePosition.swift
[12/92] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[13/92] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[14/92] Compiling SwiftSyntax Assert.swift
[15/92] Compiling SwiftSyntax BumpPtrAllocator.swift
[16/92] Compiling SwiftSyntax CommonAncestor.swift
[17/92] Compiling SwiftSyntax Convenience.swift
[18/92] Compiling SwiftSyntax CustomTraits.swift
[19/92] Compiling SwiftSyntax Identifier.swift
[20/100] Emitting module SwiftSyntax
[21/100] Compiling SwiftSyntax SyntaxKind.swift
[22/100] Compiling SwiftSyntax SyntaxRewriter.swift
[23/100] Compiling SwiftSyntax SyntaxTraits.swift
[24/100] Compiling SwiftSyntax SyntaxVisitor.swift
[25/100] Compiling SwiftSyntax TokenKind.swift
[26/100] Compiling SwiftSyntax Tokens.swift
[27/100] Compiling SwiftSyntax TriviaPieces.swift
[28/100] Compiling SwiftSyntax RawSyntaxNodesAB.swift
[29/100] Compiling SwiftSyntax RawSyntaxNodesC.swift
[30/100] Compiling SwiftSyntax SourcePresence.swift
[31/100] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[32/100] Compiling SwiftSyntax Syntax.swift
[33/100] Compiling SwiftSyntax SyntaxArena.swift
[34/100] Compiling SwiftSyntax SyntaxArenaAllocatedBuffer.swift
[35/100] Compiling SwiftSyntax SyntaxChildren.swift
[36/100] Compiling SwiftSyntax SyntaxCollection.swift
[37/100] Compiling SwiftSyntax SyntaxHashable.swift
[38/100] Compiling SwiftSyntax SyntaxIdentifier.swift
[39/100] Compiling SwiftSyntax MemoryLayout.swift
[40/100] Compiling SwiftSyntax MissingNodeInitializers.swift
[41/100] Compiling SwiftSyntax RawSyntax.swift
[42/100] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[43/100] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[44/100] Compiling SwiftSyntax RawSyntaxTokenView.swift
[45/100] Compiling SwiftSyntax SourceEdit.swift
[46/100] Compiling SwiftSyntax SourceLength.swift
[47/100] Compiling SwiftSyntax SourceLocation.swift
[48/100] Compiling SwiftSyntax SyntaxNodeFactory.swift
[49/100] Compiling SwiftSyntax SyntaxNodeStructure.swift
[50/100] Compiling SwiftSyntax SyntaxProtocol.swift
[51/100] Compiling SwiftSyntax SyntaxText.swift
[52/100] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[53/100] Compiling SwiftSyntax TokenDiagnostic.swift
[54/100] Compiling SwiftSyntax TokenSequence.swift
[55/100] Compiling SwiftSyntax TokenSyntax.swift
[56/100] Compiling SwiftSyntax Trivia.swift
[57/100] Compiling SwiftSyntax RawSyntaxNodesD.swift
[58/100] Compiling SwiftSyntax RawSyntaxNodesEF.swift
[59/100] Compiling SwiftSyntax RawSyntaxNodesGHI.swift
[60/100] Compiling SwiftSyntax RawSyntaxNodesJKLMN.swift
[61/100] Compiling SwiftSyntax RawSyntaxNodesOP.swift
[62/100] Compiling SwiftSyntax RawSyntaxNodesQRS.swift
[63/100] Compiling SwiftSyntax RawSyntaxNodesTUVWXYZ.swift
[64/100] Compiling SwiftSyntax RawSyntaxValidation.swift
[65/100] Compiling SwiftSyntax SyntaxNodesAB.swift
[66/100] Compiling SwiftSyntax Utils.swift
[67/100] Compiling SwiftSyntax ChildNameForKeyPath.swift
[68/100] Compiling SwiftSyntax Keyword.swift
[69/100] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[70/100] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[71/100] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[72/100] Compiling SwiftSyntax SyntaxBaseNodes.swift
[73/100] Compiling SwiftSyntax SyntaxCollections.swift
[74/100] Compiling SwiftSyntax SyntaxEnum.swift
[75/100] Compiling SwiftSyntax SyntaxNodesC.swift
[76/100] Compiling SwiftSyntax SyntaxNodesD.swift
[77/100] Compiling SwiftSyntax SyntaxNodesEF.swift
[78/100] Compiling SwiftSyntax SyntaxNodesGHI.swift
[79/100] Compiling SwiftSyntax SyntaxNodesJKLMN.swift
[80/100] Compiling SwiftSyntax SyntaxNodesOP.swift
[81/100] Compiling SwiftSyntax SyntaxNodesQRS.swift
[82/100] Compiling SwiftSyntax SyntaxNodesTUVWXYZ.swift
[84/157] Compiling SwiftDiagnostics Message.swift
[85/158] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[86/158] Compiling SwiftBasicFormat Syntax+Extensions.swift
[87/158] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[88/158] Compiling SwiftDiagnostics Note.swift
[89/158] Compiling SwiftBasicFormat InferIndentation.swift
[90/158] Compiling SwiftDiagnostics FixIt.swift
[91/158] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[92/158] Compiling SwiftDiagnostics DiagnosticDecorator.swift
[93/158] Compiling SwiftParser ExpressionInterpretedAsVersionTuple.swift
[94/158] Compiling SwiftParser Expressions.swift
[95/158] Compiling SwiftParser IncrementalParseTransition.swift
[96/158] Compiling SwiftParser IsValidIdentifier.swift
[97/158] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[98/158] Emitting module SwiftDiagnostics
[100/158] Emitting module SwiftBasicFormat
[101/158] Compiling SwiftBasicFormat BasicFormat.swift
[103/158] Compiling SwiftParser LexemeSequence.swift
[104/158] Compiling SwiftParser Lexer.swift
[105/158] Compiling SwiftParser RegexLiteralLexer.swift
[106/158] Compiling SwiftParser UnicodeScalarExtensions.swift
[107/158] Compiling SwiftParser Lookahead.swift
[108/158] Compiling SwiftParser LoopProgressCondition.swift
[109/158] Compiling SwiftParser Modifiers.swift
[110/158] Compiling SwiftParser Names.swift
[111/158] Compiling SwiftParser Nominals.swift
[112/158] Compiling SwiftParser Parameters.swift
[113/158] Compiling SwiftParser ParseSourceFile.swift
[114/158] Compiling SwiftParser Parser.swift
[115/163] Compiling SwiftParser SwiftParserCompatibility.swift
[116/163] Compiling SwiftParser SwiftVersion.swift
[117/163] Compiling SwiftParser SyntaxUtils.swift
[118/163] Compiling SwiftParser TokenConsumer.swift
[119/163] Compiling SwiftParser TokenPrecedence.swift
[120/163] Compiling SwiftParser TokenSpec.swift
[121/163] Compiling SwiftParser TokenSpecSet.swift
[122/163] Compiling SwiftParser TopLevel.swift
[123/163] Compiling SwiftParser TriviaParser.swift
[124/163] Compiling SwiftParser Types.swift
[125/163] Compiling SwiftParser Patterns.swift
[126/163] Compiling SwiftParser Recovery.swift
[127/163] Compiling SwiftParser Specifiers.swift
[128/163] Compiling SwiftParser Statements.swift
[129/163] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[130/163] Compiling SwiftParser StringLiterals.swift
[131/163] Emitting module SwiftParser
[132/163] Compiling SwiftParser Attributes.swift
[133/163] Compiling SwiftParser Availability.swift
[134/163] Compiling SwiftParser CharacterInfo.swift
[135/163] Compiling SwiftParser CollectionNodes+Parsable.swift
[136/163] Compiling SwiftParser Declarations.swift
[137/163] Compiling SwiftParser Directives.swift
[142/163] Compiling SwiftParser Cursor.swift
[143/163] Compiling SwiftParser Lexeme.swift
[144/163] Compiling SwiftParser ExperimentalFeatures.swift
[145/163] Compiling SwiftParser IsLexerClassified.swift
[146/163] Compiling SwiftParser LayoutNodes+Parsable.swift
[147/163] Compiling SwiftParser Parser+TokenSpecSet.swift
[148/163] Compiling SwiftParser TokenSpecStaticMembers.swift
[150/186] Compiling SwiftOperators PrecedenceGroup.swift
[151/187] Emitting module SwiftOperators
[152/187] Compiling SwiftOperators Operator.swift
[153/187] Compiling SwiftOperators OperatorError+Diagnostics.swift
[154/187] Compiling SwiftOperators PrecedenceGraph.swift
[155/187] Compiling SwiftOperators OperatorTable.swift
[156/187] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[157/187] Compiling SwiftParserDiagnostics Utils.swift
[158/188] Compiling SwiftOperators SyntaxSynthesis.swift
[159/188] Compiling SwiftOperators OperatorTable+Semantics.swift
[160/188] Compiling SwiftOperators OperatorTable+Folding.swift
[161/188] Compiling SwiftOperators OperatorError.swift
[162/188] Compiling SwiftOperators OperatorTable+Defaults.swift
[163/189] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[165/188] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[166/188] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[171/188] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[172/188] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[173/188] Emitting module SwiftParserDiagnostics
[174/188] Compiling SwiftParserDiagnostics DiagnosticExtensions.swift
[175/188] Compiling SwiftParserDiagnostics LexerDiagnosticMessages.swift
[177/203] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[178/203] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[179/204] Compiling SwiftSyntaxBuilder Indenter.swift
[180/204] Compiling SwiftSyntaxBuilder ListBuilder.swift
[181/204] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[182/204] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[183/204] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[184/204] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[185/204] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[186/204] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[187/204] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[188/204] Emitting module SwiftSyntaxBuilder
[189/204] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[190/204] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[191/204] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[192/204] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[194/221] Compiling SwiftSyntaxMacros ExpressionMacro.swift
[195/221] Compiling SwiftSyntaxMacros ExtensionMacro.swift
[196/221] Compiling SwiftSyntaxMacros MemberMacro.swift
[197/221] Compiling SwiftSyntaxMacros PeerMacro.swift
[198/221] Compiling SwiftSyntaxMacros CodeItemMacro.swift
[199/221] Compiling SwiftSyntaxMacros DeclarationMacro.swift
[200/221] Compiling SwiftSyntaxMacros Macro.swift
[201/221] Compiling SwiftSyntaxMacros MemberAttributeMacro.swift
[202/221] Compiling SwiftSyntaxMacros AccessorMacro.swift
[203/221] Compiling SwiftSyntaxMacros AttachedMacro.swift
[204/221] Compiling SwiftSyntaxMacros BodyMacro.swift
[205/221] Compiling SwiftSyntaxMacros FreestandingMacro.swift
[206/221] Compiling SwiftSyntaxMacros Macro+Format.swift
[207/221] Emitting module SwiftSyntaxMacros
[208/223] Compiling SwiftSyntaxMacros AbstractSourceLocation.swift
[209/223] Compiling SwiftSyntaxMacros MacroExpansionContext.swift
[210/223] Compiling SwiftSyntaxMacros MacroExpansionDiagnosticMessages.swift
[211/223] Compiling SwiftSyntaxMacros PreambleMacro.swift
[212/223] Compiling SwiftSyntaxMacros Syntax+LexicalContext.swift
[214/232] Compiling SwiftSyntaxMacroExpansion MacroExpansionDiagnosticMessages.swift
[215/233] Compiling SwiftSyntaxMacroExpansion MacroSpec.swift
[216/233] Compiling SwiftSyntaxMacroExpansion BasicMacroExpansionContext.swift
[217/233] Compiling SwiftSyntaxMacroExpansion FunctionParameterUtils.swift
[218/233] Emitting module SwiftSyntaxMacroExpansion
[219/233] Compiling SwiftSyntaxMacroExpansion MacroArgument.swift
[220/233] Compiling SwiftSyntaxMacroExpansion IndentationUtils.swift
[221/233] Compiling SwiftSyntaxMacroExpansion MacroExpansion.swift
[222/233] Compiling SwiftSyntaxMacroExpansion MacroReplacement.swift
[223/233] Compiling SwiftSyntaxMacroExpansion MacroSystem.swift
[225/245] Compiling SwiftCompilerPluginMessageHandling PluginMessageCompatibility.swift
[226/246] Compiling SwiftCompilerPluginMessageHandling CompilerPluginMessageHandler.swift
[227/246] Compiling SwiftCompilerPluginMessageHandling Diagnostics.swift
[228/246] Compiling SwiftCompilerPluginMessageHandling LRUCache.swift
[229/246] Compiling SwiftCompilerPluginMessageHandling Macros.swift
[230/246] Emitting module SwiftCompilerPluginMessageHandling
[231/246] Compiling SwiftCompilerPluginMessageHandling StandardIOMessageConnection.swift
[232/246] Compiling SwiftCompilerPluginMessageHandling PluginMacroExpansionContext.swift
[233/246] Compiling SwiftCompilerPluginMessageHandling PluginMessages.swift
[234/246] Compiling SwiftCompilerPluginMessageHandling CodingUtilities.swift
[235/246] Compiling SwiftCompilerPluginMessageHandling JSON.swift
[236/246] Compiling SwiftCompilerPluginMessageHandling JSONDecoding.swift
[237/246] Compiling SwiftCompilerPluginMessageHandling JSONEncoding.swift
[239/248] Compiling SwiftCompilerPlugin CompilerPlugin.swift
[240/248] Emitting module SwiftCompilerPlugin
[242/256] Compiling NetrofitMacros PayloadFormat.swift
[243/256] Compiling NetrofitMacros FunctionDecl+.swift
[244/256] Compiling NetrofitMacros AttributeDecl+.swift
[245/257] Compiling NetrofitMacros String+.swift
[246/257] Compiling NetrofitMacros EmptyMacro.swift
[247/257] Compiling NetrofitMacros Plugin.swift
[248/257] Emitting module NetrofitMacros
[249/257] Compiling NetrofitMacros APIMacro.swift
[250/257] Compiling NetrofitMacros MethodMacro.swift
[251/258] Wrapping AST for NetrofitMacros for debugging
[252/258] Write Objects.LinkFileList
[253/258] Linking NetrofitMacros-tool
[255/278] Compiling Netrofit AnyEncodable.swift
[256/278] Compiling Netrofit String+URLPathPart.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[257/280] 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 {
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:58: error: cannot find type 'URLSessionDataDelegate' in scope
12 | }
13 |
14 | final class _NetrofitSession: NSObject, NetrofitSession, 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, 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 var createdTasks = Set<_NetrofitTask>()
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, 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 var createdTasks = Set<_NetrofitTask>()
18 |
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:19:25: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 | private var createdTasks = Set<_NetrofitTask>()
18 |
19 | init(configuration: URLSessionConfiguration) {
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 | self.configuration = configuration
21 | 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:36:128: error: 'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
34 | }
35 |
36 | 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')
37 | if let _task = createdTasks.first(where: { $0.dataTask === dataTask }) {
38 | _task.urlResponse = response
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitSession.swift:36:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
34 | }
35 |
36 | 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.
37 | if let _task = createdTasks.first(where: { $0.dataTask === dataTask }) {
38 | _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:36:54: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
34 | }
35 |
36 | 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.
37 | if let _task = createdTasks.first(where: { $0.dataTask === dataTask }) {
38 | _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:36:95: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
34 | }
35 |
36 | 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.
37 | if let _task = createdTasks.first(where: { $0.dataTask === dataTask }) {
38 | _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:43:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
41 | }
42 |
43 | 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.
44 | if let _task = createdTasks.first(where: { $0.dataTask === dataTask }) {
45 | _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:43:54: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
41 | }
42 |
43 | 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.
44 | if let _task = createdTasks.first(where: { $0.dataTask === dataTask }) {
45 | _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:49:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
47 | }
48 |
49 | 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.
50 | if let _task = createdTasks.first(where: { $0.dataTask === task }) {
51 | _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:49:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
47 | }
48 |
49 | 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.
50 | if let _task = createdTasks.first(where: { $0.dataTask === task }) {
51 | _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:34:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 |
33 | let uuid = UUID()
34 | let urlSession: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
35 | let request: URLRequest
36 | 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:35:18: error: cannot find type 'URLRequest' in scope
33 | let uuid = UUID()
34 | let urlSession: URLSession
35 | let request: URLRequest
| `- error: cannot find type 'URLRequest' in scope
36 | let plugins: [NetrofitPlugin]
37 | var urlResponse: URLResponse?
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitTask.swift:37:22: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
35 | let request: URLRequest
36 | let plugins: [NetrofitPlugin]
37 | var urlResponse: URLResponse?
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
38 |
39 | 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:40:32: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
38 |
39 | private(set) var responseData = Data()
40 | private(set) var dataTask: URLSessionDataTask?
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
41 |
42 | 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:46:43: error: cannot find type 'URLRequest' in scope
44 | private var lineBuffer = Data() // Buffer for accumulating incomplete lines in SSE streaming
45 |
46 | init(urlSession: URLSession, request: URLRequest, plugins: [NetrofitPlugin]) {
| `- error: cannot find type 'URLRequest' in scope
47 | self.urlSession = urlSession
48 | self.request = request
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitTask.swift:46:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
44 | private var lineBuffer = Data() // Buffer for accumulating incomplete lines in SSE streaming
45 |
46 | 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.
47 | self.urlSession = urlSession
48 | 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
[258/280] 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:58: error: cannot find type 'URLSessionDataDelegate' in scope
12 | }
13 |
14 | final class _NetrofitSession: NSObject, NetrofitSession, 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, 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 var createdTasks = Set<_NetrofitTask>()
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, 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 var createdTasks = Set<_NetrofitTask>()
18 |
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:19:25: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 | private var createdTasks = Set<_NetrofitTask>()
18 |
19 | init(configuration: URLSessionConfiguration) {
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 | self.configuration = configuration
21 | 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:36:128: error: 'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
34 | }
35 |
36 | 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')
37 | if let _task = createdTasks.first(where: { $0.dataTask === dataTask }) {
38 | _task.urlResponse = response
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitSession.swift:36:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
34 | }
35 |
36 | 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.
37 | if let _task = createdTasks.first(where: { $0.dataTask === dataTask }) {
38 | _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:36:54: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
34 | }
35 |
36 | 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.
37 | if let _task = createdTasks.first(where: { $0.dataTask === dataTask }) {
38 | _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:36:95: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
34 | }
35 |
36 | 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.
37 | if let _task = createdTasks.first(where: { $0.dataTask === dataTask }) {
38 | _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:43:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
41 | }
42 |
43 | 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.
44 | if let _task = createdTasks.first(where: { $0.dataTask === dataTask }) {
45 | _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:43:54: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
41 | }
42 |
43 | 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.
44 | if let _task = createdTasks.first(where: { $0.dataTask === dataTask }) {
45 | _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:49:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
47 | }
48 |
49 | 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.
50 | if let _task = createdTasks.first(where: { $0.dataTask === task }) {
51 | _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:49:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
47 | }
48 |
49 | 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.
50 | if let _task = createdTasks.first(where: { $0.dataTask === task }) {
51 | _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:22:22: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
20 | self.configuration = configuration
21 | super.init()
22 | urlSession = URLSession(configuration: configuration, delegate: self, delegateQueue: nil)
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
23 | }
24 |
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitSession.swift:22:94: error: 'nil' requires a contextual type
20 | self.configuration = configuration
21 | super.init()
22 | urlSession = URLSession(configuration: configuration, delegate: self, delegateQueue: nil)
| `- error: 'nil' requires a contextual type
23 | }
24 |
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitSession.swift:26:23: error: cannot find 'URLRequest' in scope
24 |
25 | func createTask(method: String, url: URL, headers: [String: String]?, body: Data?, plugins: [NetrofitPlugin]) -> NetrofitTask {
26 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
27 | request.httpMethod = method
28 | request.httpBody = body
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitTask.swift:46:43: error: cannot find type 'URLRequest' in scope
44 | private var lineBuffer = Data() // Buffer for accumulating incomplete lines in SSE streaming
45 |
46 | init(urlSession: URLSession, request: URLRequest, plugins: [NetrofitPlugin]) {
| `- error: cannot find type 'URLRequest' in scope
47 | self.urlSession = urlSession
48 | self.request = request
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitTask.swift:34:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 |
33 | let uuid = UUID()
34 | let urlSession: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
35 | let request: URLRequest
36 | 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:35:18: error: cannot find type 'URLRequest' in scope
33 | let uuid = UUID()
34 | let urlSession: URLSession
35 | let request: URLRequest
| `- error: cannot find type 'URLRequest' in scope
36 | let plugins: [NetrofitPlugin]
37 | var urlResponse: URLResponse?
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitTask.swift:37:22: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
35 | let request: URLRequest
36 | let plugins: [NetrofitPlugin]
37 | var urlResponse: URLResponse?
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
38 |
39 | 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:40:32: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
38 |
39 | private(set) var responseData = Data()
40 | private(set) var dataTask: URLSessionDataTask?
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
41 |
42 | 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:46:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
44 | private var lineBuffer = Data() // Buffer for accumulating incomplete lines in SSE streaming
45 |
46 | 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.
47 | self.urlSession = urlSession
48 | 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:54:31: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
52 | func resume() {
53 | guard dataTask == nil else { return }
54 | let task = urlSession.dataTask(with: request)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
55 | task.resume()
56 | dataTask = task
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitTask.swift:84:16: error: type of expression is ambiguous without a type annotation
82 | let decoder = builder.decoder
83 | let deocdeKeyPath = builder.responseKeyPath
84 | return AsyncStream<T> { continuation in
| `- error: type of expression is ambiguous without a type annotation
85 | let wrapper = StreamWrapper(
86 | decoder: decoder,
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitTask.swift:115:16: error: type of expression is ambiguous without a type annotation
113 | let decoder = builder.decoder
114 | let deocdeKeyPath = builder.responseKeyPath
115 | return AsyncThrowingStream(T.self) { continuation in
| `- error: type of expression is ambiguous without a type annotation
116 | let wrapper = ThrowingStreamWrapper(
117 | decoder: decoder,
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitTask.swift:197:40: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
195 | dataTask = nil
196 |
197 | let httpResponse = urlResponse as? HTTPURLResponse
| `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
198 | let headers = httpResponse?.allHeaderFields.compactMap { key, value -> (String, String)? in
199 | guard let k = key as? String,
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitTask.swift:197:44: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
195 | dataTask = nil
196 |
197 | let httpResponse = urlResponse as? HTTPURLResponse
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
198 | let headers = httpResponse?.allHeaderFields.compactMap { key, value -> (String, String)? in
199 | 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:198:37: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
196 |
197 | let httpResponse = urlResponse as? HTTPURLResponse
198 | let headers = httpResponse?.allHeaderFields.compactMap { key, value -> (String, String)? in
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
199 | guard let k = key as? String,
200 | 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:211:45: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
209 | response.body = responseData
210 | response.headers = headers
211 | response.statusCode = httpResponse?.statusCode
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
212 |
213 | for plugin in plugins {
[259/280] 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:58: error: cannot find type 'URLSessionDataDelegate' in scope
12 | }
13 |
14 | final class _NetrofitSession: NSObject, NetrofitSession, 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, 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 var createdTasks = Set<_NetrofitTask>()
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, 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 var createdTasks = Set<_NetrofitTask>()
18 |
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:19:25: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 | private var createdTasks = Set<_NetrofitTask>()
18 |
19 | init(configuration: URLSessionConfiguration) {
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 | self.configuration = configuration
21 | 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:36:128: error: 'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
34 | }
35 |
36 | 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')
37 | if let _task = createdTasks.first(where: { $0.dataTask === dataTask }) {
38 | _task.urlResponse = response
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitSession.swift:36:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
34 | }
35 |
36 | 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.
37 | if let _task = createdTasks.first(where: { $0.dataTask === dataTask }) {
38 | _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:36:54: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
34 | }
35 |
36 | 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.
37 | if let _task = createdTasks.first(where: { $0.dataTask === dataTask }) {
38 | _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:36:95: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
34 | }
35 |
36 | 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.
37 | if let _task = createdTasks.first(where: { $0.dataTask === dataTask }) {
38 | _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:43:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
41 | }
42 |
43 | 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.
44 | if let _task = createdTasks.first(where: { $0.dataTask === dataTask }) {
45 | _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:43:54: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
41 | }
42 |
43 | 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.
44 | if let _task = createdTasks.first(where: { $0.dataTask === dataTask }) {
45 | _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:49:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
47 | }
48 |
49 | 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.
50 | if let _task = createdTasks.first(where: { $0.dataTask === task }) {
51 | _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:49:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
47 | }
48 |
49 | 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.
50 | if let _task = createdTasks.first(where: { $0.dataTask === task }) {
51 | _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:22:22: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
20 | self.configuration = configuration
21 | super.init()
22 | urlSession = URLSession(configuration: configuration, delegate: self, delegateQueue: nil)
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
23 | }
24 |
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitSession.swift:22:94: error: 'nil' requires a contextual type
20 | self.configuration = configuration
21 | super.init()
22 | urlSession = URLSession(configuration: configuration, delegate: self, delegateQueue: nil)
| `- error: 'nil' requires a contextual type
23 | }
24 |
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitSession.swift:26:23: error: cannot find 'URLRequest' in scope
24 |
25 | func createTask(method: String, url: URL, headers: [String: String]?, body: Data?, plugins: [NetrofitPlugin]) -> NetrofitTask {
26 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
27 | request.httpMethod = method
28 | request.httpBody = body
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitTask.swift:46:43: error: cannot find type 'URLRequest' in scope
44 | private var lineBuffer = Data() // Buffer for accumulating incomplete lines in SSE streaming
45 |
46 | init(urlSession: URLSession, request: URLRequest, plugins: [NetrofitPlugin]) {
| `- error: cannot find type 'URLRequest' in scope
47 | self.urlSession = urlSession
48 | self.request = request
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitTask.swift:34:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 |
33 | let uuid = UUID()
34 | let urlSession: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
35 | let request: URLRequest
36 | 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:35:18: error: cannot find type 'URLRequest' in scope
33 | let uuid = UUID()
34 | let urlSession: URLSession
35 | let request: URLRequest
| `- error: cannot find type 'URLRequest' in scope
36 | let plugins: [NetrofitPlugin]
37 | var urlResponse: URLResponse?
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitTask.swift:37:22: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
35 | let request: URLRequest
36 | let plugins: [NetrofitPlugin]
37 | var urlResponse: URLResponse?
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
38 |
39 | 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:40:32: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
38 |
39 | private(set) var responseData = Data()
40 | private(set) var dataTask: URLSessionDataTask?
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
41 |
42 | 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:46:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
44 | private var lineBuffer = Data() // Buffer for accumulating incomplete lines in SSE streaming
45 |
46 | 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.
47 | self.urlSession = urlSession
48 | 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:54:31: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
52 | func resume() {
53 | guard dataTask == nil else { return }
54 | let task = urlSession.dataTask(with: request)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
55 | task.resume()
56 | dataTask = task
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitTask.swift:84:16: error: type of expression is ambiguous without a type annotation
82 | let decoder = builder.decoder
83 | let deocdeKeyPath = builder.responseKeyPath
84 | return AsyncStream<T> { continuation in
| `- error: type of expression is ambiguous without a type annotation
85 | let wrapper = StreamWrapper(
86 | decoder: decoder,
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitTask.swift:115:16: error: type of expression is ambiguous without a type annotation
113 | let decoder = builder.decoder
114 | let deocdeKeyPath = builder.responseKeyPath
115 | return AsyncThrowingStream(T.self) { continuation in
| `- error: type of expression is ambiguous without a type annotation
116 | let wrapper = ThrowingStreamWrapper(
117 | decoder: decoder,
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitTask.swift:197:40: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
195 | dataTask = nil
196 |
197 | let httpResponse = urlResponse as? HTTPURLResponse
| `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
198 | let headers = httpResponse?.allHeaderFields.compactMap { key, value -> (String, String)? in
199 | guard let k = key as? String,
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitTask.swift:197:44: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
195 | dataTask = nil
196 |
197 | let httpResponse = urlResponse as? HTTPURLResponse
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
198 | let headers = httpResponse?.allHeaderFields.compactMap { key, value -> (String, String)? in
199 | 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:198:37: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
196 |
197 | let httpResponse = urlResponse as? HTTPURLResponse
198 | let headers = httpResponse?.allHeaderFields.compactMap { key, value -> (String, String)? in
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
199 | guard let k = key as? String,
200 | 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:211:45: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
209 | response.body = responseData
210 | response.headers = headers
211 | response.statusCode = httpResponse?.statusCode
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
212 |
213 | for plugin in plugins {
[260/280] Compiling Netrofit AttributeWrappers.swift
[261/280] Compiling Netrofit DynamicContentTypeDecoder.swift
[262/280] Compiling Netrofit EventStreamingDecoder.swift
[263/280] Compiling Netrofit TextPlainEncoder.swift
[264/280] Compiling Netrofit URLEncodedFormEncoder.swift
[265/280] Compiling Netrofit NetrofitMacros.swift
[266/280] Compiling Netrofit HTTPBodyEncoder.swift
[267/280] Compiling Netrofit JSONEncoder.swift
[268/280] Compiling Netrofit MultipartEncoder.swift
[269/280] Compiling Netrofit HTTPBodyDecoder.swift
[270/280] Compiling Netrofit JSONDecoder.swift
[271/280] Compiling Netrofit TextPlainDecoder.swift
[272/280] Compiling Netrofit NetrofitSessionProtocols.swift
[273/280] Compiling Netrofit RequestBuilder.swift
[274/280] 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 {
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 | }
[275/280] 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 {
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 | }
[276/280] 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 {
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 | }
BUILD FAILURE 6.1 android