Build Information
Failed to build papyrus, reference v0.6.16 (0a424d), with Swift 6.3 for Android on 14 Apr 2026 14:30:27 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/joshuawright11/papyrus.git
Reference: v0.6.16
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/joshuawright11/papyrus
* tag v0.6.16 -> FETCH_HEAD
HEAD is now at 0a424d9 sendable
Cloned https://github.com/joshuawright11/papyrus.git
Revision (git rev-parse @):
0a424d90f7a31b40e3b850a58062bb3aa701323f
SUCCESS checkout https://github.com/joshuawright11/papyrus.git at v0.6.16
========================================
Build
========================================
Selected platform: android
Swift version: 6.3
Building package at path: $PWD
https://github.com/joshuawright11/papyrus.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:9008270ea37a55e78725e6225015adb5eff8582da520c5232bf0499f32c36dc4
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest
Fetching https://github.com/pointfreeco/swift-macro-testing
Fetching https://github.com/Alamofire/Alamofire.git
Fetching https://github.com/apple/swift-syntax
[1/961] Fetching swift-macro-testing
[962/32470] Fetching swift-macro-testing, alamofire
[6634/107442] Fetching swift-macro-testing, alamofire, swift-syntax
Fetched https://github.com/pointfreeco/swift-macro-testing from cache (15.09s)
Fetched https://github.com/apple/swift-syntax from cache (15.17s)
Fetched https://github.com/Alamofire/Alamofire.git from cache (15.17s)
Computing version for https://github.com/apple/swift-syntax
Computed https://github.com/apple/swift-syntax at 510.0.3 (18.36s)
Computing version for https://github.com/Alamofire/Alamofire.git
Computed https://github.com/Alamofire/Alamofire.git at 5.11.2 (0.55s)
Computing version for https://github.com/pointfreeco/swift-macro-testing
Computed https://github.com/pointfreeco/swift-macro-testing at 0.6.5 (0.46s)
Fetching https://github.com/pointfreeco/swift-snapshot-testing
[1/16046] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (3.42s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.19.2 (4.50s)
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/5464] Fetching swift-custom-dump
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (0.48s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.5.0 (0.93s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5723] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.99s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.9.0 (1.46s)
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.19.2
Creating working copy for https://github.com/apple/swift-syntax
Working copy of https://github.com/apple/swift-syntax resolved at 510.0.3
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.9.0
Creating working copy for https://github.com/Alamofire/Alamofire.git
Working copy of https://github.com/Alamofire/Alamofire.git resolved at 5.11.2
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.5.0
Creating working copy for https://github.com/pointfreeco/swift-macro-testing
Working copy of https://github.com/pointfreeco/swift-macro-testing resolved at 0.6.5
warning: 'swift-macro-testing': Conflicting identity for swift-syntax: dependency 'github.com/swiftlang/swift-syntax' and dependency 'github.com/apple/swift-syntax' both point to the same package identity 'swift-syntax'. The dependencies are introduced through the following chains: (A) /host/spi-builder-workspace->github.com/pointfreeco/swift-macro-testing->github.com/swiftlang/swift-syntax (B) /host/spi-builder-workspace->github.com/apple/swift-syntax. If there are multiple chains that lead to the same dependency, only the first chain is shown here. To see all chains use debug output option. To resolve the conflict, coordinate with the maintainer of the package that introduces the conflicting dependency. This will be escalated to an error in future versions of SwiftPM.
warning: 'swift-snapshot-testing': Conflicting identity for swift-syntax: dependency 'github.com/swiftlang/swift-syntax' and dependency 'github.com/apple/swift-syntax' both point to the same package identity 'swift-syntax'. The dependencies are introduced through the following chains: (A) /host/spi-builder-workspace->github.com/pointfreeco/swift-macro-testing->github.com/swiftlang/swift-syntax (B) /host/spi-builder-workspace->github.com/apple/swift-syntax. If there are multiple chains that lead to the same dependency, only the first chain is shown here. To see all chains use debug output option. To resolve the conflict, coordinate with the maintainer of the package that introduces the conflicting dependency. This will be escalated to an error in future versions of SwiftPM.
Building for debugging...
[0/43] Write sources
[13/43] Copying PrivacyInfo.xcprivacy
[13/43] Write sources
[21/43] Write swift-version--4F562202D5529B1.txt
[23/87] Compiling SwiftSyntax510 Empty.swift
[24/87] Emitting module SwiftSyntax510
[25/88] Emitting module SwiftSyntax509
[26/88] Compiling SwiftSyntax509 Empty.swift
[28/89] Wrapping AST for SwiftSyntax510 for debugging
[29/89] Wrapping AST for SwiftSyntax509 for debugging
[31/149] Emitting module Alamofire
[32/154] Compiling SwiftSyntax AbsolutePosition.swift
[33/154] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[34/154] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[35/154] Compiling SwiftSyntax Assert.swift
[36/154] Compiling SwiftSyntax BumpPtrAllocator.swift
[37/154] Compiling SwiftSyntax CommonAncestor.swift
[38/154] Compiling SwiftSyntax Convenience.swift
[39/154] Compiling SwiftSyntax MemoryLayout.swift
[40/154] Compiling SwiftSyntax MissingNodeInitializers.swift
[41/154] Compiling SwiftSyntax RawSyntax.swift
[42/154] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[43/154] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[44/154] Compiling SwiftSyntax RawSyntaxTokenView.swift
[45/154] Compiling SwiftSyntax SourceLength.swift
[46/154] Compiling SwiftSyntax SourceLocation.swift
[47/154] Compiling SwiftSyntax SourcePresence.swift
[48/154] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[49/154] Compiling SwiftSyntax Syntax.swift
[50/162] Compiling SwiftSyntax Keyword.swift
[51/162] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[52/162] Compiling SwiftSyntax RawSyntaxNodesEF.swift
[53/162] Compiling SwiftSyntax RawSyntaxNodesGHI.swift
[54/162] Compiling SwiftSyntax RawSyntaxNodesJKLMN.swift
[55/162] Compiling SwiftSyntax TokenDiagnostic.swift
[56/162] Compiling SwiftSyntax TokenSequence.swift
[57/162] Compiling SwiftSyntax TokenSyntax.swift
[58/162] Compiling SwiftSyntax Trivia.swift
[59/162] Compiling SwiftSyntax Utils.swift
[60/162] Compiling SwiftSyntax ChildNameForKeyPath.swift
[61/162] Compiling SwiftSyntax SyntaxArena.swift
[62/162] Compiling SwiftSyntax SyntaxChildren.swift
[63/162] Compiling SwiftSyntax SyntaxCollection.swift
[64/162] Compiling SwiftSyntax SyntaxHashable.swift
[65/162] Compiling SwiftSyntax SyntaxIdentifier.swift
[66/162] Compiling SwiftSyntax RawSyntaxNodesOP.swift
[67/162] Compiling SwiftSyntax RawSyntaxNodesQRS.swift
[68/162] Compiling SwiftSyntax RawSyntaxNodesTUVWXYZ.swift
[69/162] Compiling SwiftSyntax RawSyntaxValidation.swift
[70/162] Compiling SwiftSyntax SyntaxNodesAB.swift
[71/162] Compiling Alamofire RetryPolicy.swift
[72/162] Compiling Alamofire ServerTrustEvaluation.swift
[73/162] Compiling Alamofire URLEncodedFormEncoder.swift
[74/162] Compiling Alamofire Validation.swift
[75/162] Compiling Alamofire resource_bundle_accessor.swift
[95/163] Emitting module SwiftSyntax
[104/163] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[105/163] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[106/163] Compiling SwiftSyntax SyntaxBaseNodes.swift
[107/163] Compiling SwiftSyntax SyntaxCollections.swift
[108/163] Compiling SwiftSyntax SyntaxEnum.swift
[109/163] Compiling SwiftSyntax SyntaxKind.swift
[110/163] Compiling SwiftSyntax SyntaxRewriter.swift
[111/163] Compiling SwiftSyntax SyntaxTraits.swift
[120/163] Compiling SwiftSyntax SyntaxNodesC.swift
[121/163] Compiling SwiftSyntax SyntaxNodesD.swift
[122/163] Compiling SwiftSyntax SyntaxNodesEF.swift
[123/163] Compiling SwiftSyntax SyntaxNodesGHI.swift
[124/163] Compiling SwiftSyntax SyntaxNodesJKLMN.swift
[125/163] Compiling SwiftSyntax SyntaxNodesOP.swift
[126/163] Compiling SwiftSyntax SyntaxNodesQRS.swift
[127/163] Compiling SwiftSyntax SyntaxNodesTUVWXYZ.swift
[138/163] Compiling SwiftSyntax SyntaxVisitor.swift
[139/163] Compiling SwiftSyntax TokenKind.swift
[140/163] Compiling SwiftSyntax Tokens.swift
[141/163] Compiling SwiftSyntax TriviaPieces.swift
[142/163] Compiling SwiftSyntax RawSyntaxNodesAB.swift
[143/163] Compiling SwiftSyntax RawSyntaxNodesC.swift
[144/163] Compiling SwiftSyntax RawSyntaxNodesD.swift
[145/170] Wrapping AST for SwiftSyntax for debugging
[147/215] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[148/215] Compiling SwiftBasicFormat Syntax+Extensions.swift
[149/215] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[150/215] Compiling SwiftDiagnostics FixIt.swift
[151/215] Compiling SwiftDiagnostics Note.swift
[152/215] Compiling SwiftDiagnostics Message.swift
[153/215] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[154/215] Compiling SwiftDiagnostics Diagnostic.swift
[155/215] Compiling SwiftDiagnostics Convenience.swift
[156/215] Emitting module SwiftDiagnostics
[157/215] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[158/216] Wrapping AST for SwiftDiagnostics for debugging
[160/216] Compiling SwiftBasicFormat BasicFormat.swift
[161/216] Emitting module SwiftBasicFormat
[162/217] Wrapping AST for SwiftBasicFormat for debugging
[164/217] Emitting module SwiftParser
[165/222] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[166/222] Compiling SwiftParser StringLiterals.swift
[167/222] Compiling SwiftParser SwiftParserCompatibility.swift
[168/222] Compiling SwiftParser SyntaxUtils.swift
[169/222] Compiling SwiftParser TokenConsumer.swift
[170/222] Compiling SwiftParser TokenPrecedence.swift
[171/222] Compiling SwiftParser TokenSpec.swift
[172/222] Compiling SwiftParser TokenSpecSet.swift
[173/222] Compiling SwiftParser TopLevel.swift
[174/222] Compiling SwiftParser TriviaParser.swift
[175/222] Compiling SwiftParser Modifiers.swift
[176/222] Compiling SwiftParser Names.swift
[177/222] Compiling SwiftParser Nominals.swift
[178/222] Compiling SwiftParser Parameters.swift
[179/222] Compiling SwiftParser ParseSourceFile.swift
[180/222] Compiling SwiftParser Parser.swift
[181/222] Compiling SwiftParser Patterns.swift
[182/222] Compiling SwiftParser Recovery.swift
[183/222] Compiling SwiftParser Specifiers.swift
[184/222] Compiling SwiftParser Statements.swift
[185/222] Compiling SwiftParser Lexer.swift
[186/222] Compiling SwiftParser RegexLiteralLexer.swift
[187/222] Compiling SwiftParser UnicodeScalarExtensions.swift
[188/222] Compiling SwiftParser Lookahead.swift
[189/222] Compiling SwiftParser LoopProgressCondition.swift
[190/222] Compiling SwiftParser Attributes.swift
[191/222] Compiling SwiftParser Availability.swift
[192/222] Compiling SwiftParser CharacterInfo.swift
[193/222] Compiling SwiftParser CollectionNodes+Parsable.swift
[194/222] Compiling SwiftParser Declarations.swift
[195/222] Compiling SwiftParser Directives.swift
[196/222] Compiling SwiftParser ExperimentalFeatures.swift
[197/222] Compiling SwiftParser Expressions.swift
[198/222] Compiling SwiftParser IncrementalParseTransition.swift
[199/222] Compiling SwiftParser Cursor.swift
[200/222] Compiling SwiftParser Lexeme.swift
[201/222] Compiling SwiftParser LexemeSequence.swift
[202/222] Compiling SwiftParser Types.swift
[203/222] Compiling SwiftParser IsLexerClassified.swift
[204/222] Compiling SwiftParser LayoutNodes+Parsable.swift
[205/222] Compiling SwiftParser Parser+TokenSpecSet.swift
[206/222] Compiling SwiftParser TokenSpecStaticMembers.swift
[207/224] Wrapping AST for SwiftParser for debugging
[209/246] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[210/247] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[211/247] Compiling SwiftOperators PrecedenceGroup.swift
[212/248] Compiling SwiftOperators PrecedenceGraph.swift
[213/248] Emitting module SwiftOperators
[214/248] Compiling SwiftParserDiagnostics MissingNodesError.swift
[215/248] Compiling SwiftParserDiagnostics MissingTokenError.swift
[216/248] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[217/248] Compiling SwiftParserDiagnostics Utils.swift
[218/248] Compiling SwiftParserDiagnostics DiagnosticExtensions.swift
[219/248] Compiling SwiftParserDiagnostics LexerDiagnosticMessages.swift
[220/248] Compiling SwiftOperators SyntaxSynthesis.swift
[221/248] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[222/248] Compiling SwiftOperators OperatorTable+Folding.swift
[223/248] Compiling SwiftOperators OperatorTable.swift
[224/248] Compiling SwiftOperators OperatorTable+Semantics.swift
[226/249] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[227/249] Compiling SwiftParserDiagnostics PresenceUtils.swift
[227/249] Wrapping AST for SwiftOperators for debugging
[229/249] Emitting module SwiftParserDiagnostics
[234/249] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[235/249] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[236/250] Wrapping AST for SwiftParserDiagnostics for debugging
[238/264] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[239/264] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[240/265] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[241/265] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[242/265] Compiling SwiftSyntaxBuilder Indenter.swift
[243/265] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[244/265] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[245/265] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[246/265] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[247/265] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[248/265] Emitting module SwiftSyntaxBuilder
[249/265] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[250/265] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[251/265] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[252/265] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[253/266] Wrapping AST for SwiftSyntaxBuilder for debugging
[255/280] Compiling SwiftSyntaxMacros CodeItemMacro.swift
[256/280] Compiling SwiftSyntaxMacros DeclarationMacro.swift
[257/281] Compiling SwiftSyntaxMacros Macro.swift
[258/281] Compiling SwiftSyntaxMacros MemberAttributeMacro.swift
[259/281] Compiling SwiftSyntaxMacros MemberMacro.swift
[260/281] Compiling SwiftSyntaxMacros ExpressionMacro.swift
[261/281] Compiling SwiftSyntaxMacros ExtensionMacro.swift
[262/281] Compiling SwiftSyntaxMacros FreestandingMacro.swift
[263/281] Compiling SwiftSyntaxMacros Macro+Format.swift
[264/281] Compiling SwiftSyntaxMacros PeerMacro.swift
[265/281] Compiling SwiftSyntaxMacros AccessorMacro.swift
[266/281] Compiling SwiftSyntaxMacros AttachedMacro.swift
[267/281] Emitting module SwiftSyntaxMacros
[268/281] Compiling SwiftSyntaxMacros AbstractSourceLocation.swift
[269/281] Compiling SwiftSyntaxMacros MacroExpansionContext.swift
[270/282] Wrapping AST for SwiftSyntaxMacros for debugging
[272/290] Compiling SwiftSyntaxMacroExpansion IndentationUtils.swift
[273/290] Compiling SwiftSyntaxMacroExpansion FunctionParameterUtils.swift
[274/290] Emitting module SwiftSyntaxMacroExpansion
[275/290] Compiling SwiftSyntaxMacroExpansion BasicMacroExpansionContext.swift
[276/290] Compiling SwiftSyntaxMacroExpansion MacroReplacement.swift
[277/290] Compiling SwiftSyntaxMacroExpansion MacroExpansion.swift
[278/290] Compiling SwiftSyntaxMacroExpansion MacroSystem.swift
[279/290] Compiling SwiftSyntaxMacroExpansion MacroExpansionDiagnosticMessages.swift
[280/291] Wrapping AST for SwiftSyntaxMacroExpansion for debugging
[282/298] Compiling SwiftCompilerPluginMessageHandling CompilerPluginMessageHandler.swift
[283/298] Emitting module SwiftCompilerPluginMessageHandling
[284/298] Compiling SwiftCompilerPluginMessageHandling Macros.swift
[285/298] Compiling SwiftCompilerPluginMessageHandling Diagnostics.swift
[286/298] Compiling SwiftCompilerPluginMessageHandling PluginMacroExpansionContext.swift
[287/298] Compiling SwiftCompilerPluginMessageHandling PluginMessageCompatibility.swift
[288/298] Compiling SwiftCompilerPluginMessageHandling PluginMessages.swift
[289/301] Wrapping AST for SwiftCompilerPluginMessageHandling for debugging
[291/301] Emitting module SwiftCompilerPlugin
[292/301] Compiling SwiftCompilerPlugin CompilerPlugin.swift
[293/302] Wrapping AST for SwiftCompilerPlugin for debugging
[295/314] Compiling PapyrusPlugin FunctionParameterSyntax+Utilities.swift
[296/315] Compiling PapyrusPlugin ProtocolDeclSyntax+Utilities.swift
[297/315] Compiling PapyrusPlugin PapyrusPluginError.swift
[298/315] Compiling PapyrusPlugin Plugin.swift
[299/315] Compiling PapyrusPlugin String+Utilities.swift
[300/315] Compiling PapyrusPlugin DecoratorMacro.swift
[301/315] Compiling PapyrusPlugin MockMacro.swift
[302/315] Compiling PapyrusPlugin Macro+Utilities.swift
[303/315] Compiling PapyrusPlugin AttributeSyntax+Utilities.swift
[304/315] Compiling PapyrusPlugin FunctionDeclSyntax+Utilities.swift
[305/315] Emitting module PapyrusPlugin
[306/315] Compiling PapyrusPlugin APIAttribute.swift
[307/315] Compiling PapyrusPlugin APIMacro.swift
[308/316] Wrapping AST for PapyrusPlugin for debugging
[309/316] Write Objects.LinkFileList
[310/316] Linking PapyrusPlugin-tool
[312/348] Compiling PapyrusCore Response.swift
[313/348] Compiling PapyrusCore ResponseDecoder.swift
[314/350] Emitting module PapyrusCore
Internal Error: invalidPayloadSize
[315/352] Compiling PapyrusCore HTTPService.swift
[316/352] Compiling PapyrusCore CurlInterceptor.swift
[317/352] Compiling PapyrusCore KeyMapping.swift
[318/352] Emitting module PapyrusCore
[322/352] Compiling PapyrusCore Part.swift
[323/352] Compiling PapyrusCore PapyrusError.swift
[324/352] Compiling PapyrusCore Macros.swift
[325/352] Compiling PapyrusCore MultipartEncoder.swift
[326/352] Compiling PapyrusCore URLEncodedForm.swift
[327/352] Compiling PapyrusCore URLEncodedFormDecoder.swift
[328/352] Compiling PapyrusCore Provider.swift
/host/spi-builder-workspace/PapyrusCore/Sources/Provider.swift:110:42: warning: converting a value of type '(sending any Response) -> ()' to type '(any Response) -> Void' risks causing data races; this is an error in the Swift 6 language mode
108 | try await intercept(req: req) { req in
109 | return try await withCheckedThrowingContinuation {
110 | next(req, $0.resume)
| |- warning: converting a value of type '(sending any Response) -> ()' to type '(any Response) -> Void' risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
111 | }
112 | }
[329/352] Compiling PapyrusCore Request.swift
/host/spi-builder-workspace/PapyrusCore/Sources/Provider.swift:110:42: warning: converting a value of type '(sending any Response) -> ()' to type '(any Response) -> Void' risks causing data races; this is an error in the Swift 6 language mode
108 | try await intercept(req: req) { req in
109 | return try await withCheckedThrowingContinuation {
110 | next(req, $0.resume)
| |- warning: converting a value of type '(sending any Response) -> ()' to type '(any Response) -> Void' risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
111 | }
112 | }
[332/352] Compiling PapyrusCore Provider.swift
[333/352] Compiling PapyrusCore Request.swift
Internal Error: invalidPayloadSize
Internal Error: invalidPayloadSize
/host/spi-builder-workspace/PapyrusCore/Sources/Provider.swift:110:42: warning: converting a value of type '(sending any Response) -> ()' to type '(any Response) -> Void' risks causing data races; this is an error in the Swift 6 language mode
108 | try await intercept(req: req) { req in
109 | return try await withCheckedThrowingContinuation {
110 | next(req, $0.resume)
| |- warning: converting a value of type '(sending any Response) -> ()' to type '(any Response) -> Void' risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
111 | }
112 | }
/host/spi-builder-workspace/PapyrusCore/Sources/Provider.swift:110:42: warning: converting a value of type '(sending any Response) -> ()' to type '(any Response) -> Void' risks causing data races; this is an error in the Swift 6 language mode
108 | try await intercept(req: req) { req in
109 | return try await withCheckedThrowingContinuation {
110 | next(req, $0.resume)
| |- warning: converting a value of type '(sending any Response) -> ()' to type '(any Response) -> Void' risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
111 | }
112 | }
[344/352] Compiling PapyrusCore URLEncodedFormEncoder.swift
[345/352] Compiling PapyrusCore URLEncodedFormNode.swift
[348/354] Wrapping AST for PapyrusCore for debugging
[351/358] Compiling Papyrus URLSession+Papyrus.swift
/host/spi-builder-workspace/Papyrus/URLSession+Papyrus.swift:9:41: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
7 | extension Provider {
8 | public convenience init(baseURL: String,
9 | urlSession: URLSession = .shared,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 | modifiers: [RequestModifier] = [],
11 | interceptors: [Interceptor] = []) {
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/Papyrus/URLSession+Papyrus.swift:9:55: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
7 | extension Provider {
8 | public convenience init(baseURL: String,
9 | urlSession: URLSession = .shared,
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
10 | modifiers: [RequestModifier] = [],
11 | interceptors: [Interceptor] = []) {
/host/spi-builder-workspace/Papyrus/URLSession+Papyrus.swift:9:55: error: value of type '_' expected to be instance of class or class-constrained type
7 | extension Provider {
8 | public convenience init(baseURL: String,
9 | urlSession: URLSession = .shared,
| `- error: value of type '_' expected to be instance of class or class-constrained type
10 | modifiers: [RequestModifier] = [],
11 | interceptors: [Interceptor] = []) {
/host/spi-builder-workspace/Papyrus/URLSession+Papyrus.swift:18:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
16 | // MARK: `HTTPService` Conformance
17 |
18 | extension URLSession: HTTPService {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
19 | public func build(method: String, url: URL, headers: [String: String], body: Data?) -> Request {
20 | var request = URLRequest(url: url)
/host/spi-builder-workspace/Papyrus/URLSession+Papyrus.swift:54:28: error: cannot find type 'URLRequest' in scope
52 |
53 | extension Response {
54 | public var urlRequest: URLRequest { (self as! _Response).urlRequest }
| `- error: cannot find type 'URLRequest' in scope
55 | public var urlResponse: URLResponse? { (self as! _Response).urlResponse }
56 | }
/host/spi-builder-workspace/Papyrus/URLSession+Papyrus.swift:55:29: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
53 | extension Response {
54 | public var urlRequest: URLRequest { (self as! _Response).urlRequest }
55 | public var urlResponse: URLResponse? { (self as! _Response).urlResponse }
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
56 | }
57 |
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/Papyrus/URLSession+Papyrus.swift:59:21: error: cannot find type 'URLRequest' in scope
57 |
58 | private struct _Response: Response {
59 | let urlRequest: URLRequest
| `- error: cannot find type 'URLRequest' in scope
60 | let urlResponse: URLResponse?
61 |
/host/spi-builder-workspace/Papyrus/URLSession+Papyrus.swift:60:22: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
58 | private struct _Response: Response {
59 | let urlRequest: URLRequest
60 | let urlResponse: URLResponse?
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
61 |
62 | var request: Request? { urlRequest }
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/Papyrus/URLSession+Papyrus.swift:68:19: error: cannot find type 'URLRequest' in scope
66 | var statusCode: Int? { (urlResponse as? HTTPURLResponse)?.statusCode }
67 |
68 | init(request: URLRequest, response: URLResponse?, error: Error?, body: Data?) {
| `- error: cannot find type 'URLRequest' in scope
69 | self.urlRequest = request
70 | self.urlResponse = response
/host/spi-builder-workspace/Papyrus/URLSession+Papyrus.swift:68:41: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
66 | var statusCode: Int? { (urlResponse as? HTTPURLResponse)?.statusCode }
67 |
68 | init(request: URLRequest, response: URLResponse?, error: Error?, body: Data?) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
69 | self.urlRequest = request
70 | self.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/Papyrus/URLSession+Papyrus.swift:93:28: error: cannot find type 'URLRequest' in scope
91 |
92 | extension Request {
93 | public var urlRequest: URLRequest {
| `- error: cannot find type 'URLRequest' in scope
94 | (self as! URLRequest)
95 | }
/host/spi-builder-workspace/Papyrus/URLSession+Papyrus.swift:98:11: error: cannot find type 'URLRequest' in scope
96 | }
97 |
98 | extension URLRequest: Request {
| `- error: cannot find type 'URLRequest' in scope
99 | public var body: Data? {
100 | get { httpBody }
/host/spi-builder-workspace/Papyrus/URLSession+Papyrus.swift:12:43: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'HTTPService'
10 | modifiers: [RequestModifier] = [],
11 | interceptors: [Interceptor] = []) {
12 | self.init(baseURL: baseURL, http: urlSession, modifiers: modifiers, interceptors: interceptors)
| `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'HTTPService'
13 | }
14 | }
/host/spi-builder-workspace/Papyrus/URLSession+Papyrus.swift:66:41: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
64 | let body: Data?
65 | let headers: [String: String]?
66 | var statusCode: Int? { (urlResponse as? HTTPURLResponse)?.statusCode }
| `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
67 |
68 | init(request: URLRequest, response: URLResponse?, error: Error?, body: Data?) {
/host/spi-builder-workspace/Papyrus/URLSession+Papyrus.swift:66:63: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
64 | let body: Data?
65 | let headers: [String: String]?
66 | var statusCode: Int? { (urlResponse as? HTTPURLResponse)?.statusCode }
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
67 |
68 | init(request: URLRequest, response: URLResponse?, error: Error?, body: Data?) {
/host/spi-builder-workspace/Papyrus/URLSession+Papyrus.swift:73:37: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
71 | self.error = error
72 | self.body = body
73 | let headerPairs = (response as? HTTPURLResponse)?
| `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
74 | .allHeaderFields
75 | .compactMap { key, value -> (String, String)? in
/host/spi-builder-workspace/Papyrus/URLSession+Papyrus.swift:74:14: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
72 | self.body = body
73 | let headerPairs = (response as? HTTPURLResponse)?
74 | .allHeaderFields
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
75 | .compactMap { key, value -> (String, String)? in
76 | guard let key = key as? String, let value = value as? String else {
/host/spi-builder-workspace/Papyrus/URLSession+Papyrus.swift:94:19: error: cannot find type 'URLRequest' in scope
92 | extension Request {
93 | public var urlRequest: URLRequest {
94 | (self as! URLRequest)
| `- error: cannot find type 'URLRequest' in scope
95 | }
96 | }
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
error: emit-module command failed with exit code 1 (use -v to see invocation)
[352/358] Emitting module Papyrus
/host/spi-builder-workspace/Papyrus/URLSession+Papyrus.swift:9:41: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
7 | extension Provider {
8 | public convenience init(baseURL: String,
9 | urlSession: URLSession = .shared,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 | modifiers: [RequestModifier] = [],
11 | interceptors: [Interceptor] = []) {
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/Papyrus/URLSession+Papyrus.swift:9:55: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
7 | extension Provider {
8 | public convenience init(baseURL: String,
9 | urlSession: URLSession = .shared,
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
10 | modifiers: [RequestModifier] = [],
11 | interceptors: [Interceptor] = []) {
/host/spi-builder-workspace/Papyrus/URLSession+Papyrus.swift:9:55: error: value of type '_' expected to be instance of class or class-constrained type
7 | extension Provider {
8 | public convenience init(baseURL: String,
9 | urlSession: URLSession = .shared,
| `- error: value of type '_' expected to be instance of class or class-constrained type
10 | modifiers: [RequestModifier] = [],
11 | interceptors: [Interceptor] = []) {
/host/spi-builder-workspace/Papyrus/URLSession+Papyrus.swift:18:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
16 | // MARK: `HTTPService` Conformance
17 |
18 | extension URLSession: HTTPService {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
19 | public func build(method: String, url: URL, headers: [String: String], body: Data?) -> Request {
20 | var request = URLRequest(url: url)
/host/spi-builder-workspace/Papyrus/URLSession+Papyrus.swift:54:28: error: cannot find type 'URLRequest' in scope
52 |
53 | extension Response {
54 | public var urlRequest: URLRequest { (self as! _Response).urlRequest }
| `- error: cannot find type 'URLRequest' in scope
55 | public var urlResponse: URLResponse? { (self as! _Response).urlResponse }
56 | }
/host/spi-builder-workspace/Papyrus/URLSession+Papyrus.swift:55:29: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
53 | extension Response {
54 | public var urlRequest: URLRequest { (self as! _Response).urlRequest }
55 | public var urlResponse: URLResponse? { (self as! _Response).urlResponse }
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
56 | }
57 |
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/Papyrus/URLSession+Papyrus.swift:59:21: error: cannot find type 'URLRequest' in scope
57 |
58 | private struct _Response: Response {
59 | let urlRequest: URLRequest
| `- error: cannot find type 'URLRequest' in scope
60 | let urlResponse: URLResponse?
61 |
/host/spi-builder-workspace/Papyrus/URLSession+Papyrus.swift:60:22: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
58 | private struct _Response: Response {
59 | let urlRequest: URLRequest
60 | let urlResponse: URLResponse?
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
61 |
62 | var request: Request? { urlRequest }
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/Papyrus/URLSession+Papyrus.swift:68:19: error: cannot find type 'URLRequest' in scope
66 | var statusCode: Int? { (urlResponse as? HTTPURLResponse)?.statusCode }
67 |
68 | init(request: URLRequest, response: URLResponse?, error: Error?, body: Data?) {
| `- error: cannot find type 'URLRequest' in scope
69 | self.urlRequest = request
70 | self.urlResponse = response
/host/spi-builder-workspace/Papyrus/URLSession+Papyrus.swift:68:41: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
66 | var statusCode: Int? { (urlResponse as? HTTPURLResponse)?.statusCode }
67 |
68 | init(request: URLRequest, response: URLResponse?, error: Error?, body: Data?) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
69 | self.urlRequest = request
70 | self.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/Papyrus/URLSession+Papyrus.swift:93:28: error: cannot find type 'URLRequest' in scope
91 |
92 | extension Request {
93 | public var urlRequest: URLRequest {
| `- error: cannot find type 'URLRequest' in scope
94 | (self as! URLRequest)
95 | }
/host/spi-builder-workspace/Papyrus/URLSession+Papyrus.swift:98:11: error: cannot find type 'URLRequest' in scope
96 | }
97 |
98 | extension URLRequest: Request {
| `- error: cannot find type 'URLRequest' in scope
99 | public var body: Data? {
100 | get { httpBody }
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
BUILD FAILURE 6.3 android