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 PackageGeneratorPlugin, reference 0.7.2 (001bfe), with Swift 6.0 for macOS (SPM) on 5 Nov 2024 00:39:15 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mackoj/PackageGeneratorPlugin.git
Reference: 0.7.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/mackoj/PackageGeneratorPlugin
 * tag               0.7.2      -> FETCH_HEAD
HEAD is now at 001bfeb update cli version
Cloned https://github.com/mackoj/PackageGeneratorPlugin.git
Revision (git rev-parse @):
001bfeb6fdaedbd4e5e6fbfd6aaa32bf1caddc46
SUCCESS checkout https://github.com/mackoj/PackageGeneratorPlugin.git at 0.7.2
[38557/4073223] Downloading https://github.com/mackoj/PackageGeneratorCLI/releases/download/0.5.2/package-generator-cli-arm64-apple-macosx.artifactbundle.zip
Downloading binary artifact https://github.com/mackoj/PackageGeneratorCLI/releases/download/0.5.2/package-generator-cli-arm64-apple-macosx.artifactbundle.zip
Downloaded https://github.com/mackoj/PackageGeneratorCLI/releases/download/0.5.2/package-generator-cli-arm64-apple-macosx.artifactbundle.zip (1.29s)
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "packagegeneratorplugin",
      "name": "PackageGeneratorPlugin",
      "url": "https://github.com/mackoj/PackageGeneratorPlugin.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/PackageGeneratorPlugin",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/mackoj/PackageGeneratorPlugin.git
[1/365] Fetching packagegeneratorplugin
Fetched https://github.com/mackoj/PackageGeneratorPlugin.git from cache (0.77s)
Creating working copy for https://github.com/mackoj/PackageGeneratorPlugin.git
Working copy of https://github.com/mackoj/PackageGeneratorPlugin.git resolved at 0.7.2 (001bfeb)
Fetching binary artifact https://github.com/mackoj/PackageGeneratorCLI/releases/download/0.5.2/package-generator-cli-arm64-apple-macosx.artifactbundle.zip from cache
Fetched https://github.com/mackoj/PackageGeneratorCLI/releases/download/0.5.2/package-generator-cli-arm64-apple-macosx.artifactbundle.zip from cache (0.24s)
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/mackoj/PackageGeneratorPlugin.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
error: The package does not contain a buildable target.
Add at least one `.target` or `.executableTarget` to your `Package.swift`.
BUILD FAILURE 6.0 macosSpm