The Swift Package Index logo.Swift Package Index

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>&1

Build 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: error: cannot find type 'SSL_CTX' in scope
  3 | import Dispatch
  4 |
  5 | public typealias CContext = UnsafeMutablePointer<SSL_CTX>
    |                                                  `- error: cannot find type 'SSL_CTX' in scope
  6 | public typealias CMethod = UnsafePointer<SSL_METHOD>
  7 | public typealias CSSL = UnsafeMutablePointer<SSL>
/host/spi-builder-workspace/Sources/TLS/Context.swift:6:42: error: cannot find type 'SSL_METHOD' in scope
  4 |
  5 | public typealias CContext = UnsafeMutablePointer<SSL_CTX>
  6 | public typealias CMethod = UnsafePointer<SSL_METHOD>
    |                                          `- error: cannot find type 'SSL_METHOD' in scope
  7 | public typealias CSSL = UnsafeMutablePointer<SSL>
  8 |
/host/spi-builder-workspace/Sources/TLS/Context.swift:7:46: error: cannot find type 'SSL' in scope
  5 | public typealias CContext = UnsafeMutablePointer<SSL_CTX>
  6 | public typealias CMethod = UnsafePointer<SSL_METHOD>
  7 | public typealias CSSL = UnsafeMutablePointer<SSL>
    |                                              `- error: cannot find type 'SSL' in scope
  8 |
  9 | /// An SSL context that contains the
/host/spi-builder-workspace/Sources/TLS/Context.swift:20:9: error: cannot find 'SSL_library_init' in scope
 18 |     /// https://stackoverflow.com/a/37887068/2611971
 19 |     private static let isGloballyInitialized: Bool = {
 20 |         SSL_library_init()
    |         `- error: cannot find 'SSL_library_init' in scope
 21 |         SSL_load_error_strings()
 22 |         OPENSSL_config(nil)
/usr/include/openssl/ssl.h:2095:11: note: macro 'SSL_library_init' unavailable: function like macros not supported
2093 |
2094 | # ifndef OPENSSL_NO_DEPRECATED_1_1_0
2095 | #  define SSL_library_init() OPENSSL_init_ssl(0, NULL)
     |           `- note: macro 'SSL_library_init' unavailable: function like macros not supported
2096 | # endif
2097 |
/host/spi-builder-workspace/Sources/TLS/Context.swift:21:9: error: cannot find 'SSL_load_error_strings' in scope
 19 |     private static let isGloballyInitialized: Bool = {
 20 |         SSL_library_init()
 21 |         SSL_load_error_strings()
    |         `- error: cannot find 'SSL_load_error_strings' in scope
 22 |         OPENSSL_config(nil)
 23 |         OPENSSL_add_all_algorithms_conf()
/usr/include/openssl/ssl.h:1708:11: note: macro 'SSL_load_error_strings' unavailable: function like macros not supported
1706 |
1707 | # ifndef OPENSSL_NO_DEPRECATED_1_1_0
1708 | #  define SSL_load_error_strings() \
     |           `- note: macro 'SSL_load_error_strings' unavailable: function like macros not supported
1709 |     OPENSSL_init_ssl(OPENSSL_INIT_LOAD_SSL_STRINGS \
1710 |                      | OPENSSL_INIT_LOAD_CRYPTO_STRINGS, NULL)
/host/spi-builder-workspace/Sources/TLS/Context.swift:23:9: error: cannot find 'OPENSSL_add_all_algorithms_conf' in scope
 21 |         SSL_load_error_strings()
 22 |         OPENSSL_config(nil)
 23 |         OPENSSL_add_all_algorithms_conf()
    |         `- error: cannot find 'OPENSSL_add_all_algorithms_conf' in scope
 24 |         return true
 25 |     }()
/usr/include/openssl/evp.h:1146:11: note: macro 'OPENSSL_add_all_algorithms_conf' unavailable: function like macros not supported
1144 |
1145 | # ifndef OPENSSL_NO_DEPRECATED_1_1_0
1146 | #  define OPENSSL_add_all_algorithms_conf() \
     |           `- note: macro 'OPENSSL_add_all_algorithms_conf' unavailable: function like macros not supported
1147 |     OPENSSL_init_crypto(OPENSSL_INIT_ADD_ALL_CIPHERS \
1148 |                         | 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