The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Perfect-LocalAuthentication-PostgreSQL with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4606859-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/perfectlysoft/perfect-localauthentication-postgresql.git
Reference: master
Cloned https://github.com/perfectlysoft/perfect-localauthentication-postgresql.git into spi-builder-workspace
SUCCESS checkout https://github.com/perfectlysoft/perfect-localauthentication-postgresql.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/PerfectlySoft/Perfect-HTTP.git
Fetching https://github.com/PerfectlySoft/Perfect-Mustache.git
Fetching https://github.com/PerfectlySoft/Perfect-Session-PostgreSQL.git
[1/808] Fetching perfect-http
[801/1042] Fetching perfect-http, perfect-mustache
[813/1222] Fetching perfect-http, perfect-mustache, perfect-session-postgresql
Fetching https://github.com/SwiftORM/Postgres-StORM.git
Fetched https://github.com/PerfectlySoft/Perfect-Session-PostgreSQL.git (0.23s)
Fetched https://github.com/PerfectlySoft/Perfect-Mustache.git (0.24s)
Fetching https://github.com/PerfectlySoft/Perfect-SMTP.git
Fetched https://github.com/PerfectlySoft/Perfect-HTTP.git (0.24s)
Fetching https://github.com/PerfectlySoft/Perfect-RequestLogger.git
[1/857] Fetching postgres-storm
[559/1225] Fetching postgres-storm, perfect-smtp
[1226/1384] Fetching postgres-storm, perfect-smtp, perfect-requestlogger
Fetched https://github.com/SwiftORM/Postgres-StORM.git (0.23s)
Fetching https://github.com/iamjono/JSONConfig.git
Fetched https://github.com/PerfectlySoft/Perfect-SMTP.git (0.23s)
Fetched https://github.com/PerfectlySoft/Perfect-RequestLogger.git (0.23s)
Fetched https://github.com/iamjono/JSONConfig.git (0.19s)
Computing version for https://github.com/PerfectlySoft/Perfect-Mustache.git
Computed https://github.com/PerfectlySoft/Perfect-Mustache.git at 3.0.2 (0.27s)
Computing version for https://github.com/iamjono/JSONConfig.git
Computed https://github.com/iamjono/JSONConfig.git at 3.1.0 (0.90s)
Fetching https://github.com/PerfectlySoft/PerfectLib.git
[1/10740] Fetching perfectlib
Fetched https://github.com/PerfectlySoft/PerfectLib.git (2.66s)
Computing version for https://github.com/PerfectlySoft/Perfect-Session-PostgreSQL.git
Computed https://github.com/PerfectlySoft/Perfect-Session-PostgreSQL.git at 3.1.0 (1.30s)
Fetching https://github.com/PerfectlySoft/Perfect-PostgreSQL.git
Fetching https://github.com/PerfectlySoft/Perfect-Session.git
[1/390] Fetching perfect-session
[391/1884] Fetching perfect-session, perfect-postgresql
Fetched https://github.com/PerfectlySoft/Perfect-Session.git (0.31s)
Fetched https://github.com/PerfectlySoft/Perfect-PostgreSQL.git (0.31s)
Computing version for https://github.com/PerfectlySoft/Perfect-RequestLogger.git
Computed https://github.com/PerfectlySoft/Perfect-RequestLogger.git at 3.0.5 (0.25s)
Fetching https://github.com/PerfectlySoft/Perfect-Logger.git
[2/182] Fetching perfect-logger
Fetched https://github.com/PerfectlySoft/Perfect-Logger.git (0.20s)
Computing version for https://github.com/SwiftORM/Postgres-StORM.git
Computed https://github.com/SwiftORM/Postgres-StORM.git at 3.2.1 (0.25s)
Fetching https://github.com/SwiftORM/StORM.git
[1/702] Fetching storm
Fetched https://github.com/SwiftORM/StORM.git (0.21s)
Computing version for https://github.com/PerfectlySoft/Perfect-Session.git
Computed https://github.com/PerfectlySoft/Perfect-Session.git at 3.1.5 (0.25s)
Computing version for https://github.com/PerfectlySoft/Perfect-Logger.git
Computed https://github.com/PerfectlySoft/Perfect-Logger.git at 3.3.0 (0.26s)
Fetching https://github.com/PerfectlySoft/Perfect-CURL.git
[1/504] Fetching perfect-curl
Fetched https://github.com/PerfectlySoft/Perfect-CURL.git (0.21s)
Computing version for https://github.com/PerfectlySoft/Perfect-CURL.git
Computed https://github.com/PerfectlySoft/Perfect-CURL.git at 3.1.0 (0.26s)
Fetching https://github.com/PerfectlySoft/Perfect-libcurl.git
Fetched https://github.com/PerfectlySoft/Perfect-libcurl.git (0.22s)
Computing version for https://github.com/PerfectlySoft/Perfect-libcurl.git
Computed https://github.com/PerfectlySoft/Perfect-libcurl.git at 2.1.0 (0.27s)
Computing version for https://github.com/PerfectlySoft/PerfectLib.git
Computed https://github.com/PerfectlySoft/PerfectLib.git at 3.1.4 (0.25s)
Fetching https://github.com/PerfectlySoft/Perfect-LinuxBridge.git
Fetched https://github.com/PerfectlySoft/Perfect-LinuxBridge.git (0.20s)
Computing version for https://github.com/PerfectlySoft/Perfect-LinuxBridge.git
Computed https://github.com/PerfectlySoft/Perfect-LinuxBridge.git at 3.1.0 (0.26s)
Computing version for https://github.com/PerfectlySoft/Perfect-SMTP.git
Computed https://github.com/PerfectlySoft/Perfect-SMTP.git at 3.3.0 (0.26s)
Computing version for https://github.com/SwiftORM/StORM.git
Computed https://github.com/SwiftORM/StORM.git at 3.3.0 (0.26s)
Fetching https://github.com/iamjono/SwiftMoment.git
[1/877] Fetching swiftmoment
Fetched https://github.com/iamjono/SwiftMoment.git (0.24s)
Computing version for https://github.com/iamjono/SwiftMoment.git
Computed https://github.com/iamjono/SwiftMoment.git at 1.3.0 (0.25s)
Computing version for https://github.com/PerfectlySoft/Perfect-PostgreSQL.git
Computed https://github.com/PerfectlySoft/Perfect-PostgreSQL.git at 3.2.1 (0.26s)
Fetching https://github.com/PerfectlySoft/Perfect-libpq-linux.git
Fetching https://github.com/PerfectlySoft/Perfect-CRUD.git
[1/1190] Fetching perfect-crud
Fetched https://github.com/PerfectlySoft/Perfect-CRUD.git (0.23s)
Fetched https://github.com/PerfectlySoft/Perfect-libpq-linux.git (0.23s)
Computing version for https://github.com/PerfectlySoft/Perfect-CRUD.git
Computed https://github.com/PerfectlySoft/Perfect-CRUD.git at 1.2.3 (0.25s)
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.24s)
Computing version for https://github.com/PerfectlySoft/Perfect-HTTP.git
Computed https://github.com/PerfectlySoft/Perfect-HTTP.git at 3.3.0 (0.27s)
Fetching https://github.com/PerfectlySoft/Perfect-Net.git
[1/570] Fetching perfect-net
Fetched https://github.com/PerfectlySoft/Perfect-Net.git (0.24s)
Computing version for https://github.com/PerfectlySoft/Perfect-Net.git
Computed https://github.com/PerfectlySoft/Perfect-Net.git at 3.3.0 (0.26s)
Fetching https://github.com/PerfectlySoft/Perfect-Thread.git
Fetching https://github.com/PerfectlySoft/Perfect-Crypto.git
[1/379] Fetching perfect-thread
[380/991] Fetching perfect-thread, perfect-crypto
Fetched https://github.com/PerfectlySoft/Perfect-Thread.git (0.23s)
Fetched https://github.com/PerfectlySoft/Perfect-Crypto.git (0.23s)
Computing version for https://github.com/PerfectlySoft/Perfect-Crypto.git
Computed https://github.com/PerfectlySoft/Perfect-Crypto.git at 3.3.0 (0.26s)
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.20s)
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.24s)
Computing version for https://github.com/PerfectlySoft/Perfect-Thread.git
Computed https://github.com/PerfectlySoft/Perfect-Thread.git at 3.0.7 (0.26s)
Creating working copy for https://github.com/PerfectlySoft/Perfect-SMTP.git
Working copy of https://github.com/PerfectlySoft/Perfect-SMTP.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-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-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/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-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-RequestLogger.git
Working copy of https://github.com/PerfectlySoft/Perfect-RequestLogger.git resolved at 3.0.5
Creating working copy for https://github.com/PerfectlySoft/Perfect-Session-PostgreSQL.git
Working copy of https://github.com/PerfectlySoft/Perfect-Session-PostgreSQL.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-Crypto.git
Working copy of https://github.com/PerfectlySoft/Perfect-Crypto.git resolved at 3.3.0
Creating working copy for https://github.com/SwiftORM/StORM.git
Working copy of https://github.com/SwiftORM/StORM.git resolved at 3.3.0
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-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-PostgreSQL.git
Working copy of https://github.com/PerfectlySoft/Perfect-PostgreSQL.git resolved at 3.2.1
Creating working copy for https://github.com/SwiftORM/Postgres-StORM.git
Working copy of https://github.com/SwiftORM/Postgres-StORM.git resolved at 3.2.1
Creating working copy for https://github.com/iamjono/SwiftMoment.git
Working copy of https://github.com/iamjono/SwiftMoment.git resolved at 1.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-Mustache.git
Working copy of https://github.com/PerfectlySoft/Perfect-Mustache.git resolved at 3.0.2
Creating working copy for https://github.com/iamjono/JSONConfig.git
Working copy of https://github.com/iamjono/JSONConfig.git resolved at 3.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-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-CRUD.git
Working copy of https://github.com/PerfectlySoft/Perfect-CRUD.git resolved at 1.2.3
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 openssl using your system-packager:
    apt-get install openssl libssl-dev
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/45] Compiling SwiftMoment Operators.swift
[3/45] Compiling SwiftMoment TimeUnit.swift
[4/45] Compiling PerfectThread Threading.swift
[5/45] Emitting module PerfectThread
[6/45] Compiling PerfectThread Promise.swift
[7/45] Compiling PerfectThread ThreadQueue.swift
[10/47] Compiling PerfectLib SysProcess.swift
[11/47] Compiling PerfectLib PerfectError.swift
[12/47] Compiling PerfectLib PerfectServer.swift
[13/47] Compiling PerfectLib Log.swift
[14/48] Compiling PerfectLib JSONConvertible.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[15/48] 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 {
                                                                                                                 ^~~~~~
[16/48] 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)
                                                 ^~~~~~~~~~~~~
