The Swift Package Index logo.Swift Package Index

Build Information

Failed to build KituraWebSocket 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.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Kitura/Kitura-WebSocket-NIO.git
Reference: master
Cloned https://github.com/Kitura/Kitura-WebSocket-NIO.git into spi-builder-workspace
SUCCESS checkout https://github.com/Kitura/Kitura-WebSocket-NIO.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-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/Kitura-WebSocket-Compression.git
Fetching https://github.com/Kitura/Kitura-NIO.git
Fetching https://github.com/Kitura/BlueCryptor.git
[1/108] Fetching kitura-websocket-compression
[109/3579] Fetching kitura-websocket-compression, kitura-nio
[521/3471] Fetching kitura-nio
Fetched https://github.com/Kitura/Kitura-WebSocket-Compression.git (0.27s)
[592/5079] Fetching kitura-nio, bluecryptor
Fetched https://github.com/Kitura/BlueCryptor.git (0.39s)
Fetched https://github.com/Kitura/Kitura-NIO.git (0.39s)
Computing version for https://github.com/Kitura/Kitura-WebSocket-Compression.git
Computed https://github.com/Kitura/Kitura-WebSocket-Compression.git at 0.1.200 (0.28s)
Fetching https://github.com/apple/swift-nio.git
[1/60073] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git (4.80s)
Computing version for https://github.com/Kitura/BlueCryptor.git
Computed https://github.com/Kitura/BlueCryptor.git at 1.0.200 (0.32s)
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-NIO.git
Computed https://github.com/Kitura/Kitura-NIO.git at 2.4.200 (0.36s)
Fetching https://github.com/Kitura/LoggerAPI.git
Fetching https://github.com/Kitura/BlueSSLService.git
Fetching https://github.com/apple/swift-nio-extras.git
[1/2088] Fetching bluesslservice
[210/2859] Fetching bluesslservice, loggerapi
[2860/7362] Fetching bluesslservice, loggerapi, swift-nio-extras
Fetched https://github.com/Kitura/BlueSSLService.git (0.33s)
Fetching https://github.com/apple/swift-nio-ssl.git
Fetched https://github.com/Kitura/LoggerAPI.git (0.34s)
Fetched https://github.com/apple/swift-nio-extras.git (0.34s)
[1/11302] Fetching swift-nio-ssl
Fetched https://github.com/apple/swift-nio-ssl.git (2.23s)
Computing version for https://github.com/Kitura/LoggerAPI.git
Computed https://github.com/Kitura/LoggerAPI.git at 1.9.200 (0.36s)
Fetching https://github.com/apple/swift-log.git
[1/3079] Fetching swift-log
Fetched https://github.com/apple/swift-log.git (0.35s)
Computing version for https://github.com/Kitura/BlueSSLService.git
Computed https://github.com/Kitura/BlueSSLService.git at 1.0.200 (0.61s)
Fetching https://github.com/Kitura/BlueSocket.git
[1/2942] Fetching bluesocket
Fetched https://github.com/Kitura/BlueSocket.git (0.51s)
Computing version for https://github.com/Kitura/BlueSocket.git
Computed https://github.com/Kitura/BlueSocket.git at 1.0.200 (0.25s)
Computing version for https://github.com/Kitura/OpenSSL.git
Computed https://github.com/Kitura/OpenSSL.git at 2.3.1 (0.89s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.5.2 (0.26s)
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.34s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.54.0 (0.42s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-atomics.git
[1/11270] Fetching swift-collections
[2/12315] Fetching swift-collections, swift-atomics
Fetched https://github.com/apple/swift-atomics.git (0.77s)
Fetched https://github.com/apple/swift-collections.git (0.79s)
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.29s)
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.31s)
Creating working copy for https://github.com/Kitura/Kitura-WebSocket-Compression.git
Working copy of https://github.com/Kitura/Kitura-WebSocket-Compression.git resolved at 0.1.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/BlueCryptor.git
Working copy of https://github.com/Kitura/BlueCryptor.git resolved at 1.0.200
Creating working copy for https://github.com/Kitura/Kitura-NIO.git
Working copy of https://github.com/Kitura/Kitura-NIO.git resolved at 2.4.200
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/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/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/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/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/LoggerAPI.git
Working copy of https://github.com/Kitura/LoggerAPI.git resolved at 1.9.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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.0.4
warning: you may be able to install openssl using your system-packager:
    apt-get install openssl libssl-dev
warning: you may be able to install libz using your system-packager:
    apt-get install libz-dev
