Build Information
Successful build of papyrus, reference v0.6.16 (0a424d
), with Swift 6.0 for macOS (SPM) on 6 Nov 2024 23:33:33 UTC.
Swift 6 data race errors: 10
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Fleuronic/papyrus.git
Reference: v0.6.16
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Fleuronic/papyrus
* tag v0.6.16 -> FETCH_HEAD
HEAD is now at 0a424d9 sendable
Cloned https://github.com/Fleuronic/papyrus.git
Revision (git rev-parse @):
0a424d90f7a31b40e3b850a58062bb3aa701323f
SUCCESS checkout https://github.com/Fleuronic/papyrus.git at v0.6.16
Fetching https://github.com/Alamofire/Alamofire.git
Fetching https://github.com/pointfreeco/swift-macro-testing
Fetching https://github.com/apple/swift-syntax
[7/631] Fetching swift-macro-testing
[632/30426] Fetching swift-macro-testing, alamofire
[3612/96820] Fetching swift-macro-testing, alamofire, swift-syntax
Fetched https://github.com/pointfreeco/swift-macro-testing from cache (11.09s)
Fetched https://github.com/Alamofire/Alamofire.git from cache (11.09s)
Fetched https://github.com/apple/swift-syntax from cache (11.09s)
Computing version for https://github.com/apple/swift-syntax
Computed https://github.com/apple/swift-syntax at 510.0.3 (3.30s)
Computing version for https://github.com/Alamofire/Alamofire.git
warning: 'alamofire': /Package.swift:28:15: warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)'
26 | import PackageDescription
27 |
28 | let package = Package(name: "Alamofire",
| |- warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)'
| `- note: use 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)' instead
29 | platforms: [.macOS(.v10_13),
30 | .iOS(.v12),
Computed https://github.com/Alamofire/Alamofire.git at 5.10.1 (0.53s)
Computing version for https://github.com/pointfreeco/swift-macro-testing
Computed https://github.com/pointfreeco/swift-macro-testing at 0.5.2 (0.45s)
Fetching https://github.com/pointfreeco/swift-snapshot-testing
[1/12446] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (2.28s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.17.6 (0.61s)
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/Alamofire/Alamofire.git
Working copy of https://github.com/Alamofire/Alamofire.git resolved at 5.10.1
Creating working copy for https://github.com/pointfreeco/swift-macro-testing
Working copy of https://github.com/pointfreeco/swift-macro-testing resolved at 0.5.2
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.17.6
warning: 'alamofire': /Users/admin/builder/spi-builder-workspace/.build/checkouts/Alamofire/Package.swift:28:15: warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)'
26 | import PackageDescription
27 |
28 | let package = Package(name: "Alamofire",
| |- warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)'
| `- note: use 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)' instead
29 | platforms: [.macOS(.v10_13),
30 | .iOS(.v12),
========================================
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/Fleuronic/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.1",
"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/Fleuronic/papyrus.git
[1/1573] Fetching papyrus
Fetched https://github.com/Fleuronic/papyrus.git from cache (0.86s)
Fetching https://github.com/Alamofire/Alamofire.git from cache
Fetching https://github.com/apple/swift-syntax from cache
Fetched https://github.com/apple/swift-syntax from cache (0.93s)
Fetched https://github.com/Alamofire/Alamofire.git from cache (0.93s)
Computing version for https://github.com/apple/swift-syntax
Computed https://github.com/apple/swift-syntax at 510.0.3 (0.03s)
Computing version for https://github.com/Alamofire/Alamofire.git
Computed https://github.com/Alamofire/Alamofire.git at 5.10.1 (0.04s)
Creating working copy for https://github.com/Fleuronic/papyrus.git
Working copy of https://github.com/Fleuronic/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.1
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.0
Building package at path: $PWD
https://github.com/Fleuronic/papyrus.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/27] Write sources
[14/27] Write Example-entitlement.plist
[15/27] Write sources
[15/27] Copying PrivacyInfo.xcprivacy
[21/27] Write swift-version--7754E27361AE5C74.txt
[23/71] Emitting module SwiftSyntax510
[24/71] Compiling SwiftSyntax509 Empty.swift
[25/71] Emitting module SwiftSyntax509
[26/71] Compiling SwiftSyntax510 Empty.swift
[27/133] Compiling SwiftSyntax AbsolutePosition.swift
[28/133] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[29/133] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[30/133] Compiling SwiftSyntax Assert.swift
[31/133] Compiling SwiftSyntax BumpPtrAllocator.swift
[32/133] Compiling SwiftSyntax CommonAncestor.swift
[33/133] Compiling SwiftSyntax Convenience.swift
[34/139] Emitting module Alamofire
[35/143] Compiling SwiftSyntax SyntaxHashable.swift
[36/143] Compiling SwiftSyntax SyntaxIdentifier.swift
[37/143] Compiling SwiftSyntax SyntaxNodeStructure.swift
[38/143] Compiling SwiftSyntax SyntaxProtocol.swift
[41/143] Compiling SwiftSyntax MemoryLayout.swift
[42/143] Compiling SwiftSyntax MissingNodeInitializers.swift
[43/143] Compiling SwiftSyntax RawSyntax.swift
[44/143] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[45/143] Compiling SwiftSyntax SyntaxBaseNodes.swift
[46/143] Compiling SwiftSyntax SyntaxCollections.swift
[47/143] Compiling SwiftSyntax SyntaxEnum.swift
[48/143] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[49/143] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[50/143] Compiling SwiftSyntax RawSyntaxTokenView.swift
[51/143] Compiling SwiftSyntax SourceLength.swift
[57/143] Compiling SwiftSyntax TokenSyntax.swift
[58/143] Compiling SwiftSyntax Trivia.swift
[59/143] Compiling SwiftSyntax Utils.swift
[60/143] Compiling SwiftSyntax ChildNameForKeyPath.swift
[61/143] Compiling SwiftSyntax Keyword.swift
[62/143] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[63/143] Compiling SwiftSyntax RawSyntaxNodesC.swift
[64/143] Compiling SwiftSyntax RawSyntaxNodesD.swift
[65/143] Compiling SwiftSyntax SyntaxText.swift
[66/143] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[67/143] Compiling SwiftSyntax TokenDiagnostic.swift
[68/143] Compiling SwiftSyntax TokenSequence.swift
[69/143] Compiling SwiftSyntax RawSyntaxNodesEF.swift
[70/143] Compiling SwiftSyntax RawSyntaxNodesGHI.swift
[71/143] Compiling SwiftSyntax RawSyntaxNodesJKLMN.swift
[72/143] Compiling SwiftSyntax RawSyntaxNodesOP.swift
[73/143] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[74/143] Compiling Alamofire ServerTrustEvaluation.swift
[75/143] Compiling Alamofire URLEncodedFormEncoder.swift
[76/143] Compiling Alamofire Validation.swift
[77/143] Compiling Alamofire resource_bundle_accessor.swift
[91/143] Emitting module SwiftSyntax
[92/143] Compiling SwiftSyntax RawSyntaxNodesQRS.swift
[93/143] Compiling SwiftSyntax RawSyntaxNodesTUVWXYZ.swift
[94/143] Compiling SwiftSyntax RawSyntaxValidation.swift
[95/143] Compiling SwiftSyntax SyntaxNodesAB.swift
[96/143] Compiling SwiftSyntax SyntaxNodesC.swift
[97/143] Compiling SwiftSyntax SyntaxNodesD.swift
[100/143] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[101/143] Compiling SwiftSyntax Syntax.swift
[102/143] Compiling SwiftSyntax SyntaxArena.swift
[103/143] Compiling SwiftSyntax SyntaxChildren.swift
[104/143] Compiling SwiftSyntax SyntaxCollection.swift
[105/143] Compiling SwiftSyntax SyntaxTraits.swift
[106/143] Compiling SwiftSyntax SyntaxTransform.swift
[107/143] Compiling SwiftSyntax SyntaxVisitor.swift
[108/143] Compiling SwiftSyntax TokenKind.swift
[109/143] Compiling SwiftSyntax Tokens.swift
[110/143] Compiling SwiftSyntax TriviaPieces.swift
[111/143] Compiling SwiftSyntax RawSyntaxNodesAB.swift
[133/143] Compiling SwiftSyntax SyntaxNodesEF.swift
[134/143] Compiling SwiftSyntax SyntaxNodesGHI.swift
[135/143] Compiling SwiftSyntax SyntaxNodesJKLMN.swift
[136/143] Compiling SwiftSyntax SyntaxNodesOP.swift
[137/143] Compiling SwiftSyntax SyntaxNodesQRS.swift
[138/143] Compiling SwiftSyntax SyntaxNodesTUVWXYZ.swift
[139/195] Compiling SwiftDiagnostics Note.swift
[140/195] Compiling SwiftDiagnostics Message.swift
[141/195] Compiling SwiftBasicFormat Syntax+Extensions.swift
[142/195] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[143/195] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[144/195] Compiling SwiftDiagnostics Diagnostic.swift
[145/195] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[146/195] Compiling SwiftDiagnostics FixIt.swift
[147/195] Emitting module SwiftDiagnostics
[148/195] Compiling SwiftDiagnostics Convenience.swift
[149/195] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[150/195] Emitting module SwiftBasicFormat
[151/195] Compiling SwiftBasicFormat BasicFormat.swift
[152/195] Compiling SwiftParser Names.swift
[153/195] Compiling SwiftParser Nominals.swift
[154/195] Compiling SwiftParser Parameters.swift
[155/195] Compiling SwiftParser ParseSourceFile.swift
[156/195] Compiling SwiftParser Parser.swift
[157/195] Compiling SwiftParser Patterns.swift
[158/195] Compiling SwiftParser Recovery.swift
[159/195] Compiling SwiftParser Specifiers.swift
[160/199] Compiling SwiftParser SyntaxUtils.swift
[161/199] Compiling SwiftParser TokenConsumer.swift
[162/199] Compiling SwiftParser TokenPrecedence.swift
[163/199] Compiling SwiftParser TokenSpec.swift
[164/199] Compiling SwiftParser TokenSpecSet.swift
[165/199] Compiling SwiftParser TopLevel.swift
[166/199] Compiling SwiftParser TriviaParser.swift
[167/199] Compiling SwiftParser Types.swift
[168/199] Compiling SwiftParser UnicodeScalarExtensions.swift
[169/199] Compiling SwiftParser Lookahead.swift
[170/199] Compiling SwiftParser LoopProgressCondition.swift
[171/199] Compiling SwiftParser Modifiers.swift
[172/199] Compiling SwiftParser Attributes.swift
[173/199] Compiling SwiftParser Availability.swift
[174/199] Compiling SwiftParser CharacterInfo.swift
[175/199] Compiling SwiftParser CollectionNodes+Parsable.swift
[176/199] Compiling SwiftParser Declarations.swift
[177/199] Emitting module SwiftParser
[178/199] Compiling SwiftParser Statements.swift
[179/199] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[180/199] Compiling SwiftParser StringLiterals.swift
[181/199] Compiling SwiftParser SwiftParserCompatibility.swift
[182/199] Compiling SwiftParser Lexeme.swift
[183/199] Compiling SwiftParser LexemeSequence.swift
[184/199] Compiling SwiftParser Lexer.swift
[185/199] Compiling SwiftParser RegexLiteralLexer.swift
[186/199] Compiling SwiftParser Directives.swift
[187/199] Compiling SwiftParser ExperimentalFeatures.swift
[188/199] Compiling SwiftParser Expressions.swift
[189/199] Compiling SwiftParser IncrementalParseTransition.swift
[190/199] Compiling SwiftParser Cursor.swift
[191/199] Compiling SwiftParser IsLexerClassified.swift
[192/199] Compiling SwiftParser LayoutNodes+Parsable.swift
[193/199] Compiling SwiftParser Parser+TokenSpecSet.swift
[194/199] Compiling SwiftParser TokenSpecStaticMembers.swift
[195/222] Compiling SwiftOperators PrecedenceGroup.swift
[196/222] Compiling SwiftOperators OperatorTable.swift
[197/223] Compiling SwiftOperators SyntaxSynthesis.swift
[198/223] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[199/223] Compiling SwiftParserDiagnostics PresenceUtils.swift
[200/224] Compiling SwiftOperators OperatorError.swift
[201/224] Compiling SwiftOperators OperatorError+Diagnostics.swift
[202/224] Compiling SwiftOperators Operator.swift
[203/224] Emitting module SwiftOperators
[204/224] Compiling SwiftOperators PrecedenceGraph.swift
[205/224] Compiling SwiftOperators OperatorTable+Defaults.swift
[206/224] Compiling SwiftOperators OperatorTable+Semantics.swift
[207/224] Compiling SwiftOperators OperatorTable+Folding.swift
[208/224] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[209/224] Compiling SwiftParserDiagnostics Utils.swift
[210/224] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[211/224] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[212/224] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[213/224] Compiling SwiftParserDiagnostics DiagnosticExtensions.swift
[214/224] Compiling SwiftParserDiagnostics LexerDiagnosticMessages.swift
[215/224] Compiling SwiftParserDiagnostics MissingNodesError.swift
[216/224] Compiling SwiftParserDiagnostics MissingTokenError.swift
[217/224] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[218/224] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[219/224] Emitting module SwiftParserDiagnostics
[220/238] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[221/239] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[222/239] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[223/239] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[224/239] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[225/239] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[226/239] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[227/239] Compiling SwiftSyntaxBuilder Indenter.swift
[228/239] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[229/239] Emitting module SwiftSyntaxBuilder
[230/239] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[231/239] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[232/239] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[233/239] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[234/239] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[235/253] Compiling SwiftSyntaxMacros Macro.swift
[236/253] Compiling SwiftSyntaxMacros MemberAttributeMacro.swift
[237/254] Compiling SwiftSyntaxMacros FreestandingMacro.swift
[238/254] Compiling SwiftSyntaxMacros CodeItemMacro.swift
[239/254] Compiling SwiftSyntaxMacros DeclarationMacro.swift
[240/254] Emitting module SwiftSyntaxMacros
[241/254] Compiling SwiftSyntaxMacros ExpressionMacro.swift
[242/254] Compiling SwiftSyntaxMacros ExtensionMacro.swift
[243/254] Compiling SwiftSyntaxMacros Macro+Format.swift
[244/254] Compiling SwiftSyntaxMacros AccessorMacro.swift
[245/254] Compiling SwiftSyntaxMacros AttachedMacro.swift
[246/254] Compiling SwiftSyntaxMacros AbstractSourceLocation.swift
[247/254] Compiling SwiftSyntaxMacros MacroExpansionContext.swift
[248/254] Compiling SwiftSyntaxMacros MemberMacro.swift
[249/254] Compiling SwiftSyntaxMacros PeerMacro.swift
[250/262] Compiling SwiftSyntaxMacroExpansion MacroReplacement.swift
[251/262] Compiling SwiftSyntaxMacroExpansion IndentationUtils.swift
[252/262] Compiling SwiftSyntaxMacroExpansion FunctionParameterUtils.swift
[253/262] Compiling SwiftSyntaxMacroExpansion MacroSystem.swift
[254/262] Emitting module SwiftSyntaxMacroExpansion
[255/262] Compiling SwiftSyntaxMacroExpansion MacroExpansionDiagnosticMessages.swift
[256/262] Compiling SwiftSyntaxMacroExpansion MacroExpansion.swift
[257/262] Compiling SwiftSyntaxMacroExpansion BasicMacroExpansionContext.swift
[258/269] Compiling SwiftCompilerPluginMessageHandling PluginMessageCompatibility.swift
[259/269] Compiling SwiftCompilerPluginMessageHandling PluginMacroExpansionContext.swift
[260/269] Compiling SwiftCompilerPluginMessageHandling CompilerPluginMessageHandler.swift
[261/269] Emitting module SwiftCompilerPluginMessageHandling
[262/269] Compiling SwiftCompilerPluginMessageHandling PluginMessages.swift
[263/269] Compiling SwiftCompilerPluginMessageHandling Macros.swift
[264/269] Compiling SwiftCompilerPluginMessageHandling Diagnostics.swift
[265/271] Compiling SwiftCompilerPlugin CompilerPlugin.swift
[266/271] Emitting module SwiftCompilerPlugin
[267/283] Compiling PapyrusPlugin AttributeSyntax+Utilities.swift
[268/284] Compiling PapyrusPlugin ProtocolDeclSyntax+Utilities.swift
[269/284] Compiling PapyrusPlugin Plugin.swift
[270/284] Compiling PapyrusPlugin Macro+Utilities.swift
[271/284] Compiling PapyrusPlugin FunctionDeclSyntax+Utilities.swift
[272/284] Compiling PapyrusPlugin PapyrusPluginError.swift
[273/284] Compiling PapyrusPlugin FunctionParameterSyntax+Utilities.swift
[274/284] Compiling PapyrusPlugin String+Utilities.swift
[275/284] Compiling PapyrusPlugin DecoratorMacro.swift
[276/284] Compiling PapyrusPlugin MockMacro.swift
[277/284] Emitting module PapyrusPlugin
[278/284] Compiling PapyrusPlugin APIAttribute.swift
[279/284] Compiling PapyrusPlugin APIMacro.swift
[279/284] Write Objects.LinkFileList
[280/284] Linking PapyrusPlugin-tool
[282/301] Compiling PapyrusCore URLEncodedFormEncoder.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: annotate 'iso8601Formatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | let formatter = ISO8601DateFormatter()
53 | formatter.formatOptions = .withInternetDateTime
[283/302] Compiling PapyrusCore Request.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: annotate 'defaultQueryEncoder' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'defaultRequestEncoder' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'defaultResponseDecoder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 |
80 | // MARK: Data
[284/302] Compiling PapyrusCore RequestBuilder.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: annotate 'defaultQueryEncoder' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'defaultRequestEncoder' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'defaultResponseDecoder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 |
80 | // MARK: Data
[285/302] Compiling PapyrusCore MultipartEncoder.swift
[286/302] Compiling PapyrusCore Part.swift
[287/302] Compiling PapyrusCore RequestEncoder.swift
[288/302] Compiling PapyrusCore Response.swift
[289/302] 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: annotate 'iso8601Formatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | let formatter = ISO8601DateFormatter()
53 | formatter.formatOptions = .withInternetDateTime
[290/302] 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: annotate 'iso8601Formatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | let formatter = ISO8601DateFormatter()
53 | formatter.formatOptions = .withInternetDateTime
[291/302] 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 '(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 | }
/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 | }
[292/302] 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 '(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 | }
/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 | }
[293/302] Compiling PapyrusCore KeyMapping.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; this is an error in the Swift 6 language mode
180 | }
181 |
182 | return GenericCodingKey(toMapper(last.stringValue))
| |- warning: capture of 'toMapper' with non-sendable type '(String) -> String' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- 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; this is an error in the Swift 6 language mode
197 | }
198 |
199 | return GenericCodingKey(fromMapper(last.stringValue))
| |- warning: capture of 'fromMapper' with non-sendable type '(String) -> String' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
200 | }
201 | }
[294/302] Compiling PapyrusCore Macros.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; this is an error in the Swift 6 language mode
180 | }
181 |
182 | return GenericCodingKey(toMapper(last.stringValue))
| |- warning: capture of 'toMapper' with non-sendable type '(String) -> String' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- 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; this is an error in the Swift 6 language mode
197 | }
198 |
199 | return GenericCodingKey(fromMapper(last.stringValue))
| |- warning: capture of 'fromMapper' with non-sendable type '(String) -> String' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
200 | }
201 | }
[295/302] Compiling PapyrusCore URLEncodedFormDecoder.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: annotate 'iso8601Formatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | let formatter = ISO8601DateFormatter()
53 | formatter.formatOptions = .withInternetDateTime
[296/302] 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: annotate 'defaultQueryEncoder' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'defaultRequestEncoder' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'defaultResponseDecoder' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'iso8601Formatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | let formatter = ISO8601DateFormatter()
53 | formatter.formatOptions = .withInternetDateTime
[297/302] Compiling PapyrusCore HTTPService.swift
[298/302] Compiling PapyrusCore CurlInterceptor.swift
[299/302] Compiling PapyrusCore URLEncodedFormNode.swift
[300/306] Emitting module Papyrus
[301/306] 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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
47 | }.resume()
48 | }
[302/306] 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 | }
[303/306] Emitting module PapyrusAlamofire
[304/308] Emitting module Example
/Users/admin/builder/spi-builder-workspace/Example/main.swift:35:29: warning: non-sendable type 'any Response' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; 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 type 'any Response' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; 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 type '[Todo]' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; 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 type '[Todo]' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; 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 type '[Todo]' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; 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 type '[Todo]' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; 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"
[305/308] Compiling Example main.swift
/Users/admin/builder/spi-builder-workspace/Example/main.swift:35:29: warning: non-sendable type 'any Response' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; 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 type 'any Response' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; 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 type '[Todo]' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; 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 type '[Todo]' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; 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 type '[Todo]' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; 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 type '[Todo]' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; 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"
[305/308] Write Objects.LinkFileList
[306/308] Linking Example
[307/308] Applying Example
Build complete! (59.85s)
warning: 'alamofire': /Users/admin/builder/spi-builder-workspace/.build/checkouts/Alamofire/Package.swift:28:15: warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)'
26 | import PackageDescription
27 |
28 | let package = Package(name: "Alamofire",
| |- warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)'
| `- note: use 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)' instead
29 | platforms: [.macOS(.v10_13),
30 | .iOS(.v12),
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.