The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Kitura-WebSocket with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-1":/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.git
Reference: master
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
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at e79d57c Misc org update (#106)
Cloned https://github.com/Kitura/Kitura-WebSocket.git
Revision (git rev-parse @):
e79d57cc575e9df309e3c207ec1aa93d7aa61520
SUCCESS checkout https://github.com/Kitura/Kitura-WebSocket.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/Kitura/Kitura-WebSocket.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/Kitura/BlueCryptor.git
Fetching https://github.com/Kitura/Kitura-net.git
[1/1638] Fetching bluecryptor
[1639/11182] Fetching bluecryptor, kitura-net
Fetched https://github.com/Kitura/BlueCryptor.git from cache (0.61s)
Fetched https://github.com/Kitura/Kitura-net.git from cache (0.62s)
Computing version for https://github.com/Kitura/BlueCryptor.git
Computed https://github.com/Kitura/BlueCryptor.git at 1.0.200 (0.42s)
Fetching https://github.com/Kitura/OpenSSL.git
[1/203] Fetching openssl
Fetched https://github.com/Kitura/OpenSSL.git from cache (0.29s)
Computing version for https://github.com/Kitura/Kitura-net.git
Computed https://github.com/Kitura/Kitura-net.git at 2.4.200 (0.74s)
Fetching https://github.com/Kitura/BlueSignals.git
Fetching https://github.com/Kitura/BlueSSLService.git
Fetching https://github.com/Kitura/BlueSocket.git
Fetching https://github.com/Kitura/LoggerAPI.git
[1/771] Fetching loggerapi
[233/1425] Fetching loggerapi, bluesignals
[1033/4367] Fetching loggerapi, bluesignals, bluesocket
[1805/6455] Fetching loggerapi, bluesignals, bluesocket, bluesslservice
Fetched https://github.com/Kitura/LoggerAPI.git from cache (0.49s)
[5655/5684] Fetching bluesignals, bluesocket, bluesslservice
Fetched https://github.com/Kitura/BlueSignals.git from cache (0.56s)
Fetched https://github.com/Kitura/BlueSSLService.git from cache (0.64s)
Fetched https://github.com/Kitura/BlueSocket.git from cache (0.65s)
Computing version for https://github.com/Kitura/BlueSignals.git
Computed https://github.com/Kitura/BlueSignals.git at 1.0.200 (0.67s)
Computing version for https://github.com/Kitura/BlueSSLService.git
Computed https://github.com/Kitura/BlueSSLService.git at 1.0.200 (0.66s)
Computing version for https://github.com/Kitura/BlueSocket.git
Computed https://github.com/Kitura/BlueSocket.git at 1.0.200 (0.57s)
Computing version for https://github.com/Kitura/LoggerAPI.git
Computed https://github.com/Kitura/LoggerAPI.git at 1.9.200 (0.53s)
Fetching https://github.com/apple/swift-log.git
[1/3170] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.36s)
Computing version for https://github.com/Kitura/OpenSSL.git
Computed https://github.com/Kitura/OpenSSL.git at 2.3.1 (1.37s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.5.4 (0.68s)
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-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/BlueSignals.git
Working copy of https://github.com/Kitura/BlueSignals.git resolved at 1.0.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/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/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/OpenSSL.git
Working copy of https://github.com/Kitura/OpenSSL.git resolved at 2.3.1
Building for debugging...
[0/11] Write sources
[8/11] Compiling CHTTPParser utils.c
[9/11] Compiling CHTTPParser http_parser.c
[10/11] Write swift-version-24593BA9C3E375BF.txt
[12/33] Compiling Cryptor Updatable.swift
[13/34] Emitting module Logging
[14/34] Compiling Logging MetadataProvider.swift
[15/34] Emitting module Cryptor
[16/34] Emitting module Signals
[17/34] Compiling Signals Signals.swift
[18/34] Compiling Socket SocketProtocols.swift
[19/34] Compiling Socket SocketUtils.swift
[20/35] Compiling Cryptor Crypto.swift
[21/35] Compiling Cryptor Cryptor.swift
[22/35] Compiling Cryptor Digest.swift
[23/35] Compiling Cryptor HMAC.swift
[25/35] Compiling Cryptor SSLPointerTricks.swift
[26/35] Compiling Cryptor Status.swift
[27/35] Compiling Cryptor KeyDerivation.swift
[28/35] Compiling Cryptor Random.swift
[29/35] Compiling Cryptor StreamCryptor.swift
[30/35] Compiling Cryptor Utilities.swift
[31/36] Compiling Logging Locks.swift
[32/36] Compiling Logging Logging.swift
[33/36] Compiling Logging LogHandler.swift
[36/39] Emitting module Socket
[37/39] Compiling Socket Socket.swift
[39/43] Emitting module LoggerAPI
[40/43] Compiling LoggerAPI Logger.swift
[42/44] Emitting module SSLService
[43/44] Compiling SSLService SSLPointerTricks.swift
[44/44] 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
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/3] Emitting module SSLService
[3/3] 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
BUILD FAILURE 5.10 linux

Build Machine: Linux 1