Build Information
Failed to build open-crypto, reference 4.0.0-beta.2 (90c49b), with Swift 6.4 for Linux on 17 Sep 2026 02:47:22 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344843-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>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/vapor/open-crypto.git
Reference: 4.0.0-beta.2
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 4.0.0-beta.2 -> FETCH_HEAD
HEAD is now at 90c49bc beta.2 (#98)
Cloned https://github.com/vapor/open-crypto.git
Revision (git rev-parse @):
90c49bc68ee6d992fa13cf84ca8fc54b97eaf4cc
SUCCESS checkout https://github.com/vapor/open-crypto.git at 4.0.0-beta.2
========================================
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-54344843-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]
[22 / 32] OpenCrypto
[33 / 42] COpenCrypto
[36 / 42] OpenCrypto
/host/spi-builder-workspace/Sources/OpenCrypto/Utilities.swift:25:13: [1;33mwarning: [1;39mvariable 'buffer' was never mutated; consider changing to 'let' constant[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated\VariableNeverMutated]8;;\]
[0;36m23 |[0;0m extension DataProtocol {
[0;36m24 |[0;0m func copyBytes() -> [UInt8] {
[0;36m25 |[0;0m var buffer = UnsafeMutableBufferPointer<UInt8>.allocate(capacity: self.count)
[0;36m|[0;0m `- [1;33mwarning: [1;39mvariable 'buffer' was never mutated; consider changing to 'let' constant[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated\VariableNeverMutated]8;;\]
[0;36m26 |[0;0m self.copyBytes(to: buffer)
[0;36m27 |[0;0m defer { buffer.deallocate() }
[#VariableNeverMutated]: <https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated>
/host/spi-builder-workspace/Sources/OpenCrypto/HashFunction.swift:20:17: [1;33mwarning: [1;39mvariable 'buffer' was never mutated; consider changing to 'let' constant[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated\VariableNeverMutated]8;;\]
[0;36m18 |[0;0m return digest
[0;36m19 |[0;0m } else {
[0;36m20 |[0;0m var buffer = UnsafeMutableBufferPointer<UInt8>.allocate(capacity: data.count)
[0;36m|[0;0m `- [1;33mwarning: [1;39mvariable 'buffer' was never mutated; consider changing to 'let' constant[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated\VariableNeverMutated]8;;\]
[0;36m21 |[0;0m data.copyBytes(to: buffer)
[0;36m22 |[0;0m defer { buffer.deallocate() }
[#VariableNeverMutated]: <https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated>
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: [1;31merror: [1;39mcannot find 'EVP_CIPHER_key_length' in scope[0;0m
[0;36m99 |[0;0m where IV: DataProtocol
[0;36m100 |[0;0m {
[0;36m101 |[0;0m guard key.bitCount == numericCast([4;39mEVP_CIPHER_key_length[0;0m(convert(algorithm))) * 8 else {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'EVP_CIPHER_key_length' in scope[0;0m
[0;36m102 |[0;0m throw CryptoKitError.incorrectKeySize
[0;36m103 |[0;0m }
/host/spi-builder-workspace/Sources/OpenCrypto/OpenSSLCipherFunction.swift:104:39: [1;31merror: [1;39mcannot find 'EVP_CIPHER_iv_length' in scope[0;0m
[0;36m102 |[0;0m throw CryptoKitError.incorrectKeySize
[0;36m103 |[0;0m }
[0;36m104 |[0;0m guard iv.count == numericCast([4;39mEVP_CIPHER_iv_length[0;0m(convert(algorithm))) else {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'EVP_CIPHER_iv_length' in scope[0;0m
[0;36m105 |[0;0m throw CryptoKitError.incorrectParameterSize
[0;36m106 |[0;0m }
/host/spi-builder-workspace/Sources/OpenCrypto/OpenSSLCipherFunction.swift:129:75: [1;31merror: [1;39mcannot find 'EVP_CIPHER_block_size' in scope[0;0m
[0;36m127 |[0;0m {
[0;36m128 |[0;0m let data = data.copyBytes()
[0;36m129 |[0;0m var chunk = [UInt8](repeating: 0, count: data.count + numericCast([4;39mEVP_CIPHER_block_size[0;0m(convert(algorithm))) - 1)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'EVP_CIPHER_block_size' in scope[0;0m
[0;36m130 |[0;0m var chunkLength: Int32 = 0
[0;36m131 |[0;0m
/host/spi-builder-workspace/Sources/OpenCrypto/OpenSSLCipherFunction.swift:149:62: [1;31merror: [1;39mcannot find 'EVP_CIPHER_block_size' in scope[0;0m
[0;36m147 |[0;0m into buffer: inout [UInt8]
[0;36m148 |[0;0m ) throws {
[0;36m149 |[0;0m var chunk = [UInt8](repeating: 0, count: numericCast([4;39mEVP_CIPHER_block_size[0;0m(convert(algorithm))))
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'EVP_CIPHER_block_size' in scope[0;0m
[0;36m150 |[0;0m var chunkLength: Int32 = 0
[0;36m151 |[0;0m
/host/spi-builder-workspace/Sources/OpenCrypto/OpenSSLHashFunction.swift:15:28: [1;31merror: [1;39mcannot find 'EVP_MD_size' in scope[0;0m
[0;36m13 |[0;0m extension OpenSSLDigest {
[0;36m14 |[0;0m public static var byteCount: Int {
[0;36m15 |[0;0m return numericCast([4;39mEVP_MD_size[0;0m(convert(self.algorithm)))
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'EVP_MD_size' in scope[0;0m
[0;36m16 |[0;0m }
[0;36m17 |[0;0m
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