The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Kitura 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/Kitura/Kitura.git
Reference: master
Cloned https://github.com/Kitura/Kitura.git into spi-builder-workspace
SUCCESS checkout https://github.com/Kitura/Kitura.git at master
========================================
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/Kitura/TypeDecoder.git
Fetching https://github.com/Kitura/Kitura-TemplateEngine.git
Fetching https://github.com/Kitura/KituraContracts.git
[1/438] Fetching kitura-templateengine
[439/2981] Fetching kitura-templateengine, kituracontracts
[1126/3440] Fetching kitura-templateengine, kituracontracts, typedecoder
Fetching https://github.com/Kitura/Kitura-NIO.git
Fetched https://github.com/Kitura/TypeDecoder.git (0.40s)
Fetched https://github.com/Kitura/Kitura-TemplateEngine.git (0.40s)
Fetching https://github.com/apple/swift-log.git
Fetched https://github.com/Kitura/KituraContracts.git (0.40s)
Fetching https://github.com/Kitura/LoggerAPI.git
[1/771] Fetching loggerapi
[603/3850] Fetching loggerapi, swift-log
[2897/7321] Fetching loggerapi, swift-log, kitura-nio
Fetched https://github.com/Kitura/LoggerAPI.git (0.30s)
[3913/6550] Fetching swift-log, kitura-nio
Fetched https://github.com/apple/swift-log.git (0.36s)
Fetched https://github.com/Kitura/Kitura-NIO.git (0.42s)
Computing version for https://github.com/Kitura/KituraContracts.git
Computed https://github.com/Kitura/KituraContracts.git at 2.0.1 (0.26s)
Computing version for https://github.com/Kitura/Kitura-TemplateEngine.git
Computed https://github.com/Kitura/Kitura-TemplateEngine.git at 2.0.200 (0.26s)
Computing version for https://github.com/Kitura/Kitura-NIO.git
Computed https://github.com/Kitura/Kitura-NIO.git at 3.1.1 (0.28s)
Fetching https://github.com/Kitura/BlueSSLService.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio-extras.git
[1/2088] Fetching bluesslservice
[210/6591] Fetching bluesslservice, swift-nio-extras
Fetched https://github.com/Kitura/BlueSSLService.git (0.33s)
Fetching https://github.com/apple/swift-nio.git
Fetched https://github.com/apple/swift-nio-extras.git (0.33s)
[1/60082] Fetching swift-nio
[602/71394] Fetching swift-nio, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-ssl.git (1.66s)
[22231/60082] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git (4.11s)
Computing version for https://github.com/Kitura/LoggerAPI.git
Computed https://github.com/Kitura/LoggerAPI.git at 2.0.0 (0.28s)
Computing version for https://github.com/Kitura/BlueSSLService.git
Computed https://github.com/Kitura/BlueSSLService.git at 2.0.2 (0.27s)
Fetching https://github.com/Kitura/OpenSSL.git
Fetching https://github.com/Kitura/BlueSocket.git
[1/203] Fetching openssl
[204/3145] Fetching openssl, bluesocket
Fetched https://github.com/Kitura/OpenSSL.git (0.25s)
Fetched https://github.com/Kitura/BlueSocket.git (0.34s)
Computing version for https://github.com/Kitura/OpenSSL.git
Computed https://github.com/Kitura/OpenSSL.git at 2.3.1 (2.53s)
Computing version for https://github.com/Kitura/TypeDecoder.git
Computed https://github.com/Kitura/TypeDecoder.git at 1.3.201 (0.28s)
Computing version for https://github.com/Kitura/BlueSocket.git
Computed https://github.com/Kitura/BlueSocket.git at 2.0.4 (0.26s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.5.2 (0.27s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.54.0 (0.43s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-atomics.git
[1/11270] Fetching swift-collections
[790/12315] Fetching swift-collections, swift-atomics
Fetched https://github.com/apple/swift-atomics.git (1.22s)
Fetched https://github.com/apple/swift-collections.git (1.24s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.1.0 (0.29s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.0.4 (0.30s)
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.36s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.24.0 (0.33s)
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.54.0
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/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/TypeDecoder.git
Working copy of https://github.com/Kitura/TypeDecoder.git resolved at 1.3.201
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/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-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-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.19.0
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/LoggerAPI.git
Working copy of https://github.com/Kitura/LoggerAPI.git resolved at 2.0.0
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-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.5.2
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/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.24.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 CNIOLLHTTP c_nio_http.c
[1/449] Compiling CLinuxHelpers ProcessorAffinity.c
[2/449] Compiling CNIOLLHTTP c_nio_api.c
[3/449] Compiling a_bool.c
[4/449] Compiling _AtomicsShims.c
[5/449] Compiling CNIOWindows shim.c
[6/449] Compiling tls_cbc.c
[7/449] Compiling a_bitstr.c
[8/449] Compiling CNIOWindows WSAStartup.c
[9/449] Compiling CNIOSHA1 c_nio_sha1.c
[10/449] Compiling CNIOLinux shim.c
[11/465] Compiling CNIOLLHTTP c_nio_llhttp.c
[12/501] Compiling CNIOLinux liburing_shims.c
[13/501] Compiling CNIODarwin shim.c
[14/501] Compiling CNIOBoringSSLShims shims.c
[15/501] Compiling tls_record.cc
[16/501] Compiling tls_method.cc
[18/501] Emitting module KituraTemplateEngine
[19/501] Compiling KituraTemplateEngine TemplateEngine.swift
[22/503] Compiling Atomics HighLevelTypes.swift
[23/503] Compiling Atomics IntegerConformances.swift
[24/505] Compiling Atomics AtomicOptional.swift
[25/505] Compiling Atomics AtomicOptionalRawRepresentable.swift
[26/505] Compiling Atomics AtomicInteger.swift
[27/505] Emitting module DequeModule
[30/505] Emitting module Atomics
[32/505] Compiling Atomics AtomicMemoryOrderings.swift
[33/507] Compiling Atomics AtomicValue.swift
[34/507] Compiling Atomics DoubleWord.swift
[35/507] Compiling Atomics Unmanaged extensions.swift
[36/507] Compiling Atomics AtomicBool.swift
[38/507] Compiling Atomics AtomicLazyReference.swift
[43/507] Compiling Atomics AtomicRawRepresentable.swift
[44/507] Compiling Atomics AtomicStrongReference.swift
[47/507] Compiling _NIODataStructures PriorityQueue.swift
[48/507] Compiling Atomics Primitives.shims.swift
[49/507] Compiling DequeModule UnsafeMutableBufferPointer+Utilities.swift
[50/507] Compiling Atomics PointerConformances.swift
[51/507] Compiling Atomics Primitives.native.swift
[56/507] Compiling DequeModule _DequeSlot.swift
[57/507] Compiling DequeModule _UnsafeWrappedBuffer.swift
[59/509] Compiling tls13_server.cc
[60/509] Compiling tls13_enc.cc
[62/509] Emitting module Logging
[63/509] Compiling Logging Locks.swift
[64/509] Compiling Logging MetadataProvider.swift
[65/509] Emitting module _NIODataStructures
[66/509] Compiling _NIODataStructures Heap.swift
[66/509] Compiling tls13_client.cc
[68/510] Emitting module Socket
[69/510] Compiling Socket Socket+Equatable.swift
[70/510] Compiling Socket SocketUtils.swift
[71/510] Compiling Socket SocketProtocols.swift
[73/511] Compiling tls13_both.cc
[74/511] Compiling t1_enc.cc
[80/513] Compiling Logging LogHandler.swift
[81/513] Compiling Logging Logging.swift
[83/515] Compiling TypeDecoder OrderedDictionary.swift
[84/515] Compiling TypeDecoder TypeDecoder.swift
[85/515] Emitting module TypeDecoder
[88/519] Compiling ssl_transcript.cc
[89/519] Compiling ssl_versions.cc
[91/519] Compiling Socket Socket.swift
[92/519] Compiling Socket Socket+Hashable.swift
[92/520] Compiling ssl_stat.cc
[95/521] Compiling ssl_x509.cc
[97/521] Compiling LoggerAPI Logger.swift
[98/521] Emitting module LoggerAPI
[100/523] Compiling ssl_session.cc
[101/523] Compiling ssl_privkey.cc
[103/535] 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
               ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[104/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
               ^
[105/535] Compiling KituraContracts BodyDecoder.swift
[106/535] Compiling KituraContracts BodyEncoder.swift
[107/535] Compiling KituraContracts BodyFormat.swift
[107/536] Compiling ssl_file.cc
[108/536] Compiling ssl_lib.cc
[110/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
               ^
[110/536] Compiling ssl_key_share.cc
error: fatalError
[111/536] Compiling ssl_asn1.cc
[111/536] Compiling ssl_buffer.cc
[111/536] Compiling ssl_aead_ctx.cc
[111/536] Compiling ssl_cert.cc
[111/536] Compiling ssl_cipher.cc
[111/536] Compiling s3_pkt.cc
BUILD FAILURE 5.9 linux

Build Machine: Linux 1