The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of CryptorECC, reference 1.2.201 (148526), with Swift 6.0 for Linux on 29 Nov 2024 01:21:12 UTC.

Swift 6 data race errors: 6

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.58.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.0
Building package at path:  $PWD
https://github.com/Kitura/BlueECC.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/Kitura/OpenSSL.git
[1/203] Fetching openssl
Fetched https://github.com/Kitura/OpenSSL.git from cache (0.17s)
Computing version for https://github.com/Kitura/OpenSSL.git
Computed https://github.com/Kitura/OpenSSL.git at 2.3.1 (2.62s)
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 EllipticCurve.swift
/host/spi-builder-workspace/Sources/CryptorECC/EllipticCurve.swift:36:23: warning: static property 'prime256v1' is not concurrency-safe because non-'Sendable' type 'EllipticCurve' may have shared mutable state; this is an error in the Swift 6 language mode
 24 | /// An extensible list of elliptic curves supported by this repository.
 25 | @available(macOS 10.13, iOS 11, watchOS 4.0, tvOS 11.0, *)
 26 | public struct EllipticCurve: Equatable, CustomStringConvertible {
    |               `- note: consider making struct 'EllipticCurve' conform to the 'Sendable' protocol
 27 |
 28 |     private let internalRepresentation: InternalRepresentation
    :
 34 |
 35 |     /// A prime256v1 curve.
 36 |     public static let prime256v1 = EllipticCurve.p256
    |                       |- warning: static property 'prime256v1' is not concurrency-safe because non-'Sendable' type 'EllipticCurve' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'prime256v1' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 37 |
 38 |     /// A secp384r1 curve.
/host/spi-builder-workspace/Sources/CryptorECC/EllipticCurve.swift:70:16: warning: static property 'p256' is not concurrency-safe because non-'Sendable' type 'EllipticCurve' may have shared mutable state; this is an error in the Swift 6 language mode
 24 | /// An extensible list of elliptic curves supported by this repository.
 25 | @available(macOS 10.13, iOS 11, watchOS 4.0, tvOS 11.0, *)
 26 | public struct EllipticCurve: Equatable, CustomStringConvertible {
    |               `- note: consider making struct 'EllipticCurve' conform to the 'Sendable' protocol
 27 |
 28 |     private let internalRepresentation: InternalRepresentation
    :
 68 |     #if os(Linux)
 69 |     /// Secure Hash Algorithm 2 256-bit
 70 |     static let p256 = EllipticCurve(internalRepresentation: .prime256v1,
    |                |- warning: static property 'p256' is not concurrency-safe because non-'Sendable' type 'EllipticCurve' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'p256' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 71 |                                     signingAlgorithm: .init(EVP_sha256()),
 72 |                                     nativeCurve: NID_X9_62_prime256v1,
/host/spi-builder-workspace/Sources/CryptorECC/EllipticCurve.swift:39:23: warning: static property 'secp384r1' is not concurrency-safe because non-'Sendable' type 'EllipticCurve' may have shared mutable state; this is an error in the Swift 6 language mode
 24 | /// An extensible list of elliptic curves supported by this repository.
 25 | @available(macOS 10.13, iOS 11, watchOS 4.0, tvOS 11.0, *)
 26 | public struct EllipticCurve: Equatable, CustomStringConvertible {
    |               `- note: consider making struct 'EllipticCurve' conform to the 'Sendable' protocol
 27 |
 28 |     private let internalRepresentation: InternalRepresentation
    :
 37 |
 38 |     /// A secp384r1 curve.
 39 |     public static let secp384r1 = EllipticCurve.p384
    |                       |- warning: static property 'secp384r1' is not concurrency-safe because non-'Sendable' type 'EllipticCurve' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'secp384r1' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 40 |
 41 |     /// A secp521r1 curve.
/host/spi-builder-workspace/Sources/CryptorECC/EllipticCurve.swift:76:16: warning: static property 'p384' is not concurrency-safe because non-'Sendable' type 'EllipticCurve' may have shared mutable state; this is an error in the Swift 6 language mode
 24 | /// An extensible list of elliptic curves supported by this repository.
 25 | @available(macOS 10.13, iOS 11, watchOS 4.0, tvOS 11.0, *)
 26 | public struct EllipticCurve: Equatable, CustomStringConvertible {
    |               `- note: consider making struct 'EllipticCurve' conform to the 'Sendable' protocol
 27 |
 28 |     private let internalRepresentation: InternalRepresentation
    :
 74 |
 75 |     /// Secure Hash Algorithm 2 384-bit
 76 |     static let p384 = EllipticCurve(internalRepresentation: .secp384r1,
    |                |- warning: static property 'p384' is not concurrency-safe because non-'Sendable' type 'EllipticCurve' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'p384' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 77 |                                     signingAlgorithm: .init(EVP_sha384()),
 78 |                                     nativeCurve: NID_secp384r1,
/host/spi-builder-workspace/Sources/CryptorECC/EllipticCurve.swift:42:23: warning: static property 'secp521r1' is not concurrency-safe because non-'Sendable' type 'EllipticCurve' may have shared mutable state; this is an error in the Swift 6 language mode
 24 | /// An extensible list of elliptic curves supported by this repository.
 25 | @available(macOS 10.13, iOS 11, watchOS 4.0, tvOS 11.0, *)
 26 | public struct EllipticCurve: Equatable, CustomStringConvertible {
    |               `- note: consider making struct 'EllipticCurve' conform to the 'Sendable' protocol
 27 |
 28 |     private let internalRepresentation: InternalRepresentation
    :
 40 |
 41 |     /// A secp521r1 curve.
 42 |     public static let secp521r1 = EllipticCurve.p521
    |                       |- warning: static property 'secp521r1' is not concurrency-safe because non-'Sendable' type 'EllipticCurve' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'secp521r1' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 43 |
 44 |     /// Checks if two Curves are equal, required for Equatable protocol.
/host/spi-builder-workspace/Sources/CryptorECC/EllipticCurve.swift:82:16: warning: static property 'p521' is not concurrency-safe because non-'Sendable' type 'EllipticCurve' may have shared mutable state; this is an error in the Swift 6 language mode
 24 | /// An extensible list of elliptic curves supported by this repository.
 25 | @available(macOS 10.13, iOS 11, watchOS 4.0, tvOS 11.0, *)
 26 | public struct EllipticCurve: Equatable, CustomStringConvertible {
    |               `- note: consider making struct 'EllipticCurve' conform to the 'Sendable' protocol
 27 |
 28 |     private let internalRepresentation: InternalRepresentation
    :
 80 |
 81 |     /// Secure Hash Algorithm 512-bit
 82 |     static let p521 = EllipticCurve(internalRepresentation: .secp521r1,
    |                |- warning: static property 'p521' is not concurrency-safe because non-'Sendable' type 'EllipticCurve' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'p521' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 83 |                                     signingAlgorithm: .init(EVP_sha512()),
 84 |                                     nativeCurve: NID_secp521r1,
[4/14] Compiling CryptorECC ECSignable.swift
/host/spi-builder-workspace/Sources/CryptorECC/ECSignable.swift:58:15: warning: 'EVP_PKEY_set1_EC_KEY' is deprecated
 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
 59 |             throw ECError.failedNativeKeyCreation
 60 |         }
[5/14] Compiling CryptorECC ECPublicKey.swift
/host/spi-builder-workspace/Sources/CryptorECC/ECPublicKey.swift:58:14: warning: 'EC_KEY_free' is deprecated
 56 |     typealias NativeKey = OpaquePointer?
 57 |     let pubKeyBytes: Data
 58 |     deinit { EC_KEY_free(.make(optional: self.nativeKey)) }
    |              `- warning: 'EC_KEY_free' is deprecated
 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
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
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
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
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
133 |                 EC_POINT_free(ecPoint)
134 |             }
135 |             EC_POINT_bn2point(ecGroup, bigNum, ecPoint, nil)
    |             `- warning: 'EC_POINT_bn2point' is deprecated
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
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
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
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
138 |                 throw ECError.failedNativeKeyCreation
139 |             }
[6/14] Compiling CryptorECC ECDecryptable.swift
/host/spi-builder-workspace/Sources/CryptorECC/ECDecryptable.swift:47:24: warning: 'EC_KEY_get0_group' is deprecated
 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
 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
 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
 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
 78 |
 79 |         // calculate symmetric key
 80 |         ECDH_compute_key(symKey, skey_len, pubk_point, key.nativeKey, nil)
    |         `- warning: 'ECDH_compute_key' is deprecated
 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
 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
 60 |         defer {
 61 |             EC_KEY_free(ec_key)
/host/spi-builder-workspace/Sources/CryptorECC/ECEncryptable.swift:61:13: warning: 'EC_KEY_free' is deprecated
 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
 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
 61 |             EC_KEY_free(ec_key)
 62 |         }
 63 |         EC_KEY_generate_key(ec_key)
    |         `- warning: 'EC_KEY_generate_key' is deprecated
 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
 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
 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
 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
 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
 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
 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
 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
 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
 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
 75 |         let pubk = UnsafeMutablePointer<UInt8>.allocate(capacity: key.curve.keySize)
 76 |         BN_bn2bin(pub_bn, pubk)
[7/14] Compiling CryptorECC ECEncryptable.swift
/host/spi-builder-workspace/Sources/CryptorECC/ECDecryptable.swift:47:24: warning: 'EC_KEY_get0_group' is deprecated
 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
 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
 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
 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
 78 |
 79 |         // calculate symmetric key
 80 |         ECDH_compute_key(symKey, skey_len, pubk_point, key.nativeKey, nil)
    |         `- warning: 'ECDH_compute_key' is deprecated
 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
 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
 60 |         defer {
 61 |             EC_KEY_free(ec_key)
/host/spi-builder-workspace/Sources/CryptorECC/ECEncryptable.swift:61:13: warning: 'EC_KEY_free' is deprecated
 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
 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
 61 |             EC_KEY_free(ec_key)
 62 |         }
 63 |         EC_KEY_generate_key(ec_key)
    |         `- warning: 'EC_KEY_generate_key' is deprecated
 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
 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
 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
 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
 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
 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
 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
 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
 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
 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
 75 |         let pubk = UnsafeMutablePointer<UInt8>.allocate(capacity: key.curve.keySize)
 76 |         BN_bn2bin(pub_bn, pubk)
[8/14] Compiling CryptorECC ASN1.swift
[9/14] Compiling CryptorECC Data+Extensions.swift
[10/14] Emitting module CryptorECC
/host/spi-builder-workspace/Sources/CryptorECC/EllipticCurve.swift:36:23: warning: static property 'prime256v1' is not concurrency-safe because non-'Sendable' type 'EllipticCurve' may have shared mutable state; this is an error in the Swift 6 language mode
 24 | /// An extensible list of elliptic curves supported by this repository.
 25 | @available(macOS 10.13, iOS 11, watchOS 4.0, tvOS 11.0, *)
 26 | public struct EllipticCurve: Equatable, CustomStringConvertible {
    |               `- note: consider making struct 'EllipticCurve' conform to the 'Sendable' protocol
 27 |
 28 |     private let internalRepresentation: InternalRepresentation
    :
 34 |
 35 |     /// A prime256v1 curve.
 36 |     public static let prime256v1 = EllipticCurve.p256
    |                       |- warning: static property 'prime256v1' is not concurrency-safe because non-'Sendable' type 'EllipticCurve' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'prime256v1' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 37 |
 38 |     /// A secp384r1 curve.
/host/spi-builder-workspace/Sources/CryptorECC/EllipticCurve.swift:70:16: warning: static property 'p256' is not concurrency-safe because non-'Sendable' type 'EllipticCurve' may have shared mutable state; this is an error in the Swift 6 language mode
 24 | /// An extensible list of elliptic curves supported by this repository.
 25 | @available(macOS 10.13, iOS 11, watchOS 4.0, tvOS 11.0, *)
 26 | public struct EllipticCurve: Equatable, CustomStringConvertible {
    |               `- note: consider making struct 'EllipticCurve' conform to the 'Sendable' protocol
 27 |
 28 |     private let internalRepresentation: InternalRepresentation
    :
 68 |     #if os(Linux)
 69 |     /// Secure Hash Algorithm 2 256-bit
 70 |     static let p256 = EllipticCurve(internalRepresentation: .prime256v1,
    |                |- warning: static property 'p256' is not concurrency-safe because non-'Sendable' type 'EllipticCurve' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'p256' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 71 |                                     signingAlgorithm: .init(EVP_sha256()),
 72 |                                     nativeCurve: NID_X9_62_prime256v1,
/host/spi-builder-workspace/Sources/CryptorECC/EllipticCurve.swift:39:23: warning: static property 'secp384r1' is not concurrency-safe because non-'Sendable' type 'EllipticCurve' may have shared mutable state; this is an error in the Swift 6 language mode
 24 | /// An extensible list of elliptic curves supported by this repository.
 25 | @available(macOS 10.13, iOS 11, watchOS 4.0, tvOS 11.0, *)
 26 | public struct EllipticCurve: Equatable, CustomStringConvertible {
    |               `- note: consider making struct 'EllipticCurve' conform to the 'Sendable' protocol
 27 |
 28 |     private let internalRepresentation: InternalRepresentation
    :
 37 |
 38 |     /// A secp384r1 curve.
 39 |     public static let secp384r1 = EllipticCurve.p384
    |                       |- warning: static property 'secp384r1' is not concurrency-safe because non-'Sendable' type 'EllipticCurve' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'secp384r1' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 40 |
 41 |     /// A secp521r1 curve.
/host/spi-builder-workspace/Sources/CryptorECC/EllipticCurve.swift:76:16: warning: static property 'p384' is not concurrency-safe because non-'Sendable' type 'EllipticCurve' may have shared mutable state; this is an error in the Swift 6 language mode
 24 | /// An extensible list of elliptic curves supported by this repository.
 25 | @available(macOS 10.13, iOS 11, watchOS 4.0, tvOS 11.0, *)
 26 | public struct EllipticCurve: Equatable, CustomStringConvertible {
    |               `- note: consider making struct 'EllipticCurve' conform to the 'Sendable' protocol
 27 |
 28 |     private let internalRepresentation: InternalRepresentation
    :
 74 |
 75 |     /// Secure Hash Algorithm 2 384-bit
 76 |     static let p384 = EllipticCurve(internalRepresentation: .secp384r1,
    |                |- warning: static property 'p384' is not concurrency-safe because non-'Sendable' type 'EllipticCurve' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'p384' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 77 |                                     signingAlgorithm: .init(EVP_sha384()),
 78 |                                     nativeCurve: NID_secp384r1,
/host/spi-builder-workspace/Sources/CryptorECC/EllipticCurve.swift:42:23: warning: static property 'secp521r1' is not concurrency-safe because non-'Sendable' type 'EllipticCurve' may have shared mutable state; this is an error in the Swift 6 language mode
 24 | /// An extensible list of elliptic curves supported by this repository.
 25 | @available(macOS 10.13, iOS 11, watchOS 4.0, tvOS 11.0, *)
 26 | public struct EllipticCurve: Equatable, CustomStringConvertible {
    |               `- note: consider making struct 'EllipticCurve' conform to the 'Sendable' protocol
 27 |
 28 |     private let internalRepresentation: InternalRepresentation
    :
 40 |
 41 |     /// A secp521r1 curve.
 42 |     public static let secp521r1 = EllipticCurve.p521
    |                       |- warning: static property 'secp521r1' is not concurrency-safe because non-'Sendable' type 'EllipticCurve' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'secp521r1' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 43 |
 44 |     /// Checks if two Curves are equal, required for Equatable protocol.
/host/spi-builder-workspace/Sources/CryptorECC/EllipticCurve.swift:82:16: warning: static property 'p521' is not concurrency-safe because non-'Sendable' type 'EllipticCurve' may have shared mutable state; this is an error in the Swift 6 language mode
 24 | /// An extensible list of elliptic curves supported by this repository.
 25 | @available(macOS 10.13, iOS 11, watchOS 4.0, tvOS 11.0, *)
 26 | public struct EllipticCurve: Equatable, CustomStringConvertible {
    |               `- note: consider making struct 'EllipticCurve' conform to the 'Sendable' protocol
 27 |
 28 |     private let internalRepresentation: InternalRepresentation
    :
 80 |
 81 |     /// Secure Hash Algorithm 512-bit
 82 |     static let p521 = EllipticCurve(internalRepresentation: .secp521r1,
    |                |- warning: static property 'p521' is not concurrency-safe because non-'Sendable' type 'EllipticCurve' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'p521' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 83 |                                     signingAlgorithm: .init(EVP_sha512()),
 84 |                                     nativeCurve: NID_secp521r1,
[11/14] Compiling CryptorECC ECSignature.swift
/host/spi-builder-workspace/Sources/CryptorECC/ECSignature.swift:93:15: warning: 'EVP_PKEY_set1_EC_KEY' is deprecated
 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
 94 |             return false
 95 |         }
[12/14] Compiling CryptorECC ECError.swift
/host/spi-builder-workspace/Sources/CryptorECC/ECPrivateKey.swift:58:18: warning: 'EC_KEY_free' is deprecated
 56 |     #if os(Linux)
 57 |         typealias NativeKey = OpaquePointer?
 58 |         deinit { EC_KEY_free(.make(optional: self.nativeKey)) }
    |                  `- warning: 'EC_KEY_free' is deprecated
 59 |     #else
 60 |         typealias NativeKey = SecKey
/host/spi-builder-workspace/Sources/CryptorECC/EllipticCurve.swift:36:23: warning: static property 'prime256v1' is not concurrency-safe because non-'Sendable' type 'EllipticCurve' may have shared mutable state; this is an error in the Swift 6 language mode
 24 | /// An extensible list of elliptic curves supported by this repository.
 25 | @available(macOS 10.13, iOS 11, watchOS 4.0, tvOS 11.0, *)
 26 | public struct EllipticCurve: Equatable, CustomStringConvertible {
    |               `- note: consider making struct 'EllipticCurve' conform to the 'Sendable' protocol
 27 |
 28 |     private let internalRepresentation: InternalRepresentation
    :
 34 |
 35 |     /// A prime256v1 curve.
 36 |     public static let prime256v1 = EllipticCurve.p256
    |                       |- warning: static property 'prime256v1' is not concurrency-safe because non-'Sendable' type 'EllipticCurve' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'prime256v1' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 37 |
 38 |     /// A secp384r1 curve.
/host/spi-builder-workspace/Sources/CryptorECC/EllipticCurve.swift:39:23: warning: static property 'secp384r1' is not concurrency-safe because non-'Sendable' type 'EllipticCurve' may have shared mutable state; this is an error in the Swift 6 language mode
 24 | /// An extensible list of elliptic curves supported by this repository.
 25 | @available(macOS 10.13, iOS 11, watchOS 4.0, tvOS 11.0, *)
 26 | public struct EllipticCurve: Equatable, CustomStringConvertible {
    |               `- note: consider making struct 'EllipticCurve' conform to the 'Sendable' protocol
 27 |
 28 |     private let internalRepresentation: InternalRepresentation
    :
 37 |
 38 |     /// A secp384r1 curve.
 39 |     public static let secp384r1 = EllipticCurve.p384
    |                       |- warning: static property 'secp384r1' is not concurrency-safe because non-'Sendable' type 'EllipticCurve' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'secp384r1' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 40 |
 41 |     /// A secp521r1 curve.
/host/spi-builder-workspace/Sources/CryptorECC/EllipticCurve.swift:42:23: warning: static property 'secp521r1' is not concurrency-safe because non-'Sendable' type 'EllipticCurve' may have shared mutable state; this is an error in the Swift 6 language mode
 24 | /// An extensible list of elliptic curves supported by this repository.
 25 | @available(macOS 10.13, iOS 11, watchOS 4.0, tvOS 11.0, *)
 26 | public struct EllipticCurve: Equatable, CustomStringConvertible {
    |               `- note: consider making struct 'EllipticCurve' conform to the 'Sendable' protocol
 27 |
 28 |     private let internalRepresentation: InternalRepresentation
    :
 40 |
 41 |     /// A secp521r1 curve.
 42 |     public static let secp521r1 = EllipticCurve.p521
    |                       |- warning: static property 'secp521r1' is not concurrency-safe because non-'Sendable' type 'EllipticCurve' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'secp521r1' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 43 |
 44 |     /// Checks if two Curves are equal, required for Equatable protocol.
/host/spi-builder-workspace/Sources/CryptorECC/ECPrivateKey.swift:259:22: warning: 'EC_KEY_new_by_curve_name' is deprecated
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
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
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
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
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
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
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
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
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
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
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
323 |                 throw ECError.failedNativeKeyCreation
324 |             }
/host/spi-builder-workspace/Sources/CryptorECC/ECPrivateKey.swift:441:25: warning: 'EC_KEY_new_by_curve_name' is deprecated
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
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
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
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
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
444 |                 throw ECError.failedNativeKeyCreation
445 |             }
[13/14] Compiling CryptorECC ECPrivateKey.swift
/host/spi-builder-workspace/Sources/CryptorECC/ECPrivateKey.swift:58:18: warning: 'EC_KEY_free' is deprecated
 56 |     #if os(Linux)
 57 |         typealias NativeKey = OpaquePointer?
 58 |         deinit { EC_KEY_free(.make(optional: self.nativeKey)) }
    |                  `- warning: 'EC_KEY_free' is deprecated
 59 |     #else
 60 |         typealias NativeKey = SecKey
/host/spi-builder-workspace/Sources/CryptorECC/EllipticCurve.swift:36:23: warning: static property 'prime256v1' is not concurrency-safe because non-'Sendable' type 'EllipticCurve' may have shared mutable state; this is an error in the Swift 6 language mode
 24 | /// An extensible list of elliptic curves supported by this repository.
 25 | @available(macOS 10.13, iOS 11, watchOS 4.0, tvOS 11.0, *)
 26 | public struct EllipticCurve: Equatable, CustomStringConvertible {
    |               `- note: consider making struct 'EllipticCurve' conform to the 'Sendable' protocol
 27 |
 28 |     private let internalRepresentation: InternalRepresentation
    :
 34 |
 35 |     /// A prime256v1 curve.
 36 |     public static let prime256v1 = EllipticCurve.p256
    |                       |- warning: static property 'prime256v1' is not concurrency-safe because non-'Sendable' type 'EllipticCurve' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'prime256v1' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 37 |
 38 |     /// A secp384r1 curve.
/host/spi-builder-workspace/Sources/CryptorECC/EllipticCurve.swift:39:23: warning: static property 'secp384r1' is not concurrency-safe because non-'Sendable' type 'EllipticCurve' may have shared mutable state; this is an error in the Swift 6 language mode
 24 | /// An extensible list of elliptic curves supported by this repository.
 25 | @available(macOS 10.13, iOS 11, watchOS 4.0, tvOS 11.0, *)
 26 | public struct EllipticCurve: Equatable, CustomStringConvertible {
    |               `- note: consider making struct 'EllipticCurve' conform to the 'Sendable' protocol
 27 |
 28 |     private let internalRepresentation: InternalRepresentation
    :
 37 |
 38 |     /// A secp384r1 curve.
 39 |     public static let secp384r1 = EllipticCurve.p384
    |                       |- warning: static property 'secp384r1' is not concurrency-safe because non-'Sendable' type 'EllipticCurve' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'secp384r1' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 40 |
 41 |     /// A secp521r1 curve.
/host/spi-builder-workspace/Sources/CryptorECC/EllipticCurve.swift:42:23: warning: static property 'secp521r1' is not concurrency-safe because non-'Sendable' type 'EllipticCurve' may have shared mutable state; this is an error in the Swift 6 language mode
 24 | /// An extensible list of elliptic curves supported by this repository.
 25 | @available(macOS 10.13, iOS 11, watchOS 4.0, tvOS 11.0, *)
 26 | public struct EllipticCurve: Equatable, CustomStringConvertible {
    |               `- note: consider making struct 'EllipticCurve' conform to the 'Sendable' protocol
 27 |
 28 |     private let internalRepresentation: InternalRepresentation
    :
 40 |
 41 |     /// A secp521r1 curve.
 42 |     public static let secp521r1 = EllipticCurve.p521
    |                       |- warning: static property 'secp521r1' is not concurrency-safe because non-'Sendable' type 'EllipticCurve' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'secp521r1' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 43 |
 44 |     /// Checks if two Curves are equal, required for Equatable protocol.
/host/spi-builder-workspace/Sources/CryptorECC/ECPrivateKey.swift:259:22: warning: 'EC_KEY_new_by_curve_name' is deprecated
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
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
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
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
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
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
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
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
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
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
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
323 |                 throw ECError.failedNativeKeyCreation
324 |             }
/host/spi-builder-workspace/Sources/CryptorECC/ECPrivateKey.swift:441:25: warning: 'EC_KEY_new_by_curve_name' is deprecated
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
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
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
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
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
444 |                 throw ECError.failedNativeKeyCreation
445 |             }
[14/14] Compiling CryptorECC SSLPointerTricks.swift
Build complete! (15.83s)
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.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.