The Swift Package Index logo.Swift Package Index

Build Information

Failed to build IBMCloudAppID with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-1":/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/ibm-cloud-security/appid-serversdk-swift.git
Reference: master
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/ibm-cloud-security/appid-serversdk-swift
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at b1ea38a Merge pull request #99 from ibm-cloud-security/development
Cloned https://github.com/ibm-cloud-security/appid-serversdk-swift.git
Revision (git rev-parse @):
b1ea38ae65c3438591520f7c34d7e751fe92d873
SUCCESS checkout https://github.com/ibm-cloud-security/appid-serversdk-swift.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/ibm-cloud-security/appid-serversdk-swift.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/ibm-cloud-security/Swift-JWT-to-PEM.git
Fetching https://github.com/IBM-Swift/SwiftyRequest.git
Fetching https://github.com/IBM-Swift/LoggerAPI.git
Fetching https://github.com/IBM-Swift/BlueRSA.git
Fetching https://github.com/IBM-Swift/Kitura-Session.git
Fetching https://github.com/IBM-Swift/Kitura-Credentials.git
[1/771] Fetching loggerapi
[410/2332] Fetching loggerapi, kitura-session
[1093/4289] Fetching loggerapi, kitura-session, bluersa
[3170/6086] Fetching loggerapi, kitura-session, bluersa, kitura-credentials
[4594/6208] Fetching loggerapi, kitura-session, bluersa, kitura-credentials, swift-jwt-to-pem
[4911/8267] Fetching loggerapi, kitura-session, bluersa, kitura-credentials, swift-jwt-to-pem, swiftyrequest
Fetched https://github.com/IBM-Swift/LoggerAPI.git from cache (0.40s)
Fetching https://github.com/IBM-Swift/SwiftyJSON.git
Fetched https://github.com/IBM-Swift/Kitura-Session.git from cache (0.40s)
Fetched https://github.com/IBM-Swift/BlueRSA.git from cache (0.45s)
Fetched https://github.com/ibm-cloud-security/Swift-JWT-to-PEM.git from cache (0.45s)
Fetched https://github.com/IBM-Swift/Kitura-Credentials.git from cache (0.46s)
Fetched https://github.com/IBM-Swift/SwiftyRequest.git from cache (0.46s)
[1/2687] Fetching swiftyjson
Fetched https://github.com/IBM-Swift/SwiftyJSON.git from cache (0.33s)
Computing version for https://github.com/ibm-cloud-security/Swift-JWT-to-PEM.git
Computed https://github.com/ibm-cloud-security/Swift-JWT-to-PEM.git at 0.4.0 (0.45s)
Fetching https://github.com/IBM-Swift/OpenSSL.git
[1/203] Fetching openssl
Fetched https://github.com/IBM-Swift/OpenSSL.git from cache (0.26s)
Computing version for https://github.com/IBM-Swift/SwiftyRequest.git
Computed https://github.com/IBM-Swift/SwiftyRequest.git at 2.2.1 (1.40s)
Fetching https://github.com/IBM-Swift/CircuitBreaker.git
[1/1729] Fetching circuitbreaker
Fetched https://github.com/IBM-Swift/CircuitBreaker.git from cache (0.32s)
Computing version for https://github.com/IBM-Swift/SwiftyJSON.git
Computed https://github.com/IBM-Swift/SwiftyJSON.git at 17.0.5 (0.42s)
Computing version for https://github.com/IBM-Swift/CircuitBreaker.git
Computed https://github.com/IBM-Swift/CircuitBreaker.git at 5.1.0 (0.48s)
Computing version for https://github.com/IBM-Swift/LoggerAPI.git
Computed https://github.com/IBM-Swift/LoggerAPI.git at 1.9.200 (0.47s)
Fetching https://github.com/apple/swift-log.git
[1/3159] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.38s)
Computing version for https://github.com/IBM-Swift/Kitura-Credentials.git
Computed https://github.com/IBM-Swift/Kitura-Credentials.git at 2.5.200 (0.48s)
Computing version for https://github.com/IBM-Swift/Kitura-Session.git
Computed https://github.com/IBM-Swift/Kitura-Session.git at 3.3.201 (0.46s)
Fetching https://github.com/Kitura/BlueCryptor.git
Fetching https://github.com/Kitura/Kitura.git
[1/1638] Fetching bluecryptor
[1639/18547] Fetching bluecryptor, kitura
Fetched https://github.com/Kitura/BlueCryptor.git from cache (1.13s)
Fetched https://github.com/Kitura/Kitura.git from cache (1.15s)
Computing version for https://github.com/Kitura/BlueCryptor.git
Computed https://github.com/Kitura/BlueCryptor.git at 1.0.200 (0.50s)
Computing version for https://github.com/IBM-Swift/OpenSSL.git
Computed https://github.com/IBM-Swift/OpenSSL.git at 2.3.1 (0.46s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.5.4 (0.50s)
Computing version for https://github.com/Kitura/Kitura.git
Computed https://github.com/Kitura/Kitura.git at 2.9.200 (0.47s)
Fetching https://github.com/Kitura/TypeDecoder.git
Fetching https://github.com/Kitura/KituraContracts.git
Fetching https://github.com/Kitura/Kitura-TemplateEngine.git
Fetching https://github.com/Kitura/Kitura-net.git
[1/2543] Fetching kituracontracts
[205/2981] Fetching kituracontracts, kitura-templateengine
[872/3440] Fetching kituracontracts, kitura-templateengine, typedecoder
[1627/12984] Fetching kituracontracts, kitura-templateengine, typedecoder, kitura-net
Fetched https://github.com/Kitura/KituraContracts.git from cache (0.42s)
[4047/10441] Fetching kitura-templateengine, typedecoder, kitura-net
Fetched https://github.com/Kitura/Kitura-TemplateEngine.git from cache (0.72s)
Fetched https://github.com/Kitura/TypeDecoder.git from cache (0.73s)
Fetched https://github.com/Kitura/Kitura-net.git from cache (0.74s)
Computing version for https://github.com/Kitura/Kitura-TemplateEngine.git
Computed https://github.com/Kitura/Kitura-TemplateEngine.git at 2.0.200 (0.43s)
Computing version for https://github.com/Kitura/Kitura-net.git
Computed https://github.com/Kitura/Kitura-net.git at 2.4.200 (0.52s)
Fetching https://github.com/Kitura/BlueSSLService.git
Fetching https://github.com/Kitura/BlueSignals.git
Fetching https://github.com/Kitura/BlueSocket.git
[1/2942] Fetching bluesocket
[737/3596] Fetching bluesocket, bluesignals
[751/5684] Fetching bluesocket, bluesignals, bluesslservice
Fetched https://github.com/Kitura/BlueSSLService.git from cache (0.34s)
Fetched https://github.com/Kitura/BlueSignals.git from cache (0.34s)
Fetched https://github.com/Kitura/BlueSocket.git from cache (0.48s)
Computing version for https://github.com/Kitura/BlueSignals.git
Computed https://github.com/Kitura/BlueSignals.git at 1.0.200 (0.45s)
Computing version for https://github.com/Kitura/BlueSSLService.git
Computed https://github.com/Kitura/BlueSSLService.git at 1.0.200 (0.49s)
Computing version for https://github.com/Kitura/BlueSocket.git
Computed https://github.com/Kitura/BlueSocket.git at 1.0.200 (0.47s)
Computing version for https://github.com/Kitura/TypeDecoder.git
Computed https://github.com/Kitura/TypeDecoder.git at 1.3.201 (0.46s)
Computing version for https://github.com/Kitura/KituraContracts.git
Computed https://github.com/Kitura/KituraContracts.git at 1.2.201 (0.45s)
Computing version for https://github.com/IBM-Swift/BlueRSA.git
Computed https://github.com/IBM-Swift/BlueRSA.git at 1.0.201 (0.47s)
Creating working copy for https://github.com/Kitura/KituraContracts.git
Working copy of https://github.com/Kitura/KituraContracts.git resolved at 1.2.201
Creating working copy for https://github.com/IBM-Swift/BlueRSA.git
Working copy of https://github.com/IBM-Swift/BlueRSA.git resolved at 1.0.201
Creating working copy for https://github.com/Kitura/BlueSocket.git
Working copy of https://github.com/Kitura/BlueSocket.git resolved at 1.0.200
Creating working copy for https://github.com/IBM-Swift/SwiftyJSON.git
Working copy of https://github.com/IBM-Swift/SwiftyJSON.git resolved at 17.0.5
Creating working copy for https://github.com/IBM-Swift/Kitura-Credentials.git
Working copy of https://github.com/IBM-Swift/Kitura-Credentials.git resolved at 2.5.200
Creating working copy for https://github.com/IBM-Swift/LoggerAPI.git
Working copy of https://github.com/IBM-Swift/LoggerAPI.git resolved at 1.9.200
Creating working copy for https://github.com/Kitura/BlueSignals.git
Working copy of https://github.com/Kitura/BlueSignals.git resolved at 1.0.200
Creating working copy for https://github.com/Kitura/Kitura-TemplateEngine.git
Working copy of https://github.com/Kitura/Kitura-TemplateEngine.git resolved at 2.0.200
Creating working copy for https://github.com/IBM-Swift/SwiftyRequest.git
Working copy of https://github.com/IBM-Swift/SwiftyRequest.git resolved at 2.2.1
Creating working copy for https://github.com/Kitura/Kitura.git
Working copy of https://github.com/Kitura/Kitura.git resolved at 2.9.200
Creating working copy for https://github.com/ibm-cloud-security/Swift-JWT-to-PEM.git
Working copy of https://github.com/ibm-cloud-security/Swift-JWT-to-PEM.git resolved at 0.4.0
Creating working copy for https://github.com/Kitura/Kitura-net.git
Working copy of https://github.com/Kitura/Kitura-net.git resolved at 2.4.200
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.5.4
Creating working copy for https://github.com/Kitura/BlueSSLService.git
Working copy of https://github.com/Kitura/BlueSSLService.git resolved at 1.0.200
Creating working copy for https://github.com/Kitura/TypeDecoder.git
Working copy of https://github.com/Kitura/TypeDecoder.git resolved at 1.3.201
Creating working copy for https://github.com/Kitura/BlueCryptor.git
Working copy of https://github.com/Kitura/BlueCryptor.git resolved at 1.0.200
Creating working copy for https://github.com/IBM-Swift/Kitura-Session.git
Working copy of https://github.com/IBM-Swift/Kitura-Session.git resolved at 3.3.201
Creating working copy for https://github.com/IBM-Swift/OpenSSL.git
Working copy of https://github.com/IBM-Swift/OpenSSL.git resolved at 2.3.1
Creating working copy for https://github.com/IBM-Swift/CircuitBreaker.git
Working copy of https://github.com/IBM-Swift/CircuitBreaker.git resolved at 5.1.0
warning: 'bluecryptor': 'bluecryptor' dependency on 'https://github.com/Kitura/OpenSSL.git' conflicts with dependency on 'https://github.com/IBM-Swift/OpenSSL.git' which has the same identity 'openssl'. this will be escalated to an error in future versions of SwiftPM.
warning: 'bluersa': 'bluersa' dependency on 'https://github.com/Kitura/OpenSSL.git' conflicts with dependency on 'https://github.com/IBM-Swift/OpenSSL.git' which has the same identity 'openssl'. this will be escalated to an error in future versions of SwiftPM.
warning: 'bluesslservice': 'bluesslservice' dependency on 'https://github.com/Kitura/OpenSSL.git' conflicts with dependency on 'https://github.com/IBM-Swift/OpenSSL.git' which has the same identity 'openssl'. this will be escalated to an error in future versions of SwiftPM.
warning: 'circuitbreaker': 'circuitbreaker' dependency on 'https://github.com/Kitura/LoggerAPI.git' conflicts with dependency on 'https://github.com/IBM-Swift/LoggerAPI.git' which has the same identity 'loggerapi'. this will be escalated to an error in future versions of SwiftPM.
warning: 'kitura': 'kitura' dependency on 'https://github.com/Kitura/LoggerAPI.git' conflicts with dependency on 'https://github.com/IBM-Swift/LoggerAPI.git' which has the same identity 'loggerapi'. this will be escalated to an error in future versions of SwiftPM.
warning: 'kitura-credentials': 'kitura-credentials' dependency on 'https://github.com/Kitura/Kitura-Session.git' conflicts with dependency on 'https://github.com/IBM-Swift/Kitura-Session.git' which has the same identity 'kitura-session'. this will be escalated to an error in future versions of SwiftPM.
warning: 'kitura-net': 'kitura-net' dependency on 'https://github.com/Kitura/LoggerAPI.git' conflicts with dependency on 'https://github.com/IBM-Swift/LoggerAPI.git' which has the same identity 'loggerapi'. this will be escalated to an error in future versions of SwiftPM.
warning: 'kituracontracts': 'kituracontracts' dependency on 'https://github.com/Kitura/LoggerAPI.git' conflicts with dependency on 'https://github.com/IBM-Swift/LoggerAPI.git' which has the same identity 'loggerapi'. this will be escalated to an error in future versions of SwiftPM.
Building for debugging...
[0/22] Write sources
[19/22] Compiling CHTTPParser utils.c
[20/22] Write swift-version-24593BA9C3E375BF.txt
[21/22] Compiling CHTTPParser http_parser.c
[23/60] Emitting module Logging
[24/60] Emitting module Socket
[25/60] Compiling KituraTemplateEngine TemplateEngine.swift
[26/60] Emitting module KituraTemplateEngine
[28/61] Emitting module TypeDecoder
[29/68] Compiling CryptorRSA CryptorRSAConstants.swift
[30/69] Compiling CryptorRSA Data+Extensions.swift
[31/69] Compiling SwiftyJSON SwiftyJSON.swift
/host/spi-builder-workspace/.build/checkouts/SwiftyJSON/Sources/SwiftyJSON/SwiftyJSON.swift:301:10: error: cannot find 'kCFNumberFloat32Type' in scope
    case kCFNumberFloat32Type:
         ^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftyJSON/Sources/SwiftyJSON/SwiftyJSON.swift:303:10: error: cannot find 'kCFNumberFloat64Type' in scope
    case kCFNumberFloat64Type:
         ^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftyJSON/Sources/SwiftyJSON/SwiftyJSON.swift:1567:29: error: cannot find 'kCFNumberSInt8Type' in scope
                if  type == kCFNumberSInt8Type  &&
                            ^~~~~~~~~~~~~~~~~~
