The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Calatrava with Swift 5.7 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.7-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.22.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/enums/calatrava.git
Reference: 5.4.0
Cloned https://github.com/enums/calatrava.git into spi-builder-workspace
SUCCESS checkout https://github.com/enums/calatrava.git at 5.4.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.7
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.7-latest swift build 2>&1
Fetching https://github.com/enums/Pjango-Postman.git
Fetching https://github.com/enums/Pjango.git
Fetching https://github.com/enums/Pjango-MySQL.git
[1/778] Fetching pjango
Fetched https://github.com/enums/Pjango-MySQL.git (0.18s)
Fetched https://github.com/enums/Pjango.git (0.27s)
Fetched https://github.com/enums/Pjango-Postman.git (0.27s)
Computing version for https://github.com/enums/Pjango-MySQL.git
Computed https://github.com/enums/Pjango-MySQL.git at 2.1.0 (0.27s)
Fetching https://github.com/PerfectlySoft/Perfect-MySQL.git
[1/819] Fetching perfect-mysql
Fetched https://github.com/PerfectlySoft/Perfect-MySQL.git (0.35s)
Computing version for https://github.com/enums/Pjango-Postman.git
Computed https://github.com/enums/Pjango-Postman.git at 2.3.0 (0.28s)
Fetching https://github.com/PerfectlySoft/Perfect-CURL.git
Fetching https://github.com/enums/Pjango-SwiftyJSON.git
[1/504] Fetching perfect-curl
Fetched https://github.com/PerfectlySoft/Perfect-CURL.git (0.18s)
Fetched https://github.com/enums/Pjango-SwiftyJSON.git (0.18s)
Computing version for https://github.com/enums/Pjango-SwiftyJSON.git
Computed https://github.com/enums/Pjango-SwiftyJSON.git at 1.0.0 (0.25s)
Computing version for https://github.com/PerfectlySoft/Perfect-CURL.git
Computed https://github.com/PerfectlySoft/Perfect-CURL.git at 3.1.0 (0.90s)
Fetching https://github.com/PerfectlySoft/Perfect-HTTP.git
Fetching https://github.com/PerfectlySoft/Perfect-libcurl.git
[1/808] Fetching perfect-http
Fetched https://github.com/PerfectlySoft/Perfect-libcurl.git (0.18s)
Fetched https://github.com/PerfectlySoft/Perfect-HTTP.git (0.22s)
Computing version for https://github.com/enums/Pjango.git
Computed https://github.com/enums/Pjango.git at 2.2.2 (0.25s)
Fetching https://github.com/PerfectlySoft/Perfect-Mustache.git
Fetching https://github.com/PerfectlySoft/Perfect-HTTPServer.git
[1/234] Fetching perfect-mustache
[235/1684] Fetching perfect-mustache, perfect-httpserver
Fetched https://github.com/PerfectlySoft/Perfect-Mustache.git (0.24s)
Fetched https://github.com/PerfectlySoft/Perfect-HTTPServer.git (0.24s)
Computing version for https://github.com/PerfectlySoft/Perfect-Mustache.git
Computed https://github.com/PerfectlySoft/Perfect-Mustache.git at 3.0.2 (0.26s)
Computing version for https://github.com/PerfectlySoft/Perfect-MySQL.git
Computed https://github.com/PerfectlySoft/Perfect-MySQL.git at 3.5.1 (0.27s)
Fetching https://github.com/PerfectlySoft/Perfect-mysqlclient-Linux.git
Fetching https://github.com/PerfectlySoft/Perfect-CRUD.git
[1/1190] Fetching perfect-crud
Fetched https://github.com/PerfectlySoft/Perfect-CRUD.git (0.26s)
Fetched https://github.com/PerfectlySoft/Perfect-mysqlclient-Linux.git (0.27s)
Computing version for https://github.com/PerfectlySoft/Perfect-CRUD.git
Computed https://github.com/PerfectlySoft/Perfect-CRUD.git at 1.2.3 (0.26s)
Computing version for https://github.com/PerfectlySoft/Perfect-mysqlclient-Linux.git
Computed https://github.com/PerfectlySoft/Perfect-mysqlclient-Linux.git at 2.1.0 (0.25s)
Computing version for https://github.com/PerfectlySoft/Perfect-HTTPServer.git
Computed https://github.com/PerfectlySoft/Perfect-HTTPServer.git at 3.0.23 (0.29s)
Fetching https://github.com/PerfectlySoft/Perfect-Net.git
Fetching https://github.com/PerfectlySoft/Perfect-CZlib-src.git
[1/570] Fetching perfect-net
[571/907] Fetching perfect-net, perfect-czlib-src
Fetched https://github.com/PerfectlySoft/Perfect-CZlib-src.git (0.24s)
Fetched https://github.com/PerfectlySoft/Perfect-Net.git (0.24s)
Computing version for https://github.com/PerfectlySoft/Perfect-CZlib-src.git
Computed https://github.com/PerfectlySoft/Perfect-CZlib-src.git at 0.0.4 (0.27s)
Computing version for https://github.com/PerfectlySoft/Perfect-Net.git
Computed https://github.com/PerfectlySoft/Perfect-Net.git at 3.3.0 (0.29s)
Fetching https://github.com/PerfectlySoft/Perfect-Thread.git
Fetching https://github.com/PerfectlySoft/Perfect-LinuxBridge.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)
Fetched https://github.com/PerfectlySoft/Perfect-LinuxBridge.git (0.23s)
Computing version for https://github.com/PerfectlySoft/Perfect-LinuxBridge.git
Computed https://github.com/PerfectlySoft/Perfect-LinuxBridge.git at 3.1.0 (0.27s)
Computing version for https://github.com/PerfectlySoft/Perfect-Crypto.git
Computed https://github.com/PerfectlySoft/Perfect-Crypto.git at 3.3.0 (0.27s)
Fetching https://github.com/PerfectlySoft/Perfect-COpenSSL-Linux.git
Fetching https://github.com/PerfectlySoft/PerfectLib.git
[1/188] Fetching perfect-copenssl-linux
Fetched https://github.com/PerfectlySoft/Perfect-COpenSSL-Linux.git (0.21s)
[1/10769] Fetching perfectlib
Fetched https://github.com/PerfectlySoft/PerfectLib.git (2.83s)
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-libcurl.git
Computed https://github.com/PerfectlySoft/Perfect-libcurl.git at 2.1.0 (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)
Computing version for https://github.com/PerfectlySoft/PerfectLib.git
Computed https://github.com/PerfectlySoft/PerfectLib.git at 3.1.4 (0.30s)
Computing version for https://github.com/PerfectlySoft/Perfect-HTTP.git
Computed https://github.com/PerfectlySoft/Perfect-HTTP.git at 3.3.0 (0.32s)
Creating working copy for https://github.com/PerfectlySoft/Perfect-HTTPServer.git
Working copy of https://github.com/PerfectlySoft/Perfect-HTTPServer.git resolved at 3.0.23
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/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-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/enums/Pjango-MySQL.git
Working copy of https://github.com/enums/Pjango-MySQL.git resolved at 2.1.0
Creating working copy for https://github.com/PerfectlySoft/Perfect-mysqlclient-Linux.git
Working copy of https://github.com/PerfectlySoft/Perfect-mysqlclient-Linux.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-MySQL.git
Working copy of https://github.com/PerfectlySoft/Perfect-MySQL.git resolved at 3.5.1
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-CZlib-src.git
Working copy of https://github.com/PerfectlySoft/Perfect-CZlib-src.git resolved at 0.0.4
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-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-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-HTTP.git
Working copy of https://github.com/PerfectlySoft/Perfect-HTTP.git resolved at 3.3.0
Creating working copy for https://github.com/enums/Pjango-Postman.git
Working copy of https://github.com/enums/Pjango-Postman.git resolved at 2.3.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/enums/Pjango.git
Working copy of https://github.com/enums/Pjango.git resolved at 2.2.2
Creating working copy for https://github.com/enums/Pjango-SwiftyJSON.git
Working copy of https://github.com/enums/Pjango-SwiftyJSON.git resolved at 1.0.0
warning: 'perfect-libcurl': ignoring declared target(s) 'cURL' in the system package
warning: 'perfect-mysqlclient-linux': ignoring declared target(s) 'mysqlclient' 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 mysqlclient using your system-packager:
    apt-get install libmysqlclient-dev

