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 PackageGeneratorCLI, reference main (b9ec12), with Swift 6.0 for iOS using Xcode 16.0 on 5 Nov 2024 00:56:57 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mackoj/PackageGeneratorCLI.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/mackoj/PackageGeneratorCLI
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at b9ec120 make it code from docc folder
Cloned https://github.com/mackoj/PackageGeneratorCLI.git
Revision (git rev-parse @):
b9ec1206333e0995f38e947ee06707d5407893e6
SUCCESS checkout https://github.com/mackoj/PackageGeneratorCLI.git at main
========================================
Build
========================================
Selected platform:         iOS
Swift version:             6.0
Building package at path:  $PWD
https://github.com/mackoj/PackageGeneratorCLI.git
Command line invocation:
    /Applications/Xcode-16.1.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-argument-parser.git
Fetching from https://github.com/JohnSundell/Files.git
Fetching from https://github.com/apple/swift-syntax
Creating working copy of package ‘Files’
Checking out 4.2.0 of package ‘Files’
Creating working copy of package ‘swift-argument-parser’
Checking out 1.5.0 of package ‘swift-argument-parser’
Creating working copy of package ‘swift-syntax’
Checking out 510.0.3 of package ‘swift-syntax’
Resolve Package Graph
Resolved source packages:
  swift-syntax: https://github.com/apple/swift-syntax @ 510.0.3
  swift-argument-parser: https://github.com/apple/swift-argument-parser.git @ 1.5.0
  PackageGeneratorCLI: /Users/admin/builder/spi-builder-workspace
  Files: https://github.com/JohnSundell/Files.git @ 4.2.0
