Build Information
Failed to build papyrus, reference v0.6.16 (0a424d
), with Swift 6.1 for Android on 29 May 2025 09:42:58 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
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.1
Building package at path: $PWD
https://github.com/joshuawright11/papyrus.git
https://github.com/joshuawright11/papyrus.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "alamofire",
"requirement" : {
"range" : [
{
"lower_bound" : "5.7.1",
"upper_bound" : "6.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Alamofire/Alamofire.git"
},
{
"identity" : "swift-syntax",
"requirement" : {
"range" : [
{
"lower_bound" : "510.0.0",
"upper_bound" : "511.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-syntax"
},
{
"identity" : "swift-macro-testing",
"requirement" : {
"range" : [
{
"lower_bound" : "0.1.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/pointfreeco/swift-macro-testing"
}
],
"manifest_display_name" : "papyrus",
"name" : "papyrus",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "tvos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "Example",
"targets" : [
"Example"
],
"type" : {
"executable" : null
}
},
{
"name" : "Papyrus",
"targets" : [
"Papyrus"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "PapyrusAlamofire",
"targets" : [
"PapyrusAlamofire"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "PapyrusCore",
"targets" : [
"PapyrusCore"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "PapyrusPlugin",
"targets" : [
"PapyrusPlugin"
],
"type" : {
"macro" : null
}
}
],
"targets" : [
{
"c99name" : "PapyrusPluginTests",
"module_type" : "SwiftTarget",
"name" : "PapyrusPluginTests",
"path" : "PapyrusPlugin/Tests",
"product_dependencies" : [
"MacroTesting"
],
"sources" : [
"APIMacroTests.swift"
],
"target_dependencies" : [
"PapyrusPlugin"
],
"type" : "test"
},
{
"c99name" : "PapyrusPlugin",
"module_type" : "SwiftTarget",
"name" : "PapyrusPlugin",
"path" : "PapyrusPlugin/Sources",
"product_dependencies" : [
"SwiftSyntax",
"SwiftSyntaxMacros",
"SwiftOperators",
"SwiftParser",
"SwiftParserDiagnostics",
"SwiftCompilerPlugin"
],
"product_memberships" : [
"Example",
"Papyrus",
"PapyrusAlamofire",
"PapyrusCore",
"PapyrusPlugin"
],
"sources" : [
"APIAttribute.swift",
"APIMacro.swift",
"DecoratorMacro.swift",
"MockMacro.swift",
"PapyrusPluginError.swift",
"Plugin.swift",
"Utilities/AttributeSyntax+Utilities.swift",
"Utilities/FunctionDeclSyntax+Utilities.swift",
"Utilities/FunctionParameterSyntax+Utilities.swift",
"Utilities/Macro+Utilities.swift",
"Utilities/ProtocolDeclSyntax+Utilities.swift",
"Utilities/String+Utilities.swift"
],
"type" : "macro"
},
{
"c99name" : "PapyrusCoreTests",
"module_type" : "SwiftTarget",
"name" : "PapyrusCoreTests",
"path" : "PapyrusCore/Tests",
"sources" : [
"APITests.swift",
"CurlTests.swift",
"KeyMappingTests.swift",
"ParameterTests.swift",
"ProviderTests.swift",
"RequestBuilderTests.swift",
"RequestEncoderTests.swift",
"ResponseDecoderTests.swift",
"ResponseTests.swift"
],
"target_dependencies" : [
"PapyrusCore"
],
"type" : "test"
},
{
"c99name" : "PapyrusCore",
"module_type" : "SwiftTarget",
"name" : "PapyrusCore",
"path" : "PapyrusCore/Sources",
"product_memberships" : [
"Example",
"Papyrus",
"PapyrusAlamofire",
"PapyrusCore"
],
"sources" : [
"HTTPService.swift",
"Interceptors/CurlInterceptor.swift",
"KeyMapping.swift",
"Macros.swift",
"Multipart/MultipartEncoder.swift",
"Multipart/Part.swift",
"PapyrusError.swift",
"Provider.swift",
"Request.swift",
"RequestBuilder.swift",
"RequestEncoder.swift",
"Response.swift",
"ResponseDecoder.swift",
"URLEncoder/URLEncodedForm.swift",
"URLEncoder/URLEncodedFormDecoder.swift",
"URLEncoder/URLEncodedFormEncoder.swift",
"URLEncoder/URLEncodedFormNode.swift"
],
"target_dependencies" : [
"PapyrusPlugin"
],
"type" : "library"
},
{
"c99name" : "PapyrusAlamofire",
"module_type" : "SwiftTarget",
"name" : "PapyrusAlamofire",
"path" : "PapyrusAlamofire",
"product_dependencies" : [
"Alamofire"
],
"product_memberships" : [
"PapyrusAlamofire"
],
"sources" : [
"Alamofire+Papyrus.swift"
],
"target_dependencies" : [
"PapyrusCore"
],
"type" : "library"
},
{
"c99name" : "Papyrus",
"module_type" : "SwiftTarget",
"name" : "Papyrus",
"path" : "Papyrus",
"product_memberships" : [
"Example",
"Papyrus"
],
"sources" : [
"URLSession+Papyrus.swift"
],
"target_dependencies" : [
"PapyrusCore"
],
"type" : "library"
},
{
"c99name" : "Example",
"module_type" : "SwiftTarget",
"name" : "Example",
"path" : "Example",
"product_memberships" : [
"Example"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"Papyrus"
],
"type" : "executable"
}
],
"tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/pointfreeco/swift-macro-testing
Fetching https://github.com/Alamofire/Alamofire.git
Fetching https://github.com/apple/swift-syntax
[1/30141] Fetching alamofire
[2714/31049] Fetching alamofire, swift-macro-testing
Fetched https://github.com/pointfreeco/swift-macro-testing from cache (0.91s)
[3617/30141] Fetching alamofire
[4221/100593] Fetching alamofire, swift-syntax
Fetched https://github.com/Alamofire/Alamofire.git from cache (8.40s)
Fetched https://github.com/apple/swift-syntax from cache (11.96s)
Computing version for https://github.com/apple/swift-syntax
Computed https://github.com/apple/swift-syntax at 510.0.3 (16.24s)
Computing version for https://github.com/Alamofire/Alamofire.git
Computed https://github.com/Alamofire/Alamofire.git at 5.10.2 (1.22s)
Computing version for https://github.com/pointfreeco/swift-macro-testing
Computed https://github.com/pointfreeco/swift-macro-testing at 0.6.3 (1.15s)
Fetching https://github.com/pointfreeco/swift-snapshot-testing
[1/13189] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (3.13s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.18.4 (4.13s)
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/4581] Fetching swift-custom-dump
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (0.55s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (1.54s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5458] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (1.20s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.5.2 (2.22s)
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/Alamofire/Alamofire.git
Working copy of https://github.com/Alamofire/Alamofire.git resolved at 5.10.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.5.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.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
warning: 'swift-macro-testing': 'swift-macro-testing' dependency on 'https://github.com/swiftlang/swift-syntax' conflicts with dependency on 'https://github.com/apple/swift-syntax' which has the same identity 'swift-syntax'. this will be escalated to an error in future versions of SwiftPM.
warning: 'swift-snapshot-testing': 'swift-snapshot-testing' dependency on 'https://github.com/swiftlang/swift-syntax' conflicts with dependency on 'https://github.com/apple/swift-syntax' which has the same identity 'swift-syntax'. this will be escalated to an error in future versions of SwiftPM.
Building for debugging...
[0/43] Write sources
[8/43] Copying PrivacyInfo.xcprivacy
[21/43] Write swift-version-24593BA9C3E375BF.txt
[23/86] Emitting module SwiftSyntax509
[24/86] Compiling SwiftSyntax509 Empty.swift
[26/87] Emitting module SwiftSyntax510
[27/87] Compiling SwiftSyntax510 Empty.swift
[28/148] Wrapping AST for SwiftSyntax510 for debugging
[29/148] Wrapping AST for SwiftSyntax509 for debugging
[31/148] Compiling SwiftSyntax Convenience.swift
[32/148] Compiling SwiftSyntax MemoryLayout.swift
[33/148] Compiling SwiftSyntax MissingNodeInitializers.swift
[34/148] Compiling SwiftSyntax SyntaxArena.swift
[35/148] Compiling SwiftSyntax SyntaxChildren.swift
[36/148] Compiling SwiftSyntax SyntaxCollection.swift
[37/153] Compiling SwiftSyntax TokenDiagnostic.swift
[38/153] Compiling SwiftSyntax TokenSequence.swift
[39/153] Compiling SwiftSyntax TokenSyntax.swift
[40/153] Compiling SwiftSyntax Trivia.swift
[41/153] Compiling SwiftSyntax Utils.swift
[42/153] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[43/153] Compiling SwiftSyntax Syntax.swift
[44/153] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[45/153] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[46/153] Compiling SwiftSyntax SyntaxBaseNodes.swift
[47/153] Compiling SwiftSyntax SyntaxHashable.swift
[48/153] Compiling SwiftSyntax SyntaxIdentifier.swift
[49/153] Compiling SwiftSyntax SyntaxNodeStructure.swift
[50/153] Compiling SwiftSyntax SyntaxProtocol.swift
[51/153] Compiling SwiftSyntax SyntaxText.swift
[52/153] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[53/153] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[54/153] Compiling SwiftSyntax RawSyntaxTokenView.swift
[55/153] Compiling SwiftSyntax SourceLength.swift
[56/153] Compiling SwiftSyntax SourceLocation.swift
[57/153] Compiling SwiftSyntax SourcePresence.swift
[58/153] Compiling SwiftSyntax ChildNameForKeyPath.swift
[59/153] Compiling SwiftSyntax Keyword.swift
[60/153] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[61/153] Compiling SwiftSyntax RawSyntax.swift
[62/153] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[63/153] Emitting module Alamofire
[64/153] Compiling SwiftSyntax AbsolutePosition.swift
[65/153] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[66/153] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[67/153] Compiling SwiftSyntax Assert.swift
[68/153] Compiling SwiftSyntax BumpPtrAllocator.swift
[69/153] Compiling SwiftSyntax CommonAncestor.swift
[70/153] Emitting module SwiftSyntax
[71/161] Compiling Alamofire RetryPolicy.swift
[72/161] Compiling Alamofire ServerTrustEvaluation.swift
[73/161] Compiling Alamofire URLEncodedFormEncoder.swift
[74/161] Compiling Alamofire Validation.swift
[75/161] Compiling Alamofire resource_bundle_accessor.swift
[112/162] Compiling SwiftSyntax SyntaxTransform.swift
[113/162] Compiling SwiftSyntax SyntaxVisitor.swift
[114/162] Compiling SwiftSyntax TokenKind.swift
[115/162] Compiling SwiftSyntax Tokens.swift
[116/162] Compiling SwiftSyntax TriviaPieces.swift
[117/162] Compiling SwiftSyntax RawSyntaxNodesAB.swift
[118/162] Compiling SwiftSyntax RawSyntaxNodesC.swift
[119/162] Compiling SwiftSyntax RawSyntaxNodesD.swift
[128/162] Compiling SwiftSyntax RawSyntaxNodesEF.swift
[129/162] Compiling SwiftSyntax RawSyntaxNodesGHI.swift
[130/162] Compiling SwiftSyntax RawSyntaxNodesJKLMN.swift
[131/162] Compiling SwiftSyntax RawSyntaxNodesOP.swift
[132/162] Compiling SwiftSyntax RawSyntaxNodesQRS.swift
[133/162] Compiling SwiftSyntax RawSyntaxNodesTUVWXYZ.swift
[134/162] Compiling SwiftSyntax RawSyntaxValidation.swift
[135/162] Compiling SwiftSyntax SyntaxNodesAB.swift
[136/162] Compiling SwiftSyntax SyntaxNodesC.swift
[137/162] Compiling SwiftSyntax SyntaxNodesD.swift
[138/162] Compiling SwiftSyntax SyntaxNodesEF.swift
[139/162] Compiling SwiftSyntax SyntaxNodesGHI.swift
[140/162] Compiling SwiftSyntax SyntaxNodesJKLMN.swift
[141/162] Compiling SwiftSyntax SyntaxNodesOP.swift
[142/162] Compiling SwiftSyntax SyntaxNodesQRS.swift
[143/162] Compiling SwiftSyntax SyntaxNodesTUVWXYZ.swift
[144/163] Wrapping AST for SwiftSyntax for debugging
[146/214] Emitting module SwiftDiagnostics
[147/214] Compiling SwiftDiagnostics Note.swift
[148/214] Emitting module SwiftBasicFormat
[149/214] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[150/214] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[151/214] Compiling SwiftDiagnostics Message.swift
[152/214] Compiling SwiftBasicFormat Syntax+Extensions.swift
[153/214] Compiling SwiftDiagnostics Convenience.swift
[154/214] Compiling SwiftDiagnostics FixIt.swift
[155/214] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[156/214] Compiling SwiftDiagnostics Diagnostic.swift
[157/214] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[159/215] Compiling SwiftBasicFormat BasicFormat.swift
[159/216] Wrapping AST for SwiftDiagnostics for debugging
[161/216] Wrapping AST for SwiftBasicFormat for debugging
[163/216] Compiling SwiftParser Modifiers.swift
[164/216] Compiling SwiftParser Names.swift
[165/216] Compiling SwiftParser Nominals.swift
[166/216] Compiling SwiftParser Parameters.swift
[167/216] Compiling SwiftParser ParseSourceFile.swift
[168/221] Emitting module SwiftParser
[169/221] Compiling SwiftParser Lexer.swift
[170/221] Compiling SwiftParser RegexLiteralLexer.swift
[171/221] Compiling SwiftParser UnicodeScalarExtensions.swift
[172/221] Compiling SwiftParser Lookahead.swift
[173/221] Compiling SwiftParser LoopProgressCondition.swift
[174/221] Compiling SwiftParser TokenPrecedence.swift
[175/221] Compiling SwiftParser TokenSpec.swift
[176/221] Compiling SwiftParser TokenSpecSet.swift
[177/221] Compiling SwiftParser TopLevel.swift
[178/221] Compiling SwiftParser TriviaParser.swift
[179/221] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[180/221] Compiling SwiftParser StringLiterals.swift
[181/221] Compiling SwiftParser SwiftParserCompatibility.swift
[182/221] Compiling SwiftParser SyntaxUtils.swift
[183/221] Compiling SwiftParser TokenConsumer.swift
[184/221] Compiling SwiftParser Parser.swift
[185/221] Compiling SwiftParser Patterns.swift
[186/221] Compiling SwiftParser Recovery.swift
[187/221] Compiling SwiftParser Specifiers.swift
[188/221] Compiling SwiftParser Statements.swift
[189/221] Compiling SwiftParser Types.swift
[190/221] Compiling SwiftParser IsLexerClassified.swift
[191/221] Compiling SwiftParser LayoutNodes+Parsable.swift
[192/221] Compiling SwiftParser Parser+TokenSpecSet.swift
[193/221] Compiling SwiftParser TokenSpecStaticMembers.swift
[194/221] Compiling SwiftParser Attributes.swift
[195/221] Compiling SwiftParser Availability.swift
[196/221] Compiling SwiftParser CharacterInfo.swift
[197/221] Compiling SwiftParser CollectionNodes+Parsable.swift
[198/221] Compiling SwiftParser Declarations.swift
[199/221] Compiling SwiftParser Directives.swift
[200/221] Compiling SwiftParser ExperimentalFeatures.swift
[201/221] Compiling SwiftParser Expressions.swift
[202/221] Compiling SwiftParser IncrementalParseTransition.swift
[203/221] Compiling SwiftParser Cursor.swift
[204/221] Compiling SwiftParser Lexeme.swift
[205/221] Compiling SwiftParser LexemeSequence.swift
[206/222] Wrapping AST for SwiftParser for debugging
[208/245] Compiling SwiftOperators PrecedenceGroup.swift
[209/245] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[210/247] Compiling SwiftParserDiagnostics DiagnosticExtensions.swift
[211/247] Compiling SwiftParserDiagnostics LexerDiagnosticMessages.swift
[212/247] Compiling SwiftOperators PrecedenceGraph.swift
[213/247] Compiling SwiftOperators OperatorTable.swift
[214/247] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[215/247] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[216/247] Compiling SwiftParserDiagnostics Utils.swift
[217/247] Compiling SwiftOperators SyntaxSynthesis.swift
[218/247] Emitting module SwiftOperators
[219/247] Compiling SwiftOperators OperatorTable+Folding.swift
[220/247] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[221/247] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[222/247] Compiling SwiftOperators OperatorTable+Semantics.swift
[223/248] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[224/248] Wrapping AST for SwiftOperators for debugging
[228/248] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[229/248] Compiling SwiftParserDiagnostics PresenceUtils.swift
[230/248] Compiling SwiftParserDiagnostics MissingNodesError.swift
[231/248] Compiling SwiftParserDiagnostics MissingTokenError.swift
[232/248] Emitting module SwiftParserDiagnostics
[235/249] Wrapping AST for SwiftParserDiagnostics for debugging
[237/263] Compiling SwiftSyntaxBuilder Indenter.swift
[238/263] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[239/263] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[240/263] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[241/263] Emitting module SwiftSyntaxBuilder
[242/264] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[243/264] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[244/264] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[245/264] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[246/264] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[247/264] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[248/264] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[249/264] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[250/264] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[251/264] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[252/265] Wrapping AST for SwiftSyntaxBuilder for debugging
[254/279] Compiling SwiftSyntaxMacros CodeItemMacro.swift
[255/279] Compiling SwiftSyntaxMacros DeclarationMacro.swift
[256/279] Compiling SwiftSyntaxMacros AccessorMacro.swift
[257/279] Compiling SwiftSyntaxMacros AttachedMacro.swift
[258/279] Compiling SwiftSyntaxMacros ExpressionMacro.swift
[259/279] Compiling SwiftSyntaxMacros ExtensionMacro.swift
[260/280] Compiling SwiftSyntaxMacros FreestandingMacro.swift
[261/280] Compiling SwiftSyntaxMacros Macro+Format.swift
[262/280] Compiling SwiftSyntaxMacros Macro.swift
[263/280] Compiling SwiftSyntaxMacros MemberAttributeMacro.swift
[264/280] Compiling SwiftSyntaxMacros MemberMacro.swift
[265/280] Emitting module SwiftSyntaxMacros
[266/280] Compiling SwiftSyntaxMacros AbstractSourceLocation.swift
[267/280] Compiling SwiftSyntaxMacros MacroExpansionContext.swift
[268/280] Compiling SwiftSyntaxMacros PeerMacro.swift
[269/281] Wrapping AST for SwiftSyntaxMacros for debugging
[271/289] Compiling SwiftSyntaxMacroExpansion FunctionParameterUtils.swift
[272/289] Compiling SwiftSyntaxMacroExpansion BasicMacroExpansionContext.swift
[273/289] Compiling SwiftSyntaxMacroExpansion MacroReplacement.swift
[274/289] Emitting module SwiftSyntaxMacroExpansion
[275/289] Compiling SwiftSyntaxMacroExpansion MacroExpansion.swift
[276/289] Compiling SwiftSyntaxMacroExpansion MacroExpansionDiagnosticMessages.swift
[277/289] Compiling SwiftSyntaxMacroExpansion IndentationUtils.swift
[278/289] Compiling SwiftSyntaxMacroExpansion MacroSystem.swift
[279/290] Wrapping AST for SwiftSyntaxMacroExpansion for debugging
[281/297] Compiling SwiftCompilerPluginMessageHandling Macros.swift
[282/297] Compiling SwiftCompilerPluginMessageHandling Diagnostics.swift
[283/297] Compiling SwiftCompilerPluginMessageHandling CompilerPluginMessageHandler.swift
[284/297] Emitting module SwiftCompilerPluginMessageHandling
[285/297] Compiling SwiftCompilerPluginMessageHandling PluginMessageCompatibility.swift
[286/297] Compiling SwiftCompilerPluginMessageHandling PluginMessages.swift
[287/297] Compiling SwiftCompilerPluginMessageHandling PluginMacroExpansionContext.swift
[288/298] Wrapping AST for SwiftCompilerPluginMessageHandling for debugging
[290/300] Emitting module SwiftCompilerPlugin
[291/300] Compiling SwiftCompilerPlugin CompilerPlugin.swift
[292/301] Wrapping AST for SwiftCompilerPlugin for debugging
[294/313] Compiling PapyrusPlugin PapyrusPluginError.swift
[295/313] Compiling PapyrusPlugin Plugin.swift
[296/314] Emitting module PapyrusPlugin
[297/314] Compiling PapyrusPlugin String+Utilities.swift
[298/314] Compiling PapyrusPlugin FunctionParameterSyntax+Utilities.swift
[299/314] Compiling PapyrusPlugin Macro+Utilities.swift
[300/314] Compiling PapyrusPlugin ProtocolDeclSyntax+Utilities.swift
[301/314] Compiling PapyrusPlugin DecoratorMacro.swift
[302/314] Compiling PapyrusPlugin MockMacro.swift
[303/314] Compiling PapyrusPlugin APIAttribute.swift
[304/314] Compiling PapyrusPlugin APIMacro.swift
[305/314] Compiling PapyrusPlugin AttributeSyntax+Utilities.swift
[306/314] Compiling PapyrusPlugin FunctionDeclSyntax+Utilities.swift
[307/315] Wrapping AST for PapyrusPlugin for debugging
[308/315] Write Objects.LinkFileList
[309/315] Linking PapyrusPlugin-tool
[311/347] Emitting module PapyrusCore
/host/spi-builder-workspace/PapyrusCore/Sources/PapyrusError.swift:6:16: warning: stored property 'request' of 'Sendable'-conforming struct 'PapyrusError' has non-sendable type '(any Request)?'; this is an error in the Swift 6 language mode
4 | public let message: String
5 | /// Error related request.
6 | public let request: Request?
| `- warning: stored property 'request' of 'Sendable'-conforming struct 'PapyrusError' has non-sendable type '(any Request)?'; this is an error in the Swift 6 language mode
7 | /// Error related response.
8 | public let response: Response?
/host/spi-builder-workspace/PapyrusCore/Sources/Request.swift:3:17: note: protocol 'Request' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public protocol Request {
| `- note: protocol 'Request' does not conform to the 'Sendable' protocol
4 | var url: URL? { get set }
5 | var method: String { get set }
/host/spi-builder-workspace/PapyrusCore/Sources/PapyrusError.swift:8:16: warning: stored property 'response' of 'Sendable'-conforming struct 'PapyrusError' has non-sendable type '(any Response)?'; this is an error in the Swift 6 language mode
6 | public let request: Request?
7 | /// Error related response.
8 | public let response: Response?
| `- warning: stored property 'response' of 'Sendable'-conforming struct 'PapyrusError' has non-sendable type '(any Response)?'; this is an error in the Swift 6 language mode
9 |
10 | /// Create an error with the specified message.
/host/spi-builder-workspace/PapyrusCore/Sources/Response.swift:3:17: note: protocol 'Response' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public protocol Response {
| `- note: protocol 'Response' does not conform to the 'Sendable' protocol
4 | var request: Request? { get }
5 | var body: Data? { get }
/host/spi-builder-workspace/PapyrusCore/Sources/RequestBuilder.swift:76:23: warning: static property 'defaultQueryEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
74 | }
75 |
76 | public static var defaultQueryEncoder: URLEncodedFormEncoder = URLEncodedFormEncoder()
| |- warning: static property 'defaultQueryEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultQueryEncoder' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultQueryEncoder' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
77 | public static var defaultRequestEncoder: RequestEncoder = JSONEncoder()
78 | public static var defaultResponseDecoder: ResponseDecoder = JSONDecoder()
/host/spi-builder-workspace/PapyrusCore/Sources/RequestBuilder.swift:77:23: warning: static property 'defaultRequestEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
75 |
76 | public static var defaultQueryEncoder: URLEncodedFormEncoder = URLEncodedFormEncoder()
77 | public static var defaultRequestEncoder: RequestEncoder = JSONEncoder()
| |- warning: static property 'defaultRequestEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultRequestEncoder' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultRequestEncoder' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 | public static var defaultResponseDecoder: ResponseDecoder = JSONDecoder()
79 |
/host/spi-builder-workspace/PapyrusCore/Sources/RequestBuilder.swift:78:23: warning: static property 'defaultResponseDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
76 | public static var defaultQueryEncoder: URLEncodedFormEncoder = URLEncodedFormEncoder()
77 | public static var defaultRequestEncoder: RequestEncoder = JSONEncoder()
78 | public static var defaultResponseDecoder: ResponseDecoder = JSONDecoder()
| |- warning: static property 'defaultResponseDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultResponseDecoder' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultResponseDecoder' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 |
80 | // MARK: Data
/host/spi-builder-workspace/PapyrusCore/Sources/URLEncoder/URLEncodedForm.swift:51:16: warning: static property 'iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
49 | @available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
50 | /// ISO8601 data formatter used throughout URL encoded form code
51 | static var iso8601Formatter: ISO8601DateFormatter = {
| |- warning: static property 'iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'iso8601Formatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | let formatter = ISO8601DateFormatter()
53 | formatter.formatOptions = .withInternetDateTime
[312/349] Compiling PapyrusCore Part.swift
/host/spi-builder-workspace/PapyrusCore/Sources/PapyrusError.swift:6:16: warning: stored property 'request' of 'Sendable'-conforming struct 'PapyrusError' has non-sendable type '(any Request)?'; this is an error in the Swift 6 language mode
4 | public let message: String
5 | /// Error related request.
6 | public let request: Request?
| `- warning: stored property 'request' of 'Sendable'-conforming struct 'PapyrusError' has non-sendable type '(any Request)?'; this is an error in the Swift 6 language mode
7 | /// Error related response.
8 | public let response: Response?
/host/spi-builder-workspace/PapyrusCore/Sources/Request.swift:3:17: note: protocol 'Request' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public protocol Request {
| `- note: protocol 'Request' does not conform to the 'Sendable' protocol
4 | var url: URL? { get set }
5 | var method: String { get set }
/host/spi-builder-workspace/PapyrusCore/Sources/PapyrusError.swift:8:16: warning: stored property 'response' of 'Sendable'-conforming struct 'PapyrusError' has non-sendable type '(any Response)?'; this is an error in the Swift 6 language mode
6 | public let request: Request?
7 | /// Error related response.
8 | public let response: Response?
| `- warning: stored property 'response' of 'Sendable'-conforming struct 'PapyrusError' has non-sendable type '(any Response)?'; this is an error in the Swift 6 language mode
9 |
10 | /// Create an error with the specified message.
/host/spi-builder-workspace/PapyrusCore/Sources/Response.swift:3:17: note: protocol 'Response' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public protocol Response {
| `- note: protocol 'Response' does not conform to the 'Sendable' protocol
4 | var request: Request? { get }
5 | var body: Data? { get }
[313/349] Compiling PapyrusCore PapyrusError.swift
/host/spi-builder-workspace/PapyrusCore/Sources/PapyrusError.swift:6:16: warning: stored property 'request' of 'Sendable'-conforming struct 'PapyrusError' has non-sendable type '(any Request)?'; this is an error in the Swift 6 language mode
4 | public let message: String
5 | /// Error related request.
6 | public let request: Request?
| `- warning: stored property 'request' of 'Sendable'-conforming struct 'PapyrusError' has non-sendable type '(any Request)?'; this is an error in the Swift 6 language mode
7 | /// Error related response.
8 | public let response: Response?
/host/spi-builder-workspace/PapyrusCore/Sources/Request.swift:3:17: note: protocol 'Request' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public protocol Request {
| `- note: protocol 'Request' does not conform to the 'Sendable' protocol
4 | var url: URL? { get set }
5 | var method: String { get set }
/host/spi-builder-workspace/PapyrusCore/Sources/PapyrusError.swift:8:16: warning: stored property 'response' of 'Sendable'-conforming struct 'PapyrusError' has non-sendable type '(any Response)?'; this is an error in the Swift 6 language mode
6 | public let request: Request?
7 | /// Error related response.
8 | public let response: Response?
| `- warning: stored property 'response' of 'Sendable'-conforming struct 'PapyrusError' has non-sendable type '(any Response)?'; this is an error in the Swift 6 language mode
9 |
10 | /// Create an error with the specified message.
/host/spi-builder-workspace/PapyrusCore/Sources/Response.swift:3:17: note: protocol 'Response' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public protocol Response {
| `- note: protocol 'Response' does not conform to the 'Sendable' protocol
4 | var request: Request? { get }
5 | var body: Data? { get }
[314/349] Emitting module PapyrusCore
/host/spi-builder-workspace/PapyrusCore/Sources/PapyrusError.swift:6:16: warning: stored property 'request' of 'Sendable'-conforming struct 'PapyrusError' has non-sendable type '(any Request)?'; this is an error in the Swift 6 language mode
4 | public let message: String
5 | /// Error related request.
6 | public let request: Request?
| `- warning: stored property 'request' of 'Sendable'-conforming struct 'PapyrusError' has non-sendable type '(any Request)?'; this is an error in the Swift 6 language mode
7 | /// Error related response.
8 | public let response: Response?
/host/spi-builder-workspace/PapyrusCore/Sources/Request.swift:3:17: note: protocol 'Request' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public protocol Request {
| `- note: protocol 'Request' does not conform to the 'Sendable' protocol
4 | var url: URL? { get set }
5 | var method: String { get set }
/host/spi-builder-workspace/PapyrusCore/Sources/PapyrusError.swift:8:16: warning: stored property 'response' of 'Sendable'-conforming struct 'PapyrusError' has non-sendable type '(any Response)?'; this is an error in the Swift 6 language mode
6 | public let request: Request?
7 | /// Error related response.
8 | public let response: Response?
| `- warning: stored property 'response' of 'Sendable'-conforming struct 'PapyrusError' has non-sendable type '(any Response)?'; this is an error in the Swift 6 language mode
9 |
10 | /// Create an error with the specified message.
/host/spi-builder-workspace/PapyrusCore/Sources/Response.swift:3:17: note: protocol 'Response' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public protocol Response {
| `- note: protocol 'Response' does not conform to the 'Sendable' protocol
4 | var request: Request? { get }
5 | var body: Data? { get }
/host/spi-builder-workspace/PapyrusCore/Sources/RequestBuilder.swift:76:23: warning: static property 'defaultQueryEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
74 | }
75 |
76 | public static var defaultQueryEncoder: URLEncodedFormEncoder = URLEncodedFormEncoder()
| |- warning: static property 'defaultQueryEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultQueryEncoder' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultQueryEncoder' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
77 | public static var defaultRequestEncoder: RequestEncoder = JSONEncoder()
78 | public static var defaultResponseDecoder: ResponseDecoder = JSONDecoder()
/host/spi-builder-workspace/PapyrusCore/Sources/RequestBuilder.swift:77:23: warning: static property 'defaultRequestEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
75 |
76 | public static var defaultQueryEncoder: URLEncodedFormEncoder = URLEncodedFormEncoder()
77 | public static var defaultRequestEncoder: RequestEncoder = JSONEncoder()
| |- warning: static property 'defaultRequestEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultRequestEncoder' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultRequestEncoder' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 | public static var defaultResponseDecoder: ResponseDecoder = JSONDecoder()
79 |
/host/spi-builder-workspace/PapyrusCore/Sources/RequestBuilder.swift:78:23: warning: static property 'defaultResponseDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
76 | public static var defaultQueryEncoder: URLEncodedFormEncoder = URLEncodedFormEncoder()
77 | public static var defaultRequestEncoder: RequestEncoder = JSONEncoder()
78 | public static var defaultResponseDecoder: ResponseDecoder = JSONDecoder()
| |- warning: static property 'defaultResponseDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultResponseDecoder' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultResponseDecoder' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 |
80 | // MARK: Data
/host/spi-builder-workspace/PapyrusCore/Sources/URLEncoder/URLEncodedForm.swift:51:16: warning: static property 'iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
49 | @available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
50 | /// ISO8601 data formatter used throughout URL encoded form code
51 | static var iso8601Formatter: ISO8601DateFormatter = {
| |- warning: static property 'iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'iso8601Formatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | let formatter = ISO8601DateFormatter()
53 | formatter.formatOptions = .withInternetDateTime
[315/349] Compiling PapyrusCore Macros.swift
[316/349] Compiling PapyrusCore MultipartEncoder.swift
[317/349] Compiling PapyrusCore HTTPService.swift
/host/spi-builder-workspace/PapyrusCore/Sources/KeyMapping.swift:182:41: warning: capture of 'toMapper' with non-sendable type '(String) -> String' in a '@Sendable' closure
180 | }
181 |
182 | return GenericCodingKey(toMapper(last.stringValue))
| |- warning: capture of 'toMapper' with non-sendable type '(String) -> String' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
183 | }
184 | }
/host/spi-builder-workspace/PapyrusCore/Sources/KeyMapping.swift:199:41: warning: capture of 'fromMapper' with non-sendable type '(String) -> String' in a '@Sendable' closure
197 | }
198 |
199 | return GenericCodingKey(fromMapper(last.stringValue))
| |- warning: capture of 'fromMapper' with non-sendable type '(String) -> String' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
200 | }
201 | }
/host/spi-builder-workspace/PapyrusCore/Sources/KeyMapping.swift:182:41: warning: capture of 'toMapper' with non-sendable type '(String) -> String' in a '@Sendable' closure
180 | }
181 |
182 | return GenericCodingKey(toMapper(last.stringValue))
| |- warning: capture of 'toMapper' with non-sendable type '(String) -> String' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
183 | }
184 | }
/host/spi-builder-workspace/PapyrusCore/Sources/KeyMapping.swift:199:41: warning: capture of 'fromMapper' with non-sendable type '(String) -> String' in a '@Sendable' closure
197 | }
198 |
199 | return GenericCodingKey(fromMapper(last.stringValue))
| |- warning: capture of 'fromMapper' with non-sendable type '(String) -> String' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
200 | }
201 | }
/host/spi-builder-workspace/PapyrusCore/Sources/KeyMapping.swift:182:41: warning: capture of 'toMapper' with non-sendable type '(String) -> String' in a '@Sendable' closure
180 | }
181 |
182 | return GenericCodingKey(toMapper(last.stringValue))
| |- warning: capture of 'toMapper' with non-sendable type '(String) -> String' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
183 | }
184 | }
/host/spi-builder-workspace/PapyrusCore/Sources/KeyMapping.swift:199:41: warning: capture of 'fromMapper' with non-sendable type '(String) -> String' in a '@Sendable' closure
197 | }
198 |
199 | return GenericCodingKey(fromMapper(last.stringValue))
| |- warning: capture of 'fromMapper' with non-sendable type '(String) -> String' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
200 | }
201 | }
/host/spi-builder-workspace/PapyrusCore/Sources/KeyMapping.swift:182:41: warning: capture of 'toMapper' with non-sendable type '(String) -> String' in a '@Sendable' closure
180 | }
181 |
182 | return GenericCodingKey(toMapper(last.stringValue))
| |- warning: capture of 'toMapper' with non-sendable type '(String) -> String' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
183 | }
184 | }
/host/spi-builder-workspace/PapyrusCore/Sources/KeyMapping.swift:199:41: warning: capture of 'fromMapper' with non-sendable type '(String) -> String' in a '@Sendable' closure
197 | }
198 |
199 | return GenericCodingKey(fromMapper(last.stringValue))
| |- warning: capture of 'fromMapper' with non-sendable type '(String) -> String' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
200 | }
201 | }
/host/spi-builder-workspace/PapyrusCore/Sources/KeyMapping.swift:182:41: warning: capture of 'toMapper' with non-sendable type '(String) -> String' in a '@Sendable' closure
180 | }
181 |
182 | return GenericCodingKey(toMapper(last.stringValue))
| |- warning: capture of 'toMapper' with non-sendable type '(String) -> String' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
183 | }
184 | }
/host/spi-builder-workspace/PapyrusCore/Sources/KeyMapping.swift:199:41: warning: capture of 'fromMapper' with non-sendable type '(String) -> String' in a '@Sendable' closure
197 | }
198 |
199 | return GenericCodingKey(fromMapper(last.stringValue))
| |- warning: capture of 'fromMapper' with non-sendable type '(String) -> String' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
200 | }
201 | }
/host/spi-builder-workspace/PapyrusCore/Sources/KeyMapping.swift:182:41: warning: capture of 'toMapper' with non-sendable type '(String) -> String' in a '@Sendable' closure
180 | }
181 |
182 | return GenericCodingKey(toMapper(last.stringValue))
| |- warning: capture of 'toMapper' with non-sendable type '(String) -> String' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
183 | }
184 | }
/host/spi-builder-workspace/PapyrusCore/Sources/KeyMapping.swift:199:41: warning: capture of 'fromMapper' with non-sendable type '(String) -> String' in a '@Sendable' closure
197 | }
198 |
199 | return GenericCodingKey(fromMapper(last.stringValue))
| |- warning: capture of 'fromMapper' with non-sendable type '(String) -> String' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
200 | }
201 | }
[323/351] Compiling PapyrusCore RequestBuilder.swift
/host/spi-builder-workspace/PapyrusCore/Sources/RequestBuilder.swift:76:23: warning: static property 'defaultQueryEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
74 | }
75 |
76 | public static var defaultQueryEncoder: URLEncodedFormEncoder = URLEncodedFormEncoder()
| |- warning: static property 'defaultQueryEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultQueryEncoder' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultQueryEncoder' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
77 | public static var defaultRequestEncoder: RequestEncoder = JSONEncoder()
78 | public static var defaultResponseDecoder: ResponseDecoder = JSONDecoder()
/host/spi-builder-workspace/PapyrusCore/Sources/RequestBuilder.swift:77:23: warning: static property 'defaultRequestEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
75 |
76 | public static var defaultQueryEncoder: URLEncodedFormEncoder = URLEncodedFormEncoder()
77 | public static var defaultRequestEncoder: RequestEncoder = JSONEncoder()
| |- warning: static property 'defaultRequestEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultRequestEncoder' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultRequestEncoder' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 | public static var defaultResponseDecoder: ResponseDecoder = JSONDecoder()
79 |
/host/spi-builder-workspace/PapyrusCore/Sources/RequestBuilder.swift:78:23: warning: static property 'defaultResponseDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
76 | public static var defaultQueryEncoder: URLEncodedFormEncoder = URLEncodedFormEncoder()
77 | public static var defaultRequestEncoder: RequestEncoder = JSONEncoder()
78 | public static var defaultResponseDecoder: ResponseDecoder = JSONDecoder()
| |- warning: static property 'defaultResponseDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultResponseDecoder' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultResponseDecoder' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 |
80 | // MARK: Data
[324/351] Compiling PapyrusCore RequestEncoder.swift
/host/spi-builder-workspace/PapyrusCore/Sources/RequestBuilder.swift:76:23: warning: static property 'defaultQueryEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
74 | }
75 |
76 | public static var defaultQueryEncoder: URLEncodedFormEncoder = URLEncodedFormEncoder()
| |- warning: static property 'defaultQueryEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultQueryEncoder' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultQueryEncoder' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
77 | public static var defaultRequestEncoder: RequestEncoder = JSONEncoder()
78 | public static var defaultResponseDecoder: ResponseDecoder = JSONDecoder()
/host/spi-builder-workspace/PapyrusCore/Sources/RequestBuilder.swift:77:23: warning: static property 'defaultRequestEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
75 |
76 | public static var defaultQueryEncoder: URLEncodedFormEncoder = URLEncodedFormEncoder()
77 | public static var defaultRequestEncoder: RequestEncoder = JSONEncoder()
| |- warning: static property 'defaultRequestEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultRequestEncoder' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultRequestEncoder' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 | public static var defaultResponseDecoder: ResponseDecoder = JSONDecoder()
79 |
/host/spi-builder-workspace/PapyrusCore/Sources/RequestBuilder.swift:78:23: warning: static property 'defaultResponseDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
76 | public static var defaultQueryEncoder: URLEncodedFormEncoder = URLEncodedFormEncoder()
77 | public static var defaultRequestEncoder: RequestEncoder = JSONEncoder()
78 | public static var defaultResponseDecoder: ResponseDecoder = JSONDecoder()
| |- warning: static property 'defaultResponseDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultResponseDecoder' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultResponseDecoder' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 |
80 | // MARK: Data
[325/351] Compiling PapyrusCore Response.swift
[326/351] Compiling PapyrusCore ResponseDecoder.swift
[327/351] Compiling PapyrusCore Provider.swift
/host/spi-builder-workspace/PapyrusCore/Sources/Provider.swift:110:42: warning: converting a value of type '@Sendable (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 '@Sendable (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:105:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
103 | completionHandler: @escaping (Response) -> Void,
104 | next: @escaping (Request, @escaping (Response) -> Void) -> Void) {
105 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
106 | do {
107 | completionHandler(
| `- note: closure captures non-Sendable 'completionHandler'
108 | try await intercept(req: req) { req in
| | `- note: closure captures non-Sendable 'req'
| `- note: closure captures non-Sendable 'self'
109 | return try await withCheckedThrowingContinuation {
110 | next(req, $0.resume)
| `- note: closure captures non-Sendable 'next'
111 | }
112 | }
[328/351] Compiling PapyrusCore Request.swift
/host/spi-builder-workspace/PapyrusCore/Sources/Provider.swift:110:42: warning: converting a value of type '@Sendable (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 '@Sendable (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:105:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
103 | completionHandler: @escaping (Response) -> Void,
104 | next: @escaping (Request, @escaping (Response) -> Void) -> Void) {
105 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
106 | do {
107 | completionHandler(
| `- note: closure captures non-Sendable 'completionHandler'
108 | try await intercept(req: req) { req in
| | `- note: closure captures non-Sendable 'req'
| `- note: closure captures non-Sendable 'self'
109 | return try await withCheckedThrowingContinuation {
110 | next(req, $0.resume)
| `- note: closure captures non-Sendable 'next'
111 | }
112 | }
[329/351] Compiling PapyrusCore Part.swift
/host/spi-builder-workspace/PapyrusCore/Sources/PapyrusError.swift:6:16: warning: stored property 'request' of 'Sendable'-conforming struct 'PapyrusError' has non-sendable type '(any Request)?'; this is an error in the Swift 6 language mode
4 | public let message: String
5 | /// Error related request.
6 | public let request: Request?
| `- warning: stored property 'request' of 'Sendable'-conforming struct 'PapyrusError' has non-sendable type '(any Request)?'; this is an error in the Swift 6 language mode
7 | /// Error related response.
8 | public let response: Response?
/host/spi-builder-workspace/PapyrusCore/Sources/Request.swift:3:17: note: protocol 'Request' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public protocol Request {
| `- note: protocol 'Request' does not conform to the 'Sendable' protocol
4 | var url: URL? { get set }
5 | var method: String { get set }
/host/spi-builder-workspace/PapyrusCore/Sources/PapyrusError.swift:8:16: warning: stored property 'response' of 'Sendable'-conforming struct 'PapyrusError' has non-sendable type '(any Response)?'; this is an error in the Swift 6 language mode
6 | public let request: Request?
7 | /// Error related response.
8 | public let response: Response?
| `- warning: stored property 'response' of 'Sendable'-conforming struct 'PapyrusError' has non-sendable type '(any Response)?'; this is an error in the Swift 6 language mode
9 |
10 | /// Create an error with the specified message.
/host/spi-builder-workspace/PapyrusCore/Sources/Response.swift:3:17: note: protocol 'Response' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public protocol Response {
| `- note: protocol 'Response' does not conform to the 'Sendable' protocol
4 | var request: Request? { get }
5 | var body: Data? { get }
[330/351] Compiling PapyrusCore PapyrusError.swift
/host/spi-builder-workspace/PapyrusCore/Sources/PapyrusError.swift:6:16: warning: stored property 'request' of 'Sendable'-conforming struct 'PapyrusError' has non-sendable type '(any Request)?'; this is an error in the Swift 6 language mode
4 | public let message: String
5 | /// Error related request.
6 | public let request: Request?
| `- warning: stored property 'request' of 'Sendable'-conforming struct 'PapyrusError' has non-sendable type '(any Request)?'; this is an error in the Swift 6 language mode
7 | /// Error related response.
8 | public let response: Response?
/host/spi-builder-workspace/PapyrusCore/Sources/Request.swift:3:17: note: protocol 'Request' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public protocol Request {
| `- note: protocol 'Request' does not conform to the 'Sendable' protocol
4 | var url: URL? { get set }
5 | var method: String { get set }
/host/spi-builder-workspace/PapyrusCore/Sources/PapyrusError.swift:8:16: warning: stored property 'response' of 'Sendable'-conforming struct 'PapyrusError' has non-sendable type '(any Response)?'; this is an error in the Swift 6 language mode
6 | public let request: Request?
7 | /// Error related response.
8 | public let response: Response?
| `- warning: stored property 'response' of 'Sendable'-conforming struct 'PapyrusError' has non-sendable type '(any Response)?'; this is an error in the Swift 6 language mode
9 |
10 | /// Create an error with the specified message.
/host/spi-builder-workspace/PapyrusCore/Sources/Response.swift:3:17: note: protocol 'Response' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public protocol Response {
| `- note: protocol 'Response' does not conform to the 'Sendable' protocol
4 | var request: Request? { get }
5 | var body: Data? { get }
[331/351] Compiling PapyrusCore URLEncodedForm.swift
/host/spi-builder-workspace/PapyrusCore/Sources/URLEncoder/URLEncodedForm.swift:51:16: warning: static property 'iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
49 | @available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
50 | /// ISO8601 data formatter used throughout URL encoded form code
51 | static var iso8601Formatter: ISO8601DateFormatter = {
| |- warning: static property 'iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'iso8601Formatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | let formatter = ISO8601DateFormatter()
53 | formatter.formatOptions = .withInternetDateTime
[332/351] Compiling PapyrusCore URLEncodedFormDecoder.swift
/host/spi-builder-workspace/PapyrusCore/Sources/URLEncoder/URLEncodedForm.swift:51:16: warning: static property 'iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
49 | @available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
50 | /// ISO8601 data formatter used throughout URL encoded form code
51 | static var iso8601Formatter: ISO8601DateFormatter = {
| |- warning: static property 'iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'iso8601Formatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | let formatter = ISO8601DateFormatter()
53 | formatter.formatOptions = .withInternetDateTime
/host/spi-builder-workspace/PapyrusCore/Sources/Provider.swift:110:42: warning: converting a value of type '@Sendable (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 '@Sendable (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:105:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
103 | completionHandler: @escaping (Response) -> Void,
104 | next: @escaping (Request, @escaping (Response) -> Void) -> Void) {
105 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
106 | do {
107 | completionHandler(
| `- note: closure captures non-Sendable 'completionHandler'
108 | try await intercept(req: req) { req in
| | `- note: closure captures non-Sendable 'req'
| `- note: closure captures non-Sendable 'self'
109 | return try await withCheckedThrowingContinuation {
110 | next(req, $0.resume)
| `- note: closure captures non-Sendable 'next'
111 | }
112 | }
/host/spi-builder-workspace/PapyrusCore/Sources/Provider.swift:110:42: warning: converting a value of type '@Sendable (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 '@Sendable (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:105:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
103 | completionHandler: @escaping (Response) -> Void,
104 | next: @escaping (Request, @escaping (Response) -> Void) -> Void) {
105 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
106 | do {
107 | completionHandler(
| `- note: closure captures non-Sendable 'completionHandler'
108 | try await intercept(req: req) { req in
| | `- note: closure captures non-Sendable 'req'
| `- note: closure captures non-Sendable 'self'
109 | return try await withCheckedThrowingContinuation {
110 | next(req, $0.resume)
| `- note: closure captures non-Sendable 'next'
111 | }
112 | }
/host/spi-builder-workspace/PapyrusCore/Sources/RequestBuilder.swift:76:23: warning: static property 'defaultQueryEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
74 | }
75 |
76 | public static var defaultQueryEncoder: URLEncodedFormEncoder = URLEncodedFormEncoder()
| |- warning: static property 'defaultQueryEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultQueryEncoder' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultQueryEncoder' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
77 | public static var defaultRequestEncoder: RequestEncoder = JSONEncoder()
78 | public static var defaultResponseDecoder: ResponseDecoder = JSONDecoder()
/host/spi-builder-workspace/PapyrusCore/Sources/RequestBuilder.swift:77:23: warning: static property 'defaultRequestEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
75 |
76 | public static var defaultQueryEncoder: URLEncodedFormEncoder = URLEncodedFormEncoder()
77 | public static var defaultRequestEncoder: RequestEncoder = JSONEncoder()
| |- warning: static property 'defaultRequestEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultRequestEncoder' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultRequestEncoder' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 | public static var defaultResponseDecoder: ResponseDecoder = JSONDecoder()
79 |
/host/spi-builder-workspace/PapyrusCore/Sources/RequestBuilder.swift:78:23: warning: static property 'defaultResponseDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
76 | public static var defaultQueryEncoder: URLEncodedFormEncoder = URLEncodedFormEncoder()
77 | public static var defaultRequestEncoder: RequestEncoder = JSONEncoder()
78 | public static var defaultResponseDecoder: ResponseDecoder = JSONDecoder()
| |- warning: static property 'defaultResponseDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultResponseDecoder' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultResponseDecoder' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 |
80 | // MARK: Data
/host/spi-builder-workspace/PapyrusCore/Sources/RequestBuilder.swift:76:23: warning: static property 'defaultQueryEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
74 | }
75 |
76 | public static var defaultQueryEncoder: URLEncodedFormEncoder = URLEncodedFormEncoder()
| |- warning: static property 'defaultQueryEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultQueryEncoder' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultQueryEncoder' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
77 | public static var defaultRequestEncoder: RequestEncoder = JSONEncoder()
78 | public static var defaultResponseDecoder: ResponseDecoder = JSONDecoder()
/host/spi-builder-workspace/PapyrusCore/Sources/RequestBuilder.swift:77:23: warning: static property 'defaultRequestEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
75 |
76 | public static var defaultQueryEncoder: URLEncodedFormEncoder = URLEncodedFormEncoder()
77 | public static var defaultRequestEncoder: RequestEncoder = JSONEncoder()
| |- warning: static property 'defaultRequestEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultRequestEncoder' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultRequestEncoder' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 | public static var defaultResponseDecoder: ResponseDecoder = JSONDecoder()
79 |
/host/spi-builder-workspace/PapyrusCore/Sources/RequestBuilder.swift:78:23: warning: static property 'defaultResponseDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
76 | public static var defaultQueryEncoder: URLEncodedFormEncoder = URLEncodedFormEncoder()
77 | public static var defaultRequestEncoder: RequestEncoder = JSONEncoder()
78 | public static var defaultResponseDecoder: ResponseDecoder = JSONDecoder()
| |- warning: static property 'defaultResponseDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultResponseDecoder' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultResponseDecoder' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 |
80 | // MARK: Data
/host/spi-builder-workspace/PapyrusCore/Sources/URLEncoder/URLEncodedForm.swift:51:16: warning: static property 'iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
49 | @available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
50 | /// ISO8601 data formatter used throughout URL encoded form code
51 | static var iso8601Formatter: ISO8601DateFormatter = {
| |- warning: static property 'iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'iso8601Formatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | let formatter = ISO8601DateFormatter()
53 | formatter.formatOptions = .withInternetDateTime
/host/spi-builder-workspace/PapyrusCore/Sources/URLEncoder/URLEncodedForm.swift:51:16: warning: static property 'iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
49 | @available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
50 | /// ISO8601 data formatter used throughout URL encoded form code
51 | static var iso8601Formatter: ISO8601DateFormatter = {
| |- warning: static property 'iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'iso8601Formatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | let formatter = ISO8601DateFormatter()
53 | formatter.formatOptions = .withInternetDateTime
[343/351] Compiling PapyrusCore URLEncodedFormEncoder.swift
[344/351] Compiling PapyrusCore URLEncodedFormNode.swift
[348/353] Wrapping AST for PapyrusCore for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[350/357] 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:18:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
16 | // MARK: `HTTPService` Conformance
17 |
18 | extension URLSession: HTTPService {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
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 }
[351/357] 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:18:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
16 | // MARK: `HTTPService` Conformance
17 |
18 | extension URLSession: HTTPService {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
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 {
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
warning: 'swift-macro-testing': 'swift-macro-testing' dependency on 'https://github.com/swiftlang/swift-syntax' conflicts with dependency on 'https://github.com/apple/swift-syntax' which has the same identity 'swift-syntax'. this will be escalated to an error in future versions of SwiftPM.
warning: 'swift-snapshot-testing': 'swift-snapshot-testing' dependency on 'https://github.com/swiftlang/swift-syntax' conflicts with dependency on 'https://github.com/apple/swift-syntax' which has the same identity 'swift-syntax'. this will be escalated to an error in future versions of SwiftPM.
[0/1] Planning build
Building for debugging...
[0/22] Write swift-version-24593BA9C3E375BF.txt
[2/65] Emitting module SwiftSyntax510
[3/65] Compiling SwiftSyntax510 Empty.swift
[4/66] Compiling SwiftSyntax509 Empty.swift
[5/66] Emitting module SwiftSyntax509
[8/125] Compiling SwiftSyntax Keyword.swift
[9/125] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[10/125] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[11/125] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[12/125] Compiling SwiftSyntax SyntaxBaseNodes.swift
[13/130] Compiling SwiftSyntax SyntaxProtocol.swift
[14/130] Compiling SwiftSyntax SyntaxText.swift
[15/130] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[16/130] Compiling SwiftSyntax RawSyntax.swift
[17/130] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[18/130] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[19/130] Compiling SwiftSyntax SyntaxArena.swift
[20/130] Compiling SwiftSyntax SyntaxChildren.swift
[21/130] Compiling SwiftSyntax SyntaxCollection.swift
[22/130] Compiling SwiftSyntax SyntaxHashable.swift
[23/130] Compiling SwiftSyntax SyntaxIdentifier.swift
[24/130] Compiling SwiftSyntax SyntaxNodeStructure.swift
[25/130] Compiling Alamofire RetryPolicy.swift
[26/130] Compiling Alamofire ServerTrustEvaluation.swift
[27/130] Compiling Alamofire URLEncodedFormEncoder.swift
[28/130] Compiling Alamofire Validation.swift
[29/130] Compiling Alamofire resource_bundle_accessor.swift
[30/130] Compiling SwiftSyntax TokenSequence.swift
[31/130] Compiling SwiftSyntax TokenSyntax.swift
[32/130] Compiling SwiftSyntax Trivia.swift
[33/130] Compiling SwiftSyntax Utils.swift
[34/130] Compiling SwiftSyntax ChildNameForKeyPath.swift
[35/130] Compiling SwiftSyntax AbsolutePosition.swift
[36/130] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[37/130] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[38/130] Compiling SwiftSyntax Assert.swift
[39/130] Compiling SwiftSyntax BumpPtrAllocator.swift
[40/130] Compiling SwiftSyntax CommonAncestor.swift
[41/130] Compiling SwiftSyntax Convenience.swift
[42/130] Compiling SwiftSyntax MemoryLayout.swift
[43/130] Compiling SwiftSyntax MissingNodeInitializers.swift
[44/130] Compiling SwiftSyntax TokenDiagnostic.swift
[45/130] Emitting module Alamofire
[46/130] Compiling SwiftSyntax RawSyntaxTokenView.swift
[47/130] Compiling SwiftSyntax SourceLength.swift
[48/130] Compiling SwiftSyntax SourceLocation.swift
[49/130] Compiling SwiftSyntax SourcePresence.swift
[50/130] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[51/130] Compiling SwiftSyntax Syntax.swift
[53/131] Emitting module SwiftSyntax
[97/139] Compiling SwiftSyntax RawSyntaxNodesEF.swift
[98/139] Compiling SwiftSyntax RawSyntaxNodesGHI.swift
[99/139] Compiling SwiftSyntax RawSyntaxNodesJKLMN.swift
[100/139] Compiling SwiftSyntax RawSyntaxNodesOP.swift
[101/139] Compiling SwiftSyntax RawSyntaxNodesQRS.swift
[102/139] Compiling SwiftSyntax RawSyntaxNodesTUVWXYZ.swift
[103/139] Compiling SwiftSyntax RawSyntaxValidation.swift
[104/139] Compiling SwiftSyntax SyntaxNodesAB.swift
[105/139] Compiling SwiftSyntax SyntaxTransform.swift
[106/139] Compiling SwiftSyntax SyntaxVisitor.swift
[107/139] Compiling SwiftSyntax TokenKind.swift
[108/139] Compiling SwiftSyntax Tokens.swift
[109/139] Compiling SwiftSyntax TriviaPieces.swift
[110/139] Compiling SwiftSyntax RawSyntaxNodesAB.swift
[111/139] Compiling SwiftSyntax RawSyntaxNodesC.swift
[112/139] Compiling SwiftSyntax RawSyntaxNodesD.swift
[113/139] Compiling SwiftSyntax SyntaxNodesC.swift
[114/139] Compiling SwiftSyntax SyntaxNodesD.swift
[115/139] Compiling SwiftSyntax SyntaxNodesEF.swift
[116/139] Compiling SwiftSyntax SyntaxNodesGHI.swift
[117/139] Compiling SwiftSyntax SyntaxNodesJKLMN.swift
[118/139] Compiling SwiftSyntax SyntaxNodesOP.swift
[119/139] Compiling SwiftSyntax SyntaxNodesQRS.swift
[120/139] Compiling SwiftSyntax SyntaxNodesTUVWXYZ.swift
[122/152] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[123/152] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[124/152] Compiling SwiftDiagnostics Convenience.swift
[125/152] Compiling SwiftDiagnostics Diagnostic.swift
[126/157] Emitting module SwiftDiagnostics
[127/190] Compiling SwiftDiagnostics Note.swift
[128/190] Compiling SwiftBasicFormat Syntax+Extensions.swift
[129/190] Compiling SwiftDiagnostics Message.swift
[130/190] Compiling SwiftDiagnostics FixIt.swift
[131/190] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[132/190] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[134/190] Compiling SwiftBasicFormat BasicFormat.swift
[135/190] Emitting module SwiftBasicFormat
[137/190] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[138/190] Compiling SwiftParser StringLiterals.swift
[139/190] Compiling SwiftParser SwiftParserCompatibility.swift
[140/190] Compiling SwiftParser SyntaxUtils.swift
[141/190] Compiling SwiftParser TokenConsumer.swift
[142/195] Compiling SwiftParser Lexer.swift
[143/195] Compiling SwiftParser RegexLiteralLexer.swift
[144/195] Compiling SwiftParser UnicodeScalarExtensions.swift
[145/195] Compiling SwiftParser Lookahead.swift
[146/195] Compiling SwiftParser LoopProgressCondition.swift
[147/195] Compiling SwiftParser TokenPrecedence.swift
[148/195] Compiling SwiftParser TokenSpec.swift
[149/195] Compiling SwiftParser TokenSpecSet.swift
[150/195] Compiling SwiftParser TopLevel.swift
[151/195] Compiling SwiftParser TriviaParser.swift
[152/195] Compiling SwiftParser Modifiers.swift
[153/195] Compiling SwiftParser Names.swift
[154/195] Compiling SwiftParser Nominals.swift
[155/195] Compiling SwiftParser Parameters.swift
[156/195] Compiling SwiftParser ParseSourceFile.swift
[157/195] Compiling SwiftParser Parser.swift
[158/195] Compiling SwiftParser Patterns.swift
[159/195] Compiling SwiftParser Recovery.swift
[160/195] Compiling SwiftParser Specifiers.swift
[161/195] Compiling SwiftParser Statements.swift
[162/195] Compiling SwiftParser Types.swift
[163/195] Compiling SwiftParser IsLexerClassified.swift
[164/195] Compiling SwiftParser LayoutNodes+Parsable.swift
[165/195] Compiling SwiftParser Parser+TokenSpecSet.swift
[166/195] Compiling SwiftParser TokenSpecStaticMembers.swift
[167/195] Compiling SwiftParser Attributes.swift
[168/195] Compiling SwiftParser Availability.swift
[169/195] Compiling SwiftParser CharacterInfo.swift
[170/195] Compiling SwiftParser CollectionNodes+Parsable.swift
[171/195] Compiling SwiftParser Declarations.swift
[172/195] Compiling SwiftParser Directives.swift
[173/195] Emitting module SwiftParser
[174/195] Compiling SwiftParser ExperimentalFeatures.swift
[175/195] Compiling SwiftParser Expressions.swift
[176/195] Compiling SwiftParser IncrementalParseTransition.swift
[177/195] Compiling SwiftParser Cursor.swift
[178/195] Compiling SwiftParser Lexeme.swift
[179/195] Compiling SwiftParser LexemeSequence.swift
[180/196] Wrapping AST for SwiftParser for debugging
[182/219] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[183/220] Compiling SwiftOperators PrecedenceGroup.swift
[184/221] Emitting module SwiftOperators
[185/221] Compiling SwiftOperators OperatorTable+Folding.swift
[186/221] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[187/221] Compiling SwiftParserDiagnostics DiagnosticExtensions.swift
[188/221] Compiling SwiftParserDiagnostics LexerDiagnosticMessages.swift
[189/221] Compiling SwiftOperators OperatorTable+Semantics.swift
[190/221] Compiling SwiftOperators OperatorTable.swift
[191/221] Compiling SwiftParserDiagnostics MissingNodesError.swift
[192/221] Compiling SwiftParserDiagnostics MissingTokenError.swift
[193/221] Compiling SwiftOperators PrecedenceGraph.swift
[196/221] Compiling SwiftOperators SyntaxSynthesis.swift
[197/222] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[198/222] Compiling SwiftParserDiagnostics Utils.swift
[199/222] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[201/222] Emitting module SwiftParserDiagnostics
[202/222] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[203/222] Compiling SwiftParserDiagnostics PresenceUtils.swift
[203/222] Wrapping AST for SwiftOperators for debugging
[205/222] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[206/222] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[209/223] Wrapping AST for SwiftParserDiagnostics for debugging
[211/237] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[212/237] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[213/238] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[214/238] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[215/238] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[216/238] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[217/238] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[218/238] Compiling SwiftSyntaxBuilder Indenter.swift
[219/238] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[220/238] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[221/238] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[222/238] Emitting module SwiftSyntaxBuilder
[223/238] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[224/238] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[225/238] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[226/239] Wrapping AST for SwiftSyntaxBuilder for debugging
[228/253] Compiling SwiftSyntaxMacros AccessorMacro.swift
[229/253] Compiling SwiftSyntaxMacros AttachedMacro.swift
[230/253] Compiling SwiftSyntaxMacros CodeItemMacro.swift
[231/253] Compiling SwiftSyntaxMacros DeclarationMacro.swift
[232/254] Emitting module SwiftSyntaxMacros
[233/254] Compiling SwiftSyntaxMacros AbstractSourceLocation.swift
[234/254] Compiling SwiftSyntaxMacros MacroExpansionContext.swift
[235/254] Compiling SwiftSyntaxMacros Macro.swift
[236/254] Compiling SwiftSyntaxMacros MemberAttributeMacro.swift
[237/254] Compiling SwiftSyntaxMacros MemberMacro.swift
[238/254] Compiling SwiftSyntaxMacros ExpressionMacro.swift
[239/254] Compiling SwiftSyntaxMacros ExtensionMacro.swift
[240/254] Compiling SwiftSyntaxMacros FreestandingMacro.swift
[241/254] Compiling SwiftSyntaxMacros Macro+Format.swift
[242/254] Compiling SwiftSyntaxMacros PeerMacro.swift
[244/262] Compiling SwiftSyntaxMacroExpansion BasicMacroExpansionContext.swift
[245/262] Compiling SwiftSyntaxMacroExpansion MacroExpansionDiagnosticMessages.swift
[246/262] Compiling SwiftSyntaxMacroExpansion FunctionParameterUtils.swift
[247/262] Compiling SwiftSyntaxMacroExpansion IndentationUtils.swift
[248/262] Compiling SwiftSyntaxMacroExpansion MacroReplacement.swift
[249/262] Compiling SwiftSyntaxMacroExpansion MacroExpansion.swift
[250/262] Emitting module SwiftSyntaxMacroExpansion
[251/262] Compiling SwiftSyntaxMacroExpansion MacroSystem.swift
[252/263] Wrapping AST for SwiftSyntaxMacroExpansion for debugging
[254/270] Compiling SwiftCompilerPluginMessageHandling Macros.swift
[255/270] Emitting module SwiftCompilerPluginMessageHandling
[256/270] Compiling SwiftCompilerPluginMessageHandling Diagnostics.swift
[257/270] Compiling SwiftCompilerPluginMessageHandling CompilerPluginMessageHandler.swift
[258/270] Compiling SwiftCompilerPluginMessageHandling PluginMacroExpansionContext.swift
[259/270] Compiling SwiftCompilerPluginMessageHandling PluginMessageCompatibility.swift
[260/270] Compiling SwiftCompilerPluginMessageHandling PluginMessages.swift
[262/272] Emitting module SwiftCompilerPlugin
[263/272] Compiling SwiftCompilerPlugin CompilerPlugin.swift
[264/273] Wrapping AST for SwiftCompilerPlugin for debugging
[266/285] Compiling PapyrusPlugin FunctionParameterSyntax+Utilities.swift
[267/286] Compiling PapyrusPlugin Macro+Utilities.swift
[268/286] Compiling PapyrusPlugin ProtocolDeclSyntax+Utilities.swift
[269/286] Compiling PapyrusPlugin PapyrusPluginError.swift
[270/286] Compiling PapyrusPlugin Plugin.swift
[271/286] Compiling PapyrusPlugin AttributeSyntax+Utilities.swift
[272/286] Compiling PapyrusPlugin FunctionDeclSyntax+Utilities.swift
[273/286] Compiling PapyrusPlugin String+Utilities.swift
[274/286] Compiling PapyrusPlugin DecoratorMacro.swift
[275/286] Compiling PapyrusPlugin MockMacro.swift
[276/286] Emitting module PapyrusPlugin
[277/286] Compiling PapyrusPlugin APIAttribute.swift
[278/286] Compiling PapyrusPlugin APIMacro.swift
[279/286] Write Objects.LinkFileList
[280/286] Linking PapyrusPlugin-tool
[282/318] Compiling PapyrusCore HTTPService.swift
[283/318] Compiling PapyrusCore CurlInterceptor.swift
[284/318] Compiling PapyrusCore KeyMapping.swift
[285/318] Compiling PapyrusCore Macros.swift
[286/318] Compiling PapyrusCore MultipartEncoder.swift
[287/320] Compiling PapyrusCore Part.swift
[288/320] Compiling PapyrusCore PapyrusError.swift
[289/320] Compiling PapyrusCore URLEncodedForm.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 | }
[290/320] Compiling PapyrusCore URLEncodedFormDecoder.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 | }
[291/322] Emitting module PapyrusCore
[296/322] Compiling PapyrusCore Provider.swift
[297/322] Compiling PapyrusCore Request.swift
[300/322] Compiling PapyrusCore RequestBuilder.swift
[301/322] Compiling PapyrusCore RequestEncoder.swift
[302/322] Compiling PapyrusCore Response.swift
[303/322] Compiling PapyrusCore ResponseDecoder.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 | }
/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 | }
[314/322] Compiling PapyrusCore URLEncodedFormEncoder.swift
[315/322] Compiling PapyrusCore URLEncodedFormNode.swift
[319/324] Wrapping AST for PapyrusCore for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[321/328] 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:18:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
16 | // MARK: `HTTPService` Conformance
17 |
18 | extension URLSession: HTTPService {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
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 }
[322/328] 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:18:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
16 | // MARK: `HTTPService` Conformance
17 |
18 | extension URLSession: HTTPService {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
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 {
BUILD FAILURE 6.1 android