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 libpq, reference 2.1.0 (71c771), with Swift 6.0 for macOS (SPM) on 4 Nov 2024 01:05:26 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/PerfectlySoft/Perfect-libpq.git
Reference: 2.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/PerfectlySoft/Perfect-libpq
 * tag               2.1.0      -> FETCH_HEAD
HEAD is now at 71c7713 updated package file
Cloned https://github.com/PerfectlySoft/Perfect-libpq.git
Revision (git rev-parse @):
71c77138037b3cfc97f944efd40af5301c8c7c1f
SUCCESS checkout https://github.com/PerfectlySoft/Perfect-libpq.git at 2.1.0
========================================
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": "perfect-libpq",
      "name": "libpq",
      "url": "https://github.com/PerfectlySoft/Perfect-libpq.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Perfect-libpq",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/PerfectlySoft/Perfect-libpq.git
[1/46] Fetching perfect-libpq
Fetched https://github.com/PerfectlySoft/Perfect-libpq.git from cache (0.59s)
Creating working copy for https://github.com/PerfectlySoft/Perfect-libpq.git
Working copy of https://github.com/PerfectlySoft/Perfect-libpq.git resolved at 2.1.0 (71c7713)
warning: 'perfect-libpq': ignoring declared target(s) 'libpq' in the system package
warning: '.resolve-product-dependencies': dependency 'perfect-libpq' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/PerfectlySoft/Perfect-libpq.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
warning: 'spi-builder-workspace': ignoring declared target(s) 'libpq' in the system package
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