[32/69] Compiling Cryptor Digest.swift
[33/69] Compiling Cryptor HMAC.swift
[34/69] Compiling Cryptor Updatable.swift
[35/70] Compiling CryptorRSA CryptorRSA.swift
/host/spi-builder-workspace/.build/checkouts/BlueRSA/Sources/CryptorRSA/CryptorRSA.swift:476:61: error: cannot find 'EVP_PKEY_size' in scope
                                ek = UnsafeMutablePointer<UInt8>.allocate(capacity: Int(EVP_PKEY_size(.make(optional: key.reference))))
                                                                                        ^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/BlueRSA/Sources/CryptorRSA/CryptorRSA.swift:476:76: error: cannot infer contextual base in reference to member 'make'
                                ek = UnsafeMutablePointer<UInt8>.allocate(capacity: Int(EVP_PKEY_size(.make(optional: key.reference))))
                                                                                                      ~^~~~
/host/spi-builder-workspace/.build/checkouts/BlueRSA/Sources/CryptorRSA/CryptorRSA.swift:481:20: error: cannot find 'EVP_CIPHER_iv_length' in scope
                                let IVLength = EVP_CIPHER_iv_length(.make(optional: enc))
                                               ^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/BlueRSA/Sources/CryptorRSA/CryptorRSA.swift:481:42: error: cannot infer contextual base in reference to member 'make'
                                let IVLength = EVP_CIPHER_iv_length(.make(optional: enc))
                                                                    ~^~~~
