The Swift Package Index logo.Swift Package Index

Build Information

Failed to build open-crypto with Swift 5.9 for macOS (SPM).

Build Command

Build command unavailable

Build Log

========================================
RunAll
========================================
Builder version: 4.27.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/vapor/open-crypto.git
Reference: master
Initialized empty Git repository in /Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/vapor/open-crypto
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at b91489b Update README.md
Cloned https://github.com/vapor/open-crypto.git
Revision (git rev-parse @):
b91489b865867c8510486faba439bd1e91a60b61
SUCCESS checkout https://github.com/vapor/open-crypto.git at master
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "open-crypto",
      "name": "open-crypto",
      "url": "https://github.com/vapor/open-crypto.git",
      "version": "unspecified",
      "path": "/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/open-crypto",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/vapor/open-crypto.git from cache
Fetched https://github.com/vapor/open-crypto.git (0.22s)
Creating working copy for https://github.com/vapor/open-crypto.git
Working copy of https://github.com/vapor/open-crypto.git resolved at master
warning: '.resolve-product-dependencies': dependency 'open-crypto' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  $PWD/checkout
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.0.0.app xcrun swift build --arch arm64
Building for debugging...
[0/1] Compiling COpenCrypto c_open_crypto.c
[2/18] Emitting module OpenCrypto
[3/20] Compiling OpenCrypto SymmetricKey.swift
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/OpenCrypto/Utilities.swift:25:13: warning: variable 'buffer' was never mutated; consider changing to 'let' constant
        var buffer = UnsafeMutableBufferPointer<UInt8>.allocate(capacity: self.count)
        ~~~ ^
        let
[4/20] Compiling OpenCrypto Utilities.swift
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/OpenCrypto/Utilities.swift:25:13: warning: variable 'buffer' was never mutated; consider changing to 'let' constant
        var buffer = UnsafeMutableBufferPointer<UInt8>.allocate(capacity: self.count)
        ~~~ ^
        let
