Build Information
Failed to build libpq with Swift 5.9 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.2.0-Beta.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.28.5
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/PerfectlySoft/Perfect-libpq.git
Reference: master
Initialized empty Git repository in /Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/PerfectlySoft/Perfect-libpq
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
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 master
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-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/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Perfect-libpq",
"dependencies": [
]
}
]
}
Fetching https://github.com/PerfectlySoft/Perfect-libpq.git from cache
Fetched https://github.com/PerfectlySoft/Perfect-libpq.git (0.25s)
Creating working copy for https://github.com/PerfectlySoft/Perfect-libpq.git
Working copy of https://github.com/PerfectlySoft/Perfect-libpq.git resolved at master
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: 5.9
Building package at path: $PWD/checkout
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0-Beta.app xcrun swift build --arch arm64
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`.
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 5.9 macosSpm