Building for debugging...
[0/472] Compiling a_dup.c
[0/472] Compiling a_octet.c
[2/472] Compiling a_i2d_fp.c
[3/472] Compiling a_gentm.c
[4/472] Compiling _AtomicsShims.c
[5/472] Compiling a_mbstr.c
[6/472] Compiling a_object.c
[7/472] Compiling a_int.c
[8/472] Compiling CNIOWindows shim.c
[9/486] Compiling CNIOWindows WSAStartup.c
[10/499] Compiling CNIOSHA1 c_nio_sha1.c
[11/511] Compiling CNIOLinux liburing_shims.c
[12/517] Compiling CNIOLinux shim.c
[13/517] Compiling CNIOLLHTTP c_nio_http.c
[14/517] Compiling CNIOLLHTTP c_nio_api.c
[15/517] Compiling CNIODarwin shim.c
[16/517] Compiling CNIOLLHTTP c_nio_llhttp.c
[17/517] Compiling CNIOBoringSSLShims shims.c
[18/517] Compiling tls_record.cc
[19/517] Compiling tls_method.cc
[20/517] Compiling tls13_server.cc
[21/517] Compiling tls13_enc.cc
[22/517] Compiling tls13_both.cc
[23/517] Compiling tls13_client.cc
[24/517] Compiling t1_enc.cc
[26/517] Compiling Atomics AtomicInteger.swift
[27/517] Compiling Atomics AtomicMemoryOrderings.swift
[28/517] Compiling Atomics AtomicRawRepresentable.swift
[29/517] Compiling Atomics AtomicValue.swift
[30/517] Compiling Atomics DoubleWord.swift
[31/519] Compiling Atomics HighLevelTypes.swift
[32/519] Compiling Atomics IntegerConformances.swift
[35/519] Compiling Atomics Unmanaged extensions.swift
[36/519] Compiling Atomics AtomicBool.swift
[37/519] Compiling Atomics PointerConformances.swift
[38/519] Compiling DequeModule Deque._UnsafeHandle.swift
[39/521] Compiling _NIODataStructures PriorityQueue.swift
[41/521] Compiling Atomics AtomicStrongReference.swift
[42/521] Compiling Atomics Primitives.shims.swift
[43/521] Compiling DequeModule _DequeBufferHeader.swift
[46/521] Compiling Atomics AtomicLazyReference.swift
[52/521] Compiling Atomics AtomicOptional.swift
[53/521] Compiling Atomics AtomicOptionalRawRepresentable.swift
[54/521] Emitting module DequeModule
[59/521] Compiling DequeModule _DequeSlot.swift
[60/521] Compiling DequeModule _UnsafeWrappedBuffer.swift
[62/522] Emitting module Atomics
[63/523] Compiling ssl_transcript.cc
[64/523] Compiling ssl_x509.cc
[65/523] Compiling ssl_versions.cc
[67/523] Emitting module Logging
[68/523] Compiling Logging Locks.swift
[68/523] Compiling ssl_stat.cc
[69/523] Wrapping AST for DequeModule for debugging
[71/523] Compiling Logging MetadataProvider.swift
[72/523] Compiling _NIODataStructures Heap.swift
[73/523] Emitting module _NIODataStructures
[76/525] Compiling Socket SocketProtocols.swift
[77/525] Compiling Socket SocketUtils.swift
[78/525] Compiling Atomics Primitives.native.swift
[79/525] Compiling ssl_privkey.cc
[82/527] Wrapping AST for _NIODataStructures for debugging
[83/527] Compiling ssl_session.cc
[85/527] Compiling Logging LogHandler.swift
[86/527] Compiling Logging Logging.swift
[88/531] Compiling ssl_lib.cc
[89/531] Wrapping AST for Logging for debugging
[91/531] Emitting module LoggerAPI
[92/531] Compiling LoggerAPI Logger.swift
[93/531] Compiling Socket Socket.swift
[94/531] Emitting module Socket
[98/535] Compiling ssl_key_share.cc
[99/535] Wrapping AST for Socket for debugging
[100/538] Wrapping AST for LoggerAPI for debugging
[101/538] Compiling ssl_file.cc
[102/538] Compiling ssl_buffer.cc
[103/538] Compiling ssl_cipher.cc
[104/538] Compiling ssl_cert.cc
error: emit-module command failed with exit code 1 (use -v to see invocation)
[106/538] 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
               ^
[107/538] 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
               ^
[108/538] 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
               ^
error: fatalError
[108/538] Compiling handshake_client.cc
[108/538] Compiling handshake_server.cc
[108/538] Compiling s3_both.cc
[108/538] Compiling s3_lib.cc
[108/538] Compiling s3_pkt.cc
[108/538] Compiling ssl_aead_ctx.cc
[108/538] Compiling ssl_asn1.cc
BUILD FAILURE 5.9 linux

Build Machine: Linux 1