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 TargetDependencyChecker, reference 0.1.0 (defb48), with Swift 6.1 for Linux on 29 Apr 2025 00:46:10 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/LuizZak/TargetDependencyChecker.git
Reference: 0.1.0
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
 * tag               0.1.0      -> FETCH_HEAD
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 0.1.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/LuizZak/TargetDependencyChecker.git
https://github.com/LuizZak/TargetDependencyChecker.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "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"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/apple/swift-syntax
[1/70245] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax from cache (6.78s)
Fetching https://github.com/LuizZak/console.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/352] Fetching console
[353/15302] Fetching console, swift-argument-parser
Fetched https://github.com/LuizZak/console.git from cache (0.91s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.92s)
Computing version for https://github.com/LuizZak/console.git
Computed https://github.com/LuizZak/console.git at 0.8.0 (1.44s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.0 (0.43s)
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)
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
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/20] Write sources
[9/20] Write swift-version-24593BA9C3E375BF.txt
[11/32] Emitting module Console
[12/32] Compiling Console Console+Command.swift
[13/32] Emitting module SwiftSyntax509
[14/32] Compiling SwiftSyntax509 Empty.swift
[15/33] Compiling ArgumentParserToolInfo ToolInfo.swift
[16/33] Emitting module ArgumentParserToolInfo
[17/34] Compiling Console LinuxSupport.swift
[19/34] Wrapping AST for ArgumentParserToolInfo for debugging
[20/34] Wrapping AST for SwiftSyntax509 for debugging
[22/117] Compiling Console ConsoleMenuController.swift
[23/117] Compiling Console Console.swift
[24/117] Compiling Console Console+Paging.swift
[25/117] Compiling Console ConsoleColor+Terminal.swift
[26/117] Compiling ArgumentParser ArgumentVisibility.swift
[27/117] Compiling ArgumentParser CompletionKind.swift
[28/117] Compiling ArgumentParser Errors.swift
[29/117] Compiling ArgumentParser Flag.swift
[30/117] Compiling ArgumentParser NameSpecification.swift
[31/117] Compiling ArgumentParser Option.swift
[32/117] Compiling Console ConsoleDataProvider.swift
[33/123] Emitting module ArgumentParser
[35/123] Compiling ArgumentParser BashCompletionsGenerator.swift
[36/123] Compiling ArgumentParser CompletionsGenerator.swift
[37/123] Compiling ArgumentParser FishCompletionsGenerator.swift
[38/123] Compiling ArgumentParser ZshCompletionsGenerator.swift
[39/123] Compiling ArgumentParser Argument.swift
[40/123] Compiling ArgumentParser ArgumentHelp.swift
[41/123] Compiling ArgumentParser ExpressibleByArgument.swift
[42/123] Compiling ArgumentParser ParsableArguments.swift
[43/123] Compiling ArgumentParser ParsableArgumentsValidation.swift
[44/123] Compiling ArgumentParser ParsableCommand.swift
[45/123] Compiling ArgumentParser ArgumentDecoder.swift
[46/123] Compiling ArgumentParser OptionGroup.swift
[47/123] Compiling ArgumentParser AsyncParsableCommand.swift
[48/123] Compiling ArgumentParser CommandConfiguration.swift
[49/123] Compiling ArgumentParser CommandGroup.swift
[50/123] Compiling ArgumentParser EnumerableFlag.swift
[50/123] Wrapping AST for Console for debugging
[52/123] Compiling ArgumentParser Name.swift
[53/123] Compiling ArgumentParser Parsed.swift
[54/123] Compiling ArgumentParser ParsedValues.swift
[55/123] Compiling ArgumentParser ParserError.swift
[56/123] Compiling ArgumentParser SplitArguments.swift
[57/123] Compiling ArgumentParser ArgumentDefinition.swift
[58/123] Compiling ArgumentParser ArgumentSet.swift
[59/123] Compiling ArgumentParser CommandParser.swift
[60/123] Compiling ArgumentParser InputKey.swift
[61/123] Compiling ArgumentParser InputOrigin.swift
[62/123] Compiling ArgumentParser DumpHelpGenerator.swift
[63/123] Compiling ArgumentParser HelpCommand.swift
[64/123] Compiling ArgumentParser HelpGenerator.swift
[65/123] Compiling ArgumentParser MessageInfo.swift
[66/123] Compiling ArgumentParser UsageGenerator.swift
[67/123] Compiling ArgumentParser CollectionExtensions.swift
[68/123] Compiling ArgumentParser Platform.swift
[69/123] Compiling ArgumentParser SequenceExtensions.swift
[70/123] Compiling ArgumentParser StringExtensions.swift
[71/123] Compiling ArgumentParser Tree.swift
[85/130] Wrapping AST for ArgumentParser for debugging
[87/130] Emitting module SwiftSyntax
[113/130] Compiling SwiftSyntax SyntaxDeclNodes.swift
[114/130] Compiling SwiftSyntax SyntaxExprNodes.swift
[115/130] Compiling SwiftSyntax SyntaxNodes.swift
[116/130] Compiling SwiftSyntax SyntaxPatternNodes.swift
[117/130] Compiling SwiftSyntax SyntaxStmtNodes.swift
[118/130] Compiling SwiftSyntax SyntaxTypeNodes.swift
[123/130] Compiling SwiftSyntax RawSyntaxNodes.swift
[124/130] Compiling SwiftSyntax RawSyntaxValidation.swift
[125/131] Wrapping AST for SwiftSyntax for debugging
[127/169] Emitting module SwiftParser
[128/174] Compiling SwiftParser TokenPrecedence.swift
[129/174] Compiling SwiftParser TokenSpec.swift
[130/174] Compiling SwiftParser TokenSpecSet.swift
[131/174] Compiling SwiftParser TopLevel.swift
[132/174] Compiling SwiftParser TriviaParser.swift
[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 StringLiteralRepresentedLiteralValue.swift
[140/174] Compiling SwiftParser StringLiterals.swift
[141/174] Compiling SwiftParser SwiftParserCompatibility.swift
[142/174] Compiling SwiftParser SyntaxUtils.swift
[143/174] Compiling SwiftParser TokenConsumer.swift
[144/174] Compiling SwiftParser Lexer.swift
[145/174] Compiling SwiftParser RegexLiteralLexer.swift
[146/174] Compiling SwiftParser UnicodeScalarExtensions.swift
[147/174] Compiling SwiftParser Lookahead.swift
[148/174] Compiling SwiftParser LoopProgressCondition.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 Parser.swift
[155/174] Compiling SwiftParser Patterns.swift
[156/174] Compiling SwiftParser Recovery.swift
[157/174] Compiling SwiftParser Specifiers.swift
[158/174] Compiling SwiftParser Statements.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 FileImportInspection.swift
[173/200] Compiling TargetDependencyCheckerLib ImportVisit.swift
[174/200] Compiling TargetDependencyCheckerLib ImportedFrameworkDeclaration.swift
[175/200] Compiling TargetDependencyCheckerLib Package.swift
[176/200] Emitting module TargetDependencyCheckerLib
[177/203] Compiling TargetDependencyCheckerLib DiagnosticsOutput.swift
[178/203] Compiling TargetDependencyCheckerLib TerminalDiagnosticsOutput.swift
[179/203] Compiling TargetDependencyCheckerLib XcodeDiagnosticsOutput.swift
[180/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 |                     }
[181/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 |                     }
[182/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 |                     }
[183/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 |                     }
[184/203] Compiling TargetDependencyCheckerLib SourceFile.swift
[185/203] Compiling TargetDependencyCheckerLib SystemFrameworks.swift
[186/203] Compiling TargetDependencyCheckerLib Target.swift
[187/203] Compiling TargetDependencyCheckerLib DefaultDependencyCheckerDelegate.swift
[188/203] Compiling TargetDependencyCheckerLib JSON.swift
[189/203] Compiling TargetDependencyCheckerLib Mutex.swift
[190/203] Compiling TargetDependencyCheckerLib PackageDiscovery.swift
[191/203] Compiling TargetDependencyCheckerLib DirectedGraph.swift
[192/203] Compiling TargetDependencyCheckerLib DiskFileManagerDelegate.swift
[193/203] Compiling TargetDependencyCheckerLib FileManagerDelegate.swift
[194/203] Compiling TargetDependencyCheckerLib GraphViz.swift
[195/203] Compiling TargetDependencyCheckerLib GraphVizEntryPoint.swift
[196/203] Compiling TargetDependencyCheckerLib GraphVizGenerator.swift
[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 main.swift
[203/208] Compiling TargetDependencyChecker GraphVizCommand.swift
[204/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 {
[205/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 {
[206/209] Wrapping AST for TargetDependencyChecker for debugging
[207/209] Write Objects.LinkFileList
[208/209] Linking TargetDependencyChecker
Build complete! (102.85s)
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.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.