The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of papyrus, reference v0.6.16 (0a424d), with Swift 6.1 for Linux on 28 Apr 2025 19:42:15 UTC.

Swift 6 data race errors: 15

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/joshuawright11/papyrus.git
Reference: v0.6.16
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/joshuawright11/papyrus
 * tag               v0.6.16    -> FETCH_HEAD
HEAD is now at 0a424d9 sendable
Cloned https://github.com/joshuawright11/papyrus.git
Revision (git rev-parse @):
0a424d90f7a31b40e3b850a58062bb3aa701323f
SUCCESS checkout https://github.com/joshuawright11/papyrus.git at v0.6.16
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/joshuawright11/papyrus.git
https://github.com/joshuawright11/papyrus.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "alamofire",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.7.1",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Alamofire/Alamofire.git"
    },
    {
      "identity" : "swift-syntax",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "510.0.0",
            "upper_bound" : "511.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-syntax"
    },
    {
      "identity" : "swift-macro-testing",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.1.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/pointfreeco/swift-macro-testing"
    }
  ],
  "manifest_display_name" : "papyrus",
  "name" : "papyrus",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "Example",
      "targets" : [
        "Example"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "Papyrus",
      "targets" : [
        "Papyrus"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "PapyrusAlamofire",
      "targets" : [
        "PapyrusAlamofire"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "PapyrusCore",
      "targets" : [
        "PapyrusCore"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "PapyrusPlugin",
      "targets" : [
        "PapyrusPlugin"
      ],
      "type" : {
        "macro" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "PapyrusPluginTests",
      "module_type" : "SwiftTarget",
      "name" : "PapyrusPluginTests",
      "path" : "PapyrusPlugin/Tests",
      "product_dependencies" : [
        "MacroTesting"
      ],
      "sources" : [
        "APIMacroTests.swift"
      ],
      "target_dependencies" : [
        "PapyrusPlugin"
      ],
      "type" : "test"
    },
    {
      "c99name" : "PapyrusPlugin",
      "module_type" : "SwiftTarget",
      "name" : "PapyrusPlugin",
      "path" : "PapyrusPlugin/Sources",
      "product_dependencies" : [
        "SwiftSyntax",
        "SwiftSyntaxMacros",
        "SwiftOperators",
        "SwiftParser",
        "SwiftParserDiagnostics",
        "SwiftCompilerPlugin"
      ],
      "product_memberships" : [
        "Example",
        "Papyrus",
        "PapyrusAlamofire",
        "PapyrusCore",
        "PapyrusPlugin"
      ],
      "sources" : [
        "APIAttribute.swift",
        "APIMacro.swift",
        "DecoratorMacro.swift",
        "MockMacro.swift",
        "PapyrusPluginError.swift",
        "Plugin.swift",
        "Utilities/AttributeSyntax+Utilities.swift",
        "Utilities/FunctionDeclSyntax+Utilities.swift",
        "Utilities/FunctionParameterSyntax+Utilities.swift",
        "Utilities/Macro+Utilities.swift",
        "Utilities/ProtocolDeclSyntax+Utilities.swift",
        "Utilities/String+Utilities.swift"
      ],
      "type" : "macro"
    },
    {
      "c99name" : "PapyrusCoreTests",
      "module_type" : "SwiftTarget",
      "name" : "PapyrusCoreTests",
      "path" : "PapyrusCore/Tests",
      "sources" : [
        "APITests.swift",
        "CurlTests.swift",
        "KeyMappingTests.swift",
        "ParameterTests.swift",
        "ProviderTests.swift",
        "RequestBuilderTests.swift",
        "RequestEncoderTests.swift",
        "ResponseDecoderTests.swift",
        "ResponseTests.swift"
      ],
      "target_dependencies" : [
        "PapyrusCore"
      ],
      "type" : "test"
    },
    {
      "c99name" : "PapyrusCore",
      "module_type" : "SwiftTarget",
      "name" : "PapyrusCore",
      "path" : "PapyrusCore/Sources",
      "product_memberships" : [
        "Example",
        "Papyrus",
        "PapyrusAlamofire",
        "PapyrusCore"
      ],
      "sources" : [
        "HTTPService.swift",
        "Interceptors/CurlInterceptor.swift",
        "KeyMapping.swift",
        "Macros.swift",
        "Multipart/MultipartEncoder.swift",
        "Multipart/Part.swift",
        "PapyrusError.swift",
        "Provider.swift",
        "Request.swift",
        "RequestBuilder.swift",
        "RequestEncoder.swift",
        "Response.swift",
        "ResponseDecoder.swift",
        "URLEncoder/URLEncodedForm.swift",
        "URLEncoder/URLEncodedFormDecoder.swift",
        "URLEncoder/URLEncodedFormEncoder.swift",
        "URLEncoder/URLEncodedFormNode.swift"
      ],
      "target_dependencies" : [
        "PapyrusPlugin"
      ],
      "type" : "library"
    },
    {
      "c99name" : "PapyrusAlamofire",
      "module_type" : "SwiftTarget",
      "name" : "PapyrusAlamofire",
      "path" : "PapyrusAlamofire",
      "product_dependencies" : [
        "Alamofire"
      ],
      "product_memberships" : [
        "PapyrusAlamofire"
      ],
      "sources" : [
        "Alamofire+Papyrus.swift"
      ],
      "target_dependencies" : [
        "PapyrusCore"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Papyrus",
      "module_type" : "SwiftTarget",
      "name" : "Papyrus",
      "path" : "Papyrus",
      "product_memberships" : [
        "Example",
        "Papyrus"
      ],
      "sources" : [
        "URLSession+Papyrus.swift"
      ],
      "target_dependencies" : [
        "PapyrusCore"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Example",
      "module_type" : "SwiftTarget",
      "name" : "Example",
      "path" : "Example",
      "product_memberships" : [
        "Example"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "Papyrus"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/apple/swift-syntax
Fetching https://github.com/pointfreeco/swift-macro-testing
Fetching https://github.com/Alamofire/Alamofire.git
[1/868] Fetching swift-macro-testing
[869/31005] Fetching swift-macro-testing, alamofire
[7500/101250] Fetching swift-macro-testing, alamofire, swift-syntax
Fetched https://github.com/pointfreeco/swift-macro-testing from cache (3.44s)
Fetched https://github.com/Alamofire/Alamofire.git from cache (3.52s)
Fetched https://github.com/apple/swift-syntax from cache (6.46s)
Computing version for https://github.com/apple/swift-syntax
Computed https://github.com/apple/swift-syntax at 510.0.3 (9.77s)
Computing version for https://github.com/Alamofire/Alamofire.git
Computed https://github.com/Alamofire/Alamofire.git at 5.10.2 (0.60s)
Computing version for https://github.com/pointfreeco/swift-macro-testing
Computed https://github.com/pointfreeco/swift-macro-testing at 0.6.2 (0.67s)
Fetching https://github.com/pointfreeco/swift-snapshot-testing
[1/13159] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (1.93s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.18.3 (2.48s)
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/4581] Fetching swift-custom-dump
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (0.30s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (0.82s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5388] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.61s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.5.2 (1.15s)
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.5.2
Creating working copy for https://github.com/Alamofire/Alamofire.git
Working copy of https://github.com/Alamofire/Alamofire.git resolved at 5.10.2
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.3.3
Creating working copy for https://github.com/pointfreeco/swift-macro-testing
Working copy of https://github.com/pointfreeco/swift-macro-testing resolved at 0.6.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.18.3
Creating working copy for https://github.com/apple/swift-syntax
Working copy of https://github.com/apple/swift-syntax resolved at 510.0.3
warning: 'swift-macro-testing': 'swift-macro-testing' dependency on 'https://github.com/swiftlang/swift-syntax' conflicts with dependency on 'https://github.com/apple/swift-syntax' which has the same identity 'swift-syntax'. this will be escalated to an error in future versions of SwiftPM.
warning: 'swift-snapshot-testing': 'swift-snapshot-testing' dependency on 'https://github.com/swiftlang/swift-syntax' conflicts with dependency on 'https://github.com/apple/swift-syntax' which has the same identity 'swift-syntax'. this will be escalated to an error in future versions of SwiftPM.
Building for debugging...
[0/43] Write sources
[6/43] Copying PrivacyInfo.xcprivacy
[6/43] Write sources
[21/43] Write swift-version-24593BA9C3E375BF.txt
[23/86] Emitting module SwiftSyntax509
[24/86] Compiling SwiftSyntax510 Empty.swift
[25/86] Emitting module SwiftSyntax510
[26/87] Compiling SwiftSyntax509 Empty.swift
[28/88] Wrapping AST for SwiftSyntax510 for debugging
[29/88] Wrapping AST for SwiftSyntax509 for debugging
[31/148] Compiling SwiftSyntax AbsolutePosition.swift
[32/148] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[33/148] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[34/148] Compiling SwiftSyntax Assert.swift
[35/148] Compiling SwiftSyntax BumpPtrAllocator.swift
[36/148] Compiling SwiftSyntax CommonAncestor.swift
[37/148] Compiling SwiftSyntax Convenience.swift
[38/148] Compiling SwiftSyntax MemoryLayout.swift
[39/148] Compiling SwiftSyntax MissingNodeInitializers.swift
[40/156] Compiling SwiftSyntax SyntaxNodeStructure.swift
[41/156] Compiling SwiftSyntax SyntaxProtocol.swift
[42/156] Compiling SwiftSyntax SyntaxText.swift
[43/156] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[44/156] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[45/161] Compiling SwiftSyntax SyntaxRewriter.swift
[46/161] Compiling SwiftSyntax SyntaxTraits.swift
[47/161] Compiling SwiftSyntax TokenDiagnostic.swift
[48/161] Compiling SwiftSyntax TokenSequence.swift
[49/161] Compiling SwiftSyntax TokenSyntax.swift
[55/161] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[56/161] Compiling SwiftSyntax SyntaxBaseNodes.swift
[57/161] Compiling SwiftSyntax SyntaxCollections.swift
[58/161] Compiling SwiftSyntax SyntaxEnum.swift
[59/161] Compiling SwiftSyntax SyntaxKind.swift
[60/161] Compiling SwiftSyntax RawSyntax.swift
[61/161] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[62/161] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[63/161] Compiling SwiftSyntax RawSyntaxTokenView.swift
[64/161] Compiling SwiftSyntax SourceLength.swift
[65/161] Compiling SwiftSyntax SourceLocation.swift
[66/161] Compiling SwiftSyntax SourcePresence.swift
[67/161] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[68/161] Compiling SwiftSyntax Syntax.swift
[72/161] Emitting module Alamofire
[74/161] Compiling SwiftSyntax SyntaxArena.swift
[75/161] Compiling SwiftSyntax SyntaxChildren.swift
[76/161] Compiling SwiftSyntax SyntaxCollection.swift
[77/161] Compiling SwiftSyntax SyntaxHashable.swift
[78/161] Compiling SwiftSyntax SyntaxIdentifier.swift
[88/161] Compiling Alamofire RetryPolicy.swift
[89/161] Compiling Alamofire ServerTrustEvaluation.swift
[90/161] Compiling Alamofire URLEncodedFormEncoder.swift
[91/161] Compiling Alamofire Validation.swift
[92/161] Compiling Alamofire resource_bundle_accessor.swift
[94/162] Emitting module SwiftSyntax
[103/162] Compiling SwiftSyntax RawSyntaxNodesEF.swift
[104/162] Compiling SwiftSyntax RawSyntaxNodesGHI.swift
[105/162] Compiling SwiftSyntax RawSyntaxNodesJKLMN.swift
[106/162] Compiling SwiftSyntax RawSyntaxNodesOP.swift
[107/162] Compiling SwiftSyntax RawSyntaxNodesQRS.swift
[108/162] Compiling SwiftSyntax RawSyntaxNodesTUVWXYZ.swift
[109/162] Compiling SwiftSyntax RawSyntaxValidation.swift
[110/162] Compiling SwiftSyntax SyntaxNodesAB.swift
[128/162] Compiling SwiftSyntax SyntaxTransform.swift
[129/162] Compiling SwiftSyntax SyntaxVisitor.swift
[130/162] Compiling SwiftSyntax TokenKind.swift
[131/162] Compiling SwiftSyntax Tokens.swift
[132/162] Compiling SwiftSyntax TriviaPieces.swift
[133/162] Compiling SwiftSyntax RawSyntaxNodesAB.swift
[134/162] Compiling SwiftSyntax RawSyntaxNodesC.swift
[135/162] Compiling SwiftSyntax RawSyntaxNodesD.swift
[136/162] Compiling SwiftSyntax SyntaxNodesC.swift
[137/162] Compiling SwiftSyntax SyntaxNodesD.swift
[138/162] Compiling SwiftSyntax SyntaxNodesEF.swift
[139/162] Compiling SwiftSyntax SyntaxNodesGHI.swift
[140/162] Compiling SwiftSyntax SyntaxNodesJKLMN.swift
[141/162] Compiling SwiftSyntax SyntaxNodesOP.swift
[142/162] Compiling SwiftSyntax SyntaxNodesQRS.swift
[143/162] Compiling SwiftSyntax SyntaxNodesTUVWXYZ.swift
[144/163] Wrapping AST for SwiftSyntax for debugging
[146/214] Compiling SwiftDiagnostics Note.swift
[147/214] Compiling SwiftDiagnostics FixIt.swift
[148/214] Compiling SwiftDiagnostics Message.swift
[149/214] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[150/214] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[151/214] Compiling SwiftBasicFormat Syntax+Extensions.swift
[152/214] Compiling SwiftDiagnostics Diagnostic.swift
[153/214] Compiling SwiftDiagnostics Convenience.swift
[154/214] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[155/214] Emitting module SwiftDiagnostics
[156/214] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[157/215] Emitting module SwiftBasicFormat
[158/215] Compiling SwiftBasicFormat BasicFormat.swift
[160/216] Wrapping AST for SwiftDiagnostics for debugging
[161/216] Wrapping AST for SwiftBasicFormat for debugging
[163/216] Emitting module SwiftParser
[164/221] Compiling SwiftParser TokenPrecedence.swift
[165/221] Compiling SwiftParser TokenSpec.swift
[166/221] Compiling SwiftParser TokenSpecSet.swift
[167/221] Compiling SwiftParser TopLevel.swift
[168/221] Compiling SwiftParser TriviaParser.swift
[169/221] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[170/221] Compiling SwiftParser StringLiterals.swift
[171/221] Compiling SwiftParser SwiftParserCompatibility.swift
[172/221] Compiling SwiftParser SyntaxUtils.swift
[173/221] Compiling SwiftParser TokenConsumer.swift
[174/221] Compiling SwiftParser Lexer.swift
[175/221] Compiling SwiftParser RegexLiteralLexer.swift
[176/221] Compiling SwiftParser UnicodeScalarExtensions.swift
[177/221] Compiling SwiftParser Lookahead.swift
[178/221] Compiling SwiftParser LoopProgressCondition.swift
[179/221] Compiling SwiftParser Modifiers.swift
[180/221] Compiling SwiftParser Names.swift
[181/221] Compiling SwiftParser Nominals.swift
[182/221] Compiling SwiftParser Parameters.swift
[183/221] Compiling SwiftParser ParseSourceFile.swift
[184/221] Compiling SwiftParser Parser.swift
[185/221] Compiling SwiftParser Patterns.swift
[186/221] Compiling SwiftParser Recovery.swift
[187/221] Compiling SwiftParser Specifiers.swift
[188/221] Compiling SwiftParser Statements.swift
[189/221] Compiling SwiftParser Attributes.swift
[190/221] Compiling SwiftParser Availability.swift
[191/221] Compiling SwiftParser CharacterInfo.swift
[192/221] Compiling SwiftParser CollectionNodes+Parsable.swift
[193/221] Compiling SwiftParser Declarations.swift
[194/221] Compiling SwiftParser Directives.swift
[195/221] Compiling SwiftParser ExperimentalFeatures.swift
[196/221] Compiling SwiftParser Expressions.swift
[197/221] Compiling SwiftParser IncrementalParseTransition.swift
[198/221] Compiling SwiftParser Cursor.swift
[199/221] Compiling SwiftParser Lexeme.swift
[200/221] Compiling SwiftParser LexemeSequence.swift
[201/221] Compiling SwiftParser Types.swift
[202/221] Compiling SwiftParser IsLexerClassified.swift
[203/221] Compiling SwiftParser LayoutNodes+Parsable.swift
[204/221] Compiling SwiftParser Parser+TokenSpecSet.swift
[205/221] Compiling SwiftParser TokenSpecStaticMembers.swift
[206/222] Wrapping AST for SwiftParser for debugging
[208/245] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[209/246] Compiling SwiftOperators Operator.swift
[210/246] Compiling SwiftOperators OperatorError+Diagnostics.swift
[211/246] Compiling SwiftOperators OperatorError.swift
[212/246] Compiling SwiftOperators OperatorTable+Defaults.swift
[213/247] Emitting module SwiftOperators
[214/247] Compiling SwiftOperators PrecedenceGroup.swift
[215/247] Compiling SwiftOperators PrecedenceGraph.swift
[216/247] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[217/247] Compiling SwiftOperators OperatorTable.swift
[218/247] Compiling SwiftOperators OperatorTable+Semantics.swift
[219/247] Compiling SwiftOperators SyntaxSynthesis.swift
[220/247] Compiling SwiftOperators OperatorTable+Folding.swift
[222/248] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[223/248] Compiling SwiftParserDiagnostics Utils.swift
[224/248] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[225/248] Emitting module SwiftParserDiagnostics
[225/248] Wrapping AST for SwiftOperators for debugging
[231/248] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[232/248] Compiling SwiftParserDiagnostics PresenceUtils.swift
[233/248] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[234/248] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[235/249] Wrapping AST for SwiftParserDiagnostics for debugging
[237/263] Compiling SwiftSyntaxBuilder Indenter.swift
[238/263] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[239/264] Emitting module SwiftSyntaxBuilder
[240/264] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[241/264] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[242/264] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[243/264] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[244/264] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[245/264] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[246/264] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[247/264] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[248/264] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[249/264] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[250/264] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[251/264] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[252/265] Wrapping AST for SwiftSyntaxBuilder for debugging
[254/279] Compiling SwiftSyntaxMacros AccessorMacro.swift
[255/279] Compiling SwiftSyntaxMacros AttachedMacro.swift
[256/280] Compiling SwiftSyntaxMacros FreestandingMacro.swift
[257/280] Compiling SwiftSyntaxMacros Macro+Format.swift
[258/280] Compiling SwiftSyntaxMacros CodeItemMacro.swift
[259/280] Compiling SwiftSyntaxMacros DeclarationMacro.swift
[260/280] Compiling SwiftSyntaxMacros ExpressionMacro.swift
[261/280] Compiling SwiftSyntaxMacros ExtensionMacro.swift
[262/280] Compiling SwiftSyntaxMacros Macro.swift
[263/280] Compiling SwiftSyntaxMacros MemberAttributeMacro.swift
[264/280] Compiling SwiftSyntaxMacros MemberMacro.swift
[265/280] Compiling SwiftSyntaxMacros PeerMacro.swift
[266/280] Emitting module SwiftSyntaxMacros
[267/280] Compiling SwiftSyntaxMacros AbstractSourceLocation.swift
[268/280] Compiling SwiftSyntaxMacros MacroExpansionContext.swift
[269/281] Wrapping AST for SwiftSyntaxMacros for debugging
[271/289] Emitting module SwiftSyntaxMacroExpansion
[272/289] Compiling SwiftSyntaxMacroExpansion BasicMacroExpansionContext.swift
[273/289] Compiling SwiftSyntaxMacroExpansion IndentationUtils.swift
[274/289] Compiling SwiftSyntaxMacroExpansion FunctionParameterUtils.swift
[275/289] Compiling SwiftSyntaxMacroExpansion MacroExpansionDiagnosticMessages.swift
[276/289] Compiling SwiftSyntaxMacroExpansion MacroExpansion.swift
[277/289] Compiling SwiftSyntaxMacroExpansion MacroReplacement.swift
[278/289] Compiling SwiftSyntaxMacroExpansion MacroSystem.swift
[279/290] Wrapping AST for SwiftSyntaxMacroExpansion for debugging
[281/297] Compiling SwiftCompilerPluginMessageHandling CompilerPluginMessageHandler.swift
[282/297] Emitting module SwiftCompilerPluginMessageHandling
[283/297] Compiling SwiftCompilerPluginMessageHandling Diagnostics.swift
[284/297] Compiling SwiftCompilerPluginMessageHandling PluginMessageCompatibility.swift
[285/297] Compiling SwiftCompilerPluginMessageHandling PluginMacroExpansionContext.swift
[286/297] Compiling SwiftCompilerPluginMessageHandling Macros.swift
[287/297] Compiling SwiftCompilerPluginMessageHandling PluginMessages.swift
[288/298] Wrapping AST for SwiftCompilerPluginMessageHandling for debugging
[290/300] Emitting module SwiftCompilerPlugin
[291/300] Compiling SwiftCompilerPlugin CompilerPlugin.swift
[292/301] Wrapping AST for SwiftCompilerPlugin for debugging
[294/313] Compiling PapyrusPlugin Macro+Utilities.swift
[295/314] Compiling PapyrusPlugin FunctionParameterSyntax+Utilities.swift
[296/314] Compiling PapyrusPlugin ProtocolDeclSyntax+Utilities.swift
[297/314] Compiling PapyrusPlugin String+Utilities.swift
[298/314] Compiling PapyrusPlugin DecoratorMacro.swift
[299/314] Compiling PapyrusPlugin MockMacro.swift
[300/314] Compiling PapyrusPlugin PapyrusPluginError.swift
[301/314] Compiling PapyrusPlugin Plugin.swift
[302/314] Compiling PapyrusPlugin AttributeSyntax+Utilities.swift
[303/314] Compiling PapyrusPlugin FunctionDeclSyntax+Utilities.swift
[304/314] Emitting module PapyrusPlugin
[305/314] Compiling PapyrusPlugin APIAttribute.swift
[306/314] Compiling PapyrusPlugin APIMacro.swift
[307/315] Wrapping AST for PapyrusPlugin for debugging
[308/315] Write Objects.LinkFileList
[309/315] Linking PapyrusPlugin-tool
[311/347] Emitting module PapyrusCore
/host/spi-builder-workspace/PapyrusCore/Sources/PapyrusError.swift:6:16: warning: stored property 'request' of 'Sendable'-conforming struct 'PapyrusError' has non-sendable type '(any Request)?'; this is an error in the Swift 6 language mode
 4 |     public let message: String
 5 |     /// Error related request.
 6 |     public let request: Request?
   |                `- warning: stored property 'request' of 'Sendable'-conforming struct 'PapyrusError' has non-sendable type '(any Request)?'; this is an error in the Swift 6 language mode
 7 |     /// Error related response.
 8 |     public let response: Response?
/host/spi-builder-workspace/PapyrusCore/Sources/Request.swift:3:17: note: protocol 'Request' does not conform to the 'Sendable' protocol
 1 | import Foundation
 2 |
 3 | public protocol Request {
   |                 `- note: protocol 'Request' does not conform to the 'Sendable' protocol
 4 |     var url: URL? { get set }
 5 |     var method: String { get set }
/host/spi-builder-workspace/PapyrusCore/Sources/PapyrusError.swift:8:16: warning: stored property 'response' of 'Sendable'-conforming struct 'PapyrusError' has non-sendable type '(any Response)?'; this is an error in the Swift 6 language mode
 6 |     public let request: Request?
 7 |     /// Error related response.
 8 |     public let response: Response?
   |                `- warning: stored property 'response' of 'Sendable'-conforming struct 'PapyrusError' has non-sendable type '(any Response)?'; this is an error in the Swift 6 language mode
 9 |
10 |     /// Create an error with the specified message.
/host/spi-builder-workspace/PapyrusCore/Sources/Response.swift:3:17: note: protocol 'Response' does not conform to the 'Sendable' protocol
 1 | import Foundation
 2 |
 3 | public protocol Response {
   |                 `- note: protocol 'Response' does not conform to the 'Sendable' protocol
 4 |     var request: Request? { get }
 5 |     var body: Data? { get }
/host/spi-builder-workspace/PapyrusCore/Sources/RequestBuilder.swift:76:23: warning: static property 'defaultQueryEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 74 |     }
 75 |
 76 |     public static var defaultQueryEncoder: URLEncodedFormEncoder = URLEncodedFormEncoder()
    |                       |- warning: static property 'defaultQueryEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'defaultQueryEncoder' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'defaultQueryEncoder' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 77 |     public static var defaultRequestEncoder: RequestEncoder = JSONEncoder()
 78 |     public static var defaultResponseDecoder: ResponseDecoder = JSONDecoder()
/host/spi-builder-workspace/PapyrusCore/Sources/RequestBuilder.swift:77:23: warning: static property 'defaultRequestEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 75 |
 76 |     public static var defaultQueryEncoder: URLEncodedFormEncoder = URLEncodedFormEncoder()
 77 |     public static var defaultRequestEncoder: RequestEncoder = JSONEncoder()
    |                       |- warning: static property 'defaultRequestEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'defaultRequestEncoder' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'defaultRequestEncoder' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 78 |     public static var defaultResponseDecoder: ResponseDecoder = JSONDecoder()
 79 |
/host/spi-builder-workspace/PapyrusCore/Sources/RequestBuilder.swift:78:23: warning: static property 'defaultResponseDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 76 |     public static var defaultQueryEncoder: URLEncodedFormEncoder = URLEncodedFormEncoder()
 77 |     public static var defaultRequestEncoder: RequestEncoder = JSONEncoder()
 78 |     public static var defaultResponseDecoder: ResponseDecoder = JSONDecoder()
    |                       |- warning: static property 'defaultResponseDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'defaultResponseDecoder' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'defaultResponseDecoder' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 79 |
 80 |     // MARK: Data
/host/spi-builder-workspace/PapyrusCore/Sources/URLEncoder/URLEncodedForm.swift:51:16: warning: static property 'iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
49 |     @available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
50 |     /// ISO8601 data formatter used throughout URL encoded form code
51 |     static var iso8601Formatter: ISO8601DateFormatter = {
   |                |- warning: static property 'iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'iso8601Formatter' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |         let formatter = ISO8601DateFormatter()
53 |         formatter.formatOptions = .withInternetDateTime
[312/349] Compiling PapyrusCore Provider.swift
/host/spi-builder-workspace/PapyrusCore/Sources/Provider.swift:110:42: warning: converting a value of type '@Sendable (sending any Response) -> ()' to type '(any Response) -> Void' risks causing data races; this is an error in the Swift 6 language mode
108 |                     try await intercept(req: req) { req in
109 |                         return try await withCheckedThrowingContinuation {
110 |                             next(req, $0.resume)
    |                                          |- warning: converting a value of type '@Sendable (sending any Response) -> ()' to type '(any Response) -> Void' risks causing data races; this is an error in the Swift 6 language mode
    |                                          `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
111 |                         }
112 |                     }
/host/spi-builder-workspace/PapyrusCore/Sources/Provider.swift:105:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
103 |                                completionHandler: @escaping (Response) -> Void,
104 |                                next: @escaping (Request, @escaping (Response) -> Void) -> Void) {
105 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
106 |             do {
107 |                 completionHandler(
    |                 `- note: closure captures non-Sendable 'completionHandler'
108 |                     try await intercept(req: req) { req in
    |                               |              `- note: closure captures non-Sendable 'req'
    |                               `- note: closure captures non-Sendable 'self'
109 |                         return try await withCheckedThrowingContinuation {
110 |                             next(req, $0.resume)
    |                             `- note: closure captures non-Sendable 'next'
111 |                         }
112 |                     }
[313/349] Compiling PapyrusCore Request.swift
/host/spi-builder-workspace/PapyrusCore/Sources/Provider.swift:110:42: warning: converting a value of type '@Sendable (sending any Response) -> ()' to type '(any Response) -> Void' risks causing data races; this is an error in the Swift 6 language mode
108 |                     try await intercept(req: req) { req in
109 |                         return try await withCheckedThrowingContinuation {
110 |                             next(req, $0.resume)
    |                                          |- warning: converting a value of type '@Sendable (sending any Response) -> ()' to type '(any Response) -> Void' risks causing data races; this is an error in the Swift 6 language mode
    |                                          `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
111 |                         }
112 |                     }
/host/spi-builder-workspace/PapyrusCore/Sources/Provider.swift:105:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
103 |                                completionHandler: @escaping (Response) -> Void,
104 |                                next: @escaping (Request, @escaping (Response) -> Void) -> Void) {
105 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
106 |             do {
107 |                 completionHandler(
    |                 `- note: closure captures non-Sendable 'completionHandler'
108 |                     try await intercept(req: req) { req in
    |                               |              `- note: closure captures non-Sendable 'req'
    |                               `- note: closure captures non-Sendable 'self'
109 |                         return try await withCheckedThrowingContinuation {
110 |                             next(req, $0.resume)
    |                             `- note: closure captures non-Sendable 'next'
111 |                         }
112 |                     }
[314/349] Emitting module PapyrusCore
/host/spi-builder-workspace/PapyrusCore/Sources/PapyrusError.swift:6:16: warning: stored property 'request' of 'Sendable'-conforming struct 'PapyrusError' has non-sendable type '(any Request)?'; this is an error in the Swift 6 language mode
 4 |     public let message: String
 5 |     /// Error related request.
 6 |     public let request: Request?
   |                `- warning: stored property 'request' of 'Sendable'-conforming struct 'PapyrusError' has non-sendable type '(any Request)?'; this is an error in the Swift 6 language mode
 7 |     /// Error related response.
 8 |     public let response: Response?
/host/spi-builder-workspace/PapyrusCore/Sources/Request.swift:3:17: note: protocol 'Request' does not conform to the 'Sendable' protocol
 1 | import Foundation
 2 |
 3 | public protocol Request {
   |                 `- note: protocol 'Request' does not conform to the 'Sendable' protocol
 4 |     var url: URL? { get set }
 5 |     var method: String { get set }
/host/spi-builder-workspace/PapyrusCore/Sources/PapyrusError.swift:8:16: warning: stored property 'response' of 'Sendable'-conforming struct 'PapyrusError' has non-sendable type '(any Response)?'; this is an error in the Swift 6 language mode
 6 |     public let request: Request?
 7 |     /// Error related response.
 8 |     public let response: Response?
   |                `- warning: stored property 'response' of 'Sendable'-conforming struct 'PapyrusError' has non-sendable type '(any Response)?'; this is an error in the Swift 6 language mode
 9 |
10 |     /// Create an error with the specified message.
/host/spi-builder-workspace/PapyrusCore/Sources/Response.swift:3:17: note: protocol 'Response' does not conform to the 'Sendable' protocol
 1 | import Foundation
 2 |
 3 | public protocol Response {
   |                 `- note: protocol 'Response' does not conform to the 'Sendable' protocol
 4 |     var request: Request? { get }
 5 |     var body: Data? { get }
/host/spi-builder-workspace/PapyrusCore/Sources/RequestBuilder.swift:76:23: warning: static property 'defaultQueryEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 74 |     }
 75 |
 76 |     public static var defaultQueryEncoder: URLEncodedFormEncoder = URLEncodedFormEncoder()
    |                       |- warning: static property 'defaultQueryEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'defaultQueryEncoder' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'defaultQueryEncoder' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 77 |     public static var defaultRequestEncoder: RequestEncoder = JSONEncoder()
 78 |     public static var defaultResponseDecoder: ResponseDecoder = JSONDecoder()
/host/spi-builder-workspace/PapyrusCore/Sources/RequestBuilder.swift:77:23: warning: static property 'defaultRequestEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 75 |
 76 |     public static var defaultQueryEncoder: URLEncodedFormEncoder = URLEncodedFormEncoder()
 77 |     public static var defaultRequestEncoder: RequestEncoder = JSONEncoder()
    |                       |- warning: static property 'defaultRequestEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'defaultRequestEncoder' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'defaultRequestEncoder' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 78 |     public static var defaultResponseDecoder: ResponseDecoder = JSONDecoder()
 79 |
/host/spi-builder-workspace/PapyrusCore/Sources/RequestBuilder.swift:78:23: warning: static property 'defaultResponseDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 76 |     public static var defaultQueryEncoder: URLEncodedFormEncoder = URLEncodedFormEncoder()
 77 |     public static var defaultRequestEncoder: RequestEncoder = JSONEncoder()
 78 |     public static var defaultResponseDecoder: ResponseDecoder = JSONDecoder()
    |                       |- warning: static property 'defaultResponseDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'defaultResponseDecoder' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'defaultResponseDecoder' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 79 |
 80 |     // MARK: Data
/host/spi-builder-workspace/PapyrusCore/Sources/URLEncoder/URLEncodedForm.swift:51:16: warning: static property 'iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
49 |     @available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
50 |     /// ISO8601 data formatter used throughout URL encoded form code
51 |     static var iso8601Formatter: ISO8601DateFormatter = {
   |                |- warning: static property 'iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'iso8601Formatter' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |         let formatter = ISO8601DateFormatter()
53 |         formatter.formatOptions = .withInternetDateTime
[315/351] Compiling PapyrusCore Part.swift
[316/351] Compiling PapyrusCore PapyrusError.swift
[317/351] Compiling PapyrusCore HTTPService.swift
/host/spi-builder-workspace/PapyrusCore/Sources/KeyMapping.swift:182:41: warning: capture of 'toMapper' with non-sendable type '(String) -> String' in a '@Sendable' closure
180 |                 }
181 |
182 |                 return GenericCodingKey(toMapper(last.stringValue))
    |                                         |- warning: capture of 'toMapper' with non-sendable type '(String) -> String' in a '@Sendable' closure
    |                                         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
183 |             }
184 |         }
/host/spi-builder-workspace/PapyrusCore/Sources/KeyMapping.swift:199:41: warning: capture of 'fromMapper' with non-sendable type '(String) -> String' in a '@Sendable' closure
197 |                 }
198 |
199 |                 return GenericCodingKey(fromMapper(last.stringValue))
    |                                         |- warning: capture of 'fromMapper' with non-sendable type '(String) -> String' in a '@Sendable' closure
    |                                         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
200 |             }
201 |         }
[318/351] 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
180 |                 }
181 |
182 |                 return GenericCodingKey(toMapper(last.stringValue))
    |                                         |- warning: capture of 'toMapper' with non-sendable type '(String) -> String' in a '@Sendable' closure
    |                                         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
183 |             }
184 |         }
/host/spi-builder-workspace/PapyrusCore/Sources/KeyMapping.swift:199:41: warning: capture of 'fromMapper' with non-sendable type '(String) -> String' in a '@Sendable' closure
197 |                 }
198 |
199 |                 return GenericCodingKey(fromMapper(last.stringValue))
    |                                         |- warning: capture of 'fromMapper' with non-sendable type '(String) -> String' in a '@Sendable' closure
    |                                         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
200 |             }
201 |         }
[319/351] 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
180 |                 }
181 |
182 |                 return GenericCodingKey(toMapper(last.stringValue))
    |                                         |- warning: capture of 'toMapper' with non-sendable type '(String) -> String' in a '@Sendable' closure
    |                                         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
