The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Kitura with Swift 5.7 for Linux.

Build Command

docker run --rm -v "checkouts-4609320-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.7-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.7
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4609320-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.7-latest swift build 2>&1
Fetching https://github.com/Kitura/KituraContracts.git
Fetching https://github.com/Kitura/Kitura-TemplateEngine.git
Fetching https://github.com/Kitura/TypeDecoder.git
[1/459] Fetching typedecoder
[460/3002] Fetching typedecoder, kituracontracts
[511/3440] Fetching typedecoder, kituracontracts, kitura-templateengine
Fetched https://github.com/Kitura/TypeDecoder.git (0.25s)
Fetching https://github.com/Kitura/Kitura-NIO.git
[1023/2981] Fetching kituracontracts, kitura-templateengine
Fetched https://github.com/Kitura/Kitura-TemplateEngine.git (0.27s)
Fetching https://github.com/apple/swift-log.git
[865/2543] Fetching kituracontracts
[2544/6014] Fetching kituracontracts, kitura-nio
Fetched https://github.com/Kitura/KituraContracts.git (0.48s)
Fetching https://github.com/Kitura/LoggerAPI.git
[452/3471] Fetching kitura-nio
[557/6585] Fetching kitura-nio, swift-log
[6586/7356] Fetching kitura-nio, swift-log, loggerapi
Fetched https://github.com/apple/swift-log.git (0.40s)
[3657/4242] Fetching kitura-nio, loggerapi
Fetched https://github.com/Kitura/Kitura-NIO.git (0.43s)
Fetched https://github.com/Kitura/LoggerAPI.git (0.25s)
Computing version for https://github.com/Kitura/KituraContracts.git
Computed https://github.com/Kitura/KituraContracts.git at 2.0.1 (0.29s)
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.28s)
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/4644] Fetching swift-nio-extras
[48/6732] Fetching swift-nio-extras, bluesslservice
[6733/18101] Fetching swift-nio-extras, bluesslservice, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-extras.git (1.21s)
Fetching https://github.com/apple/swift-nio.git
Fetched https://github.com/Kitura/BlueSSLService.git (1.21s)
Fetched https://github.com/apple/swift-nio-ssl.git (1.23s)
[1/61612] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git (5.12s)
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.67s)
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.37s)
Fetched https://github.com/Kitura/BlueSocket.git (0.37s)
Computing version for https://github.com/Kitura/OpenSSL.git
Computed https://github.com/Kitura/OpenSSL.git at 2.3.1 (1.06s)
Computing version for https://github.com/Kitura/TypeDecoder.git
Computed https://github.com/Kitura/TypeDecoder.git at 1.3.201 (0.26s)
Computing version for https://github.com/Kitura/BlueSocket.git
Computed https://github.com/Kitura/BlueSocket.git at 2.0.4 (0.30s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.5.3 (0.31s)
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.35s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.58.0 (0.42s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-collections.git
[1/1305] Fetching swift-atomics
[184/13385] Fetching swift-atomics, swift-collections
Fetched https://github.com/apple/swift-atomics.git (0.97s)
Fetched https://github.com/apple/swift-collections.git (1.00s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.1.0 (0.28s)
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.33s)
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/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/TypeDecoder.git
Working copy of https://github.com/Kitura/TypeDecoder.git resolved at 1.3.201
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-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/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/BlueSocket.git
Working copy of https://github.com/Kitura/BlueSocket.git resolved at 2.0.4
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/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/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.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-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-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.3
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 _AtomicsShims.c
[2/449] Compiling CNIOLLHTTP c_nio_http.c
[3/449] Compiling CNIOLLHTTP c_nio_api.c
[4/449] Compiling CNIOWindows WSAStartup.c
[6/468] Emitting module KituraTemplateEngine
[7/501] Compiling KituraTemplateEngine TemplateEngine.swift
[9/503] Compiling CNIOSHA1 c_nio_sha1.c
[9/503] Compiling CNIOLinux shim.c
[9/503] Compiling CNIOLinux liburing_shims.c
[9/503] Compiling CNIOLLHTTP c_nio_llhttp.c
[9/503] Compiling CNIODarwin shim.c
[9/503] Compiling CNIOBoringSSLShims shims.c
[16/503] Compiling Atomics AtomicInteger.swift
[17/503] Compiling Atomics AtomicMemoryOrderings.swift
[18/505] Compiling Atomics AtomicOptional.swift
[19/505] Compiling Atomics AtomicOptionalRawRepresentable.swift
[20/505] Emitting module Socket
[21/505] Compiling TypeDecoder OrderedDictionary.swift
[22/505] Compiling Atomics Unmanaged extensions.swift
[23/505] Compiling Atomics AtomicBool.swift
[24/505] Compiling Atomics AtomicValue.swift
[25/505] Compiling Atomics DoubleWord.swift
[26/505] Emitting module TypeDecoder
[27/505] Emitting module _NIODataStructures
[28/505] Compiling _NIODataStructures Heap.swift
[29/505] Compiling Atomics Primitives.shims.swift
[30/505] Compiling DequeModule _DequeBufferHeader.swift
[33/505] Compiling Atomics PointerConformances.swift
[34/505] Compiling Atomics Primitives.native.swift
[35/507] Compiling Atomics HighLevelTypes.swift
[36/507] Compiling Atomics IntegerConformances.swift
[37/507] Compiling Atomics AtomicRawRepresentable.swift
[38/507] Compiling Atomics AtomicStrongReference.swift
[39/507] Compiling Logging MetadataProvider.swift
[40/507] Compiling _NIODataStructures PriorityQueue.swift
[40/508] Compiling tls_record.cc
[43/509] Emitting module Logging
[44/509] Compiling Logging Locks.swift
[49/509] Compiling Logging LogHandler.swift
[52/509] Compiling Atomics AtomicLazyReference.swift
[53/509] Emitting module DequeModule
[57/509] Compiling DequeModule _DequeSlot.swift
[58/509] Compiling DequeModule _UnsafeWrappedBuffer.swift
[61/511] Compiling Socket Socket+Equatable.swift
[62/511] Compiling Logging Logging.swift
[65/513] Compiling Socket SocketUtils.swift
[66/513] Compiling Socket SocketProtocols.swift
[73/513] Compiling TypeDecoder TypeDecoder.swift
[75/516] Emitting module Atomics
[78/519] Compiling tls_method.cc
[80/519] Emitting module LoggerAPI
[81/519] Compiling LoggerAPI Logger.swift
[82/521] Compiling tls13_enc.cc
[85/530] Compiling KituraContracts BodyFormat.swift
[86/530] Compiling KituraContracts BodyDecoder.swift
[87/530] Compiling KituraContracts BodyEncoder.swift
[87/530] Compiling tls13_server.cc
[87/530] Compiling tls13_client.cc
[90/531] Compiling Socket Socket+Hashable.swift
[91/531] Compiling Socket Socket.swift
[91/532] Compiling tls13_both.cc
[95/533] Emitting module KituraContracts
[96/533] Compiling KituraContracts ClosureAliases.swift
[97/533] Compiling KituraContracts Coder.swift
[98/533] Compiling KituraContracts Extensions.swift
[99/533] Compiling KituraContracts QueryEncoder.swift
[100/533] Compiling KituraContracts QueryDecoder.swift
[100/536] Compiling t1_enc.cc
[100/536] Compiling ssl_versions.cc
[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
               ^
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 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
               ^
[105/536] Compiling a_d2i_fp.c
[105/536] Compiling a_bool.c
[105/536] Compiling a_bitstr.c
[105/536] Compiling CLinuxHelpers ProcessorAffinity.c
[105/536] Compiling ssl_session.cc
[105/536] Compiling ssl_privkey.cc
[105/536] Compiling ssl_x509.cc
[105/536] Compiling ssl_transcript.cc
[105/536] Compiling ssl_lib.cc
[105/536] Compiling ssl_stat.cc
BUILD FAILURE 5.7 linux

Build Machine: Linux 2