This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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 PerfectSessionPostgreSQL with Swift 5.8 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/perfectlysoft/perfect-session-postgresql.git
Reference: 3.1.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/perfectlysoft/perfect-session-postgresql
 * tag               3.1.0      -> FETCH_HEAD
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 3.1.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.8
Building package at path:  $workDir
https://github.com/perfectlysoft/perfect-session-postgresql.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build 2>&1
Fetching https://github.com/PerfectlySoft/Perfect-Session.git
Fetching https://github.com/PerfectlySoft/Perfect-PostgreSQL.git
[1/1494] Fetching perfect-postgresql
[300/1884] Fetching perfect-postgresql, perfect-session
Fetched https://github.com/PerfectlySoft/Perfect-Session.git (0.28s)
Fetched https://github.com/PerfectlySoft/Perfect-PostgreSQL.git (0.28s)
Computing version for https://github.com/PerfectlySoft/Perfect-Session.git
Computed https://github.com/PerfectlySoft/Perfect-Session.git at 3.1.5 (0.96s)
Fetching https://github.com/PerfectlySoft/Perfect-Logger.git
[1/182] Fetching perfect-logger
Fetched https://github.com/PerfectlySoft/Perfect-Logger.git (0.22s)
Computing version for https://github.com/PerfectlySoft/Perfect-Logger.git
Computed https://github.com/PerfectlySoft/Perfect-Logger.git at 3.3.0 (0.30s)
Fetching https://github.com/PerfectlySoft/Perfect-CURL.git
[1/504] Fetching perfect-curl
Fetched https://github.com/PerfectlySoft/Perfect-CURL.git (0.20s)
Computing version for https://github.com/PerfectlySoft/Perfect-CURL.git
Computed https://github.com/PerfectlySoft/Perfect-CURL.git at 3.1.0 (0.31s)
Fetching https://github.com/PerfectlySoft/Perfect-HTTP.git
Fetching https://github.com/PerfectlySoft/Perfect-libcurl.git
[1/808] Fetching perfect-http
[809/885] Fetching perfect-http, perfect-libcurl
Fetched https://github.com/PerfectlySoft/Perfect-HTTP.git (0.24s)
Fetched https://github.com/PerfectlySoft/Perfect-libcurl.git (0.24s)
Computing version for https://github.com/PerfectlySoft/Perfect-libcurl.git
Computed https://github.com/PerfectlySoft/Perfect-libcurl.git at 2.1.0 (0.29s)
Computing version for https://github.com/PerfectlySoft/Perfect-PostgreSQL.git
Computed https://github.com/PerfectlySoft/Perfect-PostgreSQL.git at 3.2.1 (0.32s)
Fetching https://github.com/PerfectlySoft/Perfect-libpq-linux.git
Fetching https://github.com/PerfectlySoft/Perfect-CRUD.git
[1/1190] Fetching perfect-crud
[1191/1233] Fetching perfect-crud, perfect-libpq-linux
Fetched https://github.com/PerfectlySoft/Perfect-libpq-linux.git (0.25s)
Fetched https://github.com/PerfectlySoft/Perfect-CRUD.git (0.25s)
Computing version for https://github.com/PerfectlySoft/Perfect-CRUD.git
Computed https://github.com/PerfectlySoft/Perfect-CRUD.git at 1.2.3 (0.29s)
Computing version for https://github.com/PerfectlySoft/Perfect-libpq-linux.git
Computed https://github.com/PerfectlySoft/Perfect-libpq-linux.git at 2.1.0 (0.29s)
Computing version for https://github.com/PerfectlySoft/Perfect-HTTP.git
Computed https://github.com/PerfectlySoft/Perfect-HTTP.git at 3.3.0 (0.30s)
Fetching https://github.com/PerfectlySoft/Perfect-Net.git
Fetching https://github.com/PerfectlySoft/Perfect-LinuxBridge.git
Fetching https://github.com/PerfectlySoft/PerfectLib.git
[1/10784] Fetching perfectlib
[433/11354] Fetching perfectlib, perfect-net
[8659/11419] Fetching perfectlib, perfect-net, perfect-linuxbridge
Fetched https://github.com/PerfectlySoft/Perfect-LinuxBridge.git (2.72s)
Fetched https://github.com/PerfectlySoft/Perfect-Net.git (2.72s)
Fetched https://github.com/PerfectlySoft/PerfectLib.git (2.80s)
Computing version for https://github.com/PerfectlySoft/Perfect-LinuxBridge.git
Computed https://github.com/PerfectlySoft/Perfect-LinuxBridge.git at 3.1.0 (0.29s)
Computing version for https://github.com/PerfectlySoft/Perfect-Net.git
Computed https://github.com/PerfectlySoft/Perfect-Net.git at 3.3.0 (0.31s)
Fetching https://github.com/PerfectlySoft/Perfect-Thread.git
Fetching https://github.com/PerfectlySoft/Perfect-Crypto.git
[1/612] Fetching perfect-crypto
[613/991] Fetching perfect-crypto, perfect-thread
Fetched https://github.com/PerfectlySoft/Perfect-Crypto.git (0.24s)
Fetched https://github.com/PerfectlySoft/Perfect-Thread.git (0.24s)
Computing version for https://github.com/PerfectlySoft/Perfect-Crypto.git
Computed https://github.com/PerfectlySoft/Perfect-Crypto.git at 3.3.0 (0.33s)
Fetching https://github.com/PerfectlySoft/Perfect-COpenSSL-Linux.git
[1/188] Fetching perfect-copenssl-linux
Fetched https://github.com/PerfectlySoft/Perfect-COpenSSL-Linux.git (0.23s)
Computing version for https://github.com/PerfectlySoft/Perfect-COpenSSL-Linux.git
Computed https://github.com/PerfectlySoft/Perfect-COpenSSL-Linux.git at 4.0.2 (0.29s)
Computing version for https://github.com/PerfectlySoft/Perfect-Thread.git
Computed https://github.com/PerfectlySoft/Perfect-Thread.git at 3.0.7 (0.33s)
Computing version for https://github.com/PerfectlySoft/PerfectLib.git
Computed https://github.com/PerfectlySoft/PerfectLib.git at 3.1.4 (0.33s)
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/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-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-LinuxBridge.git
Working copy of https://github.com/PerfectlySoft/Perfect-LinuxBridge.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
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-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-COpenSSL-Linux.git
Working copy of https://github.com/PerfectlySoft/Perfect-COpenSSL-Linux.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-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-libpq-linux.git
Working copy of https://github.com/PerfectlySoft/Perfect-libpq-linux.git resolved at 2.1.0
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-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-Logger.git
Working copy of https://github.com/PerfectlySoft/Perfect-Logger.git resolved at 3.3.0
warning: 'perfect-libcurl': ignoring declared target(s) 'cURL' in the system package
warning: 'perfect-libpq-linux': ignoring declared target(s) 'libpq' in the system package
warning: you may be able to install libpq using your system-packager:
    apt-get install libpq-dev
