Build Information
Failed to build papyrus, reference main (be7dd2
), with Swift 6.2 (beta) for Android on 21 Jun 2025 13:39:28 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/joshuawright11/papyrus.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/joshuawright11/papyrus
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at be7dd29 linux
Cloned https://github.com/joshuawright11/papyrus.git
Revision (git rev-parse @):
be7dd29d07b2e7657bb67b63ce4cfeb764d00359
SUCCESS checkout https://github.com/joshuawright11/papyrus.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
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" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/pointfreeco/swift-macro-testing
Fetching https://github.com/swiftlang/swift-syntax
[1/908] Fetching swift-macro-testing
Fetched https://github.com/pointfreeco/swift-macro-testing from cache (0.53s)
[1/70924] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (10.21s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 600.0.1 (15.30s)
Computing version for https://github.com/pointfreeco/swift-macro-testing
Computed https://github.com/pointfreeco/swift-macro-testing at 0.6.3 (0.96s)
Fetching https://github.com/pointfreeco/swift-snapshot-testing
[1/13674] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (3.17s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.18.4 (4.04s)
Fetching https://github.com/pointfreeco/swift-custom-dump
[46/4581] Fetching swift-custom-dump
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (0.53s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (1.29s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5467] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (1.07s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.5.2 (1.95s)
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.3.3
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.3
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.18.4
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 600.0.1
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.5.2
Building for debugging...
[0/41] Write sources
[18/41] Write swift-version-8C5A4AE7A8CE2BA.txt
[19/41] Compiling _SwiftSyntaxCShims dummy.c
[21/47] Emitting module SwiftSyntax510
[22/47] Emitting module SwiftSyntax509
[23/47] Compiling SwiftSyntax509 Empty.swift
[24/48] Wrapping AST for SwiftSyntax509 for debugging
[26/48] Compiling SwiftSyntax510 Empty.swift
[27/49] Compiling SwiftSyntax600 Empty.swift
[28/49] Emitting module SwiftSyntax600
[30/50] Wrapping AST for SwiftSyntax510 for debugging
[31/50] Wrapping AST for SwiftSyntax600 for debugging
[33/114] Compiling SwiftSyntax AbsolutePosition.swift
[34/114] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[35/114] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[36/114] Compiling SwiftSyntax Assert.swift
[37/114] Compiling SwiftSyntax BumpPtrAllocator.swift
[38/114] Compiling SwiftSyntax CommonAncestor.swift
[39/114] Compiling SwiftSyntax Convenience.swift
[40/114] Compiling SwiftSyntax CustomTraits.swift
[41/114] Compiling SwiftSyntax Identifier.swift
[42/122] Compiling SwiftSyntax SyntaxKind.swift
[43/122] Compiling SwiftSyntax SyntaxRewriter.swift
[44/122] Compiling SwiftSyntax SyntaxTraits.swift
[45/122] Compiling SwiftSyntax SyntaxVisitor.swift
[46/122] Compiling SwiftSyntax TokenKind.swift
[47/122] Compiling SwiftSyntax Tokens.swift
[48/122] Compiling SwiftSyntax TriviaPieces.swift
[49/122] Compiling SwiftSyntax RawSyntaxNodesAB.swift
[50/122] Compiling SwiftSyntax RawSyntaxNodesC.swift
[51/122] Compiling SwiftSyntax RawSyntaxNodesD.swift
[52/122] Compiling SwiftSyntax RawSyntaxNodesEF.swift
[53/122] Compiling SwiftSyntax RawSyntaxNodesGHI.swift
[54/122] Compiling SwiftSyntax RawSyntaxNodesJKLMN.swift
[55/122] Compiling SwiftSyntax RawSyntaxNodesOP.swift
[56/122] Compiling SwiftSyntax RawSyntaxNodesQRS.swift
[57/122] Compiling SwiftSyntax RawSyntaxNodesTUVWXYZ.swift
[58/122] Compiling SwiftSyntax RawSyntaxValidation.swift
[59/122] Compiling SwiftSyntax SyntaxNodesAB.swift
[60/122] Compiling SwiftSyntax MemoryLayout.swift
[61/122] Compiling SwiftSyntax MissingNodeInitializers.swift
[62/122] Compiling SwiftSyntax RawSyntax.swift
[63/122] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[64/122] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[65/122] Compiling SwiftSyntax RawSyntaxTokenView.swift
[66/122] Compiling SwiftSyntax SourceEdit.swift
[67/122] Compiling SwiftSyntax SourceLength.swift
[68/122] Compiling SwiftSyntax SourceLocation.swift
[69/122] Compiling SwiftSyntax SourcePresence.swift
[70/122] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[71/122] Compiling SwiftSyntax Syntax.swift
[72/122] Compiling SwiftSyntax SyntaxArena.swift
[73/122] Compiling SwiftSyntax SyntaxArenaAllocatedBuffer.swift
[74/122] Compiling SwiftSyntax SyntaxChildren.swift
[75/122] Compiling SwiftSyntax SyntaxCollection.swift
[76/122] Compiling SwiftSyntax SyntaxHashable.swift
[77/122] Compiling SwiftSyntax SyntaxIdentifier.swift
[78/122] Compiling SwiftSyntax SyntaxNodeFactory.swift
[79/122] Compiling SwiftSyntax SyntaxNodeStructure.swift
[80/122] Compiling SwiftSyntax SyntaxProtocol.swift
[81/122] Compiling SwiftSyntax SyntaxText.swift
[82/122] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[83/122] Compiling SwiftSyntax TokenDiagnostic.swift
[84/122] Compiling SwiftSyntax TokenSequence.swift
[85/122] Compiling SwiftSyntax TokenSyntax.swift
[86/122] Compiling SwiftSyntax Trivia.swift
[87/122] Emitting module SwiftSyntax
[88/122] Compiling SwiftSyntax Utils.swift
[89/122] Compiling SwiftSyntax ChildNameForKeyPath.swift
[90/122] Compiling SwiftSyntax Keyword.swift
[91/122] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[92/122] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[93/122] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[94/122] Compiling SwiftSyntax SyntaxBaseNodes.swift
[95/122] Compiling SwiftSyntax SyntaxCollections.swift
[96/122] Compiling SwiftSyntax SyntaxEnum.swift
[97/122] Compiling SwiftSyntax SyntaxNodesC.swift
[98/122] Compiling SwiftSyntax SyntaxNodesD.swift
[99/122] Compiling SwiftSyntax SyntaxNodesEF.swift
[100/122] Compiling SwiftSyntax SyntaxNodesGHI.swift
[101/122] Compiling SwiftSyntax SyntaxNodesJKLMN.swift
[102/122] Compiling SwiftSyntax SyntaxNodesOP.swift
[103/122] Compiling SwiftSyntax SyntaxNodesQRS.swift
[104/122] Compiling SwiftSyntax SyntaxNodesTUVWXYZ.swift
[105/134] Wrapping AST for SwiftSyntax for debugging
[107/180] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[108/180] Emitting module SwiftDiagnostics
[109/181] Compiling SwiftDiagnostics Message.swift
[110/181] Compiling SwiftBasicFormat Syntax+Extensions.swift
[111/181] Compiling SwiftParser CharacterInfo.swift
[112/181] Compiling SwiftParser CollectionNodes+Parsable.swift
[113/181] Compiling SwiftParser Attributes.swift
[114/181] Compiling SwiftParser Availability.swift
[115/181] Compiling SwiftDiagnostics Note.swift
[116/181] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[117/181] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[118/181] Compiling SwiftDiagnostics FixIt.swift
[119/181] Compiling SwiftBasicFormat InferIndentation.swift
[120/181] Compiling SwiftDiagnostics DiagnosticDecorator.swift
[121/181] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[122/182] Wrapping AST for SwiftDiagnostics for debugging
[124/182] Compiling SwiftBasicFormat BasicFormat.swift
[125/182] Emitting module SwiftBasicFormat
[126/183] Wrapping AST for SwiftBasicFormat for debugging
[128/183] Compiling SwiftParser LexemeSequence.swift
[129/183] Compiling SwiftParser Lexer.swift
[130/183] Compiling SwiftParser RegexLiteralLexer.swift
[131/183] Compiling SwiftParser UnicodeScalarExtensions.swift
[132/183] Compiling SwiftParser Lookahead.swift
[133/183] Compiling SwiftParser LoopProgressCondition.swift
[134/188] Compiling SwiftParser SwiftParserCompatibility.swift
[135/188] Compiling SwiftParser SwiftVersion.swift
[136/188] Compiling SwiftParser SyntaxUtils.swift
[137/188] Compiling SwiftParser TokenConsumer.swift
[138/188] Compiling SwiftParser TokenPrecedence.swift
[139/188] Compiling SwiftParser TokenSpec.swift
[140/188] Compiling SwiftParser TokenSpecSet.swift
[141/188] Compiling SwiftParser TopLevel.swift
[142/188] Compiling SwiftParser TriviaParser.swift
[143/188] Compiling SwiftParser Types.swift
[144/188] Compiling SwiftParser Patterns.swift
[145/188] Compiling SwiftParser Recovery.swift
[146/188] Compiling SwiftParser Specifiers.swift
[147/188] Compiling SwiftParser Statements.swift
[148/188] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[149/188] Compiling SwiftParser StringLiterals.swift
[150/188] Compiling SwiftParser Modifiers.swift
[151/188] Compiling SwiftParser Names.swift
[152/188] Compiling SwiftParser Nominals.swift
[153/188] Compiling SwiftParser Parameters.swift
[154/188] Compiling SwiftParser ParseSourceFile.swift
[155/188] Compiling SwiftParser Parser.swift
[160/188] Compiling SwiftParser Declarations.swift
[161/188] Compiling SwiftParser Directives.swift
[162/188] Emitting module SwiftParser
[163/188] Compiling SwiftParser ExpressionInterpretedAsVersionTuple.swift
[164/188] Compiling SwiftParser Expressions.swift
[165/188] Compiling SwiftParser IncrementalParseTransition.swift
[166/188] Compiling SwiftParser IsValidIdentifier.swift
[167/188] Compiling SwiftParser Cursor.swift
[168/188] Compiling SwiftParser Lexeme.swift
[169/188] Compiling SwiftParser ExperimentalFeatures.swift
[170/188] Compiling SwiftParser IsLexerClassified.swift
[171/188] Compiling SwiftParser LayoutNodes+Parsable.swift
[172/188] Compiling SwiftParser Parser+TokenSpecSet.swift
[173/188] Compiling SwiftParser TokenSpecStaticMembers.swift
[174/192] Wrapping AST for SwiftParser for debugging
[176/212] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[177/213] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[178/213] Compiling SwiftParserDiagnostics PresenceUtils.swift
[179/214] Compiling SwiftParserDiagnostics MissingNodesError.swift
[180/214] Compiling SwiftParserDiagnostics MissingTokenError.swift
[181/214] Compiling SwiftOperators PrecedenceGroup.swift
[182/214] Compiling SwiftOperators OperatorTable.swift
[183/214] Compiling SwiftOperators PrecedenceGraph.swift
[184/214] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[185/214] Compiling SwiftOperators SyntaxSynthesis.swift
[186/214] Compiling SwiftOperators OperatorTable+Semantics.swift
[187/214] Emitting module SwiftOperators
[188/214] Compiling SwiftOperators OperatorTable+Folding.swift
[190/215] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[191/215] Compiling SwiftParserDiagnostics Utils.swift
[192/215] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[192/215] Wrapping AST for SwiftOperators for debugging
[196/215] Emitting module SwiftParserDiagnostics
[199/215] Compiling SwiftParserDiagnostics DiagnosticExtensions.swift
[200/215] Compiling SwiftParserDiagnostics LexerDiagnosticMessages.swift
[201/215] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[202/215] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[203/216] Wrapping AST for SwiftParserDiagnostics for debugging
[205/231] Compiling SwiftSyntaxBuilder Indenter.swift
[206/231] Compiling SwiftSyntaxBuilder ListBuilder.swift
[207/232] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[208/232] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[209/232] Emitting module SwiftSyntaxBuilder
[210/232] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[211/232] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[212/232] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[213/232] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[214/232] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[215/232] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[216/232] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[217/232] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[218/232] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[219/232] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[220/232] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[221/233] Wrapping AST for SwiftSyntaxBuilder for debugging
[223/250] Compiling SwiftSyntaxMacros Macro.swift
[224/250] Compiling SwiftSyntaxMacros MemberAttributeMacro.swift
[225/252] Compiling SwiftSyntaxMacros CodeItemMacro.swift
[226/252] Compiling SwiftSyntaxMacros DeclarationMacro.swift
[227/252] Compiling SwiftSyntaxMacros AccessorMacro.swift
[228/252] Compiling SwiftSyntaxMacros AttachedMacro.swift
[229/252] Compiling SwiftSyntaxMacros BodyMacro.swift
[230/252] Compiling SwiftSyntaxMacros FreestandingMacro.swift
[231/252] Compiling SwiftSyntaxMacros Macro+Format.swift
[232/252] Compiling SwiftSyntaxMacros ExpressionMacro.swift
[233/252] Compiling SwiftSyntaxMacros ExtensionMacro.swift
[234/252] Compiling SwiftSyntaxMacros MemberMacro.swift
[235/252] Compiling SwiftSyntaxMacros PeerMacro.swift
[236/252] Compiling SwiftSyntaxMacros PreambleMacro.swift
[237/252] Compiling SwiftSyntaxMacros Syntax+LexicalContext.swift
[238/252] Emitting module SwiftSyntaxMacros
[239/252] Compiling SwiftSyntaxMacros AbstractSourceLocation.swift
[240/252] Compiling SwiftSyntaxMacros MacroExpansionContext.swift
[241/252] Compiling SwiftSyntaxMacros MacroExpansionDiagnosticMessages.swift
[242/253] Wrapping AST for SwiftSyntaxMacros for debugging
[244/262] Compiling SwiftSyntaxMacroExpansion MacroSpec.swift
[245/263] Compiling SwiftSyntaxMacroExpansion MacroExpansion.swift
[246/263] Compiling SwiftSyntaxMacroExpansion IndentationUtils.swift
[247/263] Compiling SwiftSyntaxMacroExpansion BasicMacroExpansionContext.swift
[248/263] Compiling SwiftSyntaxMacroExpansion FunctionParameterUtils.swift
[249/263] Emitting module SwiftSyntaxMacroExpansion
[250/263] Compiling SwiftSyntaxMacroExpansion MacroArgument.swift
[251/263] Compiling SwiftSyntaxMacroExpansion MacroReplacement.swift
[252/263] Compiling SwiftSyntaxMacroExpansion MacroExpansionDiagnosticMessages.swift
[253/263] Compiling SwiftSyntaxMacroExpansion MacroSystem.swift
[254/264] Wrapping AST for SwiftSyntaxMacroExpansion for debugging
[256/276] Compiling SwiftCompilerPluginMessageHandling PluginMessageCompatibility.swift
[257/277] Compiling SwiftCompilerPluginMessageHandling LRUCache.swift
[258/277] Compiling SwiftCompilerPluginMessageHandling Macros.swift
[259/277] Compiling SwiftCompilerPluginMessageHandling PluginMacroExpansionContext.swift
[260/277] Compiling SwiftCompilerPluginMessageHandling StandardIOMessageConnection.swift
[261/277] Emitting module SwiftCompilerPluginMessageHandling
[262/277] Compiling SwiftCompilerPluginMessageHandling PluginMessages.swift
[263/277] Compiling SwiftCompilerPluginMessageHandling CompilerPluginMessageHandler.swift
[264/277] Compiling SwiftCompilerPluginMessageHandling Diagnostics.swift
[265/277] Compiling SwiftCompilerPluginMessageHandling CodingUtilities.swift
[266/277] Compiling SwiftCompilerPluginMessageHandling JSON.swift
[267/277] Compiling SwiftCompilerPluginMessageHandling JSONDecoding.swift
[268/277] Compiling SwiftCompilerPluginMessageHandling JSONEncoding.swift
[269/278] Wrapping AST for SwiftCompilerPluginMessageHandling for debugging
[271/280] Compiling SwiftCompilerPlugin CompilerPlugin.swift
[272/280] Emitting module SwiftCompilerPlugin
[273/281] Wrapping AST for SwiftCompilerPlugin for debugging
[275/293] Compiling PapyrusPlugin PapyrusPluginError.swift
[276/294] Compiling PapyrusPlugin EndpointAttribute.swift
[277/294] Compiling PapyrusPlugin EndpointParameter.swift
[278/294] Compiling PapyrusPlugin Plugin.swift
[279/294] Emitting module PapyrusPlugin
[280/294] Compiling PapyrusPlugin String+Utilities.swift
[281/294] Compiling PapyrusPlugin SwiftSyntax+Utilities.swift
[282/294] Compiling PapyrusPlugin MockMacro.swift
[283/294] Compiling PapyrusPlugin RoutesMacro.swift
[284/294] Compiling PapyrusPlugin API.swift
[285/294] Compiling PapyrusPlugin Declaration.swift
[286/294] Compiling PapyrusPlugin APIMacro.swift
[287/294] Compiling PapyrusPlugin DecoratorMacro.swift
[288/295] Wrapping AST for PapyrusPlugin for debugging
[289/295] Write Objects.LinkFileList
[290/295] Linking PapyrusPlugin-tool
[292/343] Compiling Papyrus RequestBuilder.swift
[293/343] Compiling Papyrus PapyrusRouter.swift
[294/343] Compiling Papyrus RequestParser.swift
[295/346] Emitting module Papyrus
[296/346] Compiling Papyrus Coders.swift
[297/346] Compiling Papyrus String+Multipart.swift
[298/346] Compiling Papyrus URLSession+Papyrus.swift
[299/346] Compiling Papyrus CurlInterceptor.swift
[300/346] Compiling Papyrus KeyMappable.swift
[301/346] Compiling Papyrus KeyMapping.swift
[302/346] Compiling Papyrus MultipartDecoder.swift
[303/346] Compiling Papyrus MultipartEncoder.swift
[304/346] Compiling Papyrus Part.swift
[305/346] Compiling Papyrus PapyrusError.swift
[306/346] Compiling Papyrus PapyrusMacros.swift
[307/346] Compiling Papyrus PapyrusRequest.swift
[308/346] Compiling Papyrus PapyrusResponse.swift
[309/346] Compiling Papyrus Provider.swift
[310/346] Compiling Papyrus RouterRequest.swift
[311/346] Compiling Papyrus RouterResponse.swift
[312/346] Compiling Papyrus URLEncodedForm.swift
[313/346] Compiling Papyrus HTTPBodyDecoder.swift
[314/346] Compiling Papyrus HTTPBodyEncoder.swift
[315/346] Compiling Papyrus HTTPService.swift
[316/346] Compiling Papyrus URLEncodedFormDecoder.swift
[317/346] Compiling Papyrus URLEncodedFormEncoder.swift
[318/346] Compiling Papyrus URLEncodedFormNode.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[330/350] Emitting module Papyrus
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:8:41: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 | extension Provider {
7 | public convenience init(baseURL: String,
8 | urlSession: URLSession = .shared,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
9 | modifiers: [RequestModifier] = [],
10 | 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/Sources/Extensions/URLSession+Papyrus.swift:8:55: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
6 | extension Provider {
7 | public convenience init(baseURL: String,
8 | urlSession: URLSession = .shared,
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
9 | modifiers: [RequestModifier] = [],
10 | interceptors: [Interceptor] = []) {
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:17:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
15 | // MARK: `HTTPService` Conformance
16 |
17 | extension URLSession: HTTPService {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
18 | public func build(method: String, url: URL, headers: [String: String], body: Data?) -> PapyrusRequest {
19 | var request = URLRequest(url: url)
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:50:28: error: cannot find type 'URLRequest' in scope
48 |
49 | extension PapyrusResponse {
50 | public var urlRequest: URLRequest { (self as! _Response).urlRequest }
| `- error: cannot find type 'URLRequest' in scope
51 | public var urlResponse: URLResponse? { (self as! _Response).urlResponse }
52 | }
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:51:29: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
49 | extension PapyrusResponse {
50 | public var urlRequest: URLRequest { (self as! _Response).urlRequest }
51 | 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.
52 | }
53 |
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/Sources/Extensions/URLSession+Papyrus.swift:55:21: error: cannot find type 'URLRequest' in scope
53 |
54 | private struct _Response: PapyrusResponse {
55 | let urlRequest: URLRequest
| `- error: cannot find type 'URLRequest' in scope
56 | let urlResponse: URLResponse?
57 |
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:56:22: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
54 | private struct _Response: PapyrusResponse {
55 | let urlRequest: URLRequest
56 | let urlResponse: URLResponse?
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
57 |
58 | var request: PapyrusRequest? { 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/Sources/Extensions/URLSession+Papyrus.swift:64:19: error: cannot find type 'URLRequest' in scope
62 | var statusCode: Int? { (urlResponse as? HTTPURLResponse)?.statusCode }
63 |
64 | init(request: URLRequest, response: URLResponse?, error: Error?, body: Data?) {
| `- error: cannot find type 'URLRequest' in scope
65 | self.urlRequest = request
66 | self.urlResponse = response
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:64:41: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
62 | var statusCode: Int? { (urlResponse as? HTTPURLResponse)?.statusCode }
63 |
64 | 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.
65 | self.urlRequest = request
66 | 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/Sources/Extensions/URLSession+Papyrus.swift:89:28: error: cannot find type 'URLRequest' in scope
87 |
88 | extension PapyrusRequest {
89 | public var urlRequest: URLRequest {
| `- error: cannot find type 'URLRequest' in scope
90 | (self as! URLRequest)
91 | }
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:94:11: error: cannot find type 'URLRequest' in scope
92 | }
93 |
94 | extension URLRequest: PapyrusRequest {
| `- error: cannot find type 'URLRequest' in scope
95 | public var body: Data? {
96 | get { httpBody }
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:8:41: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 | extension Provider {
7 | public convenience init(baseURL: String,
8 | urlSession: URLSession = .shared,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
9 | modifiers: [RequestModifier] = [],
10 | 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/Sources/Extensions/URLSession+Papyrus.swift:8:55: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
6 | extension Provider {
7 | public convenience init(baseURL: String,
8 | urlSession: URLSession = .shared,
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
9 | modifiers: [RequestModifier] = [],
10 | interceptors: [Interceptor] = []) {
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:17:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
15 | // MARK: `HTTPService` Conformance
16 |
17 | extension URLSession: HTTPService {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
18 | public func build(method: String, url: URL, headers: [String: String], body: Data?) -> PapyrusRequest {
19 | var request = URLRequest(url: url)
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:50:28: error: cannot find type 'URLRequest' in scope
48 |
49 | extension PapyrusResponse {
50 | public var urlRequest: URLRequest { (self as! _Response).urlRequest }
| `- error: cannot find type 'URLRequest' in scope
51 | public var urlResponse: URLResponse? { (self as! _Response).urlResponse }
52 | }
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:51:29: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
49 | extension PapyrusResponse {
50 | public var urlRequest: URLRequest { (self as! _Response).urlRequest }
51 | 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.
52 | }
53 |
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/Sources/Extensions/URLSession+Papyrus.swift:55:21: error: cannot find type 'URLRequest' in scope
53 |
54 | private struct _Response: PapyrusResponse {
55 | let urlRequest: URLRequest
| `- error: cannot find type 'URLRequest' in scope
56 | let urlResponse: URLResponse?
57 |
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:56:22: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
54 | private struct _Response: PapyrusResponse {
55 | let urlRequest: URLRequest
56 | let urlResponse: URLResponse?
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
57 |
58 | var request: PapyrusRequest? { 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/Sources/Extensions/URLSession+Papyrus.swift:64:19: error: cannot find type 'URLRequest' in scope
62 | var statusCode: Int? { (urlResponse as? HTTPURLResponse)?.statusCode }
63 |
64 | init(request: URLRequest, response: URLResponse?, error: Error?, body: Data?) {
| `- error: cannot find type 'URLRequest' in scope
65 | self.urlRequest = request
66 | self.urlResponse = response
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:64:41: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
62 | var statusCode: Int? { (urlResponse as? HTTPURLResponse)?.statusCode }
63 |
64 | 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.
65 | self.urlRequest = request
66 | 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/Sources/Extensions/URLSession+Papyrus.swift:89:28: error: cannot find type 'URLRequest' in scope
87 |
88 | extension PapyrusRequest {
89 | public var urlRequest: URLRequest {
| `- error: cannot find type 'URLRequest' in scope
90 | (self as! URLRequest)
91 | }
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:94:11: error: cannot find type 'URLRequest' in scope
92 | }
93 |
94 | extension URLRequest: PapyrusRequest {
| `- error: cannot find type 'URLRequest' in scope
95 | public var body: Data? {
96 | get { httpBody }
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:11:43: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'HTTPService'
9 | modifiers: [RequestModifier] = [],
10 | interceptors: [Interceptor] = []) {
11 | self.init(baseURL: baseURL, http: urlSession, modifiers: modifiers, interceptors: interceptors)
| `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'HTTPService'
12 | }
13 | }
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:62:41: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
60 | let body: Data?
61 | let headers: [String: String]?
62 | var statusCode: Int? { (urlResponse as? HTTPURLResponse)?.statusCode }
| `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
63 |
64 | init(request: URLRequest, response: URLResponse?, error: Error?, body: Data?) {
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:62:63: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
60 | let body: Data?
61 | let headers: [String: String]?
62 | var statusCode: Int? { (urlResponse as? HTTPURLResponse)?.statusCode }
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
63 |
64 | init(request: URLRequest, response: URLResponse?, error: Error?, body: Data?) {
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:69:37: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
67 | self.error = error
68 | self.body = body
69 | let headerPairs = (response as? HTTPURLResponse)?
| `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
70 | .allHeaderFields
71 | .compactMap { key, value -> (String, String)? in
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:70:14: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
68 | self.body = body
69 | let headerPairs = (response as? HTTPURLResponse)?
70 | .allHeaderFields
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
71 | .compactMap { key, value -> (String, String)? in
72 | guard let key = key as? String, let value = value as? String else {
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:8:41: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 | extension Provider {
7 | public convenience init(baseURL: String,
8 | urlSession: URLSession = .shared,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
9 | modifiers: [RequestModifier] = [],
10 | 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/Sources/Extensions/URLSession+Papyrus.swift:8:55: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
6 | extension Provider {
7 | public convenience init(baseURL: String,
8 | urlSession: URLSession = .shared,
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
9 | modifiers: [RequestModifier] = [],
10 | interceptors: [Interceptor] = []) {
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:17:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
15 | // MARK: `HTTPService` Conformance
16 |
17 | extension URLSession: HTTPService {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
18 | public func build(method: String, url: URL, headers: [String: String], body: Data?) -> PapyrusRequest {
19 | var request = URLRequest(url: url)
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:50:28: error: cannot find type 'URLRequest' in scope
48 |
49 | extension PapyrusResponse {
50 | public var urlRequest: URLRequest { (self as! _Response).urlRequest }
| `- error: cannot find type 'URLRequest' in scope
51 | public var urlResponse: URLResponse? { (self as! _Response).urlResponse }
52 | }
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:51:29: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
49 | extension PapyrusResponse {
50 | public var urlRequest: URLRequest { (self as! _Response).urlRequest }
51 | 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.
52 | }
53 |
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/Sources/Extensions/URLSession+Papyrus.swift:55:21: error: cannot find type 'URLRequest' in scope
53 |
54 | private struct _Response: PapyrusResponse {
55 | let urlRequest: URLRequest
| `- error: cannot find type 'URLRequest' in scope
56 | let urlResponse: URLResponse?
57 |
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:56:22: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
54 | private struct _Response: PapyrusResponse {
55 | let urlRequest: URLRequest
56 | let urlResponse: URLResponse?
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
57 |
58 | var request: PapyrusRequest? { 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/Sources/Extensions/URLSession+Papyrus.swift:64:19: error: cannot find type 'URLRequest' in scope
62 | var statusCode: Int? { (urlResponse as? HTTPURLResponse)?.statusCode }
63 |
64 | init(request: URLRequest, response: URLResponse?, error: Error?, body: Data?) {
| `- error: cannot find type 'URLRequest' in scope
65 | self.urlRequest = request
66 | self.urlResponse = response
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:64:41: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
62 | var statusCode: Int? { (urlResponse as? HTTPURLResponse)?.statusCode }
63 |
64 | 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.
65 | self.urlRequest = request
66 | 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/Sources/Extensions/URLSession+Papyrus.swift:89:28: error: cannot find type 'URLRequest' in scope
87 |
88 | extension PapyrusRequest {
89 | public var urlRequest: URLRequest {
| `- error: cannot find type 'URLRequest' in scope
90 | (self as! URLRequest)
91 | }
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:94:11: error: cannot find type 'URLRequest' in scope
92 | }
93 |
94 | extension URLRequest: PapyrusRequest {
| `- error: cannot find type 'URLRequest' in scope
95 | public var body: Data? {
96 | get { httpBody }
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:11:43: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'HTTPService'
9 | modifiers: [RequestModifier] = [],
10 | interceptors: [Interceptor] = []) {
11 | self.init(baseURL: baseURL, http: urlSession, modifiers: modifiers, interceptors: interceptors)
| `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'HTTPService'
12 | }
13 | }
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:62:41: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
60 | let body: Data?
61 | let headers: [String: String]?
62 | var statusCode: Int? { (urlResponse as? HTTPURLResponse)?.statusCode }
| `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
63 |
64 | init(request: URLRequest, response: URLResponse?, error: Error?, body: Data?) {
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:62:63: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
60 | let body: Data?
61 | let headers: [String: String]?
62 | var statusCode: Int? { (urlResponse as? HTTPURLResponse)?.statusCode }
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
63 |
64 | init(request: URLRequest, response: URLResponse?, error: Error?, body: Data?) {
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:69:37: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
67 | self.error = error
68 | self.body = body
69 | let headerPairs = (response as? HTTPURLResponse)?
| `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
70 | .allHeaderFields
71 | .compactMap { key, value -> (String, String)? in
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:70:14: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
68 | self.body = body
69 | let headerPairs = (response as? HTTPURLResponse)?
70 | .allHeaderFields
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
71 | .compactMap { key, value -> (String, String)? in
72 | guard let key = key as? String, let value = value as? String else {
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:8:41: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 | extension Provider {
7 | public convenience init(baseURL: String,
8 | urlSession: URLSession = .shared,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
9 | modifiers: [RequestModifier] = [],
10 | 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/Sources/Extensions/URLSession+Papyrus.swift:8:55: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
6 | extension Provider {
7 | public convenience init(baseURL: String,
8 | urlSession: URLSession = .shared,
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
9 | modifiers: [RequestModifier] = [],
10 | interceptors: [Interceptor] = []) {
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:17:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
15 | // MARK: `HTTPService` Conformance
16 |
17 | extension URLSession: HTTPService {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
18 | public func build(method: String, url: URL, headers: [String: String], body: Data?) -> PapyrusRequest {
19 | var request = URLRequest(url: url)
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:50:28: error: cannot find type 'URLRequest' in scope
48 |
49 | extension PapyrusResponse {
50 | public var urlRequest: URLRequest { (self as! _Response).urlRequest }
| `- error: cannot find type 'URLRequest' in scope
51 | public var urlResponse: URLResponse? { (self as! _Response).urlResponse }
52 | }
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:51:29: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
49 | extension PapyrusResponse {
50 | public var urlRequest: URLRequest { (self as! _Response).urlRequest }
51 | 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.
52 | }
53 |
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/Sources/Extensions/URLSession+Papyrus.swift:55:21: error: cannot find type 'URLRequest' in scope
53 |
54 | private struct _Response: PapyrusResponse {
55 | let urlRequest: URLRequest
| `- error: cannot find type 'URLRequest' in scope
56 | let urlResponse: URLResponse?
57 |
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:56:22: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
54 | private struct _Response: PapyrusResponse {
55 | let urlRequest: URLRequest
56 | let urlResponse: URLResponse?
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
57 |
58 | var request: PapyrusRequest? { 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/Sources/Extensions/URLSession+Papyrus.swift:64:19: error: cannot find type 'URLRequest' in scope
62 | var statusCode: Int? { (urlResponse as? HTTPURLResponse)?.statusCode }
63 |
64 | init(request: URLRequest, response: URLResponse?, error: Error?, body: Data?) {
| `- error: cannot find type 'URLRequest' in scope
65 | self.urlRequest = request
66 | self.urlResponse = response
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:64:41: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
62 | var statusCode: Int? { (urlResponse as? HTTPURLResponse)?.statusCode }
63 |
64 | 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.
65 | self.urlRequest = request
66 | 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/Sources/Extensions/URLSession+Papyrus.swift:89:28: error: cannot find type 'URLRequest' in scope
87 |
88 | extension PapyrusRequest {
89 | public var urlRequest: URLRequest {
| `- error: cannot find type 'URLRequest' in scope
90 | (self as! URLRequest)
91 | }
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:94:11: error: cannot find type 'URLRequest' in scope
92 | }
93 |
94 | extension URLRequest: PapyrusRequest {
| `- error: cannot find type 'URLRequest' in scope
95 | public var body: Data? {
96 | get { httpBody }
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:11:43: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'HTTPService'
9 | modifiers: [RequestModifier] = [],
10 | interceptors: [Interceptor] = []) {
11 | self.init(baseURL: baseURL, http: urlSession, modifiers: modifiers, interceptors: interceptors)
| `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'HTTPService'
12 | }
13 | }
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:62:41: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
60 | let body: Data?
61 | let headers: [String: String]?
62 | var statusCode: Int? { (urlResponse as? HTTPURLResponse)?.statusCode }
| `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
63 |
64 | init(request: URLRequest, response: URLResponse?, error: Error?, body: Data?) {
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:62:63: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
60 | let body: Data?
61 | let headers: [String: String]?
62 | var statusCode: Int? { (urlResponse as? HTTPURLResponse)?.statusCode }
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
63 |
64 | init(request: URLRequest, response: URLResponse?, error: Error?, body: Data?) {
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:69:37: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
67 | self.error = error
68 | self.body = body
69 | let headerPairs = (response as? HTTPURLResponse)?
| `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
70 | .allHeaderFields
71 | .compactMap { key, value -> (String, String)? in
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:70:14: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
68 | self.body = body
69 | let headerPairs = (response as? HTTPURLResponse)?
70 | .allHeaderFields
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
71 | .compactMap { key, value -> (String, String)? in
72 | guard let key = key as? String, let value = value as? String else {
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:8:41: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 | extension Provider {
7 | public convenience init(baseURL: String,
8 | urlSession: URLSession = .shared,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
9 | modifiers: [RequestModifier] = [],
10 | 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/Sources/Extensions/URLSession+Papyrus.swift:8:55: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
6 | extension Provider {
7 | public convenience init(baseURL: String,
8 | urlSession: URLSession = .shared,
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
9 | modifiers: [RequestModifier] = [],
10 | interceptors: [Interceptor] = []) {
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:17:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
15 | // MARK: `HTTPService` Conformance
16 |
17 | extension URLSession: HTTPService {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
18 | public func build(method: String, url: URL, headers: [String: String], body: Data?) -> PapyrusRequest {
19 | var request = URLRequest(url: url)
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:50:28: error: cannot find type 'URLRequest' in scope
48 |
49 | extension PapyrusResponse {
50 | public var urlRequest: URLRequest { (self as! _Response).urlRequest }
| `- error: cannot find type 'URLRequest' in scope
51 | public var urlResponse: URLResponse? { (self as! _Response).urlResponse }
52 | }
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:51:29: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
49 | extension PapyrusResponse {
50 | public var urlRequest: URLRequest { (self as! _Response).urlRequest }
51 | 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.
52 | }
53 |
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/Sources/Extensions/URLSession+Papyrus.swift:55:21: error: cannot find type 'URLRequest' in scope
53 |
54 | private struct _Response: PapyrusResponse {
55 | let urlRequest: URLRequest
| `- error: cannot find type 'URLRequest' in scope
56 | let urlResponse: URLResponse?
57 |
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:56:22: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
54 | private struct _Response: PapyrusResponse {
55 | let urlRequest: URLRequest
56 | let urlResponse: URLResponse?
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
57 |
58 | var request: PapyrusRequest? { 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/Sources/Extensions/URLSession+Papyrus.swift:64:19: error: cannot find type 'URLRequest' in scope
62 | var statusCode: Int? { (urlResponse as? HTTPURLResponse)?.statusCode }
63 |
64 | init(request: URLRequest, response: URLResponse?, error: Error?, body: Data?) {
| `- error: cannot find type 'URLRequest' in scope
65 | self.urlRequest = request
66 | self.urlResponse = response
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:64:41: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
62 | var statusCode: Int? { (urlResponse as? HTTPURLResponse)?.statusCode }
63 |
64 | 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.
65 | self.urlRequest = request
66 | 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/Sources/Extensions/URLSession+Papyrus.swift:89:28: error: cannot find type 'URLRequest' in scope
87 |
88 | extension PapyrusRequest {
89 | public var urlRequest: URLRequest {
| `- error: cannot find type 'URLRequest' in scope
90 | (self as! URLRequest)
91 | }
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:94:11: error: cannot find type 'URLRequest' in scope
92 | }
93 |
94 | extension URLRequest: PapyrusRequest {
| `- error: cannot find type 'URLRequest' in scope
95 | public var body: Data? {
96 | get { httpBody }
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:11:43: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'HTTPService'
9 | modifiers: [RequestModifier] = [],
10 | interceptors: [Interceptor] = []) {
11 | self.init(baseURL: baseURL, http: urlSession, modifiers: modifiers, interceptors: interceptors)
| `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'HTTPService'
12 | }
13 | }
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:62:41: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
60 | let body: Data?
61 | let headers: [String: String]?
62 | var statusCode: Int? { (urlResponse as? HTTPURLResponse)?.statusCode }
| `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
63 |
64 | init(request: URLRequest, response: URLResponse?, error: Error?, body: Data?) {
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:62:63: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
60 | let body: Data?
61 | let headers: [String: String]?
62 | var statusCode: Int? { (urlResponse as? HTTPURLResponse)?.statusCode }
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
63 |
64 | init(request: URLRequest, response: URLResponse?, error: Error?, body: Data?) {
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:69:37: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
67 | self.error = error
68 | self.body = body
69 | let headerPairs = (response as? HTTPURLResponse)?
| `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
70 | .allHeaderFields
71 | .compactMap { key, value -> (String, String)? in
/host/spi-builder-workspace/Papyrus/Sources/Extensions/URLSession+Papyrus.swift:70:14: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
68 | self.body = body
69 | let headerPairs = (response as? HTTPURLResponse)?
70 | .allHeaderFields
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
71 | .compactMap { key, value -> (String, String)? in
72 | guard let key = key as? String, let value = value as? String else {
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[344/350] Compiling Papyrus URLEncodedFormDecoder.swift
[345/350] Compiling Papyrus URLEncodedFormEncoder.swift
[346/350] Compiling Papyrus URLEncodedFormNode.swift
BUILD FAILURE 6.2 android