The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Calatrava with Swift 5.10 for Linux.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/enums/calatrava.git
Reference: 5.4.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/enums/calatrava
 * tag               5.4.0      -> FETCH_HEAD
HEAD is now at e25ce3a Update README.md
Cloned https://github.com/enums/calatrava.git
Revision (git rev-parse @):
e25ce3ab95e1569ed63f220fa7a9943183409d27
SUCCESS checkout https://github.com/enums/calatrava.git at 5.4.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/enums/calatrava.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/enums/Pjango-MySQL.git
Fetching https://github.com/enums/Pjango-Postman.git
Fetching https://github.com/enums/Pjango.git
[1/778] Fetching pjango
[79/815] Fetching pjango, pjango-postman
[815/906] Fetching pjango, pjango-postman, pjango-mysql
Fetched https://github.com/enums/Pjango-Postman.git from cache (0.28s)
Fetched https://github.com/enums/Pjango-MySQL.git from cache (0.28s)
Fetched https://github.com/enums/Pjango.git from cache (0.28s)
Computing version for https://github.com/enums/Pjango-MySQL.git
Computed https://github.com/enums/Pjango-MySQL.git at 2.1.0 (0.40s)
Fetching https://github.com/PerfectlySoft/Perfect-MySQL.git
[1/819] Fetching perfect-mysql
Fetched https://github.com/PerfectlySoft/Perfect-MySQL.git from cache (0.43s)
Computing version for https://github.com/enums/Pjango-Postman.git
Computed https://github.com/enums/Pjango-Postman.git at 2.3.0 (0.38s)
Fetching https://github.com/enums/Pjango-SwiftyJSON.git
Fetching https://github.com/PerfectlySoft/Perfect-CURL.git
[1/11] Fetching pjango-swiftyjson
[12/515] Fetching pjango-swiftyjson, perfect-curl
Fetched https://github.com/enums/Pjango-SwiftyJSON.git from cache (0.23s)
Fetched https://github.com/PerfectlySoft/Perfect-CURL.git from cache (0.23s)
Computing version for https://github.com/enums/Pjango-SwiftyJSON.git
Computed https://github.com/enums/Pjango-SwiftyJSON.git at 1.0.0 (0.38s)
Computing version for https://github.com/PerfectlySoft/Perfect-CURL.git
Computed https://github.com/PerfectlySoft/Perfect-CURL.git at 3.1.0 (1.03s)
Fetching https://github.com/PerfectlySoft/Perfect-libcurl.git
Fetching https://github.com/PerfectlySoft/Perfect-HTTP.git
[1/808] Fetching perfect-http
[809/885] Fetching perfect-http, perfect-libcurl
Fetched https://github.com/PerfectlySoft/Perfect-HTTP.git from cache (0.27s)
Fetched https://github.com/PerfectlySoft/Perfect-libcurl.git from cache (0.27s)
Computing version for https://github.com/enums/Pjango.git
Computed https://github.com/enums/Pjango.git at 2.2.2 (0.39s)
Fetching https://github.com/PerfectlySoft/Perfect-Mustache.git
Fetching https://github.com/PerfectlySoft/Perfect-HTTPServer.git
[1/1450] Fetching perfect-httpserver
[1379/1684] Fetching perfect-httpserver, perfect-mustache
Fetched https://github.com/PerfectlySoft/Perfect-Mustache.git from cache (0.33s)
Fetched https://github.com/PerfectlySoft/Perfect-HTTPServer.git from cache (0.33s)
Computing version for https://github.com/PerfectlySoft/Perfect-Mustache.git
Computed https://github.com/PerfectlySoft/Perfect-Mustache.git at 3.0.2 (0.39s)
Computing version for https://github.com/PerfectlySoft/Perfect-MySQL.git
Computed https://github.com/PerfectlySoft/Perfect-MySQL.git at 3.5.1 (0.41s)
Fetching https://github.com/PerfectlySoft/Perfect-CRUD.git
Fetching https://github.com/PerfectlySoft/Perfect-mysqlclient-Linux.git
[1/1190] Fetching perfect-crud
[1191/1235] Fetching perfect-crud, perfect-mysqlclient-linux
Fetched https://github.com/PerfectlySoft/Perfect-CRUD.git from cache (0.28s)
Fetched https://github.com/PerfectlySoft/Perfect-mysqlclient-Linux.git from cache (0.29s)
Computing version for https://github.com/PerfectlySoft/Perfect-CRUD.git
Computed https://github.com/PerfectlySoft/Perfect-CRUD.git at 1.2.3 (0.38s)
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.38s)
Computing version for https://github.com/PerfectlySoft/Perfect-HTTPServer.git
Computed https://github.com/PerfectlySoft/Perfect-HTTPServer.git at 3.0.23 (0.41s)
Fetching https://github.com/PerfectlySoft/Perfect-CZlib-src.git
Fetching https://github.com/PerfectlySoft/Perfect-Net.git
[1/570] Fetching perfect-net
[432/907] Fetching perfect-net, perfect-czlib-src
Fetched https://github.com/PerfectlySoft/Perfect-Net.git from cache (0.27s)
Fetched https://github.com/PerfectlySoft/Perfect-CZlib-src.git from cache (0.27s)
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.38s)
Computing version for https://github.com/PerfectlySoft/Perfect-Net.git
Computed https://github.com/PerfectlySoft/Perfect-Net.git at 3.3.0 (0.39s)
Fetching https://github.com/PerfectlySoft/Perfect-LinuxBridge.git
Fetching https://github.com/PerfectlySoft/Perfect-Crypto.git
Fetching https://github.com/PerfectlySoft/Perfect-Thread.git
[1/379] Fetching perfect-thread
[380/444] Fetching perfect-thread, perfect-linuxbridge
[445/1056] Fetching perfect-thread, perfect-linuxbridge, perfect-crypto
Fetched https://github.com/PerfectlySoft/Perfect-Crypto.git from cache (0.25s)
Fetched https://github.com/PerfectlySoft/Perfect-Thread.git from cache (0.25s)
Fetched https://github.com/PerfectlySoft/Perfect-LinuxBridge.git from cache (0.25s)
Computing version for https://github.com/PerfectlySoft/Perfect-LinuxBridge.git
Computed https://github.com/PerfectlySoft/Perfect-LinuxBridge.git at 3.1.0 (0.39s)
Computing version for https://github.com/PerfectlySoft/Perfect-Crypto.git
Computed https://github.com/PerfectlySoft/Perfect-Crypto.git at 3.3.0 (0.39s)
Fetching https://github.com/PerfectlySoft/PerfectLib.git
Fetching https://github.com/PerfectlySoft/Perfect-COpenSSL-Linux.git
[1/188] Fetching perfect-copenssl-linux
[189/10972] Fetching perfect-copenssl-linux, perfectlib
Fetched https://github.com/PerfectlySoft/Perfect-COpenSSL-Linux.git from cache (0.23s)
[1295/10784] Fetching perfectlib
Fetched https://github.com/PerfectlySoft/PerfectLib.git from cache (2.74s)
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.39s)
Computing version for https://github.com/PerfectlySoft/Perfect-libcurl.git
Computed https://github.com/PerfectlySoft/Perfect-libcurl.git at 2.1.0 (0.37s)
Computing version for https://github.com/PerfectlySoft/Perfect-Thread.git
Computed https://github.com/PerfectlySoft/Perfect-Thread.git at 3.0.7 (0.39s)
Computing version for https://github.com/PerfectlySoft/PerfectLib.git
Computed https://github.com/PerfectlySoft/PerfectLib.git at 3.1.4 (0.39s)
Computing version for https://github.com/PerfectlySoft/Perfect-HTTP.git
Computed https://github.com/PerfectlySoft/Perfect-HTTP.git at 3.3.0 (2.16s)
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/enums/Pjango-SwiftyJSON.git
Working copy of https://github.com/enums/Pjango-SwiftyJSON.git resolved at 1.0.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-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-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/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-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-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-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-LinuxBridge.git
Working copy of https://github.com/PerfectlySoft/Perfect-LinuxBridge.git resolved at 3.1.0
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/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/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-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-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-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-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-mysqlclient-Linux.git
Working copy of https://github.com/PerfectlySoft/Perfect-mysqlclient-Linux.git resolved at 2.1.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 mysqlclient using your system-packager:
    apt-get install libmysqlclient-dev