183 |             }
184 |         }
/host/spi-builder-workspace/PapyrusCore/Sources/KeyMapping.swift:199:41: warning: capture of 'fromMapper' with non-sendable type '(String) -> String' in a '@Sendable' closure
197 |                 }
198 |
199 |                 return GenericCodingKey(fromMapper(last.stringValue))
    |                                         |- warning: capture of 'fromMapper' with non-sendable type '(String) -> String' in a '@Sendable' closure
    |                                         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
200 |             }
201 |         }
[320/351] Compiling PapyrusCore Response.swift
[321/351] Compiling PapyrusCore ResponseDecoder.swift
[322/351] Compiling PapyrusCore Macros.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 }
[323/351] Compiling PapyrusCore MultipartEncoder.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 }
[326/351] Compiling PapyrusCore RequestBuilder.swift
/host/spi-builder-workspace/PapyrusCore/Sources/RequestBuilder.swift:76:23: warning: static property 'defaultQueryEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 74 |     }
 75 |
 76 |     public static var defaultQueryEncoder: URLEncodedFormEncoder = URLEncodedFormEncoder()
    |                       |- warning: static property 'defaultQueryEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'defaultQueryEncoder' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'defaultQueryEncoder' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 77 |     public static var defaultRequestEncoder: RequestEncoder = JSONEncoder()
 78 |     public static var defaultResponseDecoder: ResponseDecoder = JSONDecoder()
