The Swift Package Index logo.Swift Package Index

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

Build Information

Successful build of SwiftUseCase, reference 0.2.0 (573d1f), with Swift 6.2 (beta) for macOS (SPM) on 22 Jun 2025 00:42:37 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/xtro/SwiftUseCase.git
Reference: 0.2.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/xtro/SwiftUseCase
 * tag               0.2.0      -> FETCH_HEAD
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 0.2.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/xtro/SwiftUseCase.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/18] Write sources
[15/18] Write swift-version-1EA4D86E10B52AF.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/71] Emitting module SwiftSyntax
[25/71] Compiling SwiftSyntax Utils.swift
[26/71] Compiling SwiftSyntax ChildNameForKeyPath.swift
[27/71] Compiling SwiftSyntax Keyword.swift
[28/71] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[29/71] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[30/71] Compiling SwiftSyntax Tokens.swift
[31/71] Compiling SwiftSyntax TriviaPieces.swift
[32/71] Compiling SwiftSyntax RawSyntaxNodes.swift
[33/71] Compiling SwiftSyntax RawSyntaxValidation.swift
[34/71] Compiling SwiftSyntax SyntaxDeclNodes.swift
[35/71] Compiling SwiftSyntax SyntaxExprNodes.swift
[36/71] Compiling SwiftSyntax SyntaxNodes.swift
[37/71] Compiling SwiftSyntax SyntaxPatternNodes.swift
[38/71] Compiling SwiftSyntax SyntaxStmtNodes.swift
[39/71] Compiling SwiftSyntax SyntaxTypeNodes.swift
[40/71] Compiling SwiftSyntax MemoryLayout.swift
[41/71] Compiling SwiftSyntax MissingNodeInitializers.swift
[42/71] Compiling SwiftSyntax RawSyntax.swift
[43/71] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[44/71] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[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 Syntax.swift
[51/71] Compiling SwiftSyntax SyntaxArena.swift
[52/71] Compiling SwiftSyntax SyntaxChildren.swift
[53/71] Compiling SwiftSyntax SyntaxCollection.swift
[54/71] Compiling SwiftSyntax SyntaxData.swift
[55/71] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[56/71] Compiling SwiftSyntax SyntaxBaseNodes.swift
[57/71] Compiling SwiftSyntax SyntaxCollections.swift
[58/71] Compiling SwiftSyntax SyntaxEnum.swift
[59/71] Compiling SwiftSyntax SyntaxKind.swift
[60/71] Compiling SwiftSyntax RawSyntaxTokenView.swift
[61/71] Compiling SwiftSyntax SourceLength.swift
[62/71] Compiling SwiftSyntax SourceLocation.swift
[63/71] Compiling SwiftSyntax SourcePresence.swift
[64/71] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[65/71] Compiling SwiftSyntax SyntaxRewriter.swift
[66/71] Compiling SwiftSyntax SyntaxTraits.swift
[67/71] Compiling SwiftSyntax SyntaxTransform.swift
[68/71] Compiling SwiftSyntax SyntaxVisitor.swift
[69/71] Compiling SwiftSyntax TokenKind.swift
[70/123] Compiling SwiftDiagnostics Note.swift
[71/123] Compiling SwiftDiagnostics Message.swift
[72/123] Compiling SwiftBasicFormat Syntax+Extensions.swift
[73/123] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[74/123] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[75/123] Compiling SwiftDiagnostics Convenience.swift
[76/123] Compiling SwiftDiagnostics FixIt.swift
[77/123] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[78/123] Compiling SwiftDiagnostics Diagnostic.swift
[79/123] Emitting module SwiftDiagnostics
[80/123] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[81/123] Emitting module SwiftBasicFormat
[82/123] Compiling SwiftBasicFormat BasicFormat.swift
[83/123] Compiling SwiftParser Statements.swift
[84/123] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[85/123] Compiling SwiftParser StringLiterals.swift
[86/123] Compiling SwiftParser SwiftParserCompatibility.swift
[87/127] Compiling SwiftParser Lexeme.swift
[88/127] Compiling SwiftParser LexemeSequence.swift
[89/127] Compiling SwiftParser Lexer.swift
[90/127] Compiling SwiftParser RegexLiteralLexer.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 IsLexerClassified.swift
[113/127] Compiling SwiftParser LayoutNodes+Parsable.swift
[114/127] Compiling SwiftParser Parser+TokenSpecSet.swift
[115/127] Compiling SwiftParser TokenSpecStaticMembers.swift
[116/127] Compiling SwiftParser Directives.swift
[117/127] Compiling SwiftParser ExperimentalFeatures.swift
[118/127] Compiling SwiftParser Expressions.swift
[119/127] Compiling SwiftParser IncrementalParseTransition.swift
[120/127] Compiling SwiftParser Cursor.swift
[121/127] Compiling SwiftParser Attributes.swift
[122/127] Compiling SwiftParser Availability.swift
[123/127] Compiling SwiftParser CharacterInfo.swift
[124/127] Compiling SwiftParser CollectionNodes+Parsable.swift
[125/127] Compiling SwiftParser Declarations.swift
[126/150] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[127/151] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[128/151] Compiling SwiftOperators PrecedenceGraph.swift
[129/151] Compiling SwiftOperators PrecedenceGroup.swift
[130/151] Compiling SwiftOperators OperatorTable.swift
[131/152] Compiling SwiftOperators SyntaxSynthesis.swift
[132/152] Compiling SwiftOperators Operator.swift
[133/152] Compiling SwiftOperators OperatorTable+Defaults.swift
[134/152] Compiling SwiftOperators OperatorError+Diagnostics.swift
[135/152] Compiling SwiftOperators OperatorTable+Semantics.swift
[136/152] Compiling SwiftOperators OperatorError.swift
[137/152] Emitting module SwiftOperators
[138/152] Compiling SwiftOperators OperatorTable+Folding.swift
[139/152] Compiling SwiftParserDiagnostics Utils.swift
[140/152] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[141/152] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[142/152] Compiling SwiftParserDiagnostics PresenceUtils.swift
[143/152] Compiling SwiftParserDiagnostics MissingNodesError.swift
[144/152] Compiling SwiftParserDiagnostics MissingTokenError.swift
[145/152] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[146/152] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[147/152] Emitting module SwiftParserDiagnostics
[148/152] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[149/152] Compiling SwiftParserDiagnostics DiagnosticExtensions.swift
[150/152] Compiling SwiftParserDiagnostics LexerDiagnosticMessages.swift
[151/166] Compiling SwiftSyntaxBuilder Indenter.swift
[152/166] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[153/167] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[154/167] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[155/167] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[156/167] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[157/167] Emitting module SwiftSyntaxBuilder
[158/167] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[159/167] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[160/167] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[161/167] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[162/167] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[163/167] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[164/167] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[165/167] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[166/181] Compiling SwiftSyntaxMacros MemberMacro.swift
[167/181] Compiling SwiftSyntaxMacros ExpressionMacro.swift
[168/181] Compiling SwiftSyntaxMacros ExtensionMacro.swift
[169/181] Compiling SwiftSyntaxMacros FreestandingMacro.swift
[170/181] Compiling SwiftSyntaxMacros MemberAttributeMacro.swift
[171/181] Compiling SwiftSyntaxMacros CodeItemMacro.swift
[172/181] Compiling SwiftSyntaxMacros DeclarationMacro.swift
[173/181] Compiling SwiftSyntaxMacros AccessorMacro.swift
[174/181] Compiling SwiftSyntaxMacros AttachedMacro.swift
[175/181] Compiling SwiftSyntaxMacros Macro+Format.swift
[176/181] Compiling SwiftSyntaxMacros Macro.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 IndentationUtils.swift
[182/190] Compiling SwiftSyntaxMacroExpansion BasicMacroExpansionContext.swift
[183/190] Emitting module SwiftSyntaxMacroExpansion
[184/190] Compiling SwiftSyntaxMacroExpansion MacroExpansion.swift
[185/190] Compiling SwiftSyntaxMacroExpansion FunctionParameterUtils.swift
[186/190] Compiling SwiftSyntaxMacroExpansion MacroReplacement.swift
[187/190] Compiling SwiftSyntaxMacroExpansion MacroExpansionDiagnosticMessages.swift
[188/190] Compiling SwiftSyntaxMacroExpansion MacroSystem.swift
[189/197] Compiling SwiftCompilerPluginMessageHandling PluginMacroExpansionContext.swift
[190/197] Emitting module SwiftCompilerPluginMessageHandling
[191/197] Compiling SwiftCompilerPluginMessageHandling Diagnostics.swift
[192/197] Compiling SwiftCompilerPluginMessageHandling Macros.swift
[193/197] Compiling SwiftCompilerPluginMessageHandling PluginMessageCompatibility.swift
[194/197] Compiling SwiftCompilerPluginMessageHandling CompilerPluginMessageHandler.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] Compiling SwiftUseCase AnyUseCase+Callbacks.swift
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:58:36: warning: capture of non-sendable type 'U.Type' in an isolated closure; this is an error in the Swift 6 language mode
 56 |         execute = { parameters in
 57 |             task = Task.detached { [usecase] in
 58 |                 let result = await usecase(parameters)
    |                                    `- warning: capture of non-sendable type 'U.Type' in an isolated closure; this is an error in the Swift 6 language mode
 59 |                 await MainActor.run { [weak self] in
 60 |                     guard let self else { return }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:57:37: warning: capture of non-sendable type 'U.Type' in an isolated 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: capture of non-sendable type 'U.Type' in an isolated closure; this is an error in the Swift 6 language mode
 58 |                 let result = await usecase(parameters)
 59 |                 await MainActor.run { [weak self] in
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:100:44: warning: capture of non-sendable type 'U.Type' in an isolated closure; this is an error in the Swift 6 language mode
 98 |             task = Task.detached { [usecase] in
 99 |                 do {
100 |                     let result = try await usecase(parameters)
    |                                            `- warning: capture of non-sendable type 'U.Type' in an isolated closure; this is an error in the Swift 6 language mode
101 |                     try Task.checkCancellation()
102 |                     await MainActor.run { [weak self] in
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:98:37: warning: capture of non-sendable type 'U.Type' in an isolated 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: capture of non-sendable type 'U.Type' in an isolated closure; this is an error in the Swift 6 language mode
 99 |                 do {
100 |                     let result = try await usecase(parameters)
[206/224] Compiling SwiftUseCase AnyUseCase+Combine.swift
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:58:36: warning: capture of non-sendable type 'U.Type' in an isolated closure; this is an error in the Swift 6 language mode
 56 |         execute = { parameters in
 57 |             task = Task.detached { [usecase] in
 58 |                 let result = await usecase(parameters)
    |                                    `- warning: capture of non-sendable type 'U.Type' in an isolated closure; this is an error in the Swift 6 language mode
 59 |                 await MainActor.run { [weak self] in
 60 |                     guard let self else { return }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:57:37: warning: capture of non-sendable type 'U.Type' in an isolated 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: capture of non-sendable type 'U.Type' in an isolated closure; this is an error in the Swift 6 language mode
 58 |                 let result = await usecase(parameters)
 59 |                 await MainActor.run { [weak self] in
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:100:44: warning: capture of non-sendable type 'U.Type' in an isolated closure; this is an error in the Swift 6 language mode
 98 |             task = Task.detached { [usecase] in
 99 |                 do {
100 |                     let result = try await usecase(parameters)
    |                                            `- warning: capture of non-sendable type 'U.Type' in an isolated closure; this is an error in the Swift 6 language mode
101 |                     try Task.checkCancellation()
102 |                     await MainActor.run { [weak self] in
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:98:37: warning: capture of non-sendable type 'U.Type' in an isolated 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: capture of non-sendable type 'U.Type' in an isolated closure; this is an error in the Swift 6 language mode
 99 |                 do {
100 |                     let result = try await usecase(parameters)
[207/224] Compiling SwiftUseCase AnyUseCase+Resolve.swift
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:58:36: warning: capture of non-sendable type 'U.Type' in an isolated closure; this is an error in the Swift 6 language mode
 56 |         execute = { parameters in
 57 |             task = Task.detached { [usecase] in
 58 |                 let result = await usecase(parameters)
    |                                    `- warning: capture of non-sendable type 'U.Type' in an isolated closure; this is an error in the Swift 6 language mode
 59 |                 await MainActor.run { [weak self] in
 60 |                     guard let self else { return }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:57:37: warning: capture of non-sendable type 'U.Type' in an isolated 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: capture of non-sendable type 'U.Type' in an isolated closure; this is an error in the Swift 6 language mode
 58 |                 let result = await usecase(parameters)
 59 |                 await MainActor.run { [weak self] in
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:100:44: warning: capture of non-sendable type 'U.Type' in an isolated closure; this is an error in the Swift 6 language mode
 98 |             task = Task.detached { [usecase] in
 99 |                 do {
100 |                     let result = try await usecase(parameters)
    |                                            `- warning: capture of non-sendable type 'U.Type' in an isolated closure; this is an error in the Swift 6 language mode
101 |                     try Task.checkCancellation()
102 |                     await MainActor.run { [weak self] in
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AnyUseCase+Resolve.swift:98:37: warning: capture of non-sendable type 'U.Type' in an isolated 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: capture of non-sendable type 'U.Type' in an isolated closure; this is an error in the Swift 6 language mode
 99 |                 do {
100 |                     let result = try await usecase(parameters)
[208/224] Emitting module SwiftUseCase
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/CombineUseCase.swift:13:20: warning: capture of non-sendable type 'P.Type' in an isolated closure; this is an error in the Swift 6 language mode
11 |     public typealias Failure = P.Failure
12 |     public var execute: AsyncThrowingExecutable<Parameter, Result> = { publisher in
13 |         let task = Cancellable()
   |                    `- warning: capture of non-sendable type 'P.Type' in an isolated closure; this is an error in the Swift 6 language mode
14 |         return try await withTaskCancellationHandler {
15 |             return try await withUnsafeThrowingContinuation { [task] continuation in
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/CombineUseCase.swift:30:13: warning: capture of non-sendable type 'P.Type' in an isolated closure; this is an error in the Swift 6 language mode
28 |             }
29 |         } onCancel: { [task] in
30 |             task.value?.cancel()
   |             `- warning: capture of non-sendable type 'P.Type' in an isolated closure; this is an error in the Swift 6 language mode
31 |         }
32 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/CombineUseCase.swift:29:24: warning: capture of non-sendable type 'P.Type' in an isolated closure; this is an error in the Swift 6 language mode
27 |                     })
28 |             }
29 |         } onCancel: { [task] in
   |                        `- warning: capture of non-sendable type 'P.Type' in an isolated closure; this is an error in the Swift 6 language mode
30 |             task.value?.cancel()
31 |         }
[209/226] Compiling SwiftUseCase ThrowingUseCase+Publisher.swift
[210/226] Compiling SwiftUseCase ThrowingUseCase.swift
[211/226] Compiling SwiftUseCase AsyncThrowingUseCase.swift
[212/226] Compiling SwiftUseCase AsyncUseCase+Callbacks.swift
[213/226] Compiling SwiftUseCase AsyncUseCase+Publisher.swift
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AsyncUseCase+Publisher.swift:12:36: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
10 |         Future { promise in
11 |             Task.detached(priority: priority) {
12 |                 let result = await execute(parameters)
   |                                    `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
13 |                 await MainActor.run { [promise] in
14 |                     promise(.success(result))
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AsyncUseCase+Publisher.swift:9:10: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
 7 |
 8 | public extension AsyncUseCase {
 9 |     func publisher(parameters: Parameter = () as! Parameter, priority: TaskPriority = .background) -> AnyPublisher<Result, Never> {
   |          `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
10 |         Future { promise in
11 |             Task.detached(priority: priority) {
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AsyncUseCase+Publisher.swift:13:40: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
11 |             Task.detached(priority: priority) {
12 |                 let result = await execute(parameters)
13 |                 await MainActor.run { [promise] in
   |                                        `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
14 |                     promise(.success(result))
15 |                 }
[214/226] Compiling SwiftUseCase AsyncUseCase.swift
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AsyncUseCase+Publisher.swift:12:36: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
10 |         Future { promise in
11 |             Task.detached(priority: priority) {
12 |                 let result = await execute(parameters)
   |                                    `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
13 |                 await MainActor.run { [promise] in
14 |                     promise(.success(result))
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AsyncUseCase+Publisher.swift:9:10: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
 7 |
 8 | public extension AsyncUseCase {
 9 |     func publisher(parameters: Parameter = () as! Parameter, priority: TaskPriority = .background) -> AnyPublisher<Result, Never> {
   |          `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
10 |         Future { promise in
11 |             Task.detached(priority: priority) {
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AsyncUseCase+Publisher.swift:13:40: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
11 |             Task.detached(priority: priority) {
12 |                 let result = await execute(parameters)
13 |                 await MainActor.run { [promise] in
   |                                        `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
14 |                     promise(.success(result))
15 |                 }
[215/226] Compiling SwiftUseCase UseCase+Callbacks.swift
[216/226] Compiling SwiftUseCase UseCase+Publisher.swift
[217/226] Compiling SwiftUseCase AsyncUsecaseable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/CombineUseCase.swift:13:20: warning: capture of non-sendable type 'P.Type' in an isolated closure; this is an error in the Swift 6 language mode
11 |     public typealias Failure = P.Failure
12 |     public var execute: AsyncThrowingExecutable<Parameter, Result> = { publisher in
13 |         let task = Cancellable()
   |                    `- warning: capture of non-sendable type 'P.Type' in an isolated closure; this is an error in the Swift 6 language mode
14 |         return try await withTaskCancellationHandler {
15 |             return try await withUnsafeThrowingContinuation { [task] continuation in
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/CombineUseCase.swift:30:13: warning: capture of non-sendable type 'P.Type' in an isolated closure; this is an error in the Swift 6 language mode
28 |             }
29 |         } onCancel: { [task] in
30 |             task.value?.cancel()
   |             `- warning: capture of non-sendable type 'P.Type' in an isolated closure; this is an error in the Swift 6 language mode
31 |         }
32 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/CombineUseCase.swift:29:24: warning: capture of non-sendable type 'P.Type' in an isolated closure; this is an error in the Swift 6 language mode
27 |                     })
28 |             }
29 |         } onCancel: { [task] in
   |                        `- warning: capture of non-sendable type 'P.Type' in an isolated closure; this is an error in the Swift 6 language mode
30 |             task.value?.cancel()
31 |         }
[218/226] Compiling SwiftUseCase CombineUseCase.swift
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/CombineUseCase.swift:13:20: warning: capture of non-sendable type 'P.Type' in an isolated closure; this is an error in the Swift 6 language mode
11 |     public typealias Failure = P.Failure
12 |     public var execute: AsyncThrowingExecutable<Parameter, Result> = { publisher in
13 |         let task = Cancellable()
   |                    `- warning: capture of non-sendable type 'P.Type' in an isolated closure; this is an error in the Swift 6 language mode
14 |         return try await withTaskCancellationHandler {
15 |             return try await withUnsafeThrowingContinuation { [task] continuation in
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/CombineUseCase.swift:30:13: warning: capture of non-sendable type 'P.Type' in an isolated closure; this is an error in the Swift 6 language mode
28 |             }
29 |         } onCancel: { [task] in
30 |             task.value?.cancel()
   |             `- warning: capture of non-sendable type 'P.Type' in an isolated closure; this is an error in the Swift 6 language mode
31 |         }
32 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/CombineUseCase.swift:29:24: warning: capture of non-sendable type 'P.Type' in an isolated closure; this is an error in the Swift 6 language mode
27 |                     })
28 |             }
29 |         } onCancel: { [task] in
   |                        `- warning: capture of non-sendable type 'P.Type' in an isolated closure; this is an error in the Swift 6 language mode
30 |             task.value?.cancel()
31 |         }
[219/226] Compiling SwiftUseCase Executables.swift
[220/226] Compiling SwiftUseCase ThrowingUseCase+Callbacks.swift
[221/226] Compiling SwiftUseCase AnyUseCase.swift
[222/226] Compiling SwiftUseCase AsyncExecutables.swift
[223/226] Compiling SwiftUseCase AsyncThrowingUseCase+Callbacks.swift
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AsyncThrowingUseCase+Publisher.swift:13:44: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
11 |             Task.detached(priority: priority) {
12 |                 do {
13 |                     let result = try await execute(parameters)
   |                                            `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
14 |                     await MainActor.run { [promise] in
15 |                         promise(.success(result))
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AsyncThrowingUseCase+Publisher.swift:9:10: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
 7 |
 8 | public extension AsyncThrowingUseCase {
 9 |     func publisher<F: Error>(parameters: Parameter = () as! Parameter, failureType _: F.Type, priority: TaskPriority = .background) -> AnyPublisher<Result, F> {
   |          `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
10 |         Future { promise in
11 |             Task.detached(priority: priority) {
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AsyncThrowingUseCase+Publisher.swift:14:44: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
12 |                 do {
13 |                     let result = try await execute(parameters)
14 |                     await MainActor.run { [promise] in
   |                                            `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
15 |                         promise(.success(result))
16 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AsyncThrowingUseCase+Publisher.swift:18:44: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
16 |                     }
17 |                 } catch {
18 |                     await MainActor.run { [promise] in
   |                                            `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
19 |                         promise(.failure(error as! F))
20 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AsyncThrowingUseCase+Publisher.swift:31:44: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
29 |             Task.detached(priority: priority) {
30 |                 do {
31 |                     let result = try await execute(parameters)
   |                                            `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
32 |                     await MainActor.run { [promise] in
33 |                         promise(.success(result))
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AsyncThrowingUseCase+Publisher.swift:27:10: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
25 | }
26 | public extension AsyncThrowingUseCase {
27 |     func publisher(parameters: Parameter, priority: TaskPriority = .background) -> AnyPublisher<Result, Error> {
   |          `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
28 |         Future { promise in
29 |             Task.detached(priority: priority) {
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AsyncThrowingUseCase+Publisher.swift:32:44: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
30 |                 do {
31 |                     let result = try await execute(parameters)
32 |                     await MainActor.run { [promise] in
   |                                            `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
33 |                         promise(.success(result))
34 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AsyncThrowingUseCase+Publisher.swift:36:44: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
34 |                     }
35 |                 } catch {
36 |                     await MainActor.run { [promise] in
   |                                            `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
37 |                         promise(.failure(error))
38 |                     }
[224/226] Compiling SwiftUseCase AsyncThrowingUseCase+Publisher.swift
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AsyncThrowingUseCase+Publisher.swift:13:44: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
11 |             Task.detached(priority: priority) {
12 |                 do {
13 |                     let result = try await execute(parameters)
   |                                            `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
14 |                     await MainActor.run { [promise] in
15 |                         promise(.success(result))
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AsyncThrowingUseCase+Publisher.swift:9:10: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
 7 |
 8 | public extension AsyncThrowingUseCase {
 9 |     func publisher<F: Error>(parameters: Parameter = () as! Parameter, failureType _: F.Type, priority: TaskPriority = .background) -> AnyPublisher<Result, F> {
   |          `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
10 |         Future { promise in
11 |             Task.detached(priority: priority) {
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AsyncThrowingUseCase+Publisher.swift:14:44: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
12 |                 do {
13 |                     let result = try await execute(parameters)
14 |                     await MainActor.run { [promise] in
   |                                            `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
15 |                         promise(.success(result))
16 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AsyncThrowingUseCase+Publisher.swift:18:44: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
16 |                     }
17 |                 } catch {
18 |                     await MainActor.run { [promise] in
   |                                            `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
19 |                         promise(.failure(error as! F))
20 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AsyncThrowingUseCase+Publisher.swift:31:44: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
29 |             Task.detached(priority: priority) {
30 |                 do {
31 |                     let result = try await execute(parameters)
   |                                            `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
32 |                     await MainActor.run { [promise] in
33 |                         promise(.success(result))
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AsyncThrowingUseCase+Publisher.swift:27:10: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
25 | }
26 | public extension AsyncThrowingUseCase {
27 |     func publisher(parameters: Parameter, priority: TaskPriority = .background) -> AnyPublisher<Result, Error> {
   |          `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
28 |         Future { promise in
29 |             Task.detached(priority: priority) {
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AsyncThrowingUseCase+Publisher.swift:32:44: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
30 |                 do {
31 |                     let result = try await execute(parameters)
32 |                     await MainActor.run { [promise] in
   |                                            `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
33 |                         promise(.success(result))
34 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/Usecases/AsyncThrowingUseCase+Publisher.swift:36:44: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
34 |                     }
35 |                 } catch {
36 |                     await MainActor.run { [promise] in
   |                                            `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
37 |                         promise(.failure(error))
38 |                     }
[225/226] Compiling SwiftUseCase UseCase.swift
[226/226] Compiling SwiftUseCase UseCaseable.swift
Build complete! (40.23s)
Fetching https://github.com/apple/swift-syntax.git
[1/70924] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git from cache (3.22s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 509.0.0 (6.48s)
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
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.