The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of SwiftUseCase, reference main (8ea23b), with Swift 6.1 for macOS (SPM) on 13 Dec 2025 20:18:22 UTC.

Swift 6 data race errors: 6

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/xtro/SwiftUseCase.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/xtro/SwiftUseCase
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 8ea23b0 Update macro generation, fix swift syntax version
Cloned https://github.com/xtro/SwiftUseCase.git
Revision (git rev-parse @):
8ea23b052e4a8bdb9493088eb94dfbd2a7dff651
SUCCESS checkout https://github.com/xtro/SwiftUseCase.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/xtro/SwiftUseCase.git
https://github.com/xtro/SwiftUseCase.git
{
  "dependencies" : [
    {
      "identity" : "swift-syntax",
      "requirement" : {
        "exact" : [
          "510.0.0"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swiftlang/swift-syntax"
    }
  ],
  "manifest_display_name" : "SwiftUseCase",
  "name" : "SwiftUseCase",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftUseCase",
      "targets" : [
        "SwiftUseCase"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SwiftUseCaseMacro",
      "targets" : [
        "SwiftUseCaseMacro"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SwiftUseCaseMacros",
      "targets" : [
        "SwiftUseCaseMacros"
      ],
      "type" : {
        "macro" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftUseCaseTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftUseCaseTests",
      "path" : "Tests",
      "sources" : [
        "SwiftUseCaseTests.swift"
      ],
      "target_dependencies" : [
        "SwiftUseCase"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftUseCaseMacros",
      "module_type" : "SwiftTarget",
      "name" : "SwiftUseCaseMacros",
      "path" : "Sources/Macros",
      "product_dependencies" : [
        "SwiftSyntax",
        "SwiftSyntaxMacros",
        "SwiftCompilerPlugin"
      ],
      "product_memberships" : [
        "SwiftUseCase",
        "SwiftUseCaseMacro",
        "SwiftUseCaseMacros"
      ],
      "sources" : [
        "Plugin.swift",
        "UsecaseMacro.swift"
      ],
      "type" : "macro"
    },
    {
      "c99name" : "SwiftUseCaseMacro",
      "module_type" : "SwiftTarget",
      "name" : "SwiftUseCaseMacro",
      "path" : "Sources/Plugin",
      "product_memberships" : [
        "SwiftUseCase",
        "SwiftUseCaseMacro"
      ],
      "sources" : [
        "SwiftUseCaseMacro.swift"
      ],
      "target_dependencies" : [
        "SwiftUseCaseMacros"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SwiftUseCase",
      "module_type" : "SwiftTarget",
      "name" : "SwiftUseCase",
      "path" : "Sources/Usecases",
      "product_memberships" : [
        "SwiftUseCase"
      ],
      "sources" : [
        "AnyUseCase+Callbacks.swift",
        "AnyUseCase+Combine.swift",
        "AnyUseCase+Resolve.swift",
        "AnyUseCase.swift",
        "AsyncExecutables.swift",
        "AsyncThrowingUseCase+Callbacks.swift",
        "AsyncThrowingUseCase+Publisher.swift",
        "AsyncThrowingUseCase.swift",
        "AsyncUseCase+Callbacks.swift",
        "AsyncUseCase+Publisher.swift",
        "AsyncUseCase.swift",
        "AsyncUsecaseable.swift",
        "CombineUseCase.swift",
        "Executables.swift",
        "ThrowingUseCase+Callbacks.swift",
        "ThrowingUseCase+Publisher.swift",
        "ThrowingUseCase.swift",
        "UseCase+Callbacks.swift",
        "UseCase+Publisher.swift",
        "UseCase.swift",
        "UseCaseable.swift"
      ],
      "target_dependencies" : [
        "SwiftUseCaseMacro"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/19] Write sources
[16/19] Write swift-version-2F0A5646E1D333AE.txt
[18/23] Emitting module SwiftSyntax509
[19/23] Emitting module SwiftSyntax510
[20/23] Compiling SwiftSyntax510 Empty.swift
[21/23] Compiling SwiftSyntax509 Empty.swift
[22/85] Compiling SwiftSyntax SourceLocation.swift
[23/85] Compiling SwiftSyntax SourcePresence.swift
[24/85] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[25/85] Compiling SwiftSyntax Syntax.swift
[26/85] Compiling SwiftSyntax SyntaxArena.swift
[27/85] Compiling SwiftSyntax SyntaxChildren.swift
[28/85] Compiling SwiftSyntax SyntaxCollection.swift
[29/91] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[30/91] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[31/91] Compiling SwiftSyntax SyntaxBaseNodes.swift
[32/91] Compiling SwiftSyntax SyntaxCollections.swift
[33/91] Compiling SwiftSyntax SyntaxEnum.swift
[34/91] Compiling SwiftSyntax SyntaxKind.swift
[35/91] Compiling SwiftSyntax SyntaxRewriter.swift
[36/91] Compiling SwiftSyntax AbsolutePosition.swift
[37/91] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[38/91] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[39/91] Compiling SwiftSyntax Assert.swift
[40/91] Compiling SwiftSyntax BumpPtrAllocator.swift
[41/91] Compiling SwiftSyntax CommonAncestor.swift
[42/91] Compiling SwiftSyntax Convenience.swift
[43/91] Compiling SwiftSyntax RawSyntaxNodesC.swift
[44/91] Compiling SwiftSyntax RawSyntaxNodesD.swift
[45/91] Compiling SwiftSyntax RawSyntaxNodesEF.swift
[46/91] Compiling SwiftSyntax RawSyntaxNodesGHI.swift
[47/91] Compiling SwiftSyntax RawSyntaxNodesJKLMN.swift
[48/91] Compiling SwiftSyntax RawSyntaxNodesOP.swift
[49/91] Compiling SwiftSyntax MemoryLayout.swift
[50/91] Compiling SwiftSyntax MissingNodeInitializers.swift
[51/91] Compiling SwiftSyntax RawSyntax.swift
[52/91] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[53/91] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[54/91] Compiling SwiftSyntax RawSyntaxTokenView.swift
[55/91] Compiling SwiftSyntax SourceLength.swift
[56/91] Emitting module SwiftSyntax
[57/91] Compiling SwiftSyntax TokenSequence.swift
[58/91] Compiling SwiftSyntax TokenSyntax.swift
[59/91] Compiling SwiftSyntax Trivia.swift
[60/91] Compiling SwiftSyntax Utils.swift
[61/91] Compiling SwiftSyntax ChildNameForKeyPath.swift
[62/91] Compiling SwiftSyntax Keyword.swift
[63/91] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[64/91] Compiling SwiftSyntax SyntaxHashable.swift
[65/91] Compiling SwiftSyntax SyntaxIdentifier.swift
[66/91] Compiling SwiftSyntax SyntaxNodeStructure.swift
[67/91] Compiling SwiftSyntax SyntaxProtocol.swift
[68/91] Compiling SwiftSyntax SyntaxText.swift
[69/91] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[70/91] Compiling SwiftSyntax TokenDiagnostic.swift
[71/91] Compiling SwiftSyntax RawSyntaxNodesQRS.swift
[72/91] Compiling SwiftSyntax RawSyntaxNodesTUVWXYZ.swift
[73/91] Compiling SwiftSyntax RawSyntaxValidation.swift
[74/91] Compiling SwiftSyntax SyntaxNodesAB.swift
[75/91] Compiling SwiftSyntax SyntaxNodesC.swift
[76/91] Compiling SwiftSyntax SyntaxNodesD.swift
[77/91] Compiling SwiftSyntax SyntaxTraits.swift
[78/91] Compiling SwiftSyntax SyntaxTransform.swift
[79/91] Compiling SwiftSyntax SyntaxVisitor.swift
[80/91] Compiling SwiftSyntax TokenKind.swift
[81/91] Compiling SwiftSyntax Tokens.swift
[82/91] Compiling SwiftSyntax TriviaPieces.swift
[83/91] Compiling SwiftSyntax RawSyntaxNodesAB.swift
[84/91] Compiling SwiftSyntax SyntaxNodesEF.swift
[85/91] Compiling SwiftSyntax SyntaxNodesGHI.swift
[86/91] Compiling SwiftSyntax SyntaxNodesJKLMN.swift
[87/91] Compiling SwiftSyntax SyntaxNodesOP.swift
[88/91] Compiling SwiftSyntax SyntaxNodesQRS.swift
[89/91] Compiling SwiftSyntax SyntaxNodesTUVWXYZ.swift
[90/143] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[91/143] Compiling SwiftDiagnostics Message.swift
[92/143] Compiling SwiftDiagnostics Note.swift
[93/143] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[94/143] Compiling SwiftDiagnostics Diagnostic.swift
[95/143] Compiling SwiftDiagnostics Convenience.swift
[96/143] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[97/143] Compiling SwiftDiagnostics FixIt.swift
[98/143] Emitting module SwiftDiagnostics
[99/143] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[100/143] Compiling SwiftBasicFormat Syntax+Extensions.swift
[101/143] Emitting module SwiftBasicFormat
[102/143] Compiling SwiftBasicFormat BasicFormat.swift
[103/143] Compiling SwiftParser Lexeme.swift
[104/143] Compiling SwiftParser LexemeSequence.swift
[105/143] Compiling SwiftParser Lexer.swift
[106/143] Compiling SwiftParser RegexLiteralLexer.swift
[107/143] Compiling SwiftParser UnicodeScalarExtensions.swift
[108/143] Compiling SwiftParser Lookahead.swift
[109/143] Compiling SwiftParser LoopProgressCondition.swift
[110/143] Compiling SwiftParser Modifiers.swift
[111/147] Compiling SwiftParser Statements.swift
[112/147] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[113/147] Compiling SwiftParser StringLiterals.swift
[114/147] Compiling SwiftParser SwiftParserCompatibility.swift
[115/147] Emitting module SwiftParser
[116/147] Compiling SwiftParser Parser.swift
[117/147] Compiling SwiftParser Patterns.swift
[118/147] Compiling SwiftParser Recovery.swift
[119/147] Compiling SwiftParser Specifiers.swift
[120/147] Compiling SwiftParser SyntaxUtils.swift
[121/147] Compiling SwiftParser TokenConsumer.swift
[122/147] Compiling SwiftParser TokenPrecedence.swift
[123/147] Compiling SwiftParser TokenSpec.swift
[124/147] Compiling SwiftParser Names.swift
[125/147] Compiling SwiftParser Nominals.swift
[126/147] Compiling SwiftParser Parameters.swift
[127/147] Compiling SwiftParser ParseSourceFile.swift
[128/147] Compiling SwiftParser TokenSpecSet.swift
[129/147] Compiling SwiftParser TopLevel.swift
[130/147] Compiling SwiftParser TriviaParser.swift
[131/147] Compiling SwiftParser Types.swift
[132/147] Compiling SwiftParser IsLexerClassified.swift
[133/147] Compiling SwiftParser LayoutNodes+Parsable.swift
[134/147] Compiling SwiftParser Parser+TokenSpecSet.swift
[135/147] Compiling SwiftParser TokenSpecStaticMembers.swift
[136/147] Compiling SwiftParser Directives.swift
[137/147] Compiling SwiftParser ExperimentalFeatures.swift
[138/147] Compiling SwiftParser Expressions.swift
[139/147] Compiling SwiftParser IncrementalParseTransition.swift
[140/147] Compiling SwiftParser Cursor.swift
[141/147] Compiling SwiftParser Attributes.swift
[142/147] Compiling SwiftParser Availability.swift
[143/147] Compiling SwiftParser CharacterInfo.swift
[144/147] Compiling SwiftParser CollectionNodes+Parsable.swift
[145/147] Compiling SwiftParser Declarations.swift
[146/170] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[147/171] Compiling SwiftOperators PrecedenceGroup.swift
[148/172] Compiling SwiftOperators PrecedenceGraph.swift
[149/172] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[150/172] Compiling SwiftOperators OperatorTable.swift
[151/172] Compiling SwiftOperators OperatorTable+Semantics.swift
[152/172] Compiling SwiftOperators OperatorError+Diagnostics.swift
[153/172] Compiling SwiftOperators OperatorTable+Defaults.swift
[154/172] Compiling SwiftOperators OperatorError.swift
[155/172] Compiling SwiftOperators Operator.swift
[156/172] Emitting module SwiftOperators
[157/172] Compiling SwiftOperators OperatorTable+Folding.swift
[158/172] Compiling SwiftOperators SyntaxSynthesis.swift
[159/172] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[160/172] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[161/172] Compiling SwiftParserDiagnostics Utils.swift
[162/172] Compiling SwiftParserDiagnostics PresenceUtils.swift
[163/172] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[164/172] Compiling SwiftParserDiagnostics MissingNodesError.swift
[165/172] Compiling SwiftParserDiagnostics MissingTokenError.swift
[166/172] Emitting module SwiftParserDiagnostics
[167/172] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[168/172] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[169/172] Compiling SwiftParserDiagnostics DiagnosticExtensions.swift
[170/172] Compiling SwiftParserDiagnostics LexerDiagnosticMessages.swift
[171/186] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[172/186] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[173/187] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[174/187] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[175/187] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[176/187] Compiling SwiftSyntaxBuilder Indenter.swift
[177/187] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[178/187] Emitting module SwiftSyntaxBuilder
[179/187] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[180/187] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[181/187] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[182/187] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[183/187] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[184/187] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[185/187] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[186/201] Compiling SwiftSyntaxMacros MemberAttributeMacro.swift
[187/202] Compiling SwiftSyntaxMacros FreestandingMacro.swift
[188/202] Compiling SwiftSyntaxMacros Macro+Format.swift
[189/202] Compiling SwiftSyntaxMacros Macro.swift
[190/202] Compiling SwiftSyntaxMacros ExpressionMacro.swift
[191/202] Compiling SwiftSyntaxMacros ExtensionMacro.swift
[192/202] Compiling SwiftSyntaxMacros CodeItemMacro.swift
[193/202] Compiling SwiftSyntaxMacros DeclarationMacro.swift
[194/202] Compiling SwiftSyntaxMacros MemberMacro.swift
[195/202] Compiling SwiftSyntaxMacros AccessorMacro.swift
[196/202] Compiling SwiftSyntaxMacros AttachedMacro.swift
[197/202] Compiling SwiftSyntaxMacros AbstractSourceLocation.swift
[198/202] Compiling SwiftSyntaxMacros MacroExpansionContext.swift
[199/202] Emitting module SwiftSyntaxMacros
[200/202] Compiling SwiftSyntaxMacros PeerMacro.swift
[201/210] Compiling SwiftSyntaxMacroExpansion FunctionParameterUtils.swift
[202/210] Compiling SwiftSyntaxMacroExpansion BasicMacroExpansionContext.swift
[203/210] Emitting module SwiftSyntaxMacroExpansion
[204/210] Compiling SwiftSyntaxMacroExpansion MacroExpansion.swift
[205/210] Compiling SwiftSyntaxMacroExpansion IndentationUtils.swift
[206/210] Compiling SwiftSyntaxMacroExpansion MacroReplacement.swift
[207/210] Compiling SwiftSyntaxMacroExpansion MacroExpansionDiagnosticMessages.swift
[208/210] Compiling SwiftSyntaxMacroExpansion MacroSystem.swift
[209/217] Compiling SwiftCompilerPluginMessageHandling PluginMacroExpansionContext.swift
[210/217] Compiling SwiftCompilerPluginMessageHandling PluginMessageCompatibility.swift
[211/217] Compiling SwiftCompilerPluginMessageHandling CompilerPluginMessageHandler.swift
[212/217] Compiling SwiftCompilerPluginMessageHandling Macros.swift
[213/217] Emitting module SwiftCompilerPluginMessageHandling
[214/217] Compiling SwiftCompilerPluginMessageHandling Diagnostics.swift
[215/217] Compiling SwiftCompilerPluginMessageHandling PluginMessages.swift
[216/219] Emitting module SwiftCompilerPlugin
[217/219] Compiling SwiftCompilerPlugin CompilerPlugin.swift
[218/222] Compiling SwiftUseCaseMacros Plugin.swift
[219/222] Emitting module SwiftUseCaseMacros
[220/222] Compiling SwiftUseCaseMacros UsecaseMacro.swift
[220/222] Write Objects.LinkFileList
[221/222] Linking SwiftUseCaseMacros-tool
[223/224] Emitting module SwiftUseCaseMacro
[224/224] Compiling SwiftUseCaseMacro SwiftUseCaseMacro.swift
[225/244] Emitting module SwiftUseCase
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:32:9: warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 30 |     /// any.execute(Product.ID(42))
 31 |     /// ```
 32 |     var eraseToAnyUseCase: AnyUseCase<Parameter, Result> {
    |         `- warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 33 |         AnyUseCase(usecase: self)
 34 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:32:9: warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 30 |     /// any.execute(Product.ID(42))
 31 |     /// ```
 32 |     var eraseToAnyUseCase: AnyUseCase<Parameter, Result> {
    |         `- warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 33 |         AnyUseCase(usecase: self)
 34 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:85:9: warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 83 |     /// any.execute("")
 84 |     /// ```
 85 |     var eraseToAnyUseCase: AnyUseCase<Parameter, Result> {
    |         `- warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 86 |         AnyUseCase(usecase: self)
 87 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:85:9: warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 83 |     /// any.execute("")
 84 |     /// ```
 85 |     var eraseToAnyUseCase: AnyUseCase<Parameter, Result> {
    |         `- warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 86 |         AnyUseCase(usecase: self)
 87 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/CombineUseCase.swift:54:13: warning: capture of 'task' with non-sendable type 'CombineUseCase<P>.Cancellable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
52 |             }
53 |         } onCancel: { [task] in
54 |             task.value?.cancel()
   |             `- warning: capture of 'task' with non-sendable type 'CombineUseCase<P>.Cancellable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
55 |         }
56 |     }
57 |     /// A small box to hold the active subscription for coordinated cancellation.
58 |     private class Cancellable {
   |                   `- note: class 'Cancellable' does not conform to the 'Sendable' protocol
59 |         var value: AnyCancellable?
60 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/CombineUseCase.swift:50:38: warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
48 |                         task.value?.cancel()
49 |                     }, receiveValue: {
50 |                         continuation.resume(returning: $0)
   |                                      |- warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
   |                                      `- note: task-isolated '$0' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
51 |                     })
52 |             }
[226/244] Compiling SwiftUseCase AnyUseCase.swift
[227/244] Compiling SwiftUseCase AsyncExecutables.swift
[228/246] Compiling SwiftUseCase AsyncUseCase+Publisher.swift
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AsyncUseCase+Publisher.swift:33:47: 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
31 |     func publisher(parameters: Parameter = () as! Parameter, priority: TaskPriority = .background) -> AnyPublisher<Result, Never> {
32 |         Future { promise in
33 |             Task.detached(priority: priority) {
   |                                               `- 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
34 |                 let result = await execute(parameters)
   |                                    `- note: closure captures non-Sendable 'self'
35 |                 await MainActor.run { [promise] in
   |                                        `- note: closure captures non-Sendable 'promise'
36 |                     promise(.success(result))
37 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AsyncUseCase+Publisher.swift:36:21: warning: sending 'promise' risks causing data races; this is an error in the Swift 6 language mode
34 |                 let result = await execute(parameters)
35 |                 await MainActor.run { [promise] in
36 |                     promise(.success(result))
   |                     |- warning: sending 'promise' risks causing data races; this is an error in the Swift 6 language mode
   |                     `- note: task-isolated 'promise' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
37 |                 }
38 |             }
[229/246] Compiling SwiftUseCase AsyncUseCase.swift
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AsyncUseCase+Publisher.swift:33:47: 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
31 |     func publisher(parameters: Parameter = () as! Parameter, priority: TaskPriority = .background) -> AnyPublisher<Result, Never> {
32 |         Future { promise in
33 |             Task.detached(priority: priority) {
   |                                               `- 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
34 |                 let result = await execute(parameters)
   |                                    `- note: closure captures non-Sendable 'self'
35 |                 await MainActor.run { [promise] in
   |                                        `- note: closure captures non-Sendable 'promise'
36 |                     promise(.success(result))
37 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AsyncUseCase+Publisher.swift:36:21: warning: sending 'promise' risks causing data races; this is an error in the Swift 6 language mode
34 |                 let result = await execute(parameters)
35 |                 await MainActor.run { [promise] in
36 |                     promise(.success(result))
   |                     |- warning: sending 'promise' risks causing data races; this is an error in the Swift 6 language mode
   |                     `- note: task-isolated 'promise' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
37 |                 }
38 |             }
[230/246] Compiling SwiftUseCase Executables.swift
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/ThrowingUseCase+Callbacks.swift:44:17: warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
42 |     func execute(_ parameters: Parameter? = nil, onFailure: @escaping (Failure) -> Void, onComplete: @escaping (Result) -> Void) -> AnyCancellable {
43 |         let usecase = eraseToAnyUseCase
44 |         usecase.onComplete = onComplete
   |                 `- warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
45 |         usecase.onFailure = {
46 |             onFailure($0 as! Failure)
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/ThrowingUseCase+Callbacks.swift:44:17: warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
42 |     func execute(_ parameters: Parameter? = nil, onFailure: @escaping (Failure) -> Void, onComplete: @escaping (Result) -> Void) -> AnyCancellable {
43 |         let usecase = eraseToAnyUseCase
44 |         usecase.onComplete = onComplete
   |                 `- warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
45 |         usecase.onFailure = {
46 |             onFailure($0 as! Failure)
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/ThrowingUseCase+Callbacks.swift:45:17: warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
43 |         let usecase = eraseToAnyUseCase
44 |         usecase.onComplete = onComplete
45 |         usecase.onFailure = {
   |                 `- warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
46 |             onFailure($0 as! Failure)
47 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/ThrowingUseCase+Callbacks.swift:45:17: warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
43 |         let usecase = eraseToAnyUseCase
44 |         usecase.onComplete = onComplete
45 |         usecase.onFailure = {
   |                 `- warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
46 |             onFailure($0 as! Failure)
47 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/ThrowingUseCase+Callbacks.swift:48:17: warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
46 |             onFailure($0 as! Failure)
47 |         }
48 |         usecase.execute(parameters ?? (() as! Parameter))
   |                 `- warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
49 |         return AnyCancellable { [usecase] in
50 |             _ = usecase.cancellation?()
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/ThrowingUseCase+Callbacks.swift:48:17: warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
46 |             onFailure($0 as! Failure)
47 |         }
48 |         usecase.execute(parameters ?? (() as! Parameter))
   |                 `- warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
49 |         return AnyCancellable { [usecase] in
50 |             _ = usecase.cancellation?()
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/ThrowingUseCase+Callbacks.swift:50:25: warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
48 |         usecase.execute(parameters ?? (() as! Parameter))
49 |         return AnyCancellable { [usecase] in
50 |             _ = usecase.cancellation?()
   |                         `- warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
51 |         }
52 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/ThrowingUseCase+Callbacks.swift:50:25: warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
48 |         usecase.execute(parameters ?? (() as! Parameter))
49 |         return AnyCancellable { [usecase] in
50 |             _ = usecase.cancellation?()
   |                         `- warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
51 |         }
52 |     }
[231/246] Compiling SwiftUseCase ThrowingUseCase+Callbacks.swift
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/ThrowingUseCase+Callbacks.swift:44:17: warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
42 |     func execute(_ parameters: Parameter? = nil, onFailure: @escaping (Failure) -> Void, onComplete: @escaping (Result) -> Void) -> AnyCancellable {
43 |         let usecase = eraseToAnyUseCase
44 |         usecase.onComplete = onComplete
   |                 `- warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
45 |         usecase.onFailure = {
46 |             onFailure($0 as! Failure)
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/ThrowingUseCase+Callbacks.swift:44:17: warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
42 |     func execute(_ parameters: Parameter? = nil, onFailure: @escaping (Failure) -> Void, onComplete: @escaping (Result) -> Void) -> AnyCancellable {
43 |         let usecase = eraseToAnyUseCase
44 |         usecase.onComplete = onComplete
   |                 `- warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
45 |         usecase.onFailure = {
46 |             onFailure($0 as! Failure)
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/ThrowingUseCase+Callbacks.swift:45:17: warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
43 |         let usecase = eraseToAnyUseCase
44 |         usecase.onComplete = onComplete
45 |         usecase.onFailure = {
   |                 `- warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
46 |             onFailure($0 as! Failure)
47 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/ThrowingUseCase+Callbacks.swift:45:17: warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
43 |         let usecase = eraseToAnyUseCase
44 |         usecase.onComplete = onComplete
45 |         usecase.onFailure = {
   |                 `- warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
46 |             onFailure($0 as! Failure)
47 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/ThrowingUseCase+Callbacks.swift:48:17: warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
46 |             onFailure($0 as! Failure)
47 |         }
48 |         usecase.execute(parameters ?? (() as! Parameter))
   |                 `- warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
49 |         return AnyCancellable { [usecase] in
50 |             _ = usecase.cancellation?()
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/ThrowingUseCase+Callbacks.swift:48:17: warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
46 |             onFailure($0 as! Failure)
47 |         }
48 |         usecase.execute(parameters ?? (() as! Parameter))
   |                 `- warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
49 |         return AnyCancellable { [usecase] in
50 |             _ = usecase.cancellation?()
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/ThrowingUseCase+Callbacks.swift:50:25: warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
48 |         usecase.execute(parameters ?? (() as! Parameter))
49 |         return AnyCancellable { [usecase] in
50 |             _ = usecase.cancellation?()
   |                         `- warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
51 |         }
52 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/ThrowingUseCase+Callbacks.swift:50:25: warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
48 |         usecase.execute(parameters ?? (() as! Parameter))
49 |         return AnyCancellable { [usecase] in
50 |             _ = usecase.cancellation?()
   |                         `- warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
51 |         }
52 |     }
[232/246] Compiling SwiftUseCase AsyncUsecaseable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/CombineUseCase.swift:54:13: warning: capture of 'task' with non-sendable type 'CombineUseCase<P>.Cancellable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
52 |             }
53 |         } onCancel: { [task] in
54 |             task.value?.cancel()
   |             `- warning: capture of 'task' with non-sendable type 'CombineUseCase<P>.Cancellable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
55 |         }
56 |     }
57 |     /// A small box to hold the active subscription for coordinated cancellation.
58 |     private class Cancellable {
   |                   `- note: class 'Cancellable' does not conform to the 'Sendable' protocol
59 |         var value: AnyCancellable?
60 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/CombineUseCase.swift:50:38: warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
48 |                         task.value?.cancel()
49 |                     }, receiveValue: {
50 |                         continuation.resume(returning: $0)
   |                                      |- warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
   |                                      `- note: task-isolated '$0' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
51 |                     })
52 |             }
[233/246] Compiling SwiftUseCase CombineUseCase.swift
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/CombineUseCase.swift:54:13: warning: capture of 'task' with non-sendable type 'CombineUseCase<P>.Cancellable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
52 |             }
53 |         } onCancel: { [task] in
54 |             task.value?.cancel()
   |             `- warning: capture of 'task' with non-sendable type 'CombineUseCase<P>.Cancellable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
55 |         }
56 |     }
57 |     /// A small box to hold the active subscription for coordinated cancellation.
58 |     private class Cancellable {
   |                   `- note: class 'Cancellable' does not conform to the 'Sendable' protocol
59 |         var value: AnyCancellable?
60 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/CombineUseCase.swift:50:38: warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
48 |                         task.value?.cancel()
49 |                     }, receiveValue: {
50 |                         continuation.resume(returning: $0)
   |                                      |- warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
   |                                      `- note: task-isolated '$0' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
51 |                     })
52 |             }
[234/246] Compiling SwiftUseCase UseCase+Callbacks.swift
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/UseCase+Callbacks.swift:39:17: warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
37 |     func execute(_ parameters: Parameter? = nil, onComplete: @escaping (Result) -> Void) -> AnyCancellable {
38 |         let usecase = eraseToAnyUseCase
39 |         usecase.onComplete = { result in
   |                 `- warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
40 |             onComplete(result)
41 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/UseCase+Callbacks.swift:39:17: warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
37 |     func execute(_ parameters: Parameter? = nil, onComplete: @escaping (Result) -> Void) -> AnyCancellable {
38 |         let usecase = eraseToAnyUseCase
39 |         usecase.onComplete = { result in
   |                 `- warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
40 |             onComplete(result)
41 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/UseCase+Callbacks.swift:42:17: warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
40 |             onComplete(result)
41 |         }
42 |         usecase.execute(parameters ?? (() as! Parameter))
   |                 `- warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
43 |         return AnyCancellable { [usecase] in
44 |             _ = usecase.cancellation?()
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/UseCase+Callbacks.swift:42:17: warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
40 |             onComplete(result)
41 |         }
42 |         usecase.execute(parameters ?? (() as! Parameter))
   |                 `- warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
43 |         return AnyCancellable { [usecase] in
44 |             _ = usecase.cancellation?()
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/UseCase+Callbacks.swift:44:25: warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
42 |         usecase.execute(parameters ?? (() as! Parameter))
43 |         return AnyCancellable { [usecase] in
44 |             _ = usecase.cancellation?()
   |                         `- warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
45 |         }
46 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/UseCase+Callbacks.swift:44:25: warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
42 |         usecase.execute(parameters ?? (() as! Parameter))
43 |         return AnyCancellable { [usecase] in
44 |             _ = usecase.cancellation?()
   |                         `- warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
45 |         }
46 |     }
[235/246] Compiling SwiftUseCase UseCase+Publisher.swift
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/UseCase+Callbacks.swift:39:17: warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
37 |     func execute(_ parameters: Parameter? = nil, onComplete: @escaping (Result) -> Void) -> AnyCancellable {
38 |         let usecase = eraseToAnyUseCase
39 |         usecase.onComplete = { result in
   |                 `- warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
40 |             onComplete(result)
41 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/UseCase+Callbacks.swift:39:17: warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
37 |     func execute(_ parameters: Parameter? = nil, onComplete: @escaping (Result) -> Void) -> AnyCancellable {
38 |         let usecase = eraseToAnyUseCase
39 |         usecase.onComplete = { result in
   |                 `- warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
40 |             onComplete(result)
41 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/UseCase+Callbacks.swift:42:17: warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
40 |             onComplete(result)
41 |         }
42 |         usecase.execute(parameters ?? (() as! Parameter))
   |                 `- warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
43 |         return AnyCancellable { [usecase] in
44 |             _ = usecase.cancellation?()
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/UseCase+Callbacks.swift:42:17: warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
40 |             onComplete(result)
41 |         }
42 |         usecase.execute(parameters ?? (() as! Parameter))
   |                 `- warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
43 |         return AnyCancellable { [usecase] in
44 |             _ = usecase.cancellation?()
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/UseCase+Callbacks.swift:44:25: warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
42 |         usecase.execute(parameters ?? (() as! Parameter))
43 |         return AnyCancellable { [usecase] in
44 |             _ = usecase.cancellation?()
   |                         `- warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
45 |         }
46 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/UseCase+Callbacks.swift:44:25: warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
42 |         usecase.execute(parameters ?? (() as! Parameter))
43 |         return AnyCancellable { [usecase] in
44 |             _ = usecase.cancellation?()
   |                         `- warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
45 |         }
46 |     }
[236/246] Compiling SwiftUseCase AsyncThrowingUseCase+Callbacks.swift
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AsyncThrowingUseCase+Publisher.swift:39:47: 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
37 |     func publisher<F: Error>(parameters: Parameter = () as! Parameter, failureType _: F.Type, priority: TaskPriority = .background) -> AnyPublisher<Result, F> {
38 |         Future { promise in
39 |             Task.detached(priority: priority) {
   |                                               `- 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
40 |                 do {
41 |                     let result = try await execute(parameters)
   |                                            `- note: closure captures non-Sendable 'self'
42 |                     await MainActor.run { [promise] in
   |                                            `- note: closure captures non-Sendable 'promise'
43 |                         promise(.success(result))
44 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AsyncThrowingUseCase+Publisher.swift:43:25: warning: sending 'promise' risks causing data races; this is an error in the Swift 6 language mode
41 |                     let result = try await execute(parameters)
42 |                     await MainActor.run { [promise] in
43 |                         promise(.success(result))
   |                         |- warning: sending 'promise' risks causing data races; this is an error in the Swift 6 language mode
   |                         `- note: task-isolated 'promise' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
44 |                     }
45 |                 } catch {
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AsyncThrowingUseCase+Publisher.swift:47:25: warning: sending 'promise' risks causing data races; this is an error in the Swift 6 language mode
45 |                 } catch {
46 |                     await MainActor.run { [promise] in
47 |                         promise(.failure(error as! F))
   |                         |- warning: sending 'promise' risks causing data races; this is an error in the Swift 6 language mode
   |                         `- note: task-isolated 'promise' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
48 |                     }
49 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AsyncThrowingUseCase+Publisher.swift:73:47: 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
71 |     func publisher(parameters: Parameter, priority: TaskPriority = .background) -> AnyPublisher<Result, Error> {
72 |         Future { promise in
73 |             Task.detached(priority: priority) {
   |                                               `- 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
74 |                 do {
75 |                     let result = try await execute(parameters)
   |                                            `- note: closure captures non-Sendable 'self'
76 |                     await MainActor.run { [promise] in
   |                                            `- note: closure captures non-Sendable 'promise'
77 |                         promise(.success(result))
78 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AsyncThrowingUseCase+Publisher.swift:77:25: warning: sending 'promise' risks causing data races; this is an error in the Swift 6 language mode
75 |                     let result = try await execute(parameters)
76 |                     await MainActor.run { [promise] in
77 |                         promise(.success(result))
   |                         |- warning: sending 'promise' risks causing data races; this is an error in the Swift 6 language mode
   |                         `- note: task-isolated 'promise' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
78 |                     }
79 |                 } catch {
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AsyncThrowingUseCase+Publisher.swift:81:25: warning: sending 'promise' risks causing data races; this is an error in the Swift 6 language mode
79 |                 } catch {
80 |                     await MainActor.run { [promise] in
81 |                         promise(.failure(error))
   |                         |- warning: sending 'promise' risks causing data races; this is an error in the Swift 6 language mode
   |                         `- note: task-isolated 'promise' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
82 |                     }
83 |                 }
[237/246] Compiling SwiftUseCase AsyncThrowingUseCase+Publisher.swift
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AsyncThrowingUseCase+Publisher.swift:39:47: 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
37 |     func publisher<F: Error>(parameters: Parameter = () as! Parameter, failureType _: F.Type, priority: TaskPriority = .background) -> AnyPublisher<Result, F> {
38 |         Future { promise in
39 |             Task.detached(priority: priority) {
   |                                               `- 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
40 |                 do {
41 |                     let result = try await execute(parameters)
   |                                            `- note: closure captures non-Sendable 'self'
42 |                     await MainActor.run { [promise] in
   |                                            `- note: closure captures non-Sendable 'promise'
43 |                         promise(.success(result))
44 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AsyncThrowingUseCase+Publisher.swift:43:25: warning: sending 'promise' risks causing data races; this is an error in the Swift 6 language mode
41 |                     let result = try await execute(parameters)
42 |                     await MainActor.run { [promise] in
43 |                         promise(.success(result))
   |                         |- warning: sending 'promise' risks causing data races; this is an error in the Swift 6 language mode
   |                         `- note: task-isolated 'promise' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
44 |                     }
45 |                 } catch {
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AsyncThrowingUseCase+Publisher.swift:47:25: warning: sending 'promise' risks causing data races; this is an error in the Swift 6 language mode
45 |                 } catch {
46 |                     await MainActor.run { [promise] in
47 |                         promise(.failure(error as! F))
   |                         |- warning: sending 'promise' risks causing data races; this is an error in the Swift 6 language mode
   |                         `- note: task-isolated 'promise' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
48 |                     }
49 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AsyncThrowingUseCase+Publisher.swift:73:47: 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
71 |     func publisher(parameters: Parameter, priority: TaskPriority = .background) -> AnyPublisher<Result, Error> {
72 |         Future { promise in
73 |             Task.detached(priority: priority) {
   |                                               `- 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
74 |                 do {
75 |                     let result = try await execute(parameters)
   |                                            `- note: closure captures non-Sendable 'self'
76 |                     await MainActor.run { [promise] in
   |                                            `- note: closure captures non-Sendable 'promise'
77 |                         promise(.success(result))
78 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AsyncThrowingUseCase+Publisher.swift:77:25: warning: sending 'promise' risks causing data races; this is an error in the Swift 6 language mode
75 |                     let result = try await execute(parameters)
76 |                     await MainActor.run { [promise] in
77 |                         promise(.success(result))
   |                         |- warning: sending 'promise' risks causing data races; this is an error in the Swift 6 language mode
   |                         `- note: task-isolated 'promise' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
78 |                     }
79 |                 } catch {
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AsyncThrowingUseCase+Publisher.swift:81:25: warning: sending 'promise' risks causing data races; this is an error in the Swift 6 language mode
79 |                 } catch {
80 |                     await MainActor.run { [promise] in
81 |                         promise(.failure(error))
   |                         |- warning: sending 'promise' risks causing data races; this is an error in the Swift 6 language mode
   |                         `- note: task-isolated 'promise' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
82 |                     }
83 |                 }
[238/246] Compiling SwiftUseCase AsyncThrowingUseCase.swift
[239/246] Compiling SwiftUseCase AsyncUseCase+Callbacks.swift
[240/246] Compiling SwiftUseCase AnyUseCase+Callbacks.swift
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Combine.swift:61:23: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
59 |     /// queue. This is convenient for updating UI-bound state from the callbacks.
60 |     func eraseToAnyUseCase(receiveOn: DispatchQueue? = nil) -> AnyUseCase<Void, Output> {
61 |         let usecase = AnyUseCase<Void, Output>()
   |                       `- warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
62 |         let execution: AnyUseCase<Void, Output>.Execution = { _ in
63 |             var cancellable: AnyCancellable?
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Combine.swift:61:46: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
59 |     /// queue. This is convenient for updating UI-bound state from the callbacks.
60 |     func eraseToAnyUseCase(receiveOn: DispatchQueue? = nil) -> AnyUseCase<Void, Output> {
61 |         let usecase = AnyUseCase<Void, Output>()
   |                                              `- warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
62 |         let execution: AnyUseCase<Void, Output>.Execution = { _ in
63 |             var cancellable: AnyCancellable?
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Combine.swift:62:13: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
60 |     func eraseToAnyUseCase(receiveOn: DispatchQueue? = nil) -> AnyUseCase<Void, Output> {
61 |         let usecase = AnyUseCase<Void, Output>()
62 |         let execution: AnyUseCase<Void, Output>.Execution = { _ in
   |             `- warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
63 |             var cancellable: AnyCancellable?
64 |             cancellable = self
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Combine.swift:62:13: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
60 |     func eraseToAnyUseCase(receiveOn: DispatchQueue? = nil) -> AnyUseCase<Void, Output> {
61 |         let usecase = AnyUseCase<Void, Output>()
62 |         let execution: AnyUseCase<Void, Output>.Execution = { _ in
   |             `- warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
63 |             var cancellable: AnyCancellable?
64 |             cancellable = self
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Combine.swift:71:33: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
69 |                         break
70 |                     case let .failure(error):
71 |                         usecase.onFailure?(error)
   |                                 `- warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
72 |                     }
73 |                     cancellable?.cancel()
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Combine.swift:75:29: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
73 |                     cancellable?.cancel()
74 |                 }, receiveValue: { [usecase, cancellable] output in
75 |                     usecase.onComplete?(output)
   |                             `- warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
76 |                     cancellable?.cancel()
77 |                 })
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Combine.swift:79:17: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
77 |                 })
78 |         }
79 |         usecase.execute = execution
   |                 `- warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
80 |         return usecase
81 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:32:9: warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 30 |     /// any.execute(Product.ID(42))
 31 |     /// ```
 32 |     var eraseToAnyUseCase: AnyUseCase<Parameter, Result> {
    |         `- warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 33 |         AnyUseCase(usecase: self)
 34 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:32:9: warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 30 |     /// any.execute(Product.ID(42))
 31 |     /// ```
 32 |     var eraseToAnyUseCase: AnyUseCase<Parameter, Result> {
    |         `- warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 33 |         AnyUseCase(usecase: self)
 34 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:85:9: warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 83 |     /// any.execute("")
 84 |     /// ```
 85 |     var eraseToAnyUseCase: AnyUseCase<Parameter, Result> {
    |         `- warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 86 |         AnyUseCase(usecase: self)
 87 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:85:9: warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 83 |     /// any.execute("")
 84 |     /// ```
 85 |     var eraseToAnyUseCase: AnyUseCase<Parameter, Result> {
    |         `- warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 86 |         AnyUseCase(usecase: self)
 87 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:33:9: warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 31 |     /// ```
 32 |     var eraseToAnyUseCase: AnyUseCase<Parameter, Result> {
 33 |         AnyUseCase(usecase: self)
    |         `- warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 34 |     }
 35 | }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:33:9: warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 31 |     /// ```
 32 |     var eraseToAnyUseCase: AnyUseCase<Parameter, Result> {
 33 |         AnyUseCase(usecase: self)
    |         `- warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 34 |     }
 35 | }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:33:9: warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 31 |     /// ```
 32 |     var eraseToAnyUseCase: AnyUseCase<Parameter, Result> {
 33 |         AnyUseCase(usecase: self)
    |         `- warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 34 |     }
 35 | }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:33:9: warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 31 |     /// ```
 32 |     var eraseToAnyUseCase: AnyUseCase<Parameter, Result> {
 33 |         AnyUseCase(usecase: self)
    |         `- warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 34 |     }
 35 | }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:86:9: warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 84 |     /// ```
 85 |     var eraseToAnyUseCase: AnyUseCase<Parameter, Result> {
 86 |         AnyUseCase(usecase: self)
    |         `- warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 87 |     }
 88 | }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:86:9: warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 84 |     /// ```
 85 |     var eraseToAnyUseCase: AnyUseCase<Parameter, Result> {
 86 |         AnyUseCase(usecase: self)
    |         `- warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 87 |     }
 88 | }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:86:9: warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 84 |     /// ```
 85 |     var eraseToAnyUseCase: AnyUseCase<Parameter, Result> {
 86 |         AnyUseCase(usecase: self)
    |         `- warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 87 |     }
 88 | }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:86:9: warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 84 |     /// ```
 85 |     var eraseToAnyUseCase: AnyUseCase<Parameter, Result> {
 86 |         AnyUseCase(usecase: self)
    |         `- warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 87 |     }
 88 | }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:169:34: 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
167 |         var task: Task<Void, Never>?
168 |         execute = { parameters in
169 |             task = Task.detached { [usecase] in
    |                                  `- 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
170 |                 let result = await usecase(parameters)
171 |                 await MainActor.run { [weak self] in
    |                                             `- note: closure captures 'self' which is accessible to code in the current task
172 |                     guard let self else { return }
173 |                     onComplete?(result)
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:172:31: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
170 |                 let result = await usecase(parameters)
171 |                 await MainActor.run { [weak self] in
172 |                     guard let self else { return }
    |                               |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                               `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
173 |                     onComplete?(result)
174 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:234:34: 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
232 |         var task: Task<Void, Never>?
233 |         execute = { parameters in
234 |             task = Task.detached { [usecase] in
    |                                  `- 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
235 |                 do {
236 |                     let result = try await usecase(parameters)
237 |                     try Task.checkCancellation()
238 |                     await MainActor.run { [weak self] in
    |                                                 `- note: closure captures 'self' which is accessible to code in the current task
239 |                         guard let self else { return }
240 |                         onComplete?(result)
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:239:35: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
237 |                     try Task.checkCancellation()
238 |                     await MainActor.run { [weak self] in
239 |                         guard let self else { return }
    |                                   |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                                   `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
240 |                         onComplete?(result)
241 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:244:35: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
242 |                 } catch {
243 |                     await MainActor.run { [weak self] in
244 |                         guard let self else { return }
    |                                   |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                                   `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
245 |                         onFailure?(error)
246 |                     }
[241/246] Compiling SwiftUseCase AnyUseCase+Combine.swift
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Combine.swift:61:23: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
59 |     /// queue. This is convenient for updating UI-bound state from the callbacks.
60 |     func eraseToAnyUseCase(receiveOn: DispatchQueue? = nil) -> AnyUseCase<Void, Output> {
61 |         let usecase = AnyUseCase<Void, Output>()
   |                       `- warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
62 |         let execution: AnyUseCase<Void, Output>.Execution = { _ in
63 |             var cancellable: AnyCancellable?
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Combine.swift:61:46: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
59 |     /// queue. This is convenient for updating UI-bound state from the callbacks.
60 |     func eraseToAnyUseCase(receiveOn: DispatchQueue? = nil) -> AnyUseCase<Void, Output> {
61 |         let usecase = AnyUseCase<Void, Output>()
   |                                              `- warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
62 |         let execution: AnyUseCase<Void, Output>.Execution = { _ in
63 |             var cancellable: AnyCancellable?
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Combine.swift:62:13: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
60 |     func eraseToAnyUseCase(receiveOn: DispatchQueue? = nil) -> AnyUseCase<Void, Output> {
61 |         let usecase = AnyUseCase<Void, Output>()
62 |         let execution: AnyUseCase<Void, Output>.Execution = { _ in
   |             `- warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
63 |             var cancellable: AnyCancellable?
64 |             cancellable = self
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Combine.swift:62:13: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
60 |     func eraseToAnyUseCase(receiveOn: DispatchQueue? = nil) -> AnyUseCase<Void, Output> {
61 |         let usecase = AnyUseCase<Void, Output>()
62 |         let execution: AnyUseCase<Void, Output>.Execution = { _ in
   |             `- warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
63 |             var cancellable: AnyCancellable?
64 |             cancellable = self
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Combine.swift:71:33: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
69 |                         break
70 |                     case let .failure(error):
71 |                         usecase.onFailure?(error)
   |                                 `- warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
72 |                     }
73 |                     cancellable?.cancel()
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Combine.swift:75:29: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
73 |                     cancellable?.cancel()
74 |                 }, receiveValue: { [usecase, cancellable] output in
75 |                     usecase.onComplete?(output)
   |                             `- warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
76 |                     cancellable?.cancel()
77 |                 })
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Combine.swift:79:17: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
77 |                 })
78 |         }
79 |         usecase.execute = execution
   |                 `- warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
80 |         return usecase
81 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:32:9: warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 30 |     /// any.execute(Product.ID(42))
 31 |     /// ```
 32 |     var eraseToAnyUseCase: AnyUseCase<Parameter, Result> {
    |         `- warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 33 |         AnyUseCase(usecase: self)
 34 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:32:9: warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 30 |     /// any.execute(Product.ID(42))
 31 |     /// ```
 32 |     var eraseToAnyUseCase: AnyUseCase<Parameter, Result> {
    |         `- warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 33 |         AnyUseCase(usecase: self)
 34 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:85:9: warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 83 |     /// any.execute("")
 84 |     /// ```
 85 |     var eraseToAnyUseCase: AnyUseCase<Parameter, Result> {
    |         `- warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 86 |         AnyUseCase(usecase: self)
 87 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:85:9: warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 83 |     /// any.execute("")
 84 |     /// ```
 85 |     var eraseToAnyUseCase: AnyUseCase<Parameter, Result> {
    |         `- warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 86 |         AnyUseCase(usecase: self)
 87 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:33:9: warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 31 |     /// ```
 32 |     var eraseToAnyUseCase: AnyUseCase<Parameter, Result> {
 33 |         AnyUseCase(usecase: self)
    |         `- warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 34 |     }
 35 | }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:33:9: warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 31 |     /// ```
 32 |     var eraseToAnyUseCase: AnyUseCase<Parameter, Result> {
 33 |         AnyUseCase(usecase: self)
    |         `- warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 34 |     }
 35 | }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:33:9: warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 31 |     /// ```
 32 |     var eraseToAnyUseCase: AnyUseCase<Parameter, Result> {
 33 |         AnyUseCase(usecase: self)
    |         `- warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 34 |     }
 35 | }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:33:9: warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 31 |     /// ```
 32 |     var eraseToAnyUseCase: AnyUseCase<Parameter, Result> {
 33 |         AnyUseCase(usecase: self)
    |         `- warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 34 |     }
 35 | }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:86:9: warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 84 |     /// ```
 85 |     var eraseToAnyUseCase: AnyUseCase<Parameter, Result> {
 86 |         AnyUseCase(usecase: self)
    |         `- warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 87 |     }
 88 | }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:86:9: warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 84 |     /// ```
 85 |     var eraseToAnyUseCase: AnyUseCase<Parameter, Result> {
 86 |         AnyUseCase(usecase: self)
    |         `- warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 87 |     }
 88 | }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:86:9: warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 84 |     /// ```
 85 |     var eraseToAnyUseCase: AnyUseCase<Parameter, Result> {
 86 |         AnyUseCase(usecase: self)
    |         `- warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 87 |     }
 88 | }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:86:9: warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 84 |     /// ```
 85 |     var eraseToAnyUseCase: AnyUseCase<Parameter, Result> {
 86 |         AnyUseCase(usecase: self)
    |         `- warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 87 |     }
 88 | }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:169:34: 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
167 |         var task: Task<Void, Never>?
168 |         execute = { parameters in
169 |             task = Task.detached { [usecase] in
    |                                  `- 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
170 |                 let result = await usecase(parameters)
171 |                 await MainActor.run { [weak self] in
    |                                             `- note: closure captures 'self' which is accessible to code in the current task
172 |                     guard let self else { return }
173 |                     onComplete?(result)
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:172:31: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
170 |                 let result = await usecase(parameters)
171 |                 await MainActor.run { [weak self] in
172 |                     guard let self else { return }
    |                               |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                               `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
173 |                     onComplete?(result)
174 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:234:34: 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
232 |         var task: Task<Void, Never>?
233 |         execute = { parameters in
234 |             task = Task.detached { [usecase] in
    |                                  `- 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
235 |                 do {
236 |                     let result = try await usecase(parameters)
237 |                     try Task.checkCancellation()
238 |                     await MainActor.run { [weak self] in
    |                                                 `- note: closure captures 'self' which is accessible to code in the current task
239 |                         guard let self else { return }
240 |                         onComplete?(result)
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:239:35: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
237 |                     try Task.checkCancellation()
238 |                     await MainActor.run { [weak self] in
239 |                         guard let self else { return }
    |                                   |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                                   `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
240 |                         onComplete?(result)
241 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:244:35: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
242 |                 } catch {
243 |                     await MainActor.run { [weak self] in
244 |                         guard let self else { return }
    |                                   |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                                   `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
245 |                         onFailure?(error)
246 |                     }
[242/246] Compiling SwiftUseCase AnyUseCase+Resolve.swift
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Combine.swift:61:23: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
59 |     /// queue. This is convenient for updating UI-bound state from the callbacks.
60 |     func eraseToAnyUseCase(receiveOn: DispatchQueue? = nil) -> AnyUseCase<Void, Output> {
61 |         let usecase = AnyUseCase<Void, Output>()
   |                       `- warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
62 |         let execution: AnyUseCase<Void, Output>.Execution = { _ in
63 |             var cancellable: AnyCancellable?
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Combine.swift:61:46: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
59 |     /// queue. This is convenient for updating UI-bound state from the callbacks.
60 |     func eraseToAnyUseCase(receiveOn: DispatchQueue? = nil) -> AnyUseCase<Void, Output> {
61 |         let usecase = AnyUseCase<Void, Output>()
   |                                              `- warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
62 |         let execution: AnyUseCase<Void, Output>.Execution = { _ in
63 |             var cancellable: AnyCancellable?
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Combine.swift:62:13: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
60 |     func eraseToAnyUseCase(receiveOn: DispatchQueue? = nil) -> AnyUseCase<Void, Output> {
61 |         let usecase = AnyUseCase<Void, Output>()
62 |         let execution: AnyUseCase<Void, Output>.Execution = { _ in
   |             `- warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
63 |             var cancellable: AnyCancellable?
64 |             cancellable = self
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Combine.swift:62:13: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
60 |     func eraseToAnyUseCase(receiveOn: DispatchQueue? = nil) -> AnyUseCase<Void, Output> {
61 |         let usecase = AnyUseCase<Void, Output>()
62 |         let execution: AnyUseCase<Void, Output>.Execution = { _ in
   |             `- warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
63 |             var cancellable: AnyCancellable?
64 |             cancellable = self
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Combine.swift:71:33: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
69 |                         break
70 |                     case let .failure(error):
71 |                         usecase.onFailure?(error)
   |                                 `- warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
72 |                     }
73 |                     cancellable?.cancel()
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Combine.swift:75:29: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
73 |                     cancellable?.cancel()
74 |                 }, receiveValue: { [usecase, cancellable] output in
75 |                     usecase.onComplete?(output)
   |                             `- warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
76 |                     cancellable?.cancel()
77 |                 })
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Combine.swift:79:17: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
77 |                 })
78 |         }
79 |         usecase.execute = execution
   |                 `- warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
80 |         return usecase
81 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:32:9: warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 30 |     /// any.execute(Product.ID(42))
 31 |     /// ```
 32 |     var eraseToAnyUseCase: AnyUseCase<Parameter, Result> {
    |         `- warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 33 |         AnyUseCase(usecase: self)
 34 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:32:9: warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 30 |     /// any.execute(Product.ID(42))
 31 |     /// ```
 32 |     var eraseToAnyUseCase: AnyUseCase<Parameter, Result> {
    |         `- warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 33 |         AnyUseCase(usecase: self)
 34 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:85:9: warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 83 |     /// any.execute("")
 84 |     /// ```
 85 |     var eraseToAnyUseCase: AnyUseCase<Parameter, Result> {
    |         `- warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 86 |         AnyUseCase(usecase: self)
 87 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:85:9: warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 83 |     /// any.execute("")
 84 |     /// ```
 85 |     var eraseToAnyUseCase: AnyUseCase<Parameter, Result> {
    |         `- warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 86 |         AnyUseCase(usecase: self)
 87 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:33:9: warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 31 |     /// ```
 32 |     var eraseToAnyUseCase: AnyUseCase<Parameter, Result> {
 33 |         AnyUseCase(usecase: self)
    |         `- warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 34 |     }
 35 | }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:33:9: warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 31 |     /// ```
 32 |     var eraseToAnyUseCase: AnyUseCase<Parameter, Result> {
 33 |         AnyUseCase(usecase: self)
    |         `- warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 34 |     }
 35 | }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:33:9: warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 31 |     /// ```
 32 |     var eraseToAnyUseCase: AnyUseCase<Parameter, Result> {
 33 |         AnyUseCase(usecase: self)
    |         `- warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 34 |     }
 35 | }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:33:9: warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 31 |     /// ```
 32 |     var eraseToAnyUseCase: AnyUseCase<Parameter, Result> {
 33 |         AnyUseCase(usecase: self)
    |         `- warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 34 |     }
 35 | }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:86:9: warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 84 |     /// ```
 85 |     var eraseToAnyUseCase: AnyUseCase<Parameter, Result> {
 86 |         AnyUseCase(usecase: self)
    |         `- warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 87 |     }
 88 | }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:86:9: warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 84 |     /// ```
 85 |     var eraseToAnyUseCase: AnyUseCase<Parameter, Result> {
 86 |         AnyUseCase(usecase: self)
    |         `- warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 87 |     }
 88 | }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:86:9: warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 84 |     /// ```
 85 |     var eraseToAnyUseCase: AnyUseCase<Parameter, Result> {
 86 |         AnyUseCase(usecase: self)
    |         `- warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 87 |     }
 88 | }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:86:9: warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 84 |     /// ```
 85 |     var eraseToAnyUseCase: AnyUseCase<Parameter, Result> {
 86 |         AnyUseCase(usecase: self)
    |         `- warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 87 |     }
 88 | }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:169:34: 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
167 |         var task: Task<Void, Never>?
168 |         execute = { parameters in
169 |             task = Task.detached { [usecase] in
    |                                  `- 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
170 |                 let result = await usecase(parameters)
171 |                 await MainActor.run { [weak self] in
    |                                             `- note: closure captures 'self' which is accessible to code in the current task
172 |                     guard let self else { return }
173 |                     onComplete?(result)
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:172:31: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
170 |                 let result = await usecase(parameters)
171 |                 await MainActor.run { [weak self] in
172 |                     guard let self else { return }
    |                               |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                               `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
173 |                     onComplete?(result)
174 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:234:34: 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
232 |         var task: Task<Void, Never>?
233 |         execute = { parameters in
234 |             task = Task.detached { [usecase] in
    |                                  `- 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
235 |                 do {
236 |                     let result = try await usecase(parameters)
237 |                     try Task.checkCancellation()
238 |                     await MainActor.run { [weak self] in
    |                                                 `- note: closure captures 'self' which is accessible to code in the current task
239 |                         guard let self else { return }
240 |                         onComplete?(result)
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:239:35: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
237 |                     try Task.checkCancellation()
238 |                     await MainActor.run { [weak self] in
239 |                         guard let self else { return }
    |                                   |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                                   `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
240 |                         onComplete?(result)
241 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:244:35: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
242 |                 } catch {
243 |                     await MainActor.run { [weak self] in
244 |                         guard let self else { return }
    |                                   |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                                   `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
245 |                         onFailure?(error)
246 |                     }
[243/246] Compiling SwiftUseCase ThrowingUseCase+Publisher.swift
[244/246] Compiling SwiftUseCase ThrowingUseCase.swift
[245/246] Compiling SwiftUseCase UseCase.swift
[246/246] Compiling SwiftUseCase UseCaseable.swift
Build complete! (32.99s)
Fetching https://github.com/swiftlang/swift-syntax from cache
Fetched https://github.com/swiftlang/swift-syntax from cache (1.78s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 510.0.0 (4.89s)
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 510.0.0
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-syntax",
      "requirement" : {
        "exact" : [
          "510.0.0"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swiftlang/swift-syntax"
    }
  ],
  "manifest_display_name" : "SwiftUseCase",
  "name" : "SwiftUseCase",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftUseCase",
      "targets" : [
        "SwiftUseCase"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SwiftUseCaseMacro",
      "targets" : [
        "SwiftUseCaseMacro"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SwiftUseCaseMacros",
      "targets" : [
        "SwiftUseCaseMacros"
      ],
      "type" : {
        "macro" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftUseCaseTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftUseCaseTests",
      "path" : "Tests",
      "sources" : [
        "SwiftUseCaseTests.swift"
      ],
      "target_dependencies" : [
        "SwiftUseCase"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftUseCaseMacros",
      "module_type" : "SwiftTarget",
      "name" : "SwiftUseCaseMacros",
      "path" : "Sources/Macros",
      "product_dependencies" : [
        "SwiftSyntax",
        "SwiftSyntaxMacros",
        "SwiftCompilerPlugin"
      ],
      "product_memberships" : [
        "SwiftUseCase",
        "SwiftUseCaseMacro",
        "SwiftUseCaseMacros"
      ],
      "sources" : [
        "Plugin.swift",
        "UsecaseMacro.swift"
      ],
      "type" : "macro"
    },
    {
      "c99name" : "SwiftUseCaseMacro",
      "module_type" : "SwiftTarget",
      "name" : "SwiftUseCaseMacro",
      "path" : "Sources/Plugin",
      "product_memberships" : [
        "SwiftUseCase",
        "SwiftUseCaseMacro"
      ],
      "sources" : [
        "SwiftUseCaseMacro.swift"
      ],
      "target_dependencies" : [
        "SwiftUseCaseMacros"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SwiftUseCase",
      "module_type" : "SwiftTarget",
      "name" : "SwiftUseCase",
      "path" : "Sources/Usecases",
      "product_memberships" : [
        "SwiftUseCase"
      ],
      "sources" : [
        "AnyUseCase+Callbacks.swift",
        "AnyUseCase+Combine.swift",
        "AnyUseCase+Resolve.swift",
        "AnyUseCase.swift",
        "AsyncExecutables.swift",
        "AsyncThrowingUseCase+Callbacks.swift",
        "AsyncThrowingUseCase+Publisher.swift",
        "AsyncThrowingUseCase.swift",
        "AsyncUseCase+Callbacks.swift",
        "AsyncUseCase+Publisher.swift",
        "AsyncUseCase.swift",
        "AsyncUsecaseable.swift",
        "CombineUseCase.swift",
        "Executables.swift",
        "ThrowingUseCase+Callbacks.swift",
        "ThrowingUseCase+Publisher.swift",
        "ThrowingUseCase.swift",
        "UseCase+Callbacks.swift",
        "UseCase+Publisher.swift",
        "UseCase.swift",
        "UseCaseable.swift"
      ],
      "target_dependencies" : [
        "SwiftUseCaseMacro"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
Done.