/host/spi-builder-workspace/PapyrusCore/Sources/RequestBuilder.swift:77:23: warning: static property 'defaultRequestEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 75 |
 76 |     public static var defaultQueryEncoder: URLEncodedFormEncoder = URLEncodedFormEncoder()
 77 |     public static var defaultRequestEncoder: RequestEncoder = JSONEncoder()
    |                       |- warning: static property 'defaultRequestEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'defaultRequestEncoder' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'defaultRequestEncoder' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 78 |     public static var defaultResponseDecoder: ResponseDecoder = JSONDecoder()
 79 |
/host/spi-builder-workspace/PapyrusCore/Sources/RequestBuilder.swift:78:23: warning: static property 'defaultResponseDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 76 |     public static var defaultQueryEncoder: URLEncodedFormEncoder = URLEncodedFormEncoder()
 77 |     public static var defaultRequestEncoder: RequestEncoder = JSONEncoder()
 78 |     public static var defaultResponseDecoder: ResponseDecoder = JSONDecoder()
    |                       |- warning: static property 'defaultResponseDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'defaultResponseDecoder' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'defaultResponseDecoder' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 79 |
 80 |     // MARK: Data
[327/351] Compiling PapyrusCore RequestEncoder.swift
/host/spi-builder-workspace/PapyrusCore/Sources/RequestBuilder.swift:76:23: warning: static property 'defaultQueryEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 74 |     }
 75 |
 76 |     public static var defaultQueryEncoder: URLEncodedFormEncoder = URLEncodedFormEncoder()
    |                       |- warning: static property 'defaultQueryEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'defaultQueryEncoder' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'defaultQueryEncoder' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 77 |     public static var defaultRequestEncoder: RequestEncoder = JSONEncoder()
 78 |     public static var defaultResponseDecoder: ResponseDecoder = JSONDecoder()
