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 main (001bfe), with Swift 6.0 for macOS (SPM) on 5 Nov 2024 00:38:54 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: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/mackoj/PackageGeneratorPlugin
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
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 main
[32768/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.46s)
========================================
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.80s)
Creating working copy for https://github.com/mackoj/PackageGeneratorPlugin.git
Working copy of https://github.com/mackoj/PackageGeneratorPlugin.git resolved at main (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