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.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.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/KituraContracts.git
Fetching https://github.com/Kitura/Kitura-TemplateEngine.git
[1/2543] Fetching kituracontracts
[154/3002] Fetching kituracontracts, typedecoder
[539/3440] Fetching kituracontracts, typedecoder, kitura-templateengine
Fetching https://github.com/Kitura/Kitura-NIO.git
Fetched https://github.com/Kitura/Kitura-TemplateEngine.git (0.34s)
Fetched https://github.com/Kitura/TypeDecoder.git (0.34s)
Fetching https://github.com/apple/swift-log.git
Fetched https://github.com/Kitura/KituraContracts.git (0.35s)
Fetching https://github.com/Kitura/LoggerAPI.git
[1/771] Fetching loggerapi
[772/4242] Fetching loggerapi, kitura-nio
[1293/7356] Fetching loggerapi, kitura-nio, swift-log
Fetched https://github.com/apple/swift-log.git (1.07s)
Fetched https://github.com/Kitura/LoggerAPI.git (1.06s)
Fetched https://github.com/Kitura/Kitura-NIO.git (1.18s)
Computing version for https://github.com/Kitura/KituraContracts.git
Computed https://github.com/Kitura/KituraContracts.git at 2.0.1 (0.27s)
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/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/Kitura/BlueSSLService.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/apple/swift-nio-extras.git (0.97s)
Fetched https://github.com/Kitura/BlueSSLService.git (0.97s)
Fetching https://github.com/apple/swift-nio.git
Fetched https://github.com/apple/swift-nio-ssl.git (0.98s)
[1/61612] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git (4.30s)
Computing version for https://github.com/Kitura/LoggerAPI.git
Computed https://github.com/Kitura/LoggerAPI.git at 2.0.0 (0.27s)
Computing version for https://github.com/Kitura/BlueSSLService.git
Computed https://github.com/Kitura/BlueSSLService.git at 2.0.2 (0.30s)
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.35s)
Fetched https://github.com/Kitura/BlueSocket.git (0.35s)
Computing version for https://github.com/Kitura/OpenSSL.git
Computed https://github.com/Kitura/OpenSSL.git at 2.3.1 (1.50s)
Computing version for https://github.com/Kitura/TypeDecoder.git
Computed https://github.com/Kitura/TypeDecoder.git at 1.3.201 (0.30s)
Computing version for https://github.com/Kitura/BlueSocket.git
Computed https://github.com/Kitura/BlueSocket.git at 2.0.4 (0.27s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.5.3 (0.29s)
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.git
Computed https://github.com/apple/swift-nio.git at 2.58.0 (0.47s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-atomics.git
[1/1305] Fetching swift-atomics
[497/13385] Fetching swift-atomics, swift-collections
Fetched https://github.com/apple/swift-atomics.git (0.39s)
[1208/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.32s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.0.4 (0.31s)
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-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/KituraContracts.git
Working copy of https://github.com/Kitura/KituraContracts.git resolved at 2.0.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/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/BlueSSLService.git
Working copy of https://github.com/Kitura/BlueSSLService.git resolved at 2.0.2
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/LoggerAPI.git
Working copy of https://github.com/Kitura/LoggerAPI.git resolved at 2.0.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/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/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.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.58.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
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 CNIOLLHTTP c_nio_api.c
[2/449] Compiling aesv8-armv8-ios.ios.aarch64.S
[3/449] Compiling CNIOWindows shim.c
[4/449] Compiling _AtomicsShims.c
[5/449] Compiling a_bool.c
[6/449] Compiling a_d2i_fp.c
[7/449] Compiling a_bitstr.c
[8/472] Compiling CNIOLLHTTP c_nio_llhttp.c
[9/497] Compiling CNIOWindows WSAStartup.c
[10/501] Compiling CNIOSHA1 c_nio_sha1.c
[11/501] Compiling CNIOLinux shim.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] Compiling DequeModule _DequeBuffer.swift
[19/501] Compiling DequeModule _DequeBufferHeader.swift
[20/503] Compiling Atomics DoubleWord.swift
[21/503] Compiling Atomics AtomicLazyReference.swift
[22/503] Compiling KituraTemplateEngine TemplateEngine.swift
[23/503] Emitting module KituraTemplateEngine
[24/504] Compiling Atomics PointerConformances.swift
[25/504] Compiling DequeModule UnsafeMutableBufferPointer+Utilities.swift
[26/504] Compiling Atomics HighLevelTypes.swift
[27/504] Compiling Atomics IntegerConformances.swift
[29/505] Compiling Atomics AtomicValue.swift
[31/505] Compiling Atomics Unmanaged extensions.swift
[32/505] Compiling Atomics AtomicBool.swift
[33/505] Emitting module DequeModule
[34/505] Compiling Atomics AtomicInteger.swift
[35/505] Compiling Atomics AtomicMemoryOrderings.swift
[36/505] Compiling Atomics AtomicOptional.swift
[37/505] Compiling Atomics AtomicRawRepresentable.swift
[38/505] Compiling Atomics AtomicStrongReference.swift
[40/505] Compiling Atomics AtomicOptionalRawRepresentable.swift
[52/507] Compiling _NIODataStructures PriorityQueue.swift
[55/507] Emitting module Atomics
[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] Compiling Logging MetadataProvider.swift
[63/509] Compiling Socket SocketProtocols.swift
[64/509] Emitting module Logging
[65/509] Compiling Logging Locks.swift
[66/509] Compiling Socket SocketUtils.swift
[67/509] Compiling _NIODataStructures Heap.swift
[68/509] Emitting module _NIODataStructures
[70/511] Compiling tls13_both.cc
[71/511] Compiling tls13_client.cc
[73/511] Compiling Atomics Primitives.native.swift
[74/511] Compiling Atomics Primitives.shims.swift
[75/511] Compiling Logging LogHandler.swift
[76/511] Compiling Logging Logging.swift
[80/515] Compiling t1_enc.cc
[82/517] Emitting module TypeDecoder
[83/517] Compiling TypeDecoder TypeDecoder.swift
[84/517] Compiling TypeDecoder OrderedDictionary.swift
[85/517] Emitting module LoggerAPI
[88/519] Emitting module Socket
[89/519] Compiling Socket Socket+Hashable.swift
[90/519] Compiling Socket Socket+Equatable.swift
[91/519] Compiling Socket Socket.swift
[94/521] Compiling LoggerAPI Logger.swift
[96/523] Compiling ssl_versions.cc
[97/534] Compiling ssl_transcript.cc
[99/535] Compiling KituraContracts BodyDecoder.swift
[100/535] Compiling KituraContracts BodyEncoder.swift
[101/536] Compiling KituraContracts BodyFormat.swift
[101/536] Compiling ssl_x509.cc
[102/536] Compiling ssl_stat.cc
error: emit-module command failed with exit code 1 (use -v to see invocation)
[104/536] 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/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
               ^
[106/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
               ^
[106/536] Compiling ssl_session.cc
[107/536] Compiling ssl_privkey.cc
[109/536] Emitting module KituraContracts
[110/536] Compiling KituraContracts ClosureAliases.swift
[110/536] Compiling ssl_file.cc
[111/536] Compiling ssl_key_share.cc
[113/536] Compiling KituraContracts Extensions.swift
[114/536] Compiling KituraContracts Coder.swift
[114/536] Compiling ssl_lib.cc
[115/536] Compiling ssl_cipher.cc
[117/536] Compiling KituraContracts QueryDecoder.swift
[118/536] Compiling KituraContracts QueryEncoder.swift
[118/536] Compiling ssl_buffer.cc
[119/536] Compiling ssl_cert.cc
error: fatalError
[120/536] Compiling handshake_server.cc
[120/536] Compiling s3_both.cc
[120/536] Compiling s3_lib.cc
[120/536] Compiling s3_pkt.cc
[120/536] Compiling ssl_aead_ctx.cc
[120/536] Compiling ssl_asn1.cc
BUILD FAILURE 5.9 linux

Build Machine: Linux 1