/host/spi-builder-workspace/PapyrusCore/Sources/RequestBuilder.swift:77:23: warning: static property 'defaultRequestEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 75 |
 76 |     public static var defaultQueryEncoder: URLEncodedFormEncoder = URLEncodedFormEncoder()
 77 |     public static var defaultRequestEncoder: RequestEncoder = JSONEncoder()
    |                       |- warning: static property 'defaultRequestEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'defaultRequestEncoder' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'defaultRequestEncoder' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 78 |     public static var defaultResponseDecoder: ResponseDecoder = JSONDecoder()
 79 |
/host/spi-builder-workspace/PapyrusCore/Sources/RequestBuilder.swift:78:23: warning: static property 'defaultResponseDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 76 |     public static var defaultQueryEncoder: URLEncodedFormEncoder = URLEncodedFormEncoder()
 77 |     public static var defaultRequestEncoder: RequestEncoder = JSONEncoder()
 78 |     public static var defaultResponseDecoder: ResponseDecoder = JSONDecoder()
    |                       |- warning: static property 'defaultResponseDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'defaultResponseDecoder' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'defaultResponseDecoder' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 79 |
 80 |     // MARK: Data
/host/spi-builder-workspace/PapyrusCore/Sources/RequestBuilder.swift:76:23: warning: static property 'defaultQueryEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 74 |     }
 75 |
 76 |     public static var defaultQueryEncoder: URLEncodedFormEncoder = URLEncodedFormEncoder()
    |                       |- warning: static property 'defaultQueryEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'defaultQueryEncoder' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'defaultQueryEncoder' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 77 |     public static var defaultRequestEncoder: RequestEncoder = JSONEncoder()
 78 |     public static var defaultResponseDecoder: ResponseDecoder = JSONDecoder()
