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 master (defb48), with Swift 6.2 (beta) for Linux on 21 Jun 2025 17:58:49 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.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.2
Building package at path:  $PWD
https://github.com/LuizZak/TargetDependencyChecker.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/apple/swift-syntax
[1/70924] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax from cache (7.35s)
Fetching https://github.com/LuizZak/console.git
[1/352] Fetching console
Fetching https://github.com/apple/swift-argument-parser.git
Fetched https://github.com/LuizZak/console.git from cache (0.37s)
[1/15380] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.37s)
Computing version for https://github.com/LuizZak/console.git
Computed https://github.com/LuizZak/console.git at 0.8.0 (2.78s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.1 (0.86s)
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)
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.1
[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 Console
[14/33] Wrapping AST for SwiftSyntax509 for debugging
[16/33] Compiling Console LinuxSupport.swift
[17/78] Compiling ArgumentParserToolInfo ToolInfo.swift
[18/78] Emitting module ArgumentParserToolInfo
[19/79] Wrapping AST for ArgumentParserToolInfo for debugging
[21/117] Compiling ArgumentParser Name.swift
[22/117] Compiling ArgumentParser Parsed.swift
[23/117] Compiling ArgumentParser ParsedValues.swift
[24/117] Compiling ArgumentParser ParserError.swift
[25/117] Compiling ArgumentParser SplitArguments.swift
[26/122] Compiling Console ConsoleColor+Terminal.swift
[27/122] Compiling Console ConsoleDataProvider.swift
[28/122] Compiling Console ConsoleMenuController.swift
[29/122] Compiling Console Console.swift
[30/122] Emitting module ArgumentParser
[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] Compiling Console Console+Command.swift
[38/122] Compiling Console Console+Paging.swift
[39/123] Wrapping AST for Console for debugging
[41/123] Compiling ArgumentParser OptionGroup.swift
[42/123] Compiling ArgumentParser AsyncParsableCommand.swift
[43/123] Compiling ArgumentParser CommandConfiguration.swift
[44/123] Compiling ArgumentParser CommandGroup.swift
[45/123] Compiling ArgumentParser EnumerableFlag.swift
[46/123] Compiling ArgumentParser ArgumentVisibility.swift
[47/123] Compiling ArgumentParser CompletionKind.swift
[48/123] Compiling ArgumentParser Errors.swift
[49/123] Compiling ArgumentParser Flag.swift
[50/123] Compiling ArgumentParser NameSpecification.swift
[51/123] Compiling ArgumentParser Option.swift
[52/123] Compiling ArgumentParser DumpHelpGenerator.swift
[53/123] Compiling ArgumentParser HelpCommand.swift
[54/123] Compiling ArgumentParser HelpGenerator.swift
[55/123] Compiling ArgumentParser MessageInfo.swift
[56/123] Compiling ArgumentParser UsageGenerator.swift
[57/123] Compiling ArgumentParser CollectionExtensions.swift
[58/123] Compiling ArgumentParser Platform.swift
[59/123] Compiling ArgumentParser SequenceExtensions.swift
[60/123] Compiling ArgumentParser StringExtensions.swift
[61/123] Compiling ArgumentParser Tree.swift
[62/123] Compiling ArgumentParser ExpressibleByArgument.swift
[63/123] Compiling ArgumentParser ParsableArguments.swift
[64/123] Compiling ArgumentParser ParsableArgumentsValidation.swift
[65/123] Compiling ArgumentParser ParsableCommand.swift
[66/123] Compiling ArgumentParser ArgumentDecoder.swift
[67/123] Compiling ArgumentParser ArgumentDefinition.swift
[68/123] Compiling ArgumentParser ArgumentSet.swift
[69/123] Compiling ArgumentParser CommandParser.swift
[70/123] Compiling ArgumentParser InputKey.swift
[71/123] Compiling ArgumentParser InputOrigin.swift
[72/124] Wrapping AST for ArgumentParser for debugging
[74/124] 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] Compiling SwiftParser Modifiers.swift
[128/169] Compiling SwiftParser Names.swift
[129/169] Compiling SwiftParser Nominals.swift
[130/169] Compiling SwiftParser Parameters.swift
[131/169] Compiling SwiftParser ParseSourceFile.swift
[132/174] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[133/174] Compiling SwiftParser StringLiterals.swift
[134/174] Compiling SwiftParser SwiftParserCompatibility.swift
[135/174] Compiling SwiftParser SyntaxUtils.swift
[136/174] Compiling SwiftParser TokenConsumer.swift
[137/174] Compiling SwiftParser TokenPrecedence.swift
[138/174] Compiling SwiftParser TokenSpec.swift
[139/174] Compiling SwiftParser TokenSpecSet.swift
[140/174] Compiling SwiftParser TopLevel.swift
[141/174] Compiling SwiftParser TriviaParser.swift
[142/174] Compiling SwiftParser Lexer.swift
[143/174] Compiling SwiftParser RegexLiteralLexer.swift
[144/174] Compiling SwiftParser UnicodeScalarExtensions.swift
[145/174] Compiling SwiftParser Lookahead.swift
[146/174] Compiling SwiftParser LoopProgressCondition.swift
[147/174] Emitting module SwiftParser
[148/174] Compiling SwiftParser Attributes.swift
[149/174] Compiling SwiftParser Availability.swift
[150/174] Compiling SwiftParser CharacterInfo.swift
[151/174] Compiling SwiftParser CollectionNodes+Parsable.swift
[152/174] Compiling SwiftParser Declarations.swift
[153/174] Compiling SwiftParser Directives.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 SourceFile.swift
[173/200] Compiling TargetDependencyCheckerLib SystemFrameworks.swift
[174/200] Compiling TargetDependencyCheckerLib Target.swift
[175/200] Compiling TargetDependencyCheckerLib DefaultDependencyCheckerDelegate.swift
[176/203] Compiling TargetDependencyCheckerLib DiagnosticsOutput.swift
[177/203] Compiling TargetDependencyCheckerLib TerminalDiagnosticsOutput.swift
[178/203] Compiling TargetDependencyCheckerLib XcodeDiagnosticsOutput.swift
[179/203] Compiling TargetDependencyCheckerLib JSON.swift
[180/203] Compiling TargetDependencyCheckerLib Mutex.swift
[181/203] Compiling TargetDependencyCheckerLib PackageDiscovery.swift
[182/203] Compiling TargetDependencyCheckerLib GraphViz.swift
[183/203] Compiling TargetDependencyCheckerLib GraphVizEntryPoint.swift
[184/203] Compiling TargetDependencyCheckerLib GraphVizGenerator.swift
[185/203] Compiling TargetDependencyCheckerLib DirectedGraph.swift
[186/203] Compiling TargetDependencyCheckerLib DiskFileManagerDelegate.swift
[187/203] Compiling TargetDependencyCheckerLib FileManagerDelegate.swift
[188/203] Emitting module TargetDependencyCheckerLib
[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:134:29: warning: mutation of captured var 'inspectionTargets' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
139 |                         }
140 |                     }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[194/203] Compiling TargetDependencyCheckerLib DependencyCheckerDelegate.swift
/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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
139 |                         }
140 |                     }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[195/203] Compiling TargetDependencyCheckerLib DependencyCheckerEntryPoint.swift
/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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
139 |                         }
140 |                     }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[196/203] Compiling TargetDependencyCheckerLib DependencyGraph.swift
/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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
139 |                         }
140 |                     }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[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! (201.23s)
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.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Done.