The Swift Package Index logo.Swift Package Index

Build Information

Failed to build TLS with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4606859-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/vapor-community/tls.git
Reference: 2.1.3
Cloned https://github.com/vapor-community/tls.git into spi-builder-workspace
SUCCESS checkout https://github.com/vapor-community/tls.git at 2.1.3
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/vapor/ctls.git
Fetching https://github.com/vapor/core.git
Fetching https://github.com/vapor/sockets.git
[1/3312] Fetching sockets
[3313/23455] Fetching sockets, core
Fetched https://github.com/vapor/sockets.git (0.79s)
Fetched https://github.com/vapor/ctls.git (0.80s)
Fetched https://github.com/vapor/core.git (0.81s)
Computing version for https://github.com/vapor/ctls.git
Computed https://github.com/vapor/ctls.git at 1.1.3 (0.26s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 2.2.1 (0.28s)
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/bits.git (0.22s)
Fetched https://github.com/vapor/debugging.git (0.22s)
Computing version for https://github.com/vapor/debugging.git
Computed https://github.com/vapor/debugging.git at 1.1.1 (0.28s)
Computing version for https://github.com/vapor/bits.git
Computed https://github.com/vapor/bits.git at 1.1.1 (0.31s)
Computing version for https://github.com/vapor/sockets.git
Computed https://github.com/vapor/sockets.git at 2.2.3 (0.33s)
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/bits.git
Working copy of https://github.com/vapor/bits.git resolved at 1.1.1
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/ctls.git
Working copy of https://github.com/vapor/ctls.git resolved at 1.1.3
Creating working copy for https://github.com/vapor/sockets.git
Working copy of https://github.com/vapor/sockets.git resolved at 2.2.3
warning: 'ctls': ignoring declared target(s) 'CTLS' in the system package
warning: you may be able to install ctls using your system-packager:
    apt-get install libssl-dev
Building for debugging...
[1/22] Emitting module Bits
[2/24] Compiling Debugging Debuggable.swift
[3/24] Emitting module Debugging
[6/26] Compiling Bits Byte+ControlCharacters.swift
[7/26] Compiling Bits Byte+Convenience.swift
[8/26] Compiling Bits Byte+PatternMatching.swift
[9/26] Compiling Bits UnsignedInteger+BytesConvertible.swift
[10/26] Compiling Bits UnsignedInteger+Shifting.swift
[11/26] Compiling Bits Operators.swift
[12/26] Compiling Bits String+BytesConvertible.swift
[13/26] Compiling Bits Data+BytesConvertible.swift
[14/26] Compiling Bits HexEncoder.swift
[15/26] Compiling Bits Bytes+Base64.swift
[16/26] Compiling Bits Bytes+Hex.swift
[17/26] Compiling Bits Aliases.swift
[18/26] Compiling Bits Base64Encoder.swift
[19/26] Compiling Bits Byte+Alphabet.swift
[20/26] Emitting module libc
[21/26] Compiling libc libc.swift
[22/27] Compiling Bits Bytes+Percent.swift
[23/27] Compiling Bits BytesConvertible.swift
[24/27] Compiling Bits Byte+Random.swift
[25/27] Compiling Bits Byte+UTF8Numbers.swift
[26/27] Compiling Bits ByteSequence+Conversions.swift
[31/52] Compiling Core DispatchTime+Utilities.swift
[32/52] Compiling Core EmptyInitializable.swift
[33/52] Compiling Core Exports.swift
[34/54] Emitting module Core
[35/54] Compiling Core Result.swift
[36/54] Compiling Core Semaphore.swift
[37/54] Compiling Core Sequence.swift
[38/54] Compiling Core String.swift
[39/54] Compiling Core WorkingDirectory.swift
[40/54] Compiling Core Lock.swift
[41/54] Compiling Core Portal.swift
[42/54] Compiling Core RFC1123.swift
[43/54] Compiling Core Extendable.swift
[44/54] Compiling Core FileProtocol.swift
[45/54] Compiling Core Int+Hex.swift
[46/54] Compiling Core Array.swift
[47/54] Compiling Core Bits.swift
[48/54] Compiling Core Cache.swift
[49/54] Compiling Core StaticDataBuffer.swift
[50/54] Compiling Core String+CaseInsensitiveCompare.swift
[51/54] Compiling Core String+Polymorphic.swift
[52/54] Compiling Core Collection+Safe.swift
[53/54] Compiling Core DataFile.swift
[54/54] Compiling Core Dispatch.swift
[57/66] Compiling Transport FoundationStream.swift
[58/67] Compiling Transport Stream.swift
[59/67] Compiling Transport StreamError.swift
[60/67] Compiling Transport ReadableStream.swift
[61/67] Compiling Transport WriteableStream.swift
[62/67] Compiling Transport ServerStream.swift
[63/67] Compiling Transport Exports.swift
[64/67] Compiling Transport ClientStream.swift
[65/67] Emitting module Transport
[66/67] Compiling Transport InternetStream.swift
[67/67] Compiling Transport Port.swift
[70/90] Emitting module Sockets
[71/92] Compiling Sockets TCPReadableSocket.swift
[72/92] Compiling Sockets TCPSocket.swift
[73/92] Compiling Sockets Address+C.swift
[74/92] Compiling Sockets Address.swift
[75/92] Compiling Sockets Buffer.swift
[76/92] Compiling Sockets Types.swift
[77/92] Compiling Sockets Exports.swift
[78/92] Compiling Sockets Config.swift
[79/92] Compiling Sockets SocketOptions.swift
[80/92] Compiling Sockets TCPEstablishedSocket.swift
[81/92] Compiling Sockets TCPInternetSocket.swift
[82/92] Compiling Sockets RawSocket.swift
[83/92] Compiling Sockets Select.swift
[84/92] Compiling Sockets Socket.swift
[85/92] Compiling Sockets Descriptor.swift
[86/92] Compiling Sockets InternetSocket.swift
[87/92] Compiling Sockets Pipe.swift
[88/92] Compiling Sockets Conversions.swift
[89/92] Compiling Sockets Error.swift
[90/92] Compiling Sockets FDSet.swift
[91/92] Compiling Sockets TCPWriteableSocket.swift
[92/92] Compiling Sockets UDPSocket.swift
[95/106] Compiling TLS ServerSocket.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/.build/checkouts/ctls/shim.h:4:10: error: 'openssl/conf.h' file not found
#include <openssl/conf.h>
         ^
