The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Kitura-Session with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4609320-0":/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-Session.git
Reference: master
Cloned https://github.com/Kitura/Kitura-Session.git into spi-builder-workspace
SUCCESS checkout https://github.com/Kitura/Kitura-Session.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-0":/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/BlueCryptor.git
Fetching https://github.com/Kitura/Kitura.git
[1/1608] Fetching bluecryptor
[1609/18517] Fetching bluecryptor, kitura
Fetched https://github.com/Kitura/BlueCryptor.git (1.10s)
Fetched https://github.com/Kitura/Kitura.git (1.12s)
Computing version for https://github.com/Kitura/BlueCryptor.git
Computed https://github.com/Kitura/BlueCryptor.git at 2.0.2 (0.33s)
Fetching https://github.com/Kitura/OpenSSL.git
[1/203] Fetching openssl
Fetched https://github.com/Kitura/OpenSSL.git (0.24s)
Computing version for https://github.com/Kitura/Kitura.git
Computed https://github.com/Kitura/Kitura.git at 3.0.1 (0.36s)
Fetching https://github.com/Kitura/TypeDecoder.git
Fetching https://github.com/Kitura/KituraContracts.git
Fetching https://github.com/Kitura/Kitura-TemplateEngine.git
[1/438] Fetching kitura-templateengine
[439/897] Fetching kitura-templateengine, typedecoder
[614/3440] Fetching kitura-templateengine, typedecoder, kituracontracts
Fetched https://github.com/Kitura/Kitura-TemplateEngine.git (0.25s)
Fetching https://github.com/Kitura/Kitura-NIO.git
[1172/3002] Fetching typedecoder, kituracontracts
Fetched https://github.com/Kitura/TypeDecoder.git (0.44s)
Fetching https://github.com/apple/swift-log.git
Fetched https://github.com/Kitura/KituraContracts.git (0.45s)
Fetching https://github.com/Kitura/LoggerAPI.git
[1/3471] Fetching kitura-nio
[3472/4242] Fetching kitura-nio, loggerapi
Fetched https://github.com/Kitura/Kitura-NIO.git (0.39s)
[155/771] Fetching loggerapi
Fetched https://github.com/Kitura/LoggerAPI.git (0.25s)
[1/3079] Fetching swift-log
Fetched https://github.com/apple/swift-log.git (0.46s)
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.29s)
Computing version for https://github.com/Kitura/Kitura-NIO.git
Computed https://github.com/Kitura/Kitura-NIO.git at 3.1.1 (0.31s)
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/Kitura/BlueSSLService.git
Fetching https://github.com/apple/swift-nio-ssl.git
[1/4503] Fetching swift-nio-extras
[137/6591] Fetching swift-nio-extras, bluesslservice
Fetched https://github.com/Kitura/BlueSSLService.git (0.34s)
Fetching https://github.com/apple/swift-nio.git
[1/11312] Fetching swift-nio-ssl
[11313/71394] Fetching swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-extras.git (1.12s)
Fetched https://github.com/apple/swift-nio-ssl.git (1.13s)
[3605/60082] 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 (1.39s)
Computing version for https://github.com/Kitura/BlueSSLService.git
Computed https://github.com/Kitura/BlueSSLService.git at 2.0.2 (0.33s)
Fetching https://github.com/Kitura/BlueSocket.git
[1/2942] Fetching bluesocket
Fetched https://github.com/Kitura/BlueSocket.git (0.40s)
Computing version for https://github.com/Kitura/OpenSSL.git
Computed https://github.com/Kitura/OpenSSL.git at 2.3.1 (1.12s)
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.31s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.5.2 (0.31s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.54.0 (0.57s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-atomics.git
[1/1045] Fetching swift-atomics
[597/12315] Fetching swift-atomics, swift-collections
Fetched https://github.com/apple/swift-atomics.git (0.40s)
[1015/11270] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git (1.01s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.1.0 (0.39s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.0.4 (0.38s)
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.41s)
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.39s)
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.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.54.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/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/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.git
Working copy of https://github.com/Kitura/Kitura.git resolved at 3.0.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/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/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.24.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-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/KituraContracts.git
Working copy of https://github.com/Kitura/KituraContracts.git resolved at 2.0.1
Creating working copy for https://github.com/Kitura/BlueCryptor.git
Working copy of https://github.com/Kitura/BlueCryptor.git resolved at 2.0.2
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/449] Compiling CNIOLLHTTP c_nio_http.c
[1/449] Compiling CNIOLLHTTP c_nio_api.c
[2/449] Compiling CNIOWindows shim.c
[3/449] Compiling tls_cbc.c
[4/449] Compiling _AtomicsShims.c
[5/449] Compiling a_strnid.c
[6/449] Compiling e_tls.c
[7/456] Compiling tasn_new.c
[8/475] Compiling CNIOLLHTTP c_nio_llhttp.c
[10/512] Emitting module Logging
[11/512] Emitting module DequeModule
[12/514] Emitting module KituraTemplateEngine
[13/514] Compiling KituraTemplateEngine TemplateEngine.swift
[16/516] Compiling Atomics AtomicBool.swift
[17/516] Compiling Atomics IntegerConformances.swift
[17/516] Compiling CNIOWindows WSAStartup.c
[18/516] Compiling DequeModule _DequeSlot.swift
[19/516] Compiling DequeModule _UnsafeWrappedBuffer.swift
[21/516] Compiling Atomics AtomicOptional.swift
[22/516] Compiling Atomics AtomicOptionalRawRepresentable.swift
[23/518] Compiling Cryptor 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/BlueCryptor/Sources/Cryptor/Digest.swift:23:9: error: could not build C module 'OpenSSL'
        import OpenSSL
               ^
[24/519] Compiling Atomics AtomicValue.swift
[25/519] Compiling Atomics DoubleWord.swift
[26/519] Compiling Atomics AtomicLazyReference.swift
[27/519] Compiling Atomics HighLevelTypes.swift
[28/519] Compiling Atomics Unmanaged extensions.swift
[31/519] Compiling Atomics AtomicInteger.swift
[34/519] Compiling Atomics AtomicMemoryOrderings.swift
[35/519] Compiling Atomics AtomicRawRepresentable.swift
[36/519] Compiling Atomics AtomicStrongReference.swift
[37/519] Compiling _NIODataStructures PriorityQueue.swift
[38/519] Emitting module TypeDecoder
[39/519] Compiling Atomics PointerConformances.swift
[40/519] Compiling Atomics Primitives.native.swift
[41/519] Compiling Atomics Primitives.shims.swift
[42/519] Compiling DequeModule UnsafeMutableBufferPointer+Utilities.swift
[46/520] Compiling CNIOSHA1 c_nio_sha1.c
[49/521] Compiling CNIOLinux shim.c
[50/521] Compiling CNIOLinux liburing_shims.c
[52/521] Emitting module Atomics
[52/521] Compiling CNIODarwin shim.c
[59/521] Compiling CNIOBoringSSLShims shims.c
[60/521] Compiling tls_record.cc
[62/521] Compiling Cryptor StreamCryptor.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/BlueCryptor/Sources/Cryptor/Digest.swift:23:9: error: could not build C module 'OpenSSL'
        import OpenSSL
               ^
<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/BlueCryptor/Sources/Cryptor/Digest.swift:23:9: error: could not build C module 'OpenSSL'
        import OpenSSL
               ^
<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/BlueCryptor/Sources/Cryptor/Digest.swift:23:9: error: could not build C module 'OpenSSL'
        import OpenSSL
               ^
[65/521] Compiling Cryptor Updatable.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/BlueCryptor/Sources/Cryptor/Digest.swift:23:9: error: could not build C module 'OpenSSL'
        import OpenSSL
               ^
[66/521] Compiling Cryptor Status.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/BlueCryptor/Sources/Cryptor/Digest.swift:23:9: error: could not build C module 'OpenSSL'
        import OpenSSL
               ^
<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/BlueCryptor/Sources/Cryptor/Digest.swift:23:9: error: could not build C module 'OpenSSL'
        import OpenSSL
               ^
<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/BlueCryptor/Sources/Cryptor/Digest.swift:23:9: error: could not build C module 'OpenSSL'
        import OpenSSL
               ^
[69/521] Compiling Logging MetadataProvider.swift
[70/521] Compiling Socket SocketUtils.swift
[71/521] Compiling Cryptor Utilities.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/BlueCryptor/Sources/Cryptor/Digest.swift:23:9: error: could not build C module 'OpenSSL'
        import OpenSSL
               ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[72/521] Emitting module Cryptor
<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/BlueCryptor/Sources/Cryptor/Digest.swift:23:9: error: could not build C module 'OpenSSL'
        import OpenSSL
               ^
<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/BlueCryptor/Sources/Cryptor/Digest.swift:23:9: error: could not build C module 'OpenSSL'
        import OpenSSL
               ^
<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/BlueCryptor/Sources/Cryptor/Digest.swift:23:9: error: could not build C module 'OpenSSL'
        import OpenSSL
               ^
[75/521] Emitting module _NIODataStructures
[76/521] Compiling _NIODataStructures Heap.swift
error: fatalError
[77/523] Compiling tls13_server.cc
[77/523] Compiling tls_method.cc
[78/523] Compiling Logging Locks.swift
[79/523] Compiling Socket Socket+Equatable.swift
[80/523] Emitting module Socket
[81/523] Compiling Socket Socket+Hashable.swift
[82/523] Compiling TypeDecoder OrderedDictionary.swift
BUILD FAILURE 5.9 linux

Build Machine: Linux 2