/host/spi-builder-workspace/PapyrusCore/Sources/RequestBuilder.swift:77:23: warning: static property 'defaultRequestEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 75 |
 76 |     public static var defaultQueryEncoder: URLEncodedFormEncoder = URLEncodedFormEncoder()
 77 |     public static var defaultRequestEncoder: RequestEncoder = JSONEncoder()
    |                       |- warning: static property 'defaultRequestEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'defaultRequestEncoder' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'defaultRequestEncoder' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 78 |     public static var defaultResponseDecoder: ResponseDecoder = JSONDecoder()
 79 |
/host/spi-builder-workspace/PapyrusCore/Sources/RequestBuilder.swift:78:23: warning: static property 'defaultResponseDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 76 |     public static var defaultQueryEncoder: URLEncodedFormEncoder = URLEncodedFormEncoder()
 77 |     public static var defaultRequestEncoder: RequestEncoder = JSONEncoder()
 78 |     public static var defaultResponseDecoder: ResponseDecoder = JSONDecoder()
    |                       |- warning: static property 'defaultResponseDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'defaultResponseDecoder' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'defaultResponseDecoder' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 79 |
 80 |     // MARK: Data
/host/spi-builder-workspace/PapyrusCore/Sources/RequestBuilder.swift:76:23: warning: static property 'defaultQueryEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 74 |     }
 75 |
 76 |     public static var defaultQueryEncoder: URLEncodedFormEncoder = URLEncodedFormEncoder()
    |                       |- warning: static property 'defaultQueryEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'defaultQueryEncoder' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'defaultQueryEncoder' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 77 |     public static var defaultRequestEncoder: RequestEncoder = JSONEncoder()
 78 |     public static var defaultResponseDecoder: ResponseDecoder = JSONDecoder()
