The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Crypto with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/vapor/open-crypto.git
Reference: 3.4.1
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/vapor/open-crypto
 * tag               3.4.1      -> FETCH_HEAD
HEAD is now at 105c2f8 fix openssl 1.0 / 1.1 error
Cloned https://github.com/vapor/open-crypto.git
Revision (git rev-parse @):
105c2f875588bf40dd24c00cef3644bf8e327770
SUCCESS checkout https://github.com/vapor/open-crypto.git at 3.4.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/vapor/open-crypto.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/vapor/core.git
Fetching https://github.com/apple/swift-nio-ssl-support.git
[1/16] Fetching swift-nio-ssl-support
[17/20159] Fetching swift-nio-ssl-support, core
Fetched https://github.com/apple/swift-nio-ssl-support.git from cache (0.24s)
[3425/20143] Fetching core
Fetched https://github.com/vapor/core.git from cache (1.50s)
Computing version for https://github.com/apple/swift-nio-ssl-support.git
Computed https://github.com/apple/swift-nio-ssl-support.git at 1.0.0 (0.48s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 3.10.1 (0.48s)
Fetching https://github.com/apple/swift-nio.git
[1/64494] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (5.35s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.14.4 (1.65s)
Fetching https://github.com/apple/swift-nio-zlib-support.git
[1/15] Fetching swift-nio-zlib-support
Fetched https://github.com/apple/swift-nio-zlib-support.git from cache (0.34s)
Computing version for https://github.com/apple/swift-nio-zlib-support.git
Computed https://github.com/apple/swift-nio-zlib-support.git at 1.0.0 (0.42s)
Creating working copy for https://github.com/apple/swift-nio-zlib-support.git
Working copy of https://github.com/apple/swift-nio-zlib-support.git resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-nio-ssl-support.git
Working copy of https://github.com/apple/swift-nio-ssl-support.git resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 1.14.4
Creating working copy for https://github.com/vapor/core.git
Working copy of https://github.com/vapor/core.git resolved at 3.10.1
warning: 'swift-nio-ssl-support': ignoring declared target(s) 'swift-nio-ssl-support' in the system package
warning: 'swift-nio-zlib-support': ignoring declared target(s) 'swift-nio-zlib-support' in the system package
warning: 'spi-builder-workspace': dependency 'swift-nio-ssl-support' is not used by any target
Building for debugging...
[0/21] Write sources
[9/21] Compiling CNIOLinux ifaddrs-android.c
[10/21] Compiling CNIOSHA1 c_nio_sha1.c
[11/21] Compiling CBase32 base32.c
[11/21] Write sources
[14/21] Compiling CNIOLinux shim.c
[15/21] Compiling CNIODarwin shim.c
[16/21] Compiling CBcrypt bcrypt.c
[17/21] Compiling CBcrypt blf.c
[18/21] Write swift-version-24593BA9C3E375BF.txt
[19/21] Compiling CCryptoOpenSSL shim.c
[20/30] Compiling c-atomics.c
[22/33] Compiling Debugging SourceLocation.swift
[23/33] Emitting module COperatingSystem
[24/33] Compiling COperatingSystem libc.swift
[26/34] Compiling NIOConcurrencyHelpers atomics.swift
[27/34] Compiling NIOConcurrencyHelpers lock.swift
[28/34] Emitting module NIOConcurrencyHelpers
[29/35] Emitting module Debugging
[30/35] Compiling Debugging Debuggable.swift
[31/35] Compiling Debugging Demangler.swift
[34/36] Compiling NIOPriorityQueue PriorityQueue.swift
[35/36] Emitting module NIOPriorityQueue
[36/36] Compiling NIOPriorityQueue Heap.swift
[38/87] Compiling NIO ByteBuffer-int.swift
[39/87] Compiling NIO ByteBuffer-views.swift
[40/87] Compiling NIO Channel.swift
[41/87] Compiling NIO ChannelHandler.swift
[42/87] Compiling NIO ChannelHandlers.swift
[43/87] Compiling NIO ChannelInvoker.swift
[44/87] Compiling NIO ChannelOption.swift
[45/93] Emitting module NIO
[46/93] Compiling NIO RecvByteBufferAllocator.swift
[47/93] Compiling NIO Resolver.swift
[48/93] Compiling NIO Selectable.swift
[49/93] Compiling NIO Selector.swift
[50/93] Compiling NIO ServerSocket.swift
[51/93] Compiling NIO Socket.swift
[52/93] Compiling NIO SocketAddresses.swift
[53/93] Compiling NIO MarkedCircularBuffer.swift
[54/93] Compiling NIO MulticastChannel.swift
[55/93] Compiling NIO NIOAny.swift
[56/93] Compiling NIO NonBlockingFileIO.swift
[57/93] Compiling NIO PendingDatagramWritesManager.swift
[58/93] Compiling NIO PendingWritesManager.swift
[59/93] Compiling NIO PriorityQueue.swift
[60/93] Compiling NIO Heap.swift
[61/93] Compiling NIO IO.swift
[62/93] Compiling NIO IOData.swift
[63/93] Compiling NIO IntegerTypes.swift
[64/93] Compiling NIO Interfaces.swift
[65/93] Compiling NIO Linux.swift
[66/93] Compiling NIO LinuxCPUSet.swift
[67/93] Compiling NIO ChannelPipeline.swift
[68/93] Compiling NIO CircularBuffer.swift
[69/93] Compiling NIO Codec.swift
[70/93] Compiling NIO CompositeError.swift
[71/93] Compiling NIO ContiguousCollection.swift
[72/93] Compiling NIO DeadChannel.swift
[73/93] Compiling NIO Embedded.swift
[74/93] Compiling NIO SocketChannel.swift
[75/93] Compiling NIO SocketOptionProvider.swift
[76/93] Compiling NIO System.swift
[77/93] Compiling NIO Thread.swift
[78/93] Compiling NIO TypeAssistedChannelHandler.swift
[79/93] Compiling NIO Utilities.swift
[80/93] Compiling NIO EventLoop.swift
[81/93] Compiling NIO EventLoopFuture.swift
[82/93] Compiling NIO FileDescriptor.swift
[83/93] Compiling NIO FileHandle.swift
[84/93] Compiling NIO FileRegion.swift
[85/93] Compiling NIO GetaddrinfoResolver.swift
[86/93] Compiling NIO HappyEyeballs.swift
[87/93] Compiling NIO AddressedEnvelope.swift
[88/93] Compiling NIO BaseSocket.swift
[89/93] Compiling NIO BaseSocketChannel.swift
[90/93] Compiling NIO BlockingIOThreadPool.swift
[91/93] Compiling NIO Bootstrap.swift
[92/93] Compiling NIO ByteBuffer-aux.swift
[93/93] Compiling NIO ByteBuffer-core.swift
[95/123] Compiling Bits Bytes.swift
[96/124] Compiling Async Future+Map.swift
[97/124] Compiling Async Future+Transform.swift
[98/125] Compiling Async Future+Flatten.swift
[99/125] Compiling Async Future+Global.swift
[100/125] Compiling Async Exports.swift
[101/125] Compiling Async Future+DoCatch.swift
[104/125] Compiling Bits Deprecated.swift
[105/125] Emitting module NIOFoundationCompat
[106/125] Compiling NIOFoundationCompat ByteBuffer-foundation.swift
[107/125] Compiling Async Async+NIO.swift
[108/125] Compiling Async AsyncError.swift
[109/125] Compiling Async Collection+Future.swift
[110/125] Compiling Async Deprecated.swift
[111/125] Emitting module Async
[112/126] Compiling Async Worker.swift
[117/126] Emitting module Bits
[121/126] Compiling Async FutureType.swift
[122/126] Compiling Async QueueHandler.swift
[123/126] Compiling Async Future+Variadic.swift
[124/126] Compiling Async Future+Void.swift
[126/127] Compiling Bits Data+Bytes.swift
[127/127] Compiling Bits Data+Strings.swift
[129/156] Compiling Random RandomProtocol.swift
[130/156] Compiling Random URandom.swift
[131/156] Compiling Random Array+Random.swift
[132/156] Emitting module Random
[133/156] Compiling Random OSRandom.swift
[135/157] Compiling Core DirectoryConfig.swift
[136/157] Compiling Core Exports.swift
[137/157] Compiling Core File.swift
[138/160] Compiling Core Data+Hex.swift
[139/160] Compiling Core DataCoders.swift
[140/160] Compiling Core Deprecated.swift
[141/160] Compiling Core Future+Unwrap.swift
[142/160] Compiling Core FutureEncoder.swift
[143/160] Compiling Core HeaderValue.swift
[144/160] Compiling Core NotFound.swift
[145/160] Compiling Core OptionalType.swift
[146/160] Compiling Core Process+Execute.swift
[147/160] Compiling Core Reflectable.swift
[148/160] Compiling Core String+Utilities.swift
[149/160] Compiling Core Thread+Async.swift
[150/160] Emitting module Core
[151/160] Compiling Core ReflectionDecoders.swift
[152/160] Compiling Core CoreError.swift
[153/160] Compiling Core Data+Base64URL.swift
[154/160] Compiling Core BasicKey.swift
[155/160] Compiling Core CaseInsensitiveString.swift
[156/160] Compiling Core Decodable+Reflectable.swift
[157/160] Compiling Core ReflectionDecodable.swift
[158/160] Compiling Core LosslessDataConvertible.swift
[159/160] Compiling Core MediaType.swift
[160/160] Compiling Core NestedData.swift
[162/179] Emitting module Crypto
[163/181] Compiling Crypto Deprecated.swift
[164/181] Compiling Crypto Exports.swift
[165/181] Compiling Crypto Cipher.swift
/host/spi-builder-workspace/Sources/Crypto/Cipher/CipherAlgorithm.swift:55:16: error: cannot find 'EVP_CIPHER_type' in scope
        return EVP_CIPHER_type(c.convert())
               ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Crypto/Cipher/CipherAlgorithm.swift:60:16: error: cannot find 'EVP_CIPHER_key_length' in scope
        return EVP_CIPHER_key_length(c.convert())
               ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Crypto/Cipher/CipherAlgorithm.swift:65:16: error: cannot find 'EVP_CIPHER_iv_length' in scope
        return EVP_CIPHER_iv_length(c.convert())
               ^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Crypto/Cipher/CipherAlgorithm.swift:70:16: error: cannot find 'EVP_CIPHER_block_size' in scope
        return EVP_CIPHER_block_size(c.convert())
               ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Crypto/Cipher/OpenSSLCipherAlgorithm.swift:30:16: error: cannot find 'EVP_CIPHER_type' in scope
        return EVP_CIPHER_type(c.convert())
               ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Crypto/Cipher/OpenSSLCipherAlgorithm.swift:35:16: error: cannot find 'EVP_CIPHER_key_length' in scope
        return EVP_CIPHER_key_length(c.convert())
               ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Crypto/Cipher/OpenSSLCipherAlgorithm.swift:40:16: error: cannot find 'EVP_CIPHER_iv_length' in scope
        return EVP_CIPHER_iv_length(c.convert())
               ^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Crypto/Cipher/OpenSSLCipherAlgorithm.swift:45:16: error: cannot find 'EVP_CIPHER_block_size' in scope
        return EVP_CIPHER_block_size(c.convert())
               ^~~~~~~~~~~~~~~~~~~~~
[166/181] Compiling Crypto CipherAlgorithm.swift
/host/spi-builder-workspace/Sources/Crypto/Cipher/CipherAlgorithm.swift:55:16: error: cannot find 'EVP_CIPHER_type' in scope
        return EVP_CIPHER_type(c.convert())
               ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Crypto/Cipher/CipherAlgorithm.swift:60:16: error: cannot find 'EVP_CIPHER_key_length' in scope
        return EVP_CIPHER_key_length(c.convert())
               ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Crypto/Cipher/CipherAlgorithm.swift:65:16: error: cannot find 'EVP_CIPHER_iv_length' in scope
        return EVP_CIPHER_iv_length(c.convert())
               ^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Crypto/Cipher/CipherAlgorithm.swift:70:16: error: cannot find 'EVP_CIPHER_block_size' in scope
        return EVP_CIPHER_block_size(c.convert())
               ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Crypto/Cipher/OpenSSLCipherAlgorithm.swift:30:16: error: cannot find 'EVP_CIPHER_type' in scope
        return EVP_CIPHER_type(c.convert())
               ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Crypto/Cipher/OpenSSLCipherAlgorithm.swift:35:16: error: cannot find 'EVP_CIPHER_key_length' in scope
        return EVP_CIPHER_key_length(c.convert())
               ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Crypto/Cipher/OpenSSLCipherAlgorithm.swift:40:16: error: cannot find 'EVP_CIPHER_iv_length' in scope
        return EVP_CIPHER_iv_length(c.convert())
               ^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Crypto/Cipher/OpenSSLCipherAlgorithm.swift:45:16: error: cannot find 'EVP_CIPHER_block_size' in scope
        return EVP_CIPHER_block_size(c.convert())
               ^~~~~~~~~~~~~~~~~~~~~
[167/181] Compiling Crypto OpenSSLCipherAlgorithm.swift
/host/spi-builder-workspace/Sources/Crypto/Cipher/CipherAlgorithm.swift:55:16: error: cannot find 'EVP_CIPHER_type' in scope
        return EVP_CIPHER_type(c.convert())
               ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Crypto/Cipher/CipherAlgorithm.swift:60:16: error: cannot find 'EVP_CIPHER_key_length' in scope
        return EVP_CIPHER_key_length(c.convert())
               ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Crypto/Cipher/CipherAlgorithm.swift:65:16: error: cannot find 'EVP_CIPHER_iv_length' in scope
        return EVP_CIPHER_iv_length(c.convert())
               ^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Crypto/Cipher/CipherAlgorithm.swift:70:16: error: cannot find 'EVP_CIPHER_block_size' in scope
        return EVP_CIPHER_block_size(c.convert())
               ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Crypto/Cipher/OpenSSLCipherAlgorithm.swift:30:16: error: cannot find 'EVP_CIPHER_type' in scope
        return EVP_CIPHER_type(c.convert())
               ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Crypto/Cipher/OpenSSLCipherAlgorithm.swift:35:16: error: cannot find 'EVP_CIPHER_key_length' in scope
        return EVP_CIPHER_key_length(c.convert())
               ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Crypto/Cipher/OpenSSLCipherAlgorithm.swift:40:16: error: cannot find 'EVP_CIPHER_iv_length' in scope
        return EVP_CIPHER_iv_length(c.convert())
               ^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Crypto/Cipher/OpenSSLCipherAlgorithm.swift:45:16: error: cannot find 'EVP_CIPHER_block_size' in scope
        return EVP_CIPHER_block_size(c.convert())
               ^~~~~~~~~~~~~~~~~~~~~
[168/181] Compiling Crypto RSA.swift
/host/spi-builder-workspace/Sources/Crypto/RSA/RSA.swift:73:24: warning: 'RSA_size' is deprecated
            count: Int(RSA_size(key.c.pointer.convert()))
                       ^
/host/spi-builder-workspace/Sources/Crypto/RSA/RSA.swift:85:24: warning: 'RSA_sign' is deprecated
                return RSA_sign(
                       ^
/host/spi-builder-workspace/Sources/Crypto/RSA/RSA.swift:125:24: warning: 'RSA_verify' is deprecated
                return RSA_verify(
                       ^
/host/spi-builder-workspace/Sources/Crypto/RSA/RSA.swift:153:17: warning: 'RSA_public_decrypt' is deprecated
                RSA_public_decrypt($0, $1, $2, $3!.convert(), $4)
                ^
/host/spi-builder-workspace/Sources/Crypto/RSA/RSA.swift:157:17: warning: 'RSA_private_decrypt' is deprecated
                RSA_private_decrypt($0, $1, $2, $3!.convert(), $4)
                ^
/host/spi-builder-workspace/Sources/Crypto/RSA/RSA.swift:176:17: warning: 'RSA_public_encrypt' is deprecated
                RSA_public_encrypt($0, $1, $2, $3!.convert(), $4)
                ^
/host/spi-builder-workspace/Sources/Crypto/RSA/RSA.swift:180:17: warning: 'RSA_private_encrypt' is deprecated
                RSA_private_encrypt($0, $1, $2, $3!.convert(), $4)
                ^
/host/spi-builder-workspace/Sources/Crypto/RSA/RSA.swift:193:42: warning: 'RSA_size' is deprecated
        var outputData = Data(count: Int(RSA_size(key.c.pointer.convert())))
                                         ^
/host/spi-builder-workspace/Sources/Crypto/RSA/RSAKey.swift:72:25: warning: 'RSA_new()' is deprecated
        guard let rsa = RSA_new() else {
                        ^
/host/spi-builder-workspace/Sources/Crypto/RSA/RSAKey.swift:80:9: warning: 'RSA_set0_key' is deprecated
        RSA_set0_key(rsa, n.convert(), e.convert(), d?.convert())
        ^
/host/spi-builder-workspace/Sources/Crypto/RSA/RSAKey.swift:156:25: warning: 'EVP_PKEY_get1_RSA' is deprecated
        guard let rsa = EVP_PKEY_get1_RSA(pkey.convert()) else {
                        ^
/host/spi-builder-workspace/Sources/Crypto/RSA/RSAKey.swift:162:14: warning: 'RSA_free' is deprecated
    deinit { RSA_free(pointer.convert()) }
             ^
[169/181] Compiling Crypto RSAKey.swift
/host/spi-builder-workspace/Sources/Crypto/RSA/RSA.swift:73:24: warning: 'RSA_size' is deprecated
            count: Int(RSA_size(key.c.pointer.convert()))
                       ^
/host/spi-builder-workspace/Sources/Crypto/RSA/RSA.swift:85:24: warning: 'RSA_sign' is deprecated
                return RSA_sign(
                       ^
/host/spi-builder-workspace/Sources/Crypto/RSA/RSA.swift:125:24: warning: 'RSA_verify' is deprecated
                return RSA_verify(
                       ^
/host/spi-builder-workspace/Sources/Crypto/RSA/RSA.swift:153:17: warning: 'RSA_public_decrypt' is deprecated
                RSA_public_decrypt($0, $1, $2, $3!.convert(), $4)
                ^
/host/spi-builder-workspace/Sources/Crypto/RSA/RSA.swift:157:17: warning: 'RSA_private_decrypt' is deprecated
                RSA_private_decrypt($0, $1, $2, $3!.convert(), $4)
                ^
/host/spi-builder-workspace/Sources/Crypto/RSA/RSA.swift:176:17: warning: 'RSA_public_encrypt' is deprecated
                RSA_public_encrypt($0, $1, $2, $3!.convert(), $4)
                ^
/host/spi-builder-workspace/Sources/Crypto/RSA/RSA.swift:180:17: warning: 'RSA_private_encrypt' is deprecated
                RSA_private_encrypt($0, $1, $2, $3!.convert(), $4)
                ^
/host/spi-builder-workspace/Sources/Crypto/RSA/RSA.swift:193:42: warning: 'RSA_size' is deprecated
        var outputData = Data(count: Int(RSA_size(key.c.pointer.convert())))
                                         ^
/host/spi-builder-workspace/Sources/Crypto/RSA/RSAKey.swift:72:25: warning: 'RSA_new()' is deprecated
        guard let rsa = RSA_new() else {
                        ^
/host/spi-builder-workspace/Sources/Crypto/RSA/RSAKey.swift:80:9: warning: 'RSA_set0_key' is deprecated
        RSA_set0_key(rsa, n.convert(), e.convert(), d?.convert())
        ^
/host/spi-builder-workspace/Sources/Crypto/RSA/RSAKey.swift:156:25: warning: 'EVP_PKEY_get1_RSA' is deprecated
        guard let rsa = EVP_PKEY_get1_RSA(pkey.convert()) else {
                        ^
/host/spi-builder-workspace/Sources/Crypto/RSA/RSAKey.swift:162:14: warning: 'RSA_free' is deprecated
    deinit { RSA_free(pointer.convert()) }
             ^
[170/181] Compiling Crypto Base32.swift
/host/spi-builder-workspace/Sources/Crypto/Utilities/Base32.swift:17:13: warning: variable 'result' was never mutated; consider changing to 'let' constant
        var result = UnsafeMutablePointer<UInt8>.allocate(capacity: maxSize)
        ~~~ ^
        let
/host/spi-builder-workspace/Sources/Crypto/Utilities/Base32.swift:38:13: warning: variable 'result' was never mutated; consider changing to 'let' constant
        var result = UnsafeMutablePointer<UInt8>.allocate(capacity: maxSize)
        ~~~ ^
        let
[171/181] Compiling Crypto CryptoError.swift
/host/spi-builder-workspace/Sources/Crypto/Utilities/Base32.swift:17:13: warning: variable 'result' was never mutated; consider changing to 'let' constant
        var result = UnsafeMutablePointer<UInt8>.allocate(capacity: maxSize)
        ~~~ ^
        let
/host/spi-builder-workspace/Sources/Crypto/Utilities/Base32.swift:38:13: warning: variable 'result' was never mutated; consider changing to 'let' constant
        var result = UnsafeMutablePointer<UInt8>.allocate(capacity: maxSize)
        ~~~ ^
        let
[172/181] Compiling Crypto HMAC.swift
/host/spi-builder-workspace/Sources/Crypto/MAC/HMAC.swift:72:15: warning: 'HMAC_CTX_new()' is deprecated
        ctx = HMAC_CTX_new().convert()
              ^
/host/spi-builder-workspace/Sources/Crypto/MAC/HMAC.swift:107:36: warning: 'HMAC_Init_ex' is deprecated
        guard key.withByteBuffer({ HMAC_Init_ex(ctx.convert(), $0.baseAddress!, Int32($0.count), algorithm.c.convert(), nil) }) == 1 else {
                                   ^
/host/spi-builder-workspace/Sources/Crypto/MAC/HMAC.swift:128:37: warning: 'HMAC_Update' is deprecated
        guard data.withByteBuffer({ HMAC_Update(ctx.convert(), $0.baseAddress!, $0.count) }) == 1 else {
                                    ^
/host/spi-builder-workspace/Sources/Crypto/MAC/HMAC.swift:149:44: warning: 'HMAC_Final' is deprecated
        guard hash.withMutableByteBuffer({ HMAC_Final(ctx.convert(), $0.baseAddress!, &count) }) == 1 else {
                                           ^
/host/spi-builder-workspace/Sources/Crypto/MAC/HMAC.swift:156:9: warning: 'HMAC_CTX_free' is deprecated
        HMAC_CTX_free(ctx.convert())
        ^
[173/181] Compiling Crypto OTP.swift
/host/spi-builder-workspace/Sources/Crypto/MAC/HMAC.swift:72:15: warning: 'HMAC_CTX_new()' is deprecated
        ctx = HMAC_CTX_new().convert()
              ^
/host/spi-builder-workspace/Sources/Crypto/MAC/HMAC.swift:107:36: warning: 'HMAC_Init_ex' is deprecated
        guard key.withByteBuffer({ HMAC_Init_ex(ctx.convert(), $0.baseAddress!, Int32($0.count), algorithm.c.convert(), nil) }) == 1 else {
                                   ^
/host/spi-builder-workspace/Sources/Crypto/MAC/HMAC.swift:128:37: warning: 'HMAC_Update' is deprecated
        guard data.withByteBuffer({ HMAC_Update(ctx.convert(), $0.baseAddress!, $0.count) }) == 1 else {
                                    ^
/host/spi-builder-workspace/Sources/Crypto/MAC/HMAC.swift:149:44: warning: 'HMAC_Final' is deprecated
        guard hash.withMutableByteBuffer({ HMAC_Final(ctx.convert(), $0.baseAddress!, &count) }) == 1 else {
                                           ^
/host/spi-builder-workspace/Sources/Crypto/MAC/HMAC.swift:156:9: warning: 'HMAC_CTX_free' is deprecated
        HMAC_CTX_free(ctx.convert())
        ^
[174/181] Compiling Crypto RSAPadding.swift
/host/spi-builder-workspace/Sources/Crypto/RSA/RSAPadding.swift:23:14: error: cannot find 'RSA_SSLV23_PADDING' in scope
        case RSA_SSLV23_PADDING:
             ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Crypto/RSA/RSAPadding.swift:42:20: error: cannot find 'RSA_SSLV23_PADDING' in scope
            return RSA_SSLV23_PADDING
                   ^~~~~~~~~~~~~~~~~~
[175/181] Compiling Crypto CryptoRandom.swift
/host/spi-builder-workspace/Sources/Crypto/RSA/RSAPadding.swift:23:14: error: cannot find 'RSA_SSLV23_PADDING' in scope
        case RSA_SSLV23_PADDING:
             ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Crypto/RSA/RSAPadding.swift:42:20: error: cannot find 'RSA_SSLV23_PADDING' in scope
            return RSA_SSLV23_PADDING
                   ^~~~~~~~~~~~~~~~~~
[176/181] Compiling Crypto OpenSSLStreamCipher.swift
/host/spi-builder-workspace/Sources/Crypto/Cipher/OpenSSLStreamCipher.swift:71:25: error: cannot find 'EVP_CIPHER_key_length' in scope
        let keyLength = EVP_CIPHER_key_length(algorithm.c.convert())
                        ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Crypto/Cipher/OpenSSLStreamCipher.swift:76:24: error: cannot find 'EVP_CIPHER_iv_length' in scope
        let ivLength = EVP_CIPHER_iv_length(algorithm.c.convert())
                       ^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Crypto/Digest/DigestAlgorithm.swift:41:16: error: cannot find 'EVP_MD_type' in scope
        return EVP_MD_type(c.convert())
               ^~~~~~~~~~~
[177/181] Compiling Crypto Digest.swift
/host/spi-builder-workspace/Sources/Crypto/Cipher/OpenSSLStreamCipher.swift:71:25: error: cannot find 'EVP_CIPHER_key_length' in scope
        let keyLength = EVP_CIPHER_key_length(algorithm.c.convert())
                        ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Crypto/Cipher/OpenSSLStreamCipher.swift:76:24: error: cannot find 'EVP_CIPHER_iv_length' in scope
        let ivLength = EVP_CIPHER_iv_length(algorithm.c.convert())
                       ^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Crypto/Digest/DigestAlgorithm.swift:41:16: error: cannot find 'EVP_MD_type' in scope
        return EVP_MD_type(c.convert())
               ^~~~~~~~~~~
[178/181] Compiling Crypto DigestAlgorithm.swift
/host/spi-builder-workspace/Sources/Crypto/Cipher/OpenSSLStreamCipher.swift:71:25: error: cannot find 'EVP_CIPHER_key_length' in scope
        let keyLength = EVP_CIPHER_key_length(algorithm.c.convert())
                        ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Crypto/Cipher/OpenSSLStreamCipher.swift:76:24: error: cannot find 'EVP_CIPHER_iv_length' in scope
        let ivLength = EVP_CIPHER_iv_length(algorithm.c.convert())
                       ^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Crypto/Digest/DigestAlgorithm.swift:41:16: error: cannot find 'EVP_MD_type' in scope
        return EVP_MD_type(c.convert())
               ^~~~~~~~~~~
[179/181] Compiling Crypto BCryptDigest.swift
[180/181] Compiling Crypto AuthenticatedCipher.swift
[181/181] Compiling Crypto AuthenticatedCipherAlgorithm.swift
error: fatalError
warning: 'swift-nio-ssl-support': ignoring declared target(s) 'swift-nio-ssl-support' in the system package
warning: 'swift-nio-zlib-support': ignoring declared target(s) 'swift-nio-zlib-support' in the system package
warning: 'spi-builder-workspace': dependency 'swift-nio-ssl-support' is not used by any target
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/9] Compiling Crypto OpenSSLCipherAlgorithm.swift
/host/spi-builder-workspace/Sources/Crypto/Cipher/OpenSSLCipherAlgorithm.swift:30:16: error: cannot find 'EVP_CIPHER_type' in scope
        return EVP_CIPHER_type(c.convert())
               ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Crypto/Cipher/OpenSSLCipherAlgorithm.swift:35:16: error: cannot find 'EVP_CIPHER_key_length' in scope
        return EVP_CIPHER_key_length(c.convert())
               ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Crypto/Cipher/OpenSSLCipherAlgorithm.swift:40:16: error: cannot find 'EVP_CIPHER_iv_length' in scope
        return EVP_CIPHER_iv_length(c.convert())
               ^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Crypto/Cipher/OpenSSLCipherAlgorithm.swift:45:16: error: cannot find 'EVP_CIPHER_block_size' in scope
        return EVP_CIPHER_block_size(c.convert())
               ^~~~~~~~~~~~~~~~~~~~~
[3/10] Emitting module Crypto
[4/10] Compiling Crypto Cipher.swift
[5/10] Compiling Crypto CipherAlgorithm.swift
/host/spi-builder-workspace/Sources/Crypto/Cipher/CipherAlgorithm.swift:55:16: error: cannot find 'EVP_CIPHER_type' in scope
        return EVP_CIPHER_type(c.convert())
               ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Crypto/Cipher/CipherAlgorithm.swift:60:16: error: cannot find 'EVP_CIPHER_key_length' in scope
        return EVP_CIPHER_key_length(c.convert())
               ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Crypto/Cipher/CipherAlgorithm.swift:65:16: error: cannot find 'EVP_CIPHER_iv_length' in scope
        return EVP_CIPHER_iv_length(c.convert())
               ^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Crypto/Cipher/CipherAlgorithm.swift:70:16: error: cannot find 'EVP_CIPHER_block_size' in scope
        return EVP_CIPHER_block_size(c.convert())
               ^~~~~~~~~~~~~~~~~~~~~
[6/10] Compiling Crypto CryptoRandom.swift
[7/10] Compiling Crypto Digest.swift
[8/10] Compiling Crypto OpenSSLStreamCipher.swift
/host/spi-builder-workspace/Sources/Crypto/Cipher/OpenSSLStreamCipher.swift:71:25: error: cannot find 'EVP_CIPHER_key_length' in scope
        let keyLength = EVP_CIPHER_key_length(algorithm.c.convert())
                        ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Crypto/Cipher/OpenSSLStreamCipher.swift:76:24: error: cannot find 'EVP_CIPHER_iv_length' in scope
        let ivLength = EVP_CIPHER_iv_length(algorithm.c.convert())
                       ^~~~~~~~~~~~~~~~~~~~
[9/10] Compiling Crypto RSAPadding.swift
/host/spi-builder-workspace/Sources/Crypto/RSA/RSAPadding.swift:23:14: error: cannot find 'RSA_SSLV23_PADDING' in scope
        case RSA_SSLV23_PADDING:
             ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Crypto/RSA/RSAPadding.swift:42:20: error: cannot find 'RSA_SSLV23_PADDING' in scope
            return RSA_SSLV23_PADDING
                   ^~~~~~~~~~~~~~~~~~
[10/10] Compiling Crypto DigestAlgorithm.swift
/host/spi-builder-workspace/Sources/Crypto/Digest/DigestAlgorithm.swift:41:16: error: cannot find 'EVP_MD_type' in scope
        return EVP_MD_type(c.convert())
               ^~~~~~~~~~~
[11/12] Compiling Crypto Deprecated.swift
[12/12] Compiling Crypto RSA.swift
/host/spi-builder-workspace/Sources/Crypto/RSA/RSA.swift:73:24: warning: 'RSA_size' is deprecated
            count: Int(RSA_size(key.c.pointer.convert()))
                       ^
/host/spi-builder-workspace/Sources/Crypto/RSA/RSA.swift:85:24: warning: 'RSA_sign' is deprecated
                return RSA_sign(
                       ^
/host/spi-builder-workspace/Sources/Crypto/RSA/RSA.swift:125:24: warning: 'RSA_verify' is deprecated
                return RSA_verify(
                       ^
/host/spi-builder-workspace/Sources/Crypto/RSA/RSA.swift:153:17: warning: 'RSA_public_decrypt' is deprecated
                RSA_public_decrypt($0, $1, $2, $3!.convert(), $4)
                ^
/host/spi-builder-workspace/Sources/Crypto/RSA/RSA.swift:157:17: warning: 'RSA_private_decrypt' is deprecated
                RSA_private_decrypt($0, $1, $2, $3!.convert(), $4)
                ^
/host/spi-builder-workspace/Sources/Crypto/RSA/RSA.swift:176:17: warning: 'RSA_public_encrypt' is deprecated
                RSA_public_encrypt($0, $1, $2, $3!.convert(), $4)
                ^
/host/spi-builder-workspace/Sources/Crypto/RSA/RSA.swift:180:17: warning: 'RSA_private_encrypt' is deprecated
                RSA_private_encrypt($0, $1, $2, $3!.convert(), $4)
                ^
/host/spi-builder-workspace/Sources/Crypto/RSA/RSA.swift:193:42: warning: 'RSA_size' is deprecated
        var outputData = Data(count: Int(RSA_size(key.c.pointer.convert())))
                                         ^
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 2