The Swift Package Index logo.Swift Package Index

Build Information

Failed to build open-crypto, reference master (b91489), with Swift 6.4 for Linux on 17 Sep 2026 02:51:11 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/vapor/open-crypto.git
Reference: master
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/vapor/open-crypto
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at b91489b Update README.md
Cloned https://github.com/vapor/open-crypto.git
Revision (git rev-parse @):
b91489b865867c8510486faba439bd1e91a60b61
SUCCESS checkout https://github.com/vapor/open-crypto.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.4
Building package at path:  $PWD
https://github.com/vapor/open-crypto.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Building for debugging...
[Pre-planning 1 / 97]
[19 / 32] COpenCrypto
[32 / 42] OpenCrypto
[33 / 42] COpenCrypto
error: SwiftCompile normal x86_64 /host/spi-builder-workspace/Sources/OpenCrypto/OpenSSLCipherFunction.swift failed with a nonzero exit code. Command line:     cd /host
    builtin-SwiftPerFileCompile OpenSSLCipherFunction.swift
error: SwiftCompile normal x86_64 /host/spi-builder-workspace/Sources/OpenCrypto/OpenSSLHashFunction.swift failed with a nonzero exit code. Command line:     cd /host
    builtin-SwiftPerFileCompile OpenSSLHashFunction.swift
/host/spi-builder-workspace/Sources/OpenCrypto/OpenSSLCipherFunction.swift:101:43: error: cannot find 'EVP_CIPHER_key_length' in scope
 99 |         where IV: DataProtocol