/host/spi-builder-workspace/PapyrusCore/Sources/RequestBuilder.swift:77:23: warning: static property 'defaultRequestEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 75 |
 76 |     public static var defaultQueryEncoder: URLEncodedFormEncoder = URLEncodedFormEncoder()
 77 |     public static var defaultRequestEncoder: RequestEncoder = JSONEncoder()
    |                       |- warning: static property 'defaultRequestEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'defaultRequestEncoder' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'defaultRequestEncoder' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 78 |     public static var defaultResponseDecoder: ResponseDecoder = JSONDecoder()
 79 |
/host/spi-builder-workspace/PapyrusCore/Sources/RequestBuilder.swift:78:23: warning: static property 'defaultResponseDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 76 |     public static var defaultQueryEncoder: URLEncodedFormEncoder = URLEncodedFormEncoder()
 77 |     public static var defaultRequestEncoder: RequestEncoder = JSONEncoder()
 78 |     public static var defaultResponseDecoder: ResponseDecoder = JSONDecoder()
    |                       |- warning: static property 'defaultResponseDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'defaultResponseDecoder' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'defaultResponseDecoder' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 79 |
 80 |     // MARK: Data
[332/351] Compiling PapyrusCore URLEncodedForm.swift
/host/spi-builder-workspace/PapyrusCore/Sources/URLEncoder/URLEncodedForm.swift:51:16: warning: static property 'iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
49 |     @available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
50 |     /// ISO8601 data formatter used throughout URL encoded form code
51 |     static var iso8601Formatter: ISO8601DateFormatter = {
   |                |- warning: static property 'iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'iso8601Formatter' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |         let formatter = ISO8601DateFormatter()
53 |         formatter.formatOptions = .withInternetDateTime
[333/351] Compiling PapyrusCore URLEncodedFormDecoder.swift
/host/spi-builder-workspace/PapyrusCore/Sources/URLEncoder/URLEncodedForm.swift:51:16: warning: static property 'iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
49 |     @available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
50 |     /// ISO8601 data formatter used throughout URL encoded form code
51 |     static var iso8601Formatter: ISO8601DateFormatter = {
   |                |- warning: static property 'iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'iso8601Formatter' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |         let formatter = ISO8601DateFormatter()
53 |         formatter.formatOptions = .withInternetDateTime
/host/spi-builder-workspace/PapyrusCore/Sources/Provider.swift:110:42: warning: converting a value of type '@Sendable (sending any Response) -> ()' to type '(any Response) -> Void' risks causing data races; this is an error in the Swift 6 language mode
108 |                     try await intercept(req: req) { req in
109 |                         return try await withCheckedThrowingContinuation {
110 |                             next(req, $0.resume)
    |                                          |- warning: converting a value of type '@Sendable (sending any Response) -> ()' to type '(any Response) -> Void' risks causing data races; this is an error in the Swift 6 language mode
    |                                          `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
111 |                         }
112 |                     }
/host/spi-builder-workspace/PapyrusCore/Sources/Provider.swift:105:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
103 |                                completionHandler: @escaping (Response) -> Void,
104 |                                next: @escaping (Request, @escaping (Response) -> Void) -> Void) {
105 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
106 |             do {
107 |                 completionHandler(
    |                 `- note: closure captures non-Sendable 'completionHandler'
108 |                     try await intercept(req: req) { req in
    |                               |              `- note: closure captures non-Sendable 'req'
    |                               `- note: closure captures non-Sendable 'self'
109 |                         return try await withCheckedThrowingContinuation {
110 |                             next(req, $0.resume)
    |                             `- note: closure captures non-Sendable 'next'
111 |                         }
112 |                     }
/host/spi-builder-workspace/PapyrusCore/Sources/Provider.swift:110:42: warning: converting a value of type '@Sendable (sending any Response) -> ()' to type '(any Response) -> Void' risks causing data races; this is an error in the Swift 6 language mode
108 |                     try await intercept(req: req) { req in
109 |                         return try await withCheckedThrowingContinuation {
110 |                             next(req, $0.resume)
    |                                          |- warning: converting a value of type '@Sendable (sending any Response) -> ()' to type '(any Response) -> Void' risks causing data races; this is an error in the Swift 6 language mode
    |                                          `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
111 |                         }
112 |                     }
/host/spi-builder-workspace/PapyrusCore/Sources/Provider.swift:105:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
103 |                                completionHandler: @escaping (Response) -> Void,
104 |                                next: @escaping (Request, @escaping (Response) -> Void) -> Void) {
105 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
106 |             do {
107 |                 completionHandler(
    |                 `- note: closure captures non-Sendable 'completionHandler'
108 |                     try await intercept(req: req) { req in
    |                               |              `- note: closure captures non-Sendable 'req'
    |                               `- note: closure captures non-Sendable 'self'
109 |                         return try await withCheckedThrowingContinuation {
110 |                             next(req, $0.resume)
    |                             `- note: closure captures non-Sendable 'next'
111 |                         }
112 |                     }
/host/spi-builder-workspace/PapyrusCore/Sources/KeyMapping.swift:182:41: warning: capture of 'toMapper' with non-sendable type '(String) -> String' in a '@Sendable' closure
180 |                 }
181 |
182 |                 return GenericCodingKey(toMapper(last.stringValue))
    |                                         |- warning: capture of 'toMapper' with non-sendable type '(String) -> String' in a '@Sendable' closure
    |                                         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
183 |             }
184 |         }
/host/spi-builder-workspace/PapyrusCore/Sources/KeyMapping.swift:199:41: warning: capture of 'fromMapper' with non-sendable type '(String) -> String' in a '@Sendable' closure
197 |                 }
198 |
199 |                 return GenericCodingKey(fromMapper(last.stringValue))
    |                                         |- warning: capture of 'fromMapper' with non-sendable type '(String) -> String' in a '@Sendable' closure
    |                                         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
