The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build Crypto, reference 3.4.1 (105c2f), with Swift 6.2 (beta) for Linux on 18 Jun 2025 13:23:44 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/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:             6.2
Building package at path:  $PWD
https://github.com/vapor/open-crypto.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/apple/swift-nio-ssl-support.git
Fetching https://github.com/vapor/core.git
[1/20143] Fetching core
[2419/20159] Fetching core, swift-nio-ssl-support
Fetched https://github.com/apple/swift-nio-ssl-support.git from cache (0.79s)
Fetched https://github.com/vapor/core.git from cache (0.80s)
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 (1.88s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 3.10.1 (0.62s)
Fetching https://github.com/apple/swift-nio.git
[1/76327] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (4.33s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.14.4 (4.82s)
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.28s)
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.71s)
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.git
Working copy of https://github.com/apple/swift-nio.git resolved at 1.14.4
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/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 CNIODarwin shim.c
[11/21] Compiling CNIOLinux shim.c
[12/21] Write sources
[14/21] Write swift-version-24593BA9C3E375BF.txt
[15/21] Compiling CNIOSHA1 c_nio_sha1.c
[16/21] Compiling CBcrypt blf.c
[17/21] Compiling CBase32 base32.c
[18/21] Compiling CBcrypt bcrypt.c
[19/30] Compiling CCryptoOpenSSL shim.c
[21/30] Emitting module NIOPriorityQueue
[21/30] Compiling c-atomics.c
[23/33] Compiling NIOPriorityQueue PriorityQueue.swift
[24/33] Compiling Debugging SourceLocation.swift
[25/33] Emitting module COperatingSystem
[26/33] Compiling COperatingSystem libc.swift
[27/34] Compiling NIOConcurrencyHelpers atomics.swift
[28/34] Emitting module NIOConcurrencyHelpers
[29/34] Compiling NIOConcurrencyHelpers lock.swift
[31/35] Compiling NIOPriorityQueue Heap.swift
[34/36] Compiling Debugging Demangler.swift
[35/36] Compiling Debugging Debuggable.swift
[36/36] Emitting module Debugging
[38/87] Emitting module NIO
[39/93] Compiling NIO Heap.swift
[40/93] Compiling NIO IO.swift
[41/93] Compiling NIO IOData.swift
[42/93] Compiling NIO IntegerTypes.swift
[43/93] Compiling NIO Interfaces.swift
[44/93] Compiling NIO Linux.swift
[45/93] Compiling NIO LinuxCPUSet.swift
[46/93] Compiling NIO ByteBuffer-int.swift
[47/93] Compiling NIO ByteBuffer-views.swift
[48/93] Compiling NIO Channel.swift
[49/93] Compiling NIO ChannelHandler.swift
[50/93] Compiling NIO ChannelHandlers.swift
[51/93] Compiling NIO ChannelInvoker.swift
[52/93] Compiling NIO ChannelOption.swift
[53/93] Compiling NIO EventLoop.swift
[54/93] Compiling NIO EventLoopFuture.swift
[55/93] Compiling NIO FileDescriptor.swift
[56/93] Compiling NIO FileHandle.swift
[57/93] Compiling NIO FileRegion.swift
[58/93] Compiling NIO GetaddrinfoResolver.swift
[59/93] Compiling NIO HappyEyeballs.swift
[60/93] Compiling NIO MarkedCircularBuffer.swift
[61/93] Compiling NIO MulticastChannel.swift
[62/93] Compiling NIO NIOAny.swift
[63/93] Compiling NIO NonBlockingFileIO.swift
[64/93] Compiling NIO PendingDatagramWritesManager.swift
[65/93] Compiling NIO PendingWritesManager.swift
[66/93] Compiling NIO PriorityQueue.swift
[67/93] Compiling NIO RecvByteBufferAllocator.swift
[68/93] Compiling NIO Resolver.swift
[69/93] Compiling NIO Selectable.swift
[70/93] Compiling NIO Selector.swift
[71/93] Compiling NIO ServerSocket.swift
[72/93] Compiling NIO Socket.swift
[73/93] Compiling NIO SocketAddresses.swift
[74/93] Compiling NIO ChannelPipeline.swift
[75/93] Compiling NIO CircularBuffer.swift
[76/93] Compiling NIO Codec.swift
[77/93] Compiling NIO CompositeError.swift
[78/93] Compiling NIO ContiguousCollection.swift
[79/93] Compiling NIO DeadChannel.swift
[80/93] Compiling NIO Embedded.swift
[81/93] Compiling NIO AddressedEnvelope.swift
[82/93] Compiling NIO BaseSocket.swift
[83/93] Compiling NIO BaseSocketChannel.swift
[84/93] Compiling NIO BlockingIOThreadPool.swift
[85/93] Compiling NIO Bootstrap.swift
[86/93] Compiling NIO ByteBuffer-aux.swift
[87/93] Compiling NIO ByteBuffer-core.swift
[88/93] Compiling NIO SocketChannel.swift
[89/93] Compiling NIO SocketOptionProvider.swift
[90/93] Compiling NIO System.swift
[91/93] Compiling NIO Thread.swift
[92/93] Compiling NIO TypeAssistedChannelHandler.swift
[93/93] Compiling NIO Utilities.swift
[95/123] Emitting module Async
[96/124] Compiling Async Future+Map.swift
[97/124] Compiling Async Future+Transform.swift
[98/124] Compiling Async Worker.swift
[99/124] Compiling Bits BitsError.swift
[100/124] Compiling Bits Byte+Alphabet.swift
[101/124] Compiling Async Collection+Future.swift
[102/124] Compiling Async Deprecated.swift
[103/124] Emitting module NIOFoundationCompat
[104/124] Compiling NIOFoundationCompat ByteBuffer-foundation.swift
[106/125] Compiling Async Exports.swift
[107/125] Compiling Async Future+DoCatch.swift
[108/126] Compiling Bits Bytes.swift
[111/126] Compiling Async Future+Flatten.swift
[112/126] Compiling Async Future+Global.swift
[113/126] Compiling Bits Deprecated.swift
[114/126] Compiling Async Future+Variadic.swift
[115/126] Compiling Async Future+Void.swift
[118/126] Emitting module Bits
[121/126] Compiling Async FutureType.swift
[122/126] Compiling Async QueueHandler.swift
[126/127] Compiling Bits Data+Strings.swift
[127/127] Compiling Bits Data+Bytes.swift
[129/156] Compiling Random URandom.swift
[130/156] Compiling Random RandomProtocol.swift
[131/156] Compiling Random OSRandom.swift
[132/156] Emitting module Random
[133/156] Compiling Random Array+Random.swift
[135/157] Compiling Core Data+Hex.swift
[136/157] Compiling Core DataCoders.swift
[137/157] Compiling Core Deprecated.swift
[138/160] Compiling Core Reflectable.swift
[139/160] Compiling Core String+Utilities.swift
[140/160] Compiling Core Thread+Async.swift
[141/160] Compiling Core DirectoryConfig.swift
[142/160] Compiling Core Exports.swift
[143/160] Compiling Core File.swift
[144/160] Compiling Core Future+Unwrap.swift
[145/160] Compiling Core FutureEncoder.swift
[146/160] Compiling Core HeaderValue.swift
[147/160] Compiling Core ReflectionDecoders.swift
[148/160] Compiling Core CoreError.swift
[149/160] Compiling Core Data+Base64URL.swift
[150/160] Compiling Core BasicKey.swift
[151/160] Compiling Core CaseInsensitiveString.swift
[152/160] Compiling Core Decodable+Reflectable.swift
[153/160] Compiling Core ReflectionDecodable.swift
[154/160] Emitting module Core
[155/160] Compiling Core NotFound.swift
[156/160] Compiling Core OptionalType.swift
[157/160] Compiling Core Process+Execute.swift
[158/160] Compiling Core LosslessDataConvertible.swift
[159/160] Compiling Core MediaType.swift
[160/160] Compiling Core NestedData.swift
[162/179] 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
15 |     public init?(base32Encoded: Data) {
16 |         let maxSize = (base32Encoded.count * 5 + 4) / 8
17 |         var result = UnsafeMutablePointer<UInt8>.allocate(capacity: maxSize)
   |             `- warning: variable 'result' was never mutated; consider changing to 'let' constant
18 |         defer {
19 |             result.deinitialize(count: maxSize)
/host/spi-builder-workspace/Sources/Crypto/Utilities/Base32.swift:38:13: warning: variable 'result' was never mutated; consider changing to 'let' constant
36 |     public func base32EncodedData() -> Data {
37 |         let maxSize = (count * 8 + 4) / 5
38 |         var result = UnsafeMutablePointer<UInt8>.allocate(capacity: maxSize)
   |             `- warning: variable 'result' was never mutated; consider changing to 'let' constant
39 |         defer {
40 |             result.deinitialize(count: maxSize)
[163/179] 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
15 |     public init?(base32Encoded: Data) {
16 |         let maxSize = (base32Encoded.count * 5 + 4) / 8
17 |         var result = UnsafeMutablePointer<UInt8>.allocate(capacity: maxSize)
   |             `- warning: variable 'result' was never mutated; consider changing to 'let' constant
18 |         defer {
19 |             result.deinitialize(count: maxSize)
/host/spi-builder-workspace/Sources/Crypto/Utilities/Base32.swift:38:13: warning: variable 'result' was never mutated; consider changing to 'let' constant
36 |     public func base32EncodedData() -> Data {
37 |         let maxSize = (count * 8 + 4) / 5
38 |         var result = UnsafeMutablePointer<UInt8>.allocate(capacity: maxSize)
   |             `- warning: variable 'result' was never mutated; consider changing to 'let' constant
39 |         defer {
40 |             result.deinitialize(count: maxSize)
[164/181] Emitting module Crypto
[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
53 |     /// Returns the OpenSSL NID type for this algorithm.
54 |     public var type: Int32 {
55 |         return EVP_CIPHER_type(c.convert())
   |                `- error: cannot find 'EVP_CIPHER_type' in scope
56 |     }
57 |
/host/spi-builder-workspace/Sources/Crypto/Cipher/CipherAlgorithm.swift:60:16: error: cannot find 'EVP_CIPHER_key_length' in scope
58 |     /// This cipher's required key length.
59 |     public var keySize: Int32 {
60 |         return EVP_CIPHER_key_length(c.convert())
   |                `- error: cannot find 'EVP_CIPHER_key_length' in scope
61 |     }
62 |
/host/spi-builder-workspace/Sources/Crypto/Cipher/CipherAlgorithm.swift:65:16: error: cannot find 'EVP_CIPHER_iv_length' in scope
63 |     /// This cipher's required initialization vector length.
64 |     public var ivSize: Int32 {
65 |         return EVP_CIPHER_iv_length(c.convert())
   |                `- error: cannot find 'EVP_CIPHER_iv_length' in scope
66 |     }
67 |
/host/spi-builder-workspace/Sources/Crypto/Cipher/CipherAlgorithm.swift:70:16: error: cannot find 'EVP_CIPHER_block_size' in scope
68 |     /// This cipher's block size, used internally to allocate "out" buffers.
69 |     public var blockSize: Int32 {
70 |         return EVP_CIPHER_block_size(c.convert())
   |                `- error: cannot find 'EVP_CIPHER_block_size' in scope
71 |     }
72 | }
/host/spi-builder-workspace/Sources/Crypto/Cipher/OpenSSLCipherAlgorithm.swift:30:16: error: cannot find 'EVP_CIPHER_type' in scope
28 |     /// See `OpenSSLCipherAlgorithm`
29 |     public var type: Int32 {
30 |         return EVP_CIPHER_type(c.convert())
   |                `- error: cannot find 'EVP_CIPHER_type' in scope
31 |     }
32 |
/host/spi-builder-workspace/Sources/Crypto/Cipher/OpenSSLCipherAlgorithm.swift:35:16: error: cannot find 'EVP_CIPHER_key_length' in scope
33 |     /// See `OpenSSLCipherAlgorithm`
34 |     public var keySize: Int32 {
35 |         return EVP_CIPHER_key_length(c.convert())
   |                `- error: cannot find 'EVP_CIPHER_key_length' in scope
36 |     }
37 |
/host/spi-builder-workspace/Sources/Crypto/Cipher/OpenSSLCipherAlgorithm.swift:40:16: error: cannot find 'EVP_CIPHER_iv_length' in scope
38 |     /// See `OpenSSLCipherAlgorithm`
39 |     public var ivSize: Int32 {
40 |         return EVP_CIPHER_iv_length(c.convert())
   |                `- error: cannot find 'EVP_CIPHER_iv_length' in scope
41 |     }
42 |
/host/spi-builder-workspace/Sources/Crypto/Cipher/OpenSSLCipherAlgorithm.swift:45:16: error: cannot find 'EVP_CIPHER_block_size' in scope
43 |     /// See `OpenSSLCipherAlgorithm`
44 |     public var blockSize: Int32 {
45 |         return EVP_CIPHER_block_size(c.convert())
   |                `- error: cannot find 'EVP_CIPHER_block_size' in scope
46 |     }
47 | }
[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
53 |     /// Returns the OpenSSL NID type for this algorithm.
54 |     public var type: Int32 {
55 |         return EVP_CIPHER_type(c.convert())
   |                `- error: cannot find 'EVP_CIPHER_type' in scope
56 |     }
57 |
/host/spi-builder-workspace/Sources/Crypto/Cipher/CipherAlgorithm.swift:60:16: error: cannot find 'EVP_CIPHER_key_length' in scope
58 |     /// This cipher's required key length.
59 |     public var keySize: Int32 {
60 |         return EVP_CIPHER_key_length(c.convert())
   |                `- error: cannot find 'EVP_CIPHER_key_length' in scope
61 |     }
62 |
/host/spi-builder-workspace/Sources/Crypto/Cipher/CipherAlgorithm.swift:65:16: error: cannot find 'EVP_CIPHER_iv_length' in scope
63 |     /// This cipher's required initialization vector length.
64 |     public var ivSize: Int32 {
65 |         return EVP_CIPHER_iv_length(c.convert())
   |                `- error: cannot find 'EVP_CIPHER_iv_length' in scope
66 |     }
67 |
/host/spi-builder-workspace/Sources/Crypto/Cipher/CipherAlgorithm.swift:70:16: error: cannot find 'EVP_CIPHER_block_size' in scope
68 |     /// This cipher's block size, used internally to allocate "out" buffers.
69 |     public var blockSize: Int32 {
70 |         return EVP_CIPHER_block_size(c.convert())
   |                `- error: cannot find 'EVP_CIPHER_block_size' in scope
71 |     }
72 | }
/host/spi-builder-workspace/Sources/Crypto/Cipher/OpenSSLCipherAlgorithm.swift:30:16: error: cannot find 'EVP_CIPHER_type' in scope
28 |     /// See `OpenSSLCipherAlgorithm`
29 |     public var type: Int32 {
30 |         return EVP_CIPHER_type(c.convert())
   |                `- error: cannot find 'EVP_CIPHER_type' in scope
31 |     }
32 |
/host/spi-builder-workspace/Sources/Crypto/Cipher/OpenSSLCipherAlgorithm.swift:35:16: error: cannot find 'EVP_CIPHER_key_length' in scope
33 |     /// See `OpenSSLCipherAlgorithm`
34 |     public var keySize: Int32 {
35 |         return EVP_CIPHER_key_length(c.convert())
   |                `- error: cannot find 'EVP_CIPHER_key_length' in scope
36 |     }
37 |
/host/spi-builder-workspace/Sources/Crypto/Cipher/OpenSSLCipherAlgorithm.swift:40:16: error: cannot find 'EVP_CIPHER_iv_length' in scope
38 |     /// See `OpenSSLCipherAlgorithm`
39 |     public var ivSize: Int32 {
40 |         return EVP_CIPHER_iv_length(c.convert())
   |                `- error: cannot find 'EVP_CIPHER_iv_length' in scope
41 |     }
42 |
/host/spi-builder-workspace/Sources/Crypto/Cipher/OpenSSLCipherAlgorithm.swift:45:16: error: cannot find 'EVP_CIPHER_block_size' in scope
43 |     /// See `OpenSSLCipherAlgorithm`
44 |     public var blockSize: Int32 {
45 |         return EVP_CIPHER_block_size(c.convert())
   |                `- error: cannot find 'EVP_CIPHER_block_size' in scope
46 |     }
47 | }
[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
53 |     /// Returns the OpenSSL NID type for this algorithm.
54 |     public var type: Int32 {
55 |         return EVP_CIPHER_type(c.convert())
   |                `- error: cannot find 'EVP_CIPHER_type' in scope
56 |     }
57 |
/host/spi-builder-workspace/Sources/Crypto/Cipher/CipherAlgorithm.swift:60:16: error: cannot find 'EVP_CIPHER_key_length' in scope
58 |     /// This cipher's required key length.
59 |     public var keySize: Int32 {
60 |         return EVP_CIPHER_key_length(c.convert())
   |                `- error: cannot find 'EVP_CIPHER_key_length' in scope
61 |     }
62 |
/host/spi-builder-workspace/Sources/Crypto/Cipher/CipherAlgorithm.swift:65:16: error: cannot find 'EVP_CIPHER_iv_length' in scope
63 |     /// This cipher's required initialization vector length.
64 |     public var ivSize: Int32 {
65 |         return EVP_CIPHER_iv_length(c.convert())
   |                `- error: cannot find 'EVP_CIPHER_iv_length' in scope
66 |     }
67 |
/host/spi-builder-workspace/Sources/Crypto/Cipher/CipherAlgorithm.swift:70:16: error: cannot find 'EVP_CIPHER_block_size' in scope
68 |     /// This cipher's block size, used internally to allocate "out" buffers.
69 |     public var blockSize: Int32 {
70 |         return EVP_CIPHER_block_size(c.convert())
   |                `- error: cannot find 'EVP_CIPHER_block_size' in scope
71 |     }
72 | }
/host/spi-builder-workspace/Sources/Crypto/Cipher/OpenSSLCipherAlgorithm.swift:30:16: error: cannot find 'EVP_CIPHER_type' in scope
28 |     /// See `OpenSSLCipherAlgorithm`
29 |     public var type: Int32 {
30 |         return EVP_CIPHER_type(c.convert())
   |                `- error: cannot find 'EVP_CIPHER_type' in scope
31 |     }
32 |
/host/spi-builder-workspace/Sources/Crypto/Cipher/OpenSSLCipherAlgorithm.swift:35:16: error: cannot find 'EVP_CIPHER_key_length' in scope
33 |     /// See `OpenSSLCipherAlgorithm`
34 |     public var keySize: Int32 {
35 |         return EVP_CIPHER_key_length(c.convert())
   |                `- error: cannot find 'EVP_CIPHER_key_length' in scope
36 |     }
37 |
/host/spi-builder-workspace/Sources/Crypto/Cipher/OpenSSLCipherAlgorithm.swift:40:16: error: cannot find 'EVP_CIPHER_iv_length' in scope
38 |     /// See `OpenSSLCipherAlgorithm`
39 |     public var ivSize: Int32 {
40 |         return EVP_CIPHER_iv_length(c.convert())
   |                `- error: cannot find 'EVP_CIPHER_iv_length' in scope
41 |     }
42 |
/host/spi-builder-workspace/Sources/Crypto/Cipher/OpenSSLCipherAlgorithm.swift:45:16: error: cannot find 'EVP_CIPHER_block_size' in scope
43 |     /// See `OpenSSLCipherAlgorithm`
44 |     public var blockSize: Int32 {
45 |         return EVP_CIPHER_block_size(c.convert())
   |                `- error: cannot find 'EVP_CIPHER_block_size' in scope
46 |     }
47 | }
[168/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
 69 |         let iv = iv?.convertToData()
 70 |
 71 |         let keyLength = EVP_CIPHER_key_length(algorithm.c.convert())
    |                         `- error: cannot find 'EVP_CIPHER_key_length' in scope
 72 |         guard keyLength == key.count else {
 73 |             throw CryptoError(identifier: "cipherKeySize", reason: "Invalid cipher key length \(key.count) != \(keyLength).")
/host/spi-builder-workspace/Sources/Crypto/Cipher/OpenSSLStreamCipher.swift:76:24: error: cannot find 'EVP_CIPHER_iv_length' in scope
 74 |         }
 75 |
 76 |         let ivLength = EVP_CIPHER_iv_length(algorithm.c.convert())
    |                        `- error: cannot find 'EVP_CIPHER_iv_length' in scope
 77 |         guard (ivLength == 0 && (iv == nil || iv?.count == 0)) || (iv != nil && iv?.count == Int(ivLength)) else {
 78 |             throw CryptoError(identifier: "cipherIVSize", reason: "Invalid cipher IV length \(iv?.count ?? 0) != \(ivLength).")
/host/spi-builder-workspace/Sources/Crypto/Digest/DigestAlgorithm.swift:41:16: error: cannot find 'EVP_MD_type' in scope
39 |     /// Returns the OpenSSL NID type for this algorithm.
40 |     public var type: Int32 {
41 |         return EVP_MD_type(c.convert())
   |                `- error: cannot find 'EVP_MD_type' in scope
42 |     }
43 |
[169/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
 69 |         let iv = iv?.convertToData()
 70 |
 71 |         let keyLength = EVP_CIPHER_key_length(algorithm.c.convert())
    |                         `- error: cannot find 'EVP_CIPHER_key_length' in scope
 72 |         guard keyLength == key.count else {
 73 |             throw CryptoError(identifier: "cipherKeySize", reason: "Invalid cipher key length \(key.count) != \(keyLength).")
/host/spi-builder-workspace/Sources/Crypto/Cipher/OpenSSLStreamCipher.swift:76:24: error: cannot find 'EVP_CIPHER_iv_length' in scope
 74 |         }
 75 |
 76 |         let ivLength = EVP_CIPHER_iv_length(algorithm.c.convert())
    |                        `- error: cannot find 'EVP_CIPHER_iv_length' in scope
 77 |         guard (ivLength == 0 && (iv == nil || iv?.count == 0)) || (iv != nil && iv?.count == Int(ivLength)) else {
 78 |             throw CryptoError(identifier: "cipherIVSize", reason: "Invalid cipher IV length \(iv?.count ?? 0) != \(ivLength).")
/host/spi-builder-workspace/Sources/Crypto/Digest/DigestAlgorithm.swift:41:16: error: cannot find 'EVP_MD_type' in scope
39 |     /// Returns the OpenSSL NID type for this algorithm.
40 |     public var type: Int32 {
41 |         return EVP_MD_type(c.convert())
   |                `- error: cannot find 'EVP_MD_type' in scope
42 |     }
43 |
[170/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
 69 |         let iv = iv?.convertToData()
 70 |
 71 |         let keyLength = EVP_CIPHER_key_length(algorithm.c.convert())
    |                         `- error: cannot find 'EVP_CIPHER_key_length' in scope
 72 |         guard keyLength == key.count else {
 73 |             throw CryptoError(identifier: "cipherKeySize", reason: "Invalid cipher key length \(key.count) != \(keyLength).")
/host/spi-builder-workspace/Sources/Crypto/Cipher/OpenSSLStreamCipher.swift:76:24: error: cannot find 'EVP_CIPHER_iv_length' in scope
 74 |         }
 75 |
 76 |         let ivLength = EVP_CIPHER_iv_length(algorithm.c.convert())
    |                        `- error: cannot find 'EVP_CIPHER_iv_length' in scope
 77 |         guard (ivLength == 0 && (iv == nil || iv?.count == 0)) || (iv != nil && iv?.count == Int(ivLength)) else {
 78 |             throw CryptoError(identifier: "cipherIVSize", reason: "Invalid cipher IV length \(iv?.count ?? 0) != \(ivLength).")
/host/spi-builder-workspace/Sources/Crypto/Digest/DigestAlgorithm.swift:41:16: error: cannot find 'EVP_MD_type' in scope
39 |     /// Returns the OpenSSL NID type for this algorithm.
40 |     public var type: Int32 {
41 |         return EVP_MD_type(c.convert())
   |                `- error: cannot find 'EVP_MD_type' in scope
42 |     }
43 |
[171/181] Compiling Crypto HMAC.swift
/host/spi-builder-workspace/Sources/Crypto/MAC/HMAC.swift:72:15: warning: 'HMAC_CTX_new()' is deprecated [#DeprecatedDeclaration]
 70 |     public init(algorithm: DigestAlgorithm) {
 71 |         self.algorithm = algorithm
 72 |         ctx = HMAC_CTX_new().convert()
    |               `- warning: 'HMAC_CTX_new()' is deprecated [#DeprecatedDeclaration]
 73 |     }
 74 |
/host/spi-builder-workspace/Sources/Crypto/MAC/HMAC.swift:107:36: warning: 'HMAC_Init_ex' is deprecated [#DeprecatedDeclaration]
105 |         let key = key.convertToData()
106 |
107 |         guard key.withByteBuffer({ HMAC_Init_ex(ctx.convert(), $0.baseAddress!, Int32($0.count), algorithm.c.convert(), nil) }) == 1 else {
    |                                    `- warning: 'HMAC_Init_ex' is deprecated [#DeprecatedDeclaration]
108 |             throw CryptoError.openssl(identifier: "HMAC_Init_ex", reason: "Failed initializing HMAC context.")
109 |         }
/host/spi-builder-workspace/Sources/Crypto/MAC/HMAC.swift:128:37: warning: 'HMAC_Update' is deprecated [#DeprecatedDeclaration]
126 |         let data = data.convertToData()
127 |
128 |         guard data.withByteBuffer({ HMAC_Update(ctx.convert(), $0.baseAddress!, $0.count) }) == 1 else {
    |                                     `- warning: 'HMAC_Update' is deprecated [#DeprecatedDeclaration]
129 |             throw CryptoError.openssl(identifier: "HMAC_Update", reason: "Failed updating HMAC digest.")
130 |         }
/host/spi-builder-workspace/Sources/Crypto/MAC/HMAC.swift:149:44: warning: 'HMAC_Final' is deprecated [#DeprecatedDeclaration]
147 |         var count: UInt32 = 0
148 |
149 |         guard hash.withMutableByteBuffer({ HMAC_Final(ctx.convert(), $0.baseAddress!, &count) }) == 1 else {
    |                                            `- warning: 'HMAC_Final' is deprecated [#DeprecatedDeclaration]
150 |             throw CryptoError.openssl(identifier: "HMAC_Final", reason: "Failed finalizing HMAC digest.")
151 |         }
/host/spi-builder-workspace/Sources/Crypto/MAC/HMAC.swift:156:9: warning: 'HMAC_CTX_free' is deprecated [#DeprecatedDeclaration]
154 |
155 |     deinit {
156 |         HMAC_CTX_free(ctx.convert())
    |         `- warning: 'HMAC_CTX_free' is deprecated [#DeprecatedDeclaration]
157 |     }
158 | }
/host/spi-builder-workspace/Sources/Crypto/MAC/OTP.swift:144:25: error: ambiguous use of 'withUnsafeBytes'
142 |     let subdigest = Data(digest[offset...offset + 3])
143 |     // convert data to UInt32
144 |     var num = subdigest.withUnsafeBytes { $0.baseAddress!.assumingMemoryBound(to: UInt32.self).pointee.bigEndian }
    |                         `- error: ambiguous use of 'withUnsafeBytes'
145 |     // remove most sig bit
146 |     num &= 0x7fffffff
FoundationEssentials.Data.withUnsafeBytes:2:24: note: found this candidate in module 'FoundationEssentials'
1 | struct Data {
2 | @inlinable public func withUnsafeBytes<ResultType>(_ body: (UnsafeRawBufferPointer) throws -> ResultType) rethrows -> ResultType}
  |                        `- note: found this candidate in module 'FoundationEssentials'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOFoundationCompat/ByteBuffer-foundation.swift:34:17: note: found this candidate in module 'NIOFoundationCompat'
 32 | extension Data: ContiguousCollection {
 33 |     @_inlineable
 34 |     public func withUnsafeBytes<R>(_ body: (UnsafeRawBufferPointer) throws -> R) rethrows -> R {
    |                 `- note: found this candidate in module 'NIOFoundationCompat'
 35 |         return try self.withUnsafeBytes { (ptr: UnsafePointer<UInt8>) -> R in
 36 |             try body(UnsafeRawBufferPointer(start: ptr, count: self.count))
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[172/181] Compiling Crypto OTP.swift
/host/spi-builder-workspace/Sources/Crypto/MAC/HMAC.swift:72:15: warning: 'HMAC_CTX_new()' is deprecated [#DeprecatedDeclaration]
 70 |     public init(algorithm: DigestAlgorithm) {
 71 |         self.algorithm = algorithm
 72 |         ctx = HMAC_CTX_new().convert()
    |               `- warning: 'HMAC_CTX_new()' is deprecated [#DeprecatedDeclaration]
 73 |     }
 74 |
/host/spi-builder-workspace/Sources/Crypto/MAC/HMAC.swift:107:36: warning: 'HMAC_Init_ex' is deprecated [#DeprecatedDeclaration]
105 |         let key = key.convertToData()
106 |
107 |         guard key.withByteBuffer({ HMAC_Init_ex(ctx.convert(), $0.baseAddress!, Int32($0.count), algorithm.c.convert(), nil) }) == 1 else {
    |                                    `- warning: 'HMAC_Init_ex' is deprecated [#DeprecatedDeclaration]
108 |             throw CryptoError.openssl(identifier: "HMAC_Init_ex", reason: "Failed initializing HMAC context.")
109 |         }
/host/spi-builder-workspace/Sources/Crypto/MAC/HMAC.swift:128:37: warning: 'HMAC_Update' is deprecated [#DeprecatedDeclaration]
126 |         let data = data.convertToData()
127 |
128 |         guard data.withByteBuffer({ HMAC_Update(ctx.convert(), $0.baseAddress!, $0.count) }) == 1 else {
    |                                     `- warning: 'HMAC_Update' is deprecated [#DeprecatedDeclaration]
129 |             throw CryptoError.openssl(identifier: "HMAC_Update", reason: "Failed updating HMAC digest.")
130 |         }
/host/spi-builder-workspace/Sources/Crypto/MAC/HMAC.swift:149:44: warning: 'HMAC_Final' is deprecated [#DeprecatedDeclaration]
147 |         var count: UInt32 = 0
148 |
149 |         guard hash.withMutableByteBuffer({ HMAC_Final(ctx.convert(), $0.baseAddress!, &count) }) == 1 else {
    |                                            `- warning: 'HMAC_Final' is deprecated [#DeprecatedDeclaration]
150 |             throw CryptoError.openssl(identifier: "HMAC_Final", reason: "Failed finalizing HMAC digest.")
151 |         }
/host/spi-builder-workspace/Sources/Crypto/MAC/HMAC.swift:156:9: warning: 'HMAC_CTX_free' is deprecated [#DeprecatedDeclaration]
154 |
155 |     deinit {
156 |         HMAC_CTX_free(ctx.convert())
    |         `- warning: 'HMAC_CTX_free' is deprecated [#DeprecatedDeclaration]
157 |     }
158 | }
/host/spi-builder-workspace/Sources/Crypto/MAC/OTP.swift:144:25: error: ambiguous use of 'withUnsafeBytes'
142 |     let subdigest = Data(digest[offset...offset + 3])
143 |     // convert data to UInt32
144 |     var num = subdigest.withUnsafeBytes { $0.baseAddress!.assumingMemoryBound(to: UInt32.self).pointee.bigEndian }
    |                         `- error: ambiguous use of 'withUnsafeBytes'
145 |     // remove most sig bit
146 |     num &= 0x7fffffff
FoundationEssentials.Data.withUnsafeBytes:2:24: note: found this candidate in module 'FoundationEssentials'
1 | struct Data {
2 | @inlinable public func withUnsafeBytes<ResultType>(_ body: (UnsafeRawBufferPointer) throws -> ResultType) rethrows -> ResultType}
  |                        `- note: found this candidate in module 'FoundationEssentials'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOFoundationCompat/ByteBuffer-foundation.swift:34:17: note: found this candidate in module 'NIOFoundationCompat'
 32 | extension Data: ContiguousCollection {
 33 |     @_inlineable
 34 |     public func withUnsafeBytes<R>(_ body: (UnsafeRawBufferPointer) throws -> R) rethrows -> R {
    |                 `- note: found this candidate in module 'NIOFoundationCompat'
 35 |         return try self.withUnsafeBytes { (ptr: UnsafePointer<UInt8>) -> R in
 36 |             try body(UnsafeRawBufferPointer(start: ptr, count: self.count))
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[173/181] Compiling Crypto Deprecated.swift
[174/181] Compiling Crypto Exports.swift
[175/181] Compiling Crypto BCryptDigest.swift
[176/181] Compiling Crypto AuthenticatedCipher.swift
[177/181] Compiling Crypto AuthenticatedCipherAlgorithm.swift
[178/181] Compiling Crypto RSA.swift
/host/spi-builder-workspace/Sources/Crypto/RSA/RSA.swift:73:24: warning: 'RSA_size' is deprecated [#DeprecatedDeclaration]
 71 |         var sig = Data(
 72 |             repeating: 0,
 73 |             count: Int(RSA_size(key.c.pointer.convert()))
    |                        `- warning: 'RSA_size' is deprecated [#DeprecatedDeclaration]
 74 |         )
 75 |
/host/spi-builder-workspace/Sources/Crypto/RSA/RSA.swift:85:24: warning: 'RSA_sign' is deprecated [#DeprecatedDeclaration]
 83 |         let ret = input.withByteBuffer { inputBuffer in
 84 |             return sig.withMutableByteBuffer { sigBuffer in
 85 |                 return RSA_sign(
    |                        `- warning: 'RSA_sign' is deprecated [#DeprecatedDeclaration]
 86 |                     algorithm.type,
 87 |                     inputBuffer.baseAddress!,
/host/spi-builder-workspace/Sources/Crypto/RSA/RSA.swift:125:24: warning: 'RSA_verify' is deprecated [#DeprecatedDeclaration]
123 |         let result = input.withByteBuffer { inputBuffer in
124 |             return signature.withByteBuffer { signatureBuffer in
125 |                 return RSA_verify(
    |                        `- warning: 'RSA_verify' is deprecated [#DeprecatedDeclaration]
126 |                     algorithm.type,
127 |                     inputBuffer.baseAddress!,
/host/spi-builder-workspace/Sources/Crypto/RSA/RSA.swift:153:17: warning: 'RSA_public_decrypt' is deprecated [#DeprecatedDeclaration]
151 |         case .public:
152 |             return try cipher(input, padding: padding, key: key) {
153 |                 RSA_public_decrypt($0, $1, $2, $3!.convert(), $4)
    |                 `- warning: 'RSA_public_decrypt' is deprecated [#DeprecatedDeclaration]
154 |             }
155 |         case .private:
/host/spi-builder-workspace/Sources/Crypto/RSA/RSA.swift:157:17: warning: 'RSA_private_decrypt' is deprecated [#DeprecatedDeclaration]
155 |         case .private:
156 |             return try cipher(input, padding: padding, key: key) {
157 |                 RSA_private_decrypt($0, $1, $2, $3!.convert(), $4)
    |                 `- warning: 'RSA_private_decrypt' is deprecated [#DeprecatedDeclaration]
158 |             }
159 |         }
/host/spi-builder-workspace/Sources/Crypto/RSA/RSA.swift:176:17: warning: 'RSA_public_encrypt' is deprecated [#DeprecatedDeclaration]
174 |         case .public:
175 |             return try cipher(input, padding: padding, key: key) {
176 |                 RSA_public_encrypt($0, $1, $2, $3!.convert(), $4)
    |                 `- warning: 'RSA_public_encrypt' is deprecated [#DeprecatedDeclaration]
177 |             }
178 |         case .private:
/host/spi-builder-workspace/Sources/Crypto/RSA/RSA.swift:180:17: warning: 'RSA_private_encrypt' is deprecated [#DeprecatedDeclaration]
178 |         case .private:
179 |             return try cipher(input, padding: padding, key: key) {
180 |                 RSA_private_encrypt($0, $1, $2, $3!.convert(), $4)
    |                 `- warning: 'RSA_private_encrypt' is deprecated [#DeprecatedDeclaration]
181 |             }
182 |         }
/host/spi-builder-workspace/Sources/Crypto/RSA/RSA.swift:193:42: warning: 'RSA_size' is deprecated [#DeprecatedDeclaration]
191 |     /// Private cipher
192 |     private static func cipher(_ input: LosslessDataConvertible, padding: RSAPadding, key: RSAKey, coder: RSAPkeySymmetricCoder) throws -> Data {
193 |         var outputData = Data(count: Int(RSA_size(key.c.pointer.convert())))
    |                                          `- warning: 'RSA_size' is deprecated [#DeprecatedDeclaration]
194 |
195 |         let outputLen = input.convertToData().withByteBuffer { inputBuffer in
/host/spi-builder-workspace/Sources/Crypto/RSA/RSAKey.swift:72:25: warning: 'RSA_new()' is deprecated [#DeprecatedDeclaration]
 70 |     /// - throws: `CryptoError` if key generation fails.
 71 |     public static func components(n: String, e: String, d: String? = nil) throws -> RSAKey {
 72 |         guard let rsa = RSA_new() else {
    |                         `- warning: 'RSA_new()' is deprecated [#DeprecatedDeclaration]
 73 |             throw CryptoError.openssl(identifier: "rsaNull", reason: "RSA key creation failed")
 74 |         }
/host/spi-builder-workspace/Sources/Crypto/RSA/RSAKey.swift:80:9: warning: 'RSA_set0_key' is deprecated [#DeprecatedDeclaration]
 78 |         let d = d.flatMap { parseBignum($0) }
 79 |
 80 |         RSA_set0_key(rsa, n.convert(), e.convert(), d?.convert())
    |         `- warning: 'RSA_set0_key' is deprecated [#DeprecatedDeclaration]
 81 |         return try .init(type: d == nil ? .public : .private, key: CRSAKey(rsa.convert()))
 82 |     }
/host/spi-builder-workspace/Sources/Crypto/RSA/RSAKey.swift:156:25: warning: 'EVP_PKEY_get1_RSA' is deprecated [#DeprecatedDeclaration]
154 |         defer { EVP_PKEY_free(pkey.convert()) }
155 |
156 |         guard let rsa = EVP_PKEY_get1_RSA(pkey.convert()) else {
    |                         `- warning: 'EVP_PKEY_get1_RSA' is deprecated [#DeprecatedDeclaration]
157 |             throw CryptoError.openssl(identifier: "rsaPkeyGet1", reason: "RSA key creation failed")
158 |         }
/host/spi-builder-workspace/Sources/Crypto/RSA/RSAKey.swift:162:14: warning: 'RSA_free' is deprecated [#DeprecatedDeclaration]
160 |     }
161 |
162 |     deinit { RSA_free(pointer.convert()) }
    |              `- warning: 'RSA_free' is deprecated [#DeprecatedDeclaration]
163 | }
164 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[179/181] Compiling Crypto RSAKey.swift
/host/spi-builder-workspace/Sources/Crypto/RSA/RSA.swift:73:24: warning: 'RSA_size' is deprecated [#DeprecatedDeclaration]
 71 |         var sig = Data(
 72 |             repeating: 0,
 73 |             count: Int(RSA_size(key.c.pointer.convert()))
    |                        `- warning: 'RSA_size' is deprecated [#DeprecatedDeclaration]
 74 |         )
 75 |
/host/spi-builder-workspace/Sources/Crypto/RSA/RSA.swift:85:24: warning: 'RSA_sign' is deprecated [#DeprecatedDeclaration]
 83 |         let ret = input.withByteBuffer { inputBuffer in
 84 |             return sig.withMutableByteBuffer { sigBuffer in
 85 |                 return RSA_sign(
    |                        `- warning: 'RSA_sign' is deprecated [#DeprecatedDeclaration]
 86 |                     algorithm.type,
 87 |                     inputBuffer.baseAddress!,
/host/spi-builder-workspace/Sources/Crypto/RSA/RSA.swift:125:24: warning: 'RSA_verify' is deprecated [#DeprecatedDeclaration]
123 |         let result = input.withByteBuffer { inputBuffer in
124 |             return signature.withByteBuffer { signatureBuffer in
125 |                 return RSA_verify(
    |                        `- warning: 'RSA_verify' is deprecated [#DeprecatedDeclaration]
126 |                     algorithm.type,
127 |                     inputBuffer.baseAddress!,
/host/spi-builder-workspace/Sources/Crypto/RSA/RSA.swift:153:17: warning: 'RSA_public_decrypt' is deprecated [#DeprecatedDeclaration]
151 |         case .public:
152 |             return try cipher(input, padding: padding, key: key) {
153 |                 RSA_public_decrypt($0, $1, $2, $3!.convert(), $4)
    |                 `- warning: 'RSA_public_decrypt' is deprecated [#DeprecatedDeclaration]
154 |             }
155 |         case .private:
/host/spi-builder-workspace/Sources/Crypto/RSA/RSA.swift:157:17: warning: 'RSA_private_decrypt' is deprecated [#DeprecatedDeclaration]
155 |         case .private:
156 |             return try cipher(input, padding: padding, key: key) {
157 |                 RSA_private_decrypt($0, $1, $2, $3!.convert(), $4)
    |                 `- warning: 'RSA_private_decrypt' is deprecated [#DeprecatedDeclaration]
158 |             }
159 |         }
/host/spi-builder-workspace/Sources/Crypto/RSA/RSA.swift:176:17: warning: 'RSA_public_encrypt' is deprecated [#DeprecatedDeclaration]
174 |         case .public:
175 |             return try cipher(input, padding: padding, key: key) {
176 |                 RSA_public_encrypt($0, $1, $2, $3!.convert(), $4)
    |                 `- warning: 'RSA_public_encrypt' is deprecated [#DeprecatedDeclaration]
177 |             }
178 |         case .private:
/host/spi-builder-workspace/Sources/Crypto/RSA/RSA.swift:180:17: warning: 'RSA_private_encrypt' is deprecated [#DeprecatedDeclaration]
178 |         case .private:
179 |             return try cipher(input, padding: padding, key: key) {
180 |                 RSA_private_encrypt($0, $1, $2, $3!.convert(), $4)
    |                 `- warning: 'RSA_private_encrypt' is deprecated [#DeprecatedDeclaration]
181 |             }
182 |         }
/host/spi-builder-workspace/Sources/Crypto/RSA/RSA.swift:193:42: warning: 'RSA_size' is deprecated [#DeprecatedDeclaration]
191 |     /// Private cipher
192 |     private static func cipher(_ input: LosslessDataConvertible, padding: RSAPadding, key: RSAKey, coder: RSAPkeySymmetricCoder) throws -> Data {
193 |         var outputData = Data(count: Int(RSA_size(key.c.pointer.convert())))
    |                                          `- warning: 'RSA_size' is deprecated [#DeprecatedDeclaration]
194 |
195 |         let outputLen = input.convertToData().withByteBuffer { inputBuffer in
/host/spi-builder-workspace/Sources/Crypto/RSA/RSAKey.swift:72:25: warning: 'RSA_new()' is deprecated [#DeprecatedDeclaration]
 70 |     /// - throws: `CryptoError` if key generation fails.
 71 |     public static func components(n: String, e: String, d: String? = nil) throws -> RSAKey {
 72 |         guard let rsa = RSA_new() else {
    |                         `- warning: 'RSA_new()' is deprecated [#DeprecatedDeclaration]
 73 |             throw CryptoError.openssl(identifier: "rsaNull", reason: "RSA key creation failed")
 74 |         }
/host/spi-builder-workspace/Sources/Crypto/RSA/RSAKey.swift:80:9: warning: 'RSA_set0_key' is deprecated [#DeprecatedDeclaration]
 78 |         let d = d.flatMap { parseBignum($0) }
 79 |
 80 |         RSA_set0_key(rsa, n.convert(), e.convert(), d?.convert())
    |         `- warning: 'RSA_set0_key' is deprecated [#DeprecatedDeclaration]
 81 |         return try .init(type: d == nil ? .public : .private, key: CRSAKey(rsa.convert()))
 82 |     }
/host/spi-builder-workspace/Sources/Crypto/RSA/RSAKey.swift:156:25: warning: 'EVP_PKEY_get1_RSA' is deprecated [#DeprecatedDeclaration]
154 |         defer { EVP_PKEY_free(pkey.convert()) }
155 |
156 |         guard let rsa = EVP_PKEY_get1_RSA(pkey.convert()) else {
    |                         `- warning: 'EVP_PKEY_get1_RSA' is deprecated [#DeprecatedDeclaration]
157 |             throw CryptoError.openssl(identifier: "rsaPkeyGet1", reason: "RSA key creation failed")
158 |         }
/host/spi-builder-workspace/Sources/Crypto/RSA/RSAKey.swift:162:14: warning: 'RSA_free' is deprecated [#DeprecatedDeclaration]
160 |     }
161 |
162 |     deinit { RSA_free(pointer.convert()) }
    |              `- warning: 'RSA_free' is deprecated [#DeprecatedDeclaration]
163 | }
164 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[180/181] Compiling Crypto RSAPadding.swift
/host/spi-builder-workspace/Sources/Crypto/RSA/RSAPadding.swift:23:14: error: cannot find 'RSA_SSLV23_PADDING' in scope
21 |         case RSA_PKCS1_PADDING:
22 |             self = .pkcs1
23 |         case RSA_SSLV23_PADDING:
   |              `- error: cannot find 'RSA_SSLV23_PADDING' in scope
24 |             self = .sslv23
25 |         case RSA_NO_PADDING:
/host/spi-builder-workspace/Sources/Crypto/RSA/RSAPadding.swift:42:20: error: cannot find 'RSA_SSLV23_PADDING' in scope
40 |             return RSA_PKCS1_PADDING
41 |         case .sslv23:
42 |             return RSA_SSLV23_PADDING
   |                    `- error: cannot find 'RSA_SSLV23_PADDING' in scope
43 |         case .none:
44 |             return RSA_NO_PADDING
[181/181] Compiling Crypto CryptoRandom.swift
/host/spi-builder-workspace/Sources/Crypto/RSA/RSAPadding.swift:23:14: error: cannot find 'RSA_SSLV23_PADDING' in scope
21 |         case RSA_PKCS1_PADDING:
22 |             self = .pkcs1
23 |         case RSA_SSLV23_PADDING:
   |              `- error: cannot find 'RSA_SSLV23_PADDING' in scope
24 |             self = .sslv23
25 |         case RSA_NO_PADDING:
/host/spi-builder-workspace/Sources/Crypto/RSA/RSAPadding.swift:42:20: error: cannot find 'RSA_SSLV23_PADDING' in scope
40 |             return RSA_PKCS1_PADDING
41 |         case .sslv23:
42 |             return RSA_SSLV23_PADDING
   |                    `- error: cannot find 'RSA_SSLV23_PADDING' in scope
43 |         case .none:
44 |             return RSA_NO_PADDING
BUILD FAILURE 6.2 linux