The Swift Package Index logo.Swift Package Index

Build Information

Failed to build MidnightTest with Swift 5.9 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.9-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nocturnalsolutions/midnighttest.git
Reference: master
Cloned https://github.com/nocturnalsolutions/midnighttest.git into spi-builder-workspace
SUCCESS checkout https://github.com/nocturnalsolutions/midnighttest.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-4609320-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/IBM-Swift/Kitura.git
[1/16909] Fetching kitura
Fetched https://github.com/IBM-Swift/Kitura.git (1.24s)
Computing version for https://github.com/IBM-Swift/Kitura.git
Computed https://github.com/IBM-Swift/Kitura.git at 2.9.200 (1.22s)
Fetching https://github.com/Kitura/TypeDecoder.git
Fetching https://github.com/Kitura/Kitura-TemplateEngine.git
Fetching https://github.com/Kitura/KituraContracts.git
[1/459] Fetching typedecoder
[52/897] Fetching typedecoder, kitura-templateengine
[752/3440] Fetching typedecoder, kitura-templateengine, kituracontracts
Fetching https://github.com/Kitura/Kitura-net.git
Fetched https://github.com/Kitura/Kitura-TemplateEngine.git (0.29s)
[2062/3002] Fetching typedecoder, kituracontracts
Fetched https://github.com/Kitura/TypeDecoder.git (0.51s)
Fetching https://github.com/apple/swift-log.git
Fetched https://github.com/Kitura/KituraContracts.git (0.52s)
Fetching https://github.com/Kitura/LoggerAPI.git
[1/9544] Fetching kitura-net
[2960/10315] Fetching kitura-net, loggerapi
[3357/13394] Fetching kitura-net, loggerapi, swift-log
Fetched https://github.com/Kitura/LoggerAPI.git (0.30s)
[9092/12623] Fetching kitura-net, swift-log
Fetched https://github.com/apple/swift-log.git (0.43s)
Fetched https://github.com/Kitura/Kitura-net.git (0.86s)
Computing version for https://github.com/Kitura/Kitura-TemplateEngine.git
Computed https://github.com/Kitura/Kitura-TemplateEngine.git at 2.0.200 (0.28s)
Computing version for https://github.com/Kitura/Kitura-net.git
Computed https://github.com/Kitura/Kitura-net.git at 2.4.200 (0.34s)
Fetching https://github.com/Kitura/BlueSSLService.git
Fetching https://github.com/Kitura/BlueSignals.git
Fetching https://github.com/Kitura/BlueSocket.git
[1/654] Fetching bluesignals
[54/2742] Fetching bluesignals, bluesslservice
[1365/5684] Fetching bluesignals, bluesslservice, bluesocket
Fetched https://github.com/Kitura/BlueSignals.git (0.27s)
Fetched https://github.com/Kitura/BlueSSLService.git (0.38s)
Fetched https://github.com/Kitura/BlueSocket.git (0.38s)
Computing version for https://github.com/Kitura/LoggerAPI.git
Computed https://github.com/Kitura/LoggerAPI.git at 1.9.200 (0.34s)
Computing version for https://github.com/Kitura/BlueSignals.git
Computed https://github.com/Kitura/BlueSignals.git at 1.0.200 (0.33s)
Computing version for https://github.com/Kitura/BlueSSLService.git
Computed https://github.com/Kitura/BlueSSLService.git at 1.0.200 (0.35s)
Fetching https://github.com/Kitura/OpenSSL.git
[1/203] Fetching openssl
Fetched https://github.com/Kitura/OpenSSL.git (0.25s)
Computing version for https://github.com/Kitura/BlueSocket.git
Computed https://github.com/Kitura/BlueSocket.git at 1.0.200 (0.32s)
Computing version for https://github.com/Kitura/TypeDecoder.git
Computed https://github.com/Kitura/TypeDecoder.git at 1.3.201 (0.33s)
Computing version for https://github.com/Kitura/KituraContracts.git
Computed https://github.com/Kitura/KituraContracts.git at 1.2.201 (0.31s)
Computing version for https://github.com/Kitura/OpenSSL.git
Computed https://github.com/Kitura/OpenSSL.git at 2.3.1 (1.11s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.5.2 (0.30s)
Creating working copy for https://github.com/Kitura/KituraContracts.git
Working copy of https://github.com/Kitura/KituraContracts.git resolved at 1.2.201
Creating working copy for https://github.com/IBM-Swift/Kitura.git
Working copy of https://github.com/IBM-Swift/Kitura.git resolved at 2.9.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/Kitura/BlueSignals.git
Working copy of https://github.com/Kitura/BlueSignals.git resolved at 1.0.200
Creating working copy for https://github.com/Kitura/Kitura-net.git
Working copy of https://github.com/Kitura/Kitura-net.git resolved at 2.4.200
Creating working copy for https://github.com/Kitura/BlueSocket.git
Working copy of https://github.com/Kitura/BlueSocket.git resolved at 1.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/LoggerAPI.git
Working copy of https://github.com/Kitura/LoggerAPI.git resolved at 1.9.200
Creating working copy for https://github.com/Kitura/BlueSSLService.git
Working copy of https://github.com/Kitura/BlueSSLService.git resolved at 1.0.200
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/Kitura-TemplateEngine.git
Working copy of https://github.com/Kitura/Kitura-TemplateEngine.git resolved at 2.0.200
warning: you may be able to install openssl using your system-packager:
    apt-get install openssl libssl-dev
Building for debugging...
[0/2] Compiling CHTTPParser utils.c
[1/18] Compiling CHTTPParser http_parser.c
[3/18] Emitting module KituraTemplateEngine
[4/18] Compiling KituraTemplateEngine TemplateEngine.swift
[7/20] Emitting module TypeDecoder
[8/20] Compiling Logging MetadataProvider.swift
[9/20] Compiling Socket SocketUtils.swift
[10/20] Compiling Socket SocketProtocols.swift
[11/20] Emitting module Signals
[12/20] Compiling Signals Signals.swift
[15/22] Compiling TypeDecoder OrderedDictionary.swift
[16/22] Compiling TypeDecoder TypeDecoder.swift
[19/24] Compiling Logging Locks.swift
[20/24] Compiling Logging LogHandler.swift
[21/24] Emitting module Logging
[22/24] Compiling Logging Logging.swift
[25/26] Emitting module Socket
[26/26] Compiling Socket Socket.swift
[29/33] Emitting module LoggerAPI
[30/33] Compiling LoggerAPI Logger.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[33/35] 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
               ^
[34/35] 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
               ^
[35/35] 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: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 2