The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Crypto, reference 3.4.1 (105c2f), with Swift 6.3 for Linux on 11 Apr 2026 15:26:02 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.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.3
Building package at path:  $PWD
https://github.com/vapor/open-crypto.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest
Fetching https://github.com/apple/swift-nio-ssl-support.git
Fetching https://github.com/vapor/core.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.22s)
[806/20143] Fetching core
Fetched https://github.com/vapor/core.git from cache (0.92s)
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.33s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 3.10.1 (0.47s)
Fetching https://github.com/apple/swift-nio.git
[1/83106] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (6.73s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.14.4 (8.01s)
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.21s)
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 (1.05s)
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
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-zlib-support.git
Working copy of https://github.com/apple/swift-nio-zlib-support.git resolved at 1.0.0
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 CBase32 base32.c
[10/21] Compiling CNIOLinux ifaddrs-android.c
[11/21] Compiling CBcrypt bcrypt.c
[12/21] Compiling CNIODarwin shim.c
[13/21] Compiling CNIOSHA1 c_nio_sha1.c
[14/21] Write sources
[16/21] Compiling CBcrypt blf.c
[17/21] Compiling CNIOLinux shim.c
[18/21] Write swift-version-24593BA9C3E375BF.txt
[19/30] Compiling CCryptoOpenSSL shim.c
[20/30] Compiling c-atomics.c
[22/33] Compiling Debugging SourceLocation.swift
[23/33] Compiling NIOPriorityQueue PriorityQueue.swift
[24/33] Emitting module NIOConcurrencyHelpers
[25/33] Emitting module COperatingSystem
[26/33] Compiling COperatingSystem libc.swift
[27/34] Compiling NIOConcurrencyHelpers atomics.swift
[28/34] Compiling NIOConcurrencyHelpers lock.swift
[31/35] Emitting module NIOPriorityQueue
[32/35] Compiling NIOPriorityQueue Heap.swift
[34/36] Compiling Debugging Demangler.swift
[35/36] Emitting module Debugging
[36/36] Compiling Debugging Debuggable.swift
[38/87] Compiling NIO Heap.swift
[39/87] Compiling NIO IO.swift
[40/87] Compiling NIO IOData.swift
[41/87] Compiling NIO IntegerTypes.swift
[42/87] Compiling NIO Interfaces.swift
[43/87] Compiling NIO Linux.swift
[44/87] Compiling NIO LinuxCPUSet.swift
[45/87] Emitting module NIO
[46/87] Compiling NIO ChannelPipeline.swift
[47/87] Compiling NIO CircularBuffer.swift
[48/87] Compiling NIO Codec.swift
[49/87] Compiling NIO CompositeError.swift
[50/87] Compiling NIO ContiguousCollection.swift
[51/87] Compiling NIO DeadChannel.swift
[52/87] Compiling NIO Embedded.swift
[53/93] Compiling NIO RecvByteBufferAllocator.swift
[54/93] Compiling NIO Resolver.swift
[55/93] Compiling NIO Selectable.swift
[56/93] Compiling NIO Selector.swift
[57/93] Compiling NIO ServerSocket.swift
[58/93] Compiling NIO Socket.swift
[59/93] Compiling NIO SocketAddresses.swift
[60/93] Compiling NIO EventLoop.swift
[61/93] Compiling NIO EventLoopFuture.swift
[62/93] Compiling NIO FileDescriptor.swift
[63/93] Compiling NIO FileHandle.swift
[64/93] Compiling NIO FileRegion.swift
[65/93] Compiling NIO GetaddrinfoResolver.swift
[66/93] Compiling NIO HappyEyeballs.swift
[67/93] Compiling NIO MarkedCircularBuffer.swift
[68/93] Compiling NIO MulticastChannel.swift
[69/93] Compiling NIO NIOAny.swift
[70/93] Compiling NIO NonBlockingFileIO.swift
[71/93] Compiling NIO PendingDatagramWritesManager.swift
[72/93] Compiling NIO PendingWritesManager.swift
[73/93] Compiling NIO PriorityQueue.swift
[74/93] Compiling NIO AddressedEnvelope.swift
[75/93] Compiling NIO BaseSocket.swift
[76/93] Compiling NIO BaseSocketChannel.swift
[77/93] Compiling NIO BlockingIOThreadPool.swift
[78/93] Compiling NIO Bootstrap.swift
[79/93] Compiling NIO ByteBuffer-aux.swift
[80/93] Compiling NIO ByteBuffer-core.swift
[81/93] Compiling NIO ByteBuffer-int.swift
[82/93] Compiling NIO ByteBuffer-views.swift
[83/93] Compiling NIO Channel.swift
[84/93] Compiling NIO ChannelHandler.swift
[85/93] Compiling NIO ChannelHandlers.swift
[86/93] Compiling NIO ChannelInvoker.swift
[87/93] Compiling NIO ChannelOption.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] Compiling Bits BitsError.swift
[96/123] Compiling Bits Byte+Alphabet.swift
[97/123] Compiling Bits Byte+Control.swift
[98/123] Compiling Bits Byte+Digit.swift
[99/123] Compiling Async Future+Map.swift
[100/123] Compiling Async Future+Transform.swift
[101/123] Compiling Bits ByteBuffer+require.swift
[102/123] Compiling Bits ByteBuffer+string.swift
[103/124] Emitting module Async
[104/124] Compiling Bits ByteBuffer+binaryFloatingPointOperations.swift
[105/124] Compiling Bits ByteBuffer+peek.swift
[106/124] Compiling Bits Bytes.swift
[107/124] Compiling Async Worker.swift
[112/125] Compiling NIOFoundationCompat ByteBuffer-foundation.swift
[113/125] Emitting module NIOFoundationCompat
[116/126] Compiling Bits Deprecated.swift
[117/126] Emitting module Bits
[118/126] Compiling Async FutureType.swift
[119/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 URandom.swift
[130/156] Compiling Random RandomProtocol.swift
[131/156] Emitting module Random
[132/156] Compiling Random Array+Random.swift
[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/157] Compiling Core NotFound.swift
[139/157] Compiling Core OptionalType.swift
[140/157] Compiling Core Process+Execute.swift
[141/160] Compiling Core BasicKey.swift
[142/160] Compiling Core CaseInsensitiveString.swift
[143/160] Compiling Core Decodable+Reflectable.swift
[144/160] Compiling Core ReflectionDecodable.swift
[145/160] Compiling Core Reflectable.swift
[146/160] Compiling Core String+Utilities.swift
[147/160] Compiling Core Thread+Async.swift
[148/160] Compiling Core ReflectionDecoders.swift
[149/160] Compiling Core CoreError.swift
[150/160] Compiling Core Data+Base64URL.swift
[151/160] Emitting module Core
[152/160] Compiling Core Data+Hex.swift
[153/160] Compiling Core DataCoders.swift
[154/160] Compiling Core Deprecated.swift
[155/160] Compiling Core Future+Unwrap.swift
[156/160] Compiling Core FutureEncoder.swift
[157/160] Compiling Core HeaderValue.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 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 | }
[164/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 | }
[165/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 | }
[166/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
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)
[167/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
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)
[168/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>
[169/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>
[170/181] Compiling Crypto Deprecated.swift
[171/181] Compiling Crypto Exports.swift
[172/181] Compiling Crypto BCryptDigest.swift
[173/181] Compiling Crypto AuthenticatedCipher.swift
[174/181] Compiling Crypto AuthenticatedCipherAlgorithm.swift
[175/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
[176/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
[177/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>
[178/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>
[179/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 |
[180/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 |
[181/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 |
BUILD FAILURE 6.3 linux