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 TargetDependencyChecker, reference master (defb48), with Swift 6.0 for Linux on 5 Nov 2024 07:51:36 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/LuizZak/TargetDependencyChecker.git
Reference: master
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/LuizZak/TargetDependencyChecker
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at defb489 Updating to Swift 5.9
Cloned https://github.com/LuizZak/TargetDependencyChecker.git
Revision (git rev-parse @):
defb48944765d0ab81f0e0a430b68f6cd15bed4a
SUCCESS checkout https://github.com/LuizZak/TargetDependencyChecker.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/LuizZak/TargetDependencyChecker.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/apple/swift-syntax
[1/66408] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax from cache (5.01s)
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/LuizZak/console.git
[1/352] Fetching console
Fetched https://github.com/LuizZak/console.git from cache (0.35s)
[1/12353] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.23s)
Computing version for https://github.com/LuizZak/console.git
Computed https://github.com/LuizZak/console.git at 0.8.0 (0.91s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.0 (1.06s)
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.5.0
Creating working copy for https://github.com/LuizZak/console.git
Working copy of https://github.com/LuizZak/console.git resolved at 0.8.0
Creating working copy for https://github.com/apple/swift-syntax
Working copy of https://github.com/apple/swift-syntax resolved at 509.1.0 (43c802f)
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/20] Write sources
[9/20] Write swift-version-24593BA9C3E375BF.txt
[11/32] Compiling SwiftSyntax509 Empty.swift
[12/32] Emitting module SwiftSyntax509
[14/33] Emitting module ArgumentParserToolInfo
[15/33] Compiling ArgumentParserToolInfo ToolInfo.swift
[15/34] Wrapping AST for SwiftSyntax509 for debugging
[17/34] Compiling Console LinuxSupport.swift
[18/79] Wrapping AST for ArgumentParserToolInfo for debugging
[20/117] Compiling ArgumentParser Name.swift
[21/117] Compiling ArgumentParser Parsed.swift
[22/117] Compiling ArgumentParser ParsedValues.swift
[23/117] Compiling ArgumentParser ParserError.swift
[24/117] Compiling ArgumentParser SplitArguments.swift
[25/122] Compiling ArgumentParser ArgumentVisibility.swift
[26/122] Compiling ArgumentParser CompletionKind.swift
[27/122] Compiling ArgumentParser Errors.swift
[28/122] Compiling ArgumentParser Flag.swift
[29/122] Compiling ArgumentParser NameSpecification.swift
[30/122] Compiling ArgumentParser Option.swift
[31/122] Compiling ArgumentParser BashCompletionsGenerator.swift
[32/122] Compiling ArgumentParser CompletionsGenerator.swift
[33/122] Compiling ArgumentParser FishCompletionsGenerator.swift
[34/122] Compiling ArgumentParser ZshCompletionsGenerator.swift
[35/122] Compiling ArgumentParser Argument.swift
[36/122] Compiling ArgumentParser ArgumentHelp.swift
[37/122] Emitting module ArgumentParser
[38/122] Compiling ArgumentParser OptionGroup.swift
[39/122] Compiling ArgumentParser AsyncParsableCommand.swift
[40/122] Compiling ArgumentParser CommandConfiguration.swift
[41/122] Compiling ArgumentParser CommandGroup.swift
[42/122] Compiling ArgumentParser EnumerableFlag.swift
[43/122] Compiling ArgumentParser ExpressibleByArgument.swift
[44/122] Compiling ArgumentParser ParsableArguments.swift
[45/122] Compiling ArgumentParser ParsableArgumentsValidation.swift
[46/122] Compiling ArgumentParser ParsableCommand.swift
[47/122] Compiling ArgumentParser ArgumentDecoder.swift
[48/122] Compiling Console ConsoleMenuController.swift
[49/122] Compiling Console Console.swift
[50/122] Compiling Console ConsoleColor+Terminal.swift
[51/122] Compiling Console Console+Paging.swift
[52/122] Compiling Console Console+Command.swift
[53/122] Emitting module Console
[54/122] Compiling Console ConsoleDataProvider.swift
[55/123] Compiling ArgumentParser CollectionExtensions.swift
[56/123] Compiling ArgumentParser Platform.swift
[57/123] Compiling ArgumentParser SequenceExtensions.swift
[58/123] Compiling ArgumentParser StringExtensions.swift
[59/123] Compiling ArgumentParser Tree.swift
[60/123] Wrapping AST for Console for debugging
[68/129] Compiling ArgumentParser DumpHelpGenerator.swift
[69/129] Compiling ArgumentParser HelpCommand.swift
[70/129] Compiling ArgumentParser HelpGenerator.swift
[71/129] Compiling ArgumentParser MessageInfo.swift
[72/129] Compiling ArgumentParser UsageGenerator.swift
[73/129] Compiling ArgumentParser ArgumentDefinition.swift
[74/129] Compiling ArgumentParser ArgumentSet.swift
[75/129] Compiling ArgumentParser CommandParser.swift
[76/129] Compiling ArgumentParser InputKey.swift
[77/129] Compiling ArgumentParser InputOrigin.swift
[84/130] Wrapping AST for ArgumentParser for debugging
[86/130] Emitting module SwiftSyntax
[91/130] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[92/130] Compiling SwiftSyntax SyntaxBaseNodes.swift
[93/130] Compiling SwiftSyntax SyntaxDeclNodes.swift
[94/130] Compiling SwiftSyntax SyntaxExprNodes.swift
[95/130] Compiling SwiftSyntax SyntaxNodes.swift
[96/130] Compiling SwiftSyntax SyntaxPatternNodes.swift
[97/130] Compiling SwiftSyntax SyntaxStmtNodes.swift
[98/130] Compiling SwiftSyntax SyntaxTypeNodes.swift
[125/131] Wrapping AST for SwiftSyntax for debugging
[127/169] Compiling SwiftParser Lexer.swift
[128/169] Compiling SwiftParser RegexLiteralLexer.swift
[129/169] Compiling SwiftParser UnicodeScalarExtensions.swift
[130/169] Compiling SwiftParser Lookahead.swift
[131/169] Compiling SwiftParser LoopProgressCondition.swift
[132/174] Emitting module SwiftParser
[133/174] Compiling SwiftParser Attributes.swift
[134/174] Compiling SwiftParser Availability.swift
[135/174] Compiling SwiftParser CharacterInfo.swift
[136/174] Compiling SwiftParser CollectionNodes+Parsable.swift
[137/174] Compiling SwiftParser Declarations.swift
[138/174] Compiling SwiftParser Directives.swift
[139/174] Compiling SwiftParser TokenPrecedence.swift
[140/174] Compiling SwiftParser TokenSpec.swift
[141/174] Compiling SwiftParser TokenSpecSet.swift
[142/174] Compiling SwiftParser TopLevel.swift
[143/174] Compiling SwiftParser TriviaParser.swift
[144/174] Compiling SwiftParser Parser.swift
[145/174] Compiling SwiftParser Patterns.swift
[146/174] Compiling SwiftParser Recovery.swift
[147/174] Compiling SwiftParser Specifiers.swift
[148/174] Compiling SwiftParser Statements.swift
[149/174] Compiling SwiftParser Modifiers.swift
[150/174] Compiling SwiftParser Names.swift
[151/174] Compiling SwiftParser Nominals.swift
[152/174] Compiling SwiftParser Parameters.swift
[153/174] Compiling SwiftParser ParseSourceFile.swift
[154/174] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[155/174] Compiling SwiftParser StringLiterals.swift
[156/174] Compiling SwiftParser SwiftParserCompatibility.swift
[157/174] Compiling SwiftParser SyntaxUtils.swift
[158/174] Compiling SwiftParser TokenConsumer.swift
[159/174] Compiling SwiftParser ExperimentalFeatures.swift
[160/174] Compiling SwiftParser Expressions.swift
[161/174] Compiling SwiftParser IncrementalParseTransition.swift
[162/174] Compiling SwiftParser Cursor.swift
[163/174] Compiling SwiftParser Lexeme.swift
[164/174] Compiling SwiftParser LexemeSequence.swift
[165/174] Compiling SwiftParser Types.swift
[166/174] Compiling SwiftParser IsLexerClassified.swift
[167/174] Compiling SwiftParser LayoutNodes+Parsable.swift
[168/174] Compiling SwiftParser Parser+TokenSpecSet.swift
[169/174] Compiling SwiftParser TokenSpecStaticMembers.swift
[170/175] Wrapping AST for SwiftParser for debugging
[172/200] Compiling TargetDependencyCheckerLib JSON.swift
[173/200] Compiling TargetDependencyCheckerLib Mutex.swift
[174/200] Compiling TargetDependencyCheckerLib PackageDiscovery.swift
[175/203] Emitting module TargetDependencyCheckerLib
[176/203] Compiling TargetDependencyCheckerLib GraphViz.swift
[177/203] Compiling TargetDependencyCheckerLib GraphVizEntryPoint.swift
[178/203] Compiling TargetDependencyCheckerLib GraphVizGenerator.swift
[179/203] Compiling TargetDependencyCheckerLib DirectedGraph.swift
[180/203] Compiling TargetDependencyCheckerLib DiskFileManagerDelegate.swift
[181/203] Compiling TargetDependencyCheckerLib FileManagerDelegate.swift
[182/203] Compiling TargetDependencyCheckerLib DiagnosticsOutput.swift
[183/203] Compiling TargetDependencyCheckerLib TerminalDiagnosticsOutput.swift
[184/203] Compiling TargetDependencyCheckerLib XcodeDiagnosticsOutput.swift
[185/203] Compiling TargetDependencyCheckerLib SourceFile.swift
[186/203] Compiling TargetDependencyCheckerLib SystemFrameworks.swift
[187/203] Compiling TargetDependencyCheckerLib Target.swift
[188/203] Compiling TargetDependencyCheckerLib DefaultDependencyCheckerDelegate.swift
[189/203] Compiling TargetDependencyCheckerLib FileImportInspection.swift
[190/203] Compiling TargetDependencyCheckerLib ImportVisit.swift
[191/203] Compiling TargetDependencyCheckerLib ImportedFrameworkDeclaration.swift
[192/203] Compiling TargetDependencyCheckerLib Package.swift
[193/203] Compiling TargetDependencyCheckerLib DependencyChecker.swift
/host/spi-builder-workspace/Sources/TargetDependencyCheckerLib/DependencyChecker.swift:121:64: warning: capture of 'fileManagerDelegate' with non-sendable type 'any FileManagerDelegate' in a `@Sendable` closure; this is an error in the Swift 6 language mode
119 |                     let fileManager =
120 |                         SourceFileManager(sourceFile: file,
121 |                                           fileManagerDelegate: fileManagerDelegate)
    |                                                                `- warning: capture of 'fileManagerDelegate' with non-sendable type 'any FileManagerDelegate' in a `@Sendable` closure; this is an error in the Swift 6 language mode
122 |
123 |                     do {
/host/spi-builder-workspace/Sources/TargetDependencyCheckerLib/FileManagerDelegate.swift:5:10: note: protocol 'FileManagerDelegate' does not conform to the 'Sendable' protocol
 3 | // TODO: Refactor this name because it conflicts with Foundation's own
 4 | // `FileManagerDelegate` type.
 5 | protocol FileManagerDelegate {
   |          `- note: protocol 'FileManagerDelegate' does not conform to the 'Sendable' protocol
 6 |     /// Returns all files in a given directory recursively, optionaly specifying
 7 |     /// include and exclude patterns to fine-grain the results.
