Build Information
Failed to build PerfectPostgreSQL with Swift 5.9 for macOS (SPM).
Build Command
Build command unavailable
Build Log
========================================
RunAll
========================================
Builder version: 4.27.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/perfectlysoft/perfect-postgresql.git
Reference: master
Initialized empty Git repository in /Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/perfectlysoft/perfect-postgresql
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 8aa4e39 Merge pull request #24 from PerfectlySoft/swift-5.1
Cloned https://github.com/perfectlysoft/perfect-postgresql.git
Revision (git rev-parse @):
8aa4e3951c672646d6da5c9bcdd66eb2e5952808
SUCCESS checkout https://github.com/perfectlysoft/perfect-postgresql.git at master
Fetching https://github.com/PerfectlySoft/Perfect-libpq.git from cache
Fetching https://github.com/PerfectlySoft/Perfect-CRUD.git from cache
Fetched https://github.com/PerfectlySoft/Perfect-libpq.git (0.35s)
Fetched https://github.com/PerfectlySoft/Perfect-CRUD.git (0.35s)
Computing version for https://github.com/PerfectlySoft/Perfect-CRUD.git
Computed https://github.com/PerfectlySoft/Perfect-CRUD.git at 2.0.0 (0.55s)
Computing version for https://github.com/PerfectlySoft/Perfect-libpq.git
Computed https://github.com/PerfectlySoft/Perfect-libpq.git at 2.1.0 (0.47s)
Creating working copy for https://github.com/PerfectlySoft/Perfect-CRUD.git
Working copy of https://github.com/PerfectlySoft/Perfect-CRUD.git resolved at 2.0.0
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
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "perfect-postgresql",
"name": "PerfectPostgreSQL",
"url": "https://github.com/perfectlysoft/perfect-postgresql.git",
"version": "unspecified",
"path": "/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/perfect-postgresql",
"dependencies": [
{
"identity": "perfect-crud",
"name": "PerfectCRUD",
"url": "https://github.com/PerfectlySoft/Perfect-CRUD.git",
"version": "2.0.0",
"path": "/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Perfect-CRUD",
"dependencies": [
]
},
{
"identity": "perfect-libpq",
"name": "libpq",
"url": "https://github.com/PerfectlySoft/Perfect-libpq.git",
"version": "2.1.0",
"path": "/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Perfect-libpq",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/perfectlysoft/perfect-postgresql.git
[1/1494] Fetching perfect-postgresql
Fetched https://github.com/perfectlysoft/perfect-postgresql.git (0.57s)
Fetching https://github.com/PerfectlySoft/Perfect-libpq.git from cache
Fetching https://github.com/PerfectlySoft/Perfect-CRUD.git from cache
Fetched https://github.com/PerfectlySoft/Perfect-libpq.git (0.19s)
Fetched https://github.com/PerfectlySoft/Perfect-CRUD.git (0.19s)
Computing version for https://github.com/PerfectlySoft/Perfect-CRUD.git
Computed https://github.com/PerfectlySoft/Perfect-CRUD.git at 2.0.0 (0.04s)
Computing version for https://github.com/PerfectlySoft/Perfect-libpq.git
Computed https://github.com/PerfectlySoft/Perfect-libpq.git at 2.1.0 (0.02s)
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
Creating working copy for https://github.com/perfectlysoft/perfect-postgresql.git
Working copy of https://github.com/perfectlysoft/perfect-postgresql.git resolved at master
Creating working copy for https://github.com/PerfectlySoft/Perfect-CRUD.git
Working copy of https://github.com/PerfectlySoft/Perfect-CRUD.git resolved at 2.0.0
warning: 'perfect-libpq': ignoring declared target(s) 'libpq' in the system package
warning: '.resolve-product-dependencies': dependency 'perfect-postgresql' is not used by any target
Found 2 product dependencies
- PerfectCRUD
- libpq
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.9
Building package at path: $PWD/checkout
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.0.0.app xcrun swift build --arch arm64
Building for debugging...
[1/24] Emitting module PerfectCRUD
[2/27] Compiling PerfectCRUD Delete.swift
[3/27] Compiling PerfectCRUD Comparison.swift
[4/27] Compiling PerfectCRUD ComparisonInts.swift
[5/27] Compiling PerfectCRUD Table.swift
[6/27] Compiling PerfectCRUD Update.swift
[7/27] Compiling PerfectCRUD Where.swift
[8/27] Compiling PerfectCRUD Coding.swift
[9/27] Compiling PerfectCRUD CodingBindings.swift
[10/27] Compiling PerfectCRUD CodingJoins.swift
[11/27] Compiling PerfectCRUD CodingKeyPaths.swift
[12/27] Compiling PerfectCRUD CodingNames.swift
[13/27] Compiling PerfectCRUD CodingRows.swift
[14/27] Compiling PerfectCRUD Create.swift
[15/27] Compiling PerfectCRUD Database.swift
[16/27] Compiling PerfectCRUD Logging.swift
[17/27] Compiling PerfectCRUD PerfectCRUD.swift
[18/27] Compiling PerfectCRUD Select.swift
[19/27] Compiling PerfectCRUD Logical.swift
[20/27] Compiling PerfectCRUD Insert.swift
[21/27] Compiling PerfectCRUD Join.swift
[22/27] Compiling PerfectCRUD In.swift
[23/27] Compiling PerfectCRUD InInts.swift
[24/27] Compiling PerfectCRUD Like.swift
[25/27] Compiling PerfectCRUD Equality.swift
[26/27] Compiling PerfectCRUD EqualityInts.swift
[27/27] Compiling PerfectCRUD Expression.swift
[28/32] Compiling PerfectPostgreSQL PostgresCRUDUpdate.swift
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/Perfect-libpq/module.modulemap:2:12: error: header '/usr/local/include/libpq-fe.h' not found
header "/usr/local/include/libpq-fe.h"
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PerfectPostgreSQL/PerfectPostgreSQL.swift:21:8: error: could not build Objective-C module 'libpq'
import libpq
^
[29/32] Compiling PerfectPostgreSQL PerfectPostgreSQL.swift
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/Perfect-libpq/module.modulemap:2:12: error: header '/usr/local/include/libpq-fe.h' not found
header "/usr/local/include/libpq-fe.h"
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PerfectPostgreSQL/PerfectPostgreSQL.swift:21:8: error: could not build Objective-C module 'libpq'
import libpq
^
[30/32] Compiling PerfectPostgreSQL PostgresCRUDInsert.swift
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/Perfect-libpq/module.modulemap:2:12: error: header '/usr/local/include/libpq-fe.h' not found
header "/usr/local/include/libpq-fe.h"
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PerfectPostgreSQL/PerfectPostgreSQL.swift:21:8: error: could not build Objective-C module 'libpq'
import libpq
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[31/32] Emitting module PerfectPostgreSQL
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/Perfect-libpq/module.modulemap:2:12: error: header '/usr/local/include/libpq-fe.h' not found
header "/usr/local/include/libpq-fe.h"
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PerfectPostgreSQL/PerfectPostgreSQL.swift:21:8: error: could not build Objective-C module 'libpq'
import libpq
^
[32/32] Compiling PerfectPostgreSQL PostgresCRUD.swift
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/Perfect-libpq/module.modulemap:2:12: error: header '/usr/local/include/libpq-fe.h' not found
header "/usr/local/include/libpq-fe.h"
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PerfectPostgreSQL/PerfectPostgreSQL.swift:21:8: error: could not build Objective-C module 'libpq'
import libpq
^
error: fatalError
warning: 'perfect-libpq': ignoring declared target(s) 'libpq' in the system package
warning: 'spi-builder-workspace': dependency 'perfect-libpq' is not used by any target
warning: you may be able to install libpq using your system-packager:
brew install postgres
[0/1] Planning build
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/5] Emitting module PerfectPostgreSQL
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/Perfect-libpq/module.modulemap:2:12: error: header '/usr/local/include/libpq-fe.h' not found
header "/usr/local/include/libpq-fe.h"
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PerfectPostgreSQL/PerfectPostgreSQL.swift:21:8: error: could not build Objective-C module 'libpq'
import libpq
^
[2/5] Compiling PerfectPostgreSQL PostgresCRUDUpdate.swift
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/Perfect-libpq/module.modulemap:2:12: error: header '/usr/local/include/libpq-fe.h' not found
header "/usr/local/include/libpq-fe.h"
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PerfectPostgreSQL/PerfectPostgreSQL.swift:21:8: error: could not build Objective-C module 'libpq'
import libpq
^
[3/5] Compiling PerfectPostgreSQL PostgresCRUD.swift
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/Perfect-libpq/module.modulemap:2:12: error: header '/usr/local/include/libpq-fe.h' not found
header "/usr/local/include/libpq-fe.h"
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PerfectPostgreSQL/PerfectPostgreSQL.swift:21:8: error: could not build Objective-C module 'libpq'
import libpq
^
[4/5] Compiling PerfectPostgreSQL PerfectPostgreSQL.swift
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/Perfect-libpq/module.modulemap:2:12: error: header '/usr/local/include/libpq-fe.h' not found
header "/usr/local/include/libpq-fe.h"
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PerfectPostgreSQL/PerfectPostgreSQL.swift:21:8: error: could not build Objective-C module 'libpq'
import libpq
^
[5/5] Compiling PerfectPostgreSQL PostgresCRUDInsert.swift
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/Perfect-libpq/module.modulemap:2:12: error: header '/usr/local/include/libpq-fe.h' not found
header "/usr/local/include/libpq-fe.h"
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PerfectPostgreSQL/PerfectPostgreSQL.swift:21:8: error: could not build Objective-C module 'libpq'
import libpq
^
error: fatalError
warning: 'perfect-libpq': ignoring declared target(s) 'libpq' in the system package
warning: 'spi-builder-workspace': dependency 'perfect-libpq' is not used by any target
warning: you may be able to install libpq using your system-packager:
brew install postgres
BUILD FAILURE 5.9 macosSpm