The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Kitura-Credentials 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/Kitura/Kitura-Credentials.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-Credentials
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at c9b0a9a Merge pull request #92 from dannys42-contrib/MISC-org_update
Cloned https://github.com/Kitura/Kitura-Credentials.git
Revision (git rev-parse @):
c9b0a9a7e35b4bf20cbb94de674dda14d1563b08
SUCCESS checkout https://github.com/Kitura/Kitura-Credentials.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/Kitura/Kitura-Credentials.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/Kitura/Kitura-Session.git
[1/1561] Fetching kitura-session
Fetched https://github.com/Kitura/Kitura-Session.git from cache (0.31s)
Computing version for https://github.com/Kitura/Kitura-Session.git
Computed https://github.com/Kitura/Kitura-Session.git at 3.3.201 (0.46s)
Fetching https://github.com/Kitura/Kitura.git
Fetching https://github.com/Kitura/BlueCryptor.git
[1/1638] Fetching bluecryptor
[1639/18547] Fetching bluecryptor, kitura
Fetched https://github.com/Kitura/BlueCryptor.git from cache (1.09s)
Fetched https://github.com/Kitura/Kitura.git from cache (1.12s)
Computing version for https://github.com/Kitura/BlueCryptor.git
Computed https://github.com/Kitura/BlueCryptor.git at 1.0.200 (0.47s)
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/OpenSSL.git
Computed https://github.com/Kitura/OpenSSL.git at 2.3.1 (1.42s)
Computing version for https://github.com/Kitura/Kitura.git
Computed https://github.com/Kitura/Kitura.git at 2.9.200 (0.50s)
Fetching https://github.com/Kitura/TypeDecoder.git
Fetching https://github.com/Kitura/KituraContracts.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/459] Fetching typedecoder
[460/3629] Fetching typedecoder, swift-log
[1063/6172] Fetching typedecoder, swift-log, kituracontracts
[1660/6943] Fetching typedecoder, swift-log, kituracontracts, loggerapi
[4547/16487] Fetching typedecoder, swift-log, kituracontracts, loggerapi, kitura-net
[5167/16925] Fetching typedecoder, swift-log, kituracontracts, loggerapi, kitura-net, kitura-templateengine
Fetched https://github.com/Kitura/TypeDecoder.git from cache (0.51s)
[10836/16466] Fetching swift-log, kituracontracts, loggerapi, kitura-net, kitura-templateengine
Fetched https://github.com/Kitura/KituraContracts.git from cache (0.51s)
[8483/13923] Fetching swift-log, loggerapi, kitura-net, kitura-templateengine
Fetched https://github.com/Kitura/Kitura-TemplateEngine.git from cache (0.80s)
Fetched https://github.com/Kitura/LoggerAPI.git from cache (0.80s)
Fetched https://github.com/apple/swift-log.git from cache (0.80s)
Fetched https://github.com/Kitura/Kitura-net.git from cache (0.82s)
Computing version for https://github.com/Kitura/Kitura-TemplateEngine.git
Computed https://github.com/Kitura/Kitura-TemplateEngine.git at 2.0.200 (0.44s)
Computing version for https://github.com/Kitura/Kitura-net.git
Computed https://github.com/Kitura/Kitura-net.git at 2.4.200 (0.50s)
Fetching https://github.com/Kitura/BlueSignals.git
Fetching https://github.com/Kitura/BlueSocket.git
Fetching https://github.com/Kitura/BlueSSLService.git
[1/654] Fetching bluesignals
[655/2742] Fetching bluesignals, bluesslservice
[885/5684] Fetching bluesignals, bluesslservice, bluesocket
Fetched https://github.com/Kitura/BlueSSLService.git from cache (0.29s)
Fetched https://github.com/Kitura/BlueSignals.git from cache (0.35s)
Fetched https://github.com/Kitura/BlueSocket.git from cache (0.35s)
Computing version for https://github.com/Kitura/LoggerAPI.git
Computed https://github.com/Kitura/LoggerAPI.git at 1.9.200 (0.46s)
Computing version for https://github.com/Kitura/BlueSignals.git
Computed https://github.com/Kitura/BlueSignals.git at 1.0.200 (0.43s)
Computing version for https://github.com/Kitura/BlueSSLService.git
Computed https://github.com/Kitura/BlueSSLService.git at 1.0.200 (0.55s)
Computing version for https://github.com/Kitura/BlueSocket.git
Computed https://github.com/Kitura/BlueSocket.git at 1.0.200 (0.56s)
Computing version for https://github.com/Kitura/TypeDecoder.git
Computed https://github.com/Kitura/TypeDecoder.git at 1.3.201 (0.49s)
Computing version for https://github.com/Kitura/KituraContracts.git
Computed https://github.com/Kitura/KituraContracts.git at 1.2.201 (0.48s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.5.4 (0.62s)
Creating working copy for https://github.com/Kitura/Kitura.git
Working copy of https://github.com/Kitura/Kitura.git resolved at 2.9.200
Creating working copy for https://github.com/Kitura/Kitura-Session.git
Working copy of https://github.com/Kitura/Kitura-Session.git resolved at 3.3.201
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/BlueSSLService.git
Working copy of https://github.com/Kitura/BlueSSLService.git resolved at 1.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/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/TypeDecoder.git
Working copy of https://github.com/Kitura/TypeDecoder.git resolved at 1.3.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/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/BlueSignals.git
Working copy of https://github.com/Kitura/BlueSignals.git resolved at 1.0.200
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/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.5.4
Building for debugging...
[0/16] Write sources
[13/16] Compiling CHTTPParser utils.c
[14/16] Write swift-version-24593BA9C3E375BF.txt
[15/16] Compiling CHTTPParser http_parser.c
[17/43] Emitting module Logging
[18/43] Compiling KituraTemplateEngine TemplateEngine.swift
[19/43] Emitting module KituraTemplateEngine
[21/44] Compiling Cryptor SSLPointerTricks.swift
[22/45] Compiling Logging LogHandler.swift
[23/45] Emitting module TypeDecoder
[24/45] Compiling Logging Locks.swift
[25/45] Compiling Logging MetadataProvider.swift
[26/45] Compiling Cryptor Utilities.swift
[27/45] Compiling Cryptor KeyDerivation.swift
[28/45] Compiling Cryptor Random.swift
[29/45] Compiling Signals Signals.swift
[30/45] Emitting module Signals
[31/45] Emitting module Cryptor
[32/45] Compiling Cryptor Crypto.swift
[33/45] Compiling Cryptor Cryptor.swift
[34/45] Compiling Cryptor Digest.swift
[35/45] Compiling Cryptor HMAC.swift
[36/45] Compiling Cryptor Updatable.swift
[37/46] Compiling Socket SocketProtocols.swift
[38/46] Compiling Socket SocketUtils.swift
[40/46] Compiling Cryptor Status.swift
[41/46] Compiling Cryptor StreamCryptor.swift
[43/47] Compiling Logging Logging.swift
[45/48] Compiling TypeDecoder OrderedDictionary.swift
[46/48] Compiling TypeDecoder TypeDecoder.swift
[48/49] Emitting module Socket
[49/49] Compiling Socket Socket.swift
[51/55] Emitting module LoggerAPI
[52/55] Compiling LoggerAPI Logger.swift
[54/56] Compiling SSLService SSLPointerTricks.swift
[55/56] Emitting module SSLService
[56/56] 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/12] Compiling KituraContracts BodyDecoder.swift
[3/12] Compiling KituraContracts BodyEncoder.swift
[4/12] Compiling KituraContracts ClosureAliases.swift
[5/12] Compiling KituraContracts BodyFormat.swift
[6/13] Emitting module SSLService
[7/13] 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 {
                                                            ~^~~~
[8/13] Emitting module KituraContracts
[9/13] Compiling KituraContracts Coder.swift
[10/13] Compiling KituraContracts Extensions.swift
[11/13] Compiling KituraContracts QueryDecoder.swift
[12/13] Compiling KituraContracts QueryEncoder.swift
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 2