[17/48] Compiling PerfectCRUD CodingNames.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/48] Compiling PerfectCRUD CodingRows.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) {
                                        ^~~~~~
[21/48] Compiling PerfectCRUD Create.swift
[22/48] Compiling PerfectCRUD Database.swift
[23/51] Compiling PerfectCRUD Logging.swift
[24/51] Compiling PerfectCRUD PerfectCRUD.swift
[25/51] Compiling PerfectCRUD Select.swift
[26/51] Compiling PerfectCRUD In.swift
[27/51] Compiling PerfectCRUD InInts.swift
[28/51] Compiling PerfectCRUD Like.swift
[29/51] Compiling PerfectCRUD Logical.swift
[30/51] Compiling PerfectCRUD Insert.swift
[31/51] Compiling PerfectCRUD Join.swift
[32/51] Emitting module PerfectCRUD
[33/51] Compiling SwiftMoment MomentFromNow.swift
[34/51] Compiling SwiftMoment Extensions.swift
[35/51] Compiling SwiftMoment Moment.swift
[36/51] Compiling PerfectCRUD Delete.swift
[37/51] Compiling PerfectCRUD Comparison.swift
[38/51] Compiling PerfectCRUD ComparisonInts.swift
[39/51] Compiling PerfectCRUD Coding.swift
[40/51] Compiling PerfectCRUD CodingBindings.swift
[41/51] Compiling PerfectCRUD CodingJoins.swift
[42/51] Compiling PerfectCRUD CodingKeyPaths.swift
[43/51] Compiling PerfectCRUD Equality.swift
[44/51] Compiling PerfectCRUD EqualityInts.swift
[45/51] Compiling PerfectCRUD Expression.swift
[46/51] Compiling SwiftMoment Duration.swift
[47/51] Emitting module SwiftMoment
[50/53] Compiling PerfectLib Utilities.swift
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 1