Build Information
Successful build of CryptorECC, reference master (e5faf7
), with Swift 6.2 (beta) for Linux on 19 Jun 2025 18:51:33 UTC.
Swift 6 data race errors: 0
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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: 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.2
Building package at path: $PWD
https://github.com/Kitura/BlueECC.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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
[1/203] Fetching openssl
Fetched https://github.com/Kitura/OpenSSL.git from cache (0.40s)
Computing version for https://github.com/Kitura/OpenSSL.git
Computed https://github.com/Kitura/OpenSSL.git at 2.3.1 (4.54s)
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 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>
[4/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>
[5/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:261:22: warning: 'EC_KEY_new_by_curve_name' is deprecated [#DeprecatedDeclaration]
259 | #if os(Linux)
260 |
261 | let ec_key = EC_KEY_new_by_curve_name(curve.nativeCurve)
| `- warning: 'EC_KEY_new_by_curve_name' is deprecated [#DeprecatedDeclaration]
262 | EC_KEY_generate_key(ec_key)
263 | self.nativeKey = ec_key
/host/spi-builder-workspace/Sources/CryptorECC/ECPrivateKey.swift:262:9: warning: 'EC_KEY_generate_key' is deprecated [#DeprecatedDeclaration]
260 |
261 | let ec_key = EC_KEY_new_by_curve_name(curve.nativeCurve)
262 | EC_KEY_generate_key(ec_key)
| `- warning: 'EC_KEY_generate_key' is deprecated [#DeprecatedDeclaration]
263 | self.nativeKey = ec_key
264 | let pub_bn_ctx = BN_CTX_new()
/host/spi-builder-workspace/Sources/CryptorECC/ECPrivateKey.swift:266:19: warning: 'EC_KEY_get0_public_key' is deprecated [#DeprecatedDeclaration]
264 | let pub_bn_ctx = BN_CTX_new()
265 | BN_CTX_start(pub_bn_ctx)
266 | let pub = EC_KEY_get0_public_key(ec_key)
| `- warning: 'EC_KEY_get0_public_key' is deprecated [#DeprecatedDeclaration]
267 | let ec_group = EC_KEY_get0_group(ec_key)
268 | let pub_bn = BN_new()
/host/spi-builder-workspace/Sources/CryptorECC/ECPrivateKey.swift:267:24: warning: 'EC_KEY_get0_group' is deprecated [#DeprecatedDeclaration]
265 | BN_CTX_start(pub_bn_ctx)
266 | let pub = EC_KEY_get0_public_key(ec_key)
267 | let ec_group = EC_KEY_get0_group(ec_key)
| `- warning: 'EC_KEY_get0_group' is deprecated [#DeprecatedDeclaration]
268 | let pub_bn = BN_new()
269 | EC_POINT_point2bn(ec_group, pub, POINT_CONVERSION_UNCOMPRESSED, pub_bn, pub_bn_ctx)
/host/spi-builder-workspace/Sources/CryptorECC/ECPrivateKey.swift:269:9: warning: 'EC_POINT_point2bn' is deprecated [#DeprecatedDeclaration]
267 | let ec_group = EC_KEY_get0_group(ec_key)
268 | let pub_bn = BN_new()
269 | EC_POINT_point2bn(ec_group, pub, POINT_CONVERSION_UNCOMPRESSED, pub_bn, pub_bn_ctx)
| `- warning: 'EC_POINT_point2bn' is deprecated [#DeprecatedDeclaration]
270 | let pubk = UnsafeMutablePointer<UInt8>.allocate(capacity: curve.keySize)
271 | BN_bn2bin(pub_bn, pubk)
/host/spi-builder-workspace/Sources/CryptorECC/ECPrivateKey.swift:336:19: warning: 'i2d_ECPrivateKey_bio' is deprecated [#DeprecatedDeclaration]
334 | // However it is just returning 1 for success.
335 | // Since the size is fixed we have just used the known values here.
336 | guard i2d_ECPrivateKey_bio(asn1Bio, nativeKey) >= 0 else {
| `- warning: 'i2d_ECPrivateKey_bio' is deprecated [#DeprecatedDeclaration]
337 | throw ECError.failedNativeKeyCreation
338 | }
/host/spi-builder-workspace/Sources/CryptorECC/ECPrivateKey.swift:455:25: warning: 'EC_KEY_new_by_curve_name' is deprecated [#DeprecatedDeclaration]
453 | BN_bin2bn(privateKeyBytes.baseAddress?.assumingMemoryBound(to: UInt8.self), Int32(privateKeyData.count), bigNum)
454 | })
455 | let ecKey = EC_KEY_new_by_curve_name(curve.nativeCurve)
| `- warning: 'EC_KEY_new_by_curve_name' is deprecated [#DeprecatedDeclaration]
456 | guard EC_KEY_set_private_key(ecKey, bigNum) == 1 else {
457 | EC_KEY_free(ecKey)
/host/spi-builder-workspace/Sources/CryptorECC/ECPrivateKey.swift:456:19: warning: 'EC_KEY_set_private_key' is deprecated [#DeprecatedDeclaration]
454 | })
455 | let ecKey = EC_KEY_new_by_curve_name(curve.nativeCurve)
456 | guard EC_KEY_set_private_key(ecKey, bigNum) == 1 else {
| `- warning: 'EC_KEY_set_private_key' is deprecated [#DeprecatedDeclaration]
457 | EC_KEY_free(ecKey)
458 | throw ECError.failedNativeKeyCreation
/host/spi-builder-workspace/Sources/CryptorECC/ECPrivateKey.swift:457:17: warning: 'EC_KEY_free' is deprecated [#DeprecatedDeclaration]
455 | let ecKey = EC_KEY_new_by_curve_name(curve.nativeCurve)
456 | guard EC_KEY_set_private_key(ecKey, bigNum) == 1 else {
457 | EC_KEY_free(ecKey)
| `- warning: 'EC_KEY_free' is deprecated [#DeprecatedDeclaration]
458 | throw ECError.failedNativeKeyCreation
459 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[6/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:261:22: warning: 'EC_KEY_new_by_curve_name' is deprecated [#DeprecatedDeclaration]
259 | #if os(Linux)
260 |
261 | let ec_key = EC_KEY_new_by_curve_name(curve.nativeCurve)
| `- warning: 'EC_KEY_new_by_curve_name' is deprecated [#DeprecatedDeclaration]
262 | EC_KEY_generate_key(ec_key)
263 | self.nativeKey = ec_key
/host/spi-builder-workspace/Sources/CryptorECC/ECPrivateKey.swift:262:9: warning: 'EC_KEY_generate_key' is deprecated [#DeprecatedDeclaration]
260 |
261 | let ec_key = EC_KEY_new_by_curve_name(curve.nativeCurve)
262 | EC_KEY_generate_key(ec_key)
| `- warning: 'EC_KEY_generate_key' is deprecated [#DeprecatedDeclaration]
263 | self.nativeKey = ec_key
264 | let pub_bn_ctx = BN_CTX_new()
/host/spi-builder-workspace/Sources/CryptorECC/ECPrivateKey.swift:266:19: warning: 'EC_KEY_get0_public_key' is deprecated [#DeprecatedDeclaration]
264 | let pub_bn_ctx = BN_CTX_new()
265 | BN_CTX_start(pub_bn_ctx)
266 | let pub = EC_KEY_get0_public_key(ec_key)
| `- warning: 'EC_KEY_get0_public_key' is deprecated [#DeprecatedDeclaration]
267 | let ec_group = EC_KEY_get0_group(ec_key)
268 | let pub_bn = BN_new()
/host/spi-builder-workspace/Sources/CryptorECC/ECPrivateKey.swift:267:24: warning: 'EC_KEY_get0_group' is deprecated [#DeprecatedDeclaration]
265 | BN_CTX_start(pub_bn_ctx)
266 | let pub = EC_KEY_get0_public_key(ec_key)
267 | let ec_group = EC_KEY_get0_group(ec_key)
| `- warning: 'EC_KEY_get0_group' is deprecated [#DeprecatedDeclaration]
268 | let pub_bn = BN_new()
269 | EC_POINT_point2bn(ec_group, pub, POINT_CONVERSION_UNCOMPRESSED, pub_bn, pub_bn_ctx)
/host/spi-builder-workspace/Sources/CryptorECC/ECPrivateKey.swift:269:9: warning: 'EC_POINT_point2bn' is deprecated [#DeprecatedDeclaration]
267 | let ec_group = EC_KEY_get0_group(ec_key)
268 | let pub_bn = BN_new()
269 | EC_POINT_point2bn(ec_group, pub, POINT_CONVERSION_UNCOMPRESSED, pub_bn, pub_bn_ctx)
| `- warning: 'EC_POINT_point2bn' is deprecated [#DeprecatedDeclaration]
270 | let pubk = UnsafeMutablePointer<UInt8>.allocate(capacity: curve.keySize)
271 | BN_bn2bin(pub_bn, pubk)
/host/spi-builder-workspace/Sources/CryptorECC/ECPrivateKey.swift:336:19: warning: 'i2d_ECPrivateKey_bio' is deprecated [#DeprecatedDeclaration]
334 | // However it is just returning 1 for success.
335 | // Since the size is fixed we have just used the known values here.
336 | guard i2d_ECPrivateKey_bio(asn1Bio, nativeKey) >= 0 else {
| `- warning: 'i2d_ECPrivateKey_bio' is deprecated [#DeprecatedDeclaration]
337 | throw ECError.failedNativeKeyCreation
338 | }
/host/spi-builder-workspace/Sources/CryptorECC/ECPrivateKey.swift:455:25: warning: 'EC_KEY_new_by_curve_name' is deprecated [#DeprecatedDeclaration]
453 | BN_bin2bn(privateKeyBytes.baseAddress?.assumingMemoryBound(to: UInt8.self), Int32(privateKeyData.count), bigNum)
454 | })
455 | let ecKey = EC_KEY_new_by_curve_name(curve.nativeCurve)
| `- warning: 'EC_KEY_new_by_curve_name' is deprecated [#DeprecatedDeclaration]
456 | guard EC_KEY_set_private_key(ecKey, bigNum) == 1 else {
457 | EC_KEY_free(ecKey)
/host/spi-builder-workspace/Sources/CryptorECC/ECPrivateKey.swift:456:19: warning: 'EC_KEY_set_private_key' is deprecated [#DeprecatedDeclaration]
454 | })
455 | let ecKey = EC_KEY_new_by_curve_name(curve.nativeCurve)
456 | guard EC_KEY_set_private_key(ecKey, bigNum) == 1 else {
| `- warning: 'EC_KEY_set_private_key' is deprecated [#DeprecatedDeclaration]
457 | EC_KEY_free(ecKey)
458 | throw ECError.failedNativeKeyCreation
/host/spi-builder-workspace/Sources/CryptorECC/ECPrivateKey.swift:457:17: warning: 'EC_KEY_free' is deprecated [#DeprecatedDeclaration]
455 | let ecKey = EC_KEY_new_by_curve_name(curve.nativeCurve)
456 | guard EC_KEY_set_private_key(ecKey, bigNum) == 1 else {
457 | EC_KEY_free(ecKey)
| `- warning: 'EC_KEY_free' is deprecated [#DeprecatedDeclaration]
458 | throw ECError.failedNativeKeyCreation
459 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[7/14] Compiling CryptorECC EllipticCurve.swift
[8/14] 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>
[9/14] Emitting module CryptorECC
[10/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>
[11/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>
[12/14] Compiling CryptorECC ASN1.swift
[13/14] Compiling CryptorECC Data+Extensions.swift
[14/14] Compiling CryptorECC SSLPointerTricks.swift
Build complete! (32.38s)
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.