Build Information
Successful build of CryptorECC, reference master (e5faf7), with Swift 6.4 for Linux on 18 Sep 2026 17:36:09 UTC.
Swift 6 data race errors: 0
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886769-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Kitura/BlueECC.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/Kitura/BlueECC
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at e5faf7c Update to use SecKeyCreateRandomKey to generate key pairs (#36)
Cloned https://github.com/Kitura/BlueECC.git
Revision (git rev-parse @):
e5faf7ce81c762ed8e266e35ad6c00cc5bfccf52
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/Kitura/BlueECC.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.4
Building package at path: $PWD
https://github.com/Kitura/BlueECC.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Fetching https://github.com/Kitura/OpenSSL.git
[1/203] Fetching openssl
Fetched https://github.com/Kitura/OpenSSL.git (0.47s)
Computing version for https://github.com/Kitura/OpenSSL.git
Computed https://github.com/Kitura/OpenSSL.git at 2.3.1 (1.53s)
Creating working copy for https://github.com/Kitura/OpenSSL.git
Working copy of https://github.com/Kitura/OpenSSL.git resolved at 2.3.1
Building for debugging...
[Pre-planning 1 / 68]
[19 / 27] CryptorECC
[28 / 36] CryptorECC
[33 / 36] CryptorECC
/host/spi-builder-workspace/Sources/CryptorECC/ECSignature.swift:93:15: [1;33mwarning: [1;39m'EVP_PKEY_set1_EC_KEY' is deprecated[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m91 |[0;0m EVP_MD_CTX_free_wrapper(md_ctx)
[0;36m92 |[0;0m }
[0;36m93 |[0;0m guard EVP_PKEY_set1_EC_KEY(evp_key, .make(optional: ecPublicKey.nativeKey)) == 1 else {
[0;36m|[0;0m `- [1;33mwarning: [1;39m'EVP_PKEY_set1_EC_KEY' is deprecated[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m94 |[0;0m return false
[0;36m95 |[0;0m }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/host/spi-builder-workspace/Sources/CryptorECC/ECPrivateKey.swift:58:18: [1;33mwarning: [1;39m'EC_KEY_free' is deprecated[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m56 |[0;0m #if os(Linux)
[0;36m57 |[0;0m typealias NativeKey = OpaquePointer?
[0;36m58 |[0;0m deinit { EC_KEY_free(.make(optional: self.nativeKey)) }
[0;36m|[0;0m `- [1;33mwarning: [1;39m'EC_KEY_free' is deprecated[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m59 |[0;0m #else
[0;36m60 |[0;0m typealias NativeKey = SecKey
/host/spi-builder-workspace/Sources/CryptorECC/ECPrivateKey.swift:261:22: [1;33mwarning: [1;39m'EC_KEY_new_by_curve_name' is deprecated[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m259 |[0;0m #if os(Linux)
[0;36m260 |[0;0m
[0;36m261 |[0;0m let ec_key = EC_KEY_new_by_curve_name(curve.nativeCurve)
[0;36m|[0;0m `- [1;33mwarning: [1;39m'EC_KEY_new_by_curve_name' is deprecated[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m262 |[0;0m EC_KEY_generate_key(ec_key)
[0;36m263 |[0;0m self.nativeKey = ec_key
/host/spi-builder-workspace/Sources/CryptorECC/ECPrivateKey.swift:262:9: [1;33mwarning: [1;39m'EC_KEY_generate_key' is deprecated[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m260 |[0;0m
[0;36m261 |[0;0m let ec_key = EC_KEY_new_by_curve_name(curve.nativeCurve)
[0;36m262 |[0;0m EC_KEY_generate_key(ec_key)
[0;36m|[0;0m `- [1;33mwarning: [1;39m'EC_KEY_generate_key' is deprecated[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m263 |[0;0m self.nativeKey = ec_key
[0;36m264 |[0;0m let pub_bn_ctx = BN_CTX_new()
/host/spi-builder-workspace/Sources/CryptorECC/ECPrivateKey.swift:266:19: [1;33mwarning: [1;39m'EC_KEY_get0_public_key' is deprecated[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m264 |[0;0m let pub_bn_ctx = BN_CTX_new()
[0;36m265 |[0;0m BN_CTX_start(pub_bn_ctx)
[0;36m266 |[0;0m let pub = EC_KEY_get0_public_key(ec_key)
[0;36m|[0;0m `- [1;33mwarning: [1;39m'EC_KEY_get0_public_key' is deprecated[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m267 |[0;0m let ec_group = EC_KEY_get0_group(ec_key)
[0;36m268 |[0;0m let pub_bn = BN_new()
/host/spi-builder-workspace/Sources/CryptorECC/ECPrivateKey.swift:267:24: [1;33mwarning: [1;39m'EC_KEY_get0_group' is deprecated[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m265 |[0;0m BN_CTX_start(pub_bn_ctx)
[0;36m266 |[0;0m let pub = EC_KEY_get0_public_key(ec_key)
[0;36m267 |[0;0m let ec_group = EC_KEY_get0_group(ec_key)
[0;36m|[0;0m `- [1;33mwarning: [1;39m'EC_KEY_get0_group' is deprecated[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m268 |[0;0m let pub_bn = BN_new()
[0;36m269 |[0;0m EC_POINT_point2bn(ec_group, pub, POINT_CONVERSION_UNCOMPRESSED, pub_bn, pub_bn_ctx)
/host/spi-builder-workspace/Sources/CryptorECC/ECPrivateKey.swift:269:9: [1;33mwarning: [1;39m'EC_POINT_point2bn' is deprecated[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m267 |[0;0m let ec_group = EC_KEY_get0_group(ec_key)
[0;36m268 |[0;0m let pub_bn = BN_new()
[0;36m269 |[0;0m EC_POINT_point2bn(ec_group, pub, POINT_CONVERSION_UNCOMPRESSED, pub_bn, pub_bn_ctx)
[0;36m|[0;0m `- [1;33mwarning: [1;39m'EC_POINT_point2bn' is deprecated[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m270 |[0;0m let pubk = UnsafeMutablePointer<UInt8>.allocate(capacity: curve.keySize)
[0;36m271 |[0;0m BN_bn2bin(pub_bn, pubk)
/host/spi-builder-workspace/Sources/CryptorECC/ECPrivateKey.swift:336:19: [1;33mwarning: [1;39m'i2d_ECPrivateKey_bio' is deprecated[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m334 |[0;0m // However it is just returning 1 for success.
[0;36m335 |[0;0m // Since the size is fixed we have just used the known values here.
[0;36m336 |[0;0m guard i2d_ECPrivateKey_bio(asn1Bio, nativeKey) >= 0 else {
[0;36m|[0;0m `- [1;33mwarning: [1;39m'i2d_ECPrivateKey_bio' is deprecated[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m337 |[0;0m throw ECError.failedNativeKeyCreation
[0;36m338 |[0;0m }
/host/spi-builder-workspace/Sources/CryptorECC/ECPrivateKey.swift:455:25: [1;33mwarning: [1;39m'EC_KEY_new_by_curve_name' is deprecated[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m453 |[0;0m BN_bin2bn(privateKeyBytes.baseAddress?.assumingMemoryBound(to: UInt8.self), Int32(privateKeyData.count), bigNum)
[0;36m454 |[0;0m })
[0;36m455 |[0;0m let ecKey = EC_KEY_new_by_curve_name(curve.nativeCurve)
[0;36m|[0;0m `- [1;33mwarning: [1;39m'EC_KEY_new_by_curve_name' is deprecated[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m456 |[0;0m guard EC_KEY_set_private_key(ecKey, bigNum) == 1 else {
[0;36m457 |[0;0m EC_KEY_free(ecKey)
/host/spi-builder-workspace/Sources/CryptorECC/ECPrivateKey.swift:456:19: [1;33mwarning: [1;39m'EC_KEY_set_private_key' is deprecated[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m454 |[0;0m })
[0;36m455 |[0;0m let ecKey = EC_KEY_new_by_curve_name(curve.nativeCurve)
[0;36m456 |[0;0m guard EC_KEY_set_private_key(ecKey, bigNum) == 1 else {
[0;36m|[0;0m `- [1;33mwarning: [1;39m'EC_KEY_set_private_key' is deprecated[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m457 |[0;0m EC_KEY_free(ecKey)
[0;36m458 |[0;0m throw ECError.failedNativeKeyCreation
/host/spi-builder-workspace/Sources/CryptorECC/ECPrivateKey.swift:457:17: [1;33mwarning: [1;39m'EC_KEY_free' is deprecated[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m455 |[0;0m let ecKey = EC_KEY_new_by_curve_name(curve.nativeCurve)
[0;36m456 |[0;0m guard EC_KEY_set_private_key(ecKey, bigNum) == 1 else {
[0;36m457 |[0;0m EC_KEY_free(ecKey)
[0;36m|[0;0m `- [1;33mwarning: [1;39m'EC_KEY_free' is deprecated[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m458 |[0;0m throw ECError.failedNativeKeyCreation
[0;36m459 |[0;0m }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/host/spi-builder-workspace/Sources/CryptorECC/ECDecryptable.swift:47:24: [1;33mwarning: [1;39m'EC_KEY_get0_group' is deprecated[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m45 |[0;0m var tagData = self.subdata(in: encKeyLength+encryptedDataLength..<self.count)
[0;36m46 |[0;0m // Allocate memory for decryption
[0;36m47 |[0;0m let ec_group = EC_KEY_get0_group(key.nativeKey)
[0;36m|[0;0m `- [1;33mwarning: [1;39m'EC_KEY_get0_group' is deprecated[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m48 |[0;0m let skey_len = Int((EC_GROUP_get_degree(ec_group) + 7) / 8)
[0;36m49 |[0;0m let symKey = UnsafeMutablePointer<UInt8>.allocate(capacity: skey_len)
/host/spi-builder-workspace/Sources/CryptorECC/ECDecryptable.swift:73:13: [1;33mwarning: [1;39m'EC_POINT_bn2point' is deprecated[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m71 |[0;0m let pubk_bn_ctx = BN_CTX_new()
[0;36m72 |[0;0m BN_CTX_start(pubk_bn_ctx)
[0;36m73 |[0;0m EC_POINT_bn2point(ec_group, pubk_bn, pubk_point, pubk_bn_ctx)
[0;36m|[0;0m `- [1;33mwarning: [1;39m'EC_POINT_bn2point' is deprecated[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m74 |[0;0m BN_CTX_end(pubk_bn_ctx)
[0;36m75 |[0;0m BN_CTX_free(pubk_bn_ctx)
/host/spi-builder-workspace/Sources/CryptorECC/ECDecryptable.swift:80:9: [1;33mwarning: [1;39m'ECDH_compute_key' is deprecated[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m78 |[0;0m
[0;36m79 |[0;0m // calculate symmetric key
[0;36m80 |[0;0m ECDH_compute_key(symKey, skey_len, pubk_point, key.nativeKey, nil)
[0;36m|[0;0m `- [1;33mwarning: [1;39m'ECDH_compute_key' is deprecated[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m81 |[0;0m // processedLen is the number of bytes that each EVP_DecryptUpdate/EVP_DecryptFinal decrypts.
[0;36m82 |[0;0m // The sum of processedLen is the total size of the decrypted message (decMsgLen)
/host/spi-builder-workspace/Sources/CryptorECC/ECEncryptable.swift:59:22: [1;33mwarning: [1;39m'EC_KEY_new_by_curve_name' is deprecated[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m57 |[0;0m #if os(Linux)
[0;36m58 |[0;0m // Compute symmetric key
[0;36m59 |[0;0m let ec_key = EC_KEY_new_by_curve_name(key.curve.nativeCurve)
[0;36m|[0;0m `- [1;33mwarning: [1;39m'EC_KEY_new_by_curve_name' is deprecated[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m60 |[0;0m defer {
[0;36m61 |[0;0m EC_KEY_free(ec_key)
/host/spi-builder-workspace/Sources/CryptorECC/ECEncryptable.swift:61:13: [1;33mwarning: [1;39m'EC_KEY_free' is deprecated[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m59 |[0;0m let ec_key = EC_KEY_new_by_curve_name(key.curve.nativeCurve)
[0;36m60 |[0;0m defer {
[0;36m61 |[0;0m EC_KEY_free(ec_key)
[0;36m|[0;0m `- [1;33mwarning: [1;39m'EC_KEY_free' is deprecated[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m62 |[0;0m }
[0;36m63 |[0;0m EC_KEY_generate_key(ec_key)
/host/spi-builder-workspace/Sources/CryptorECC/ECEncryptable.swift:63:9: [1;33mwarning: [1;39m'EC_KEY_generate_key' is deprecated[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m61 |[0;0m EC_KEY_free(ec_key)
[0;36m62 |[0;0m }
[0;36m63 |[0;0m EC_KEY_generate_key(ec_key)
[0;36m|[0;0m `- [1;33mwarning: [1;39m'EC_KEY_generate_key' is deprecated[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m64 |[0;0m let ec_group = EC_KEY_get0_group(ec_key)
[0;36m65 |[0;0m let symKey_len = Int((EC_GROUP_get_degree(ec_group) + 7) / 8)
/host/spi-builder-workspace/Sources/CryptorECC/ECEncryptable.swift:64:24: [1;33mwarning: [1;39m'EC_KEY_get0_group' is deprecated[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m62 |[0;0m }
[0;36m63 |[0;0m EC_KEY_generate_key(ec_key)
[0;36m64 |[0;0m let ec_group = EC_KEY_get0_group(ec_key)
[0;36m|[0;0m `- [1;33mwarning: [1;39m'EC_KEY_get0_group' is deprecated[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m65 |[0;0m let symKey_len = Int((EC_GROUP_get_degree(ec_group) + 7) / 8)
[0;36m66 |[0;0m let symKey = UnsafeMutablePointer<UInt8>.allocate(capacity: symKey_len)
/host/spi-builder-workspace/Sources/CryptorECC/ECEncryptable.swift:67:9: [1;33mwarning: [1;39m'ECDH_compute_key' is deprecated[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m65 |[0;0m let symKey_len = Int((EC_GROUP_get_degree(ec_group) + 7) / 8)
[0;36m66 |[0;0m let symKey = UnsafeMutablePointer<UInt8>.allocate(capacity: symKey_len)
[0;36m67 |[0;0m ECDH_compute_key(symKey, symKey_len, EC_KEY_get0_public_key(key.nativeKey), ec_key, nil)
[0;36m|[0;0m `- [1;33mwarning: [1;39m'ECDH_compute_key' is deprecated[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m68 |[0;0m
[0;36m69 |[0;0m // get temp public key data
/host/spi-builder-workspace/Sources/CryptorECC/ECEncryptable.swift:67:46: [1;33mwarning: [1;39m'EC_KEY_get0_public_key' is deprecated[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m65 |[0;0m let symKey_len = Int((EC_GROUP_get_degree(ec_group) + 7) / 8)
[0;36m66 |[0;0m let symKey = UnsafeMutablePointer<UInt8>.allocate(capacity: symKey_len)
[0;36m67 |[0;0m ECDH_compute_key(symKey, symKey_len, EC_KEY_get0_public_key(key.nativeKey), ec_key, nil)
[0;36m|[0;0m `- [1;33mwarning: [1;39m'EC_KEY_get0_public_key' is deprecated[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m68 |[0;0m
[0;36m69 |[0;0m // get temp public key data
/host/spi-builder-workspace/Sources/CryptorECC/ECEncryptable.swift:72:19: [1;33mwarning: [1;39m'EC_KEY_get0_public_key' is deprecated[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m70 |[0;0m let pub_bn_ctx = BN_CTX_new()
[0;36m71 |[0;0m BN_CTX_start(pub_bn_ctx)
[0;36m72 |[0;0m let pub = EC_KEY_get0_public_key(ec_key)
[0;36m|[0;0m `- [1;33mwarning: [1;39m'EC_KEY_get0_public_key' is deprecated[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m73 |[0;0m let pub_bn = BN_new()
[0;36m74 |[0;0m EC_POINT_point2bn(ec_group, pub, POINT_CONVERSION_UNCOMPRESSED, pub_bn, pub_bn_ctx)
/host/spi-builder-workspace/Sources/CryptorECC/ECEncryptable.swift:74:9: [1;33mwarning: [1;39m'EC_POINT_point2bn' is deprecated[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m72 |[0;0m let pub = EC_KEY_get0_public_key(ec_key)
[0;36m73 |[0;0m let pub_bn = BN_new()
[0;36m74 |[0;0m EC_POINT_point2bn(ec_group, pub, POINT_CONVERSION_UNCOMPRESSED, pub_bn, pub_bn_ctx)
[0;36m|[0;0m `- [1;33mwarning: [1;39m'EC_POINT_point2bn' is deprecated[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m75 |[0;0m let pubk = UnsafeMutablePointer<UInt8>.allocate(capacity: key.curve.keySize)
[0;36m76 |[0;0m BN_bn2bin(pub_bn, pubk)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/host/spi-builder-workspace/Sources/CryptorECC/ECPublicKey.swift:58:14: [1;33mwarning: [1;39m'EC_KEY_free' is deprecated[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m56 |[0;0m typealias NativeKey = OpaquePointer?
[0;36m57 |[0;0m let pubKeyBytes: Data
[0;36m58 |[0;0m deinit { EC_KEY_free(.make(optional: self.nativeKey)) }
[0;36m|[0;0m `- [1;33mwarning: [1;39m'EC_KEY_free' is deprecated[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m59 |[0;0m #else
[0;36m60 |[0;0m typealias NativeKey = SecKey
/host/spi-builder-workspace/Sources/CryptorECC/ECPublicKey.swift:129:25: [1;33mwarning: [1;39m'EC_KEY_new_by_curve_name' is deprecated[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m127 |[0;0m BN_bin2bn(pubKeyBytes.baseAddress?.assumingMemoryBound(to: UInt8.self), Int32(publicKeyData.count), bigNum)
[0;36m128 |[0;0m })
[0;36m129 |[0;0m let ecKey = EC_KEY_new_by_curve_name(curve.nativeCurve)
[0;36m|[0;0m `- [1;33mwarning: [1;39m'EC_KEY_new_by_curve_name' is deprecated[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m130 |[0;0m let ecGroup = EC_KEY_get0_group(ecKey)
[0;36m131 |[0;0m let ecPoint = EC_POINT_new(ecGroup)
/host/spi-builder-workspace/Sources/CryptorECC/ECPublicKey.swift:130:27: [1;33mwarning: [1;39m'EC_KEY_get0_group' is deprecated[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m128 |[0;0m })
[0;36m129 |[0;0m let ecKey = EC_KEY_new_by_curve_name(curve.nativeCurve)
[0;36m130 |[0;0m let ecGroup = EC_KEY_get0_group(ecKey)
[0;36m|[0;0m `- [1;33mwarning: [1;39m'EC_KEY_get0_group' is deprecated[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m131 |[0;0m let ecPoint = EC_POINT_new(ecGroup)
[0;36m132 |[0;0m defer {
/host/spi-builder-workspace/Sources/CryptorECC/ECPublicKey.swift:135:13: [1;33mwarning: [1;39m'EC_POINT_bn2point' is deprecated[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m133 |[0;0m EC_POINT_free(ecPoint)
[0;36m134 |[0;0m }
[0;36m135 |[0;0m EC_POINT_bn2point(ecGroup, bigNum, ecPoint, nil)
[0;36m|[0;0m `- [1;33mwarning: [1;39m'EC_POINT_bn2point' is deprecated[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m136 |[0;0m guard EC_KEY_set_public_key(ecKey, ecPoint) == 1 else {
[0;36m137 |[0;0m EC_KEY_free(ecKey)
/host/spi-builder-workspace/Sources/CryptorECC/ECPublicKey.swift:136:19: [1;33mwarning: [1;39m'EC_KEY_set_public_key' is deprecated[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m134 |[0;0m }
[0;36m135 |[0;0m EC_POINT_bn2point(ecGroup, bigNum, ecPoint, nil)
[0;36m136 |[0;0m guard EC_KEY_set_public_key(ecKey, ecPoint) == 1 else {
[0;36m|[0;0m `- [1;33mwarning: [1;39m'EC_KEY_set_public_key' is deprecated[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m137 |[0;0m EC_KEY_free(ecKey)
[0;36m138 |[0;0m throw ECError.failedNativeKeyCreation
/host/spi-builder-workspace/Sources/CryptorECC/ECPublicKey.swift:137:17: [1;33mwarning: [1;39m'EC_KEY_free' is deprecated[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m135 |[0;0m EC_POINT_bn2point(ecGroup, bigNum, ecPoint, nil)
[0;36m136 |[0;0m guard EC_KEY_set_public_key(ecKey, ecPoint) == 1 else {
[0;36m137 |[0;0m EC_KEY_free(ecKey)
[0;36m|[0;0m `- [1;33mwarning: [1;39m'EC_KEY_free' is deprecated[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m138 |[0;0m throw ECError.failedNativeKeyCreation
[0;36m139 |[0;0m }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/host/spi-builder-workspace/Sources/CryptorECC/ECSignable.swift:58:15: [1;33mwarning: [1;39m'EVP_PKEY_set1_EC_KEY' is deprecated[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m56 |[0;0m EVP_MD_CTX_free_wrapper(md_ctx)
[0;36m57 |[0;0m }
[0;36m58 |[0;0m guard EVP_PKEY_set1_EC_KEY(evp_key, .make(optional: key.nativeKey)) == 1 else {
[0;36m|[0;0m `- [1;33mwarning: [1;39m'EVP_PKEY_set1_EC_KEY' is deprecated[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m59 |[0;0m throw ECError.failedNativeKeyCreation
[0;36m60 |[0;0m }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Build complete! (5.39 secs)
Build complete.
{
"dependencies" : [
{
"identity" : "openssl",
"requirement" : {
"range" : [
{
"lower_bound" : "2.3.1",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Kitura/OpenSSL.git"
}
],
"manifest_display_name" : "CryptorECC",
"name" : "CryptorECC",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "CryptorECC",
"targets" : [
"CryptorECC"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "CryptorECCTests",
"module_type" : "SwiftTarget",
"name" : "CryptorECCTests",
"path" : "Tests/CryptorECCTests",
"sources" : [
"CryptorECCTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"CryptorECC"
],
"type" : "test"
},
{
"c99name" : "CryptorECC",
"module_type" : "SwiftTarget",
"name" : "CryptorECC",
"path" : "Sources/CryptorECC",
"product_dependencies" : [
"OpenSSL"
],
"product_memberships" : [
"CryptorECC"
],
"sources" : [
"ASN1.swift",
"Data+Extensions.swift",
"ECDecryptable.swift",
"ECEncryptable.swift",
"ECError.swift",
"ECPrivateKey.swift",
"ECPublicKey.swift",
"ECSignable.swift",
"ECSignature.swift",
"EllipticCurve.swift",
"SSLPointerTricks.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Done.