200 |             }
201 |         }
/host/spi-builder-workspace/PapyrusCore/Sources/KeyMapping.swift:182:41: warning: capture of 'toMapper' with non-sendable type '(String) -> String' in a '@Sendable' closure
180 |                 }
181 |
182 |                 return GenericCodingKey(toMapper(last.stringValue))
    |                                         |- warning: capture of 'toMapper' with non-sendable type '(String) -> String' in a '@Sendable' closure
    |                                         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
183 |             }
184 |         }
/host/spi-builder-workspace/PapyrusCore/Sources/KeyMapping.swift:199:41: warning: capture of 'fromMapper' with non-sendable type '(String) -> String' in a '@Sendable' closure
197 |                 }
198 |
199 |                 return GenericCodingKey(fromMapper(last.stringValue))
    |                                         |- warning: capture of 'fromMapper' with non-sendable type '(String) -> String' in a '@Sendable' closure
    |                                         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
200 |             }
201 |         }
/host/spi-builder-workspace/PapyrusCore/Sources/KeyMapping.swift:182:41: warning: capture of 'toMapper' with non-sendable type '(String) -> String' in a '@Sendable' closure
180 |                 }
181 |
182 |                 return GenericCodingKey(toMapper(last.stringValue))
    |                                         |- warning: capture of 'toMapper' with non-sendable type '(String) -> String' in a '@Sendable' closure
    |                                         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