/host/spi-builder-workspace/.build/checkouts/BlueRSA/Sources/CryptorRSA/CryptorRSA.swift:688:28: error: cannot find 'EVP_PKEY_size' in scope
                                let encKeyLength = Int(EVP_PKEY_size(.make(optional: key.reference)))
                                                       ^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/BlueRSA/Sources/CryptorRSA/CryptorRSA.swift:688:43: error: cannot infer contextual base in reference to member 'make'
                                let encKeyLength = Int(EVP_PKEY_size(.make(optional: key.reference)))
                                                                     ~^~~~
/host/spi-builder-workspace/.build/checkouts/BlueRSA/Sources/CryptorRSA/CryptorRSA.swift:690:27: error: cannot find 'EVP_CIPHER_iv_length' in scope
                                let encIVLength = Int(EVP_CIPHER_iv_length(.make(optional: encType)))
                                                      ^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/BlueRSA/Sources/CryptorRSA/CryptorRSA.swift:690:49: error: cannot infer contextual base in reference to member 'make'
                                let encIVLength = Int(EVP_CIPHER_iv_length(.make(optional: encType)))
                                                                           ~^~~~
/host/spi-builder-workspace/.build/checkouts/BlueRSA/Sources/CryptorRSA/CryptorRSA.swift:697:74: error: cannot convert value of type 'String' to expected argument type 'Data.Index' (aka 'Int')
                                let encryptedData = self.data.subdata(in: encKeyLength..<encKeyLength+encryptedDataLength)
                                                                                                     ^