resolved source packages: swift-syntax, swift-argument-parser, PackageGeneratorCLI, Files
{
  "dependencies" : [
    {
      "identity" : "files",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.2.0",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/JohnSundell/Files.git"
    },
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.4",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser.git"
    },
    {
      "identity" : "swift-syntax",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "509.0.0",
            "upper_bound" : "511.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-syntax"
    }
  ],
  "manifest_display_name" : "PackageGeneratorCLI",
  "name" : "PackageGeneratorCLI",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "package-generator-cli",
      "targets" : [
        "PackageGeneratorCLI"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "PackageGeneratorModels",
      "targets" : [
        "PackageGeneratorModels"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "PackageGeneratorModels",
      "module_type" : "SwiftTarget",
      "name" : "PackageGeneratorModels",
      "path" : "Sources/PackageGeneratorModels",
      "product_memberships" : [
        "package-generator-cli",
        "PackageGeneratorModels"
      ],
      "sources" : [
        "PackageInformation.swift",
        "ParsedPackage.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "PackageGeneratorCLI",
      "module_type" : "SwiftTarget",
      "name" : "PackageGeneratorCLI",
      "path" : "Sources/PackageGeneratorCLI",
      "product_dependencies" : [
        "Files",
        "SwiftParser",
        "SwiftSyntax",
        "ArgumentParser"
      ],
      "product_memberships" : [
        "package-generator-cli"
      ],
      "sources" : [
        "FileURL+ExpressibleByArgument.swift",
        "FileURLCodable.swift",
        "GetImportVisitor.swift",
        "cli.swift"
      ],
      "target_dependencies" : [
        "PackageGeneratorModels"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.7"
}
{
  "workspace" : {
    "name" : "spi-builder-workspace",
    "schemes" : [
      "package-generator-cli",
      "PackageGeneratorCLI-Package",
      "PackageGeneratorModels"
    ]
  }
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme PackageGeneratorCLI-Package -destination generic/platform=iOS OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete
Command line invocation:
    /Applications/Xcode-16.1.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 PackageGeneratorCLI-Package -destination generic/platform=iOS "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 @ 510.0.3
  PackageGeneratorCLI: /Users/admin/builder/spi-builder-workspace
  swift-argument-parser: https://github.com/apple/swift-argument-parser.git @ 1.5.0
  Files: https://github.com/JohnSundell/Files.git @ 4.2.0
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (14 targets)
    Target 'package-generator-cli' in project 'PackageGeneratorCLI'
        ➜ Explicit dependency on target 'PackageGeneratorModels' in project 'PackageGeneratorCLI'
        ➜ Explicit dependency on target 'Files' in project 'Files'
        ➜ Explicit dependency on target 'SwiftParser' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax' in project 'swift-syntax'
        ➜ 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 'SwiftSyntax' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax509' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax510' in project 'swift-syntax'
    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 'SwiftSyntax510' 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 'SwiftSyntax510' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax' in project 'swift-syntax'
    Target 'SwiftSyntax' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax509' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax510' in project 'swift-syntax'
    Target 'SwiftSyntax510' in project 'swift-syntax' (no dependencies)
    Target 'SwiftSyntax509' in project 'swift-syntax' (no dependencies)
    Target 'Files' in project 'Files'
        ➜ Explicit dependency on target 'Files' in project 'Files'
    Target 'Files' in project 'Files' (no dependencies)
    Target 'PackageGeneratorModels' in project 'PackageGeneratorCLI'
        ➜ Explicit dependency on target 'PackageGeneratorModels' in project 'PackageGeneratorCLI'
    Target 'PackageGeneratorModels' in project 'PackageGeneratorCLI' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ExecuteExternalTool /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc --version
ExecuteExternalTool /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.1.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
ReadFileContents /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/share/docc/features.json
Build description signature: 61b375428ed1057074d9515a106dab35
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/61b375428ed1057074d9515a106dab35.xcbuilddata
error: The package product 'SwiftParser' requires minimum platform version 13.0 for the iOS platform, but this target supports 12.0 (in target 'package-generator-cli' from project 'PackageGeneratorCLI')
error: The package product 'SwiftSyntax' requires minimum platform version 13.0 for the iOS platform, but this target supports 12.0 (in target 'package-generator-cli' from project 'PackageGeneratorCLI')
** BUILD FAILED **
The following build commands failed:
	Building workspace spi-builder-workspace with scheme PackageGeneratorCLI-Package
(1 failure)
Command line invocation:
    /Applications/Xcode-16.1.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 PackageGeneratorCLI-Package -destination generic/platform=iOS "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 @ 510.0.3
  PackageGeneratorCLI: /Users/admin/builder/spi-builder-workspace
  Files: https://github.com/JohnSundell/Files.git @ 4.2.0
  swift-argument-parser: https://github.com/apple/swift-argument-parser.git @ 1.5.0
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (14 targets)
    Target 'package-generator-cli' in project 'PackageGeneratorCLI'
        ➜ Explicit dependency on target 'PackageGeneratorModels' in project 'PackageGeneratorCLI'
        ➜ Explicit dependency on target 'Files' in project 'Files'
        ➜ Explicit dependency on target 'SwiftParser' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax' in project 'swift-syntax'
        ➜ 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 'SwiftSyntax' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax509' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax510' in project 'swift-syntax'
    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 'SwiftSyntax510' 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 'SwiftSyntax510' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax' in project 'swift-syntax'
    Target 'SwiftSyntax' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax509' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax510' in project 'swift-syntax'
    Target 'SwiftSyntax510' in project 'swift-syntax' (no dependencies)
    Target 'SwiftSyntax509' in project 'swift-syntax' (no dependencies)
    Target 'Files' in project 'Files'
        ➜ Explicit dependency on target 'Files' in project 'Files'
    Target 'Files' in project 'Files' (no dependencies)
    Target 'PackageGeneratorModels' in project 'PackageGeneratorCLI'
        ➜ Explicit dependency on target 'PackageGeneratorModels' in project 'PackageGeneratorCLI'
    Target 'PackageGeneratorModels' in project 'PackageGeneratorCLI' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
error: The package product 'SwiftParser' requires minimum platform version 13.0 for the iOS platform, but this target supports 12.0 (in target 'package-generator-cli' from project 'PackageGeneratorCLI')
error: The package product 'SwiftSyntax' requires minimum platform version 13.0 for the iOS platform, but this target supports 12.0 (in target 'package-generator-cli' from project 'PackageGeneratorCLI')
** BUILD FAILED **
The following build commands failed:
	Building workspace spi-builder-workspace with scheme PackageGeneratorCLI-Package
(1 failure)
BUILD FAILURE 6.0 iOS