Build Information
Failed to build TLS, reference 2.1.3 (a5981b), with Swift 6.4 for Linux on 16 Sep 2026 18:25:27 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344847-1":/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-community/tls.git
Reference: 2.1.3
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-community/tls
* tag 2.1.3 -> FETCH_HEAD
HEAD is now at a5981b0 Merge pull request #71 from vapor-community/warnings-real
Cloned https://github.com/vapor-community/tls.git
Revision (git rev-parse @):
a5981b0a370f227521330beb92b7ce6d636a1eb2
SUCCESS checkout https://github.com/vapor-community/tls.git at 2.1.3
========================================
Build
========================================
Selected platform: linux
Swift version: 6.4
Building package at path: $PWD
https://github.com/vapor-community/tls.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-1":/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
Fetching https://github.com/vapor/sockets.git
Fetching https://github.com/vapor/ctls.git
Fetching https://github.com/vapor/core.git
[1/20143] Fetching core
[2620/20214] Fetching core, ctls
Fetched https://github.com/vapor/ctls.git (0.44s)
[4432/20143] Fetching core
[5642/23455] Fetching core, sockets
Fetched https://github.com/vapor/sockets.git (0.51s)
[16316/20143] Fetching core
Fetched https://github.com/vapor/core.git (0.72s)
Computing version for https://github.com/vapor/ctls.git
Computed https://github.com/vapor/ctls.git at 1.1.3 (0.91s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 2.2.1 (0.18s)
Fetching https://github.com/vapor/debugging.git
Fetching https://github.com/vapor/bits.git
[1/358] Fetching bits
[359/618] Fetching bits, debugging
Fetched https://github.com/vapor/debugging.git (0.47s)
Fetched https://github.com/vapor/bits.git (0.47s)
Computing version for https://github.com/vapor/debugging.git
Computed https://github.com/vapor/debugging.git at 1.1.1 (0.65s)
Computing version for https://github.com/vapor/bits.git
Computed https://github.com/vapor/bits.git at 1.1.1 (0.18s)
Computing version for https://github.com/vapor/sockets.git
Computed https://github.com/vapor/sockets.git at 2.2.3 (0.18s)
Creating working copy for https://github.com/vapor/debugging.git
Working copy of https://github.com/vapor/debugging.git resolved at 1.1.1
Creating working copy for https://github.com/vapor/sockets.git
Working copy of https://github.com/vapor/sockets.git resolved at 2.2.3
Creating working copy for https://github.com/vapor/bits.git
Working copy of https://github.com/vapor/bits.git resolved at 1.1.1
Creating working copy for https://github.com/vapor/core.git
Working copy of https://github.com/vapor/core.git resolved at 2.2.1
Creating working copy for https://github.com/vapor/ctls.git
Working copy of https://github.com/vapor/ctls.git resolved at 1.1.3
warning: 'ctls': ignoring declared target(s) 'CTLS' in the system package
warning: 'ctls': ignoring declared target(s) 'CTLS' in the system package
warning: 'ctls': you may be able to install ctls using your system-packager:
apt-get install libssl-dev
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 246]
[Starting]
[66 / 120] Bits
[66 / 120] libc
[77 / 120] Debugging-product
[79 / 120] Bits
[91 / 131] Core
[95 / 131] Core
[100 / 131] Core-product
[102 / 131] Transport
[106 / 132] libc
[111 / 142] Transport
[126 / 145] Sockets
[134 / 154] Sockets
[136 / 155] Transport
[148 / 165] Sockets
[150 / 165] TLS
[153 / 165] TLS
error: SwiftCompile normal x86_64 failed with a nonzero exit code. Command line: cd /host
/host/spi-builder-workspace/Sources/TLS/Context.swift:5:50: [1;31merror: [1;39mcannot find type 'SSL_CTX' in scope[0;0m
[0;36m3 |[0;0m import Dispatch
[0;36m4 |[0;0m
[0;36m5 |[0;0m public typealias CContext = UnsafeMutablePointer<[4;39mSSL_CTX[0;0m>
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'SSL_CTX' in scope[0;0m
[0;36m6 |[0;0m public typealias CMethod = UnsafePointer<SSL_METHOD>
[0;36m7 |[0;0m public typealias CSSL = UnsafeMutablePointer<SSL>
/host/spi-builder-workspace/Sources/TLS/Context.swift:6:42: [1;31merror: [1;39mcannot find type 'SSL_METHOD' in scope[0;0m
[0;36m4 |[0;0m
[0;36m5 |[0;0m public typealias CContext = UnsafeMutablePointer<SSL_CTX>
[0;36m6 |[0;0m public typealias CMethod = UnsafePointer<[4;39mSSL_METHOD[0;0m>
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'SSL_METHOD' in scope[0;0m
[0;36m7 |[0;0m public typealias CSSL = UnsafeMutablePointer<SSL>
[0;36m8 |[0;0m
/host/spi-builder-workspace/Sources/TLS/Context.swift:7:46: [1;31merror: [1;39mcannot find type 'SSL' in scope[0;0m
[0;36m5 |[0;0m public typealias CContext = UnsafeMutablePointer<SSL_CTX>
[0;36m6 |[0;0m public typealias CMethod = UnsafePointer<SSL_METHOD>
[0;36m7 |[0;0m public typealias CSSL = UnsafeMutablePointer<[4;39mSSL[0;0m>
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'SSL' in scope[0;0m
[0;36m8 |[0;0m
[0;36m9 |[0;0m /// An SSL context that contains the
/host/spi-builder-workspace/Sources/TLS/Context.swift:20:9: [1;31merror: [1;39mcannot find 'SSL_library_init' in scope[0;0m
[0;36m18 |[0;0m /// https://stackoverflow.com/a/37887068/2611971
[0;36m19 |[0;0m private static let isGloballyInitialized: Bool = {
[0;36m20 |[0;0m [4;39mSSL_library_init[0;0m()
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'SSL_library_init' in scope[0;0m
[0;36m21 |[0;0m SSL_load_error_strings()
[0;36m22 |[0;0m OPENSSL_config(nil)
/usr/include/openssl/ssl.h:2095:11: [1;39mnote: [1;39mmacro 'SSL_library_init' unavailable: function like macros not supported[0;0m
[0;36m2093 |[0;0m
[0;36m2094 |[0;0m # ifndef OPENSSL_NO_DEPRECATED_1_1_0
[0;36m2095 |[0;0m # define SSL_library_init() OPENSSL_init_ssl(0, NULL)
[0;36m|[0;0m `- [1;39mnote: [1;39mmacro 'SSL_library_init' unavailable: function like macros not supported[0;0m
[0;36m2096 |[0;0m # endif
[0;36m2097 |[0;0m
/host/spi-builder-workspace/Sources/TLS/Context.swift:21:9: [1;31merror: [1;39mcannot find 'SSL_load_error_strings' in scope[0;0m
[0;36m19 |[0;0m private static let isGloballyInitialized: Bool = {
[0;36m20 |[0;0m SSL_library_init()
[0;36m21 |[0;0m [4;39mSSL_load_error_strings[0;0m()
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'SSL_load_error_strings' in scope[0;0m
[0;36m22 |[0;0m OPENSSL_config(nil)
[0;36m23 |[0;0m OPENSSL_add_all_algorithms_conf()
/usr/include/openssl/ssl.h:1708:11: [1;39mnote: [1;39mmacro 'SSL_load_error_strings' unavailable: function like macros not supported[0;0m
[0;36m1706 |[0;0m
[0;36m1707 |[0;0m # ifndef OPENSSL_NO_DEPRECATED_1_1_0
[0;36m1708 |[0;0m # define SSL_load_error_strings() \
[0;36m|[0;0m `- [1;39mnote: [1;39mmacro 'SSL_load_error_strings' unavailable: function like macros not supported[0;0m
[0;36m1709 |[0;0m OPENSSL_init_ssl(OPENSSL_INIT_LOAD_SSL_STRINGS \
[0;36m1710 |[0;0m | OPENSSL_INIT_LOAD_CRYPTO_STRINGS, NULL)
/host/spi-builder-workspace/Sources/TLS/Context.swift:23:9: [1;31merror: [1;39mcannot find 'OPENSSL_add_all_algorithms_conf' in scope[0;0m
[0;36m21 |[0;0m SSL_load_error_strings()
[0;36m22 |[0;0m OPENSSL_config(nil)
[0;36m23 |[0;0m [4;39mOPENSSL_add_all_algorithms_conf[0;0m()
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'OPENSSL_add_all_algorithms_conf' in scope[0;0m
[0;36m24 |[0;0m return true
[0;36m25 |[0;0m }()
/usr/include/openssl/evp.h:1146:11: [1;39mnote: [1;39mmacro 'OPENSSL_add_all_algorithms_conf' unavailable: function like macros not supported[0;0m
[0;36m1144 |[0;0m
[0;36m1145 |[0;0m # ifndef OPENSSL_NO_DEPRECATED_1_1_0
[0;36m1146 |[0;0m # define OPENSSL_add_all_algorithms_conf() \
[0;36m|[0;0m `- [1;39mnote: [1;39mmacro 'OPENSSL_add_all_algorithms_conf' unavailable: function like macros not supported[0;0m
[0;36m1147 |[0;0m OPENSSL_init_crypto(OPENSSL_INIT_ADD_ALL_CIPHERS \
[0;36m1148 |[0;0m | OPENSSL_INIT_ADD_ALL_DIGESTS \
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Sources/TLS/Certificates.swift /host/spi-builder-workspace/Sources/TLS/ClientSocket.swift /host/spi-builder-workspace/Sources/TLS/Context.swift /host/spi-builder-workspace/Sources/TLS/Error.swift /host/spi-builder-workspace/Sources/TLS/Exports.swift /host/spi-builder-workspace/Sources/TLS/InternetSocket.swift /host/spi-builder-workspace/Sources/TLS/Mode.swift /host/spi-builder-workspace/Sources/TLS/ReadableSocket.swift /host/spi-builder-workspace/Sources/TLS/ServerSocket.swift /host/spi-builder-workspace/Sources/TLS/Socket.swift /host/spi-builder-workspace/Sources/TLS/Utilities.swift /host/spi-builder-workspace/Sources/TLS/WriteableSocket.swift -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 4 -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/checkouts/ctls/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/.build/out/Products/Debug-linux-x86_64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/TLS.build/Debug-linux-x86_64/TLS-t.build/DerivedSources-normal/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/TLS.build/Debug-linux-x86_64/TLS-t.build/DerivedSources/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/TLS.build/Debug-linux-x86_64/TLS-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name TLS -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/TLS.build/Debug-linux-x86_64/TLS-t.build/Objects-normal/x86_64/TLS_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 -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/TLS.build/Debug-linux-x86_64/TLS-t.build/Objects-normal/x86_64/Modules/TLS.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/TLS.build/Debug-linux-x86_64/TLS-t.build/Objects-normal/x86_64/Modules/TLS.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/TLS.build/Debug-linux-x86_64/TLS-t.build/Objects-normal/x86_64/TLS-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/TLS.build/Debug-linux-x86_64/TLS-t.build/Objects-normal/x86_64/TLS-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/TLS.build/Debug-linux-x86_64/TLS-t.build/Objects-normal/x86_64/TLS-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/TLS.build/Debug-linux-x86_64/TLS-t.build/Objects-normal/x86_64/Modules/TLS.swiftmodule
error: Build failed
BUILD FAILURE 6.4 linux