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

Failed to build TargetDependencyChecker, reference master (defb48), with Swift 6.0 for watchOS using Xcode 16.0 on 13 Oct 2024 20:03:35 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.0.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme TargetDependencyChecker -destination generic/platform=watchOS OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.55.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/LuizZak/TargetDependencyChecker.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
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:         watchOS
Swift version:             6.0
Building package at path:  $PWD
https://github.com/LuizZak/TargetDependencyChecker.git
Command line invocation:
    /Applications/Xcode-16.0.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
User defaults from command line:
    IDEClonedSourcePackagesDirPathOverride = /Users/admin/builder/spi-builder-workspace/.dependencies
    IDEPackageSupportUseBuiltinSCM = YES
Resolve Package Graph
Fetching from https://github.com/apple/swift-syntax
Fetching from https://github.com/apple/swift-argument-parser.git
Fetching from https://github.com/LuizZak/console.git
Creating working copy of package ‘swift-argument-parser’
Checking out 1.0.2 of package ‘swift-argument-parser’
Creating working copy of package ‘swift-syntax’
Checking out 509.1.0 (43c802f) of package ‘swift-syntax’
Creating working copy of package ‘console’
Checking out 0.8.0 of package ‘console’
Resolve Package Graph
Resolved source packages:
  swift-syntax: https://github.com/apple/swift-syntax @ 509.1.0 (43c802f)
  Console: https://github.com/LuizZak/console.git @ 0.8.0
  swift-argument-parser: https://github.com/apple/swift-argument-parser.git @ 1.0.2
  TargetDependencyChecker: /Users/admin/builder/spi-builder-workspace