/host/spi-builder-workspace/Sources/TargetDependencyCheckerLib/DependencyChecker.swift:133:25: warning: capture of 'inspectionTargetsMutex' with non-sendable type 'Mutex' in a `@Sendable` closure; this is an error in the Swift 6 language mode
131 |                             )
132 |
133 |                         inspectionTargetsMutex.locking {
    |                         `- warning: capture of 'inspectionTargetsMutex' with non-sendable type 'Mutex' in a `@Sendable` closure; this is an error in the Swift 6 language mode
134 |                             inspectionTargets.append(inspection)
135 |                         }
/host/spi-builder-workspace/Sources/TargetDependencyCheckerLib/Mutex.swift:4:20: note: class 'Mutex' does not conform to the 'Sendable' protocol
 2 |
 3 | /// A simple, non-recursive mutex lock.
 4 | public final class Mutex {
   |                    `- note: class 'Mutex' does not conform to the 'Sendable' protocol
 5 |
 6 |     private var _lock: NSLock
/host/spi-builder-workspace/Sources/TargetDependencyCheckerLib/DependencyChecker.swift:134:29: warning: capture of 'inspectionTargets' with non-sendable type '[FileImportInspection]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
132 |
133 |                         inspectionTargetsMutex.locking {
134 |                             inspectionTargets.append(inspection)
    |                             `- warning: capture of 'inspectionTargets' with non-sendable type '[FileImportInspection]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
135 |                         }
136 |                     } catch let e {
/host/spi-builder-workspace/Sources/TargetDependencyCheckerLib/Data/FileImportInspection.swift:1:8: note: consider making struct 'FileImportInspection' conform to the 'Sendable' protocol
1 | struct FileImportInspection {
  |        `- note: consider making struct 'FileImportInspection' conform to the 'Sendable' protocol
2 |     var file: SourceFile
3 |     var target: Target
/host/spi-builder-workspace/Sources/TargetDependencyCheckerLib/DependencyChecker.swift:137:25: warning: capture of 'errorMutex' with non-sendable type 'Mutex' in a `@Sendable` closure; this is an error in the Swift 6 language mode
135 |                         }
136 |                     } catch let e {
137 |                         errorMutex.locking {
    |                         `- warning: capture of 'errorMutex' with non-sendable type 'Mutex' in a `@Sendable` closure; this is an error in the Swift 6 language mode
138 |                             error = e
139 |                         }
/host/spi-builder-workspace/Sources/TargetDependencyCheckerLib/Mutex.swift:4:20: note: class 'Mutex' does not conform to the 'Sendable' protocol
 2 |
 3 | /// A simple, non-recursive mutex lock.
 4 | public final class Mutex {
   |                    `- note: class 'Mutex' does not conform to the 'Sendable' protocol
 5 |
 6 |     private var _lock: NSLock
/host/spi-builder-workspace/Sources/TargetDependencyCheckerLib/DependencyChecker.swift:134:29: warning: capture of 'inspectionTargets' with non-sendable type '[FileImportInspection]' in an isolated closure; this is an error in the Swift 6 language mode
132 |
133 |                         inspectionTargetsMutex.locking {
134 |                             inspectionTargets.append(inspection)
    |                             `- warning: capture of 'inspectionTargets' with non-sendable type '[FileImportInspection]' in an isolated closure; this is an error in the Swift 6 language mode
135 |                         }
136 |                     } catch let e {
/host/spi-builder-workspace/Sources/TargetDependencyCheckerLib/Data/FileImportInspection.swift:1:8: note: consider making struct 'FileImportInspection' conform to the 'Sendable' protocol
1 | struct FileImportInspection {
  |        `- note: consider making struct 'FileImportInspection' conform to the 'Sendable' protocol
2 |     var file: SourceFile
3 |     var target: Target
/host/spi-builder-workspace/Sources/TargetDependencyCheckerLib/DependencyChecker.swift:134:29: warning: mutation of captured var 'inspectionTargets' in concurrently-executing code; this is an error in the Swift 6 language mode
132 |
133 |                         inspectionTargetsMutex.locking {
134 |                             inspectionTargets.append(inspection)
    |                             `- warning: mutation of captured var 'inspectionTargets' in concurrently-executing code; this is an error in the Swift 6 language mode
135 |                         }
136 |                     } catch let e {
/host/spi-builder-workspace/Sources/TargetDependencyCheckerLib/DependencyChecker.swift:138:29: warning: mutation of captured var 'error' in concurrently-executing code; this is an error in the Swift 6 language mode
136 |                     } catch let e {
137 |                         errorMutex.locking {
138 |                             error = e
    |                             `- warning: mutation of captured var 'error' in concurrently-executing code; this is an error in the Swift 6 language mode
139 |                         }
140 |                     }
[194/203] Compiling TargetDependencyCheckerLib DependencyCheckerDelegate.swift
/host/spi-builder-workspace/Sources/TargetDependencyCheckerLib/DependencyChecker.swift:121:64: warning: capture of 'fileManagerDelegate' with non-sendable type 'any FileManagerDelegate' in a `@Sendable` closure; this is an error in the Swift 6 language mode
119 |                     let fileManager =
120 |                         SourceFileManager(sourceFile: file,
121 |                                           fileManagerDelegate: fileManagerDelegate)
    |                                                                `- warning: capture of 'fileManagerDelegate' with non-sendable type 'any FileManagerDelegate' in a `@Sendable` closure; this is an error in the Swift 6 language mode
122 |
123 |                     do {
/host/spi-builder-workspace/Sources/TargetDependencyCheckerLib/FileManagerDelegate.swift:5:10: note: protocol 'FileManagerDelegate' does not conform to the 'Sendable' protocol
 3 | // TODO: Refactor this name because it conflicts with Foundation's own
 4 | // `FileManagerDelegate` type.
 5 | protocol FileManagerDelegate {
   |          `- note: protocol 'FileManagerDelegate' does not conform to the 'Sendable' protocol
 6 |     /// Returns all files in a given directory recursively, optionaly specifying
 7 |     /// include and exclude patterns to fine-grain the results.
/host/spi-builder-workspace/Sources/TargetDependencyCheckerLib/DependencyChecker.swift:133:25: warning: capture of 'inspectionTargetsMutex' with non-sendable type 'Mutex' in a `@Sendable` closure; this is an error in the Swift 6 language mode
131 |                             )
132 |
133 |                         inspectionTargetsMutex.locking {
    |                         `- warning: capture of 'inspectionTargetsMutex' with non-sendable type 'Mutex' in a `@Sendable` closure; this is an error in the Swift 6 language mode
134 |                             inspectionTargets.append(inspection)
135 |                         }
/host/spi-builder-workspace/Sources/TargetDependencyCheckerLib/Mutex.swift:4:20: note: class 'Mutex' does not conform to the 'Sendable' protocol
 2 |
 3 | /// A simple, non-recursive mutex lock.
 4 | public final class Mutex {
   |                    `- note: class 'Mutex' does not conform to the 'Sendable' protocol
 5 |
 6 |     private var _lock: NSLock
/host/spi-builder-workspace/Sources/TargetDependencyCheckerLib/DependencyChecker.swift:134:29: warning: capture of 'inspectionTargets' with non-sendable type '[FileImportInspection]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
132 |
133 |                         inspectionTargetsMutex.locking {
134 |                             inspectionTargets.append(inspection)
    |                             `- warning: capture of 'inspectionTargets' with non-sendable type '[FileImportInspection]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
135 |                         }
136 |                     } catch let e {
/host/spi-builder-workspace/Sources/TargetDependencyCheckerLib/Data/FileImportInspection.swift:1:8: note: consider making struct 'FileImportInspection' conform to the 'Sendable' protocol
1 | struct FileImportInspection {
  |        `- note: consider making struct 'FileImportInspection' conform to the 'Sendable' protocol
2 |     var file: SourceFile
3 |     var target: Target
/host/spi-builder-workspace/Sources/TargetDependencyCheckerLib/DependencyChecker.swift:137:25: warning: capture of 'errorMutex' with non-sendable type 'Mutex' in a `@Sendable` closure; this is an error in the Swift 6 language mode
135 |                         }
136 |                     } catch let e {
137 |                         errorMutex.locking {
    |                         `- warning: capture of 'errorMutex' with non-sendable type 'Mutex' in a `@Sendable` closure; this is an error in the Swift 6 language mode
138 |                             error = e
139 |                         }
/host/spi-builder-workspace/Sources/TargetDependencyCheckerLib/Mutex.swift:4:20: note: class 'Mutex' does not conform to the 'Sendable' protocol
 2 |
 3 | /// A simple, non-recursive mutex lock.
 4 | public final class Mutex {
   |                    `- note: class 'Mutex' does not conform to the 'Sendable' protocol
 5 |
 6 |     private var _lock: NSLock
/host/spi-builder-workspace/Sources/TargetDependencyCheckerLib/DependencyChecker.swift:134:29: warning: capture of 'inspectionTargets' with non-sendable type '[FileImportInspection]' in an isolated closure; this is an error in the Swift 6 language mode
132 |
133 |                         inspectionTargetsMutex.locking {
134 |                             inspectionTargets.append(inspection)
    |                             `- warning: capture of 'inspectionTargets' with non-sendable type '[FileImportInspection]' in an isolated closure; this is an error in the Swift 6 language mode
135 |                         }
136 |                     } catch let e {
/host/spi-builder-workspace/Sources/TargetDependencyCheckerLib/Data/FileImportInspection.swift:1:8: note: consider making struct 'FileImportInspection' conform to the 'Sendable' protocol
1 | struct FileImportInspection {
  |        `- note: consider making struct 'FileImportInspection' conform to the 'Sendable' protocol
2 |     var file: SourceFile
3 |     var target: Target
/host/spi-builder-workspace/Sources/TargetDependencyCheckerLib/DependencyChecker.swift:134:29: warning: mutation of captured var 'inspectionTargets' in concurrently-executing code; this is an error in the Swift 6 language mode
132 |
133 |                         inspectionTargetsMutex.locking {
134 |                             inspectionTargets.append(inspection)
    |                             `- warning: mutation of captured var 'inspectionTargets' in concurrently-executing code; this is an error in the Swift 6 language mode
135 |                         }
136 |                     } catch let e {
/host/spi-builder-workspace/Sources/TargetDependencyCheckerLib/DependencyChecker.swift:138:29: warning: mutation of captured var 'error' in concurrently-executing code; this is an error in the Swift 6 language mode
136 |                     } catch let e {
137 |                         errorMutex.locking {
138 |                             error = e
    |                             `- warning: mutation of captured var 'error' in concurrently-executing code; this is an error in the Swift 6 language mode
139 |                         }
140 |                     }
[195/203] Compiling TargetDependencyCheckerLib DependencyCheckerEntryPoint.swift
/host/spi-builder-workspace/Sources/TargetDependencyCheckerLib/DependencyChecker.swift:121:64: warning: capture of 'fileManagerDelegate' with non-sendable type 'any FileManagerDelegate' in a `@Sendable` closure; this is an error in the Swift 6 language mode
119 |                     let fileManager =
120 |                         SourceFileManager(sourceFile: file,
121 |                                           fileManagerDelegate: fileManagerDelegate)
    |                                                                `- warning: capture of 'fileManagerDelegate' with non-sendable type 'any FileManagerDelegate' in a `@Sendable` closure; this is an error in the Swift 6 language mode
122 |
123 |                     do {
/host/spi-builder-workspace/Sources/TargetDependencyCheckerLib/FileManagerDelegate.swift:5:10: note: protocol 'FileManagerDelegate' does not conform to the 'Sendable' protocol
 3 | // TODO: Refactor this name because it conflicts with Foundation's own
 4 | // `FileManagerDelegate` type.
 5 | protocol FileManagerDelegate {
   |          `- note: protocol 'FileManagerDelegate' does not conform to the 'Sendable' protocol
 6 |     /// Returns all files in a given directory recursively, optionaly specifying
 7 |     /// include and exclude patterns to fine-grain the results.
/host/spi-builder-workspace/Sources/TargetDependencyCheckerLib/DependencyChecker.swift:133:25: warning: capture of 'inspectionTargetsMutex' with non-sendable type 'Mutex' in a `@Sendable` closure; this is an error in the Swift 6 language mode
131 |                             )
132 |
133 |                         inspectionTargetsMutex.locking {
    |                         `- warning: capture of 'inspectionTargetsMutex' with non-sendable type 'Mutex' in a `@Sendable` closure; this is an error in the Swift 6 language mode
134 |                             inspectionTargets.append(inspection)
135 |                         }
/host/spi-builder-workspace/Sources/TargetDependencyCheckerLib/Mutex.swift:4:20: note: class 'Mutex' does not conform to the 'Sendable' protocol
 2 |
 3 | /// A simple, non-recursive mutex lock.
 4 | public final class Mutex {
   |                    `- note: class 'Mutex' does not conform to the 'Sendable' protocol
 5 |
 6 |     private var _lock: NSLock
/host/spi-builder-workspace/Sources/TargetDependencyCheckerLib/DependencyChecker.swift:134:29: warning: capture of 'inspectionTargets' with non-sendable type '[FileImportInspection]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
132 |
133 |                         inspectionTargetsMutex.locking {
134 |                             inspectionTargets.append(inspection)
    |                             `- warning: capture of 'inspectionTargets' with non-sendable type '[FileImportInspection]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
135 |                         }
136 |                     } catch let e {
/host/spi-builder-workspace/Sources/TargetDependencyCheckerLib/Data/FileImportInspection.swift:1:8: note: consider making struct 'FileImportInspection' conform to the 'Sendable' protocol
1 | struct FileImportInspection {
  |        `- note: consider making struct 'FileImportInspection' conform to the 'Sendable' protocol
2 |     var file: SourceFile
3 |     var target: Target
/host/spi-builder-workspace/Sources/TargetDependencyCheckerLib/DependencyChecker.swift:137:25: warning: capture of 'errorMutex' with non-sendable type 'Mutex' in a `@Sendable` closure; this is an error in the Swift 6 language mode
135 |                         }
136 |                     } catch let e {
137 |                         errorMutex.locking {
    |                         `- warning: capture of 'errorMutex' with non-sendable type 'Mutex' in a `@Sendable` closure; this is an error in the Swift 6 language mode
138 |                             error = e
139 |                         }
/host/spi-builder-workspace/Sources/TargetDependencyCheckerLib/Mutex.swift:4:20: note: class 'Mutex' does not conform to the 'Sendable' protocol
 2 |
 3 | /// A simple, non-recursive mutex lock.
 4 | public final class Mutex {
   |                    `- note: class 'Mutex' does not conform to the 'Sendable' protocol
 5 |
 6 |     private var _lock: NSLock
/host/spi-builder-workspace/Sources/TargetDependencyCheckerLib/DependencyChecker.swift:134:29: warning: capture of 'inspectionTargets' with non-sendable type '[FileImportInspection]' in an isolated closure; this is an error in the Swift 6 language mode
132 |
133 |                         inspectionTargetsMutex.locking {
134 |                             inspectionTargets.append(inspection)
    |                             `- warning: capture of 'inspectionTargets' with non-sendable type '[FileImportInspection]' in an isolated closure; this is an error in the Swift 6 language mode
135 |                         }
136 |                     } catch let e {
/host/spi-builder-workspace/Sources/TargetDependencyCheckerLib/Data/FileImportInspection.swift:1:8: note: consider making struct 'FileImportInspection' conform to the 'Sendable' protocol
1 | struct FileImportInspection {
  |        `- note: consider making struct 'FileImportInspection' conform to the 'Sendable' protocol
2 |     var file: SourceFile
3 |     var target: Target
/host/spi-builder-workspace/Sources/TargetDependencyCheckerLib/DependencyChecker.swift:134:29: warning: mutation of captured var 'inspectionTargets' in concurrently-executing code; this is an error in the Swift 6 language mode
132 |
133 |                         inspectionTargetsMutex.locking {
134 |                             inspectionTargets.append(inspection)
    |                             `- warning: mutation of captured var 'inspectionTargets' in concurrently-executing code; this is an error in the Swift 6 language mode
135 |                         }
136 |                     } catch let e {
/host/spi-builder-workspace/Sources/TargetDependencyCheckerLib/DependencyChecker.swift:138:29: warning: mutation of captured var 'error' in concurrently-executing code; this is an error in the Swift 6 language mode
136 |                     } catch let e {
137 |                         errorMutex.locking {
138 |                             error = e
    |                             `- warning: mutation of captured var 'error' in concurrently-executing code; this is an error in the Swift 6 language mode
139 |                         }
140 |                     }
[196/203] Compiling TargetDependencyCheckerLib DependencyGraph.swift
/host/spi-builder-workspace/Sources/TargetDependencyCheckerLib/DependencyChecker.swift:121:64: warning: capture of 'fileManagerDelegate' with non-sendable type 'any FileManagerDelegate' in a `@Sendable` closure; this is an error in the Swift 6 language mode
119 |                     let fileManager =
120 |                         SourceFileManager(sourceFile: file,
121 |                                           fileManagerDelegate: fileManagerDelegate)
    |                                                                `- warning: capture of 'fileManagerDelegate' with non-sendable type 'any FileManagerDelegate' in a `@Sendable` closure; this is an error in the Swift 6 language mode
122 |
123 |                     do {
/host/spi-builder-workspace/Sources/TargetDependencyCheckerLib/FileManagerDelegate.swift:5:10: note: protocol 'FileManagerDelegate' does not conform to the 'Sendable' protocol
 3 | // TODO: Refactor this name because it conflicts with Foundation's own
 4 | // `FileManagerDelegate` type.
 5 | protocol FileManagerDelegate {
   |          `- note: protocol 'FileManagerDelegate' does not conform to the 'Sendable' protocol
 6 |     /// Returns all files in a given directory recursively, optionaly specifying
 7 |     /// include and exclude patterns to fine-grain the results.
/host/spi-builder-workspace/Sources/TargetDependencyCheckerLib/DependencyChecker.swift:133:25: warning: capture of 'inspectionTargetsMutex' with non-sendable type 'Mutex' in a `@Sendable` closure; this is an error in the Swift 6 language mode
131 |                             )
132 |
133 |                         inspectionTargetsMutex.locking {
    |                         `- warning: capture of 'inspectionTargetsMutex' with non-sendable type 'Mutex' in a `@Sendable` closure; this is an error in the Swift 6 language mode
134 |                             inspectionTargets.append(inspection)
135 |                         }
/host/spi-builder-workspace/Sources/TargetDependencyCheckerLib/Mutex.swift:4:20: note: class 'Mutex' does not conform to the 'Sendable' protocol
 2 |
 3 | /// A simple, non-recursive mutex lock.
 4 | public final class Mutex {
   |                    `- note: class 'Mutex' does not conform to the 'Sendable' protocol
 5 |
 6 |     private var _lock: NSLock
/host/spi-builder-workspace/Sources/TargetDependencyCheckerLib/DependencyChecker.swift:134:29: warning: capture of 'inspectionTargets' with non-sendable type '[FileImportInspection]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
132 |
133 |                         inspectionTargetsMutex.locking {
134 |                             inspectionTargets.append(inspection)
    |                             `- warning: capture of 'inspectionTargets' with non-sendable type '[FileImportInspection]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
135 |                         }
136 |                     } catch let e {
/host/spi-builder-workspace/Sources/TargetDependencyCheckerLib/Data/FileImportInspection.swift:1:8: note: consider making struct 'FileImportInspection' conform to the 'Sendable' protocol
1 | struct FileImportInspection {
  |        `- note: consider making struct 'FileImportInspection' conform to the 'Sendable' protocol
2 |     var file: SourceFile
3 |     var target: Target
/host/spi-builder-workspace/Sources/TargetDependencyCheckerLib/DependencyChecker.swift:137:25: warning: capture of 'errorMutex' with non-sendable type 'Mutex' in a `@Sendable` closure; this is an error in the Swift 6 language mode
135 |                         }
136 |                     } catch let e {
137 |                         errorMutex.locking {
    |                         `- warning: capture of 'errorMutex' with non-sendable type 'Mutex' in a `@Sendable` closure; this is an error in the Swift 6 language mode
138 |                             error = e
139 |                         }
/host/spi-builder-workspace/Sources/TargetDependencyCheckerLib/Mutex.swift:4:20: note: class 'Mutex' does not conform to the 'Sendable' protocol
 2 |
 3 | /// A simple, non-recursive mutex lock.
 4 | public final class Mutex {
   |                    `- note: class 'Mutex' does not conform to the 'Sendable' protocol
 5 |
 6 |     private var _lock: NSLock
/host/spi-builder-workspace/Sources/TargetDependencyCheckerLib/DependencyChecker.swift:134:29: warning: capture of 'inspectionTargets' with non-sendable type '[FileImportInspection]' in an isolated closure; this is an error in the Swift 6 language mode
132 |
133 |                         inspectionTargetsMutex.locking {
134 |                             inspectionTargets.append(inspection)
    |                             `- warning: capture of 'inspectionTargets' with non-sendable type '[FileImportInspection]' in an isolated closure; this is an error in the Swift 6 language mode
135 |                         }
136 |                     } catch let e {
/host/spi-builder-workspace/Sources/TargetDependencyCheckerLib/Data/FileImportInspection.swift:1:8: note: consider making struct 'FileImportInspection' conform to the 'Sendable' protocol
1 | struct FileImportInspection {
  |        `- note: consider making struct 'FileImportInspection' conform to the 'Sendable' protocol
2 |     var file: SourceFile
3 |     var target: Target
/host/spi-builder-workspace/Sources/TargetDependencyCheckerLib/DependencyChecker.swift:134:29: warning: mutation of captured var 'inspectionTargets' in concurrently-executing code; this is an error in the Swift 6 language mode
132 |
133 |                         inspectionTargetsMutex.locking {
134 |                             inspectionTargets.append(inspection)
    |                             `- warning: mutation of captured var 'inspectionTargets' in concurrently-executing code; this is an error in the Swift 6 language mode
135 |                         }
136 |                     } catch let e {
/host/spi-builder-workspace/Sources/TargetDependencyCheckerLib/DependencyChecker.swift:138:29: warning: mutation of captured var 'error' in concurrently-executing code; this is an error in the Swift 6 language mode
136 |                     } catch let e {
137 |                         errorMutex.locking {
138 |                             error = e
    |                             `- warning: mutation of captured var 'error' in concurrently-executing code; this is an error in the Swift 6 language mode
139 |                         }
140 |                     }
[197/203] Compiling TargetDependencyCheckerLib PackageManager.swift
[198/203] Compiling TargetDependencyCheckerLib PathUtils.swift
[199/203] Compiling TargetDependencyCheckerLib SourceFileManager.swift
[200/204] Wrapping AST for TargetDependencyCheckerLib for debugging
[202/208] Compiling TargetDependencyChecker CheckCommand.swift
/host/spi-builder-workspace/Sources/TargetDependencyChecker/CheckCommand.swift:81:1: warning: extension declares a conformance of imported type 'OutputType' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'TargetDependencyCheckerLib' introduce this conformance in the future
79 | }
80 |
81 | extension DependencyCheckerEntryPoint.OutputType: ExpressibleByArgument {
   | |- warning: extension declares a conformance of imported type 'OutputType' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'TargetDependencyCheckerLib' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
82 |     public init?(argument: String) {
83 |         guard let option = Self(rawValue: argument) else {
[203/208] Emitting module TargetDependencyChecker
/host/spi-builder-workspace/Sources/TargetDependencyChecker/CheckCommand.swift:81:1: warning: extension declares a conformance of imported type 'OutputType' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'TargetDependencyCheckerLib' introduce this conformance in the future
79 | }
80 |
81 | extension DependencyCheckerEntryPoint.OutputType: ExpressibleByArgument {
   | |- warning: extension declares a conformance of imported type 'OutputType' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'TargetDependencyCheckerLib' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
82 |     public init?(argument: String) {
83 |         guard let option = Self(rawValue: argument) else {
[204/208] Compiling TargetDependencyChecker GraphVizCommand.swift
[205/208] Compiling TargetDependencyChecker main.swift
[206/209] Wrapping AST for TargetDependencyChecker for debugging
[207/209] Write Objects.LinkFileList
[208/209] Linking TargetDependencyChecker
Build complete! (158.22s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-syntax",
      "requirement" : {
        "revision" : [
          "509.1.0"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-syntax"
    },
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser.git"
    },
    {
      "identity" : "console",
      "requirement" : {
        "exact" : [
          "0.8.0"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/LuizZak/console.git"
    }
  ],
  "manifest_display_name" : "TargetDependencyChecker",
  "name" : "TargetDependencyChecker",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "TargetDependencyChecker",
      "targets" : [
        "TargetDependencyChecker"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "TargetDependencyCheckerTests",
      "module_type" : "SwiftTarget",
      "name" : "TargetDependencyCheckerTests",
      "path" : "Tests/TargetDependencyCheckerTests",
      "sources" : [
        "TargetDependencyCheckerTests.swift"
      ],
      "target_dependencies" : [
        "TargetDependencyChecker"
      ],
      "type" : "test"
    },
    {
      "c99name" : "TargetDependencyCheckerLibTests",
      "module_type" : "SwiftTarget",
      "name" : "TargetDependencyCheckerLibTests",
      "path" : "Tests/TargetDependencyCheckerLibTests",
      "product_dependencies" : [
        "SwiftSyntax",
        "SwiftParser"
      ],
      "sources" : [
        "DefaultDependencyCheckerDelegateTests.swift",
        "DependencyGraphTests.swift",
        "GraphVizGeneratorTests.swift",
        "MutexTests.swift",
        "PackageBuilder.swift"
      ],
      "target_dependencies" : [
        "TargetDependencyCheckerLib"
      ],
      "type" : "test"
    },
    {
      "c99name" : "TargetDependencyCheckerLib",
      "module_type" : "SwiftTarget",
      "name" : "TargetDependencyCheckerLib",
      "path" : "Sources/TargetDependencyCheckerLib",
      "product_dependencies" : [
        "SwiftSyntax",
        "SwiftParser",
        "Console"
      ],
      "product_memberships" : [
        "TargetDependencyChecker"
      ],
      "sources" : [
        "Data/FileImportInspection.swift",
        "Data/ImportVisit.swift",
        "Data/ImportedFrameworkDeclaration.swift",
        "Data/Package.swift",
        "Data/SourceFile.swift",
        "Data/SystemFrameworks.swift",
        "Data/Target.swift",
        "DefaultDependencyCheckerDelegate.swift",
        "DependencyChecker.swift",
        "DependencyCheckerDelegate.swift",
        "DependencyCheckerEntryPoint.swift",
        "DependencyGraph.swift",
        "DiagnosticsOutput/DiagnosticsOutput.swift",
        "DiagnosticsOutput/TerminalDiagnosticsOutput.swift",
        "DiagnosticsOutput/XcodeDiagnosticsOutput.swift",
        "DirectedGraph.swift",
        "DiskFileManagerDelegate.swift",
        "FileManagerDelegate.swift",
        "GraphViz/GraphViz.swift",
        "GraphVizEntryPoint.swift",
        "GraphVizGenerator.swift",
        "JSON.swift",
        "Mutex.swift",
        "PackageDiscovery.swift",
        "PackageManager.swift",
        "PathUtils.swift",
        "SourceFileManager.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "TargetDependencyChecker",
      "module_type" : "SwiftTarget",
      "name" : "TargetDependencyChecker",
      "path" : "Sources/TargetDependencyChecker",
      "product_dependencies" : [
        "ArgumentParser"
      ],
      "product_memberships" : [
        "TargetDependencyChecker"
      ],
      "sources" : [
        "CheckCommand.swift",
        "GraphVizCommand.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "TargetDependencyCheckerLib"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.5"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.