Building for debugging...
[0/33] Compiling PerfectCZlib uncompr.c
[1/33] Compiling PerfectCZlib zutil.c
[2/33] Compiling PerfectCZlib inftrees.c
[2/33] Compiling PerfectCZlib inflate.c
[2/33] Compiling PerfectCZlib inffast.c
[5/33] Compiling PerfectCZlib trees.c
[6/33] Compiling PerfectCZlib infback.c
[7/33] Compiling PerfectCZlib gzread.c
[8/33] Compiling PerfectCZlib compress.c
[9/33] Compiling PerfectCZlib adler32.c
[10/33] Compiling PerfectCZlib gzwrite.c
[11/33] Compiling PerfectCZlib gzclose.c
[12/33] Compiling PerfectCZlib gzlib.c
[13/35] Compiling PerfectCZlib crc32.c
[14/35] Compiling LinuxBridge LinuxBridge.c
[15/59] Compiling PerfectCZlib deflate.c
[16/61] Compiling PerfectCHTTPParser http_parser.c
error: emit-module command failed with exit code 1 (use -v to see invocation)[18/72] 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 {
                                                                                                                 ^~~~~~
[19/73] Compiling PerfectThread Promise.swift
[20/73] Emitting module PerfectThread
[21/73] Compiling PerfectThread Threading.swift
[22/73] Compiling PerfectLib Log.swift
[23/73] Compiling PerfectLib PerfectServer.swift
[24/73] Compiling PerfectLib PerfectError.swift
[25/73] Compiling PerfectLib SysProcess.swift
[26/73] Compiling PerfectThread ThreadQueue.swift
[28/75] Wrapping AST for PerfectThread for debugging
[30/75] Compiling PerfectLib JSONConvertible.swift
[31/75] 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:118:26: error: type of expression is ambiguous without more context
                                        let we_wordv = wexp.we_wordv else {
                                                       ~~~~~^~~~~~~~
/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:124:30: error: type of expression is ambiguous without more context
                        if let resolved = we_wordv[0], let pth = String(validatingUTF8: resolved) {
                                          ~~~~~~~~^~~
/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)
                                                 ^~~~~~~~~~~~~
[32/75] 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:164:48: error: type of expression is ambiguous without more context
                guard let (_, elem) = childGen.next() else {
                                      ~~~~~~~~~^~~~~~
/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) {
                                        ^~~~~~
[33/75] 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:164:48: error: type of expression is ambiguous without more context
                guard let (_, elem) = childGen.next() else {
                                      ~~~~~~~~~^~~~~~
/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) {
                                        ^~~~~~
[34/75] Compiling PerfectCRUD In.swift
[35/75] Compiling PerfectCRUD InInts.swift
[36/75] Compiling PerfectCRUD Like.swift
[37/78] Compiling PerfectCRUD Equality.swift
[38/78] Compiling PerfectCRUD EqualityInts.swift
[39/78] Compiling PerfectCRUD Expression.swift
[40/78] Compiling PerfectLib Utilities.swift
[41/78] Compiling SwiftyJSON SwiftyJSON.swift
/host/spi-builder-workspace/.build/checkouts/Pjango-SwiftyJSON/Sources/SwiftyJSON/SwiftyJSON.swift:1323:30: error: ambiguous use of operator '<'
        return lhs.rawNumber < rhs.rawNumber
                             ^
/host/spi-builder-workspace/.build/checkouts/Pjango-SwiftyJSON/Sources/SwiftyJSON/SwiftyJSON.swift:1364:6: note: found this candidate
func < (lhs: NSNumber, rhs: NSNumber) -> Bool {
     ^
Foundation.NSNumber:2:24: note: found this candidate
    public static func < (lhs: NSNumber, rhs: NSNumber) -> Bool
                       ^
[42/78] Emitting module SwiftyJSON
[45/78] Compiling PerfectCRUD Create.swift
[46/78] Compiling PerfectCRUD Database.swift
[47/78] Compiling PerfectCRUD Delete.swift
[48/78] Compiling PerfectCRUD Comparison.swift
[49/78] Compiling PerfectCRUD ComparisonInts.swift
BUILD FAILURE 5.7 linux

Build Machine: Linux 1