The Swift Package Index logo.Swift Package Index

Build Information

Failed to build PerfectPostgreSQL, reference master (8aa4e3), with Swift 6.3 for macOS (SPM) on 10 Apr 2026 18:16:08 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/perfectlysoft/perfect-postgresql.git
Reference: master
Initialized empty Git repository in /Users/admin/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-CRUD.git
Fetching https://github.com/PerfectlySoft/Perfect-libpq.git
[1/1197] Fetching perfect-crud
[25/1243] Fetching perfect-crud, perfect-libpq
Fetched https://github.com/PerfectlySoft/Perfect-CRUD.git from cache (0.77s)
Fetched https://github.com/PerfectlySoft/Perfect-libpq.git from cache (0.77s)
Computing version for https://github.com/PerfectlySoft/Perfect-CRUD.git
Computed https://github.com/PerfectlySoft/Perfect-CRUD.git at 2.0.0 (1.47s)
Computing version for https://github.com/PerfectlySoft/Perfect-libpq.git
Computed https://github.com/PerfectlySoft/Perfect-libpq.git at 2.1.0 (2.24s)
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
========================================
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",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "perfect-postgresql",
      "name": "PerfectPostgreSQL",
      "url": "https://github.com/perfectlysoft/perfect-postgresql.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/perfect-postgresql",
      "traits": [
        "default"
      ],
      "dependencies": [
        {
          "identity": "perfect-crud",
          "name": "PerfectCRUD",
          "url": "https://github.com/PerfectlySoft/Perfect-CRUD.git",
          "version": "2.0.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Perfect-CRUD",
          "traits": [
            "default"
          ],
          "dependencies": [
          ]
        },
        {
          "identity": "perfect-libpq",
          "name": "libpq",
          "url": "https://github.com/PerfectlySoft/Perfect-libpq.git",
          "version": "2.1.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Perfect-libpq",
          "traits": [
            "default"
          ],
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/perfectlysoft/perfect-postgresql.git
[1/1494] Fetching perfect-postgresql
Fetched https://github.com/perfectlysoft/perfect-postgresql.git from cache (1.09s)
Fetching https://github.com/PerfectlySoft/Perfect-CRUD.git from cache
Fetching https://github.com/PerfectlySoft/Perfect-libpq.git from cache
Fetched https://github.com/PerfectlySoft/Perfect-CRUD.git from cache (0.42s)
Fetched https://github.com/PerfectlySoft/Perfect-libpq.git from cache (0.44s)
Computing version for https://github.com/PerfectlySoft/Perfect-CRUD.git
Computed https://github.com/PerfectlySoft/Perfect-CRUD.git at 2.0.0 (0.50s)
Computing version for https://github.com/PerfectlySoft/Perfect-libpq.git
Computed https://github.com/PerfectlySoft/Perfect-libpq.git at 2.1.0 (0.03s)
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
Creating working copy for https://github.com/perfectlysoft/perfect-postgresql.git
Working copy of https://github.com/perfectlysoft/perfect-postgresql.git resolved at master (8aa4e39)
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:             6.3
Building package at path:  $PWD
https://github.com/perfectlysoft/perfect-postgresql.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version--6988338F2F200930.txt
[4/28] Emitting module PerfectCRUD
[5/30] Compiling PerfectCRUD InInts.swift
[6/30] Compiling PerfectCRUD Like.swift
[7/30] Compiling PerfectCRUD Logical.swift
[8/30] Compiling PerfectCRUD Update.swift
[9/30] Compiling PerfectCRUD Where.swift
[10/30] Compiling PerfectCRUD Coding.swift
[11/30] Compiling PerfectCRUD CodingBindings.swift
[12/30] Compiling PerfectCRUD CodingJoins.swift
[13/30] Compiling PerfectCRUD Insert.swift
[14/30] Compiling PerfectCRUD Join.swift
[15/30] Compiling PerfectCRUD Select.swift
[16/30] Compiling PerfectCRUD Table.swift
[17/30] Compiling PerfectCRUD Comparison.swift
[18/30] Compiling PerfectCRUD ComparisonInts.swift
[19/30] Compiling PerfectCRUD Equality.swift
[20/30] Compiling PerfectCRUD Logging.swift
[21/30] Compiling PerfectCRUD PerfectCRUD.swift
[22/30] Compiling PerfectCRUD CodingKeyPaths.swift
[23/30] Compiling PerfectCRUD CodingNames.swift
[24/30] Compiling PerfectCRUD CodingRows.swift
[25/30] Compiling PerfectCRUD EqualityInts.swift
[26/30] Compiling PerfectCRUD Expression.swift
[27/30] Compiling PerfectCRUD In.swift
[28/30] Compiling PerfectCRUD Create.swift
[29/30] Compiling PerfectCRUD Database.swift
[30/30] Compiling PerfectCRUD Delete.swift
[31/35] Compiling PerfectPostgreSQL PostgresCRUDUpdate.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Perfect-libpq/module.modulemap:2:12: error: header '/usr/local/include/libpq-fe.h' not found
1 | module libpq {
2 |     header "/usr/local/include/libpq-fe.h"
  |            `- error: header '/usr/local/include/libpq-fe.h' not found
3 |     link "pq"
4 |     export *
/Users/admin/builder/spi-builder-workspace/Sources/PerfectPostgreSQL/PerfectPostgreSQL.swift:21:8: error: could not build Objective-C module 'libpq'
 19 |
 20 | import Foundation
 21 | import libpq
    |        `- error: could not build Objective-C module 'libpq'
 22 |
 23 | /// This enum type indicates an exception when dealing with a PostgreSQL database
[32/35] Compiling PerfectPostgreSQL PostgresCRUDInsert.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Perfect-libpq/module.modulemap:2:12: error: header '/usr/local/include/libpq-fe.h' not found
1 | module libpq {
2 |     header "/usr/local/include/libpq-fe.h"
  |            `- error: header '/usr/local/include/libpq-fe.h' not found
3 |     link "pq"
4 |     export *
/Users/admin/builder/spi-builder-workspace/Sources/PerfectPostgreSQL/PerfectPostgreSQL.swift:21:8: error: could not build Objective-C module 'libpq'
 19 |
 20 | import Foundation
 21 | import libpq
    |        `- error: could not build Objective-C module 'libpq'
 22 |
 23 | /// This enum type indicates an exception when dealing with a PostgreSQL database
error: emit-module command failed with exit code 1 (use -v to see invocation)
[33/35] Emitting module PerfectPostgreSQL
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Perfect-libpq/module.modulemap:2:12: error: header '/usr/local/include/libpq-fe.h' not found
1 | module libpq {
2 |     header "/usr/local/include/libpq-fe.h"
  |            `- error: header '/usr/local/include/libpq-fe.h' not found
3 |     link "pq"
4 |     export *
/Users/admin/builder/spi-builder-workspace/Sources/PerfectPostgreSQL/PerfectPostgreSQL.swift:21:8: error: could not build Objective-C module 'libpq'
 19 |
 20 | import Foundation
 21 | import libpq
    |        `- error: could not build Objective-C module 'libpq'
 22 |
 23 | /// This enum type indicates an exception when dealing with a PostgreSQL database
[34/35] Compiling PerfectPostgreSQL PostgresCRUD.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Perfect-libpq/module.modulemap:2:12: error: header '/usr/local/include/libpq-fe.h' not found
1 | module libpq {
2 |     header "/usr/local/include/libpq-fe.h"
  |            `- error: header '/usr/local/include/libpq-fe.h' not found
3 |     link "pq"
4 |     export *
/Users/admin/builder/spi-builder-workspace/Sources/PerfectPostgreSQL/PerfectPostgreSQL.swift:21:8: error: could not build Objective-C module 'libpq'
 19 |
 20 | import Foundation
 21 | import libpq
    |        `- error: could not build Objective-C module 'libpq'
 22 |
 23 | /// This enum type indicates an exception when dealing with a PostgreSQL database
[35/35] Compiling PerfectPostgreSQL PerfectPostgreSQL.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Perfect-libpq/module.modulemap:2:12: error: header '/usr/local/include/libpq-fe.h' not found
1 | module libpq {
2 |     header "/usr/local/include/libpq-fe.h"
  |            `- error: header '/usr/local/include/libpq-fe.h' not found
3 |     link "pq"
4 |     export *
/Users/admin/builder/spi-builder-workspace/Sources/PerfectPostgreSQL/PerfectPostgreSQL.swift:21:8: error: could not build Objective-C module 'libpq'
 19 |
 20 | import Foundation
 21 | import libpq
    |        `- error: could not build Objective-C module 'libpq'
 22 |
 23 | /// This enum type indicates an exception when dealing with a PostgreSQL database
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
warning: you may be able to install libpq using your system-packager:
    brew install postgres
BUILD FAILURE 6.3 macosSpm