Building for debugging...
[0/1] Compiling LinuxBridge LinuxBridge.c
[2/38] Emitting module PerfectCRUD
[3/41] Compiling PerfectThread Threading.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/41] Emitting module PerfectLib
/host/spi-builder-workspace/.build/checkouts/PerfectLib/Sources/PerfectLib/Dir.swift:128:54: error: cannot find type 'dirent' in scope
    func readDir(_ d: OpaquePointer, _ dirEnt: inout dirent, _ endPtr: UnsafeMutablePointer<UnsafeMutablePointer<dirent>?>!) -> Int32 {
                                                     ^~~~~~
/host/spi-builder-workspace/.build/checkouts/PerfectLib/Sources/PerfectLib/Dir.swift:128:114: error: cannot find type 'dirent' in scope
    func readDir(_ d: OpaquePointer, _ dirEnt: inout dirent, _ endPtr: UnsafeMutablePointer<UnsafeMutablePointer<dirent>?>!) -> Int32 {
                                                                                                                 ^~~~~~
[5/42] Compiling PerfectLib PerfectError.swift
[6/42] Compiling PerfectLib SysProcess.swift
[7/42] Compiling PerfectThread ThreadQueue.swift
[8/42] Emitting module PerfectThread
[9/42] Compiling PerfectThread Promise.swift
[10/43] Compiling PerfectLib PerfectServer.swift
[12/44] Compiling PerfectLib Log.swift
[14/44] Compiling PerfectLib JSONConvertible.swift
[15/44] Compiling PerfectLib File.swift
/host/spi-builder-workspace/.build/checkouts/PerfectLib/Sources/PerfectLib/File.swift:66:16: error: cannot find 'access' in scope
        return access(internalPath, F_OK) != -1
               ^~~~~~
/host/spi-builder-workspace/.build/checkouts/PerfectLib/Sources/PerfectLib/File.swift:85:19: error: cannot find 'readlink' in scope
        let res = readlink(internalPath, buffer, maxPath)
                  ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/PerfectLib/Sources/PerfectLib/File.swift:116:15: error: cannot find 'wordexp_t' in scope
                        var wexp = wordexp_t()
                                   ^~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/PerfectLib/Sources/PerfectLib/File.swift:117:15: error: cannot find 'wordexp' in scope
                        guard 0 == wordexp(inPath, &wexp, 0),
                                   ^~~~~~~
/host/spi-builder-workspace/.build/checkouts/PerfectLib/Sources/PerfectLib/File.swift:122:5: error: cannot find 'wordfree' in scope
                                wordfree(&wexp)
                                ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/PerfectLib/Sources/PerfectLib/File.swift:148:8: error: module 'SwiftGlibc' has no member named 'close'
                        _ = SwiftGlibc.close(CInt(fd))
                            ^~~~~~~~~~ ~~~~~
/host/spi-builder-workspace/.build/checkouts/PerfectLib/Sources/PerfectLib/File.swift:258:28: error: cannot find 'lseek' in scope
                return Int(lseek(Int32(fd), 0, SEEK_CUR))
                           ^~~~~
/host/spi-builder-workspace/.build/checkouts/PerfectLib/Sources/PerfectLib/File.swift:264:13: error: cannot find 'lseek' in scope
            lseek(Int32(fd), off_t(newValue), SEEK_SET)
            ^~~~~
/host/spi-builder-workspace/.build/checkouts/PerfectLib/Sources/PerfectLib/File.swift:274:9: error: cannot find 'unlink' in scope
        unlink(path)
        ^~~~~~
/host/spi-builder-workspace/.build/checkouts/PerfectLib/Sources/PerfectLib/File.swift:407:13: error: cannot find 'symlink' in scope
                let res = symlink(self.path, path)
                          ^~~~~~~
/host/spi-builder-workspace/.build/checkouts/PerfectLib/Sources/PerfectLib/File.swift:442:19: error: cannot find 'read' in scope
                let readCount = read(CInt(fd), ptr, bSize)
                                ^~~~
/host/spi-builder-workspace/.build/checkouts/PerfectLib/Sources/PerfectLib/File.swift:480:15: error: module 'SwiftGlibc' has no member named 'write'
                let wrote = SwiftGlibc.write(Int32(fd), ptr, len)
                            ^~~~~~~~~~ ~~~~~
/host/spi-builder-workspace/.build/checkouts/PerfectLib/Sources/PerfectLib/File.swift:573:18: error: cannot find 'mkstemp' in scope
        let fd = mkstemp(name)
                 ^~~~~~~
/host/spi-builder-workspace/.build/checkouts/PerfectLib/Sources/PerfectLib/File.swift:584:45: error: cannot find 'STDIN_FILENO' in scope
    return UnclosableFile("/dev/stdin", fd: STDIN_FILENO)
                                            ^~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/PerfectLib/Sources/PerfectLib/File.swift:589:43: error: cannot find 'STDOUT_FILENO' in scope
        return UnclosableFile("/dev/stdout", fd: STDOUT_FILENO)
                                                 ^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/PerfectLib/Sources/PerfectLib/File.swift:594:43: error: cannot find 'STDERR_FILENO' in scope
        return UnclosableFile("/dev/stderr", fd: STDERR_FILENO)
                                                 ^~~~~~~~~~~~~
[16/44] Compiling PerfectLib Bytes.swift
/host/spi-builder-workspace/.build/checkouts/PerfectLib/Sources/PerfectLib/Dir.swift:128:54: error: cannot find type 'dirent' in scope
    func readDir(_ d: OpaquePointer, _ dirEnt: inout dirent, _ endPtr: UnsafeMutablePointer<UnsafeMutablePointer<dirent>?>!) -> Int32 {
                                                     ^~~~~~
/host/spi-builder-workspace/.build/checkouts/PerfectLib/Sources/PerfectLib/Dir.swift:128:114: error: cannot find type 'dirent' in scope
    func readDir(_ d: OpaquePointer, _ dirEnt: inout dirent, _ endPtr: UnsafeMutablePointer<UnsafeMutablePointer<dirent>?>!) -> Int32 {
                                                                                                                 ^~~~~~
/host/spi-builder-workspace/.build/checkouts/PerfectLib/Sources/PerfectLib/Dir.swift:47:13: error: cannot find 'chdir' in scope
                let res = chdir(internalPath)
                          ^~~~~
/host/spi-builder-workspace/.build/checkouts/PerfectLib/Sources/PerfectLib/Dir.swift:56:11: error: cannot find 'getcwd' in scope
                let _ = getcwd(UnsafeMutableRawPointer(mutating: buffer).assumingMemoryBound(to: Int8.self), 2048)
                        ^~~~~~
/host/spi-builder-workspace/.build/checkouts/PerfectLib/Sources/PerfectLib/Dir.swift:62:10: error: cannot find 'access' in scope
                return access(path, F_OK) != -1
                       ^~~~~~
/host/spi-builder-workspace/.build/checkouts/PerfectLib/Sources/PerfectLib/Dir.swift:89:13: error: cannot find 'rmdir' in scope
                let res = rmdir(realPath)
                          ^~~~~
/host/spi-builder-workspace/.build/checkouts/PerfectLib/Sources/PerfectLib/Dir.swift:129:16: error: cannot find 'readdir_r' in scope
        return readdir_r(d, &dirEnt, endPtr)
               ^~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/PerfectLib/Sources/PerfectLib/Dir.swift:141:19: error: cannot find 'opendir' in scope
                guard let dir = opendir(realPath) else {
                                ^~~~~~~
/host/spi-builder-workspace/.build/checkouts/PerfectLib/Sources/PerfectLib/Dir.swift:145:11: error: cannot find 'closedir' in scope
                defer { closedir(dir) }
                        ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/PerfectLib/Sources/PerfectLib/Dir.swift:147:13: error: cannot find 'dirent' in scope
                var ent = dirent()
                          ^~~~~~
/host/spi-builder-workspace/.build/checkouts/PerfectLib/Sources/PerfectLib/Dir.swift:148:58: error: cannot find type 'dirent' in scope
                let entPtr = UnsafeMutablePointer<UnsafeMutablePointer<dirent>?>.allocate(capacity:  1)
                                                                       ^~~~~~
/host/spi-builder-workspace/.build/checkouts/PerfectLib/Sources/PerfectLib/Dir.swift:174:41: error: cannot find 'DT_DIR' in scope
                if Int32(type) == Int32(DT_DIR) {
                                        ^~~~~~
[17/44] Compiling PerfectLib Dir.swift
/host/spi-builder-workspace/.build/checkouts/PerfectLib/Sources/PerfectLib/Dir.swift:128:54: error: cannot find type 'dirent' in scope
    func readDir(_ d: OpaquePointer, _ dirEnt: inout dirent, _ endPtr: UnsafeMutablePointer<UnsafeMutablePointer<dirent>?>!) -> Int32 {
                                                     ^~~~~~
/host/spi-builder-workspace/.build/checkouts/PerfectLib/Sources/PerfectLib/Dir.swift:128:114: error: cannot find type 'dirent' in scope
    func readDir(_ d: OpaquePointer, _ dirEnt: inout dirent, _ endPtr: UnsafeMutablePointer<UnsafeMutablePointer<dirent>?>!) -> Int32 {
                                                                                                                 ^~~~~~
/host/spi-builder-workspace/.build/checkouts/PerfectLib/Sources/PerfectLib/Dir.swift:47:13: error: cannot find 'chdir' in scope
                let res = chdir(internalPath)
                          ^~~~~
/host/spi-builder-workspace/.build/checkouts/PerfectLib/Sources/PerfectLib/Dir.swift:56:11: error: cannot find 'getcwd' in scope
                let _ = getcwd(UnsafeMutableRawPointer(mutating: buffer).assumingMemoryBound(to: Int8.self), 2048)
                        ^~~~~~
/host/spi-builder-workspace/.build/checkouts/PerfectLib/Sources/PerfectLib/Dir.swift:62:10: error: cannot find 'access' in scope
                return access(path, F_OK) != -1
                       ^~~~~~
/host/spi-builder-workspace/.build/checkouts/PerfectLib/Sources/PerfectLib/Dir.swift:89:13: error: cannot find 'rmdir' in scope
                let res = rmdir(realPath)
                          ^~~~~
/host/spi-builder-workspace/.build/checkouts/PerfectLib/Sources/PerfectLib/Dir.swift:129:16: error: cannot find 'readdir_r' in scope
        return readdir_r(d, &dirEnt, endPtr)
               ^~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/PerfectLib/Sources/PerfectLib/Dir.swift:141:19: error: cannot find 'opendir' in scope
                guard let dir = opendir(realPath) else {
                                ^~~~~~~
/host/spi-builder-workspace/.build/checkouts/PerfectLib/Sources/PerfectLib/Dir.swift:145:11: error: cannot find 'closedir' in scope
                defer { closedir(dir) }
                        ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/PerfectLib/Sources/PerfectLib/Dir.swift:147:13: error: cannot find 'dirent' in scope
                var ent = dirent()
                          ^~~~~~
/host/spi-builder-workspace/.build/checkouts/PerfectLib/Sources/PerfectLib/Dir.swift:148:58: error: cannot find type 'dirent' in scope
                let entPtr = UnsafeMutablePointer<UnsafeMutablePointer<dirent>?>.allocate(capacity:  1)
                                                                       ^~~~~~
/host/spi-builder-workspace/.build/checkouts/PerfectLib/Sources/PerfectLib/Dir.swift:174:41: error: cannot find 'DT_DIR' in scope
                if Int32(type) == Int32(DT_DIR) {
                                        ^~~~~~
[18/44] Compiling PerfectCRUD Delete.swift
[19/44] Compiling PerfectCRUD Comparison.swift
[20/44] Compiling PerfectCRUD ComparisonInts.swift
[23/44] Compiling PerfectCRUD CodingJoins.swift
[24/44] Compiling PerfectCRUD CodingKeyPaths.swift
[25/44] Compiling PerfectCRUD In.swift
[26/44] Compiling PerfectCRUD InInts.swift
[27/44] Compiling PerfectCRUD Like.swift
[28/44] Compiling PerfectCRUD Table.swift
[29/44] Compiling PerfectCRUD Update.swift
[30/44] Compiling PerfectCRUD Where.swift
[31/44] Compiling PerfectCRUD Logging.swift
[32/44] Compiling PerfectCRUD PerfectCRUD.swift
[33/44] Compiling PerfectCRUD Select.swift
[34/44] Compiling PerfectCRUD Logical.swift
[35/44] Compiling PerfectCRUD Insert.swift
[36/44] Compiling PerfectCRUD Join.swift
[37/44] Compiling PerfectCRUD Equality.swift
[38/44] Compiling PerfectCRUD EqualityInts.swift
[39/44] Compiling PerfectCRUD Expression.swift
[40/44] Compiling PerfectCRUD CodingNames.swift
[41/44] Compiling PerfectCRUD CodingRows.swift
[42/44] Compiling PerfectCRUD Create.swift
[43/44] Compiling PerfectCRUD Database.swift
[46/46] Compiling PerfectLib Utilities.swift
warning: 'perfect-libcurl': ignoring declared target(s) 'cURL' in the system package
warning: 'perfect-libpq-linux': ignoring declared target(s) 'libpq' in the system package
warning: you may be able to install libpq using your system-packager:
    apt-get install libpq-dev
[0/1] Planning build
Building for debugging...
warning: Will not do cross-module incremental builds, priors saved at TimePoint(seconds: 1709142250, nanoseconds: 0)), but the previous build started at TimePoint(seconds: 1709142250, nanoseconds: 433041000), at '/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/PerfectPostgreSQL.build/master.priors'
[1/9] Compiling PerfectPostgreSQL PostgresCRUDUpdate.swift
/host/spi-builder-workspace/.build/checkouts/Perfect-libpq-linux/module.modulemap:2:12: error: header '/usr/include/postgresql/libpq-fe.h' not found
    header "/usr/include/postgresql/libpq-fe.h"
           ^
/host/spi-builder-workspace/.build/checkouts/Perfect-PostgreSQL/Sources/PerfectPostgreSQL/PerfectPostgreSQL.swift:21:8: error: could not build C module 'libpq'
import libpq
       ^
[2/9] Compiling PerfectPostgreSQL PostgresCRUDInsert.swift
/host/spi-builder-workspace/.build/checkouts/Perfect-libpq-linux/module.modulemap:2:12: error: header '/usr/include/postgresql/libpq-fe.h' not found
    header "/usr/include/postgresql/libpq-fe.h"
           ^
/host/spi-builder-workspace/.build/checkouts/Perfect-PostgreSQL/Sources/PerfectPostgreSQL/PerfectPostgreSQL.swift:21:8: error: could not build C module 'libpq'
import libpq
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/9] Emitting module PerfectPostgreSQL
/host/spi-builder-workspace/.build/checkouts/Perfect-libpq-linux/module.modulemap:2:12: error: header '/usr/include/postgresql/libpq-fe.h' not found
    header "/usr/include/postgresql/libpq-fe.h"
           ^
/host/spi-builder-workspace/.build/checkouts/Perfect-PostgreSQL/Sources/PerfectPostgreSQL/PerfectPostgreSQL.swift:21:8: error: could not build C module 'libpq'
import libpq
       ^
[4/9] Compiling PerfectPostgreSQL PerfectPostgreSQL.swift
/host/spi-builder-workspace/.build/checkouts/Perfect-libpq-linux/module.modulemap:2:12: error: header '/usr/include/postgresql/libpq-fe.h' not found
    header "/usr/include/postgresql/libpq-fe.h"
           ^
/host/spi-builder-workspace/.build/checkouts/Perfect-PostgreSQL/Sources/PerfectPostgreSQL/PerfectPostgreSQL.swift:21:8: error: could not build C module 'libpq'
import libpq
       ^
[5/9] Compiling PerfectPostgreSQL PostgresCRUD.swift
/host/spi-builder-workspace/.build/checkouts/Perfect-libpq-linux/module.modulemap:2:12: error: header '/usr/include/postgresql/libpq-fe.h' not found
    header "/usr/include/postgresql/libpq-fe.h"
           ^
/host/spi-builder-workspace/.build/checkouts/Perfect-PostgreSQL/Sources/PerfectPostgreSQL/PerfectPostgreSQL.swift:21:8: error: could not build C module 'libpq'
import libpq
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/9] Emitting module PerfectLib
/host/spi-builder-workspace/.build/checkouts/PerfectLib/Sources/PerfectLib/Dir.swift:128:54: error: cannot find type 'dirent' in scope
    func readDir(_ d: OpaquePointer, _ dirEnt: inout dirent, _ endPtr: UnsafeMutablePointer<UnsafeMutablePointer<dirent>?>!) -> Int32 {
                                                     ^~~~~~
/host/spi-builder-workspace/.build/checkouts/PerfectLib/Sources/PerfectLib/Dir.swift:128:114: error: cannot find type 'dirent' in scope
    func readDir(_ d: OpaquePointer, _ dirEnt: inout dirent, _ endPtr: UnsafeMutablePointer<UnsafeMutablePointer<dirent>?>!) -> Int32 {
                                                                                                                 ^~~~~~
BUILD FAILURE 5.8 linux
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.