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 master (e5faf7), with Swift 5.9 for Linux on 5 Apr 2025 06:38:10 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.60.1
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:             5.9
Building package at path:  $PWD
https://github.com/Kitura/BlueECC.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.9-latest: Pulling from finestructure/spi-images
Digest: sha256:93fe18f778ec94e026baa8cc68b2ae87de241b204c49ca7a3a12cf55897227aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Fetching https://github.com/Kitura/OpenSSL.git
[1/203] Fetching openssl
Fetched https://github.com/Kitura/OpenSSL.git (0.16s)
Computing version for https://github.com/Kitura/OpenSSL.git
Computed https://github.com/Kitura/OpenSSL.git at 2.3.1 (1.14s)
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...
[1/11] Compiling CryptorECC ECSignature.swift
/host/spi-builder-workspace/Sources/CryptorECC/ECSignature.swift:93:15: warning: 'EVP_PKEY_set1_EC_KEY' is deprecated
        guard EVP_PKEY_set1_EC_KEY(evp_key, .make(optional: ecPublicKey.nativeKey)) == 1 else {
              ^
[2/12] Compiling CryptorECC ECSignable.swift
/host/spi-builder-workspace/Sources/CryptorECC/ECSignable.swift:58:15: warning: 'EVP_PKEY_set1_EC_KEY' is deprecated
        guard EVP_PKEY_set1_EC_KEY(evp_key, .make(optional: key.nativeKey)) == 1 else {
              ^
[3/12] Compiling CryptorECC ECDecryptable.swift
/host/spi-builder-workspace/Sources/CryptorECC/ECDecryptable.swift:47:24: warning: 'EC_KEY_get0_group' is deprecated
        let ec_group = EC_KEY_get0_group(key.nativeKey)
                       ^
/host/spi-builder-workspace/Sources/CryptorECC/ECDecryptable.swift:73:13: warning: 'EC_POINT_bn2point' is deprecated
            EC_POINT_bn2point(ec_group, pubk_bn, pubk_point, pubk_bn_ctx)
            ^
/host/spi-builder-workspace/Sources/CryptorECC/ECDecryptable.swift:80:9: warning: 'ECDH_compute_key' is deprecated
        ECDH_compute_key(symKey, skey_len, pubk_point, key.nativeKey, nil)
        ^
/host/spi-builder-workspace/Sources/CryptorECC/ECEncryptable.swift:59:22: warning: 'EC_KEY_new_by_curve_name' is deprecated
        let ec_key = EC_KEY_new_by_curve_name(key.curve.nativeCurve)
                     ^
/host/spi-builder-workspace/Sources/CryptorECC/ECEncryptable.swift:61:13: warning: 'EC_KEY_free' is deprecated
            EC_KEY_free(ec_key)
            ^
/host/spi-builder-workspace/Sources/CryptorECC/ECEncryptable.swift:63:9: warning: 'EC_KEY_generate_key' is deprecated
        EC_KEY_generate_key(ec_key)
        ^
/host/spi-builder-workspace/Sources/CryptorECC/ECEncryptable.swift:64:24: warning: 'EC_KEY_get0_group' is deprecated
        let ec_group = EC_KEY_get0_group(ec_key)
                       ^
/host/spi-builder-workspace/Sources/CryptorECC/ECEncryptable.swift:67:9: warning: 'ECDH_compute_key' is deprecated
        ECDH_compute_key(symKey, symKey_len, EC_KEY_get0_public_key(key.nativeKey), ec_key, nil)
        ^
/host/spi-builder-workspace/Sources/CryptorECC/ECEncryptable.swift:67:46: warning: 'EC_KEY_get0_public_key' is deprecated
        ECDH_compute_key(symKey, symKey_len, EC_KEY_get0_public_key(key.nativeKey), ec_key, nil)
                                             ^
/host/spi-builder-workspace/Sources/CryptorECC/ECEncryptable.swift:72:19: warning: 'EC_KEY_get0_public_key' is deprecated
        let pub = EC_KEY_get0_public_key(ec_key)
                  ^
/host/spi-builder-workspace/Sources/CryptorECC/ECEncryptable.swift:74:9: warning: 'EC_POINT_point2bn' is deprecated
        EC_POINT_point2bn(ec_group, pub, POINT_CONVERSION_UNCOMPRESSED, pub_bn, pub_bn_ctx)
        ^
[4/12] Compiling CryptorECC ECEncryptable.swift
/host/spi-builder-workspace/Sources/CryptorECC/ECDecryptable.swift:47:24: warning: 'EC_KEY_get0_group' is deprecated
        let ec_group = EC_KEY_get0_group(key.nativeKey)
                       ^
/host/spi-builder-workspace/Sources/CryptorECC/ECDecryptable.swift:73:13: warning: 'EC_POINT_bn2point' is deprecated
            EC_POINT_bn2point(ec_group, pubk_bn, pubk_point, pubk_bn_ctx)
            ^
/host/spi-builder-workspace/Sources/CryptorECC/ECDecryptable.swift:80:9: warning: 'ECDH_compute_key' is deprecated
        ECDH_compute_key(symKey, skey_len, pubk_point, key.nativeKey, nil)
        ^
/host/spi-builder-workspace/Sources/CryptorECC/ECEncryptable.swift:59:22: warning: 'EC_KEY_new_by_curve_name' is deprecated
        let ec_key = EC_KEY_new_by_curve_name(key.curve.nativeCurve)
                     ^
/host/spi-builder-workspace/Sources/CryptorECC/ECEncryptable.swift:61:13: warning: 'EC_KEY_free' is deprecated
            EC_KEY_free(ec_key)
            ^
/host/spi-builder-workspace/Sources/CryptorECC/ECEncryptable.swift:63:9: warning: 'EC_KEY_generate_key' is deprecated
        EC_KEY_generate_key(ec_key)
        ^
/host/spi-builder-workspace/Sources/CryptorECC/ECEncryptable.swift:64:24: warning: 'EC_KEY_get0_group' is deprecated
        let ec_group = EC_KEY_get0_group(ec_key)
                       ^
/host/spi-builder-workspace/Sources/CryptorECC/ECEncryptable.swift:67:9: warning: 'ECDH_compute_key' is deprecated
        ECDH_compute_key(symKey, symKey_len, EC_KEY_get0_public_key(key.nativeKey), ec_key, nil)
        ^
/host/spi-builder-workspace/Sources/CryptorECC/ECEncryptable.swift:67:46: warning: 'EC_KEY_get0_public_key' is deprecated
        ECDH_compute_key(symKey, symKey_len, EC_KEY_get0_public_key(key.nativeKey), ec_key, nil)
                                             ^
/host/spi-builder-workspace/Sources/CryptorECC/ECEncryptable.swift:72:19: warning: 'EC_KEY_get0_public_key' is deprecated
        let pub = EC_KEY_get0_public_key(ec_key)
                  ^
/host/spi-builder-workspace/Sources/CryptorECC/ECEncryptable.swift:74:9: warning: 'EC_POINT_point2bn' is deprecated
        EC_POINT_point2bn(ec_group, pub, POINT_CONVERSION_UNCOMPRESSED, pub_bn, pub_bn_ctx)
        ^
[5/12] Compiling CryptorECC ECError.swift
/host/spi-builder-workspace/Sources/CryptorECC/ECPrivateKey.swift:58:18: warning: 'EC_KEY_free' is deprecated
        deinit { EC_KEY_free(.make(optional: self.nativeKey)) }
                 ^
/host/spi-builder-workspace/Sources/CryptorECC/ECPrivateKey.swift:261:22: warning: 'EC_KEY_new_by_curve_name' is deprecated
        let ec_key = EC_KEY_new_by_curve_name(curve.nativeCurve)
                     ^
/host/spi-builder-workspace/Sources/CryptorECC/ECPrivateKey.swift:262:9: warning: 'EC_KEY_generate_key' is deprecated
        EC_KEY_generate_key(ec_key)
        ^
/host/spi-builder-workspace/Sources/CryptorECC/ECPrivateKey.swift:266:19: warning: 'EC_KEY_get0_public_key' is deprecated
        let pub = EC_KEY_get0_public_key(ec_key)
                  ^
/host/spi-builder-workspace/Sources/CryptorECC/ECPrivateKey.swift:267:24: warning: 'EC_KEY_get0_group' is deprecated
        let ec_group = EC_KEY_get0_group(ec_key)
                       ^
/host/spi-builder-workspace/Sources/CryptorECC/ECPrivateKey.swift:269:9: warning: 'EC_POINT_point2bn' is deprecated
        EC_POINT_point2bn(ec_group, pub, POINT_CONVERSION_UNCOMPRESSED, pub_bn, pub_bn_ctx)
        ^
/host/spi-builder-workspace/Sources/CryptorECC/ECPrivateKey.swift:336:19: warning: 'i2d_ECPrivateKey_bio' is deprecated
            guard i2d_ECPrivateKey_bio(asn1Bio, nativeKey) >= 0 else {
                  ^
/host/spi-builder-workspace/Sources/CryptorECC/ECPrivateKey.swift:455:25: warning: 'EC_KEY_new_by_curve_name' is deprecated
            let ecKey = EC_KEY_new_by_curve_name(curve.nativeCurve)
                        ^
/host/spi-builder-workspace/Sources/CryptorECC/ECPrivateKey.swift:456:19: warning: 'EC_KEY_set_private_key' is deprecated
            guard EC_KEY_set_private_key(ecKey, bigNum) == 1 else {
                  ^
/host/spi-builder-workspace/Sources/CryptorECC/ECPrivateKey.swift:457:17: warning: 'EC_KEY_free' is deprecated
                EC_KEY_free(ecKey)
                ^
[6/12] Compiling CryptorECC ECPrivateKey.swift
/host/spi-builder-workspace/Sources/CryptorECC/ECPrivateKey.swift:58:18: warning: 'EC_KEY_free' is deprecated
        deinit { EC_KEY_free(.make(optional: self.nativeKey)) }
                 ^
/host/spi-builder-workspace/Sources/CryptorECC/ECPrivateKey.swift:261:22: warning: 'EC_KEY_new_by_curve_name' is deprecated
        let ec_key = EC_KEY_new_by_curve_name(curve.nativeCurve)
                     ^
/host/spi-builder-workspace/Sources/CryptorECC/ECPrivateKey.swift:262:9: warning: 'EC_KEY_generate_key' is deprecated
        EC_KEY_generate_key(ec_key)
        ^
/host/spi-builder-workspace/Sources/CryptorECC/ECPrivateKey.swift:266:19: warning: 'EC_KEY_get0_public_key' is deprecated
        let pub = EC_KEY_get0_public_key(ec_key)
                  ^
/host/spi-builder-workspace/Sources/CryptorECC/ECPrivateKey.swift:267:24: warning: 'EC_KEY_get0_group' is deprecated
        let ec_group = EC_KEY_get0_group(ec_key)
                       ^
/host/spi-builder-workspace/Sources/CryptorECC/ECPrivateKey.swift:269:9: warning: 'EC_POINT_point2bn' is deprecated
        EC_POINT_point2bn(ec_group, pub, POINT_CONVERSION_UNCOMPRESSED, pub_bn, pub_bn_ctx)
        ^
/host/spi-builder-workspace/Sources/CryptorECC/ECPrivateKey.swift:336:19: warning: 'i2d_ECPrivateKey_bio' is deprecated
            guard i2d_ECPrivateKey_bio(asn1Bio, nativeKey) >= 0 else {
                  ^
/host/spi-builder-workspace/Sources/CryptorECC/ECPrivateKey.swift:455:25: warning: 'EC_KEY_new_by_curve_name' is deprecated
            let ecKey = EC_KEY_new_by_curve_name(curve.nativeCurve)
                        ^
/host/spi-builder-workspace/Sources/CryptorECC/ECPrivateKey.swift:456:19: warning: 'EC_KEY_set_private_key' is deprecated
            guard EC_KEY_set_private_key(ecKey, bigNum) == 1 else {
                  ^
/host/spi-builder-workspace/Sources/CryptorECC/ECPrivateKey.swift:457:17: warning: 'EC_KEY_free' is deprecated
                EC_KEY_free(ecKey)
                ^
[7/12] Compiling CryptorECC ECPublicKey.swift
/host/spi-builder-workspace/Sources/CryptorECC/ECPublicKey.swift:58:14: warning: 'EC_KEY_free' is deprecated
    deinit { EC_KEY_free(.make(optional: self.nativeKey)) }
             ^
/host/spi-builder-workspace/Sources/CryptorECC/ECPublicKey.swift:129:25: warning: 'EC_KEY_new_by_curve_name' is deprecated
            let ecKey = EC_KEY_new_by_curve_name(curve.nativeCurve)
                        ^
/host/spi-builder-workspace/Sources/CryptorECC/ECPublicKey.swift:130:27: warning: 'EC_KEY_get0_group' is deprecated
            let ecGroup = EC_KEY_get0_group(ecKey)
                          ^
/host/spi-builder-workspace/Sources/CryptorECC/ECPublicKey.swift:135:13: warning: 'EC_POINT_bn2point' is deprecated
            EC_POINT_bn2point(ecGroup, bigNum, ecPoint, nil)
            ^
/host/spi-builder-workspace/Sources/CryptorECC/ECPublicKey.swift:136:19: warning: 'EC_KEY_set_public_key' is deprecated
            guard EC_KEY_set_public_key(ecKey, ecPoint) == 1 else {
                  ^
/host/spi-builder-workspace/Sources/CryptorECC/ECPublicKey.swift:137:17: warning: 'EC_KEY_free' is deprecated
                EC_KEY_free(ecKey)
                ^
[8/12] Compiling CryptorECC SSLPointerTricks.swift
[9/12] Emitting module CryptorECC
[10/12] Compiling CryptorECC ASN1.swift
[11/12] Compiling CryptorECC Data+Extensions.swift
[12/12] Compiling CryptorECC EllipticCurve.swift
Build complete! (9.02s)
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-5.9-latest: Pulling from finestructure/spi-images
Digest: sha256:93fe18f778ec94e026baa8cc68b2ae87de241b204c49ca7a3a12cf55897227aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Done.