Build Information
Failed to build PerfectSessionPostgreSQL, reference master (4a3394), with Swift 6.4 for macOS (SPM) on 15 Sep 2026 20:09:11 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/perfectlysoft/perfect-session-postgresql.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/perfectlysoft/perfect-session-postgresql
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 4a3394f Updated package file
Cloned https://github.com/perfectlysoft/perfect-session-postgresql.git
Revision (git rev-parse @):
4a3394f1fcca53ede454604665da2f2139ab4fe5
SUCCESS checkout https://github.com/perfectlysoft/perfect-session-postgresql.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.4
Building package at path: $PWD
https://github.com/perfectlysoft/perfect-session-postgresql.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 399]
[Planning deferred tasks]
[81 / 637]
[91 / 640] COpenSSL
[112 / 675] PerfectLib
[115 / 675] PerfectThread
[119 / 675] PerfectThread
[129 / 675] PerfectLib
[136 / 675] COpenSSL
[140 / 675] PerfectCRUD
[151 / 675] COpenSSL
[154 / 675] PerfectLib-product
[160 / 675] PerfectCRUD-product
[163 / 675] PerfectCRUD
[165 / 675] PerfectCRUD
[174 / 675] COpenSSL
[185 / 678] COpenSSL
[198 / 678] COpenSSL
[213 / 678] COpenSSL
[230 / 678] COpenSSL
[242 / 678] COpenSSL
[260 / 678] COpenSSL
[284 / 678] COpenSSL
[306 / 678] COpenSSL
[333 / 678] COpenSSL
[357 / 678] COpenSSL
[381 / 678] COpenSSL
[410 / 678] COpenSSL
[433 / 678] COpenSSL
[460 / 678] COpenSSL
[484 / 678] COpenSSL
[511 / 678] COpenSSL
[537 / 678] COpenSSL
[564 / 678] COpenSSL
[585 / 678] COpenSSL
[604 / 678] COpenSSL
[621 / 694] PerfectCrypto
[624 / 694] PerfectCrypto
Fetching https://github.com/PerfectlySoft/Perfect-Session.git
Fetching https://github.com/PerfectlySoft/Perfect-PostgreSQL.git
[1/1536] Fetching perfect-postgresql
[94/1981] Fetching perfect-postgresql, perfect-session
Fetched https://github.com/PerfectlySoft/Perfect-PostgreSQL.git (1.32s)
Fetched https://github.com/PerfectlySoft/Perfect-Session.git (1.32s)
Computing version for https://github.com/PerfectlySoft/Perfect-Session.git
Computed https://github.com/PerfectlySoft/Perfect-Session.git at 3.1.5 (3.44s)
Fetching https://github.com/PerfectlySoft/Perfect-Logger.git
[1/219] Fetching perfect-logger
Fetched https://github.com/PerfectlySoft/Perfect-Logger.git (0.93s)
Computing version for https://github.com/PerfectlySoft/Perfect-Logger.git
Computed https://github.com/PerfectlySoft/Perfect-Logger.git at 3.3.0 (1.61s)
Fetching https://github.com/PerfectlySoft/Perfect-CURL.git
[1/504] Fetching perfect-curl
Fetched https://github.com/PerfectlySoft/Perfect-CURL.git (1.01s)
Computing version for https://github.com/PerfectlySoft/Perfect-CURL.git
Computed https://github.com/PerfectlySoft/Perfect-CURL.git at 3.1.0 (1.69s)
Fetching https://github.com/PerfectlySoft/Perfect-libcurl.git
Fetching https://github.com/PerfectlySoft/Perfect-HTTP.git
[1/77] Fetching perfect-libcurl
[78/885] Fetching perfect-libcurl, perfect-http
Fetched https://github.com/PerfectlySoft/Perfect-HTTP.git (1.39s)
Fetched https://github.com/PerfectlySoft/Perfect-libcurl.git (1.39s)
Computing version for https://github.com/PerfectlySoft/Perfect-libcurl.git
Computed https://github.com/PerfectlySoft/Perfect-libcurl.git at 2.1.0 (2.06s)
Computing version for https://github.com/PerfectlySoft/Perfect-PostgreSQL.git
Computed https://github.com/PerfectlySoft/Perfect-PostgreSQL.git at 3.2.1 (0.62s)
Fetching https://github.com/PerfectlySoft/Perfect-CRUD.git
Fetching https://github.com/PerfectlySoft/Perfect-libpq.git
[1/46] Fetching perfect-libpq
[47/1385] Fetching perfect-libpq, perfect-crud
Fetched https://github.com/PerfectlySoft/Perfect-CRUD.git (1.08s)
Fetched https://github.com/PerfectlySoft/Perfect-libpq.git (1.08s)
Computing version for https://github.com/PerfectlySoft/Perfect-CRUD.git
Computed https://github.com/PerfectlySoft/Perfect-CRUD.git at 1.2.3 (1.75s)
Computing version for https://github.com/PerfectlySoft/Perfect-libpq.git
Computed https://github.com/PerfectlySoft/Perfect-libpq.git at 2.1.0 (0.65s)
Computing version for https://github.com/PerfectlySoft/Perfect-HTTP.git
Computed https://github.com/PerfectlySoft/Perfect-HTTP.git at 3.3.0 (0.63s)
Fetching https://github.com/PerfectlySoft/Perfect-Net.git
Fetching https://github.com/PerfectlySoft/PerfectLib.git
[1/10784] Fetching perfectlib
[1403/11354] Fetching perfectlib, perfect-net
Fetched https://github.com/PerfectlySoft/PerfectLib.git (8.19s)
Fetched https://github.com/PerfectlySoft/Perfect-Net.git (8.19s)
Computing version for https://github.com/PerfectlySoft/Perfect-Net.git
Computed https://github.com/PerfectlySoft/Perfect-Net.git at 3.3.0 (8.86s)
Fetching https://github.com/PerfectlySoft/Perfect-Crypto.git
Fetching https://github.com/PerfectlySoft/Perfect-Thread.git
[1/379] Fetching perfect-thread
[85/991] Fetching perfect-thread, perfect-crypto
Fetched https://github.com/PerfectlySoft/Perfect-Thread.git (1.14s)
Fetched https://github.com/PerfectlySoft/Perfect-Crypto.git (1.14s)
Computing version for https://github.com/PerfectlySoft/Perfect-Crypto.git
Computed https://github.com/PerfectlySoft/Perfect-Crypto.git at 3.3.0 (1.82s)
Fetching https://github.com/PerfectlySoft/Perfect-COpenSSL.git
[1/3961] Fetching perfect-copenssl
Fetched https://github.com/PerfectlySoft/Perfect-COpenSSL.git (1.80s)
Computing version for https://github.com/PerfectlySoft/Perfect-COpenSSL.git
Computed https://github.com/PerfectlySoft/Perfect-COpenSSL.git at 4.0.2 (2.49s)
Computing version for https://github.com/PerfectlySoft/Perfect-Thread.git
Computed https://github.com/PerfectlySoft/Perfect-Thread.git at 3.0.7 (0.63s)
Computing version for https://github.com/PerfectlySoft/PerfectLib.git
Computed https://github.com/PerfectlySoft/PerfectLib.git at 3.1.4 (0.63s)
Creating working copy for https://github.com/PerfectlySoft/Perfect-Session.git
Working copy of https://github.com/PerfectlySoft/Perfect-Session.git resolved at 3.1.5
Creating working copy for https://github.com/PerfectlySoft/Perfect-libcurl.git
Working copy of https://github.com/PerfectlySoft/Perfect-libcurl.git resolved at 2.1.0
Creating working copy for https://github.com/PerfectlySoft/Perfect-Net.git
Working copy of https://github.com/PerfectlySoft/Perfect-Net.git resolved at 3.3.0
Creating working copy for https://github.com/PerfectlySoft/Perfect-CRUD.git
Working copy of https://github.com/PerfectlySoft/Perfect-CRUD.git resolved at 1.2.3
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-Crypto.git
Working copy of https://github.com/PerfectlySoft/Perfect-Crypto.git resolved at 3.3.0
Creating working copy for https://github.com/PerfectlySoft/Perfect-PostgreSQL.git
Working copy of https://github.com/PerfectlySoft/Perfect-PostgreSQL.git resolved at 3.2.1
Creating working copy for https://github.com/PerfectlySoft/PerfectLib.git
Working copy of https://github.com/PerfectlySoft/PerfectLib.git resolved at 3.1.4
Creating working copy for https://github.com/PerfectlySoft/Perfect-Thread.git
Working copy of https://github.com/PerfectlySoft/Perfect-Thread.git resolved at 3.0.7
Creating working copy for https://github.com/PerfectlySoft/Perfect-Logger.git
Working copy of https://github.com/PerfectlySoft/Perfect-Logger.git resolved at 3.3.0
Creating working copy for https://github.com/PerfectlySoft/Perfect-COpenSSL.git
Working copy of https://github.com/PerfectlySoft/Perfect-COpenSSL.git resolved at 4.0.2
Creating working copy for https://github.com/PerfectlySoft/Perfect-CURL.git
Working copy of https://github.com/PerfectlySoft/Perfect-CURL.git resolved at 3.1.0
Creating working copy for https://github.com/PerfectlySoft/Perfect-HTTP.git
Working copy of https://github.com/PerfectlySoft/Perfect-HTTP.git resolved at 3.3.0
warning: 'perfect-libpq': ignoring declared target(s) 'libpq' in the system package
warning: 'perfect-libcurl': ignoring declared target(s) 'cURL' in the system package
warning: 'perfect-libpq': ignoring declared target(s) 'libpq' in the system package
warning: 'perfect-libcurl': ignoring declared target(s) 'cURL' in the system package
warning: 'perfect-libcurl': failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: 'perfect-libcurl': you may be able to install libcurl using your system-packager:
brew install curl
warning: 'perfect-libpq': you may be able to install libpq using your system-packager:
brew install postgres
error: SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/.build/checkouts/Perfect-PostgreSQL/Sources/PerfectPostgreSQL/PostgresCRUDUpdate.swift failed with a nonzero exit code. Command line: cd /Users/admin/builder
builtin-SwiftPerFileCompile PostgresCRUDUpdate.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Perfect-libpq/module.modulemap:2:12: [1;31merror: [1;39mheader '/usr/local/include/libpq-fe.h' not found[0;0m
[0;36m1 |[0;0m module libpq {
[0;36m2 |[0;0m header "/usr/local/include/libpq-fe.h"
[0;36m|[0;0m `- [1;31merror: [1;39mheader '/usr/local/include/libpq-fe.h' not found[0;0m
[0;36m3 |[0;0m link "pq"
[0;36m4 |[0;0m export *
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Perfect-PostgreSQL/Sources/PerfectPostgreSQL/PerfectPostgreSQL.swift:21:8: [1;31merror: [1;39mcould not build Objective-C module 'libpq'[0;0m
[0;36m19 |[0;0m
[0;36m20 |[0;0m import Foundation
[0;36m21 |[0;0m import libpq
[0;36m|[0;0m `- [1;31merror: [1;39mcould not build Objective-C module 'libpq'[0;0m
[0;36m22 |[0;0m
[0;36m23 |[0;0m /// This enum type indicates an exception when dealing with a PostgreSQL database
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -c /Users/admin/builder/spi-builder-workspace/.build/checkouts/Perfect-PostgreSQL/Sources/PerfectPostgreSQL/PerfectPostgreSQL.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/Perfect-PostgreSQL/Sources/PerfectPostgreSQL/PostgresCRUD.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/Perfect-PostgreSQL/Sources/PerfectPostgreSQL/PostgresCRUDInsert.swift -primary-file /Users/admin/builder/spi-builder-workspace/.build/checkouts/Perfect-PostgreSQL/Sources/PerfectPostgreSQL/PostgresCRUDUpdate.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectPostgreSQL.build/Debug/PerfectPostgreSQL-t.build/Objects-normal/arm64/PostgresCRUDUpdate.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectPostgreSQL.build/Debug/PerfectPostgreSQL-t.build/Objects-normal/arm64/PostgresCRUDUpdate.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectPostgreSQL.build/Debug/PerfectPostgreSQL-t.build/Objects-normal/arm64/PostgresCRUDUpdate.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectPostgreSQL.build/Debug/PerfectPostgreSQL-t.build/Objects-normal/arm64/PostgresCRUDUpdate.dia -target arm64-apple-macos12.0 -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -suppress-warnings -swift-version 4 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.build/checkouts/Perfect-libpq/module.modulemap -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.build/out/SDKStatCaches.noindex/macosx27.0-26A425-80c5bbf1d171475443272936d42f90a36a22442a12e9d48fe1a705f55a1adfc4.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectPostgreSQL.build/Debug/PerfectPostgreSQL-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectPostgreSQL.build/Debug/PerfectPostgreSQL-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectPostgreSQL.build/Debug/PerfectPostgreSQL-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name PerfectPostgreSQL -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectPostgreSQL.build/Debug/PerfectPostgreSQL-t.build/Objects-normal/arm64/PerfectPostgreSQL_const_extract_protocols.json -disable-clang-spi -target-sdk-version 27.0 -target-sdk-name macosx27.0 -external-plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/local/lib/swift/host/plugins -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectPostgreSQL.build/Debug/PerfectPostgreSQL-t.build/Objects-normal/arm64/PostgresCRUDUpdate.o -index-unit-output-path /PerfectPostgreSQL.build/Debug/PerfectPostgreSQL-t.build/Objects-normal/arm64/PostgresCRUDUpdate.o -index-store-path /Users/admin/builder/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 macosSpm