/host/spi-builder-workspace/Sources/TLS/ClientSocket.swift:1:8: error: could not build C module 'CTLS'
import CTLS
       ^
[96/107] Compiling TLS Mode.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/.build/checkouts/ctls/shim.h:4:10: error: 'openssl/conf.h' file not found
#include <openssl/conf.h>
         ^
/host/spi-builder-workspace/Sources/TLS/ClientSocket.swift:1:8: error: could not build C module 'CTLS'
import CTLS
       ^
[97/107] Compiling TLS ReadableSocket.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/.build/checkouts/ctls/shim.h:4:10: error: 'openssl/conf.h' file not found
#include <openssl/conf.h>
         ^
/host/spi-builder-workspace/Sources/TLS/ClientSocket.swift:1:8: error: could not build C module 'CTLS'
import CTLS
       ^
[98/107] Compiling TLS Exports.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/.build/checkouts/ctls/shim.h:4:10: error: 'openssl/conf.h' file not found
#include <openssl/conf.h>
         ^
/host/spi-builder-workspace/Sources/TLS/ClientSocket.swift:1:8: error: could not build C module 'CTLS'
import CTLS
       ^
[99/107] Compiling TLS InternetSocket.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/.build/checkouts/ctls/shim.h:4:10: error: 'openssl/conf.h' file not found
#include <openssl/conf.h>
         ^
/host/spi-builder-workspace/Sources/TLS/ClientSocket.swift:1:8: error: could not build C module 'CTLS'
import CTLS
       ^
[100/107] Compiling TLS Utilities.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/.build/checkouts/ctls/shim.h:4:10: error: 'openssl/conf.h' file not found
#include <openssl/conf.h>
         ^
/host/spi-builder-workspace/Sources/TLS/ClientSocket.swift:1:8: error: could not build C module 'CTLS'
import CTLS
       ^
[101/107] Compiling TLS Socket.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/.build/checkouts/ctls/shim.h:4:10: error: 'openssl/conf.h' file not found
#include <openssl/conf.h>
         ^
/host/spi-builder-workspace/Sources/TLS/ClientSocket.swift:1:8: error: could not build C module 'CTLS'
import CTLS
       ^
[102/107] Compiling TLS WriteableSocket.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/.build/checkouts/ctls/shim.h:4:10: error: 'openssl/conf.h' file not found
#include <openssl/conf.h>
         ^
/host/spi-builder-workspace/Sources/TLS/ClientSocket.swift:1:8: error: could not build C module 'CTLS'
import CTLS
       ^
[103/107] Compiling TLS Context.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/.build/checkouts/ctls/shim.h:4:10: error: 'openssl/conf.h' file not found
#include <openssl/conf.h>
         ^
/host/spi-builder-workspace/Sources/TLS/ClientSocket.swift:1:8: error: could not build C module 'CTLS'
import CTLS
       ^
[104/107] Compiling TLS Error.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/.build/checkouts/ctls/shim.h:4:10: error: 'openssl/conf.h' file not found
#include <openssl/conf.h>
         ^
/host/spi-builder-workspace/Sources/TLS/ClientSocket.swift:1:8: error: could not build C module 'CTLS'
import CTLS
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[105/107] Emitting module TLS
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/.build/checkouts/ctls/shim.h:4:10: error: 'openssl/conf.h' file not found
#include <openssl/conf.h>
         ^
/host/spi-builder-workspace/Sources/TLS/ClientSocket.swift:1:8: error: could not build C module 'CTLS'
import CTLS
       ^
[106/107] Compiling TLS Certificates.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/.build/checkouts/ctls/shim.h:4:10: error: 'openssl/conf.h' file not found
#include <openssl/conf.h>
         ^
/host/spi-builder-workspace/Sources/TLS/ClientSocket.swift:1:8: error: could not build C module 'CTLS'
import CTLS
       ^
[107/107] Compiling TLS ClientSocket.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/.build/checkouts/ctls/shim.h:4:10: error: 'openssl/conf.h' file not found
#include <openssl/conf.h>
         ^
/host/spi-builder-workspace/Sources/TLS/ClientSocket.swift:1:8: error: could not build C module 'CTLS'
import CTLS
       ^
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 1