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, reference master (8aa4e3), with Swift 6.0 for macOS (SPM) on 31 Oct 2024 07:34:57 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.56.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-libpq.git
Fetching https://github.com/PerfectlySoft/Perfect-CRUD.git
[1/1190] Fetching perfect-crud
[61/1236] Fetching perfect-crud, perfect-libpq
Fetched https://github.com/PerfectlySoft/Perfect-libpq.git from cache (0.92s)
Fetched https://github.com/PerfectlySoft/Perfect-CRUD.git from cache (0.92s)
Computing version for https://github.com/PerfectlySoft/Perfect-CRUD.git
Computed https://github.com/PerfectlySoft/Perfect-CRUD.git at 2.0.0 (0.67s)
Computing version for https://github.com/PerfectlySoft/Perfect-libpq.git
Computed https://github.com/PerfectlySoft/Perfect-libpq.git at 2.1.0 (2.66s)
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/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/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/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/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/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 from cache (1.18s)
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.50s)
Fetched https://github.com/PerfectlySoft/Perfect-libpq.git from cache (0.50s)
Computing version for https://github.com/PerfectlySoft/Perfect-CRUD.git
Computed https://github.com/PerfectlySoft/Perfect-CRUD.git at 2.0.0 (0.03s)
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-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.0
Building package at path:  $PWD
https://github.com/perfectlysoft/perfect-postgresql.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version--7754E27361AE5C74.txt
[4/28] Emitting module PerfectCRUD
[5/30] Compiling PerfectCRUD Update.swift
[6/30] Compiling PerfectCRUD Where.swift
[7/30] Compiling PerfectCRUD Create.swift
[8/30] Compiling PerfectCRUD Database.swift
[9/30] Compiling PerfectCRUD Delete.swift
[10/30] Compiling PerfectCRUD Coding.swift
[11/30] Compiling PerfectCRUD CodingBindings.swift
[12/30] Compiling PerfectCRUD CodingJoins.swift
[13/30] Compiling PerfectCRUD Comparison.swift
[14/30] Compiling PerfectCRUD ComparisonInts.swift
[15/30] Compiling PerfectCRUD Equality.swift
[16/30] Compiling PerfectCRUD Select.swift
[17/30] Compiling PerfectCRUD Table.swift
[18/30] Compiling PerfectCRUD Insert.swift
[19/30] Compiling PerfectCRUD Join.swift
[20/30] Compiling PerfectCRUD EqualityInts.swift
[21/30] Compiling PerfectCRUD Expression.swift
[22/30] Compiling PerfectCRUD In.swift
[23/30] Compiling PerfectCRUD Logging.swift
[24/30] Compiling PerfectCRUD PerfectCRUD.swift
[25/30] Compiling PerfectCRUD InInts.swift
[26/30] Compiling PerfectCRUD Like.swift
[27/30] Compiling PerfectCRUD Logical.swift
[28/30] Compiling PerfectCRUD CodingKeyPaths.swift
[29/30] Compiling PerfectCRUD CodingNames.swift
[30/30] Compiling PerfectCRUD CodingRows.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[31/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
[32/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
[33/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
[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 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
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 6.0 macosSpm