Build Information
Failed to build PerfectPostgreSQL with Swift 5.10 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/perfectlysoft/perfect-postgresql.git
Reference: master
Initialized empty Git repository in /Users/builder/builds/UKfvDsi8u/2/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
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.10
Building package at path: $workDir
https://github.com/perfectlysoft/perfect-postgresql.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version--423B1241ED78D482.txt
[4/27] Compiling PerfectCRUD Logging.swift
[5/27] Compiling PerfectCRUD PerfectCRUD.swift
[6/27] Compiling PerfectCRUD Select.swift
[7/27] Compiling PerfectCRUD Logical.swift
[8/27] Compiling PerfectCRUD Insert.swift
[9/27] Compiling PerfectCRUD Join.swift
[10/30] Emitting module PerfectCRUD
[11/30] Compiling PerfectCRUD Coding.swift
[12/30] Compiling PerfectCRUD CodingBindings.swift
[13/30] Compiling PerfectCRUD CodingJoins.swift
[14/30] Compiling PerfectCRUD CodingKeyPaths.swift
[15/30] Compiling PerfectCRUD Delete.swift
[16/30] Compiling PerfectCRUD Comparison.swift
[17/30] Compiling PerfectCRUD ComparisonInts.swift
[18/30] Compiling PerfectCRUD Equality.swift
[19/30] Compiling PerfectCRUD EqualityInts.swift
[20/30] Compiling PerfectCRUD Expression.swift
[21/30] Compiling PerfectCRUD In.swift
[22/30] Compiling PerfectCRUD InInts.swift
[23/30] Compiling PerfectCRUD Like.swift
[24/30] Compiling PerfectCRUD CodingNames.swift
[25/30] Compiling PerfectCRUD CodingRows.swift
[26/30] Compiling PerfectCRUD Create.swift
[27/30] Compiling PerfectCRUD Database.swift
[28/30] Compiling PerfectCRUD Table.swift
[29/30] Compiling PerfectCRUD Update.swift
[30/30] Compiling PerfectCRUD Where.swift
[31/35] Compiling PerfectPostgreSQL PostgresCRUDInsert.swift
/Users/builder/builds/UKfvDsi8u/2/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/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PerfectPostgreSQL/PerfectPostgreSQL.swift:21:8: error: could not build Objective-C module 'libpq'
import libpq
^
[32/35] Compiling PerfectPostgreSQL PostgresCRUDUpdate.swift
/Users/builder/builds/UKfvDsi8u/2/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/builder/builds/UKfvDsi8u/2/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)
[33/35] Emitting module PerfectPostgreSQL
/Users/builder/builds/UKfvDsi8u/2/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/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PerfectPostgreSQL/PerfectPostgreSQL.swift:21:8: error: could not build Objective-C module 'libpq'
import libpq
^
[34/35] Compiling PerfectPostgreSQL PostgresCRUD.swift
/Users/builder/builds/UKfvDsi8u/2/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/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PerfectPostgreSQL/PerfectPostgreSQL.swift:21:8: error: could not build Objective-C module 'libpq'
import libpq
^
[35/35] Compiling PerfectPostgreSQL PerfectPostgreSQL.swift
/Users/builder/builds/UKfvDsi8u/2/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/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PerfectPostgreSQL/PerfectPostgreSQL.swift:21:8: error: could not build Objective-C module 'libpq'
import libpq
^
error: fatalError
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-CRUD.git from cache (0.18s)
Fetched https://github.com/PerfectlySoft/Perfect-libpq.git from cache (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.32s)
Computing version for https://github.com/PerfectlySoft/Perfect-libpq.git
Computed https://github.com/PerfectlySoft/Perfect-libpq.git at 2.1.0 (0.31s)
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-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: 'spi-builder-workspace': dependency 'perfect-libpq' is not used by any target
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: you may be able to install libpq using your system-packager:
brew install postgres
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version--423B1241ED78D482.txt
[2/6] Compiling PerfectPostgreSQL PostgresCRUDInsert.swift
/Users/builder/builds/UKfvDsi8u/2/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/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PerfectPostgreSQL/PerfectPostgreSQL.swift:21:8: error: could not build Objective-C module 'libpq'
import libpq
^
[3/6] Compiling PerfectPostgreSQL PostgresCRUDUpdate.swift
/Users/builder/builds/UKfvDsi8u/2/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/builder/builds/UKfvDsi8u/2/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)
[4/6] Emitting module PerfectPostgreSQL
/Users/builder/builds/UKfvDsi8u/2/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/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PerfectPostgreSQL/PerfectPostgreSQL.swift:21:8: error: could not build Objective-C module 'libpq'
import libpq
^
[5/6] Compiling PerfectPostgreSQL PostgresCRUD.swift
/Users/builder/builds/UKfvDsi8u/2/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/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PerfectPostgreSQL/PerfectPostgreSQL.swift:21:8: error: could not build Objective-C module 'libpq'
import libpq
^
[6/6] Compiling PerfectPostgreSQL PerfectPostgreSQL.swift
/Users/builder/builds/UKfvDsi8u/2/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/builder/builds/UKfvDsi8u/2/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: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: you may be able to install libpq using your system-packager:
brew install postgres
BUILD FAILURE 5.10 macosSpm