The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of CryptorECC, reference 1.2.201 (148526), with Swift 6.2 (beta) for Linux on 19 Jun 2025 18:52:45 UTC.

Swift 6 data race errors: 0

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>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Kitura/BlueECC.git
Reference: 1.2.201
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
 * tag               1.2.201    -> FETCH_HEAD
HEAD is now at 1485268 Update podspec to specify Swift 5.2 as the minimum supported
Cloned https://github.com/Kitura/BlueECC.git
Revision (git rev-parse @):
1485268a54f8135435a825a855e733f026fa6cc8
SUCCESS checkout https://github.com/Kitura/BlueECC.git at 1.2.201
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/Kitura/BlueECC.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/Kitura/OpenSSL.git
[3/203] Fetching openssl
Fetched https://github.com/Kitura/OpenSSL.git from cache (0.45s)
Computing version for https://github.com/Kitura/OpenSSL.git
Computed https://github.com/Kitura/OpenSSL.git at 2.3.1 (5.01s)
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...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/13] Compiling CryptorECC ECSignature.swift
/host/spi-builder-workspace/Sources/CryptorECC/ECSignature.swift:93:15: warning: 'EVP_PKEY_set1_EC_KEY' is deprecated [#DeprecatedDeclaration]
 91 |             EVP_MD_CTX_free_wrapper(md_ctx)
 92 |         }
 93 |         guard EVP_PKEY_set1_EC_KEY(evp_key, .make(optional: ecPublicKey.nativeKey)) == 1 else {
    |               `- warning: 'EVP_PKEY_set1_EC_KEY' is deprecated [#DeprecatedDeclaration]
 94 |             return false
 95 |         }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[4/13] Compiling CryptorECC ECSignable.swift
/host/spi-builder-workspace/Sources/CryptorECC/ECSignable.swift:58:15: warning: 'EVP_PKEY_set1_EC_KEY' is deprecated [#DeprecatedDeclaration]
 56 |             EVP_MD_CTX_free_wrapper(md_ctx)
 57 |         }
 58 |         guard EVP_PKEY_set1_EC_KEY(evp_key, .make(optional: key.nativeKey)) == 1 else {
    |               `- warning: 'EVP_PKEY_set1_EC_KEY' is deprecated [#DeprecatedDeclaration]
 59 |             throw ECError.failedNativeKeyCreation
 60 |         }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[5/13] Compiling CryptorECC ECPublicKey.swift
/host/spi-builder-workspace/Sources/CryptorECC/ECPublicKey.swift:58:14: warning: 'EC_KEY_free' is deprecated [#DeprecatedDeclaration]
 56 |     typealias NativeKey = OpaquePointer?
 57 |     let pubKeyBytes: Data
 58 |     deinit { EC_KEY_free(.make(optional: self.nativeKey)) }
    |              `- warning: 'EC_KEY_free' is deprecated [#DeprecatedDeclaration]
 59 |     #else
 60 |     typealias NativeKey = SecKey
/host/spi-builder-workspace/Sources/CryptorECC/ECPublicKey.swift:129:25: warning: 'EC_KEY_new_by_curve_name' is deprecated [#DeprecatedDeclaration]
127 |                 BN_bin2bn(pubKeyBytes.baseAddress?.assumingMemoryBound(to: UInt8.self), Int32(publicKeyData.count), bigNum)
128 |             })
129 |             let ecKey = EC_KEY_new_by_curve_name(curve.nativeCurve)
    |                         `- warning: 'EC_KEY_new_by_curve_name' is deprecated [#DeprecatedDeclaration]
130 |             let ecGroup = EC_KEY_get0_group(ecKey)
131 |             let ecPoint = EC_POINT_new(ecGroup)
/host/spi-builder-workspace/Sources/CryptorECC/ECPublicKey.swift:130:27: warning: 'EC_KEY_get0_group' is deprecated [#DeprecatedDeclaration]
128 |             })
129 |             let ecKey = EC_KEY_new_by_curve_name(curve.nativeCurve)
130 |             let ecGroup = EC_KEY_get0_group(ecKey)
    |                           `- warning: 'EC_KEY_get0_group' is deprecated [#DeprecatedDeclaration]
131 |             let ecPoint = EC_POINT_new(ecGroup)
132 |             defer {
/host/spi-builder-workspace/Sources/CryptorECC/ECPublicKey.swift:135:13: warning: 'EC_POINT_bn2point' is deprecated [#DeprecatedDeclaration]
133 |                 EC_POINT_free(ecPoint)
134 |             }
135 |             EC_POINT_bn2point(ecGroup, bigNum, ecPoint, nil)
    |             `- warning: 'EC_POINT_bn2point' is deprecated [#DeprecatedDeclaration]
136 |             guard EC_KEY_set_public_key(ecKey, ecPoint) == 1 else {
137 |                 EC_KEY_free(ecKey)
/host/spi-builder-workspace/Sources/CryptorECC/ECPublicKey.swift:136:19: warning: 'EC_KEY_set_public_key' is deprecated [#DeprecatedDeclaration]
134 |             }
135 |             EC_POINT_bn2point(ecGroup, bigNum, ecPoint, nil)
136 |             guard EC_KEY_set_public_key(ecKey, ecPoint) == 1 else {
    |                   `- warning: 'EC_KEY_set_public_key' is deprecated [#DeprecatedDeclaration]
137 |                 EC_KEY_free(ecKey)
138 |                 throw ECError.failedNativeKeyCreation
/host/spi-builder-workspace/Sources/CryptorECC/ECPublicKey.swift:137:17: warning: 'EC_KEY_free' is deprecated [#DeprecatedDeclaration]
135 |             EC_POINT_bn2point(ecGroup, bigNum, ecPoint, nil)
136 |             guard EC_KEY_set_public_key(ecKey, ecPoint) == 1 else {
137 |                 EC_KEY_free(ecKey)
    |                 `- warning: 'EC_KEY_free' is deprecated [#DeprecatedDeclaration]
138 |                 throw ECError.failedNativeKeyCreation
139 |             }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[6/13] Compiling CryptorECC EllipticCurve.swift
[7/14] Compiling CryptorECC ECError.swift
/host/spi-builder-workspace/Sources/CryptorECC/ECPrivateKey.swift:58:18: warning: 'EC_KEY_free' is deprecated [#DeprecatedDeclaration]
 56 |     #if os(Linux)
 57 |         typealias NativeKey = OpaquePointer?
 58 |         deinit { EC_KEY_free(.make(optional: self.nativeKey)) }
    |                  `- warning: 'EC_KEY_free' is deprecated [#DeprecatedDeclaration]
 59 |     #else
 60 |         typealias NativeKey = SecKey
/host/spi-builder-workspace/Sources/CryptorECC/ECPrivateKey.swift:259:22: warning: 'EC_KEY_new_by_curve_name' is deprecated [#DeprecatedDeclaration]
257 |         self.stripped = true
258 |         #if os(Linux)
259 |         let ec_key = EC_KEY_new_by_curve_name(curve.nativeCurve)
    |                      `- warning: 'EC_KEY_new_by_curve_name' is deprecated [#DeprecatedDeclaration]
260 |         EC_KEY_generate_key(ec_key)
261 |         self.nativeKey = ec_key
/host/spi-builder-workspace/Sources/CryptorECC/ECPrivateKey.swift:260:9: warning: 'EC_KEY_generate_key' is deprecated [#DeprecatedDeclaration]
258 |         #if os(Linux)
259 |         let ec_key = EC_KEY_new_by_curve_name(curve.nativeCurve)
260 |         EC_KEY_generate_key(ec_key)
    |         `- warning: 'EC_KEY_generate_key' is deprecated [#DeprecatedDeclaration]
261 |         self.nativeKey = ec_key
262 |         let pub_bn_ctx = BN_CTX_new()
/host/spi-builder-workspace/Sources/CryptorECC/ECPrivateKey.swift:264:19: warning: 'EC_KEY_get0_public_key' is deprecated [#DeprecatedDeclaration]
262 |         let pub_bn_ctx = BN_CTX_new()
263 |         BN_CTX_start(pub_bn_ctx)
264 |         let pub = EC_KEY_get0_public_key(ec_key)
    |                   `- warning: 'EC_KEY_get0_public_key' is deprecated [#DeprecatedDeclaration]
265 |         let ec_group = EC_KEY_get0_group(ec_key)
266 |         let pub_bn = BN_new()
/host/spi-builder-workspace/Sources/CryptorECC/ECPrivateKey.swift:265:24: warning: 'EC_KEY_get0_group' is deprecated [#DeprecatedDeclaration]
263 |         BN_CTX_start(pub_bn_ctx)
264 |         let pub = EC_KEY_get0_public_key(ec_key)
265 |         let ec_group = EC_KEY_get0_group(ec_key)
    |                        `- warning: 'EC_KEY_get0_group' is deprecated [#DeprecatedDeclaration]
266 |         let pub_bn = BN_new()
267 |         EC_POINT_point2bn(ec_group, pub, POINT_CONVERSION_UNCOMPRESSED, pub_bn, pub_bn_ctx)
/host/spi-builder-workspace/Sources/CryptorECC/ECPrivateKey.swift:267:9: warning: 'EC_POINT_point2bn' is deprecated [#DeprecatedDeclaration]
265 |         let ec_group = EC_KEY_get0_group(ec_key)
266 |         let pub_bn = BN_new()
267 |         EC_POINT_point2bn(ec_group, pub, POINT_CONVERSION_UNCOMPRESSED, pub_bn, pub_bn_ctx)
    |         `- warning: 'EC_POINT_point2bn' is deprecated [#DeprecatedDeclaration]
268 |         let pubk = UnsafeMutablePointer<UInt8>.allocate(capacity: curve.keySize)
269 |         BN_bn2bin(pub_bn, pubk)
/host/spi-builder-workspace/Sources/CryptorECC/ECPrivateKey.swift:322:19: warning: 'i2d_ECPrivateKey_bio' is deprecated [#DeprecatedDeclaration]
320 |             // However it is just returning 1 for success.
321 |             // Since the size is fixed we have just used the known values here.
322 |             guard i2d_ECPrivateKey_bio(asn1Bio, nativeKey) >= 0 else {
    |                   `- warning: 'i2d_ECPrivateKey_bio' is deprecated [#DeprecatedDeclaration]
323 |                 throw ECError.failedNativeKeyCreation
324 |             }
/host/spi-builder-workspace/Sources/CryptorECC/ECPrivateKey.swift:441:25: warning: 'EC_KEY_new_by_curve_name' is deprecated [#DeprecatedDeclaration]
439 |                 BN_bin2bn(privateKeyBytes.baseAddress?.assumingMemoryBound(to: UInt8.self), Int32(privateKeyData.count), bigNum)
440 |             })
441 |             let ecKey = EC_KEY_new_by_curve_name(curve.nativeCurve)
    |                         `- warning: 'EC_KEY_new_by_curve_name' is deprecated [#DeprecatedDeclaration]
442 |             guard EC_KEY_set_private_key(ecKey, bigNum) == 1 else {
443 |                 EC_KEY_free(ecKey)
/host/spi-builder-workspace/Sources/CryptorECC/ECPrivateKey.swift:442:19: warning: 'EC_KEY_set_private_key' is deprecated [#DeprecatedDeclaration]
440 |             })
441 |             let ecKey = EC_KEY_new_by_curve_name(curve.nativeCurve)
442 |             guard EC_KEY_set_private_key(ecKey, bigNum) == 1 else {
    |                   `- warning: 'EC_KEY_set_private_key' is deprecated [#DeprecatedDeclaration]
443 |                 EC_KEY_free(ecKey)
444 |                 throw ECError.failedNativeKeyCreation
/host/spi-builder-workspace/Sources/CryptorECC/ECPrivateKey.swift:443:17: warning: 'EC_KEY_free' is deprecated [#DeprecatedDeclaration]
441 |             let ecKey = EC_KEY_new_by_curve_name(curve.nativeCurve)
442 |             guard EC_KEY_set_private_key(ecKey, bigNum) == 1 else {
443 |                 EC_KEY_free(ecKey)
    |                 `- warning: 'EC_KEY_free' is deprecated [#DeprecatedDeclaration]
444 |                 throw ECError.failedNativeKeyCreation
445 |             }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[8/14] Compiling CryptorECC ECPrivateKey.swift
/host/spi-builder-workspace/Sources/CryptorECC/ECPrivateKey.swift:58:18: warning: 'EC_KEY_free' is deprecated [#DeprecatedDeclaration]
 56 |     #if os(Linux)
 57 |         typealias NativeKey = OpaquePointer?
 58 |         deinit { EC_KEY_free(.make(optional: self.nativeKey)) }
    |                  `- warning: 'EC_KEY_free' is deprecated [#DeprecatedDeclaration]
 59 |     #else
 60 |         typealias NativeKey = SecKey
/host/spi-builder-workspace/Sources/CryptorECC/ECPrivateKey.swift:259:22: warning: 'EC_KEY_new_by_curve_name' is deprecated [#DeprecatedDeclaration]
257 |         self.stripped = true
258 |         #if os(Linux)
259 |         let ec_key = EC_KEY_new_by_curve_name(curve.nativeCurve)
    |                      `- warning: 'EC_KEY_new_by_curve_name' is deprecated [#DeprecatedDeclaration]
260 |         EC_KEY_generate_key(ec_key)
261 |         self.nativeKey = ec_key
/host/spi-builder-workspace/Sources/CryptorECC/ECPrivateKey.swift:260:9: warning: 'EC_KEY_generate_key' is deprecated [#DeprecatedDeclaration]
258 |         #if os(Linux)
259 |         let ec_key = EC_KEY_new_by_curve_name(curve.nativeCurve)
260 |         EC_KEY_generate_key(ec_key)
    |         `- warning: 'EC_KEY_generate_key' is deprecated [#DeprecatedDeclaration]
261 |         self.nativeKey = ec_key
262 |         let pub_bn_ctx = BN_CTX_new()
/host/spi-builder-workspace/Sources/CryptorECC/ECPrivateKey.swift:264:19: warning: 'EC_KEY_get0_public_key' is deprecated [#DeprecatedDeclaration]
262 |         let pub_bn_ctx = BN_CTX_new()
263 |         BN_CTX_start(pub_bn_ctx)
264 |         let pub = EC_KEY_get0_public_key(ec_key)
    |                   `- warning: 'EC_KEY_get0_public_key' is deprecated [#DeprecatedDeclaration]
265 |         let ec_group = EC_KEY_get0_group(ec_key)
266 |         let pub_bn = BN_new()
/host/spi-builder-workspace/Sources/CryptorECC/ECPrivateKey.swift:265:24: warning: 'EC_KEY_get0_group' is deprecated [#DeprecatedDeclaration]
263 |         BN_CTX_start(pub_bn_ctx)
264 |         let pub = EC_KEY_get0_public_key(ec_key)
265 |         let ec_group = EC_KEY_get0_group(ec_key)
    |                        `- warning: 'EC_KEY_get0_group' is deprecated [#DeprecatedDeclaration]
266 |         let pub_bn = BN_new()
267 |         EC_POINT_point2bn(ec_group, pub, POINT_CONVERSION_UNCOMPRESSED, pub_bn, pub_bn_ctx)
/host/spi-builder-workspace/Sources/CryptorECC/ECPrivateKey.swift:267:9: warning: 'EC_POINT_point2bn' is deprecated [#DeprecatedDeclaration]
265 |         let ec_group = EC_KEY_get0_group(ec_key)
266 |         let pub_bn = BN_new()
267 |         EC_POINT_point2bn(ec_group, pub, POINT_CONVERSION_UNCOMPRESSED, pub_bn, pub_bn_ctx)
    |         `- warning: 'EC_POINT_point2bn' is deprecated [#DeprecatedDeclaration]
268 |         let pubk = UnsafeMutablePointer<UInt8>.allocate(capacity: curve.keySize)
269 |         BN_bn2bin(pub_bn, pubk)
/host/spi-builder-workspace/Sources/CryptorECC/ECPrivateKey.swift:322:19: warning: 'i2d_ECPrivateKey_bio' is deprecated [#DeprecatedDeclaration]
320 |             // However it is just returning 1 for success.
321 |             // Since the size is fixed we have just used the known values here.
322 |             guard i2d_ECPrivateKey_bio(asn1Bio, nativeKey) >= 0 else {
    |                   `- warning: 'i2d_ECPrivateKey_bio' is deprecated [#DeprecatedDeclaration]
323 |                 throw ECError.failedNativeKeyCreation
324 |             }
/host/spi-builder-workspace/Sources/CryptorECC/ECPrivateKey.swift:441:25: warning: 'EC_KEY_new_by_curve_name' is deprecated [#DeprecatedDeclaration]
439 |                 BN_bin2bn(privateKeyBytes.baseAddress?.assumingMemoryBound(to: UInt8.self), Int32(privateKeyData.count), bigNum)
440 |             })
441 |             let ecKey = EC_KEY_new_by_curve_name(curve.nativeCurve)
    |                         `- warning: 'EC_KEY_new_by_curve_name' is deprecated [#DeprecatedDeclaration]
442 |             guard EC_KEY_set_private_key(ecKey, bigNum) == 1 else {
443 |                 EC_KEY_free(ecKey)
/host/spi-builder-workspace/Sources/CryptorECC/ECPrivateKey.swift:442:19: warning: 'EC_KEY_set_private_key' is deprecated [#DeprecatedDeclaration]
440 |             })
441 |             let ecKey = EC_KEY_new_by_curve_name(curve.nativeCurve)
442 |             guard EC_KEY_set_private_key(ecKey, bigNum) == 1 else {
    |                   `- warning: 'EC_KEY_set_private_key' is deprecated [#DeprecatedDeclaration]
443 |                 EC_KEY_free(ecKey)
444 |                 throw ECError.failedNativeKeyCreation
/host/spi-builder-workspace/Sources/CryptorECC/ECPrivateKey.swift:443:17: warning: 'EC_KEY_free' is deprecated [#DeprecatedDeclaration]
441 |             let ecKey = EC_KEY_new_by_curve_name(curve.nativeCurve)
442 |             guard EC_KEY_set_private_key(ecKey, bigNum) == 1 else {
443 |                 EC_KEY_free(ecKey)
    |                 `- warning: 'EC_KEY_free' is deprecated [#DeprecatedDeclaration]
444 |                 throw ECError.failedNativeKeyCreation
445 |             }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[9/14] Compiling CryptorECC SSLPointerTricks.swift
[10/14] Compiling CryptorECC ASN1.swift
[11/14] Compiling CryptorECC Data+Extensions.swift
[12/14] Emitting module CryptorECC
[13/14] Compiling CryptorECC ECDecryptable.swift
/host/spi-builder-workspace/Sources/CryptorECC/ECDecryptable.swift:47:24: warning: 'EC_KEY_get0_group' is deprecated [#DeprecatedDeclaration]
 45 |         var tagData = self.subdata(in: encKeyLength+encryptedDataLength..<self.count)
 46 |         // Allocate memory for decryption
 47 |         let ec_group = EC_KEY_get0_group(key.nativeKey)
    |                        `- warning: 'EC_KEY_get0_group' is deprecated [#DeprecatedDeclaration]
 48 |         let skey_len = Int((EC_GROUP_get_degree(ec_group) + 7) / 8)
 49 |         let symKey = UnsafeMutablePointer<UInt8>.allocate(capacity: skey_len)
/host/spi-builder-workspace/Sources/CryptorECC/ECDecryptable.swift:73:13: warning: 'EC_POINT_bn2point' is deprecated [#DeprecatedDeclaration]
 71 |             let pubk_bn_ctx = BN_CTX_new()
 72 |             BN_CTX_start(pubk_bn_ctx)
 73 |             EC_POINT_bn2point(ec_group, pubk_bn, pubk_point, pubk_bn_ctx)
    |             `- warning: 'EC_POINT_bn2point' is deprecated [#DeprecatedDeclaration]
 74 |             BN_CTX_end(pubk_bn_ctx)
 75 |             BN_CTX_free(pubk_bn_ctx)
/host/spi-builder-workspace/Sources/CryptorECC/ECDecryptable.swift:80:9: warning: 'ECDH_compute_key' is deprecated [#DeprecatedDeclaration]
 78 |
 79 |         // calculate symmetric key
 80 |         ECDH_compute_key(symKey, skey_len, pubk_point, key.nativeKey, nil)
    |         `- warning: 'ECDH_compute_key' is deprecated [#DeprecatedDeclaration]
 81 |         // processedLen is the number of bytes that each EVP_DecryptUpdate/EVP_DecryptFinal decrypts.
 82 |         // The sum of processedLen is the total size of the decrypted message (decMsgLen)
/host/spi-builder-workspace/Sources/CryptorECC/ECEncryptable.swift:59:22: warning: 'EC_KEY_new_by_curve_name' is deprecated [#DeprecatedDeclaration]
 57 |     #if os(Linux)
 58 |         // Compute symmetric key
 59 |         let ec_key = EC_KEY_new_by_curve_name(key.curve.nativeCurve)
    |                      `- warning: 'EC_KEY_new_by_curve_name' is deprecated [#DeprecatedDeclaration]
 60 |         defer {
 61 |             EC_KEY_free(ec_key)
/host/spi-builder-workspace/Sources/CryptorECC/ECEncryptable.swift:61:13: warning: 'EC_KEY_free' is deprecated [#DeprecatedDeclaration]
 59 |         let ec_key = EC_KEY_new_by_curve_name(key.curve.nativeCurve)
 60 |         defer {
 61 |             EC_KEY_free(ec_key)
    |             `- warning: 'EC_KEY_free' is deprecated [#DeprecatedDeclaration]
 62 |         }
 63 |         EC_KEY_generate_key(ec_key)
/host/spi-builder-workspace/Sources/CryptorECC/ECEncryptable.swift:63:9: warning: 'EC_KEY_generate_key' is deprecated [#DeprecatedDeclaration]
 61 |             EC_KEY_free(ec_key)
 62 |         }
 63 |         EC_KEY_generate_key(ec_key)
    |         `- warning: 'EC_KEY_generate_key' is deprecated [#DeprecatedDeclaration]
 64 |         let ec_group = EC_KEY_get0_group(ec_key)
 65 |         let symKey_len = Int((EC_GROUP_get_degree(ec_group) + 7) / 8)
/host/spi-builder-workspace/Sources/CryptorECC/ECEncryptable.swift:64:24: warning: 'EC_KEY_get0_group' is deprecated [#DeprecatedDeclaration]
 62 |         }
 63 |         EC_KEY_generate_key(ec_key)
 64 |         let ec_group = EC_KEY_get0_group(ec_key)
    |                        `- warning: 'EC_KEY_get0_group' is deprecated [#DeprecatedDeclaration]
 65 |         let symKey_len = Int((EC_GROUP_get_degree(ec_group) + 7) / 8)
 66 |         let symKey = UnsafeMutablePointer<UInt8>.allocate(capacity: symKey_len)
/host/spi-builder-workspace/Sources/CryptorECC/ECEncryptable.swift:67:9: warning: 'ECDH_compute_key' is deprecated [#DeprecatedDeclaration]
 65 |         let symKey_len = Int((EC_GROUP_get_degree(ec_group) + 7) / 8)
 66 |         let symKey = UnsafeMutablePointer<UInt8>.allocate(capacity: symKey_len)
 67 |         ECDH_compute_key(symKey, symKey_len, EC_KEY_get0_public_key(key.nativeKey), ec_key, nil)
    |         `- warning: 'ECDH_compute_key' is deprecated [#DeprecatedDeclaration]
 68 |
 69 |         // get temp public key data
/host/spi-builder-workspace/Sources/CryptorECC/ECEncryptable.swift:67:46: warning: 'EC_KEY_get0_public_key' is deprecated [#DeprecatedDeclaration]
 65 |         let symKey_len = Int((EC_GROUP_get_degree(ec_group) + 7) / 8)
 66 |         let symKey = UnsafeMutablePointer<UInt8>.allocate(capacity: symKey_len)
 67 |         ECDH_compute_key(symKey, symKey_len, EC_KEY_get0_public_key(key.nativeKey), ec_key, nil)
    |                                              `- warning: 'EC_KEY_get0_public_key' is deprecated [#DeprecatedDeclaration]
 68 |
 69 |         // get temp public key data
/host/spi-builder-workspace/Sources/CryptorECC/ECEncryptable.swift:72:19: warning: 'EC_KEY_get0_public_key' is deprecated [#DeprecatedDeclaration]
 70 |         let pub_bn_ctx = BN_CTX_new()
 71 |         BN_CTX_start(pub_bn_ctx)
 72 |         let pub = EC_KEY_get0_public_key(ec_key)
    |                   `- warning: 'EC_KEY_get0_public_key' is deprecated [#DeprecatedDeclaration]
 73 |         let pub_bn = BN_new()
 74 |         EC_POINT_point2bn(ec_group, pub, POINT_CONVERSION_UNCOMPRESSED, pub_bn, pub_bn_ctx)
/host/spi-builder-workspace/Sources/CryptorECC/ECEncryptable.swift:74:9: warning: 'EC_POINT_point2bn' is deprecated [#DeprecatedDeclaration]
 72 |         let pub = EC_KEY_get0_public_key(ec_key)
 73 |         let pub_bn = BN_new()
 74 |         EC_POINT_point2bn(ec_group, pub, POINT_CONVERSION_UNCOMPRESSED, pub_bn, pub_bn_ctx)
    |         `- warning: 'EC_POINT_point2bn' is deprecated [#DeprecatedDeclaration]
 75 |         let pubk = UnsafeMutablePointer<UInt8>.allocate(capacity: key.curve.keySize)
 76 |         BN_bn2bin(pub_bn, pubk)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[14/14] Compiling CryptorECC ECEncryptable.swift
/host/spi-builder-workspace/Sources/CryptorECC/ECDecryptable.swift:47:24: warning: 'EC_KEY_get0_group' is deprecated [#DeprecatedDeclaration]
 45 |         var tagData = self.subdata(in: encKeyLength+encryptedDataLength..<self.count)
 46 |         // Allocate memory for decryption
 47 |         let ec_group = EC_KEY_get0_group(key.nativeKey)
    |                        `- warning: 'EC_KEY_get0_group' is deprecated [#DeprecatedDeclaration]
 48 |         let skey_len = Int((EC_GROUP_get_degree(ec_group) + 7) / 8)
 49 |         let symKey = UnsafeMutablePointer<UInt8>.allocate(capacity: skey_len)
/host/spi-builder-workspace/Sources/CryptorECC/ECDecryptable.swift:73:13: warning: 'EC_POINT_bn2point' is deprecated [#DeprecatedDeclaration]
 71 |             let pubk_bn_ctx = BN_CTX_new()
 72 |             BN_CTX_start(pubk_bn_ctx)
 73 |             EC_POINT_bn2point(ec_group, pubk_bn, pubk_point, pubk_bn_ctx)
    |             `- warning: 'EC_POINT_bn2point' is deprecated [#DeprecatedDeclaration]
 74 |             BN_CTX_end(pubk_bn_ctx)
 75 |             BN_CTX_free(pubk_bn_ctx)
/host/spi-builder-workspace/Sources/CryptorECC/ECDecryptable.swift:80:9: warning: 'ECDH_compute_key' is deprecated [#DeprecatedDeclaration]
 78 |
 79 |         // calculate symmetric key
 80 |         ECDH_compute_key(symKey, skey_len, pubk_point, key.nativeKey, nil)
    |         `- warning: 'ECDH_compute_key' is deprecated [#DeprecatedDeclaration]
 81 |         // processedLen is the number of bytes that each EVP_DecryptUpdate/EVP_DecryptFinal decrypts.
 82 |         // The sum of processedLen is the total size of the decrypted message (decMsgLen)
/host/spi-builder-workspace/Sources/CryptorECC/ECEncryptable.swift:59:22: warning: 'EC_KEY_new_by_curve_name' is deprecated [#DeprecatedDeclaration]
 57 |     #if os(Linux)
 58 |         // Compute symmetric key
 59 |         let ec_key = EC_KEY_new_by_curve_name(key.curve.nativeCurve)
    |                      `- warning: 'EC_KEY_new_by_curve_name' is deprecated [#DeprecatedDeclaration]
 60 |         defer {
 61 |             EC_KEY_free(ec_key)
/host/spi-builder-workspace/Sources/CryptorECC/ECEncryptable.swift:61:13: warning: 'EC_KEY_free' is deprecated [#DeprecatedDeclaration]
 59 |         let ec_key = EC_KEY_new_by_curve_name(key.curve.nativeCurve)
 60 |         defer {
 61 |             EC_KEY_free(ec_key)
    |             `- warning: 'EC_KEY_free' is deprecated [#DeprecatedDeclaration]
 62 |         }
 63 |         EC_KEY_generate_key(ec_key)
/host/spi-builder-workspace/Sources/CryptorECC/ECEncryptable.swift:63:9: warning: 'EC_KEY_generate_key' is deprecated [#DeprecatedDeclaration]
 61 |             EC_KEY_free(ec_key)
 62 |         }
 63 |         EC_KEY_generate_key(ec_key)
    |         `- warning: 'EC_KEY_generate_key' is deprecated [#DeprecatedDeclaration]
 64 |         let ec_group = EC_KEY_get0_group(ec_key)
 65 |         let symKey_len = Int((EC_GROUP_get_degree(ec_group) + 7) / 8)
/host/spi-builder-workspace/Sources/CryptorECC/ECEncryptable.swift:64:24: warning: 'EC_KEY_get0_group' is deprecated [#DeprecatedDeclaration]
 62 |         }
 63 |         EC_KEY_generate_key(ec_key)
 64 |         let ec_group = EC_KEY_get0_group(ec_key)
    |                        `- warning: 'EC_KEY_get0_group' is deprecated [#DeprecatedDeclaration]
 65 |         let symKey_len = Int((EC_GROUP_get_degree(ec_group) + 7) / 8)
 66 |         let symKey = UnsafeMutablePointer<UInt8>.allocate(capacity: symKey_len)
/host/spi-builder-workspace/Sources/CryptorECC/ECEncryptable.swift:67:9: warning: 'ECDH_compute_key' is deprecated [#DeprecatedDeclaration]
 65 |         let symKey_len = Int((EC_GROUP_get_degree(ec_group) + 7) / 8)
 66 |         let symKey = UnsafeMutablePointer<UInt8>.allocate(capacity: symKey_len)
 67 |         ECDH_compute_key(symKey, symKey_len, EC_KEY_get0_public_key(key.nativeKey), ec_key, nil)
    |         `- warning: 'ECDH_compute_key' is deprecated [#DeprecatedDeclaration]
 68 |
 69 |         // get temp public key data
/host/spi-builder-workspace/Sources/CryptorECC/ECEncryptable.swift:67:46: warning: 'EC_KEY_get0_public_key' is deprecated [#DeprecatedDeclaration]
 65 |         let symKey_len = Int((EC_GROUP_get_degree(ec_group) + 7) / 8)
 66 |         let symKey = UnsafeMutablePointer<UInt8>.allocate(capacity: symKey_len)
 67 |         ECDH_compute_key(symKey, symKey_len, EC_KEY_get0_public_key(key.nativeKey), ec_key, nil)
    |                                              `- warning: 'EC_KEY_get0_public_key' is deprecated [#DeprecatedDeclaration]
 68 |
 69 |         // get temp public key data
/host/spi-builder-workspace/Sources/CryptorECC/ECEncryptable.swift:72:19: warning: 'EC_KEY_get0_public_key' is deprecated [#DeprecatedDeclaration]
 70 |         let pub_bn_ctx = BN_CTX_new()
 71 |         BN_CTX_start(pub_bn_ctx)
 72 |         let pub = EC_KEY_get0_public_key(ec_key)
    |                   `- warning: 'EC_KEY_get0_public_key' is deprecated [#DeprecatedDeclaration]
 73 |         let pub_bn = BN_new()
 74 |         EC_POINT_point2bn(ec_group, pub, POINT_CONVERSION_UNCOMPRESSED, pub_bn, pub_bn_ctx)
/host/spi-builder-workspace/Sources/CryptorECC/ECEncryptable.swift:74:9: warning: 'EC_POINT_point2bn' is deprecated [#DeprecatedDeclaration]
 72 |         let pub = EC_KEY_get0_public_key(ec_key)
 73 |         let pub_bn = BN_new()
 74 |         EC_POINT_point2bn(ec_group, pub, POINT_CONVERSION_UNCOMPRESSED, pub_bn, pub_bn_ctx)
    |         `- warning: 'EC_POINT_point2bn' is deprecated [#DeprecatedDeclaration]
 75 |         let pubk = UnsafeMutablePointer<UInt8>.allocate(capacity: key.curve.keySize)
 76 |         BN_bn2bin(pub_bn, pubk)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Build complete! (29.69s)
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.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
Done.