Build Information
Successful build of SwiftUseCase, reference main (573d1f
), with Swift 6.2 (beta) for macOS (SPM) on 22 Jun 2025 00:42:16 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: 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
========================================
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 MemoryLayout.swift
[20/66] Compiling SwiftSyntax MissingNodeInitializers.swift
[21/66] Compiling SwiftSyntax RawSyntax.swift
[22/66] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[23/66] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[24/71] Compiling SwiftSyntax Syntax.swift
[25/71] Compiling SwiftSyntax SyntaxArena.swift
[26/71] Compiling SwiftSyntax SyntaxChildren.swift
[27/71] Compiling SwiftSyntax SyntaxCollection.swift
[28/71] Compiling SwiftSyntax SyntaxData.swift
[29/71] Compiling SwiftSyntax AbsolutePosition.swift
[30/71] Compiling SwiftSyntax Assert.swift
[31/71] Compiling SwiftSyntax BumpPtrAllocator.swift
[32/71] Compiling SwiftSyntax CommonAncestor.swift
[33/71] Compiling SwiftSyntax Convenience.swift
[34/71] Compiling SwiftSyntax SyntaxText.swift
[35/71] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[36/71] Compiling SwiftSyntax TokenDiagnostic.swift
[37/71] Compiling SwiftSyntax TokenSyntax.swift
[38/71] Compiling SwiftSyntax Trivia.swift
[39/71] Emitting module SwiftSyntax
[40/71] Compiling SwiftSyntax Utils.swift
[41/71] Compiling SwiftSyntax ChildNameForKeyPath.swift
[42/71] Compiling SwiftSyntax Keyword.swift
[43/71] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[44/71] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[45/71] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[46/71] Compiling SwiftSyntax SyntaxBaseNodes.swift
[47/71] Compiling SwiftSyntax SyntaxCollections.swift
[48/71] Compiling SwiftSyntax SyntaxEnum.swift
[49/71] Compiling SwiftSyntax SyntaxKind.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 RawSyntaxTokenView.swift
[56/71] Compiling SwiftSyntax SourceLength.swift
[57/71] Compiling SwiftSyntax SourceLocation.swift
[58/71] Compiling SwiftSyntax SourcePresence.swift
[59/71] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[60/71] Compiling SwiftSyntax SyntaxExprNodes.swift
[61/71] Compiling SwiftSyntax SyntaxNodes.swift
[62/71] Compiling SwiftSyntax SyntaxPatternNodes.swift
[63/71] Compiling SwiftSyntax SyntaxStmtNodes.swift
[64/71] Compiling SwiftSyntax SyntaxTypeNodes.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 Trivia+FormatExtensions.swift
[73/123] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[74/123] Compiling SwiftDiagnostics Diagnostic.swift
[75/123] Compiling SwiftDiagnostics FixIt.swift
[76/123] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[77/123] Compiling SwiftDiagnostics Convenience.swift
[78/123] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[79/123] Emitting module SwiftDiagnostics
[80/123] Compiling SwiftBasicFormat Syntax+Extensions.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 UnicodeScalarExtensions.swift
[88/127] Compiling SwiftParser Lookahead.swift
[89/127] Compiling SwiftParser LoopProgressCondition.swift
[90/127] Compiling SwiftParser Modifiers.swift
[91/127] Compiling SwiftParser Parser.swift
[92/127] Compiling SwiftParser Patterns.swift
[93/127] Compiling SwiftParser Recovery.swift
[94/127] Compiling SwiftParser Specifiers.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 SyntaxUtils.swift
[100/127] Compiling SwiftParser TokenConsumer.swift
[101/127] Compiling SwiftParser TokenPrecedence.swift
[102/127] Compiling SwiftParser TokenSpec.swift
[103/127] Compiling SwiftParser TokenSpecSet.swift
[104/127] Compiling SwiftParser TopLevel.swift
[105/127] Compiling SwiftParser TriviaParser.swift
[106/127] Compiling SwiftParser Types.swift
[107/127] Compiling SwiftParser IsLexerClassified.swift
[108/127] Compiling SwiftParser LayoutNodes+Parsable.swift
[109/127] Compiling SwiftParser Parser+TokenSpecSet.swift
[110/127] Compiling SwiftParser TokenSpecStaticMembers.swift
[111/127] Compiling SwiftParser Attributes.swift
[112/127] Compiling SwiftParser Availability.swift
[113/127] Compiling SwiftParser CharacterInfo.swift
[114/127] Compiling SwiftParser CollectionNodes+Parsable.swift
[115/127] Compiling SwiftParser Declarations.swift
[116/127] Emitting module SwiftParser
[117/127] Compiling SwiftParser Lexeme.swift
[118/127] Compiling SwiftParser LexemeSequence.swift
[119/127] Compiling SwiftParser Lexer.swift
[120/127] Compiling SwiftParser RegexLiteralLexer.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 SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[127/151] Compiling SwiftOperators PrecedenceGraph.swift
[128/151] Compiling SwiftOperators PrecedenceGroup.swift
[129/152] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[130/152] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[131/152] Compiling SwiftParserDiagnostics PresenceUtils.swift
[132/152] Compiling SwiftOperators SyntaxSynthesis.swift
[133/152] Compiling SwiftOperators OperatorTable.swift
[134/152] Compiling SwiftOperators OperatorTable+Defaults.swift
[135/152] Compiling SwiftOperators OperatorTable+Semantics.swift
[136/152] Compiling SwiftOperators OperatorError.swift
[137/152] Compiling SwiftOperators OperatorError+Diagnostics.swift
[138/152] Emitting module SwiftOperators
[139/152] Compiling SwiftOperators OperatorTable+Folding.swift
[140/152] Compiling SwiftOperators Operator.swift
[141/152] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[142/152] Compiling SwiftParserDiagnostics Utils.swift
[143/152] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[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] Emitting module SwiftParserDiagnostics
[149/152] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[150/152] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[151/166] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[152/167] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[153/167] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[154/167] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[155/167] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[156/167] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[157/167] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[158/167] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[159/167] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[160/167] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[161/167] Compiling SwiftSyntaxBuilder Indenter.swift
[162/167] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[163/167] Emitting module SwiftSyntaxBuilder
[164/167] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[165/167] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[166/181] Compiling SwiftSyntaxMacros MemberMacro.swift
[167/182] Compiling SwiftSyntaxMacros Macro.swift
[168/182] Compiling SwiftSyntaxMacros MemberAttributeMacro.swift
[169/182] Compiling SwiftSyntaxMacros FreestandingMacro.swift
[170/182] Compiling SwiftSyntaxMacros CodeItemMacro.swift
[171/182] Compiling SwiftSyntaxMacros DeclarationMacro.swift
[172/182] Compiling SwiftSyntaxMacros ExpressionMacro.swift
[173/182] Compiling SwiftSyntaxMacros ExtensionMacro.swift
[174/182] Compiling SwiftSyntaxMacros Macro+Format.swift
[175/182] Compiling SwiftSyntaxMacros AccessorMacro.swift
[176/182] Compiling SwiftSyntaxMacros AttachedMacro.swift
[177/182] Compiling SwiftSyntaxMacros AbstractSourceLocation.swift
[178/182] Compiling SwiftSyntaxMacros MacroExpansionContext.swift
[179/182] Emitting module SwiftSyntaxMacros
[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 IndentationUtils.swift
[185/190] Compiling SwiftSyntaxMacroExpansion FunctionParameterUtils.swift
[186/190] Emitting module SwiftSyntaxMacroExpansion
[187/190] Compiling SwiftSyntaxMacroExpansion BasicMacroExpansionContext.swift
[188/190] Compiling SwiftSyntaxMacroExpansion MacroSystem.swift
[189/197] Compiling SwiftCompilerPluginMessageHandling Macros.swift
[190/197] Compiling SwiftCompilerPluginMessageHandling Diagnostics.swift
[191/197] Emitting module SwiftCompilerPluginMessageHandling
[192/197] Compiling SwiftCompilerPluginMessageHandling PluginMacroExpansionContext.swift
[193/197] Compiling SwiftCompilerPluginMessageHandling PluginMessages.swift
[194/197] Compiling SwiftCompilerPluginMessageHandling PluginMessageCompatibility.swift
[195/197] Compiling SwiftCompilerPluginMessageHandling CompilerPluginMessageHandler.swift
[196/199] Emitting module SwiftCompilerPlugin
[197/199] Compiling SwiftCompilerPlugin CompilerPlugin.swift
[198/202] Emitting module Macros
[199/202] Compiling Macros UsecaseMacro.swift
[200/202] Compiling Macros Plugin.swift
[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/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 | }
[206/226] Compiling SwiftUseCase Executables.swift
[207/226] Compiling SwiftUseCase ThrowingUseCase+Callbacks.swift
[208/226] Compiling SwiftUseCase AsyncThrowingUseCase.swift
[209/226] Compiling SwiftUseCase AsyncUseCase+Callbacks.swift
[210/226] Compiling SwiftUseCase AnyUseCase.swift
[211/226] Compiling SwiftUseCase AsyncExecutables.swift
[212/226] Compiling SwiftUseCase ThrowingUseCase+Publisher.swift
[213/226] Compiling SwiftUseCase ThrowingUseCase.swift
[214/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 | }
[215/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 | }
[216/226] Compiling SwiftUseCase UseCase.swift
[217/226] Compiling SwiftUseCase UseCaseable.swift
[218/226] Compiling SwiftUseCase UseCase+Callbacks.swift
[219/226] Compiling SwiftUseCase UseCase+Publisher.swift
[220/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 | }
[221/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 | }
[222/226] 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)
[223/226] 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)
[224/226] 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)
[225/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 | }
[226/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 | }
Build complete! (37.78s)
Fetching https://github.com/apple/swift-syntax.git
[1/70924] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git from cache (3.48s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 509.0.0 (6.23s)
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.