Build Information
Failed to build PostgresClientKit with Swift 5.10 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-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/codewinsdotcom/PostgresClientKit.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/codewinsdotcom/PostgresClientKit
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at c2768c8 README: using from an Xcode project
Cloned https://github.com/codewinsdotcom/PostgresClientKit.git
Revision (git rev-parse @):
c2768c8ebe708b1c5937431972c7882b33f4ea49
SUCCESS checkout https://github.com/codewinsdotcom/PostgresClientKit.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 5.10
Building package at path: $workDir
https://github.com/codewinsdotcom/PostgresClientKit.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/Kitura/BlueSocket.git
Fetching https://github.com/Kitura/BlueSSLService
[1/2088] Fetching bluesslservice
[2089/5030] Fetching bluesslservice, bluesocket
Fetched https://github.com/Kitura/BlueSSLService from cache (0.30s)
Fetched https://github.com/Kitura/BlueSocket.git from cache (0.31s)
Computing version for https://github.com/Kitura/BlueSSLService
Computed https://github.com/Kitura/BlueSSLService at 2.0.1 (0.89s)
Fetching https://github.com/Kitura/OpenSSL.git
[1/203] Fetching openssl
Fetched https://github.com/Kitura/OpenSSL.git from cache (0.32s)
Computing version for https://github.com/Kitura/BlueSocket.git
Computed https://github.com/Kitura/BlueSocket.git at 2.0.3 (0.67s)
Computing version for https://github.com/Kitura/OpenSSL.git
Computed https://github.com/Kitura/OpenSSL.git at 2.3.1 (1.13s)
Creating working copy for https://github.com/Kitura/BlueSocket.git
Working copy of https://github.com/Kitura/BlueSocket.git resolved at 2.0.3
Creating working copy for https://github.com/Kitura/BlueSSLService
Working copy of https://github.com/Kitura/BlueSSLService 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
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/10] Compiling Socket SocketUtils.swift
[6/10] Compiling Socket SocketProtocols.swift
[7/10] Compiling Socket Socket+Equatable.swift
[8/10] Compiling Socket Socket+Hashable.swift
[9/10] Emitting module Socket
[10/10] Compiling Socket Socket.swift
[12/14] Compiling SSLService SSLPointerTricks.swift
[13/14] Emitting module SSLService
[14/14] 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