[5/20] Compiling OpenCrypto AES.swift
[6/20] Compiling OpenCrypto ChaChaPoly.swift
[7/20] Compiling OpenCrypto Digest.swift
[8/20] Compiling OpenCrypto MD5.swift
[9/20] Compiling OpenCrypto MessageAuthenticationCode.swift
[10/20] Compiling OpenCrypto OpenSSLCipherFunction.swift
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/OpenCrypto/OpenSSLCipherFunction.swift:101:43: error: cannot find 'EVP_CIPHER_key_length' in scope
        guard key.bitCount == numericCast(EVP_CIPHER_key_length(convert(algorithm))) * 8 else {
                                          ^~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/OpenCrypto/OpenSSLCipherFunction.swift:104:39: error: cannot find 'EVP_CIPHER_iv_length' in scope
        guard iv.count == numericCast(EVP_CIPHER_iv_length(convert(algorithm))) else {
                                      ^~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/OpenCrypto/OpenSSLCipherFunction.swift:129:75: error: cannot find 'EVP_CIPHER_block_size' in scope
        var chunk = [UInt8](repeating: 0, count: data.count + numericCast(EVP_CIPHER_block_size(convert(algorithm))) - 1)
                                                                          ^~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/OpenCrypto/OpenSSLCipherFunction.swift:149:62: error: cannot find 'EVP_CIPHER_block_size' in scope
        var chunk = [UInt8](repeating: 0, count: numericCast(EVP_CIPHER_block_size(convert(algorithm))))
                                                             ^~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/OpenCrypto/OpenSSLHashFunction.swift:15:28: error: cannot find 'EVP_MD_size' in scope
        return numericCast(EVP_MD_size(convert(self.algorithm)))
                           ^~~~~~~~~~~
[11/20] Compiling OpenCrypto OpenSSLHashFunction.swift
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/OpenCrypto/OpenSSLCipherFunction.swift:101:43: error: cannot find 'EVP_CIPHER_key_length' in scope
        guard key.bitCount == numericCast(EVP_CIPHER_key_length(convert(algorithm))) * 8 else {
                                          ^~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/OpenCrypto/OpenSSLCipherFunction.swift:104:39: error: cannot find 'EVP_CIPHER_iv_length' in scope
        guard iv.count == numericCast(EVP_CIPHER_iv_length(convert(algorithm))) else {
                                      ^~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/OpenCrypto/OpenSSLCipherFunction.swift:129:75: error: cannot find 'EVP_CIPHER_block_size' in scope
        var chunk = [UInt8](repeating: 0, count: data.count + numericCast(EVP_CIPHER_block_size(convert(algorithm))) - 1)
                                                                          ^~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/OpenCrypto/OpenSSLCipherFunction.swift:149:62: error: cannot find 'EVP_CIPHER_block_size' in scope
        var chunk = [UInt8](repeating: 0, count: numericCast(EVP_CIPHER_block_size(convert(algorithm))))
                                                             ^~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/OpenCrypto/OpenSSLHashFunction.swift:15:28: error: cannot find 'EVP_MD_size' in scope
        return numericCast(EVP_MD_size(convert(self.algorithm)))
                           ^~~~~~~~~~~
[12/20] Compiling OpenCrypto SHA1.swift
[13/20] Compiling OpenCrypto SHA2.swift
[14/20] Compiling OpenCrypto HexEncoding.swift
[15/20] Compiling OpenCrypto Insecure.swift
[16/20] Compiling OpenCrypto HashFunction.swift
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/OpenCrypto/HashFunction.swift:20:17: warning: variable 'buffer' was never mutated; consider changing to 'let' constant
            var buffer = UnsafeMutableBufferPointer<UInt8>.allocate(capacity: data.count)
            ~~~ ^
            let
[17/20] Compiling OpenCrypto HashedAuthenticationCode.swift
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/OpenCrypto/HashFunction.swift:20:17: warning: variable 'buffer' was never mutated; consider changing to 'let' constant
            var buffer = UnsafeMutableBufferPointer<UInt8>.allocate(capacity: data.count)
            ~~~ ^
            let
[18/20] Compiling OpenCrypto Errors.swift
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/OpenCrypto/HMAC.swift:57:32: warning: 'HMAC_CTX_new()' is deprecated
        self.context = convert(HMAC_CTX_new())
                               ^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/OpenCrypto/HMAC.swift:69:17: warning: variable 'buffer' was never mutated; consider changing to 'let' constant
            var buffer = UnsafeMutableBufferPointer<UInt8>.allocate(capacity: data.count)
            ~~~ ^
            let
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/OpenCrypto/HMAC.swift:78:20: warning: 'HMAC_Update' is deprecated
            return HMAC_Update(convert(self.context), $0.baseAddress?.assumingMemoryBound(to: UInt8.self), $0.count)
                   ^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/OpenCrypto/HMAC.swift:89:20: warning: 'HMAC_Final' is deprecated
            return HMAC_Final(convert(self.context), $0.baseAddress?.assumingMemoryBound(to: UInt8.self), &count)
                   ^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/OpenCrypto/HMAC.swift:100:20: warning: 'HMAC_Init_ex' is deprecated
            return HMAC_Init_ex(convert(self.context), $0.baseAddress?.assumingMemoryBound(to: UInt8.self), Int32($0.count), convert(type(of: self).algorithm), nil)
                   ^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/OpenCrypto/HMAC.swift:107:9: warning: 'HMAC_CTX_free' is deprecated
        HMAC_CTX_free(convert(self.context))
        ^
[19/20] Compiling OpenCrypto Exports.swift
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/OpenCrypto/HMAC.swift:57:32: warning: 'HMAC_CTX_new()' is deprecated
        self.context = convert(HMAC_CTX_new())
                               ^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/OpenCrypto/HMAC.swift:69:17: warning: variable 'buffer' was never mutated; consider changing to 'let' constant
            var buffer = UnsafeMutableBufferPointer<UInt8>.allocate(capacity: data.count)
            ~~~ ^
            let
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/OpenCrypto/HMAC.swift:78:20: warning: 'HMAC_Update' is deprecated
            return HMAC_Update(convert(self.context), $0.baseAddress?.assumingMemoryBound(to: UInt8.self), $0.count)
                   ^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/OpenCrypto/HMAC.swift:89:20: warning: 'HMAC_Final' is deprecated
            return HMAC_Final(convert(self.context), $0.baseAddress?.assumingMemoryBound(to: UInt8.self), &count)
                   ^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/OpenCrypto/HMAC.swift:100:20: warning: 'HMAC_Init_ex' is deprecated
            return HMAC_Init_ex(convert(self.context), $0.baseAddress?.assumingMemoryBound(to: UInt8.self), Int32($0.count), convert(type(of: self).algorithm), nil)
                   ^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/OpenCrypto/HMAC.swift:107:9: warning: 'HMAC_CTX_free' is deprecated
        HMAC_CTX_free(convert(self.context))
        ^
[20/20] Compiling OpenCrypto HMAC.swift
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/OpenCrypto/HMAC.swift:57:32: warning: 'HMAC_CTX_new()' is deprecated
        self.context = convert(HMAC_CTX_new())
                               ^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/OpenCrypto/HMAC.swift:69:17: warning: variable 'buffer' was never mutated; consider changing to 'let' constant
            var buffer = UnsafeMutableBufferPointer<UInt8>.allocate(capacity: data.count)
            ~~~ ^
            let
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/OpenCrypto/HMAC.swift:78:20: warning: 'HMAC_Update' is deprecated
            return HMAC_Update(convert(self.context), $0.baseAddress?.assumingMemoryBound(to: UInt8.self), $0.count)
                   ^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/OpenCrypto/HMAC.swift:89:20: warning: 'HMAC_Final' is deprecated
            return HMAC_Final(convert(self.context), $0.baseAddress?.assumingMemoryBound(to: UInt8.self), &count)
                   ^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/OpenCrypto/HMAC.swift:100:20: warning: 'HMAC_Init_ex' is deprecated
            return HMAC_Init_ex(convert(self.context), $0.baseAddress?.assumingMemoryBound(to: UInt8.self), Int32($0.count), convert(type(of: self).algorithm), nil)
                   ^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/OpenCrypto/HMAC.swift:107:9: warning: 'HMAC_CTX_free' is deprecated
        HMAC_CTX_free(convert(self.context))
        ^
error: fatalError
[0/1] Planning build
Building for debugging...
[1/3] Compiling OpenCrypto OpenSSLHashFunction.swift
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/OpenCrypto/OpenSSLHashFunction.swift:15:28: error: cannot find 'EVP_MD_size' in scope
        return numericCast(EVP_MD_size(convert(self.algorithm)))
                           ^~~~~~~~~~~
[2/3] Emitting module OpenCrypto
[3/3] Compiling OpenCrypto OpenSSLCipherFunction.swift
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/OpenCrypto/OpenSSLCipherFunction.swift:101:43: error: cannot find 'EVP_CIPHER_key_length' in scope
        guard key.bitCount == numericCast(EVP_CIPHER_key_length(convert(algorithm))) * 8 else {
                                          ^~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/OpenCrypto/OpenSSLCipherFunction.swift:104:39: error: cannot find 'EVP_CIPHER_iv_length' in scope
        guard iv.count == numericCast(EVP_CIPHER_iv_length(convert(algorithm))) else {
                                      ^~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/OpenCrypto/OpenSSLCipherFunction.swift:129:75: error: cannot find 'EVP_CIPHER_block_size' in scope
        var chunk = [UInt8](repeating: 0, count: data.count + numericCast(EVP_CIPHER_block_size(convert(algorithm))) - 1)
                                                                          ^~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/OpenCrypto/OpenSSLCipherFunction.swift:149:62: error: cannot find 'EVP_CIPHER_block_size' in scope
        var chunk = [UInt8](repeating: 0, count: numericCast(EVP_CIPHER_block_size(convert(algorithm))))
                                                             ^~~~~~~~~~~~~~~~~~~~~
error: fatalError
BUILD FAILURE 5.9 macosSpm