100 |     {
101 |         guard key.bitCount == numericCast(EVP_CIPHER_key_length(convert(algorithm))) * 8 else {
    |                                           `- error: cannot find 'EVP_CIPHER_key_length' in scope
102 |             throw CryptoKitError.incorrectKeySize
103 |         }
/host/spi-builder-workspace/Sources/OpenCrypto/OpenSSLCipherFunction.swift:104:39: error: cannot find 'EVP_CIPHER_iv_length' in scope
102 |             throw CryptoKitError.incorrectKeySize
103 |         }
104 |         guard iv.count == numericCast(EVP_CIPHER_iv_length(convert(algorithm))) else {
    |                                       `- error: cannot find 'EVP_CIPHER_iv_length' in scope
105 |             throw CryptoKitError.incorrectParameterSize
106 |         }
/host/spi-builder-workspace/Sources/OpenCrypto/OpenSSLCipherFunction.swift:129:75: error: cannot find 'EVP_CIPHER_block_size' in scope
127 |     {
128 |         let data = data.copyBytes()
129 |         var chunk = [UInt8](repeating: 0, count: data.count + numericCast(EVP_CIPHER_block_size(convert(algorithm))) - 1)
    |                                                                           `- error: cannot find 'EVP_CIPHER_block_size' in scope
130 |         var chunkLength: Int32 = 0
131 |
/host/spi-builder-workspace/Sources/OpenCrypto/OpenSSLCipherFunction.swift:149:62: error: cannot find 'EVP_CIPHER_block_size' in scope
147 |         into buffer: inout [UInt8]
148 |     ) throws {
149 |         var chunk = [UInt8](repeating: 0, count: numericCast(EVP_CIPHER_block_size(convert(algorithm))))
    |                                                              `- error: cannot find 'EVP_CIPHER_block_size' in scope
150 |         var chunkLength: Int32 = 0
151 |
/host/spi-builder-workspace/Sources/OpenCrypto/OpenSSLHashFunction.swift:15:28: error: cannot find 'EVP_MD_size' in scope
13 | extension OpenSSLDigest {
14 |     public static var byteCount: Int {
15 |         return numericCast(EVP_MD_size(convert(self.algorithm)))
   |                            `- error: cannot find 'EVP_MD_size' in scope
16 |     }
17 |
Failed frontend command:
/usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/Sources/OpenCrypto/AES.swift /host/spi-builder-workspace/Sources/OpenCrypto/ChaChaPoly.swift /host/spi-builder-workspace/Sources/OpenCrypto/Digest.swift /host/spi-builder-workspace/Sources/OpenCrypto/Errors.swift /host/spi-builder-workspace/Sources/OpenCrypto/Exports.swift /host/spi-builder-workspace/Sources/OpenCrypto/HMAC.swift /host/spi-builder-workspace/Sources/OpenCrypto/HashFunction.swift /host/spi-builder-workspace/Sources/OpenCrypto/HashedAuthenticationCode.swift /host/spi-builder-workspace/Sources/OpenCrypto/HexEncoding.swift /host/spi-builder-workspace/Sources/OpenCrypto/Insecure.swift /host/spi-builder-workspace/Sources/OpenCrypto/MD5.swift /host/spi-builder-workspace/Sources/OpenCrypto/MessageAuthenticationCode.swift -primary-file /host/spi-builder-workspace/Sources/OpenCrypto/OpenSSLCipherFunction.swift -primary-file /host/spi-builder-workspace/Sources/OpenCrypto/OpenSSLHashFunction.swift /host/spi-builder-workspace/Sources/OpenCrypto/SHA1.swift /host/spi-builder-workspace/Sources/OpenCrypto/SHA2.swift /host/spi-builder-workspace/Sources/OpenCrypto/SymmetricKey.swift /host/spi-builder-workspace/Sources/OpenCrypto/Utilities.swift -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/open-crypto.build/Debug-linux-x86_64/OpenCrypto-t.build/Objects-normal/x86_64/OpenSSLCipherFunction.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/open-crypto.build/Debug-linux-x86_64/OpenCrypto-t.build/Objects-normal/x86_64/OpenSSLCipherFunction.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/open-crypto.build/Debug-linux-x86_64/OpenCrypto-t.build/Objects-normal/x86_64/OpenSSLCipherFunction.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/open-crypto.build/Debug-linux-x86_64/OpenCrypto-t.build/Objects-normal/x86_64/OpenSSLCipherFunction.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/open-crypto.build/Debug-linux-x86_64/OpenCrypto-t.build/Objects-normal/x86_64/OpenSSLHashFunction.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/open-crypto.build/Debug-linux-x86_64/OpenCrypto-t.build/Objects-normal/x86_64/OpenSSLHashFunction.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/open-crypto.build/Debug-linux-x86_64/OpenCrypto-t.build/Objects-normal/x86_64/OpenSSLHashFunction.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/open-crypto.build/Debug-linux-x86_64/OpenCrypto-t.build/Objects-normal/x86_64/OpenSSLHashFunction.dia -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps-linux-x86_64/COpenCrypto.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/Sources/COpenCryptoOpenSSL/module.modulemap -Xcc -fno-omit-frame-pointer -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/Sources/COpenCrypto/include -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/open-crypto.build/Debug-linux-x86_64/OpenCrypto-t.build/DerivedSources-normal/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/open-crypto.build/Debug-linux-x86_64/OpenCrypto-t.build/DerivedSources/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/open-crypto.build/Debug-linux-x86_64/OpenCrypto-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name OpenCrypto -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/open-crypto.build/Debug-linux-x86_64/OpenCrypto-t.build/Objects-normal/x86_64/OpenCrypto_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/open-crypto.build/Debug-linux-x86_64/OpenCrypto-t.build/Objects-normal/x86_64/OpenSSLCipherFunction.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/open-crypto.build/Debug-linux-x86_64/OpenCrypto-t.build/Objects-normal/x86_64/OpenSSLHashFunction.o -index-unit-output-path /open-crypto.build/Debug-linux-x86_64/OpenCrypto-t.build/Objects-normal/x86_64/OpenSSLCipherFunction.o -index-unit-output-path /open-crypto.build/Debug-linux-x86_64/OpenCrypto-t.build/Objects-normal/x86_64/OpenSSLHashFunction.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 linux