The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SimpleHttpClient 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/ibm-bluemix-mobile-services/bluemix-simple-http-client-swift.git
Reference: 1.0.0
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/ibm-bluemix-mobile-services/bluemix-simple-http-client-swift
 * tag               1.0.0      -> FETCH_HEAD
HEAD is now at e5b6ce4 added swift 4 and swift 5 support
Cloned https://github.com/ibm-bluemix-mobile-services/bluemix-simple-http-client-swift.git
Revision (git rev-parse @):
e5b6ce424f1ff8bc78eee0fae382ac7f1f8ca843
SUCCESS checkout https://github.com/ibm-bluemix-mobile-services/bluemix-simple-http-client-swift.git at 1.0.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/ibm-bluemix-mobile-services/bluemix-simple-http-client-swift.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/IBM-Swift/Kitura-net.git
Fetching https://github.com/ibm-bluemix-mobile-services/bluemix-simple-logger-swift.git
[1/245] Fetching bluemix-simple-logger-swift
[246/9789] Fetching bluemix-simple-logger-swift, kitura-net
Fetched https://github.com/ibm-bluemix-mobile-services/bluemix-simple-logger-swift.git from cache (0.23s)
[573/9544] Fetching kitura-net
Fetched https://github.com/IBM-Swift/Kitura-net.git from cache (0.66s)
Computing version for https://github.com/ibm-bluemix-mobile-services/bluemix-simple-logger-swift.git
Computed https://github.com/ibm-bluemix-mobile-services/bluemix-simple-logger-swift.git at 0.6.0 (0.44s)
Computing version for https://github.com/IBM-Swift/Kitura-net.git
Computed https://github.com/IBM-Swift/Kitura-net.git at 2.4.200 (0.49s)
Fetching https://github.com/Kitura/BlueSignals.git
Fetching https://github.com/Kitura/BlueSocket.git
Fetching https://github.com/Kitura/BlueSSLService.git
Fetching https://github.com/Kitura/LoggerAPI.git
[1/771] Fetching loggerapi
[55/2859] Fetching loggerapi, bluesslservice
[464/5801] Fetching loggerapi, bluesslservice, bluesocket
[4411/6455] Fetching loggerapi, bluesslservice, bluesocket, bluesignals
Fetched https://github.com/Kitura/BlueSignals.git from cache (0.30s)
Fetched https://github.com/Kitura/LoggerAPI.git from cache (0.30s)
Fetched https://github.com/Kitura/BlueSSLService.git from cache (0.34s)
Fetched https://github.com/Kitura/BlueSocket.git from cache (0.34s)
Computing version for https://github.com/Kitura/BlueSignals.git
Computed https://github.com/Kitura/BlueSignals.git at 1.0.200 (0.44s)
Computing version for https://github.com/Kitura/BlueSSLService.git
Computed https://github.com/Kitura/BlueSSLService.git at 1.0.200 (0.48s)
Fetching https://github.com/Kitura/OpenSSL.git
[1/203] Fetching openssl
Fetched https://github.com/Kitura/OpenSSL.git from cache (0.21s)
Computing version for https://github.com/Kitura/BlueSocket.git
Computed https://github.com/Kitura/BlueSocket.git at 1.0.200 (0.44s)
Computing version for https://github.com/Kitura/LoggerAPI.git
Computed https://github.com/Kitura/LoggerAPI.git at 1.9.200 (0.45s)
Fetching https://github.com/apple/swift-log.git
[1/3159] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.35s)
Computing version for https://github.com/Kitura/OpenSSL.git
Computed https://github.com/Kitura/OpenSSL.git at 2.3.1 (1.28s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.5.4 (0.45s)
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/ibm-bluemix-mobile-services/bluemix-simple-logger-swift.git
Working copy of https://github.com/ibm-bluemix-mobile-services/bluemix-simple-logger-swift.git resolved at 0.6.0
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/BlueSocket.git
Working copy of https://github.com/Kitura/BlueSocket.git resolved at 1.0.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/IBM-Swift/Kitura-net.git
Working copy of https://github.com/IBM-Swift/Kitura-net.git resolved at 2.4.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/LoggerAPI.git
Working copy of https://github.com/Kitura/LoggerAPI.git resolved at 1.9.200
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/24] Emitting module Socket
[13/24] Compiling Logging MetadataProvider.swift
[14/24] Compiling Socket SocketProtocols.swift
[15/24] Compiling Socket SocketUtils.swift
[16/24] Emitting module SimpleLogger
[17/24] Compiling SimpleLogger SimpleLogger.swift
[18/25] Emitting module Signals
[19/25] Compiling Signals Signals.swift
[22/26] Compiling Logging LogHandler.swift
[23/26] Compiling Logging Locks.swift
[24/26] Emitting module Logging
[25/26] Compiling Logging Logging.swift
[27/29] Compiling Socket Socket.swift
[29/30] Emitting module LoggerAPI
[30/30] Compiling LoggerAPI Logger.swift
[32/34] Compiling SSLService SSLPointerTricks.swift
[33/34] Emitting module SSLService
[34/34] 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 2