Build Information
Successful build of papyrus, reference v0.6.16 (0a424d
), with Swift 6.1 for macOS (SPM) on 28 Apr 2025 19:46:17 UTC.
Swift 6 data race errors: 15
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/joshuawright11/papyrus.git
Reference: v0.6.16
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
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
Fetching https://github.com/pointfreeco/swift-macro-testing
Fetching https://github.com/apple/swift-syntax
Fetching https://github.com/Alamofire/Alamofire.git
[1/868] Fetching swift-macro-testing
Fetched https://github.com/pointfreeco/swift-macro-testing from cache (0.84s)
[1/30137] Fetching alamofire
[6632/100382] Fetching alamofire, swift-syntax
Fetched https://github.com/Alamofire/Alamofire.git from cache (3.24s)
Fetched https://github.com/apple/swift-syntax from cache (3.24s)
Computing version for https://github.com/apple/swift-syntax
Computed https://github.com/apple/swift-syntax at 510.0.3 (4.35s)
Computing version for https://github.com/Alamofire/Alamofire.git
Computed https://github.com/Alamofire/Alamofire.git at 5.10.2 (0.50s)
Computing version for https://github.com/pointfreeco/swift-macro-testing
Computed https://github.com/pointfreeco/swift-macro-testing at 0.6.2 (0.46s)
Fetching https://github.com/pointfreeco/swift-snapshot-testing from cache
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (0.55s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.18.3 (1.04s)
Fetching https://github.com/pointfreeco/swift-custom-dump from cache
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (0.43s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (0.92s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay from cache
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.41s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.5.2 (0.94s)
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.2
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/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-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.18.3
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
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "papyrus",
"name": "papyrus",
"url": "https://github.com/joshuawright11/papyrus.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/papyrus",
"dependencies": [
{
"identity": "alamofire",
"name": "Alamofire",
"url": "https://github.com/Alamofire/Alamofire.git",
"version": "5.10.2",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Alamofire",
"dependencies": [
]
},
{
"identity": "swift-syntax",
"name": "swift-syntax",
"url": "https://github.com/apple/swift-syntax",
"version": "510.0.3",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-syntax",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/joshuawright11/papyrus.git
[1/2332] Fetching papyrus
Fetched https://github.com/joshuawright11/papyrus.git from cache (0.93s)
Fetching https://github.com/apple/swift-syntax from cache
Fetching https://github.com/Alamofire/Alamofire.git from cache
Fetched https://github.com/Alamofire/Alamofire.git from cache (0.80s)
Fetched https://github.com/apple/swift-syntax from cache (0.80s)
Computing version for https://github.com/apple/swift-syntax
Computed https://github.com/apple/swift-syntax at 510.0.3 (0.87s)
Computing version for https://github.com/Alamofire/Alamofire.git
Computed https://github.com/Alamofire/Alamofire.git at 5.10.2 (0.04s)
Creating working copy for https://github.com/joshuawright11/papyrus.git
Working copy of https://github.com/joshuawright11/papyrus.git resolved at v0.6.16 (0a424d9)
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
Found 2 product dependencies
- Alamofire
- swift-syntax
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/joshuawright11/papyrus.git
https://github.com/joshuawright11/papyrus.git
{
"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" : "/Users/admin/builder/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 ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
Building for debugging...
[0/28] Write sources
[19/28] Write Example-entitlement.plist
[20/28] Write sources
[21/28] Copying PrivacyInfo.xcprivacy
[22/28] Write swift-version-2F0A5646E1D333AE.txt
[24/72] Compiling SwiftSyntax510 Empty.swift
[25/72] Emitting module SwiftSyntax510
[26/72] Compiling SwiftSyntax509 Empty.swift
[27/72] Emitting module SwiftSyntax509
[28/134] Compiling SwiftSyntax MemoryLayout.swift
[29/134] Compiling SwiftSyntax MissingNodeInitializers.swift
[30/134] Compiling SwiftSyntax RawSyntax.swift
[31/134] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[32/134] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[33/134] Compiling SwiftSyntax RawSyntaxTokenView.swift
[34/134] Compiling SwiftSyntax SourceLength.swift
[35/140] Compiling SwiftSyntax SourceLocation.swift
[36/140] Compiling SwiftSyntax SourcePresence.swift
[37/140] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[38/140] Compiling SwiftSyntax Syntax.swift
[39/140] Compiling SwiftSyntax SyntaxArena.swift
[40/140] Compiling SwiftSyntax SyntaxChildren.swift
[41/140] Compiling SwiftSyntax SyntaxCollection.swift
[42/140] Emitting module Alamofire
[43/144] Compiling SwiftSyntax SyntaxVisitor.swift
[44/144] Compiling SwiftSyntax TokenKind.swift
[45/144] Compiling SwiftSyntax Tokens.swift
[46/144] Compiling SwiftSyntax TriviaPieces.swift
[53/144] Compiling SwiftSyntax SyntaxTraits.swift
[54/144] Compiling SwiftSyntax SyntaxTransform.swift
[55/144] Compiling SwiftSyntax RawSyntaxValidation.swift
[56/144] Compiling SwiftSyntax SyntaxNodesAB.swift
[57/144] Compiling SwiftSyntax SyntaxNodesC.swift
[58/144] Compiling SwiftSyntax SyntaxNodesD.swift
[66/144] Compiling SwiftSyntax RawSyntaxNodesC.swift
[67/144] Compiling SwiftSyntax RawSyntaxNodesD.swift
[68/144] Compiling SwiftSyntax RawSyntaxNodesEF.swift
[69/144] Compiling SwiftSyntax RawSyntaxNodesGHI.swift
[70/144] Compiling SwiftSyntax RawSyntaxNodesJKLMN.swift
[71/144] Compiling SwiftSyntax RawSyntaxNodesOP.swift
[73/144] Compiling SwiftSyntax CommonAncestor.swift
[74/144] Compiling SwiftSyntax Convenience.swift
[75/144] Compiling SwiftSyntax RawSyntaxNodesQRS.swift
[76/144] Compiling SwiftSyntax RawSyntaxNodesTUVWXYZ.swift
[77/144] Compiling SwiftSyntax AbsolutePosition.swift
[78/144] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[79/144] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[80/144] Compiling SwiftSyntax Assert.swift
[81/144] Compiling SwiftSyntax BumpPtrAllocator.swift
[82/144] Compiling Alamofire ServerTrustEvaluation.swift
[83/144] Compiling Alamofire URLEncodedFormEncoder.swift
[84/144] Compiling Alamofire Validation.swift
[85/144] Compiling Alamofire resource_bundle_accessor.swift
[93/144] Emitting module SwiftSyntax
[94/144] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[95/144] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[96/144] Compiling SwiftSyntax SyntaxBaseNodes.swift
[97/144] Compiling SwiftSyntax SyntaxCollections.swift
[98/144] Compiling SwiftSyntax SyntaxEnum.swift
[99/144] Compiling SwiftSyntax SyntaxKind.swift
[100/144] Compiling SwiftSyntax SyntaxRewriter.swift
[113/144] Compiling SwiftSyntax TokenSequence.swift
[114/144] Compiling SwiftSyntax TokenSyntax.swift
[115/144] Compiling SwiftSyntax Trivia.swift
[116/144] Compiling SwiftSyntax Utils.swift
[117/144] Compiling SwiftSyntax ChildNameForKeyPath.swift
[118/144] Compiling SwiftSyntax Keyword.swift
[119/144] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[123/144] Compiling SwiftSyntax SyntaxProtocol.swift
[124/144] Compiling SwiftSyntax SyntaxText.swift
[125/144] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[126/144] Compiling SwiftSyntax TokenDiagnostic.swift
[134/144] Compiling SwiftSyntax SyntaxNodesEF.swift
[135/144] Compiling SwiftSyntax SyntaxNodesGHI.swift
[136/144] Compiling SwiftSyntax SyntaxNodesJKLMN.swift
[137/144] Compiling SwiftSyntax SyntaxNodesOP.swift
[138/144] Compiling SwiftSyntax SyntaxNodesQRS.swift
[139/144] Compiling SwiftSyntax SyntaxNodesTUVWXYZ.swift
[140/196] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[141/196] Compiling SwiftBasicFormat Syntax+Extensions.swift
[142/196] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[143/196] Compiling SwiftDiagnostics Message.swift
[144/196] Compiling SwiftDiagnostics Note.swift
[145/196] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[146/196] Compiling SwiftDiagnostics FixIt.swift
[147/196] Emitting module SwiftDiagnostics
[148/196] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[149/196] Compiling SwiftDiagnostics Convenience.swift
[150/196] Compiling SwiftDiagnostics Diagnostic.swift
[151/196] Compiling SwiftBasicFormat BasicFormat.swift
[152/196] Emitting module SwiftBasicFormat
[153/196] Compiling SwiftParser Names.swift
[154/196] Compiling SwiftParser Nominals.swift
[155/196] Compiling SwiftParser Parameters.swift
[156/196] Compiling SwiftParser ParseSourceFile.swift
[157/200] Compiling SwiftParser Lexeme.swift
[158/200] Compiling SwiftParser LexemeSequence.swift
[159/200] Compiling SwiftParser Lexer.swift
[160/200] Compiling SwiftParser RegexLiteralLexer.swift
[161/200] Compiling SwiftParser UnicodeScalarExtensions.swift
[162/200] Compiling SwiftParser Lookahead.swift
[163/200] Compiling SwiftParser LoopProgressCondition.swift
[164/200] Compiling SwiftParser Modifiers.swift
[165/200] Emitting module SwiftParser
[166/200] Compiling SwiftParser Parser.swift
[167/200] Compiling SwiftParser Patterns.swift
[168/200] Compiling SwiftParser Recovery.swift
[169/200] Compiling SwiftParser Specifiers.swift
[170/200] Compiling SwiftParser SyntaxUtils.swift
[171/200] Compiling SwiftParser TokenConsumer.swift
[172/200] Compiling SwiftParser TokenPrecedence.swift
[173/200] Compiling SwiftParser TokenSpec.swift
[174/200] Compiling SwiftParser TokenSpecSet.swift
[175/200] Compiling SwiftParser TopLevel.swift
[176/200] Compiling SwiftParser TriviaParser.swift
[177/200] Compiling SwiftParser Types.swift
[178/200] Compiling SwiftParser Statements.swift
[179/200] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[180/200] Compiling SwiftParser StringLiterals.swift
[181/200] Compiling SwiftParser SwiftParserCompatibility.swift
[182/200] Compiling SwiftParser IsLexerClassified.swift
[183/200] Compiling SwiftParser LayoutNodes+Parsable.swift
[184/200] Compiling SwiftParser Parser+TokenSpecSet.swift
[185/200] Compiling SwiftParser TokenSpecStaticMembers.swift
[186/200] Compiling SwiftParser Directives.swift
[187/200] Compiling SwiftParser ExperimentalFeatures.swift
[188/200] Compiling SwiftParser Expressions.swift
[189/200] Compiling SwiftParser IncrementalParseTransition.swift
[190/200] Compiling SwiftParser Cursor.swift
[191/200] Compiling SwiftParser Attributes.swift
[192/200] Compiling SwiftParser Availability.swift
[193/200] Compiling SwiftParser CharacterInfo.swift
[194/200] Compiling SwiftParser CollectionNodes+Parsable.swift
[195/200] Compiling SwiftParser Declarations.swift
[196/223] Compiling SwiftOperators PrecedenceGroup.swift
[197/224] Compiling SwiftOperators OperatorTable+Semantics.swift
[198/224] Compiling SwiftOperators PrecedenceGraph.swift
[199/224] Compiling SwiftOperators OperatorTable.swift
[200/224] Compiling SwiftOperators OperatorTable+Defaults.swift
[201/224] Compiling SwiftOperators OperatorError.swift
[202/224] Emitting module SwiftOperators
[203/224] Compiling SwiftOperators Operator.swift
[204/224] Compiling SwiftOperators OperatorError+Diagnostics.swift
[205/224] Compiling SwiftOperators OperatorTable+Folding.swift
[206/224] Compiling SwiftOperators SyntaxSynthesis.swift
[207/224] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[208/224] Compiling SwiftParserDiagnostics Utils.swift
[209/224] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[210/225] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[211/225] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[212/225] Compiling SwiftParserDiagnostics PresenceUtils.swift
[213/225] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[214/225] Compiling SwiftParserDiagnostics DiagnosticExtensions.swift
[215/225] Compiling SwiftParserDiagnostics LexerDiagnosticMessages.swift
[216/225] Compiling SwiftParserDiagnostics MissingNodesError.swift
[217/225] Compiling SwiftParserDiagnostics MissingTokenError.swift
[218/225] Emitting module SwiftParserDiagnostics
[219/225] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[220/225] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[221/239] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[222/240] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[223/240] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[224/240] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[225/240] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[226/240] Compiling SwiftSyntaxBuilder Indenter.swift
[227/240] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[228/240] Emitting module SwiftSyntaxBuilder
[229/240] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[230/240] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[231/240] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[232/240] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[233/240] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[234/240] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[235/240] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[236/254] Compiling SwiftSyntaxMacros CodeItemMacro.swift
[237/254] Compiling SwiftSyntaxMacros DeclarationMacro.swift
[238/254] Compiling SwiftSyntaxMacros ExpressionMacro.swift
[239/254] Compiling SwiftSyntaxMacros ExtensionMacro.swift
[240/254] Compiling SwiftSyntaxMacros Macro.swift
[241/254] Compiling SwiftSyntaxMacros Macro+Format.swift
[242/254] Compiling SwiftSyntaxMacros AccessorMacro.swift
[243/254] Compiling SwiftSyntaxMacros AttachedMacro.swift
[244/254] Compiling SwiftSyntaxMacros MemberAttributeMacro.swift
[245/254] Compiling SwiftSyntaxMacros FreestandingMacro.swift
[246/254] Compiling SwiftSyntaxMacros MemberMacro.swift
[247/255] Emitting module SwiftSyntaxMacros
[248/255] Compiling SwiftSyntaxMacros AbstractSourceLocation.swift
[249/255] Compiling SwiftSyntaxMacros MacroExpansionContext.swift
[250/255] Compiling SwiftSyntaxMacros PeerMacro.swift
[251/263] Compiling SwiftSyntaxMacroExpansion MacroExpansionDiagnosticMessages.swift
[252/263] Compiling SwiftSyntaxMacroExpansion MacroReplacement.swift
[253/263] Compiling SwiftSyntaxMacroExpansion MacroExpansion.swift
[254/263] Compiling SwiftSyntaxMacroExpansion FunctionParameterUtils.swift
[255/263] Compiling SwiftSyntaxMacroExpansion IndentationUtils.swift
[256/263] Emitting module SwiftSyntaxMacroExpansion
[257/263] Compiling SwiftSyntaxMacroExpansion BasicMacroExpansionContext.swift
[258/263] Compiling SwiftSyntaxMacroExpansion MacroSystem.swift
[259/270] Compiling SwiftCompilerPluginMessageHandling PluginMessageCompatibility.swift
[260/270] Compiling SwiftCompilerPluginMessageHandling PluginMacroExpansionContext.swift
[261/270] Emitting module SwiftCompilerPluginMessageHandling
[262/270] Compiling SwiftCompilerPluginMessageHandling CompilerPluginMessageHandler.swift
[263/270] Compiling SwiftCompilerPluginMessageHandling Diagnostics.swift
[264/270] Compiling SwiftCompilerPluginMessageHandling Macros.swift
[265/270] Compiling SwiftCompilerPluginMessageHandling PluginMessages.swift
[266/272] Emitting module SwiftCompilerPlugin
[267/272] Compiling SwiftCompilerPlugin CompilerPlugin.swift
[268/284] Compiling PapyrusPlugin FunctionParameterSyntax+Utilities.swift
[269/285] Compiling PapyrusPlugin Macro+Utilities.swift
[270/285] Compiling PapyrusPlugin AttributeSyntax+Utilities.swift
[271/285] Compiling PapyrusPlugin Plugin.swift
[272/285] Compiling PapyrusPlugin ProtocolDeclSyntax+Utilities.swift
[273/285] Compiling PapyrusPlugin PapyrusPluginError.swift
[274/285] Compiling PapyrusPlugin FunctionDeclSyntax+Utilities.swift
[275/285] Compiling PapyrusPlugin DecoratorMacro.swift
[276/285] Compiling PapyrusPlugin MockMacro.swift
[277/285] Compiling PapyrusPlugin String+Utilities.swift
[278/285] Compiling PapyrusPlugin APIAttribute.swift
[279/285] Compiling PapyrusPlugin APIMacro.swift
[280/285] Emitting module PapyrusPlugin
[280/285] Write Objects.LinkFileList
[281/285] Linking PapyrusPlugin-tool
[283/319] Compiling PapyrusCore HTTPService.swift
[284/319] Compiling PapyrusCore CurlInterceptor.swift
[285/319] Emitting module PapyrusCore
/Users/admin/builder/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?
/Users/admin/builder/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 }
/Users/admin/builder/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.
/Users/admin/builder/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 }
/Users/admin/builder/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()
/Users/admin/builder/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 |
/Users/admin/builder/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
/Users/admin/builder/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
[286/320] Compiling PapyrusCore KeyMapping.swift
/Users/admin/builder/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()
/Users/admin/builder/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 |
/Users/admin/builder/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
[287/320] Compiling PapyrusCore Macros.swift
/Users/admin/builder/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()
/Users/admin/builder/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 |
/Users/admin/builder/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
[288/320] Compiling PapyrusCore ResponseDecoder.swift
/Users/admin/builder/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
[289/320] Compiling PapyrusCore URLEncodedForm.swift
/Users/admin/builder/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
[290/320] Compiling PapyrusCore URLEncodedFormEncoder.swift
[291/321] Compiling PapyrusCore MultipartEncoder.swift
[292/321] Compiling PapyrusCore Part.swift
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
[295/321] Compiling PapyrusCore URLEncodedFormDecoder.swift
[296/321] Compiling PapyrusCore PapyrusError.swift
/Users/admin/builder/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?
/Users/admin/builder/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 }
/Users/admin/builder/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.
/Users/admin/builder/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 }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
[297/321] Compiling PapyrusCore Provider.swift
/Users/admin/builder/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?
/Users/admin/builder/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 }
/Users/admin/builder/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.
/Users/admin/builder/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 }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
[298/321] Compiling PapyrusCore ResponseDecoder.swift
/Users/admin/builder/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
[299/321] Compiling PapyrusCore URLEncodedForm.swift
/Users/admin/builder/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
/Users/admin/builder/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()
/Users/admin/builder/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 |
/Users/admin/builder/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
/Users/admin/builder/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()
/Users/admin/builder/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 |
/Users/admin/builder/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
[302/321] Compiling PapyrusCore RequestEncoder.swift
[303/321] Compiling PapyrusCore Response.swift
[304/321] Compiling PapyrusCore URLEncodedFormEncoder.swift
/Users/admin/builder/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?
/Users/admin/builder/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 }
/Users/admin/builder/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.
/Users/admin/builder/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 }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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?
/Users/admin/builder/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 }
/Users/admin/builder/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.
/Users/admin/builder/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 }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
[315/321] Compiling PapyrusCore URLEncodedFormDecoder.swift
[316/321] Emitting module PapyrusCore
/Users/admin/builder/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?
/Users/admin/builder/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 }
/Users/admin/builder/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.
/Users/admin/builder/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 }
/Users/admin/builder/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()
/Users/admin/builder/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 |
/Users/admin/builder/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
/Users/admin/builder/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
[317/321] Compiling PapyrusCore URLEncodedFormNode.swift
[319/325] Emitting module Papyrus
[320/325] Compiling Papyrus URLSession+Papyrus.swift
/Users/admin/builder/spi-builder-workspace/Papyrus/URLSession+Papyrus.swift:46:13: warning: capture of 'completionHandler' with non-sendable type '(any Response) -> Void' in a '@Sendable' closure
44 | let urlRequest = req.urlRequest
45 | dataTask(with: urlRequest) {
46 | completionHandler(_Response(request: urlRequest, response: $1, error: $2, body: $0))
| |- warning: capture of 'completionHandler' with non-sendable type '(any Response) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
47 | }.resume()
48 | }
[321/325] Compiling PapyrusAlamofire Alamofire+Papyrus.swift
/Users/admin/builder/spi-builder-workspace/PapyrusAlamofire/Alamofire+Papyrus.swift:30:61: warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
27 | }
28 |
29 | public func request(_ req: PapyrusCore.Request, completionHandler: @escaping (Response) -> Void) {
| `- note: parameter 'completionHandler' is implicitly non-sendable
30 | request(req.urlRequest).response(completionHandler: completionHandler)
| `- warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
31 | }
32 | }
[322/325] Emitting module PapyrusAlamofire
[323/327] Compiling Example main.swift
/Users/admin/builder/spi-builder-workspace/Example/main.swift:35:29: warning: non-sendable result type 'any Response' cannot be sent from nonisolated context in call to parameter 'next'; this is an error in the Swift 6 language mode
33 | .intercept { req, next in
34 | let start = Date()
35 | let res = try await next(req)
| `- warning: non-sendable result type 'any Response' cannot be sent from nonisolated context in call to parameter 'next'; this is an error in the Swift 6 language mode
36 | let elapsedTime = String(format: "%.2fs", Date().timeIntervalSince(start))
37 | let statusCode = res.statusCode.map { "\($0)" } ?? "N/A"
/Users/admin/builder/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 }
/Users/admin/builder/spi-builder-workspace/Example/main.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PapyrusCore'
1 | import Papyrus
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PapyrusCore'
2 |
3 | // MARK: 0. Define your API.
/Users/admin/builder/spi-builder-workspace/Example/main.swift:45:27: warning: non-sendable result type '[Todo]' cannot be sent from nonisolated context in call to instance method 'getTodos()'; this is an error in the Swift 6 language mode
23 | }
24 |
25 | public struct Todo: Codable {
| `- note: consider making struct 'Todo' conform to the 'Sendable' protocol
26 | let id: Int
27 | let name: String
:
43 |
44 | let api: Sample = SampleAPI(provider: provider)
45 | let todos = try await api.getTodos()
| `- warning: non-sendable result type '[Todo]' cannot be sent from nonisolated context in call to instance method 'getTodos()'; this is an error in the Swift 6 language mode
46 |
47 | // MARK: 3. Easily mock endpoints for tests.
/Users/admin/builder/spi-builder-workspace/Example/main.swift:57:34: warning: non-sendable result type '[Todo]' cannot be sent from nonisolated context in call to instance method 'getTodos()'; this is an error in the Swift 6 language mode
23 | }
24 |
25 | public struct Todo: Codable {
| `- note: consider making struct 'Todo' conform to the 'Sendable' protocol
26 | let id: Int
27 | let name: String
:
55 | }
56 |
57 | let mockedTodos = try await mock.getTodos()
| `- warning: non-sendable result type '[Todo]' cannot be sent from nonisolated context in call to instance method 'getTodos()'; this is an error in the Swift 6 language mode
58 |
/Users/admin/builder/spi-builder-workspace/Example/main.swift:35:29: warning: sending 'req' risks causing data races; this is an error in the Swift 6 language mode
33 | .intercept { req, next in
34 | let start = Date()
35 | let res = try await next(req)
| |- warning: sending 'req' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'req' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
36 | let elapsedTime = String(format: "%.2fs", Date().timeIntervalSince(start))
37 | let statusCode = res.statusCode.map { "\($0)" } ?? "N/A"
[324/327] Emitting module Example
/Users/admin/builder/spi-builder-workspace/Example/main.swift:35:29: warning: non-sendable result type 'any Response' cannot be sent from nonisolated context in call to parameter 'next'; this is an error in the Swift 6 language mode
33 | .intercept { req, next in
34 | let start = Date()
35 | let res = try await next(req)
| `- warning: non-sendable result type 'any Response' cannot be sent from nonisolated context in call to parameter 'next'; this is an error in the Swift 6 language mode
36 | let elapsedTime = String(format: "%.2fs", Date().timeIntervalSince(start))
37 | let statusCode = res.statusCode.map { "\($0)" } ?? "N/A"
/Users/admin/builder/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 }
/Users/admin/builder/spi-builder-workspace/Example/main.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PapyrusCore'
1 | import Papyrus
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PapyrusCore'
2 |
3 | // MARK: 0. Define your API.
/Users/admin/builder/spi-builder-workspace/Example/main.swift:45:27: warning: non-sendable result type '[Todo]' cannot be sent from nonisolated context in call to instance method 'getTodos()'; this is an error in the Swift 6 language mode
23 | }
24 |
25 | public struct Todo: Codable {
| `- note: consider making struct 'Todo' conform to the 'Sendable' protocol
26 | let id: Int
27 | let name: String
:
43 |
44 | let api: Sample = SampleAPI(provider: provider)
45 | let todos = try await api.getTodos()
| `- warning: non-sendable result type '[Todo]' cannot be sent from nonisolated context in call to instance method 'getTodos()'; this is an error in the Swift 6 language mode
46 |
47 | // MARK: 3. Easily mock endpoints for tests.
/Users/admin/builder/spi-builder-workspace/Example/main.swift:57:34: warning: non-sendable result type '[Todo]' cannot be sent from nonisolated context in call to instance method 'getTodos()'; this is an error in the Swift 6 language mode
23 | }
24 |
25 | public struct Todo: Codable {
| `- note: consider making struct 'Todo' conform to the 'Sendable' protocol
26 | let id: Int
27 | let name: String
:
55 | }
56 |
57 | let mockedTodos = try await mock.getTodos()
| `- warning: non-sendable result type '[Todo]' cannot be sent from nonisolated context in call to instance method 'getTodos()'; this is an error in the Swift 6 language mode
58 |
[324/327] Write Objects.LinkFileList
[325/327] Linking Example
[326/327] Applying Example
Build complete! (29.48s)
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.
Build complete.
{
"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" : "/Users/admin/builder/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"
}
Done.