Build Information
Successful build of papyrus, reference v0.6.16 (0a424d
), with Swift 6.0 for Linux on 6 Nov 2024 23:25:22 UTC.
Swift 6 data race errors: 10
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
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 /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/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
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/Fleuronic/papyrus.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/Alamofire/Alamofire.git
Fetching https://github.com/apple/swift-syntax
Fetching https://github.com/pointfreeco/swift-macro-testing
[1/631] Fetching swift-macro-testing
[632/30426] Fetching swift-macro-testing, alamofire
[4804/96820] Fetching swift-macro-testing, alamofire, swift-syntax
Fetched https://github.com/pointfreeco/swift-macro-testing from cache (3.52s)
Fetched https://github.com/apple/swift-syntax from cache (5.69s)
Fetched https://github.com/Alamofire/Alamofire.git from cache (5.70s)
Computing version for https://github.com/apple/swift-syntax
Computed https://github.com/apple/swift-syntax at 510.0.3 (2.73s)
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.64s)
Computing version for https://github.com/pointfreeco/swift-macro-testing
Computed https://github.com/pointfreeco/swift-macro-testing at 0.5.2 (0.66s)
Fetching https://github.com/pointfreeco/swift-snapshot-testing
[1/12446] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (1.59s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.17.6 (0.62s)
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/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
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': /host/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.
Building for debugging...
[0/42] Write sources
[5/42] Copying PrivacyInfo.xcprivacy
[12/42] Write sources
[20/42] Write swift-version-24593BA9C3E375BF.txt
[22/85] Emitting module SwiftSyntax510
[23/85] Compiling SwiftSyntax509 Empty.swift
[24/85] Emitting module SwiftSyntax509
[25/86] Compiling SwiftSyntax510 Empty.swift
[27/87] Wrapping AST for SwiftSyntax509 for debugging
[28/87] Wrapping AST for SwiftSyntax510 for debugging
[30/147] Compiling SwiftSyntax SyntaxRewriter.swift
[31/147] Compiling SwiftSyntax SyntaxTraits.swift
[32/147] Compiling SwiftSyntax TokenDiagnostic.swift
[33/147] Compiling SwiftSyntax TokenSequence.swift
[34/147] Compiling SwiftSyntax TokenSyntax.swift
[35/152] Compiling SwiftSyntax SyntaxHashable.swift
[36/152] Compiling SwiftSyntax SyntaxIdentifier.swift
[37/152] Compiling SwiftSyntax SyntaxNodeStructure.swift
[38/152] Compiling SwiftSyntax SyntaxProtocol.swift
[39/152] Compiling SwiftSyntax SyntaxText.swift
[40/152] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[41/152] Compiling SwiftSyntax RawSyntax.swift
[42/152] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[43/152] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[44/152] Compiling SwiftSyntax RawSyntaxTokenView.swift
[45/152] Compiling SwiftSyntax SourceLength.swift
[46/152] Compiling SwiftSyntax SourceLocation.swift
[47/152] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[48/152] Compiling SwiftSyntax SyntaxBaseNodes.swift
[49/152] Compiling SwiftSyntax SyntaxCollections.swift
[50/152] Compiling SwiftSyntax SyntaxEnum.swift
[51/152] Compiling SwiftSyntax SyntaxKind.swift
[52/152] Compiling SwiftSyntax CommonAncestor.swift
[53/152] Compiling SwiftSyntax Convenience.swift
[54/152] Compiling SwiftSyntax MemoryLayout.swift
[55/152] Compiling SwiftSyntax MissingNodeInitializers.swift
[56/152] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[57/152] Compiling SwiftSyntax AbsolutePosition.swift
[58/152] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[59/152] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[60/152] Compiling SwiftSyntax Assert.swift
[61/152] Compiling SwiftSyntax BumpPtrAllocator.swift
[62/152] Compiling SwiftSyntax SourcePresence.swift
[63/152] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[64/152] Compiling SwiftSyntax Syntax.swift
[65/152] Compiling SwiftSyntax SyntaxArena.swift
[66/152] Compiling SwiftSyntax SyntaxChildren.swift
[67/152] Compiling SwiftSyntax SyntaxCollection.swift
[68/152] Emitting module Alamofire
[87/160] Compiling Alamofire RetryPolicy.swift
[88/160] Compiling Alamofire ServerTrustEvaluation.swift
[89/160] Compiling Alamofire URLEncodedFormEncoder.swift
[90/160] Compiling Alamofire Validation.swift
[91/160] Compiling Alamofire resource_bundle_accessor.swift
[93/161] Emitting module SwiftSyntax
[103/161] Compiling SwiftSyntax RawSyntaxNodesEF.swift
[104/161] Compiling SwiftSyntax RawSyntaxNodesGHI.swift
[105/161] Compiling SwiftSyntax RawSyntaxNodesJKLMN.swift
[106/161] Compiling SwiftSyntax RawSyntaxNodesOP.swift
[107/161] Compiling SwiftSyntax RawSyntaxNodesQRS.swift
[108/161] Compiling SwiftSyntax RawSyntaxNodesTUVWXYZ.swift
[109/161] Compiling SwiftSyntax RawSyntaxValidation.swift
[110/161] Compiling SwiftSyntax SyntaxNodesAB.swift
[127/161] Compiling SwiftSyntax SyntaxTransform.swift
[128/161] Compiling SwiftSyntax SyntaxVisitor.swift
[129/161] Compiling SwiftSyntax TokenKind.swift
[130/161] Compiling SwiftSyntax Tokens.swift
[131/161] Compiling SwiftSyntax TriviaPieces.swift
[132/161] Compiling SwiftSyntax RawSyntaxNodesAB.swift
[133/161] Compiling SwiftSyntax RawSyntaxNodesC.swift
[134/161] Compiling SwiftSyntax RawSyntaxNodesD.swift
[135/161] Compiling SwiftSyntax SyntaxNodesC.swift
[136/161] Compiling SwiftSyntax SyntaxNodesD.swift
[137/161] Compiling SwiftSyntax SyntaxNodesEF.swift
[138/161] Compiling SwiftSyntax SyntaxNodesGHI.swift
[139/161] Compiling SwiftSyntax SyntaxNodesJKLMN.swift
[140/161] Compiling SwiftSyntax SyntaxNodesOP.swift
[141/161] Compiling SwiftSyntax SyntaxNodesQRS.swift
[142/161] Compiling SwiftSyntax SyntaxNodesTUVWXYZ.swift
[143/162] Wrapping AST for SwiftSyntax for debugging
[145/213] Compiling SwiftDiagnostics FixIt.swift
[146/213] Compiling SwiftDiagnostics Note.swift
[147/213] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[148/213] Compiling SwiftDiagnostics Message.swift
[149/213] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[150/213] Emitting module SwiftBasicFormat
[151/213] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[152/213] Compiling SwiftBasicFormat Syntax+Extensions.swift
[153/213] Compiling SwiftDiagnostics Convenience.swift
[154/213] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[155/213] Emitting module SwiftDiagnostics
[156/213] Compiling SwiftDiagnostics Diagnostic.swift
[157/214] Wrapping AST for SwiftDiagnostics for debugging
[159/214] Compiling SwiftBasicFormat BasicFormat.swift
[160/215] Wrapping AST for SwiftBasicFormat for debugging
[162/215] Compiling SwiftParser TokenPrecedence.swift
[163/215] Compiling SwiftParser TokenSpec.swift
[164/215] Compiling SwiftParser TokenSpecSet.swift
[165/215] Compiling SwiftParser TopLevel.swift
[166/215] Compiling SwiftParser TriviaParser.swift
[167/215] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[168/215] Compiling SwiftParser StringLiterals.swift
[169/215] Compiling SwiftParser SwiftParserCompatibility.swift
[170/215] Compiling SwiftParser SyntaxUtils.swift
[171/215] Compiling SwiftParser TokenConsumer.swift
[172/220] Compiling SwiftParser Lexer.swift
[173/220] Compiling SwiftParser RegexLiteralLexer.swift
[174/220] Compiling SwiftParser UnicodeScalarExtensions.swift
[175/220] Compiling SwiftParser Lookahead.swift
[176/220] Compiling SwiftParser LoopProgressCondition.swift
[177/220] Compiling SwiftParser Modifiers.swift
[178/220] Compiling SwiftParser Names.swift
[179/220] Compiling SwiftParser Nominals.swift
[180/220] Compiling SwiftParser Parameters.swift
[181/220] Compiling SwiftParser ParseSourceFile.swift
[182/220] Compiling SwiftParser Parser.swift
[183/220] Compiling SwiftParser Patterns.swift
[184/220] Compiling SwiftParser Recovery.swift
[185/220] Compiling SwiftParser Specifiers.swift
[186/220] Compiling SwiftParser Statements.swift
[187/220] Compiling SwiftParser ExperimentalFeatures.swift
[188/220] Compiling SwiftParser Expressions.swift
[189/220] Compiling SwiftParser IncrementalParseTransition.swift
[190/220] Compiling SwiftParser Cursor.swift
[191/220] Compiling SwiftParser Lexeme.swift
[192/220] Compiling SwiftParser LexemeSequence.swift
[193/220] Emitting module SwiftParser
[194/220] Compiling SwiftParser Attributes.swift
[195/220] Compiling SwiftParser Availability.swift
[196/220] Compiling SwiftParser CharacterInfo.swift
[197/220] Compiling SwiftParser CollectionNodes+Parsable.swift
[198/220] Compiling SwiftParser Declarations.swift
[199/220] Compiling SwiftParser Directives.swift
[200/220] Compiling SwiftParser Types.swift
[201/220] Compiling SwiftParser IsLexerClassified.swift
[202/220] Compiling SwiftParser LayoutNodes+Parsable.swift
[203/220] Compiling SwiftParser Parser+TokenSpecSet.swift
[204/220] Compiling SwiftParser TokenSpecStaticMembers.swift
[205/221] Wrapping AST for SwiftParser for debugging
[207/244] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[208/245] Compiling SwiftOperators PrecedenceGroup.swift
[209/246] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[210/246] Compiling SwiftOperators OperatorTable.swift
[211/246] Compiling SwiftOperators PrecedenceGraph.swift
[212/246] Compiling SwiftOperators SyntaxSynthesis.swift
[213/246] Compiling SwiftOperators OperatorTable+Semantics.swift
[214/246] Compiling SwiftOperators Operator.swift
[215/246] Compiling SwiftOperators OperatorError+Diagnostics.swift
[216/246] Emitting module SwiftOperators
[217/246] Compiling SwiftOperators OperatorError.swift
[218/246] Compiling SwiftOperators OperatorTable+Defaults.swift
[219/246] Compiling SwiftOperators OperatorTable+Folding.swift
[220/247] Wrapping AST for SwiftOperators for debugging
[222/247] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[223/247] Compiling SwiftParserDiagnostics Utils.swift
[224/247] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[225/247] Emitting module SwiftParserDiagnostics
[228/247] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[229/247] Compiling SwiftParserDiagnostics PresenceUtils.swift
[232/247] Compiling SwiftParserDiagnostics DiagnosticExtensions.swift
[233/247] Compiling SwiftParserDiagnostics LexerDiagnosticMessages.swift
[234/248] Wrapping AST for SwiftParserDiagnostics for debugging
[236/262] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[237/262] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[238/263] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[239/263] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[240/263] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[241/263] Emitting module SwiftSyntaxBuilder
[242/263] Compiling SwiftSyntaxBuilder Indenter.swift
[243/263] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[244/263] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[245/263] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[246/263] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[247/263] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[248/263] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[249/263] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[250/263] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[251/264] Wrapping AST for SwiftSyntaxBuilder for debugging
[253/278] Compiling SwiftSyntaxMacros ExpressionMacro.swift
[254/278] Compiling SwiftSyntaxMacros ExtensionMacro.swift
[255/279] Compiling SwiftSyntaxMacros CodeItemMacro.swift
[256/279] Compiling SwiftSyntaxMacros DeclarationMacro.swift
[257/279] Compiling SwiftSyntaxMacros FreestandingMacro.swift
[258/279] Compiling SwiftSyntaxMacros Macro+Format.swift
[259/279] Compiling SwiftSyntaxMacros PeerMacro.swift
[260/279] Compiling SwiftSyntaxMacros Macro.swift
[261/279] Compiling SwiftSyntaxMacros MemberAttributeMacro.swift
[262/279] Compiling SwiftSyntaxMacros MemberMacro.swift
[263/279] Compiling SwiftSyntaxMacros AbstractSourceLocation.swift
[264/279] Compiling SwiftSyntaxMacros MacroExpansionContext.swift
[265/279] Emitting module SwiftSyntaxMacros
[266/279] Compiling SwiftSyntaxMacros AccessorMacro.swift
[267/279] Compiling SwiftSyntaxMacros AttachedMacro.swift
[268/280] Wrapping AST for SwiftSyntaxMacros for debugging
[270/288] Compiling SwiftSyntaxMacroExpansion BasicMacroExpansionContext.swift
[271/288] Compiling SwiftSyntaxMacroExpansion MacroExpansion.swift
[272/288] Emitting module SwiftSyntaxMacroExpansion
[273/288] Compiling SwiftSyntaxMacroExpansion IndentationUtils.swift
[274/288] Compiling SwiftSyntaxMacroExpansion FunctionParameterUtils.swift
[275/288] Compiling SwiftSyntaxMacroExpansion MacroReplacement.swift
[276/288] Compiling SwiftSyntaxMacroExpansion MacroExpansionDiagnosticMessages.swift
[277/288] Compiling SwiftSyntaxMacroExpansion MacroSystem.swift
[278/289] Wrapping AST for SwiftSyntaxMacroExpansion for debugging
[280/296] Compiling SwiftCompilerPluginMessageHandling Diagnostics.swift
[281/296] Compiling SwiftCompilerPluginMessageHandling Macros.swift
[282/296] Compiling SwiftCompilerPluginMessageHandling PluginMacroExpansionContext.swift
[283/296] Compiling SwiftCompilerPluginMessageHandling CompilerPluginMessageHandler.swift
[284/296] Emitting module SwiftCompilerPluginMessageHandling
[285/296] Compiling SwiftCompilerPluginMessageHandling PluginMessageCompatibility.swift
[286/296] Compiling SwiftCompilerPluginMessageHandling PluginMessages.swift
[287/297] Wrapping AST for SwiftCompilerPluginMessageHandling for debugging
[289/299] Compiling SwiftCompilerPlugin CompilerPlugin.swift
[290/299] Emitting module SwiftCompilerPlugin
[291/300] Wrapping AST for SwiftCompilerPlugin for debugging
[293/312] Compiling PapyrusPlugin FunctionParameterSyntax+Utilities.swift
[294/313] Compiling PapyrusPlugin ProtocolDeclSyntax+Utilities.swift
[295/313] Compiling PapyrusPlugin Macro+Utilities.swift
[296/313] Compiling PapyrusPlugin String+Utilities.swift
[297/313] Compiling PapyrusPlugin AttributeSyntax+Utilities.swift
[298/313] Compiling PapyrusPlugin FunctionDeclSyntax+Utilities.swift
[299/313] Compiling PapyrusPlugin DecoratorMacro.swift
[300/313] Compiling PapyrusPlugin MockMacro.swift
[301/313] Compiling PapyrusPlugin PapyrusPluginError.swift
[302/313] Compiling PapyrusPlugin Plugin.swift
[303/313] Emitting module PapyrusPlugin
[304/313] Compiling PapyrusPlugin APIAttribute.swift
[305/313] Compiling PapyrusPlugin APIMacro.swift
[306/314] Wrapping AST for PapyrusPlugin for debugging
[307/314] Write Objects.LinkFileList
[308/314] Linking PapyrusPlugin-tool
[310/330] Compiling PapyrusCore Macros.swift
[311/330] Compiling PapyrusCore MultipartEncoder.swift
[312/332] Compiling PapyrusCore Provider.swift
/host/spi-builder-workspace/PapyrusCore/Sources/Provider.swift:110:42: warning: converting a value of type '(sending any Response) -> ()' to type '(any Response) -> Void' risks causing data races; this is an error in the Swift 6 language mode
108 | try await intercept(req: req) { req in
109 | return try await withCheckedThrowingContinuation {
110 | next(req, $0.resume)
| |- warning: converting a value of type '(sending any Response) -> ()' to type '(any Response) -> Void' risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
111 | }
112 | }
/host/spi-builder-workspace/PapyrusCore/Sources/Provider.swift:105:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
103 | completionHandler: @escaping (Response) -> Void,
104 | next: @escaping (Request, @escaping (Response) -> Void) -> Void) {
105 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
106 | do {
107 | completionHandler(
| `- note: closure captures non-Sendable 'completionHandler'
108 | try await intercept(req: req) { req in
| | `- note: closure captures non-Sendable 'req'
| `- note: closure captures non-Sendable 'self'
109 | return try await withCheckedThrowingContinuation {
110 | next(req, $0.resume)
| `- note: closure captures non-Sendable 'next'
111 | }
112 | }
[313/332] Compiling PapyrusCore Request.swift
/host/spi-builder-workspace/PapyrusCore/Sources/Provider.swift:110:42: warning: converting a value of type '(sending any Response) -> ()' to type '(any Response) -> Void' risks causing data races; this is an error in the Swift 6 language mode
108 | try await intercept(req: req) { req in
109 | return try await withCheckedThrowingContinuation {
110 | next(req, $0.resume)
| |- warning: converting a value of type '(sending any Response) -> ()' to type '(any Response) -> Void' risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
111 | }
112 | }
/host/spi-builder-workspace/PapyrusCore/Sources/Provider.swift:105:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
103 | completionHandler: @escaping (Response) -> Void,
104 | next: @escaping (Request, @escaping (Response) -> Void) -> Void) {
105 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
106 | do {
107 | completionHandler(
| `- note: closure captures non-Sendable 'completionHandler'
108 | try await intercept(req: req) { req in
| | `- note: closure captures non-Sendable 'req'
| `- note: closure captures non-Sendable 'self'
109 | return try await withCheckedThrowingContinuation {
110 | next(req, $0.resume)
| `- note: closure captures non-Sendable 'next'
111 | }
112 | }
[314/332] Compiling PapyrusCore HTTPService.swift
/host/spi-builder-workspace/PapyrusCore/Sources/KeyMapping.swift:182:41: warning: capture of 'toMapper' with non-sendable type '(String) -> String' in a `@Sendable` closure; 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 | }
/host/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 | }
[315/332] Compiling PapyrusCore CurlInterceptor.swift
/host/spi-builder-workspace/PapyrusCore/Sources/KeyMapping.swift:182:41: warning: capture of 'toMapper' with non-sendable type '(String) -> String' in a `@Sendable` closure; 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 | }
/host/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 | }
[316/332] Compiling PapyrusCore KeyMapping.swift
/host/spi-builder-workspace/PapyrusCore/Sources/KeyMapping.swift:182:41: warning: capture of 'toMapper' with non-sendable type '(String) -> String' in a `@Sendable` closure; 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 | }
/host/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 | }
[317/332] Emitting module PapyrusCore
/host/spi-builder-workspace/PapyrusCore/Sources/PapyrusError.swift:6:16: warning: stored property 'request' of 'Sendable'-conforming struct 'PapyrusError' has non-sendable type '(any Request)?'; this is an error in the Swift 6 language mode
4 | public let message: String
5 | /// Error related request.
6 | public let request: Request?
| `- warning: stored property 'request' of 'Sendable'-conforming struct 'PapyrusError' has non-sendable type '(any Request)?'; this is an error in the Swift 6 language mode
7 | /// Error related response.
8 | public let response: Response?
/host/spi-builder-workspace/PapyrusCore/Sources/Request.swift:3:17: note: protocol 'Request' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public protocol Request {
| `- note: protocol 'Request' does not conform to the 'Sendable' protocol
4 | var url: URL? { get set }
5 | var method: String { get set }
/host/spi-builder-workspace/PapyrusCore/Sources/PapyrusError.swift:8:16: warning: stored property 'response' of 'Sendable'-conforming struct 'PapyrusError' has non-sendable type '(any Response)?'; this is an error in the Swift 6 language mode
6 | public let request: Request?
7 | /// Error related response.
8 | public let response: Response?
| `- warning: stored property 'response' of 'Sendable'-conforming struct 'PapyrusError' has non-sendable type '(any Response)?'; this is an error in the Swift 6 language mode
9 |
10 | /// Create an error with the specified message.
/host/spi-builder-workspace/PapyrusCore/Sources/Response.swift:3:17: note: protocol 'Response' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public protocol Response {
| `- note: protocol 'Response' does not conform to the 'Sendable' protocol
4 | var request: Request? { get }
5 | var body: Data? { get }
/host/spi-builder-workspace/PapyrusCore/Sources/RequestBuilder.swift:76:23: warning: static property 'defaultQueryEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
74 | }
75 |
76 | public static var defaultQueryEncoder: URLEncodedFormEncoder = URLEncodedFormEncoder()
| |- warning: static property 'defaultQueryEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultQueryEncoder' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: 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()
/host/spi-builder-workspace/PapyrusCore/Sources/RequestBuilder.swift:77:23: warning: static property 'defaultRequestEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
75 |
76 | public static var defaultQueryEncoder: URLEncodedFormEncoder = URLEncodedFormEncoder()
77 | public static var defaultRequestEncoder: RequestEncoder = JSONEncoder()
| |- warning: static property 'defaultRequestEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultRequestEncoder' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: 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 |
/host/spi-builder-workspace/PapyrusCore/Sources/RequestBuilder.swift:78:23: warning: static property 'defaultResponseDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
76 | public static var defaultQueryEncoder: URLEncodedFormEncoder = URLEncodedFormEncoder()
77 | public static var defaultRequestEncoder: RequestEncoder = JSONEncoder()
78 | public static var defaultResponseDecoder: ResponseDecoder = JSONDecoder()
| |- warning: static property 'defaultResponseDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultResponseDecoder' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: 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
/host/spi-builder-workspace/PapyrusCore/Sources/URLEncoder/URLEncodedForm.swift:51:16: warning: static property 'iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
49 | @available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
50 | /// ISO8601 data formatter used throughout URL encoded form code
51 | static var iso8601Formatter: ISO8601DateFormatter = {
| |- warning: static property 'iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: 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
[318/332] Compiling PapyrusCore RequestBuilder.swift
/host/spi-builder-workspace/PapyrusCore/Sources/RequestBuilder.swift:76:23: warning: static property 'defaultQueryEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
74 | }
75 |
76 | public static var defaultQueryEncoder: URLEncodedFormEncoder = URLEncodedFormEncoder()
| |- warning: static property 'defaultQueryEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultQueryEncoder' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: 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()
/host/spi-builder-workspace/PapyrusCore/Sources/RequestBuilder.swift:77:23: warning: static property 'defaultRequestEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
75 |
76 | public static var defaultQueryEncoder: URLEncodedFormEncoder = URLEncodedFormEncoder()
77 | public static var defaultRequestEncoder: RequestEncoder = JSONEncoder()
| |- warning: static property 'defaultRequestEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultRequestEncoder' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: 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 |
/host/spi-builder-workspace/PapyrusCore/Sources/RequestBuilder.swift:78:23: warning: static property 'defaultResponseDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
76 | public static var defaultQueryEncoder: URLEncodedFormEncoder = URLEncodedFormEncoder()
77 | public static var defaultRequestEncoder: RequestEncoder = JSONEncoder()
78 | public static var defaultResponseDecoder: ResponseDecoder = JSONDecoder()
| |- warning: static property 'defaultResponseDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultResponseDecoder' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: 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
[319/332] Compiling PapyrusCore RequestEncoder.swift
/host/spi-builder-workspace/PapyrusCore/Sources/RequestBuilder.swift:76:23: warning: static property 'defaultQueryEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
74 | }
75 |
76 | public static var defaultQueryEncoder: URLEncodedFormEncoder = URLEncodedFormEncoder()
| |- warning: static property 'defaultQueryEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultQueryEncoder' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: 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()
/host/spi-builder-workspace/PapyrusCore/Sources/RequestBuilder.swift:77:23: warning: static property 'defaultRequestEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
75 |
76 | public static var defaultQueryEncoder: URLEncodedFormEncoder = URLEncodedFormEncoder()
77 | public static var defaultRequestEncoder: RequestEncoder = JSONEncoder()
| |- warning: static property 'defaultRequestEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultRequestEncoder' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: 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 |
/host/spi-builder-workspace/PapyrusCore/Sources/RequestBuilder.swift:78:23: warning: static property 'defaultResponseDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
76 | public static var defaultQueryEncoder: URLEncodedFormEncoder = URLEncodedFormEncoder()
77 | public static var defaultRequestEncoder: RequestEncoder = JSONEncoder()
78 | public static var defaultResponseDecoder: ResponseDecoder = JSONDecoder()
| |- warning: static property 'defaultResponseDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultResponseDecoder' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: 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
[320/332] Compiling PapyrusCore Part.swift
/host/spi-builder-workspace/PapyrusCore/Sources/PapyrusError.swift:6:16: warning: stored property 'request' of 'Sendable'-conforming struct 'PapyrusError' has non-sendable type '(any Request)?'; this is an error in the Swift 6 language mode
4 | public let message: String
5 | /// Error related request.
6 | public let request: Request?
| `- warning: stored property 'request' of 'Sendable'-conforming struct 'PapyrusError' has non-sendable type '(any Request)?'; this is an error in the Swift 6 language mode
7 | /// Error related response.
8 | public let response: Response?
/host/spi-builder-workspace/PapyrusCore/Sources/Request.swift:3:17: note: protocol 'Request' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public protocol Request {
| `- note: protocol 'Request' does not conform to the 'Sendable' protocol
4 | var url: URL? { get set }
5 | var method: String { get set }
/host/spi-builder-workspace/PapyrusCore/Sources/PapyrusError.swift:8:16: warning: stored property 'response' of 'Sendable'-conforming struct 'PapyrusError' has non-sendable type '(any Response)?'; this is an error in the Swift 6 language mode
6 | public let request: Request?
7 | /// Error related response.
8 | public let response: Response?
| `- warning: stored property 'response' of 'Sendable'-conforming struct 'PapyrusError' has non-sendable type '(any Response)?'; this is an error in the Swift 6 language mode
9 |
10 | /// Create an error with the specified message.
/host/spi-builder-workspace/PapyrusCore/Sources/Response.swift:3:17: note: protocol 'Response' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public protocol Response {
| `- note: protocol 'Response' does not conform to the 'Sendable' protocol
4 | var request: Request? { get }
5 | var body: Data? { get }
[321/332] Compiling PapyrusCore PapyrusError.swift
/host/spi-builder-workspace/PapyrusCore/Sources/PapyrusError.swift:6:16: warning: stored property 'request' of 'Sendable'-conforming struct 'PapyrusError' has non-sendable type '(any Request)?'; this is an error in the Swift 6 language mode
4 | public let message: String
5 | /// Error related request.
6 | public let request: Request?
| `- warning: stored property 'request' of 'Sendable'-conforming struct 'PapyrusError' has non-sendable type '(any Request)?'; this is an error in the Swift 6 language mode
7 | /// Error related response.
8 | public let response: Response?
/host/spi-builder-workspace/PapyrusCore/Sources/Request.swift:3:17: note: protocol 'Request' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public protocol Request {
| `- note: protocol 'Request' does not conform to the 'Sendable' protocol
4 | var url: URL? { get set }
5 | var method: String { get set }
/host/spi-builder-workspace/PapyrusCore/Sources/PapyrusError.swift:8:16: warning: stored property 'response' of 'Sendable'-conforming struct 'PapyrusError' has non-sendable type '(any Response)?'; this is an error in the Swift 6 language mode
6 | public let request: Request?
7 | /// Error related response.
8 | public let response: Response?
| `- warning: stored property 'response' of 'Sendable'-conforming struct 'PapyrusError' has non-sendable type '(any Response)?'; this is an error in the Swift 6 language mode
9 |
10 | /// Create an error with the specified message.
/host/spi-builder-workspace/PapyrusCore/Sources/Response.swift:3:17: note: protocol 'Response' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public protocol Response {
| `- note: protocol 'Response' does not conform to the 'Sendable' protocol
4 | var request: Request? { get }
5 | var body: Data? { get }
[322/332] Compiling PapyrusCore Response.swift
[323/332] Compiling PapyrusCore ResponseDecoder.swift
[324/332] Compiling PapyrusCore URLEncodedForm.swift
/host/spi-builder-workspace/PapyrusCore/Sources/URLEncoder/URLEncodedForm.swift:51:16: warning: static property 'iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
49 | @available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
50 | /// ISO8601 data formatter used throughout URL encoded form code
51 | static var iso8601Formatter: ISO8601DateFormatter = {
| |- warning: static property 'iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: 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
[325/332] Compiling PapyrusCore URLEncodedFormDecoder.swift
/host/spi-builder-workspace/PapyrusCore/Sources/URLEncoder/URLEncodedForm.swift:51:16: warning: static property 'iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
49 | @available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
50 | /// ISO8601 data formatter used throughout URL encoded form code
51 | static var iso8601Formatter: ISO8601DateFormatter = {
| |- warning: static property 'iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: 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
[326/332] Compiling PapyrusCore URLEncodedFormEncoder.swift
/host/spi-builder-workspace/PapyrusCore/Sources/URLEncoder/URLEncodedForm.swift:51:16: warning: static property 'iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
49 | @available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
50 | /// ISO8601 data formatter used throughout URL encoded form code
51 | static var iso8601Formatter: ISO8601DateFormatter = {
| |- warning: static property 'iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: 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
[327/332] Compiling PapyrusCore URLEncodedFormNode.swift
/host/spi-builder-workspace/PapyrusCore/Sources/URLEncoder/URLEncodedForm.swift:51:16: warning: static property 'iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
49 | @available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
50 | /// ISO8601 data formatter used throughout URL encoded form code
51 | static var iso8601Formatter: ISO8601DateFormatter = {
| |- warning: static property 'iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: 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
[328/333] Wrapping AST for PapyrusCore for debugging
[330/337] Emitting module PapyrusAlamofire
[331/337] Compiling PapyrusAlamofire Alamofire+Papyrus.swift
/host/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 | }
[332/338] Compiling Papyrus URLSession+Papyrus.swift
/host/spi-builder-workspace/Papyrus/URLSession+Papyrus.swift:30:58: 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
28 | #if os(Linux) // Linux doesn't have access to async URLSession APIs
29 | await withCheckedContinuation { continuation in
30 | request(req, completionHandler: continuation.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
31 | }
32 | #else
/host/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 | }
[333/338] Emitting module Papyrus
[335/339] Wrapping AST for Papyrus for debugging
[337/341] Compiling Example main.swift
/host/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"
/host/spi-builder-workspace/PapyrusCore/Sources/Response.swift:3:17: note: protocol 'Response' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public protocol Response {
| `- note: protocol 'Response' does not conform to the 'Sendable' protocol
4 | var request: Request? { get }
5 | var body: Data? { get }
/host/spi-builder-workspace/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.
/host/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.
/host/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 |
/host/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"
[338/341] Emitting module Example
/host/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"
/host/spi-builder-workspace/PapyrusCore/Sources/Response.swift:3:17: note: protocol 'Response' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public protocol Response {
| `- note: protocol 'Response' does not conform to the 'Sendable' protocol
4 | var request: Request? { get }
5 | var body: Data? { get }
/host/spi-builder-workspace/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.
/host/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.
/host/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 |
/host/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"
[339/342] Wrapping AST for Example for debugging
[340/342] Write Objects.LinkFileList
[341/342] Linking Example
Build complete! (155.57s)
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" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "tvos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "Example",
"targets" : [
"Example"
],
"type" : {
"executable" : null
}
},
{
"name" : "Papyrus",
"targets" : [
"Papyrus"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "PapyrusAlamofire",
"targets" : [
"PapyrusAlamofire"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "PapyrusCore",
"targets" : [
"PapyrusCore"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "PapyrusPlugin",
"targets" : [
"PapyrusPlugin"
],
"type" : {
"macro" : null
}
}
],
"targets" : [
{
"c99name" : "PapyrusPluginTests",
"module_type" : "SwiftTarget",
"name" : "PapyrusPluginTests",
"path" : "PapyrusPlugin/Tests",
"product_dependencies" : [
"MacroTesting"
],
"sources" : [
"APIMacroTests.swift"
],
"target_dependencies" : [
"PapyrusPlugin"
],
"type" : "test"
},
{
"c99name" : "PapyrusPlugin",
"module_type" : "SwiftTarget",
"name" : "PapyrusPlugin",
"path" : "PapyrusPlugin/Sources",
"product_dependencies" : [
"SwiftSyntax",
"SwiftSyntaxMacros",
"SwiftOperators",
"SwiftParser",
"SwiftParserDiagnostics",
"SwiftCompilerPlugin"
],
"product_memberships" : [
"Example",
"Papyrus",
"PapyrusAlamofire",
"PapyrusCore",
"PapyrusPlugin"
],
"sources" : [
"APIAttribute.swift",
"APIMacro.swift",
"DecoratorMacro.swift",
"MockMacro.swift",
"PapyrusPluginError.swift",
"Plugin.swift",
"Utilities/AttributeSyntax+Utilities.swift",
"Utilities/FunctionDeclSyntax+Utilities.swift",
"Utilities/FunctionParameterSyntax+Utilities.swift",
"Utilities/Macro+Utilities.swift",
"Utilities/ProtocolDeclSyntax+Utilities.swift",
"Utilities/String+Utilities.swift"
],
"type" : "macro"
},
{
"c99name" : "PapyrusCoreTests",
"module_type" : "SwiftTarget",
"name" : "PapyrusCoreTests",
"path" : "PapyrusCore/Tests",
"sources" : [
"APITests.swift",
"CurlTests.swift",
"KeyMappingTests.swift",
"ParameterTests.swift",
"ProviderTests.swift",
"RequestBuilderTests.swift",
"RequestEncoderTests.swift",
"ResponseDecoderTests.swift",
"ResponseTests.swift"
],
"target_dependencies" : [
"PapyrusCore"
],
"type" : "test"
},
{
"c99name" : "PapyrusCore",
"module_type" : "SwiftTarget",
"name" : "PapyrusCore",
"path" : "PapyrusCore/Sources",
"product_memberships" : [
"Example",
"Papyrus",
"PapyrusAlamofire",
"PapyrusCore"
],
"sources" : [
"HTTPService.swift",
"Interceptors/CurlInterceptor.swift",
"KeyMapping.swift",
"Macros.swift",
"Multipart/MultipartEncoder.swift",
"Multipart/Part.swift",
"PapyrusError.swift",
"Provider.swift",
"Request.swift",
"RequestBuilder.swift",
"RequestEncoder.swift",
"Response.swift",
"ResponseDecoder.swift",
"URLEncoder/URLEncodedForm.swift",
"URLEncoder/URLEncodedFormDecoder.swift",
"URLEncoder/URLEncodedFormEncoder.swift",
"URLEncoder/URLEncodedFormNode.swift"
],
"target_dependencies" : [
"PapyrusPlugin"
],
"type" : "library"
},
{
"c99name" : "PapyrusAlamofire",
"module_type" : "SwiftTarget",
"name" : "PapyrusAlamofire",
"path" : "PapyrusAlamofire",
"product_dependencies" : [
"Alamofire"
],
"product_memberships" : [
"PapyrusAlamofire"
],
"sources" : [
"Alamofire+Papyrus.swift"
],
"target_dependencies" : [
"PapyrusCore"
],
"type" : "library"
},
{
"c99name" : "Papyrus",
"module_type" : "SwiftTarget",
"name" : "Papyrus",
"path" : "Papyrus",
"product_memberships" : [
"Example",
"Papyrus"
],
"sources" : [
"URLSession+Papyrus.swift"
],
"target_dependencies" : [
"PapyrusCore"
],
"type" : "library"
},
{
"c99name" : "Example",
"module_type" : "SwiftTarget",
"name" : "Example",
"path" : "Example",
"product_memberships" : [
"Example"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"Papyrus"
],
"type" : "executable"
}
],
"tools_version" : "5.9"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.