/host/spi-builder-workspace/.build/checkouts/BlueRSA/Sources/CryptorRSA/CryptorRSA.swift:698:57: error: cannot convert value of type 'String' to expected argument type 'Data.Index' (aka 'Int')
                                let encryptedIV = self.data.subdata(in: encKeyLength+encryptedDataLength..<self.data.count)
                                                                                    ^
[36/70] Compiling CryptorRSA CryptorRSAErrors.swift
[37/70] Emitting module CryptorRSA
[38/70] Emitting module SwiftyJSON
[39/70] Compiling Logging Locks.swift
[40/70] Compiling CryptorRSA CryptorRSADigest.swift
[41/70] Compiling SwiftyJSON LclJSONSerialization.swift
[42/70] Compiling Socket SocketUtils.swift
[43/70] Compiling Logging MetadataProvider.swift
[44/70] Compiling CryptorRSA CryptorRSAUtilities.swift
error: fatalError
[45/70] Compiling Cryptor StreamCryptor.swift
warning: 'bluecryptor': 'bluecryptor' dependency on 'https://github.com/Kitura/OpenSSL.git' conflicts with dependency on 'https://github.com/IBM-Swift/OpenSSL.git' which has the same identity 'openssl'. this will be escalated to an error in future versions of SwiftPM.
warning: 'bluersa': 'bluersa' dependency on 'https://github.com/Kitura/OpenSSL.git' conflicts with dependency on 'https://github.com/IBM-Swift/OpenSSL.git' which has the same identity 'openssl'. this will be escalated to an error in future versions of SwiftPM.
warning: 'bluesslservice': 'bluesslservice' dependency on 'https://github.com/Kitura/OpenSSL.git' conflicts with dependency on 'https://github.com/IBM-Swift/OpenSSL.git' which has the same identity 'openssl'. this will be escalated to an error in future versions of SwiftPM.
warning: 'circuitbreaker': 'circuitbreaker' dependency on 'https://github.com/Kitura/LoggerAPI.git' conflicts with dependency on 'https://github.com/IBM-Swift/LoggerAPI.git' which has the same identity 'loggerapi'. this will be escalated to an error in future versions of SwiftPM.
warning: 'kitura': 'kitura' dependency on 'https://github.com/Kitura/LoggerAPI.git' conflicts with dependency on 'https://github.com/IBM-Swift/LoggerAPI.git' which has the same identity 'loggerapi'. this will be escalated to an error in future versions of SwiftPM.
warning: 'kitura-credentials': 'kitura-credentials' dependency on 'https://github.com/Kitura/Kitura-Session.git' conflicts with dependency on 'https://github.com/IBM-Swift/Kitura-Session.git' which has the same identity 'kitura-session'. this will be escalated to an error in future versions of SwiftPM.
warning: 'kitura-net': 'kitura-net' dependency on 'https://github.com/Kitura/LoggerAPI.git' conflicts with dependency on 'https://github.com/IBM-Swift/LoggerAPI.git' which has the same identity 'loggerapi'. this will be escalated to an error in future versions of SwiftPM.
warning: 'kituracontracts': 'kituracontracts' dependency on 'https://github.com/Kitura/LoggerAPI.git' conflicts with dependency on 'https://github.com/IBM-Swift/LoggerAPI.git' which has the same identity 'loggerapi'. this will be escalated to an error in future versions of SwiftPM.
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/25] Emitting module Signals
[3/25] Compiling Signals Signals.swift
[4/34] Compiling Socket SocketProtocols.swift
[6/35] Compiling CryptorRSA SSLPointerTricks.swift
[7/37] Emitting module Logging
[8/37] Emitting module TypeDecoder
[9/37] Compiling Cryptor Crypto.swift
[10/38] Compiling Cryptor Random.swift
[11/39] Compiling Cryptor Cryptor.swift
[12/39] Emitting module Cryptor
[13/39] Compiling Cryptor KeyDerivation.swift
[14/41] Compiling Cryptor Status.swift
[15/41] Compiling Cryptor SSLPointerTricks.swift
[16/41] Compiling Cryptor Utilities.swift
[17/41] Compiling Socket SocketUtils.swift
[18/41] Compiling SwiftyJSON SwiftyJSON.swift
/host/spi-builder-workspace/.build/checkouts/SwiftyJSON/Sources/SwiftyJSON/SwiftyJSON.swift:301:10: error: cannot find 'kCFNumberFloat32Type' in scope
    case kCFNumberFloat32Type:
         ^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftyJSON/Sources/SwiftyJSON/SwiftyJSON.swift:303:10: error: cannot find 'kCFNumberFloat64Type' in scope
    case kCFNumberFloat64Type:
         ^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftyJSON/Sources/SwiftyJSON/SwiftyJSON.swift:1567:29: error: cannot find 'kCFNumberSInt8Type' in scope
                if  type == kCFNumberSInt8Type  &&
                            ^~~~~~~~~~~~~~~~~~
[19/41] Emitting module SwiftyJSON
error: fatalError
[20/41] Compiling Logging LogHandler.swift
[21/41] Emitting module CryptorRSA
[22/41] Compiling CryptorRSA CryptorRSADigest.swift
[23/41] Compiling TypeDecoder OrderedDictionary.swift
[24/41] Emitting module Socket
BUILD FAILURE 5.10 linux

Build Machine: Linux 2