Build Information
Failed to build IBMCloudAppID, reference master (b1ea38), with Swift 6.2 for Linux on 18 Jun 2025 04:54:32 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.64.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: 6.2
Building package at path: $PWD
https://github.com/ibm-cloud-security/appid-serversdk-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/IBM-Swift/Kitura-Session.git
Fetching https://github.com/IBM-Swift/SwiftyRequest.git
Fetching https://github.com/ibm-cloud-security/Swift-JWT-to-PEM.git
Fetching https://github.com/IBM-Swift/LoggerAPI.git
Fetching https://github.com/IBM-Swift/Kitura-Credentials.git
Fetching https://github.com/IBM-Swift/BlueRSA.git
[1/1797] Fetching kitura-credentials
[541/1919] Fetching kitura-credentials, swift-jwt-to-pem
[717/2690] Fetching kitura-credentials, swift-jwt-to-pem, loggerapi
[842/4708] Fetching kitura-credentials, swift-jwt-to-pem, loggerapi, bluersa
[1850/6269] Fetching kitura-credentials, swift-jwt-to-pem, loggerapi, bluersa, kitura-session
[3667/8364] Fetching kitura-credentials, swift-jwt-to-pem, loggerapi, bluersa, kitura-session, swiftyrequest
Fetched https://github.com/ibm-cloud-security/Swift-JWT-to-PEM.git from cache (0.66s)
[5421/8242] Fetching kitura-credentials, loggerapi, bluersa, kitura-session, swiftyrequest
Fetching https://github.com/IBM-Swift/SwiftyJSON.git
Fetched https://github.com/IBM-Swift/LoggerAPI.git from cache (0.87s)
Fetched https://github.com/IBM-Swift/Kitura-Credentials.git from cache (0.88s)
[4878/5674] Fetching bluersa, kitura-session, swiftyrequest
Fetched https://github.com/IBM-Swift/BlueRSA.git from cache (0.89s)
[3321/3656] Fetching kitura-session, swiftyrequest
Fetched https://github.com/IBM-Swift/Kitura-Session.git from cache (1.11s)
Fetched https://github.com/IBM-Swift/SwiftyRequest.git from cache (1.13s)
[1/2687] Fetching swiftyjson
Fetched https://github.com/IBM-Swift/SwiftyJSON.git from cache (0.75s)
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 (2.33s)
Fetching https://github.com/IBM-Swift/OpenSSL.git
[1/203] Fetching openssl
Fetched https://github.com/IBM-Swift/OpenSSL.git from cache (0.34s)
Computing version for https://github.com/IBM-Swift/SwiftyRequest.git
Computed https://github.com/IBM-Swift/SwiftyRequest.git at 2.2.1 (5.03s)
Fetching https://github.com/IBM-Swift/CircuitBreaker.git
[1/1733] Fetching circuitbreaker
Fetched https://github.com/IBM-Swift/CircuitBreaker.git from cache (0.96s)
Computing version for https://github.com/IBM-Swift/SwiftyJSON.git
Computed https://github.com/IBM-Swift/SwiftyJSON.git at 17.0.5 (1.88s)
Computing version for https://github.com/IBM-Swift/CircuitBreaker.git
Computed https://github.com/IBM-Swift/CircuitBreaker.git at 5.1.0 (0.80s)
Computing version for https://github.com/IBM-Swift/LoggerAPI.git
Computed https://github.com/IBM-Swift/LoggerAPI.git at 1.9.200 (0.91s)
Fetching https://github.com/apple/swift-log.git
[1/3836] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.66s)
Computing version for https://github.com/IBM-Swift/Kitura-Credentials.git
Computed https://github.com/IBM-Swift/Kitura-Credentials.git at 2.5.200 (1.58s)
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.92s)
Fetching https://github.com/Kitura/Kitura.git
Fetching https://github.com/Kitura/BlueCryptor.git
[1/1654] Fetching bluecryptor
[217/18563] Fetching bluecryptor, kitura
Fetched https://github.com/Kitura/BlueCryptor.git from cache (0.61s)
[2199/16909] Fetching kitura
Fetched https://github.com/Kitura/Kitura.git from cache (2.06s)
Computing version for https://github.com/Kitura/BlueCryptor.git
Computed https://github.com/Kitura/BlueCryptor.git at 1.0.200 (3.82s)
Computing version for https://github.com/IBM-Swift/OpenSSL.git
Computed https://github.com/IBM-Swift/OpenSSL.git at 2.3.1 (0.85s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.89s)
Computing version for https://github.com/Kitura/Kitura.git
Computed https://github.com/Kitura/Kitura.git at 2.9.200 (1.11s)
Fetching https://github.com/Kitura/KituraContracts.git
Fetching https://github.com/Kitura/TypeDecoder.git
Fetching https://github.com/Kitura/Kitura-TemplateEngine.git
[1/459] Fetching typedecoder
[89/897] Fetching typedecoder, kitura-templateengine
[253/3443] Fetching typedecoder, kitura-templateengine, kituracontracts
Fetched https://github.com/Kitura/TypeDecoder.git from cache (0.56s)
[2042/2984] Fetching kitura-templateengine, kituracontracts
Fetched https://github.com/Kitura/Kitura-TemplateEngine.git from cache (0.58s)
[1681/2546] Fetching kituracontracts
Fetching https://github.com/Kitura/Kitura-net.git
Fetched https://github.com/Kitura/KituraContracts.git from cache (0.98s)
[1/9544] Fetching kitura-net
Fetched https://github.com/Kitura/Kitura-net.git from cache (1.90s)
Computing version for https://github.com/Kitura/Kitura-TemplateEngine.git
Computed https://github.com/Kitura/Kitura-TemplateEngine.git at 2.0.200 (3.74s)
Computing version for https://github.com/Kitura/Kitura-net.git
Computed https://github.com/Kitura/Kitura-net.git at 2.4.200 (0.88s)
Fetching https://github.com/Kitura/BlueSSLService.git
Fetching https://github.com/Kitura/BlueSignals.git
Fetching https://github.com/Kitura/BlueSocket.git
[1/2077] Fetching bluesslservice
[2/5019] Fetching bluesslservice, bluesocket
[362/5700] Fetching bluesslservice, bluesocket, bluesignals
Fetched https://github.com/Kitura/BlueSignals.git from cache (0.71s)
Fetched https://github.com/Kitura/BlueSSLService.git from cache (0.71s)
Fetched https://github.com/Kitura/BlueSocket.git from cache (0.72s)
Computing version for https://github.com/Kitura/BlueSignals.git
Computed https://github.com/Kitura/BlueSignals.git at 1.0.200 (1.35s)
Computing version for https://github.com/Kitura/BlueSSLService.git
Computed https://github.com/Kitura/BlueSSLService.git at 1.0.200 (0.68s)
Computing version for https://github.com/Kitura/BlueSocket.git
Computed https://github.com/Kitura/BlueSocket.git at 1.0.200 (0.89s)
Computing version for https://github.com/Kitura/TypeDecoder.git
Computed https://github.com/Kitura/TypeDecoder.git at 1.3.201 (0.89s)
Computing version for https://github.com/Kitura/KituraContracts.git
Computed https://github.com/Kitura/KituraContracts.git at 1.2.201 (0.97s)
Computing version for https://github.com/IBM-Swift/BlueRSA.git
Computed https://github.com/IBM-Swift/BlueRSA.git at 1.0.203 (0.88s)
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/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/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/BlueRSA.git
Working copy of https://github.com/IBM-Swift/BlueRSA.git resolved at 1.0.203
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/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/Kitura.git
Working copy of https://github.com/Kitura/Kitura.git resolved at 2.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/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/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
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/Kitura/BlueSocket.git
Working copy of https://github.com/Kitura/BlueSocket.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/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/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/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/CircuitBreaker.git
Working copy of https://github.com/IBM-Swift/CircuitBreaker.git resolved at 5.1.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/IBM-Swift/SwiftyRequest.git
Working copy of https://github.com/IBM-Swift/SwiftyRequest.git resolved at 2.2.1
warning: 'bluersa': Conflicting identity for openssl: dependency 'github.com/kitura/openssl' and dependency 'github.com/ibm-swift/openssl' both point to the same package identity 'openssl'. The dependencies are introduced through the following chains: (A) /host/spi-builder-workspace->github.com/ibm-swift/bluersa->github.com/kitura/openssl (B) /host/spi-builder-workspace->github.com/ibm-cloud-security/swift-jwt-to-pem->github.com/ibm-swift/openssl. If there are multiple chains that lead to the same dependency, only the first chain is shown here. To see all chains use debug output option. To resolve the conflict, coordinate with the maintainer of the package that introduces the conflicting dependency. This will be escalated to an error in future versions of SwiftPM.
warning: 'circuitbreaker': Conflicting identity for loggerapi: dependency 'github.com/kitura/loggerapi' and dependency 'github.com/ibm-swift/loggerapi' both point to the same package identity 'loggerapi'. The dependencies are introduced through the following chains: (A) /host/spi-builder-workspace->github.com/ibm-swift/kitura-session->github.com/kitura/kitura->github.com/kitura/loggerapi (B) /host/spi-builder-workspace->github.com/ibm-swift/loggerapi. If there are multiple chains that lead to the same dependency, only the first chain is shown here. To see all chains use debug output option. To resolve the conflict, coordinate with the maintainer of the package that introduces the conflicting dependency. This will be escalated to an error in future versions of SwiftPM.
warning: 'kitura-credentials': Conflicting identity for kitura-session: dependency 'github.com/kitura/kitura-session' and dependency 'github.com/ibm-swift/kitura-session' both point to the same package identity 'kitura-session'. The dependencies are introduced through the following chains: (A) /host/spi-builder-workspace->github.com/ibm-swift/kitura-credentials->github.com/kitura/kitura-session (B) /host/spi-builder-workspace->github.com/ibm-swift/kitura-session. If there are multiple chains that lead to the same dependency, only the first chain is shown here. To see all chains use debug output option. To resolve the conflict, coordinate with the maintainer of the package that introduces the conflicting dependency. This will be escalated to an error in future versions of SwiftPM.
warning: 'bluecryptor': Conflicting identity for openssl: dependency 'github.com/kitura/openssl' and dependency 'github.com/ibm-swift/openssl' both point to the same package identity 'openssl'. The dependencies are introduced through the following chains: (A) /host/spi-builder-workspace->github.com/ibm-swift/bluersa->github.com/kitura/openssl (B) /host/spi-builder-workspace->github.com/ibm-cloud-security/swift-jwt-to-pem->github.com/ibm-swift/openssl. If there are multiple chains that lead to the same dependency, only the first chain is shown here. To see all chains use debug output option. To resolve the conflict, coordinate with the maintainer of the package that introduces the conflicting dependency. This will be escalated to an error in future versions of SwiftPM.
warning: 'kitura': Conflicting identity for loggerapi: dependency 'github.com/kitura/loggerapi' and dependency 'github.com/ibm-swift/loggerapi' both point to the same package identity 'loggerapi'. The dependencies are introduced through the following chains: (A) /host/spi-builder-workspace->github.com/ibm-swift/swiftyrequest->github.com/ibm-swift/circuitbreaker->github.com/kitura/loggerapi (B) /host/spi-builder-workspace->github.com/ibm-swift/loggerapi. If there are multiple chains that lead to the same dependency, only the first chain is shown here. To see all chains use debug output option. To resolve the conflict, coordinate with the maintainer of the package that introduces the conflicting dependency. This will be escalated to an error in future versions of SwiftPM.
warning: 'kituracontracts': Conflicting identity for loggerapi: dependency 'github.com/kitura/loggerapi' and dependency 'github.com/ibm-swift/loggerapi' both point to the same package identity 'loggerapi'. The dependencies are introduced through the following chains: (A) /host/spi-builder-workspace->github.com/ibm-swift/swiftyrequest->github.com/ibm-swift/circuitbreaker->github.com/kitura/loggerapi (B) /host/spi-builder-workspace->github.com/ibm-swift/loggerapi. If there are multiple chains that lead to the same dependency, only the first chain is shown here. To see all chains use debug output option. To resolve the conflict, coordinate with the maintainer of the package that introduces the conflicting dependency. This will be escalated to an error in future versions of SwiftPM.
warning: 'kitura-net': Conflicting identity for loggerapi: dependency 'github.com/kitura/loggerapi' and dependency 'github.com/ibm-swift/loggerapi' both point to the same package identity 'loggerapi'. The dependencies are introduced through the following chains: (A) /host/spi-builder-workspace->github.com/ibm-swift/kitura-session->github.com/kitura/kitura->github.com/kitura/loggerapi (B) /host/spi-builder-workspace->github.com/ibm-swift/loggerapi. If there are multiple chains that lead to the same dependency, only the first chain is shown here. To see all chains use debug output option. To resolve the conflict, coordinate with the maintainer of the package that introduces the conflicting dependency. This will be escalated to an error in future versions of SwiftPM.
warning: 'bluesslservice': Conflicting identity for openssl: dependency 'github.com/kitura/openssl' and dependency 'github.com/ibm-swift/openssl' both point to the same package identity 'openssl'. The dependencies are introduced through the following chains: (A) /host/spi-builder-workspace->github.com/ibm-swift/bluersa->github.com/kitura/openssl (B) /host/spi-builder-workspace->github.com/ibm-cloud-security/swift-jwt-to-pem->github.com/ibm-swift/openssl. If there are multiple chains that lead to the same dependency, only the first chain is shown here. To see all chains use debug output option. To resolve the conflict, coordinate with the maintainer of the package that introduces the conflicting dependency. 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] Compiling CHTTPParser http_parser.c
[21/22] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[23/56] Emitting module CryptorRSA
/host/spi-builder-workspace/.build/checkouts/BlueRSA/Sources/CryptorRSA/CryptorRSA.swift:476:61: error: cannot find 'EVP_PKEY_size' in scope
474 | typealias UInt8Ptr = UnsafeMutablePointer<UInt8>?
475 | var ek: UInt8Ptr
476 | ek = UnsafeMutablePointer<UInt8>.allocate(capacity: Int(EVP_PKEY_size(.make(optional: key.reference))))
| `- error: cannot find 'EVP_PKEY_size' in scope
477 | let ekPtr = UnsafeMutablePointer<UInt8Ptr>.allocate(capacity: MemoryLayout<UInt8Ptr>.size)
478 | ekPtr.pointee = ek
/host/spi-builder-workspace/.build/checkouts/BlueRSA/Sources/CryptorRSA/CryptorRSA.swift:476:76: error: cannot infer contextual base in reference to member 'make'
474 | typealias UInt8Ptr = UnsafeMutablePointer<UInt8>?
475 | var ek: UInt8Ptr
476 | ek = UnsafeMutablePointer<UInt8>.allocate(capacity: Int(EVP_PKEY_size(.make(optional: key.reference))))
| `- error: cannot infer contextual base in reference to member 'make'
477 | let ekPtr = UnsafeMutablePointer<UInt8Ptr>.allocate(capacity: MemoryLayout<UInt8Ptr>.size)
478 | ekPtr.pointee = ek
/host/spi-builder-workspace/.build/checkouts/BlueRSA/Sources/CryptorRSA/CryptorRSA.swift:481:20: error: cannot find 'EVP_CIPHER_iv_length' in scope
479 |
480 | // Assign size of the corresponding cipher's IV
481 | let IVLength = EVP_CIPHER_iv_length(.make(optional: enc))
| `- error: cannot find 'EVP_CIPHER_iv_length' in scope
482 | let iv = UnsafeMutablePointer<UInt8>.allocate(capacity: Int(IVLength))
483 | let encrypted = UnsafeMutablePointer<UInt8>.allocate(capacity: self.data.count + Int(IVLength))
/host/spi-builder-workspace/.build/checkouts/BlueRSA/Sources/CryptorRSA/CryptorRSA.swift:481:42: error: cannot infer contextual base in reference to member 'make'
479 |
480 | // Assign size of the corresponding cipher's IV
481 | let IVLength = EVP_CIPHER_iv_length(.make(optional: enc))
| `- error: cannot infer contextual base in reference to member 'make'
482 | let iv = UnsafeMutablePointer<UInt8>.allocate(capacity: Int(IVLength))
483 | let encrypted = UnsafeMutablePointer<UInt8>.allocate(capacity: self.data.count + Int(IVLength))
[24/57] Compiling KituraTemplateEngine TemplateEngine.swift
[25/57] Emitting module KituraTemplateEngine
[26/58] Emitting module TypeDecoder
[27/58] Compiling TypeDecoder OrderedDictionary.swift
[29/58] Compiling CryptorRSA SSLPointerTricks.swift
[30/58] Compiling SwiftJWKtoPEM SSLPointerTricks.swift
[31/58] Compiling Logging MetadataProvider.swift
[32/58] Compiling SwiftJWKtoPEM Utils.swift
[33/58] Compiling SwiftyJSON SwiftyJSON.swift
/host/spi-builder-workspace/.build/checkouts/SwiftyJSON/Sources/SwiftyJSON/SwiftyJSON.swift:301:10: error: cannot find 'kCFNumberFloat32Type' in scope
299 | let type = CFNumberGetType(unsafeBitCast(number, to: CFNumber.self))
300 | switch(type) {
301 | case kCFNumberFloat32Type:
| `- error: cannot find 'kCFNumberFloat32Type' in scope
302 | return String(number.floatValue)
303 | case kCFNumberFloat64Type:
/host/spi-builder-workspace/.build/checkouts/SwiftyJSON/Sources/SwiftyJSON/SwiftyJSON.swift:303:10: error: cannot find 'kCFNumberFloat64Type' in scope
301 | case kCFNumberFloat32Type:
302 | return String(number.floatValue)
303 | case kCFNumberFloat64Type:
| `- error: cannot find 'kCFNumberFloat64Type' in scope
304 | return String(number.doubleValue)
305 | default:
/host/spi-builder-workspace/.build/checkouts/SwiftyJSON/Sources/SwiftyJSON/SwiftyJSON.swift:1567:29: error: cannot find 'kCFNumberSInt8Type' in scope
1565 | #if os(Linux)
1566 | let type = CFNumberGetType(unsafeBitCast(self, to: CFNumber.self))
1567 | if type == kCFNumberSInt8Type &&
| `- error: cannot find 'kCFNumberSInt8Type' in scope
1568 | (self.compare(trueNumber) == ComparisonResult.orderedSame ||
1569 | self.compare(falseNumber) == ComparisonResult.orderedSame){
[34/58] Compiling SwiftJWKtoPEM JWKError.swift
[35/58] Emitting module Signals
[36/58] Compiling Signals Signals.swift
[37/58] Compiling CryptorRSA CryptorRSADigest.swift
[38/59] Compiling Socket SocketProtocols.swift
[39/59] Compiling Socket SocketUtils.swift
[40/59] Emitting module SwiftyJSON
[41/59] Compiling SwiftyJSON LclJSONSerialization.swift
[43/70] Compiling CryptorRSA CryptorRSAUtilities.swift
[44/70] Compiling CryptorRSA Data+Extensions.swift
[45/70] Compiling Logging LogHandler.swift
[46/70] Compiling Logging Locks.swift
[47/70] Emitting module Logging
[48/70] Emitting module Socket
BUILD FAILURE 6.2 linux