The Swift Package Index logo.Swift Package Index

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

Build Information

Successful build of SwiftUseCase, reference main (573d1f), with Swift 6.1 for macOS (SPM) on 29 Apr 2025 08:12:55 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.61.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 573d1f2 Add usecase macro for automatic usecase generation from methods
Cloned https://github.com/xtro/SwiftUseCase.git
Revision (git rev-parse @):
573d1f29342f73ec4ba4bc24d1b498180f937c31
SUCCESS checkout https://github.com/xtro/SwiftUseCase.git at main
Fetching https://github.com/apple/swift-syntax.git
[1/70245] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git from cache (3.08s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 509.0.0 (4.18s)
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 509.0.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "swiftusecase",
      "name": "SwiftUseCase",
      "url": "https://github.com/xtro/SwiftUseCase.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftUseCase",
      "dependencies": [
        {
          "identity": "swift-syntax",
          "name": "swift-syntax",
          "url": "https://github.com/apple/swift-syntax.git",
          "version": "509.0.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-syntax",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/xtro/SwiftUseCase.git
[1/95] Fetching swiftusecase
Fetched https://github.com/xtro/SwiftUseCase.git from cache (0.83s)
Fetching https://github.com/apple/swift-syntax.git from cache
Fetched https://github.com/apple/swift-syntax.git from cache (0.83s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 509.0.0 (0.89s)
Creating working copy for https://github.com/xtro/SwiftUseCase.git
Working copy of https://github.com/xtro/SwiftUseCase.git resolved at main (573d1f2)
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 509.0.0
warning: '.resolve-product-dependencies': dependency 'swiftusecase' is not used by any target
Found 1 product dependencies
  - swift-syntax
========================================
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" : [
          "509.0.0"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-syntax.git"
    }
  ],
  "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" : "Macros",
      "targets" : [
        "Macros"
      ],
      "type" : {
        "macro" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftUseCaseTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftUseCaseTests",
      "path" : "Tests",
      "sources" : [
        "SwiftUseCaseTests.swift"
      ],
      "target_dependencies" : [
        "SwiftUseCase"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftUseCaseMacro",
      "module_type" : "SwiftTarget",
      "name" : "SwiftUseCaseMacro",
      "path" : "Sources/Plugin",
      "product_memberships" : [
        "SwiftUseCase",
        "SwiftUseCaseMacro"
      ],
      "sources" : [
        "SwiftUseCaseMacro.swift"
      ],
      "target_dependencies" : [
        "Macros"
      ],
      "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"
    },
    {
      "c99name" : "Macros",
      "module_type" : "SwiftTarget",
      "name" : "Macros",
      "path" : "Sources/Macros",
      "product_dependencies" : [
        "SwiftSyntax",
        "SwiftSyntaxMacros",
        "SwiftCompilerPlugin"
      ],
      "product_memberships" : [
        "SwiftUseCase",
        "SwiftUseCaseMacro",
        "Macros"
      ],
      "sources" : [
        "Plugin.swift",
        "UsecaseMacro.swift"
      ],
      "type" : "macro"
    }
  ],
  "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/18] Write sources
[15/18] Write swift-version-2F0A5646E1D333AE.txt
[17/20] Compiling SwiftSyntax509 Empty.swift
[18/20] Emitting module SwiftSyntax509
[19/66] Compiling SwiftSyntax AbsolutePosition.swift
[20/66] Compiling SwiftSyntax Assert.swift
[21/66] Compiling SwiftSyntax BumpPtrAllocator.swift
[22/66] Compiling SwiftSyntax CommonAncestor.swift
[23/66] Compiling SwiftSyntax Convenience.swift
[24/66] Compiling SwiftSyntax RawSyntaxTokenView.swift
[25/66] Compiling SwiftSyntax SourceLength.swift
[26/66] Compiling SwiftSyntax SourceLocation.swift
[27/66] Compiling SwiftSyntax SourcePresence.swift
[28/66] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[29/71] Compiling SwiftSyntax MemoryLayout.swift
[30/71] Compiling SwiftSyntax MissingNodeInitializers.swift
[31/71] Compiling SwiftSyntax RawSyntax.swift
[32/71] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[33/71] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[34/71] Compiling SwiftSyntax Syntax.swift
[35/71] Compiling SwiftSyntax SyntaxArena.swift
[36/71] Compiling SwiftSyntax SyntaxChildren.swift
[37/71] Compiling SwiftSyntax SyntaxCollection.swift
[38/71] Compiling SwiftSyntax SyntaxData.swift
[39/71] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[40/71] Compiling SwiftSyntax SyntaxBaseNodes.swift
[41/71] Compiling SwiftSyntax SyntaxCollections.swift
[42/71] Compiling SwiftSyntax SyntaxEnum.swift
[43/71] Compiling SwiftSyntax SyntaxKind.swift
[44/71] Emitting module SwiftSyntax
[45/71] Compiling SwiftSyntax SyntaxText.swift
[46/71] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[47/71] Compiling SwiftSyntax TokenDiagnostic.swift
[48/71] Compiling SwiftSyntax TokenSyntax.swift
[49/71] Compiling SwiftSyntax Trivia.swift
[50/71] Compiling SwiftSyntax Tokens.swift
[51/71] Compiling SwiftSyntax TriviaPieces.swift
[52/71] Compiling SwiftSyntax RawSyntaxNodes.swift
[53/71] Compiling SwiftSyntax RawSyntaxValidation.swift
[54/71] Compiling SwiftSyntax SyntaxDeclNodes.swift
[55/71] Compiling SwiftSyntax SyntaxExprNodes.swift
[56/71] Compiling SwiftSyntax SyntaxNodes.swift
[57/71] Compiling SwiftSyntax SyntaxPatternNodes.swift
[58/71] Compiling SwiftSyntax SyntaxStmtNodes.swift
[59/71] Compiling SwiftSyntax SyntaxTypeNodes.swift
[60/71] Compiling SwiftSyntax SyntaxRewriter.swift
[61/71] Compiling SwiftSyntax SyntaxTraits.swift
[62/71] Compiling SwiftSyntax SyntaxTransform.swift
[63/71] Compiling SwiftSyntax SyntaxVisitor.swift
[64/71] Compiling SwiftSyntax TokenKind.swift
[65/71] Compiling SwiftSyntax Utils.swift
[66/71] Compiling SwiftSyntax ChildNameForKeyPath.swift
[67/71] Compiling SwiftSyntax Keyword.swift
[68/71] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[69/71] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[70/123] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[71/123] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[72/123] Compiling SwiftDiagnostics Message.swift
[73/123] Compiling SwiftDiagnostics Note.swift
[74/123] Compiling SwiftBasicFormat Syntax+Extensions.swift
[75/123] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[76/123] Compiling SwiftDiagnostics FixIt.swift
[77/123] Compiling SwiftDiagnostics Diagnostic.swift
[78/123] Compiling SwiftDiagnostics Convenience.swift
[79/123] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[80/123] Emitting module SwiftDiagnostics
[81/123] Emitting module SwiftBasicFormat
[82/123] Compiling SwiftBasicFormat BasicFormat.swift
[83/123] Compiling SwiftParser Lexeme.swift
[84/123] Compiling SwiftParser LexemeSequence.swift
[85/123] Compiling SwiftParser Lexer.swift
[86/123] Compiling SwiftParser RegexLiteralLexer.swift
[87/127] Compiling SwiftParser Statements.swift
[88/127] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[89/127] Compiling SwiftParser StringLiterals.swift
[90/127] Compiling SwiftParser SwiftParserCompatibility.swift
[91/127] Compiling SwiftParser UnicodeScalarExtensions.swift
[92/127] Compiling SwiftParser Lookahead.swift
[93/127] Compiling SwiftParser LoopProgressCondition.swift
[94/127] Compiling SwiftParser Modifiers.swift
[95/127] Compiling SwiftParser Names.swift
[96/127] Compiling SwiftParser Nominals.swift
[97/127] Compiling SwiftParser Parameters.swift
[98/127] Compiling SwiftParser ParseSourceFile.swift
[99/127] Compiling SwiftParser Parser.swift
[100/127] Compiling SwiftParser Patterns.swift
[101/127] Compiling SwiftParser Recovery.swift
[102/127] Compiling SwiftParser Specifiers.swift
[103/127] Compiling SwiftParser SyntaxUtils.swift
[104/127] Compiling SwiftParser TokenConsumer.swift
[105/127] Compiling SwiftParser TokenPrecedence.swift
[106/127] Compiling SwiftParser TokenSpec.swift
[107/127] Compiling SwiftParser TokenSpecSet.swift
[108/127] Compiling SwiftParser TopLevel.swift
[109/127] Compiling SwiftParser TriviaParser.swift
[110/127] Compiling SwiftParser Types.swift
[111/127] Emitting module SwiftParser
[112/127] Compiling SwiftParser Attributes.swift
[113/127] Compiling SwiftParser Availability.swift
[114/127] Compiling SwiftParser CharacterInfo.swift
[115/127] Compiling SwiftParser CollectionNodes+Parsable.swift
[116/127] Compiling SwiftParser Declarations.swift
[117/127] Compiling SwiftParser IsLexerClassified.swift
[118/127] Compiling SwiftParser LayoutNodes+Parsable.swift
[119/127] Compiling SwiftParser Parser+TokenSpecSet.swift
[120/127] Compiling SwiftParser TokenSpecStaticMembers.swift
[121/127] Compiling SwiftParser Directives.swift
[122/127] Compiling SwiftParser ExperimentalFeatures.swift
[123/127] Compiling SwiftParser Expressions.swift
[124/127] Compiling SwiftParser IncrementalParseTransition.swift
[125/127] Compiling SwiftParser Cursor.swift
[126/150] Compiling SwiftOperators OperatorError.swift
[127/150] Compiling SwiftOperators PrecedenceGroup.swift
[128/150] Compiling SwiftOperators OperatorTable.swift
[129/150] Compiling SwiftOperators OperatorTable+Defaults.swift
[130/150] Compiling SwiftOperators PrecedenceGraph.swift
[131/150] Compiling SwiftOperators OperatorTable+Folding.swift
[132/150] Compiling SwiftOperators OperatorError+Diagnostics.swift
[133/150] Compiling SwiftOperators Operator.swift
[134/150] Emitting module SwiftOperators
[135/150] Compiling SwiftOperators OperatorTable+Semantics.swift
[136/151] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[137/151] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[138/152] Compiling SwiftOperators SyntaxSynthesis.swift
[139/152] Compiling SwiftParserDiagnostics Utils.swift
[140/152] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[141/152] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[142/152] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[143/152] Emitting module SwiftParserDiagnostics
[144/152] Compiling SwiftParserDiagnostics MissingNodesError.swift
[145/152] Compiling SwiftParserDiagnostics MissingTokenError.swift
[146/152] Compiling SwiftParserDiagnostics DiagnosticExtensions.swift
[147/152] Compiling SwiftParserDiagnostics LexerDiagnosticMessages.swift
[148/152] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[149/152] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[150/152] Compiling SwiftParserDiagnostics PresenceUtils.swift
[151/166] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[152/166] Compiling SwiftSyntaxBuilder Indenter.swift
[153/166] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[154/166] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[155/166] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[156/166] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[157/166] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[158/166] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[159/166] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[160/167] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[161/167] Emitting module SwiftSyntaxBuilder
[162/167] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[163/167] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[164/167] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[165/167] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[166/181] Compiling SwiftSyntaxMacros MemberAttributeMacro.swift
[167/182] Compiling SwiftSyntaxMacros ExpressionMacro.swift
[168/182] Compiling SwiftSyntaxMacros ExtensionMacro.swift
[169/182] Compiling SwiftSyntaxMacros CodeItemMacro.swift
[170/182] Compiling SwiftSyntaxMacros DeclarationMacro.swift
[171/182] Compiling SwiftSyntaxMacros AccessorMacro.swift
[172/182] Compiling SwiftSyntaxMacros AttachedMacro.swift
[173/182] Compiling SwiftSyntaxMacros FreestandingMacro.swift
[174/182] Compiling SwiftSyntaxMacros Macro.swift
[175/182] Compiling SwiftSyntaxMacros MemberMacro.swift
[176/182] Compiling SwiftSyntaxMacros Macro+Format.swift
[177/182] Emitting module SwiftSyntaxMacros
[178/182] Compiling SwiftSyntaxMacros AbstractSourceLocation.swift
[179/182] Compiling SwiftSyntaxMacros MacroExpansionContext.swift
[180/182] Compiling SwiftSyntaxMacros PeerMacro.swift
[181/190] Compiling SwiftSyntaxMacroExpansion MacroReplacement.swift
[182/190] Compiling SwiftSyntaxMacroExpansion MacroExpansionDiagnosticMessages.swift
[183/190] Compiling SwiftSyntaxMacroExpansion MacroExpansion.swift
[184/190] Compiling SwiftSyntaxMacroExpansion BasicMacroExpansionContext.swift
[185/190] Compiling SwiftSyntaxMacroExpansion IndentationUtils.swift
[186/190] Compiling SwiftSyntaxMacroExpansion FunctionParameterUtils.swift
[187/190] Emitting module SwiftSyntaxMacroExpansion
[188/190] Compiling SwiftSyntaxMacroExpansion MacroSystem.swift
[189/197] Compiling SwiftCompilerPluginMessageHandling Diagnostics.swift
[190/197] Compiling SwiftCompilerPluginMessageHandling PluginMessageCompatibility.swift
[191/197] Compiling SwiftCompilerPluginMessageHandling CompilerPluginMessageHandler.swift
[192/197] Compiling SwiftCompilerPluginMessageHandling Macros.swift
[193/197] Emitting module SwiftCompilerPluginMessageHandling
[194/197] Compiling SwiftCompilerPluginMessageHandling PluginMacroExpansionContext.swift
[195/197] Compiling SwiftCompilerPluginMessageHandling PluginMessages.swift
[196/199] Compiling SwiftCompilerPlugin CompilerPlugin.swift
[197/199] Emitting module SwiftCompilerPlugin
[198/202] Compiling Macros Plugin.swift
[199/202] Compiling Macros UsecaseMacro.swift
[200/202] Emitting module Macros
[200/202] Write Objects.LinkFileList
[201/202] Linking Macros-tool
[203/204] Compiling SwiftUseCaseMacro SwiftUseCaseMacro.swift
[204/204] Emitting module SwiftUseCaseMacro
[205/224] Emitting module SwiftUseCase
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:10:9: warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
  8 | public extension UseCase {
  9 |     /// Erase type to ``AnyUseCase``
 10 |     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
 11 |         AnyUseCase(usecase: self)
 12 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:10:9: warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
  8 | public extension UseCase {
  9 |     /// Erase type to ``AnyUseCase``
 10 |     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
 11 |         AnyUseCase(usecase: self)
 12 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:24:9: warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 22 | public extension ThrowingUseCase {
 23 |     /// Erase type to ``AnyUseCase``
 24 |     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
 25 |         AnyUseCase(usecase: self)
 26 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:24:9: warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 22 | public extension ThrowingUseCase {
 23 |     /// Erase type to ``AnyUseCase``
 24 |     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
 25 |         AnyUseCase(usecase: self)
 26 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/CombineUseCase.swift:30: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
28 |             }
29 |         } onCancel: { [task] in
30 |             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
31 |         }
32 |     }
33 |     private class Cancellable {
   |                   `- note: class 'Cancellable' does not conform to the 'Sendable' protocol
34 |         var value: AnyCancellable?
35 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/CombineUseCase.swift:26:38: warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
24 |                         task.value?.cancel()
25 |                     }, receiveValue: {
26 |                         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
27 |                     })
28 |             }
[206/226] Compiling SwiftUseCase AsyncUseCase+Publisher.swift
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AsyncUseCase+Publisher.swift:11: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
 9 |     func publisher(parameters: Parameter = () as! Parameter, priority: TaskPriority = .background) -> AnyPublisher<Result, Never> {
10 |         Future { promise in
11 |             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
12 |                 let result = await execute(parameters)
   |                                    `- note: closure captures non-Sendable 'self'
13 |                 await MainActor.run { [promise] in
   |                                        `- note: closure captures non-Sendable 'promise'
14 |                     promise(.success(result))
15 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AsyncUseCase+Publisher.swift:14:21: warning: sending 'promise' risks causing data races; this is an error in the Swift 6 language mode
12 |                 let result = await execute(parameters)
13 |                 await MainActor.run { [promise] in
14 |                     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
15 |                 }
16 |             }
[207/226] Compiling SwiftUseCase AsyncUseCase.swift
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AsyncUseCase+Publisher.swift:11: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
 9 |     func publisher(parameters: Parameter = () as! Parameter, priority: TaskPriority = .background) -> AnyPublisher<Result, Never> {
10 |         Future { promise in
11 |             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
12 |                 let result = await execute(parameters)
   |                                    `- note: closure captures non-Sendable 'self'
13 |                 await MainActor.run { [promise] in
   |                                        `- note: closure captures non-Sendable 'promise'
14 |                     promise(.success(result))
15 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AsyncUseCase+Publisher.swift:14:21: warning: sending 'promise' risks causing data races; this is an error in the Swift 6 language mode
12 |                 let result = await execute(parameters)
13 |                 await MainActor.run { [promise] in
14 |                     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
15 |                 }
16 |             }
[208/226] Compiling SwiftUseCase Executables.swift
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/ThrowingUseCase+Callbacks.swift:11:17: warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 9 |     func execute(_ parameters: Parameter? = nil, onFailure: @escaping (Failure) -> Void, onComplete: @escaping (Result) -> Void) -> AnyCancellable {
10 |         let usecase = eraseToAnyUseCase
11 |         usecase.onComplete = onComplete
   |                 `- warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
12 |         usecase.onFailure = {
13 |             onFailure($0 as! Failure)
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/ThrowingUseCase+Callbacks.swift:11:17: warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 9 |     func execute(_ parameters: Parameter? = nil, onFailure: @escaping (Failure) -> Void, onComplete: @escaping (Result) -> Void) -> AnyCancellable {
10 |         let usecase = eraseToAnyUseCase
11 |         usecase.onComplete = onComplete
   |                 `- warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
12 |         usecase.onFailure = {
13 |             onFailure($0 as! Failure)
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/ThrowingUseCase+Callbacks.swift:12:17: warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
10 |         let usecase = eraseToAnyUseCase
11 |         usecase.onComplete = onComplete
12 |         usecase.onFailure = {
   |                 `- warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 |             onFailure($0 as! Failure)
14 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/ThrowingUseCase+Callbacks.swift:12:17: warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
10 |         let usecase = eraseToAnyUseCase
11 |         usecase.onComplete = onComplete
12 |         usecase.onFailure = {
   |                 `- warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 |             onFailure($0 as! Failure)
14 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/ThrowingUseCase+Callbacks.swift:15:17: warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 |             onFailure($0 as! Failure)
14 |         }
15 |         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
16 |         return AnyCancellable { [usecase] in
17 |             _ = usecase.cancellation?()
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/ThrowingUseCase+Callbacks.swift:15:17: warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 |             onFailure($0 as! Failure)
14 |         }
15 |         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
16 |         return AnyCancellable { [usecase] in
17 |             _ = usecase.cancellation?()
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/ThrowingUseCase+Callbacks.swift:17:25: warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
15 |         usecase.execute(parameters ?? (() as! Parameter))
16 |         return AnyCancellable { [usecase] in
17 |             _ = usecase.cancellation?()
   |                         `- warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
18 |         }
19 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/ThrowingUseCase+Callbacks.swift:17:25: warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
15 |         usecase.execute(parameters ?? (() as! Parameter))
16 |         return AnyCancellable { [usecase] in
17 |             _ = usecase.cancellation?()
   |                         `- warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
18 |         }
19 |     }
[209/226] Compiling SwiftUseCase ThrowingUseCase+Callbacks.swift
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/ThrowingUseCase+Callbacks.swift:11:17: warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 9 |     func execute(_ parameters: Parameter? = nil, onFailure: @escaping (Failure) -> Void, onComplete: @escaping (Result) -> Void) -> AnyCancellable {
10 |         let usecase = eraseToAnyUseCase
11 |         usecase.onComplete = onComplete
   |                 `- warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
12 |         usecase.onFailure = {
13 |             onFailure($0 as! Failure)
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/ThrowingUseCase+Callbacks.swift:11:17: warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 9 |     func execute(_ parameters: Parameter? = nil, onFailure: @escaping (Failure) -> Void, onComplete: @escaping (Result) -> Void) -> AnyCancellable {
10 |         let usecase = eraseToAnyUseCase
11 |         usecase.onComplete = onComplete
   |                 `- warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
12 |         usecase.onFailure = {
13 |             onFailure($0 as! Failure)
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/ThrowingUseCase+Callbacks.swift:12:17: warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
10 |         let usecase = eraseToAnyUseCase
11 |         usecase.onComplete = onComplete
12 |         usecase.onFailure = {
   |                 `- warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 |             onFailure($0 as! Failure)
14 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/ThrowingUseCase+Callbacks.swift:12:17: warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
10 |         let usecase = eraseToAnyUseCase
11 |         usecase.onComplete = onComplete
12 |         usecase.onFailure = {
   |                 `- warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 |             onFailure($0 as! Failure)
14 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/ThrowingUseCase+Callbacks.swift:15:17: warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 |             onFailure($0 as! Failure)
14 |         }
15 |         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
16 |         return AnyCancellable { [usecase] in
17 |             _ = usecase.cancellation?()
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/ThrowingUseCase+Callbacks.swift:15:17: warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 |             onFailure($0 as! Failure)
14 |         }
15 |         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
16 |         return AnyCancellable { [usecase] in
17 |             _ = usecase.cancellation?()
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/ThrowingUseCase+Callbacks.swift:17:25: warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
15 |         usecase.execute(parameters ?? (() as! Parameter))
16 |         return AnyCancellable { [usecase] in
17 |             _ = usecase.cancellation?()
   |                         `- warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
18 |         }
19 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/ThrowingUseCase+Callbacks.swift:17:25: warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
15 |         usecase.execute(parameters ?? (() as! Parameter))
16 |         return AnyCancellable { [usecase] in
17 |             _ = usecase.cancellation?()
   |                         `- warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
18 |         }
19 |     }
[210/226] Compiling SwiftUseCase ThrowingUseCase+Publisher.swift
[211/226] Compiling SwiftUseCase ThrowingUseCase.swift
[212/226] Compiling SwiftUseCase UseCase+Callbacks.swift
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/UseCase+Callbacks.swift:11:17: warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 9 |     func execute(_ parameters: Parameter? = nil, onComplete: @escaping (Result) -> Void) -> AnyCancellable {
10 |         let usecase = eraseToAnyUseCase
11 |         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
12 |             onComplete(result)
13 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/UseCase+Callbacks.swift:11:17: warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 9 |     func execute(_ parameters: Parameter? = nil, onComplete: @escaping (Result) -> Void) -> AnyCancellable {
10 |         let usecase = eraseToAnyUseCase
11 |         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
12 |             onComplete(result)
13 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/UseCase+Callbacks.swift:14:17: warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
12 |             onComplete(result)
13 |         }
14 |         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
15 |         return AnyCancellable { [usecase] in
16 |             _ = usecase.cancellation?()
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/UseCase+Callbacks.swift:14:17: warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
12 |             onComplete(result)
13 |         }
14 |         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
15 |         return AnyCancellable { [usecase] in
16 |             _ = usecase.cancellation?()
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/UseCase+Callbacks.swift:16:25: warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
14 |         usecase.execute(parameters ?? (() as! Parameter))
15 |         return AnyCancellable { [usecase] in
16 |             _ = usecase.cancellation?()
   |                         `- warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
17 |         }
18 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/UseCase+Callbacks.swift:16:25: warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
14 |         usecase.execute(parameters ?? (() as! Parameter))
15 |         return AnyCancellable { [usecase] in
16 |             _ = usecase.cancellation?()
   |                         `- warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
17 |         }
18 |     }
[213/226] Compiling SwiftUseCase UseCase+Publisher.swift
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/UseCase+Callbacks.swift:11:17: warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 9 |     func execute(_ parameters: Parameter? = nil, onComplete: @escaping (Result) -> Void) -> AnyCancellable {
10 |         let usecase = eraseToAnyUseCase
11 |         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
12 |             onComplete(result)
13 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/UseCase+Callbacks.swift:11:17: warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 9 |     func execute(_ parameters: Parameter? = nil, onComplete: @escaping (Result) -> Void) -> AnyCancellable {
10 |         let usecase = eraseToAnyUseCase
11 |         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
12 |             onComplete(result)
13 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/UseCase+Callbacks.swift:14:17: warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
12 |             onComplete(result)
13 |         }
14 |         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
15 |         return AnyCancellable { [usecase] in
16 |             _ = usecase.cancellation?()
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/UseCase+Callbacks.swift:14:17: warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
12 |             onComplete(result)
13 |         }
14 |         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
15 |         return AnyCancellable { [usecase] in
16 |             _ = usecase.cancellation?()
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/UseCase+Callbacks.swift:16:25: warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
14 |         usecase.execute(parameters ?? (() as! Parameter))
15 |         return AnyCancellable { [usecase] in
16 |             _ = usecase.cancellation?()
   |                         `- warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
17 |         }
18 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/UseCase+Callbacks.swift:16:25: warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
14 |         usecase.execute(parameters ?? (() as! Parameter))
15 |         return AnyCancellable { [usecase] in
16 |             _ = usecase.cancellation?()
   |                         `- warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
17 |         }
18 |     }
[214/226] Compiling SwiftUseCase AnyUseCase.swift
[215/226] Compiling SwiftUseCase AsyncExecutables.swift
[216/226] Compiling SwiftUseCase AsyncThrowingUseCase+Callbacks.swift
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AsyncThrowingUseCase+Publisher.swift:11: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
 9 |     func publisher<F: Error>(parameters: Parameter = () as! Parameter, failureType _: F.Type, priority: TaskPriority = .background) -> AnyPublisher<Result, F> {
10 |         Future { promise in
11 |             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
12 |                 do {
13 |                     let result = try await execute(parameters)
   |                                            `- note: closure captures non-Sendable 'self'
14 |                     await MainActor.run { [promise] in
   |                                            `- note: closure captures non-Sendable 'promise'
15 |                         promise(.success(result))
16 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AsyncThrowingUseCase+Publisher.swift:15:25: warning: sending 'promise' risks causing data races; this is an error in the Swift 6 language mode
13 |                     let result = try await execute(parameters)
14 |                     await MainActor.run { [promise] in
15 |                         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
16 |                     }
17 |                 } catch {
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AsyncThrowingUseCase+Publisher.swift:19:25: warning: sending 'promise' risks causing data races; this is an error in the Swift 6 language mode
17 |                 } catch {
18 |                     await MainActor.run { [promise] in
19 |                         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
20 |                     }
21 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AsyncThrowingUseCase+Publisher.swift:29: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
27 |     func publisher(parameters: Parameter, priority: TaskPriority = .background) -> AnyPublisher<Result, Error> {
28 |         Future { promise in
29 |             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
30 |                 do {
31 |                     let result = try await execute(parameters)
   |                                            `- note: closure captures non-Sendable 'self'
32 |                     await MainActor.run { [promise] in
   |                                            `- note: closure captures non-Sendable 'promise'
33 |                         promise(.success(result))
34 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AsyncThrowingUseCase+Publisher.swift:33:25: warning: sending 'promise' risks causing data races; this is an error in the Swift 6 language mode
31 |                     let result = try await execute(parameters)
32 |                     await MainActor.run { [promise] in
33 |                         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
34 |                     }
35 |                 } catch {
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AsyncThrowingUseCase+Publisher.swift:37:25: warning: sending 'promise' risks causing data races; this is an error in the Swift 6 language mode
35 |                 } catch {
36 |                     await MainActor.run { [promise] in
37 |                         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
38 |                     }
39 |                 }
[217/226] Compiling SwiftUseCase AsyncThrowingUseCase+Publisher.swift
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AsyncThrowingUseCase+Publisher.swift:11: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
 9 |     func publisher<F: Error>(parameters: Parameter = () as! Parameter, failureType _: F.Type, priority: TaskPriority = .background) -> AnyPublisher<Result, F> {
10 |         Future { promise in
11 |             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
12 |                 do {
13 |                     let result = try await execute(parameters)
   |                                            `- note: closure captures non-Sendable 'self'
14 |                     await MainActor.run { [promise] in
   |                                            `- note: closure captures non-Sendable 'promise'
15 |                         promise(.success(result))
16 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AsyncThrowingUseCase+Publisher.swift:15:25: warning: sending 'promise' risks causing data races; this is an error in the Swift 6 language mode
13 |                     let result = try await execute(parameters)
14 |                     await MainActor.run { [promise] in
15 |                         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
16 |                     }
17 |                 } catch {
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AsyncThrowingUseCase+Publisher.swift:19:25: warning: sending 'promise' risks causing data races; this is an error in the Swift 6 language mode
17 |                 } catch {
18 |                     await MainActor.run { [promise] in
19 |                         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
20 |                     }
21 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AsyncThrowingUseCase+Publisher.swift:29: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
27 |     func publisher(parameters: Parameter, priority: TaskPriority = .background) -> AnyPublisher<Result, Error> {
28 |         Future { promise in
29 |             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
30 |                 do {
31 |                     let result = try await execute(parameters)
   |                                            `- note: closure captures non-Sendable 'self'
32 |                     await MainActor.run { [promise] in
   |                                            `- note: closure captures non-Sendable 'promise'
33 |                         promise(.success(result))
34 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AsyncThrowingUseCase+Publisher.swift:33:25: warning: sending 'promise' risks causing data races; this is an error in the Swift 6 language mode
31 |                     let result = try await execute(parameters)
32 |                     await MainActor.run { [promise] in
33 |                         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
34 |                     }
35 |                 } catch {
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AsyncThrowingUseCase+Publisher.swift:37:25: warning: sending 'promise' risks causing data races; this is an error in the Swift 6 language mode
35 |                 } catch {
36 |                     await MainActor.run { [promise] in
37 |                         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
38 |                     }
39 |                 }
[218/226] Compiling SwiftUseCase UseCase.swift
[219/226] Compiling SwiftUseCase UseCaseable.swift
[220/226] Compiling SwiftUseCase AsyncThrowingUseCase.swift
[221/226] Compiling SwiftUseCase AsyncUseCase+Callbacks.swift
[222/226] Compiling SwiftUseCase AsyncUsecaseable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/CombineUseCase.swift:30: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
28 |             }
29 |         } onCancel: { [task] in
30 |             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
31 |         }
32 |     }
33 |     private class Cancellable {
   |                   `- note: class 'Cancellable' does not conform to the 'Sendable' protocol
34 |         var value: AnyCancellable?
35 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/CombineUseCase.swift:26:38: warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
24 |                         task.value?.cancel()
25 |                     }, receiveValue: {
26 |                         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
27 |                     })
28 |             }
[223/226] Compiling SwiftUseCase CombineUseCase.swift
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/CombineUseCase.swift:30: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
28 |             }
29 |         } onCancel: { [task] in
30 |             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
31 |         }
32 |     }
33 |     private class Cancellable {
   |                   `- note: class 'Cancellable' does not conform to the 'Sendable' protocol
34 |         var value: AnyCancellable?
35 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/CombineUseCase.swift:26:38: warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
24 |                         task.value?.cancel()
25 |                     }, receiveValue: {
26 |                         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
27 |                     })
28 |             }
[224/226] Compiling SwiftUseCase AnyUseCase+Callbacks.swift
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Combine.swift:14:23: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
12 |     /// - Returns: An ``AnyUseCase`` instance.
13 |     func eraseToAnyUseCase(receiveOn: DispatchQueue? = nil) -> AnyUseCase<Void, Output> {
14 |         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
15 |         let execution: AnyUseCase<Void, Output>.Execution = { _ in
16 |             var cancellable: AnyCancellable?
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Combine.swift:14:46: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
12 |     /// - Returns: An ``AnyUseCase`` instance.
13 |     func eraseToAnyUseCase(receiveOn: DispatchQueue? = nil) -> AnyUseCase<Void, Output> {
14 |         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
15 |         let execution: AnyUseCase<Void, Output>.Execution = { _ in
16 |             var cancellable: AnyCancellable?
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Combine.swift:15:13: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 |     func eraseToAnyUseCase(receiveOn: DispatchQueue? = nil) -> AnyUseCase<Void, Output> {
14 |         let usecase = AnyUseCase<Void, Output>()
15 |         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
16 |             var cancellable: AnyCancellable?
17 |             cancellable = self
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Combine.swift:15:13: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 |     func eraseToAnyUseCase(receiveOn: DispatchQueue? = nil) -> AnyUseCase<Void, Output> {
14 |         let usecase = AnyUseCase<Void, Output>()
15 |         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
16 |             var cancellable: AnyCancellable?
17 |             cancellable = self
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Combine.swift:24:33: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
22 |                         break
23 |                     case let .failure(error):
24 |                         usecase.onFailure?(error)
   |                                 `- warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
25 |                     }
26 |                     cancellable?.cancel()
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Combine.swift:28:29: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
26 |                     cancellable?.cancel()
27 |                 }, receiveValue: { [usecase, cancellable] output in
28 |                     usecase.onComplete?(output)
   |                             `- warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
29 |                     cancellable?.cancel()
30 |                 })
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Combine.swift:32:17: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
30 |                 })
31 |         }
32 |         usecase.execute = execution
   |                 `- warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
33 |         return usecase
34 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:10:9: warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
  8 | public extension UseCase {
  9 |     /// Erase type to ``AnyUseCase``
 10 |     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
 11 |         AnyUseCase(usecase: self)
 12 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:10:9: warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
  8 | public extension UseCase {
  9 |     /// Erase type to ``AnyUseCase``
 10 |     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
 11 |         AnyUseCase(usecase: self)
 12 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:24:9: warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 22 | public extension ThrowingUseCase {
 23 |     /// Erase type to ``AnyUseCase``
 24 |     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
 25 |         AnyUseCase(usecase: self)
 26 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:24:9: warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 22 | public extension ThrowingUseCase {
 23 |     /// Erase type to ``AnyUseCase``
 24 |     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
 25 |         AnyUseCase(usecase: self)
 26 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:11:9: warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
  9 |     /// Erase type to ``AnyUseCase``
 10 |     var eraseToAnyUseCase: AnyUseCase<Parameter, Result> {
 11 |         AnyUseCase(usecase: self)
    |         `- warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 12 |     }
 13 | }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:11:9: warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
  9 |     /// Erase type to ``AnyUseCase``
 10 |     var eraseToAnyUseCase: AnyUseCase<Parameter, Result> {
 11 |         AnyUseCase(usecase: self)
    |         `- warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 12 |     }
 13 | }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:11:9: warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
  9 |     /// Erase type to ``AnyUseCase``
 10 |     var eraseToAnyUseCase: AnyUseCase<Parameter, Result> {
 11 |         AnyUseCase(usecase: self)
    |         `- warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 12 |     }
 13 | }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:11:9: warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
  9 |     /// Erase type to ``AnyUseCase``
 10 |     var eraseToAnyUseCase: AnyUseCase<Parameter, Result> {
 11 |         AnyUseCase(usecase: self)
    |         `- warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 12 |     }
 13 | }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:25:9: warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 23 |     /// Erase type to ``AnyUseCase``
 24 |     var eraseToAnyUseCase: AnyUseCase<Parameter, Result> {
 25 |         AnyUseCase(usecase: self)
    |         `- warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 26 |     }
 27 | }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:25:9: warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 23 |     /// Erase type to ``AnyUseCase``
 24 |     var eraseToAnyUseCase: AnyUseCase<Parameter, Result> {
 25 |         AnyUseCase(usecase: self)
    |         `- warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 26 |     }
 27 | }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:25:9: warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 23 |     /// Erase type to ``AnyUseCase``
 24 |     var eraseToAnyUseCase: AnyUseCase<Parameter, Result> {
 25 |         AnyUseCase(usecase: self)
    |         `- warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 26 |     }
 27 | }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:25:9: warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 23 |     /// Erase type to ``AnyUseCase``
 24 |     var eraseToAnyUseCase: AnyUseCase<Parameter, Result> {
 25 |         AnyUseCase(usecase: self)
    |         `- warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 26 |     }
 27 | }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:57: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
 55 |         var task: Task<Void, Never>?
 56 |         execute = { parameters in
 57 |             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
 58 |                 let result = await usecase(parameters)
 59 |                 await MainActor.run { [weak self] in
    |                                             `- note: closure captures 'self' which is accessible to code in the current task
 60 |                     guard let self else { return }
 61 |                     onComplete?(result)
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:60:31: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
 58 |                 let result = await usecase(parameters)
 59 |                 await MainActor.run { [weak self] in
 60 |                     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
 61 |                     onComplete?(result)
 62 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:98: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
 96 |         var task: Task<Void, Never>?
 97 |         execute = { parameters in
 98 |             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
 99 |                 do {
100 |                     let result = try await usecase(parameters)
101 |                     try Task.checkCancellation()
102 |                     await MainActor.run { [weak self] in
    |                                                 `- note: closure captures 'self' which is accessible to code in the current task
103 |                         guard let self else { return }
104 |                         onComplete?(result)
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:103:35: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
101 |                     try Task.checkCancellation()
102 |                     await MainActor.run { [weak self] in
103 |                         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
104 |                         onComplete?(result)
105 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:108:35: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
106 |                 } catch {
107 |                     await MainActor.run { [weak self] in
108 |                         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
109 |                         onFailure?(error)
110 |                     }
[225/226] Compiling SwiftUseCase AnyUseCase+Combine.swift
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Combine.swift:14:23: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
12 |     /// - Returns: An ``AnyUseCase`` instance.
13 |     func eraseToAnyUseCase(receiveOn: DispatchQueue? = nil) -> AnyUseCase<Void, Output> {
14 |         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
15 |         let execution: AnyUseCase<Void, Output>.Execution = { _ in
16 |             var cancellable: AnyCancellable?
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Combine.swift:14:46: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
12 |     /// - Returns: An ``AnyUseCase`` instance.
13 |     func eraseToAnyUseCase(receiveOn: DispatchQueue? = nil) -> AnyUseCase<Void, Output> {
14 |         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
15 |         let execution: AnyUseCase<Void, Output>.Execution = { _ in
16 |             var cancellable: AnyCancellable?
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Combine.swift:15:13: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 |     func eraseToAnyUseCase(receiveOn: DispatchQueue? = nil) -> AnyUseCase<Void, Output> {
14 |         let usecase = AnyUseCase<Void, Output>()
15 |         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
16 |             var cancellable: AnyCancellable?
17 |             cancellable = self
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Combine.swift:15:13: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 |     func eraseToAnyUseCase(receiveOn: DispatchQueue? = nil) -> AnyUseCase<Void, Output> {
14 |         let usecase = AnyUseCase<Void, Output>()
15 |         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
16 |             var cancellable: AnyCancellable?
17 |             cancellable = self
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Combine.swift:24:33: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
22 |                         break
23 |                     case let .failure(error):
24 |                         usecase.onFailure?(error)
   |                                 `- warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
25 |                     }
26 |                     cancellable?.cancel()
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Combine.swift:28:29: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
26 |                     cancellable?.cancel()
27 |                 }, receiveValue: { [usecase, cancellable] output in
28 |                     usecase.onComplete?(output)
   |                             `- warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
29 |                     cancellable?.cancel()
30 |                 })
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Combine.swift:32:17: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
30 |                 })
31 |         }
32 |         usecase.execute = execution
   |                 `- warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
33 |         return usecase
34 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:10:9: warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
  8 | public extension UseCase {
  9 |     /// Erase type to ``AnyUseCase``
 10 |     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
 11 |         AnyUseCase(usecase: self)
 12 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:10:9: warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
  8 | public extension UseCase {
  9 |     /// Erase type to ``AnyUseCase``
 10 |     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
 11 |         AnyUseCase(usecase: self)
 12 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:24:9: warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 22 | public extension ThrowingUseCase {
 23 |     /// Erase type to ``AnyUseCase``
 24 |     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
 25 |         AnyUseCase(usecase: self)
 26 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:24:9: warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 22 | public extension ThrowingUseCase {
 23 |     /// Erase type to ``AnyUseCase``
 24 |     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
 25 |         AnyUseCase(usecase: self)
 26 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:11:9: warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
  9 |     /// Erase type to ``AnyUseCase``
 10 |     var eraseToAnyUseCase: AnyUseCase<Parameter, Result> {
 11 |         AnyUseCase(usecase: self)
    |         `- warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 12 |     }
 13 | }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:11:9: warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
  9 |     /// Erase type to ``AnyUseCase``
 10 |     var eraseToAnyUseCase: AnyUseCase<Parameter, Result> {
 11 |         AnyUseCase(usecase: self)
    |         `- warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 12 |     }
 13 | }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:11:9: warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
  9 |     /// Erase type to ``AnyUseCase``
 10 |     var eraseToAnyUseCase: AnyUseCase<Parameter, Result> {
 11 |         AnyUseCase(usecase: self)
    |         `- warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 12 |     }
 13 | }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:11:9: warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
  9 |     /// Erase type to ``AnyUseCase``
 10 |     var eraseToAnyUseCase: AnyUseCase<Parameter, Result> {
 11 |         AnyUseCase(usecase: self)
    |         `- warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 12 |     }
 13 | }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:25:9: warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 23 |     /// Erase type to ``AnyUseCase``
 24 |     var eraseToAnyUseCase: AnyUseCase<Parameter, Result> {
 25 |         AnyUseCase(usecase: self)
    |         `- warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 26 |     }
 27 | }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:25:9: warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 23 |     /// Erase type to ``AnyUseCase``
 24 |     var eraseToAnyUseCase: AnyUseCase<Parameter, Result> {
 25 |         AnyUseCase(usecase: self)
    |         `- warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 26 |     }
 27 | }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:25:9: warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 23 |     /// Erase type to ``AnyUseCase``
 24 |     var eraseToAnyUseCase: AnyUseCase<Parameter, Result> {
 25 |         AnyUseCase(usecase: self)
    |         `- warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 26 |     }
 27 | }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:25:9: warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 23 |     /// Erase type to ``AnyUseCase``
 24 |     var eraseToAnyUseCase: AnyUseCase<Parameter, Result> {
 25 |         AnyUseCase(usecase: self)
    |         `- warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 26 |     }
 27 | }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:57: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
 55 |         var task: Task<Void, Never>?
 56 |         execute = { parameters in
 57 |             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
 58 |                 let result = await usecase(parameters)
 59 |                 await MainActor.run { [weak self] in
    |                                             `- note: closure captures 'self' which is accessible to code in the current task
 60 |                     guard let self else { return }
 61 |                     onComplete?(result)
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:60:31: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
 58 |                 let result = await usecase(parameters)
 59 |                 await MainActor.run { [weak self] in
 60 |                     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
 61 |                     onComplete?(result)
 62 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:98: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
 96 |         var task: Task<Void, Never>?
 97 |         execute = { parameters in
 98 |             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
 99 |                 do {
100 |                     let result = try await usecase(parameters)
101 |                     try Task.checkCancellation()
102 |                     await MainActor.run { [weak self] in
    |                                                 `- note: closure captures 'self' which is accessible to code in the current task
103 |                         guard let self else { return }
104 |                         onComplete?(result)
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:103:35: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
101 |                     try Task.checkCancellation()
102 |                     await MainActor.run { [weak self] in
103 |                         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
104 |                         onComplete?(result)
105 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:108:35: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
106 |                 } catch {
107 |                     await MainActor.run { [weak self] in
108 |                         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
109 |                         onFailure?(error)
110 |                     }
[226/226] Compiling SwiftUseCase AnyUseCase+Resolve.swift
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Combine.swift:14:23: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
12 |     /// - Returns: An ``AnyUseCase`` instance.
13 |     func eraseToAnyUseCase(receiveOn: DispatchQueue? = nil) -> AnyUseCase<Void, Output> {
14 |         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
15 |         let execution: AnyUseCase<Void, Output>.Execution = { _ in
16 |             var cancellable: AnyCancellable?
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Combine.swift:14:46: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
12 |     /// - Returns: An ``AnyUseCase`` instance.
13 |     func eraseToAnyUseCase(receiveOn: DispatchQueue? = nil) -> AnyUseCase<Void, Output> {
14 |         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
15 |         let execution: AnyUseCase<Void, Output>.Execution = { _ in
16 |             var cancellable: AnyCancellable?
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Combine.swift:15:13: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 |     func eraseToAnyUseCase(receiveOn: DispatchQueue? = nil) -> AnyUseCase<Void, Output> {
14 |         let usecase = AnyUseCase<Void, Output>()
15 |         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
16 |             var cancellable: AnyCancellable?
17 |             cancellable = self
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Combine.swift:15:13: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 |     func eraseToAnyUseCase(receiveOn: DispatchQueue? = nil) -> AnyUseCase<Void, Output> {
14 |         let usecase = AnyUseCase<Void, Output>()
15 |         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
16 |             var cancellable: AnyCancellable?
17 |             cancellable = self
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Combine.swift:24:33: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
22 |                         break
23 |                     case let .failure(error):
24 |                         usecase.onFailure?(error)
   |                                 `- warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
25 |                     }
26 |                     cancellable?.cancel()
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Combine.swift:28:29: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
26 |                     cancellable?.cancel()
27 |                 }, receiveValue: { [usecase, cancellable] output in
28 |                     usecase.onComplete?(output)
   |                             `- warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
29 |                     cancellable?.cancel()
30 |                 })
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Combine.swift:32:17: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
30 |                 })
31 |         }
32 |         usecase.execute = execution
   |                 `- warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
33 |         return usecase
34 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:10:9: warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
  8 | public extension UseCase {
  9 |     /// Erase type to ``AnyUseCase``
 10 |     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
 11 |         AnyUseCase(usecase: self)
 12 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:10:9: warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
  8 | public extension UseCase {
  9 |     /// Erase type to ``AnyUseCase``
 10 |     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
 11 |         AnyUseCase(usecase: self)
 12 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:24:9: warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 22 | public extension ThrowingUseCase {
 23 |     /// Erase type to ``AnyUseCase``
 24 |     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
 25 |         AnyUseCase(usecase: self)
 26 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:24:9: warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 22 | public extension ThrowingUseCase {
 23 |     /// Erase type to ``AnyUseCase``
 24 |     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
 25 |         AnyUseCase(usecase: self)
 26 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:11:9: warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
  9 |     /// Erase type to ``AnyUseCase``
 10 |     var eraseToAnyUseCase: AnyUseCase<Parameter, Result> {
 11 |         AnyUseCase(usecase: self)
    |         `- warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 12 |     }
 13 | }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:11:9: warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
  9 |     /// Erase type to ``AnyUseCase``
 10 |     var eraseToAnyUseCase: AnyUseCase<Parameter, Result> {
 11 |         AnyUseCase(usecase: self)
    |         `- warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 12 |     }
 13 | }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:11:9: warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
  9 |     /// Erase type to ``AnyUseCase``
 10 |     var eraseToAnyUseCase: AnyUseCase<Parameter, Result> {
 11 |         AnyUseCase(usecase: self)
    |         `- warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 12 |     }
 13 | }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:11:9: warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
  9 |     /// Erase type to ``AnyUseCase``
 10 |     var eraseToAnyUseCase: AnyUseCase<Parameter, Result> {
 11 |         AnyUseCase(usecase: self)
    |         `- warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 12 |     }
 13 | }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:25:9: warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 23 |     /// Erase type to ``AnyUseCase``
 24 |     var eraseToAnyUseCase: AnyUseCase<Parameter, Result> {
 25 |         AnyUseCase(usecase: self)
    |         `- warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 26 |     }
 27 | }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:25:9: warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 23 |     /// Erase type to ``AnyUseCase``
 24 |     var eraseToAnyUseCase: AnyUseCase<Parameter, Result> {
 25 |         AnyUseCase(usecase: self)
    |         `- warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 26 |     }
 27 | }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:25:9: warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 23 |     /// Erase type to ``AnyUseCase``
 24 |     var eraseToAnyUseCase: AnyUseCase<Parameter, Result> {
 25 |         AnyUseCase(usecase: self)
    |         `- warning: type 'Self.Parameter' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 26 |     }
 27 | }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:25:9: warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 23 |     /// Erase type to ``AnyUseCase``
 24 |     var eraseToAnyUseCase: AnyUseCase<Parameter, Result> {
 25 |         AnyUseCase(usecase: self)
    |         `- warning: type 'Self.Result' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 26 |     }
 27 | }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:57: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
 55 |         var task: Task<Void, Never>?
 56 |         execute = { parameters in
 57 |             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
 58 |                 let result = await usecase(parameters)
 59 |                 await MainActor.run { [weak self] in
    |                                             `- note: closure captures 'self' which is accessible to code in the current task
 60 |                     guard let self else { return }
 61 |                     onComplete?(result)
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:60:31: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
 58 |                 let result = await usecase(parameters)
 59 |                 await MainActor.run { [weak self] in
 60 |                     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
 61 |                     onComplete?(result)
 62 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:98: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
 96 |         var task: Task<Void, Never>?
 97 |         execute = { parameters in
 98 |             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
 99 |                 do {
100 |                     let result = try await usecase(parameters)
101 |                     try Task.checkCancellation()
102 |                     await MainActor.run { [weak self] in
    |                                                 `- note: closure captures 'self' which is accessible to code in the current task
103 |                         guard let self else { return }
104 |                         onComplete?(result)
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:103:35: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
101 |                     try Task.checkCancellation()
102 |                     await MainActor.run { [weak self] in
103 |                         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
104 |                         onComplete?(result)
105 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:108:35: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
106 |                 } catch {
107 |                     await MainActor.run { [weak self] in
108 |                         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
109 |                         onFailure?(error)
110 |                     }
Build complete! (32.83s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-syntax",
      "requirement" : {
        "exact" : [
          "509.0.0"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-syntax.git"
    }
  ],
  "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" : "Macros",
      "targets" : [
        "Macros"
      ],
      "type" : {
        "macro" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftUseCaseTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftUseCaseTests",
      "path" : "Tests",
      "sources" : [
        "SwiftUseCaseTests.swift"
      ],
      "target_dependencies" : [
        "SwiftUseCase"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftUseCaseMacro",
      "module_type" : "SwiftTarget",
      "name" : "SwiftUseCaseMacro",
      "path" : "Sources/Plugin",
      "product_memberships" : [
        "SwiftUseCase",
        "SwiftUseCaseMacro"
      ],
      "sources" : [
        "SwiftUseCaseMacro.swift"
      ],
      "target_dependencies" : [
        "Macros"
      ],
      "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"
    },
    {
      "c99name" : "Macros",
      "module_type" : "SwiftTarget",
      "name" : "Macros",
      "path" : "Sources/Macros",
      "product_dependencies" : [
        "SwiftSyntax",
        "SwiftSyntaxMacros",
        "SwiftCompilerPlugin"
      ],
      "product_memberships" : [
        "SwiftUseCase",
        "SwiftUseCaseMacro",
        "Macros"
      ],
      "sources" : [
        "Plugin.swift",
        "UsecaseMacro.swift"
      ],
      "type" : "macro"
    }
  ],
  "tools_version" : "5.10"
}
Done.