The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Kitura with Swift 5.8 for Linux.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.22.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Kitura/Kitura.git
Reference: 3.0.1
Cloned https://github.com/Kitura/Kitura.git into spi-builder-workspace
SUCCESS checkout https://github.com/Kitura/Kitura.git at 3.0.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.8
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build 2>&1
Fetching https://github.com/Kitura/KituraContracts.git
Fetching https://github.com/Kitura/TypeDecoder.git
Fetching https://github.com/Kitura/Kitura-TemplateEngine.git
[1/438] Fetching kitura-templateengine
[431/2981] Fetching kitura-templateengine, kituracontracts
[872/3440] Fetching kitura-templateengine, kituracontracts, typedecoder
Fetching https://github.com/Kitura/Kitura-NIO.git
Fetched https://github.com/Kitura/TypeDecoder.git (0.23s)
[2346/2981] Fetching kitura-templateengine, kituracontracts
Fetched https://github.com/Kitura/Kitura-TemplateEngine.git (0.36s)
Fetching https://github.com/apple/swift-log.git
Fetched https://github.com/Kitura/KituraContracts.git (0.36s)
Fetching https://github.com/Kitura/LoggerAPI.git
[1/3471] Fetching kitura-nio
[3472/4242] Fetching kitura-nio, loggerapi
[4182/7356] Fetching kitura-nio, loggerapi, swift-log
Fetched https://github.com/Kitura/Kitura-NIO.git (0.32s)
[835/3885] Fetching loggerapi, swift-log
Fetched https://github.com/Kitura/LoggerAPI.git (0.20s)
[592/3114] Fetching swift-log
Fetched https://github.com/apple/swift-log.git (0.31s)
Computing version for https://github.com/Kitura/KituraContracts.git
Computed https://github.com/Kitura/KituraContracts.git at 2.0.1 (0.28s)
Computing version for https://github.com/Kitura/Kitura-TemplateEngine.git
Computed https://github.com/Kitura/Kitura-TemplateEngine.git at 2.0.200 (0.27s)
Computing version for https://github.com/Kitura/Kitura-NIO.git
Computed https://github.com/Kitura/Kitura-NIO.git at 3.1.1 (0.30s)
Fetching https://github.com/Kitura/BlueSSLService.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-nio-ssl.git
[1/2088] Fetching bluesslservice
[2089/6732] Fetching bluesslservice, swift-nio-extras
[6733/18101] Fetching bluesslservice, swift-nio-extras, swift-nio-ssl
Fetched https://github.com/Kitura/BlueSSLService.git (1.08s)
Fetching https://github.com/apple/swift-nio.git
Fetched https://github.com/apple/swift-nio-extras.git (1.08s)
Fetched https://github.com/apple/swift-nio-ssl.git (1.10s)
[1/61612] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git (4.19s)
Computing version for https://github.com/Kitura/LoggerAPI.git
Computed https://github.com/Kitura/LoggerAPI.git at 2.0.0 (0.29s)
Computing version for https://github.com/Kitura/BlueSSLService.git
Computed https://github.com/Kitura/BlueSSLService.git at 2.0.2 (0.26s)
Fetching https://github.com/Kitura/BlueSocket.git
Fetching https://github.com/Kitura/OpenSSL.git
[1/203] Fetching openssl
[204/3145] Fetching openssl, bluesocket
Fetched https://github.com/Kitura/OpenSSL.git (0.20s)
[1648/2942] Fetching bluesocket
Fetched https://github.com/Kitura/BlueSocket.git (0.33s)
Computing version for https://github.com/Kitura/OpenSSL.git
Computed https://github.com/Kitura/OpenSSL.git at 2.3.1 (0.87s)
Computing version for https://github.com/Kitura/TypeDecoder.git
Computed https://github.com/Kitura/TypeDecoder.git at 1.3.201 (0.27s)
Computing version for https://github.com/Kitura/BlueSocket.git
Computed https://github.com/Kitura/BlueSocket.git at 2.0.4 (0.28s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.5.3 (0.25s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.19.0 (0.34s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.58.0 (0.39s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-atomics.git
[1/12080] Fetching swift-collections
[243/13385] Fetching swift-collections, swift-atomics
Fetched https://github.com/apple/swift-atomics.git (0.38s)
[1571/12080] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git (0.91s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.1.0 (0.36s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.0.4 (0.33s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.25.0 (0.36s)
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.1.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.0.4
Creating working copy for https://github.com/Kitura/Kitura-NIO.git
Working copy of https://github.com/Kitura/Kitura-NIO.git resolved at 3.1.1
Creating working copy for https://github.com/Kitura/Kitura-TemplateEngine.git
Working copy of https://github.com/Kitura/Kitura-TemplateEngine.git resolved at 2.0.200
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.58.0
Creating working copy for https://github.com/Kitura/TypeDecoder.git
Working copy of https://github.com/Kitura/TypeDecoder.git resolved at 1.3.201
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.5.3
Creating working copy for https://github.com/Kitura/OpenSSL.git
Working copy of https://github.com/Kitura/OpenSSL.git resolved at 2.3.1
Creating working copy for https://github.com/Kitura/KituraContracts.git
Working copy of https://github.com/Kitura/KituraContracts.git resolved at 2.0.1
Creating working copy for https://github.com/Kitura/BlueSSLService.git
Working copy of https://github.com/Kitura/BlueSSLService.git resolved at 2.0.2
Creating working copy for https://github.com/Kitura/LoggerAPI.git
Working copy of https://github.com/Kitura/LoggerAPI.git resolved at 2.0.0
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.25.0
Creating working copy for https://github.com/Kitura/BlueSocket.git
Working copy of https://github.com/Kitura/BlueSocket.git resolved at 2.0.4
Creating working copy for https://github.com/apple/swift-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.19.0
warning: you may be able to install openssl using your system-packager:
    apt-get install openssl libssl-dev
Building for debugging...
[0/449] Compiling CNIOWindows shim.c
[1/449] Compiling CNIOWindows WSAStartup.c
[2/449] Compiling _AtomicsShims.c
[3/449] Compiling CNIOLinux liburing_shims.c
[4/449] Compiling CNIOSHA1 c_nio_sha1.c
[5/449] Compiling CNIOLinux shim.c
[6/449] Compiling CNIOLLHTTP c_nio_http.c
[7/449] Compiling CNIODarwin shim.c
[8/449] Compiling CNIOLLHTTP c_nio_api.c
[9/449] Compiling CNIOLLHTTP c_nio_llhttp.c
[10/449] Compiling CNIOBoringSSLShims shims.c
[11/455] Compiling tls_record.cc
[12/455] Compiling tls_method.cc
[13/455] Compiling tls13_both.cc
[14/455] Compiling tls13_client.cc
[15/461] Compiling tls13_enc.cc
[16/464] Compiling tls13_server.cc
[18/501] Emitting module DequeModule
[19/503] Compiling DequeModule _DequeSlot.swift
[20/503] Compiling DequeModule _UnsafeWrappedBuffer.swift
[20/503] Compiling t1_enc.cc
[22/503] Compiling Atomics IntegerConformances.swift
[23/503] Compiling Atomics PointerConformances.swift
[24/505] Compiling Atomics AtomicInteger.swift
[25/505] Compiling Atomics AtomicMemoryOrderings.swift
[26/505] Compiling Atomics AtomicOptional.swift
[27/505] Emitting module KituraTemplateEngine
[28/505] Compiling KituraTemplateEngine TemplateEngine.swift
[29/506] Compiling _NIODataStructures PriorityQueue.swift
[31/506] Compiling Atomics AtomicOptionalRawRepresentable.swift
[32/506] Compiling Atomics AtomicRawRepresentable.swift
[33/506] Compiling Atomics AtomicStrongReference.swift
[36/506] Compiling Atomics AtomicValue.swift
[37/506] Compiling Atomics DoubleWord.swift
[43/506] Compiling Atomics Unmanaged extensions.swift
[44/506] Compiling Atomics AtomicBool.swift
[45/506] Compiling Atomics AtomicLazyReference.swift
[46/506] Compiling Atomics Primitives.shims.swift
[47/506] Compiling DequeModule UnsafeMutableBufferPointer+Utilities.swift
[49/506] Compiling Atomics HighLevelTypes.swift
[55/506] Compiling Atomics Primitives.native.swift
[60/509] Emitting module Atomics
[61/509] Compiling Logging Locks.swift
[62/509] Emitting module Logging
[63/509] Compiling Socket SocketProtocols.swift
[64/509] Compiling Logging MetadataProvider.swift
[65/509] Compiling _NIODataStructures Heap.swift
[66/509] Emitting module _NIODataStructures
[67/510] Compiling Socket SocketUtils.swift
[69/511] Compiling ssl_transcript.cc
[74/513] Compiling ssl_versions.cc
[76/513] Compiling TypeDecoder OrderedDictionary.swift
[77/513] Emitting module TypeDecoder
[78/513] Compiling TypeDecoder TypeDecoder.swift
[79/513] Compiling Logging LogHandler.swift
[80/513] Compiling Logging Logging.swift
[85/517] Compiling Socket Socket+Hashable.swift
[86/517] Compiling Socket Socket+Equatable.swift
[87/517] Compiling Socket Socket.swift
[88/517] Emitting module Socket
[90/519] Compiling ssl_x509.cc
[92/521] Emitting module LoggerAPI
[93/521] Compiling LoggerAPI Logger.swift
[95/523] Compiling ssl_stat.cc
[96/535] Compiling ssl_privkey.cc
error: emit-module command failed with exit code 1 (use -v to see invocation)
[98/535] Emitting module SSLService
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/.build/checkouts/OpenSSL/Sources/OpenSSL/shim.h:20:10: error: 'openssl/conf.h' file not found
#include <openssl/conf.h>
         ^
/host/spi-builder-workspace/.build/checkouts/BlueSSLService/Sources/SSLService/SSLService.swift:25:9: error: could not build C module 'OpenSSL'
        import OpenSSL
               ^
[98/535] Compiling ssl_session.cc
[100/535] Compiling KituraContracts BodyDecoder.swift
[101/535] Compiling KituraContracts BodyEncoder.swift
[102/536] Compiling KituraContracts BodyFormat.swift
[103/536] Compiling SSLService SSLPointerTricks.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/.build/checkouts/OpenSSL/Sources/OpenSSL/shim.h:20:10: error: 'openssl/conf.h' file not found
#include <openssl/conf.h>
         ^
/host/spi-builder-workspace/.build/checkouts/BlueSSLService/Sources/SSLService/SSLService.swift:25:9: error: could not build C module 'OpenSSL'
        import OpenSSL
               ^
[104/536] Compiling SSLService SSLService.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/.build/checkouts/OpenSSL/Sources/OpenSSL/shim.h:20:10: error: 'openssl/conf.h' file not found
#include <openssl/conf.h>
         ^
/host/spi-builder-workspace/.build/checkouts/BlueSSLService/Sources/SSLService/SSLService.swift:25:9: error: could not build C module 'OpenSSL'
        import OpenSSL
               ^
[104/536] Compiling ssl_file.cc
[104/536] Compiling ssl_cert.cc
[104/536] Compiling ssl_cipher.cc
[104/536] Compiling ssl_lib.cc
[104/536] Compiling ssl_key_share.cc
[104/536] Compiling ssl_buffer.cc
BUILD FAILURE 5.8 linux

Build Machine: Linux 1