The Swift Package Index logo.Swift Package Index

Build Information

Failed to build KituraWebSocket with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Kitura/Kitura-WebSocket-NIO.git
Reference: 2.1.200
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/Kitura/Kitura-WebSocket-NIO
 * tag               2.1.200    -> FETCH_HEAD
HEAD is now at 9864e3f Update package reference to community versions (#65)
Cloned https://github.com/Kitura/Kitura-WebSocket-NIO.git
Revision (git rev-parse @):
9864e3fb162c8b0f7e2a4fd5ce7389d82b9bd3c0
SUCCESS checkout https://github.com/Kitura/Kitura-WebSocket-NIO.git at 2.1.200
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/Kitura/Kitura-WebSocket-NIO.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/Kitura/Kitura-NIO.git
Fetching https://github.com/Kitura/Kitura-WebSocket-Compression.git
Fetching https://github.com/Kitura/BlueCryptor.git
[1/3471] Fetching kitura-nio
[71/5109] Fetching kitura-nio, bluecryptor
[123/5217] Fetching kitura-nio, bluecryptor, kitura-websocket-compression
[4867/5109] Fetching kitura-nio, bluecryptor
Fetched https://github.com/Kitura/Kitura-WebSocket-Compression.git from cache (0.26s)
Fetched https://github.com/Kitura/Kitura-NIO.git from cache (0.35s)
Fetched https://github.com/Kitura/BlueCryptor.git from cache (0.35s)
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.44s)
Fetching https://github.com/apple/swift-nio.git
[1/64498] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (4.77s)
Computing version for https://github.com/Kitura/BlueCryptor.git
Computed https://github.com/Kitura/BlueCryptor.git at 1.0.200 (0.46s)
Fetching https://github.com/Kitura/OpenSSL.git
[1/203] Fetching openssl
Fetched https://github.com/Kitura/OpenSSL.git from cache (0.23s)
Computing version for https://github.com/Kitura/Kitura-NIO.git
Computed https://github.com/Kitura/Kitura-NIO.git at 2.4.200 (0.44s)
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/Kitura/BlueSSLService.git
Fetching https://github.com/Kitura/LoggerAPI.git
Fetching https://github.com/apple/swift-nio-ssl.git
[1/771] Fetching loggerapi
[433/2859] Fetching loggerapi, bluesslservice
[2860/7651] Fetching loggerapi, bluesslservice, swift-nio-extras
[7652/19798] Fetching loggerapi, bluesslservice, swift-nio-extras, swift-nio-ssl
Fetched https://github.com/Kitura/BlueSSLService.git from cache (1.42s)
Fetched https://github.com/apple/swift-nio-extras.git from cache (1.43s)
Fetched https://github.com/Kitura/LoggerAPI.git from cache (1.43s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (1.44s)
Computing version for https://github.com/Kitura/LoggerAPI.git
Computed https://github.com/Kitura/LoggerAPI.git at 1.9.200 (0.46s)
Fetching https://github.com/apple/swift-log.git
[1/3170] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.41s)
Computing version for https://github.com/Kitura/BlueSSLService.git
Computed https://github.com/Kitura/BlueSSLService.git at 1.0.200 (0.47s)
Fetching https://github.com/Kitura/BlueSocket.git
[1/2942] Fetching bluesocket
Fetched https://github.com/Kitura/BlueSocket.git from cache (0.35s)
Computing version for https://github.com/Kitura/BlueSocket.git
Computed https://github.com/Kitura/BlueSocket.git at 1.0.200 (0.43s)
Computing version for https://github.com/Kitura/OpenSSL.git
Computed https://github.com/Kitura/OpenSSL.git at 2.3.1 (1.26s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.5.4 (0.44s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.21.0 (0.57s)
Fetching https://github.com/apple/swift-http-types
Fetching https://github.com/apple/swift-nio-http2.git
[1/354] Fetching swift-http-types
[355/10519] Fetching swift-http-types, swift-nio-http2
Fetched https://github.com/apple/swift-http-types from cache (0.97s)
Fetched https://github.com/apple/swift-nio-http2.git from cache (0.98s)
Computing version for https://github.com/apple/swift-http-types
Computed https://github.com/apple/swift-http-types at 1.0.3 (2.52s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.30.0 (0.60s)
Fetching https://github.com/apple/swift-atomics.git
[1/1563] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.67s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.47s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.63.0 (0.75s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
[1/2983] Fetching swift-system
[2984/16729] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (1.13s)
Fetched https://github.com/apple/swift-collections.git from cache (1.15s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.2.1 (0.44s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.0 (0.76s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.26.0 (0.56s)
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-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.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.4
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/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.30.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.26.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.63.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.21.0
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/apple/swift-http-types
Working copy of https://github.com/apple/swift-http-types resolved at 1.0.3
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.2.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/OpenSSL.git
Working copy of https://github.com/Kitura/OpenSSL.git resolved at 2.3.1
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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.0
warning: you may be able to install libz using your system-packager:
    apt-get install libz-dev
Building for debugging...
[0/507] Write sources
[4/507] Compiling base64.c
[5/507] Write sources
[8/507] Compiling spake25519.c
[8/507] Write sources
[25/507] Compiling tasn_typ.c
[26/507] Compiling _AtomicsShims.c
[27/507] Compiling tasn_fre.c
[28/507] Compiling CNIOWindows shim.c
[29/507] Compiling CNIOWindows WSAStartup.c
[30/507] Compiling tasn_new.c
[31/507] Compiling tasn_utl.c
[32/507] Write swift-version-24593BA9C3E375BF.txt
[33/507] Compiling dsa.c
[34/507] Compiling CNIOLinux liburing_shims.c
[35/507] Compiling CNIOSHA1 c_nio_sha1.c
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOLinux/shim.c:203:9: warning: 'RENAME_NOREPLACE' macro redefined [-Wmacro-redefined]
#define RENAME_NOREPLACE 1
        ^
/usr/include/stdio.h:164:10: note: previous definition is here
# define RENAME_NOREPLACE (1 << 0)
         ^
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOLinux/shim.c:204:9: warning: 'RENAME_EXCHANGE' macro redefined [-Wmacro-redefined]
#define RENAME_EXCHANGE  2
        ^
/usr/include/stdio.h:165:10: note: previous definition is here
# define RENAME_EXCHANGE (1 << 1)
         ^
2 warnings generated.
[36/507] Compiling CNIOLinux shim.c
[37/507] Compiling CNIODarwin shim.c
[38/507] Compiling CNIOLLHTTP c_nio_http.c
[39/507] Compiling CNIOLLHTTP c_nio_api.c
[40/539] Compiling fiat_p256_adx_sqr.S
[41/539] Compiling CNIOLLHTTP c_nio_llhttp.c
[42/539] Compiling fiat_p256_adx_mul.S
[43/539] Compiling fiat_curve25519_adx_square.S
[44/539] Compiling fiat_curve25519_adx_mul.S
[45/539] Compiling CNIOBoringSSLShims shims.c
[47/539] Emitting module _CollectionsUtilities
[47/541] Compiling tls_method.cc
[48/541] Compiling tls13_server.cc
[49/541] Compiling tls_record.cc
[50/541] Compiling tls13_client.cc
[51/541] Compiling tls13_both.cc
[52/541] Compiling tls13_enc.cc
[53/541] Compiling t1_enc.cc
[55/541] Compiling _CollectionsUtilities UnsafeBufferPointer+Extras.swift
[56/541] Compiling _CollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[57/541] Compiling _CollectionsUtilities RandomAccessCollection+Offsets.swift
[58/541] Compiling _CollectionsUtilities Specialize.swift
[59/541] Compiling _CollectionsUtilities Debugging.swift
[60/541] Compiling _CollectionsUtilities Descriptions.swift
[61/541] Compiling _CollectionsUtilities _UnsafeBitSet+_Word.swift
[62/541] Compiling _CollectionsUtilities _UnsafeBitSet.swift
[63/541] Compiling _CollectionsUtilities _SortedCollection.swift
[64/541] Compiling _CollectionsUtilities _UniqueCollection.swift
[65/541] Compiling _CollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[66/541] Compiling _CollectionsUtilities Integer rank.swift
[67/541] Compiling _CollectionsUtilities UInt+first and last set bit.swift
[68/541] Compiling _CollectionsUtilities UInt+reversed.swift
[69/541] Compiling _CollectionsUtilities _UnsafeBitSet+Index.swift
[70/541] Compiling _CollectionsUtilities UnsafeMutableBufferPointer+SE-0370.swift
[71/541] Compiling _CollectionsUtilities UnsafeMutablePointer+SE-0370.swift
[72/541] Compiling _CollectionsUtilities UnsafeRawPointer extensions.swift
[72/542] Compiling ssl_versions.cc
[75/542] Emitting module _NIOBase64
[76/542] Compiling _NIOBase64 Base64.swift
[77/543] Compiling _NIODataStructures PriorityQueue.swift
[78/543] Compiling _NIODataStructures _TinyArray.swift
[80/559] Compiling DequeModule Deque+Descriptions.swift
[81/559] Compiling DequeModule Deque+Equatable.swift
[82/559] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[83/559] Compiling DequeModule Deque+Extras.swift
[84/561] Compiling DequeModule _DequeBuffer.swift
[85/561] Compiling DequeModule _DequeBufferHeader.swift
[85/561] Compiling ssl_x509.cc
[86/561] Wrapping AST for _NIOBase64 for debugging
[88/561] Compiling DequeModule Deque+Hashable.swift
[89/561] Compiling DequeModule Deque+Sendable.swift
[89/561] Compiling ssl_stat.cc
[90/561] Compiling ssl_transcript.cc
[91/561] Wrapping AST for _CollectionsUtilities for debugging
[93/561] Compiling DequeModule _DequeSlot.swift
[94/561] Compiling DequeModule _UnsafeWrappedBuffer.swift
[95/561] Emitting module _NIODataStructures
[96/561] Compiling _NIODataStructures Heap.swift
[97/562] Compiling Logging MetadataProvider.swift
[98/562] Emitting module Logging
[99/562] Compiling DequeModule Deque+Testing.swift
[100/562] Compiling DequeModule Deque._Storage.swift
[101/562] Compiling DequeModule Deque._UnsafeHandle.swift
[102/562] Compiling DequeModule Deque.swift
[103/562] Compiling ssl_session.cc
[105/562] Compiling Socket SocketUtils.swift
[106/562] Compiling Socket SocketProtocols.swift
[106/562] Wrapping AST for _NIODataStructures for debugging
[108/562] Compiling DequeModule Deque+Codable.swift
[109/562] Compiling DequeModule Deque+Collection.swift
[110/562] Compiling DequeModule Deque+CustomReflectable.swift
[111/562] Emitting module DequeModule
[112/563] Compiling Logging LogHandler.swift
[113/563] Compiling Logging Locks.swift
[114/563] Compiling Logging Logging.swift
[116/564] Wrapping AST for DequeModule for debugging
[118/564] Emitting module Socket
[119/566] Compiling Socket Socket.swift
[120/567] Compiling ssl_key_share.cc
[121/567] Wrapping AST for Logging for debugging
[122/567] Compiling ssl_privkey.cc
[123/570] Wrapping AST for Socket for debugging
[124/570] Compiling ssl_file.cc
[125/570] Compiling ssl_lib.cc
[127/570] Emitting module LoggerAPI
[128/570] Compiling LoggerAPI Logger.swift
[128/570] Compiling ssl_cipher.cc
[130/571] Compiling ssl_cert.cc
[131/571] Wrapping AST for LoggerAPI for debugging
[132/571] Compiling ssl_buffer.cc
[134/571] Emitting module SSLService
[134/571] Compiling s3_pkt.cc
[135/571] Compiling ssl_aead_ctx.cc
[136/571] Compiling ssl_asn1.cc
[137/571] Compiling s3_lib.cc
[138/571] Compiling s3_both.cc
[140/571] Compiling SSLService SSLPointerTricks.swift
[141/571] Compiling SSLService SSLService.swift
/host/spi-builder-workspace/.build/checkouts/BlueSSLService/Sources/SSLService/SSLService.swift:1322:8: error: cannot find 'SSL_get_peer_certificate' in scope
                                if SSL_get_peer_certificate(.make(optional: sslConnect)) != nil {
                                   ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/BlueSSLService/Sources/SSLService/SSLService.swift:1322:34: error: cannot infer contextual base in reference to member 'make'
                                if SSL_get_peer_certificate(.make(optional: sslConnect)) != nil {
                                                            ~^~~~
error: fatalError
[141/571] Compiling encrypted_client_hello.cc
[141/571] Compiling extensions.cc
[141/571] Compiling handshake.cc
[141/571] Compiling dtls_record.cc
[141/571] Compiling handoff.cc
[141/571] Compiling handshake_server.cc
[141/571] Compiling handshake_client.cc
warning: you may be able to install libz using your system-packager:
    apt-get install libz-dev
[0/1] Planning build
Building for debugging...
[0/438] Compiling dtls_method.cc
[1/438] Compiling dtls_record.cc
[2/438] Compiling handshake.cc
[3/438] Compiling handshake_client.cc
[4/438] Write swift-version-24593BA9C3E375BF.txt
[5/431] Compiling extensions.cc
[6/431] Compiling handshake_server.cc
[7/431] Compiling handoff.cc
[8/431] Compiling encrypted_client_hello.cc
[9/433] Compiling v3_utl.c
[10/433] Compiling v3_skey.c
[11/433] Compiling bio_ssl.cc
[12/433] Compiling d1_both.cc
[13/433] Compiling v3_prn.c
[14/433] Compiling v3_pmaps.c
[15/433] Compiling v3_purp.c
[17/433] Emitting module SSLService
[17/433] Compiling d1_srtp.cc
[19/433] Compiling SSLService SSLService.swift
/host/spi-builder-workspace/.build/checkouts/BlueSSLService/Sources/SSLService/SSLService.swift:1322:8: error: cannot find 'SSL_get_peer_certificate' in scope
                                if SSL_get_peer_certificate(.make(optional: sslConnect)) != nil {
                                   ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/BlueSSLService/Sources/SSLService/SSLService.swift:1322:34: error: cannot infer contextual base in reference to member 'make'
                                if SSL_get_peer_certificate(.make(optional: sslConnect)) != nil {
                                                            ~^~~~
[19/433] Compiling v3_ocsp.c
error: fatalError
[20/433] Compiling v3_int.c
[20/433] Compiling d1_pkt.cc
[20/433] Compiling v3_lib.c
[20/433] Compiling v3_ncons.c
[20/433] Compiling v3_info.c
[20/433] Compiling d1_lib.cc
[20/433] Compiling v3_pcons.c
BUILD FAILURE 5.10 linux

Build Machine: Linux 2