Build Information
Failed to build Koba 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/cak/koba.git
Reference: 0.2.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/cak/koba
* tag 0.2.0 -> FETCH_HEAD
HEAD is now at 813180e Update for v0.2.0
Cloned https://github.com/cak/koba.git
Revision (git rev-parse @):
813180e054af23a0564460d15b83393821795a4f
SUCCESS checkout https://github.com/cak/koba.git at 0.2.0
========================================
Build
========================================
Selected platform: linux
Swift version: 5.10
Building package at path: $workDir
https://github.com/cak/koba.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/IBM-Swift/Kitura.git
[1/16909] Fetching kitura
Fetched https://github.com/IBM-Swift/Kitura.git from cache (0.98s)
Computing version for https://github.com/IBM-Swift/Kitura.git
Computed https://github.com/IBM-Swift/Kitura.git at 2.9.200 (0.43s)
Fetching https://github.com/Kitura/KituraContracts.git
Fetching https://github.com/Kitura/TypeDecoder.git
Fetching https://github.com/Kitura/Kitura-TemplateEngine.git
Fetching https://github.com/Kitura/Kitura-net.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/Kitura/LoggerAPI.git
[1/2543] Fetching kituracontracts
[561/3314] Fetching kituracontracts, loggerapi
[592/3752] Fetching kituracontracts, loggerapi, kitura-templateengine
[2652/4211] Fetching kituracontracts, loggerapi, kitura-templateengine, typedecoder
[3151/7381] Fetching kituracontracts, loggerapi, kitura-templateengine, typedecoder, swift-log
[4097/16925] Fetching kituracontracts, loggerapi, kitura-templateengine, typedecoder, swift-log, kitura-net
Fetched https://github.com/Kitura/LoggerAPI.git from cache (0.35s)
[8710/16154] Fetching kituracontracts, kitura-templateengine, typedecoder, swift-log, kitura-net
Fetched https://github.com/Kitura/Kitura-TemplateEngine.git from cache (0.66s)
Fetched https://github.com/Kitura/TypeDecoder.git from cache (0.66s)
Fetched https://github.com/apple/swift-log.git from cache (0.66s)
Fetched https://github.com/Kitura/KituraContracts.git from cache (0.67s)
Fetched https://github.com/Kitura/Kitura-net.git from cache (0.67s)
Computing version for https://github.com/Kitura/Kitura-TemplateEngine.git
Computed https://github.com/Kitura/Kitura-TemplateEngine.git at 2.0.200 (0.40s)
Computing version for https://github.com/Kitura/Kitura-net.git
Computed https://github.com/Kitura/Kitura-net.git at 2.4.200 (0.44s)
Fetching https://github.com/Kitura/BlueSSLService.git
Fetching https://github.com/Kitura/BlueSignals.git
Fetching https://github.com/Kitura/BlueSocket.git
[1/2942] Fetching bluesocket
[207/5030] Fetching bluesocket, bluesslservice
[1661/5684] Fetching bluesocket, bluesslservice, bluesignals
Fetched https://github.com/Kitura/BlueSignals.git from cache (0.28s)
Fetched https://github.com/Kitura/BlueSSLService.git from cache (0.28s)
Fetched https://github.com/Kitura/BlueSocket.git from cache (0.28s)
Computing version for https://github.com/Kitura/LoggerAPI.git
Computed https://github.com/Kitura/LoggerAPI.git at 1.9.200 (0.39s)
Computing version for https://github.com/Kitura/BlueSignals.git
Computed https://github.com/Kitura/BlueSignals.git at 1.0.200 (0.39s)
Computing version for https://github.com/Kitura/BlueSSLService.git
Computed https://github.com/Kitura/BlueSSLService.git at 1.0.200 (0.41s)
Fetching https://github.com/Kitura/OpenSSL.git
[1/203] Fetching openssl
Fetched https://github.com/Kitura/OpenSSL.git from cache (0.45s)
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/TypeDecoder.git
Computed https://github.com/Kitura/TypeDecoder.git at 1.3.201 (0.48s)
Computing version for https://github.com/Kitura/KituraContracts.git
Computed https://github.com/Kitura/KituraContracts.git at 1.2.201 (0.41s)
Computing version for https://github.com/Kitura/OpenSSL.git
Computed https://github.com/Kitura/OpenSSL.git at 2.3.1 (1.25s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.5.4 (0.39s)
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/TypeDecoder.git
Working copy of https://github.com/Kitura/TypeDecoder.git resolved at 1.3.201
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/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/BlueSocket.git
Working copy of https://github.com/Kitura/BlueSocket.git resolved at 1.0.200
Creating working copy for https://github.com/Kitura/Kitura-TemplateEngine.git
Working copy of https://github.com/Kitura/Kitura-TemplateEngine.git resolved at 2.0.200
Creating working copy for https://github.com/Kitura/KituraContracts.git
Working copy of https://github.com/Kitura/KituraContracts.git resolved at 1.2.201
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/IBM-Swift/Kitura.git
Working copy of https://github.com/IBM-Swift/Kitura.git resolved at 2.9.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
Building for debugging...
[0/14] Write sources
[11/14] Compiling CHTTPParser utils.c
[12/14] Compiling CHTTPParser http_parser.c
[13/14] Write swift-version-24593BA9C3E375BF.txt
[15/30] Emitting module Socket
[16/30] Emitting module KituraTemplateEngine
[17/30] Compiling KituraTemplateEngine TemplateEngine.swift
[19/31] Compiling Logging MetadataProvider.swift
[20/31] Emitting module Logging
[21/31] Emitting module Signals
[22/31] Compiling Signals Signals.swift
[23/31] Compiling Socket SocketProtocols.swift
[24/31] Compiling Socket SocketUtils.swift
[26/32] Compiling Logging LogHandler.swift
[27/32] Compiling Logging Locks.swift
[28/32] Compiling Logging Logging.swift
[29/33] Compiling Socket Socket.swift
[30/34] Compiling TypeDecoder OrderedDictionary.swift
[31/34] Compiling TypeDecoder TypeDecoder.swift
[32/34] Emitting module TypeDecoder
[36/40] Emitting module LoggerAPI
[37/40] Compiling LoggerAPI Logger.swift
[39/50] Compiling KituraContracts BodyFormat.swift
[40/50] Compiling KituraContracts BodyDecoder.swift
[41/50] Compiling KituraContracts BodyEncoder.swift
[42/51] Compiling SSLService SSLPointerTricks.swift
[43/51] Emitting module SSLService
[44/51] 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/10] Compiling KituraContracts ClosureAliases.swift
[3/10] Compiling KituraContracts Coder.swift
[4/10] Emitting module SSLService
[5/10] 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