Building for debugging...
[0/50] Compiling PerfectCZlib compress.c
[1/50] Compiling PerfectCZlib gzclose.c
[1/50] Write sources
[14/50] Compiling LinuxBridge LinuxBridge.c
[15/50] Compiling PerfectCZlib adler32.c
[16/50] Compiling PerfectCZlib gzlib.c
[17/50] Compiling PerfectCZlib crc32.c
[18/50] Compiling PerfectCZlib zutil.c
[19/50] Compiling PerfectCZlib uncompr.c
[20/50] Compiling PerfectCZlib deflate.c
[21/50] Compiling PerfectCHTTPParser http_parser.c
[22/50] Compiling PerfectCZlib inftrees.c
[23/50] Write sources
[26/50] Compiling PerfectCZlib inffast.c
[27/50] Compiling PerfectCZlib trees.c
[28/50] Compiling PerfectCZlib inflate.c
[29/50] Compiling PerfectCZlib gzwrite.c
[30/50] Compiling PerfectCZlib infback.c
[31/50] Write swift-version-24593BA9C3E375BF.txt
[32/50] Compiling PerfectCZlib gzread.c
[34/89] Emitting module PerfectThread
[35/89] Compiling PerfectLib SysProcess.swift
[36/89] Compiling PerfectThread Threading.swift
[37/90] Compiling PerfectLib Log.swift
[38/90] Compiling PerfectLib PerfectServer.swift
[39/90] Compiling PerfectLib PerfectError.swift
[40/90] Compiling PerfectLib JSONConvertible.swift
[41/90] Compiling PerfectThread Promise.swift
[42/90] Compiling PerfectThread ThreadQueue.swift
[43/91] Wrapping AST for PerfectThread for debugging
[45/91] Emitting module SwiftyJSON
[46/91] 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
                       ^
error: fatalError
[47/91] Compiling PerfectCRUD Logging.swift
[48/91] Compiling PerfectCRUD PerfectCRUD.swift
[49/91] Compiling PerfectCRUD Select.swift
[50/91] Compiling PerfectCRUD Logical.swift
[51/91] Compiling PerfectCRUD Insert.swift
[52/91] Compiling PerfectCRUD Join.swift
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 mysqlclient using your system-packager:
    apt-get install libmysqlclient-dev
[0/1] Planning build
Building for debugging...
[0/18] Write swift-version-24593BA9C3E375BF.txt
[2/46] 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) {
                                        ^~~~~~
[3/46] Emitting module PerfectCRUD
[4/48] Emitting module SwiftyJSON
[5/48] 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
                       ^
error: fatalError
error: emit-module command failed with exit code 1 (use -v to see invocation)
BUILD FAILURE 5.10 linux

Build Machine: Linux 1