The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Kitura-Session 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-Session.git
Reference: 4.0.0
Cloned https://github.com/Kitura/Kitura-Session.git into spi-builder-workspace
SUCCESS checkout https://github.com/Kitura/Kitura-Session.git at 4.0.0
========================================
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/Kitura.git
Fetching https://github.com/Kitura/BlueCryptor.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.29s)
Fetching https://github.com/Kitura/OpenSSL.git
[1/203] Fetching openssl
Fetched https://github.com/Kitura/OpenSSL.git (0.21s)
Computing version for https://github.com/Kitura/Kitura.git
Computed https://github.com/Kitura/Kitura.git at 3.0.1 (0.34s)
Fetching https://github.com/Kitura/KituraContracts.git
Fetching https://github.com/Kitura/TypeDecoder.git
Fetching https://github.com/Kitura/Kitura-TemplateEngine.git
[1/438] Fetching kitura-templateengine
[10/2981] Fetching kitura-templateengine, kituracontracts
[715/3440] Fetching kitura-templateengine, kituracontracts, typedecoder
Fetched https://github.com/Kitura/TypeDecoder.git (0.26s)
[2524/2981] Fetching kitura-templateengine, kituracontracts
Fetched https://github.com/Kitura/Kitura-TemplateEngine.git (0.26s)
Fetching https://github.com/Kitura/Kitura-NIO.git
Fetching https://github.com/apple/swift-log.git
[2137/2543] Fetching kituracontracts
Fetched https://github.com/Kitura/KituraContracts.git (0.43s)
Fetching https://github.com/Kitura/LoggerAPI.git
[1/3471] Fetching kitura-nio
[800/6585] Fetching kitura-nio, swift-log
[6586/7356] Fetching kitura-nio, swift-log, loggerapi
Fetched https://github.com/apple/swift-log.git (0.43s)
Fetched https://github.com/Kitura/Kitura-NIO.git (0.43s)
Fetched https://github.com/Kitura/LoggerAPI.git (0.27s)
Computing version for https://github.com/Kitura/KituraContracts.git
Computed https://github.com/Kitura/KituraContracts.git at 2.0.1 (0.33s)
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.29s)
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
[1567/6732] Fetching bluesslservice, swift-nio-extras
[6733/18101] Fetching bluesslservice, swift-nio-extras, swift-nio-ssl
Fetched https://github.com/Kitura/BlueSSLService.git (1.72s)
Fetching https://github.com/apple/swift-nio.git
Fetched https://github.com/apple/swift-nio-extras.git (1.72s)
Fetched https://github.com/apple/swift-nio-ssl.git (1.73s)
[1/61612] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git (5.62s)
Computing version for https://github.com/Kitura/LoggerAPI.git
Computed https://github.com/Kitura/LoggerAPI.git at 2.0.0 (0.53s)
Computing version for https://github.com/Kitura/BlueSSLService.git
Computed https://github.com/Kitura/BlueSSLService.git at 2.0.2 (0.29s)
Fetching https://github.com/Kitura/BlueSocket.git
[1/2942] Fetching bluesocket
Fetched https://github.com/Kitura/BlueSocket.git (0.36s)
Computing version for https://github.com/Kitura/OpenSSL.git
Computed https://github.com/Kitura/OpenSSL.git at 2.3.1 (1.03s)
Computing version for https://github.com/Kitura/TypeDecoder.git
Computed https://github.com/Kitura/TypeDecoder.git at 1.3.201 (0.27s)
Computing version for https://github.com/Kitura/BlueSocket.git
Computed https://github.com/Kitura/BlueSocket.git at 2.0.4 (0.28s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.5.3 (0.27s)
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.40s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-atomics.git
[1/12080] Fetching swift-collections
[968/13385] Fetching swift-collections, swift-atomics
Fetched https://github.com/apple/swift-atomics.git (1.05s)
Fetched https://github.com/apple/swift-collections.git (1.07s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.1.0 (0.36s)
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.31s)
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/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/BlueSSLService.git
Working copy of https://github.com/Kitura/BlueSSLService.git resolved at 2.0.2
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/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-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/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-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.58.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-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-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/OpenSSL.git
Working copy of https://github.com/Kitura/OpenSSL.git resolved at 2.3.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/BlueCryptor.git
Working copy of https://github.com/Kitura/BlueCryptor.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
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 CNIOLLHTTP c_nio_http.c
[1/449] Compiling CNIOLLHTTP c_nio_api.c
[3/449] Compiling _AtomicsShims.c
[4/449] Compiling CNIOWindows WSAStartup.c
[4/449] Compiling CNIOLinux liburing_shims.c
[7/468] Emitting module KituraTemplateEngine
[8/468] Compiling KituraTemplateEngine TemplateEngine.swift
[11/488] Compiling _NIODataStructures PriorityQueue.swift
[11/496] Compiling CNIOSHA1 c_nio_sha1.c
[11/496] Compiling CNIOLinux shim.c
[11/496] Compiling CNIOLLHTTP c_nio_llhttp.c
[11/496] Compiling CNIODarwin shim.c
[11/496] Compiling CNIOBoringSSLShims shims.c
[11/497] Compiling tls_record.cc
[11/497] Compiling tls_method.cc
[11/497] Compiling tls13_server.cc
[20/499] Compiling Cryptor HMAC.swift
[21/499] Compiling Cryptor KeyDerivation.swift
[22/499] Compiling Cryptor Random.swift
[23/516] Compiling DequeModule Deque.swift
[24/516] Compiling DequeModule UnsafeMutableBufferPointer+Utilities.swift
[25/516] Compiling Atomics PointerConformances.swift
[26/516] Compiling DequeModule _DequeBufferHeader.swift
[27/516] Compiling Logging MetadataProvider.swift
[28/516] Compiling Atomics AtomicValue.swift
[29/516] Compiling Atomics DoubleWord.swift
[30/516] Compiling Atomics Unmanaged extensions.swift
[31/516] Emitting module _NIODataStructures
[32/516] Compiling _NIODataStructures Heap.swift
[35/518] Emitting module TypeDecoder
[36/518] Compiling TypeDecoder OrderedDictionary.swift
[37/518] Compiling Atomics AtomicInteger.swift
[38/518] Compiling Atomics AtomicMemoryOrderings.swift
[39/520] Compiling DequeModule _DequeSlot.swift
[40/520] Compiling DequeModule _UnsafeWrappedBuffer.swift
[44/520] Compiling Atomics AtomicBool.swift
[46/520] Compiling Atomics AtomicLazyReference.swift
[47/520] Compiling Atomics HighLevelTypes.swift
[48/520] Compiling Atomics IntegerConformances.swift
[49/520] Emitting module Socket
[50/520] Compiling Socket Socket+Equatable.swift
[51/520] Compiling Atomics AtomicOptional.swift
[52/520] Compiling Atomics AtomicOptionalRawRepresentable.swift
[53/520] Compiling Atomics AtomicRawRepresentable.swift
[54/520] Compiling Atomics AtomicStrongReference.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
               ^
error: emit-module command failed with exit code 1 (use -v to see invocation)[60/520] 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
               ^
<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 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
               ^
[66/521] 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
               ^
[67/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
               ^
[68/521] Compiling Logging LogHandler.swift
[69/521] Compiling Logging Locks.swift
[70/521] Compiling Logging Logging.swift
[71/521] Emitting module Logging
[72/521] Emitting module DequeModule
[73/522] Compiling Socket SocketProtocols.swift
[74/522] Compiling Socket SocketUtils.swift
[75/523] 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
               ^
[80/525] 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
               ^
[80/525] Compiling tasn_utl.c
[80/525] Compiling a_i2d_fp.c
[80/525] Compiling a_bool.c
[80/525] Compiling CLinuxHelpers ProcessorAffinity.c
[81/525] Compiling Socket Socket+Hashable.swift
[81/525] Compiling tls13_both.cc
[81/525] Compiling tls13_client.cc
[81/525] Compiling tls13_enc.cc
BUILD FAILURE 5.7 linux

Build Machine: Linux 2