The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Kitura-CouchDB 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/Kitura/Kitura-CouchDB.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-CouchDB
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 5e8c5ef Update package reference to community versions; update domain (#116)
Cloned https://github.com/Kitura/Kitura-CouchDB.git
Revision (git rev-parse @):
5e8c5ef8ea4a48cf6319a6d203a6474c1c06f05f
SUCCESS checkout https://github.com/Kitura/Kitura-CouchDB.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/Kitura/Kitura-CouchDB.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/Kitura-net.git
Fetching https://github.com/Kitura/LoggerAPI.git
[1/771] Fetching loggerapi
[772/10315] Fetching loggerapi, kitura-net
Fetched https://github.com/Kitura/LoggerAPI.git from cache (0.56s)
Fetched https://github.com/Kitura/Kitura-net.git from cache (0.57s)
Computing version for https://github.com/Kitura/Kitura-net.git
Computed https://github.com/Kitura/Kitura-net.git at 2.4.200 (0.41s)
Fetching https://github.com/Kitura/BlueSocket.git
Fetching https://github.com/Kitura/BlueSignals.git
Fetching https://github.com/Kitura/BlueSSLService.git
[1/654] Fetching bluesignals
[655/2742] Fetching bluesignals, bluesslservice
[1115/5684] Fetching bluesignals, bluesslservice, bluesocket
Fetched https://github.com/Kitura/BlueSignals.git from cache (0.24s)
Fetched https://github.com/Kitura/BlueSSLService.git from cache (0.24s)
Fetched https://github.com/Kitura/BlueSocket.git from cache (0.29s)
Computing version for https://github.com/Kitura/LoggerAPI.git
Computed https://github.com/Kitura/LoggerAPI.git at 1.9.200 (0.39s)
Fetching https://github.com/apple/swift-log.git
[1/3170] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.31s)
Computing version for https://github.com/Kitura/BlueSignals.git
Computed https://github.com/Kitura/BlueSignals.git at 1.0.200 (0.38s)
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.20s)
Computing version for https://github.com/Kitura/BlueSocket.git
Computed https://github.com/Kitura/BlueSocket.git at 1.0.200 (0.38s)
Computing version for https://github.com/Kitura/OpenSSL.git
Computed https://github.com/Kitura/OpenSSL.git at 2.3.1 (1.02s)
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/OpenSSL.git
Working copy of https://github.com/Kitura/OpenSSL.git resolved at 2.3.1
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/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/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/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
Building for debugging...
[0/21] Write sources
[8/21] Compiling CHTTPParser utils.c
[9/21] Compiling CHTTPParser http_parser.c
[10/21] Write swift-version-24593BA9C3E375BF.txt
[12/32] Emitting module Signals
[13/32] Compiling Signals Signals.swift
[14/33] Compiling Logging MetadataProvider.swift
[15/33] Wrapping AST for Signals for debugging
[17/33] Compiling Socket SocketProtocols.swift
[18/33] Compiling Socket SocketUtils.swift
[19/33] Compiling Logging LogHandler.swift
[20/33] Compiling Logging Locks.swift
[21/33] Emitting module Logging
[22/33] Compiling Logging Logging.swift
[23/34] Wrapping AST for Logging for debugging
[25/36] Emitting module Socket
[26/36] Compiling Socket Socket.swift
[27/37] Wrapping AST for Socket for debugging
[29/37] Compiling LoggerAPI Logger.swift
[30/37] Emitting module LoggerAPI
[31/41] Wrapping AST for LoggerAPI for debugging
[33/41] Emitting module SSLService
[34/41] Compiling SSLService SSLPointerTricks.swift
[35/41] 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/11] Write swift-version-24593BA9C3E375BF.txt
[2/9] Emitting module SSLService
[3/9] 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