Build Information
Failed to build IBMCloudAppID, reference 6.0.0 (b1ea38), with Swift 6.2 for Linux on 18 Jun 2025 04:54:19 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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: 6.0.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/ibm-cloud-security/appid-serversdk-swift
* tag 6.0.0 -> FETCH_HEAD
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 6.0.0
========================================
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-4609320-2":/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/SwiftyRequest.git
Fetching https://github.com/IBM-Swift/LoggerAPI.git
Fetching https://github.com/ibm-cloud-security/Swift-JWT-to-PEM.git
Fetching https://github.com/IBM-Swift/BlueRSA.git
Fetching https://github.com/IBM-Swift/Kitura-Credentials.git
Fetching https://github.com/IBM-Swift/Kitura-Session.git
[1/771] Fetching loggerapi
[688/2568] Fetching loggerapi, kitura-credentials
[988/4586] Fetching loggerapi, kitura-credentials, bluersa
[2164/6147] Fetching loggerapi, kitura-credentials, bluersa, kitura-session
[3779/8242] Fetching loggerapi, kitura-credentials, bluersa, kitura-session, swiftyrequest
[6316/8364] Fetching loggerapi, kitura-credentials, bluersa, kitura-session, swiftyrequest, swift-jwt-to-pem
Fetched https://github.com/ibm-cloud-security/Swift-JWT-to-PEM.git from cache (0.39s)
Fetched https://github.com/IBM-Swift/BlueRSA.git from cache (0.39s)
Fetched https://github.com/IBM-Swift/LoggerAPI.git from cache (0.39s)
Fetched https://github.com/IBM-Swift/Kitura-Session.git from cache (0.39s)
Fetched https://github.com/IBM-Swift/SwiftyRequest.git from cache (0.40s)
Fetched https://github.com/IBM-Swift/Kitura-Credentials.git from cache (0.40s)
Fetching https://github.com/IBM-Swift/SwiftyJSON.git
[1/2687] Fetching swiftyjson
Fetched https://github.com/IBM-Swift/SwiftyJSON.git from cache (0.29s)
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 (1.24s)
Fetching https://github.com/IBM-Swift/OpenSSL.git
[1/203] Fetching openssl
Fetched https://github.com/IBM-Swift/OpenSSL.git from cache (0.24s)
Computing version for https://github.com/IBM-Swift/SwiftyRequest.git
Computed https://github.com/IBM-Swift/SwiftyRequest.git at 2.2.1 (2.59s)
Fetching https://github.com/IBM-Swift/CircuitBreaker.git
[1/1733] 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.72s)
Computing version for https://github.com/IBM-Swift/CircuitBreaker.git
Computed https://github.com/IBM-Swift/CircuitBreaker.git at 5.1.0 (0.43s)
Computing version for https://github.com/IBM-Swift/LoggerAPI.git
Computed https://github.com/IBM-Swift/LoggerAPI.git at 1.9.200 (0.43s)
Fetching https://github.com/apple/swift-log.git
[1/3836] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.47s)
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.90s)
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.39s)
Fetching https://github.com/Kitura/BlueCryptor.git
Fetching https://github.com/Kitura/Kitura.git
[1/1654] Fetching bluecryptor
[1655/18563] Fetching bluecryptor, kitura
Fetched https://github.com/Kitura/BlueCryptor.git from cache (1.07s)
Fetched https://github.com/Kitura/Kitura.git from cache (1.09s)
Computing version for https://github.com/Kitura/BlueCryptor.git
Computed https://github.com/Kitura/BlueCryptor.git at 1.0.200 (1.54s)
Computing version for https://github.com/IBM-Swift/OpenSSL.git
Computed https://github.com/IBM-Swift/OpenSSL.git at 2.3.1 (0.38s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.38s)
Computing version for https://github.com/Kitura/Kitura.git
Computed https://github.com/Kitura/Kitura.git at 2.9.200 (0.44s)
Fetching https://github.com/Kitura/KituraContracts.git
Fetching https://github.com/Kitura/Kitura-net.git
Fetching https://github.com/Kitura/Kitura-TemplateEngine.git
Fetching https://github.com/Kitura/TypeDecoder.git
[1/459] Fetching typedecoder
[460/10003] Fetching typedecoder, kitura-net
[1224/10441] Fetching typedecoder, kitura-net, kitura-templateengine
Fetched https://github.com/Kitura/TypeDecoder.git from cache (0.26s)
[2061/9982] Fetching kitura-net, kitura-templateengine
[9983/12528] Fetching kitura-net, kitura-templateengine, kituracontracts
Fetched https://github.com/Kitura/Kitura-TemplateEngine.git from cache (1.23s)
Fetched https://github.com/Kitura/KituraContracts.git from cache (1.24s)
Fetched https://github.com/Kitura/Kitura-net.git from cache (1.24s)
Computing version for https://github.com/Kitura/Kitura-TemplateEngine.git
Computed https://github.com/Kitura/Kitura-TemplateEngine.git at 2.0.200 (1.80s)
Computing version for https://github.com/Kitura/Kitura-net.git
Computed https://github.com/Kitura/Kitura-net.git at 2.4.200 (0.70s)
Fetching https://github.com/Kitura/BlueSignals.git
Fetching https://github.com/Kitura/BlueSSLService.git
Fetching https://github.com/Kitura/BlueSocket.git
[1/681] Fetching bluesignals
[682/3623] Fetching bluesignals, bluesocket
[784/5700] Fetching bluesignals, bluesocket, bluesslservice
Fetched https://github.com/Kitura/BlueSignals.git from cache (0.22s)
Fetched https://github.com/Kitura/BlueSSLService.git from cache (0.34s)
Fetched https://github.com/Kitura/BlueSocket.git from cache (0.35s)
Computing version for https://github.com/Kitura/BlueSignals.git
Computed https://github.com/Kitura/BlueSignals.git at 1.0.200 (0.75s)
Computing version for https://github.com/Kitura/BlueSSLService.git
Computed https://github.com/Kitura/BlueSSLService.git at 1.0.200 (0.42s)
Computing version for https://github.com/Kitura/BlueSocket.git
Computed https://github.com/Kitura/BlueSocket.git at 1.0.200 (0.39s)
Computing version for https://github.com/Kitura/TypeDecoder.git
Computed https://github.com/Kitura/TypeDecoder.git at 1.3.201 (0.40s)
Computing version for https://github.com/Kitura/KituraContracts.git
Computed https://github.com/Kitura/KituraContracts.git at 1.2.201 (0.52s)
Computing version for https://github.com/IBM-Swift/BlueRSA.git
Computed https://github.com/IBM-Swift/BlueRSA.git at 1.0.203 (0.55s)
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/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/KituraContracts.git
Working copy of https://github.com/Kitura/KituraContracts.git resolved at 1.2.201
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/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/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/Kitura/BlueSSLService.git
Working copy of https://github.com/Kitura/BlueSSLService.git resolved at 1.0.200
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/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/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/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/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/BlueRSA.git
Working copy of https://github.com/IBM-Swift/BlueRSA.git resolved at 1.0.203
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/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/BlueSignals.git
Working copy of https://github.com/Kitura/BlueSignals.git resolved at 1.0.200
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/Kitura-Session.git
Working copy of https://github.com/IBM-Swift/Kitura-Session.git resolved at 3.3.201
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/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: '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/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-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] Write swift-version-24593BA9C3E375BF.txt
[21/30] Compiling CHTTPParser http_parser.c
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] Emitting module KituraTemplateEngine
[25/57] Compiling KituraTemplateEngine TemplateEngine.swift
[27/58] Compiling CryptorRSA SSLPointerTricks.swift
[28/69] Compiling Logging MetadataProvider.swift
[29/69] Emitting module Logging
[30/69] Compiling Logging Locks.swift
[31/69] Compiling CryptorRSA Data+Extensions.swift
[32/69] 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){
[33/69] Compiling Cryptor SSLPointerTricks.swift
[34/69] Compiling SwiftJWKtoPEM SSLPointerTricks.swift
[35/70] Compiling SwiftJWKtoPEM Utils.swift
[36/70] Compiling Cryptor Updatable.swift
[37/70] Compiling CryptorRSA CryptorRSAErrors.swift
[38/70] Compiling Socket SocketUtils.swift
[39/70] Compiling CryptorRSA CryptorRSAUtilities.swift
[40/70] Emitting module SwiftJWKtoPEM
[41/70] Compiling SwiftJWKtoPEM Cert.swift
[42/70] Compiling SwiftJWKtoPEM JWK.swift
[43/70] Emitting module Cryptor
[44/70] Compiling Socket SocketProtocols.swift
[45/70] Compiling Cryptor Crypto.swift
[46/70] Compiling Cryptor Cryptor.swift
[47/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
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))
/host/spi-builder-workspace/.build/checkouts/BlueRSA/Sources/CryptorRSA/CryptorRSA.swift:688:28: error: cannot find 'EVP_PKEY_size' in scope
686 |
687 | // Size of symmetric encryption
688 | let encKeyLength = Int(EVP_PKEY_size(.make(optional: key.reference)))
| `- error: cannot find 'EVP_PKEY_size' in scope
689 | // Size of the corresponding cipher's IV
690 | let encIVLength = Int(EVP_CIPHER_iv_length(.make(optional: encType)))
/host/spi-builder-workspace/.build/checkouts/BlueRSA/Sources/CryptorRSA/CryptorRSA.swift:688:43: error: cannot infer contextual base in reference to member 'make'
686 |
687 | // Size of symmetric encryption
688 | let encKeyLength = Int(EVP_PKEY_size(.make(optional: key.reference)))
| `- error: cannot infer contextual base in reference to member 'make'
689 | // Size of the corresponding cipher's IV
690 | let encIVLength = Int(EVP_CIPHER_iv_length(.make(optional: encType)))
/host/spi-builder-workspace/.build/checkouts/BlueRSA/Sources/CryptorRSA/CryptorRSA.swift:690:27: error: cannot find 'EVP_CIPHER_iv_length' in scope
688 | let encKeyLength = Int(EVP_PKEY_size(.make(optional: key.reference)))
689 | // Size of the corresponding cipher's IV
690 | let encIVLength = Int(EVP_CIPHER_iv_length(.make(optional: encType)))
| `- error: cannot find 'EVP_CIPHER_iv_length' in scope
691 | // Size of encryptedKey
692 | let encryptedDataLength = Int(self.data.count) - encKeyLength - encIVLength
/host/spi-builder-workspace/.build/checkouts/BlueRSA/Sources/CryptorRSA/CryptorRSA.swift:690:49: error: cannot infer contextual base in reference to member 'make'
688 | let encKeyLength = Int(EVP_PKEY_size(.make(optional: key.reference)))
689 | // Size of the corresponding cipher's IV
690 | let encIVLength = Int(EVP_CIPHER_iv_length(.make(optional: encType)))
| `- error: cannot infer contextual base in reference to member 'make'
691 | // Size of encryptedKey
692 | let encryptedDataLength = Int(self.data.count) - encKeyLength - encIVLength
/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')
695 | // self.data = encryptedKey + encryptedData + encryptedIV
696 | let encryptedKey = self.data.subdata(in: 0..<encKeyLength)
697 | let encryptedData = self.data.subdata(in: encKeyLength..<encKeyLength+encryptedDataLength)
| `- error: cannot convert value of type 'String' to expected argument type 'Data.Index' (aka 'Int')
698 | let encryptedIV = self.data.subdata(in: encKeyLength+encryptedDataLength..<self.data.count)
699 |
/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')
696 | let encryptedKey = self.data.subdata(in: 0..<encKeyLength)
697 | let encryptedData = self.data.subdata(in: encKeyLength..<encKeyLength+encryptedDataLength)
698 | let encryptedIV = self.data.subdata(in: encKeyLength+encryptedDataLength..<self.data.count)
| `- error: cannot convert value of type 'String' to expected argument type 'Data.Index' (aka 'Int')
699 |
700 | let rsaDecryptCtx = EVP_CIPHER_CTX_new_wrapper()
[48/70] Compiling CryptorRSA CryptorRSAConstants.swift
[49/70] Compiling Cryptor Status.swift
[50/70] Compiling Cryptor StreamCryptor.swift
[51/70] Compiling SwiftJWKtoPEM JWKError.swift
[52/70] Compiling SwiftJWKtoPEM RSAKey+JWK.swift
[53/71] Emitting module SwiftyJSON
[54/71] Compiling SwiftyJSON LclJSONSerialization.swift
[56/71] Compiling Logging LogHandler.swift
[57/71] Compiling Logging Logging.swift
[59/72] Compiling TypeDecoder OrderedDictionary.swift
[60/72] Emitting module TypeDecoder
[61/72] Compiling TypeDecoder TypeDecoder.swift
[62/73] Compiling Cryptor KeyDerivation.swift
[63/73] Compiling Cryptor Random.swift
[64/73] Compiling Cryptor Digest.swift
[65/73] Compiling Cryptor HMAC.swift
[66/73] Emitting module Socket
[67/73] Compiling CryptorRSA CryptorRSADigest.swift
[68/73] Emitting module Signals
BUILD FAILURE 6.2 linux