resolved source packages: swift-syntax, Console, swift-argument-parser, TargetDependencyChecker
{
  "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" : "/Users/admin/builder/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"
}
{
  "workspace" : {
    "name" : "spi-builder-workspace",
    "schemes" : [
      "TargetDependencyChecker"
    ]
  }
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.0.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme TargetDependencyChecker -destination generic/platform=watchOS OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete
Command line invocation:
    /Applications/Xcode-16.0.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme TargetDependencyChecker -destination generic/platform=watchOS "OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete"
User defaults from command line:
    IDEClonedSourcePackagesDirPathOverride = /Users/admin/builder/spi-builder-workspace/.dependencies
    IDEDerivedDataPathOverride = /Users/admin/builder/spi-builder-workspace/.derivedData
    IDEPackageSupportUseBuiltinSCM = YES
Build settings from command line:
    OTHER_SWIFT_FLAGS = -stats-output-dir .stats -strict-concurrency=complete
Resolve Package Graph
Resolve Package Graph
Resolved source packages:
  swift-syntax: https://github.com/apple/swift-syntax @ 509.1.0 (43c802f)
  swift-argument-parser: https://github.com/apple/swift-argument-parser.git @ 1.0.2
  TargetDependencyChecker: /Users/admin/builder/spi-builder-workspace
  Console: https://github.com/LuizZak/console.git @ 0.8.0
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (12 targets)
    Target 'TargetDependencyChecker' in project 'TargetDependencyChecker'
        ➜ Explicit dependency on target 'TargetDependencyCheckerLib' in project 'TargetDependencyChecker'
        ➜ Explicit dependency on target 'SwiftSyntax' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftParser' in project 'swift-syntax'
        ➜ Explicit dependency on target 'Console' in project 'Console'
        ➜ Explicit dependency on target 'ArgumentParser' in project 'swift-argument-parser'
    Target 'ArgumentParser' in project 'swift-argument-parser'
        ➜ Explicit dependency on target 'ArgumentParser' in project 'swift-argument-parser'
        ➜ Explicit dependency on target 'ArgumentParserToolInfo' in project 'swift-argument-parser'
    Target 'ArgumentParser' in project 'swift-argument-parser'
        ➜ Explicit dependency on target 'ArgumentParserToolInfo' in project 'swift-argument-parser'
    Target 'ArgumentParserToolInfo' in project 'swift-argument-parser' (no dependencies)
    Target 'TargetDependencyCheckerLib' in project 'TargetDependencyChecker'
        ➜ Explicit dependency on target 'SwiftSyntax' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftParser' in project 'swift-syntax'
        ➜ Explicit dependency on target 'Console' in project 'Console'
    Target 'Console' in project 'Console'
        ➜ Explicit dependency on target 'Console' in project 'Console'
    Target 'Console' in project 'Console' (no dependencies)
    Target 'SwiftParser' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftParser' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax509' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax' in project 'swift-syntax'
    Target 'SwiftParser' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax509' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax' in project 'swift-syntax'
    Target 'SwiftSyntax' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax509' in project 'swift-syntax'
    Target 'SwiftSyntax' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax509' in project 'swift-syntax'
    Target 'SwiftSyntax509' in project 'swift-syntax' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ExecuteExternalTool /Applications/Xcode-16.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc --version
ExecuteExternalTool /Applications/Xcode-16.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-16.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.0.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-16.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
ReadFileContents /Applications/Xcode-16.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/share/docc/features.json
Build description signature: 06e0e69d0214dcb8a6c6946f9f443352
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/06e0e69d0214dcb8a6c6946f9f443352.xcbuilddata
error: The package product 'SwiftSyntax' requires minimum platform version 6.0 for the watchOS platform, but this target supports 5.0 (in target 'TargetDependencyCheckerLib' from project 'TargetDependencyChecker')
error: The package product 'SwiftParser' requires minimum platform version 6.0 for the watchOS platform, but this target supports 5.0 (in target 'TargetDependencyCheckerLib' from project 'TargetDependencyChecker')
error: The package product 'SwiftSyntax' requires minimum platform version 6.0 for the watchOS platform, but this target supports 5.0 (in target 'TargetDependencyChecker' from project 'TargetDependencyChecker')
error: The package product 'SwiftParser' requires minimum platform version 6.0 for the watchOS platform, but this target supports 5.0 (in target 'TargetDependencyChecker' from project 'TargetDependencyChecker')
** BUILD FAILED **
The following build commands failed:
	Building workspace spi-builder-workspace with scheme TargetDependencyChecker
(1 failure)
Command line invocation:
    /Applications/Xcode-16.0.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme TargetDependencyChecker -destination generic/platform=watchOS "OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete"
User defaults from command line:
    IDEClonedSourcePackagesDirPathOverride = /Users/admin/builder/spi-builder-workspace/.dependencies
    IDEDerivedDataPathOverride = /Users/admin/builder/spi-builder-workspace/.derivedData
    IDEPackageSupportUseBuiltinSCM = YES
Build settings from command line:
    OTHER_SWIFT_FLAGS = -stats-output-dir .stats -strict-concurrency=complete
Resolve Package Graph
Resolved source packages:
  swift-syntax: https://github.com/apple/swift-syntax @ 509.1.0 (43c802f)
  TargetDependencyChecker: /Users/admin/builder/spi-builder-workspace
  swift-argument-parser: https://github.com/apple/swift-argument-parser.git @ 1.0.2
  Console: https://github.com/LuizZak/console.git @ 0.8.0
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (12 targets)
    Target 'TargetDependencyChecker' in project 'TargetDependencyChecker'
        ➜ Explicit dependency on target 'TargetDependencyCheckerLib' in project 'TargetDependencyChecker'
        ➜ Explicit dependency on target 'SwiftSyntax' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftParser' in project 'swift-syntax'
        ➜ Explicit dependency on target 'Console' in project 'Console'
        ➜ Explicit dependency on target 'ArgumentParser' in project 'swift-argument-parser'
    Target 'ArgumentParser' in project 'swift-argument-parser'
        ➜ Explicit dependency on target 'ArgumentParser' in project 'swift-argument-parser'
        ➜ Explicit dependency on target 'ArgumentParserToolInfo' in project 'swift-argument-parser'
    Target 'ArgumentParser' in project 'swift-argument-parser'
        ➜ Explicit dependency on target 'ArgumentParserToolInfo' in project 'swift-argument-parser'
    Target 'ArgumentParserToolInfo' in project 'swift-argument-parser' (no dependencies)
    Target 'TargetDependencyCheckerLib' in project 'TargetDependencyChecker'
        ➜ Explicit dependency on target 'SwiftSyntax' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftParser' in project 'swift-syntax'
        ➜ Explicit dependency on target 'Console' in project 'Console'
    Target 'Console' in project 'Console'
        ➜ Explicit dependency on target 'Console' in project 'Console'
    Target 'Console' in project 'Console' (no dependencies)
    Target 'SwiftParser' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftParser' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax509' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax' in project 'swift-syntax'
    Target 'SwiftParser' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax509' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax' in project 'swift-syntax'
    Target 'SwiftSyntax' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax509' in project 'swift-syntax'
    Target 'SwiftSyntax' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax509' in project 'swift-syntax'
    Target 'SwiftSyntax509' in project 'swift-syntax' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ExecuteExternalTool /Applications/Xcode-16.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc --version
ExecuteExternalTool /Applications/Xcode-16.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-16.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.0.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-16.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
ReadFileContents /Applications/Xcode-16.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/share/docc/features.json
Build description signature: 06e0e69d0214dcb8a6c6946f9f443352
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/06e0e69d0214dcb8a6c6946f9f443352.xcbuilddata
error: The package product 'SwiftSyntax' requires minimum platform version 6.0 for the watchOS platform, but this target supports 5.0 (in target 'TargetDependencyCheckerLib' from project 'TargetDependencyChecker')
error: The package product 'SwiftParser' requires minimum platform version 6.0 for the watchOS platform, but this target supports 5.0 (in target 'TargetDependencyCheckerLib' from project 'TargetDependencyChecker')
error: The package product 'SwiftSyntax' requires minimum platform version 6.0 for the watchOS platform, but this target supports 5.0 (in target 'TargetDependencyChecker' from project 'TargetDependencyChecker')
error: The package product 'SwiftParser' requires minimum platform version 6.0 for the watchOS platform, but this target supports 5.0 (in target 'TargetDependencyChecker' from project 'TargetDependencyChecker')
** BUILD FAILED **
The following build commands failed:
	Building workspace spi-builder-workspace with scheme TargetDependencyChecker
(1 failure)
BUILD FAILURE 6.0 watchOS