183 |             }
184 |         }
/host/spi-builder-workspace/PapyrusCore/Sources/KeyMapping.swift:199:41: warning: capture of 'fromMapper' with non-sendable type '(String) -> String' in a '@Sendable' closure
197 |                 }
198 |
199 |                 return GenericCodingKey(fromMapper(last.stringValue))
    |                                         |- warning: capture of 'fromMapper' with non-sendable type '(String) -> String' in a '@Sendable' closure
    |                                         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
200 |             }
201 |         }
/host/spi-builder-workspace/PapyrusCore/Sources/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/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/URLEncoder/URLEncodedForm.swift:51:16: warning: static property 'iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
49 |     @available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
50 |     /// ISO8601 data formatter used throughout URL encoded form code
51 |     static var iso8601Formatter: ISO8601DateFormatter = {
   |                |- warning: static property 'iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'iso8601Formatter' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |         let formatter = ISO8601DateFormatter()
53 |         formatter.formatOptions = .withInternetDateTime
/host/spi-builder-workspace/PapyrusCore/Sources/URLEncoder/URLEncodedForm.swift:51:16: warning: static property 'iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
49 |     @available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
50 |     /// ISO8601 data formatter used throughout URL encoded form code
51 |     static var iso8601Formatter: ISO8601DateFormatter = {
   |                |- warning: static property 'iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'iso8601Formatter' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |         let formatter = ISO8601DateFormatter()
53 |         formatter.formatOptions = .withInternetDateTime
[343/351] Compiling PapyrusCore URLEncodedFormEncoder.swift
[344/351] Compiling PapyrusCore URLEncodedFormNode.swift
[348/353] Wrapping AST for PapyrusCore for debugging
[350/357] Compiling Papyrus URLSession+Papyrus.swift
/host/spi-builder-workspace/Papyrus/URLSession+Papyrus.swift:30:58: warning: converting a value of type '@Sendable (sending any Response) -> ()' to type '(any Response) -> Void' risks causing data races; this is an error in the Swift 6 language mode
 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 '@Sendable (sending any Response) -> ()' to type '(any Response) -> Void' risks causing data races; this is an error in the Swift 6 language mode
    |                                                          `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
 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 |     }
[351/357] Emitting module Papyrus
[352/358] Emitting module PapyrusAlamofire
[353/358] 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 | }
[355/359] Wrapping AST for Papyrus for debugging
[357/361] Compiling Example main.swift
/host/spi-builder-workspace/Example/main.swift:35:29: warning: non-sendable result type 'any Response' cannot be sent from nonisolated context in call to parameter 'next'; this is an error in the Swift 6 language mode
33 |     .intercept { req, next in
34 |         let start = Date()
35 |         let res = try await next(req)
   |                             `- warning: non-sendable result type 'any Response' cannot be sent from nonisolated context in call to parameter 'next'; this is an error in the Swift 6 language mode
36 |         let elapsedTime = String(format: "%.2fs", Date().timeIntervalSince(start))
37 |         let statusCode = res.statusCode.map { "\($0)" } ?? "N/A"
/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 result type '[Todo]' cannot be sent from nonisolated context in call to instance method 'getTodos()'; this is an error in the Swift 6 language mode
23 | }
24 |
25 | public struct Todo: Codable {
   |               `- note: consider making struct 'Todo' conform to the 'Sendable' protocol
26 |     let id: Int
27 |     let name: String
   :
43 |
44 | let api: Sample = SampleAPI(provider: provider)
45 | let todos = try await api.getTodos()
   |                           `- warning: non-sendable result type '[Todo]' cannot be sent from nonisolated context in call to instance method 'getTodos()'; this is an error in the Swift 6 language mode
46 |
47 | // MARK: 3. Easily mock endpoints for tests.
/host/spi-builder-workspace/Example/main.swift:57:34: warning: non-sendable result type '[Todo]' cannot be sent from nonisolated context in call to instance method 'getTodos()'; this is an error in the Swift 6 language mode
23 | }
24 |
25 | public struct Todo: Codable {
   |               `- note: consider making struct 'Todo' conform to the 'Sendable' protocol
26 |     let id: Int
27 |     let name: String
   :
55 | }
56 |
57 | let mockedTodos = try await mock.getTodos()
   |                                  `- warning: non-sendable result type '[Todo]' cannot be sent from nonisolated context in call to instance method 'getTodos()'; this is an error in the Swift 6 language mode
58 |
/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"
[358/361] Emitting module Example
/host/spi-builder-workspace/Example/main.swift:35:29: warning: non-sendable result type 'any Response' cannot be sent from nonisolated context in call to parameter 'next'; this is an error in the Swift 6 language mode
33 |     .intercept { req, next in
34 |         let start = Date()
35 |         let res = try await next(req)
   |                             `- warning: non-sendable result type 'any Response' cannot be sent from nonisolated context in call to parameter 'next'; this is an error in the Swift 6 language mode
36 |         let elapsedTime = String(format: "%.2fs", Date().timeIntervalSince(start))
37 |         let statusCode = res.statusCode.map { "\($0)" } ?? "N/A"
/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 result type '[Todo]' cannot be sent from nonisolated context in call to instance method 'getTodos()'; this is an error in the Swift 6 language mode
23 | }
24 |
25 | public struct Todo: Codable {
   |               `- note: consider making struct 'Todo' conform to the 'Sendable' protocol
26 |     let id: Int
27 |     let name: String
   :
43 |
44 | let api: Sample = SampleAPI(provider: provider)
45 | let todos = try await api.getTodos()
   |                           `- warning: non-sendable result type '[Todo]' cannot be sent from nonisolated context in call to instance method 'getTodos()'; this is an error in the Swift 6 language mode
46 |
47 | // MARK: 3. Easily mock endpoints for tests.
/host/spi-builder-workspace/Example/main.swift:57:34: warning: non-sendable result type '[Todo]' cannot be sent from nonisolated context in call to instance method 'getTodos()'; this is an error in the Swift 6 language mode
23 | }
24 |
25 | public struct Todo: Codable {
   |               `- note: consider making struct 'Todo' conform to the 'Sendable' protocol
26 |     let id: Int
27 |     let name: String
   :
55 | }
56 |
57 | let mockedTodos = try await mock.getTodos()
   |                                  `- warning: non-sendable result type '[Todo]' cannot be sent from nonisolated context in call to instance method 'getTodos()'; this is an error in the Swift 6 language mode
58 |
[359/362] Wrapping AST for Example for debugging
[360/362] Write Objects.LinkFileList
[361/362] Linking Example
Build complete! (135.80s)
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.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.