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 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: 4.0.0
Initialized empty Git repository in /Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/perfectlysoft/perfect-postgresql
 * tag               4.0.0      -> FETCH_HEAD
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 4.0.0
========================================
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 Delete.swift
[5/27] Compiling PerfectCRUD Comparison.swift
[6/27] Compiling PerfectCRUD ComparisonInts.swift
[7/30] Compiling PerfectCRUD In.swift
[8/30] Compiling PerfectCRUD InInts.swift
[9/30] Compiling PerfectCRUD Like.swift
[10/30] Emitting module PerfectCRUD
[11/30] Compiling PerfectCRUD Equality.swift
[12/30] Compiling PerfectCRUD EqualityInts.swift
[13/30] Compiling PerfectCRUD Expression.swift
[14/30] Compiling PerfectCRUD CodingNames.swift
[15/30] Compiling PerfectCRUD CodingRows.swift
[16/30] Compiling PerfectCRUD Create.swift
[17/30] Compiling PerfectCRUD Database.swift
[18/30] Compiling PerfectCRUD Logical.swift
[19/30] Compiling PerfectCRUD Insert.swift
[20/30] Compiling PerfectCRUD Join.swift
[21/30] Compiling PerfectCRUD Logging.swift
[22/30] Compiling PerfectCRUD PerfectCRUD.swift
[23/30] Compiling PerfectCRUD Select.swift
[24/30] Compiling PerfectCRUD Coding.swift
[25/30] Compiling PerfectCRUD CodingBindings.swift
[26/30] Compiling PerfectCRUD CodingJoins.swift
[27/30] Compiling PerfectCRUD CodingKeyPaths.swift
[28/30] Compiling PerfectCRUD Table.swift
[29/30] Compiling PerfectCRUD Update.swift
[30/30] Compiling PerfectCRUD Where.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[31/35] Emitting module PerfectPostgreSQL
/Users/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/1/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/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PerfectPostgreSQL/PerfectPostgreSQL.swift:21:8: error: could not build Objective-C module 'libpq'
import libpq
       ^
[33/35] Compiling PerfectPostgreSQL PostgresCRUDInsert.swift
/Users/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/1/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/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/builder/builds/UKfvDsi8u/1/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/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/builder/builds/UKfvDsi8u/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
Fetching https://github.com/PerfectlySoft/Perfect-CRUD.git from cache
Fetching https://github.com/PerfectlySoft/Perfect-libpq.git
[1/46] Fetching perfect-libpq
Fetched https://github.com/PerfectlySoft/Perfect-libpq.git from cache (0.21s)
Fetched https://github.com/PerfectlySoft/Perfect-CRUD.git from cache (0.21s)
Computing version for https://github.com/PerfectlySoft/Perfect-CRUD.git
Computed https://github.com/PerfectlySoft/Perfect-CRUD.git at 2.0.0 (0.33s)
Computing version for https://github.com/PerfectlySoft/Perfect-libpq.git
Computed https://github.com/PerfectlySoft/Perfect-libpq.git at 2.1.0 (0.32s)
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
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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/6] Emitting module PerfectPostgreSQL
/Users/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/1/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 PerfectPostgreSQL.swift
/Users/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PerfectPostgreSQL/PerfectPostgreSQL.swift:21:8: error: could not build Objective-C module 'libpq'
import libpq
       ^
[4/6] Compiling PerfectPostgreSQL PostgresCRUDUpdate.swift
/Users/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/1/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 PostgresCRUDInsert.swift
/Users/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/1/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 PostgresCRUD.swift
/Users/builder/builds/UKfvDsi8u/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/builder/builds/UKfvDsi8u/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: 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