The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Kitura-CredentialsHTTP 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-CredentialsHTTP.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-CredentialsHTTP
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 0dcc772 Merge pull request #65 from dannys42-contrib/MISC-org_update
Cloned https://github.com/Kitura/Kitura-CredentialsHTTP.git
Revision (git rev-parse @):
0dcc772f8b471e84f5d9ef89087698651ae6a984
SUCCESS checkout https://github.com/Kitura/Kitura-CredentialsHTTP.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/Kitura/Kitura-CredentialsHTTP.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-Credentials.git
[1/1797] Fetching kitura-credentials
Fetched https://github.com/Kitura/Kitura-Credentials.git from cache (0.27s)
Computing version for https://github.com/Kitura/Kitura-Credentials.git
Computed https://github.com/Kitura/Kitura-Credentials.git at 2.5.200 (0.39s)
Fetching https://github.com/Kitura/Kitura-Session.git
[1/1561] Fetching kitura-session
Fetched https://github.com/Kitura/Kitura-Session.git from cache (0.28s)
Computing version for https://github.com/Kitura/Kitura-Session.git
Computed https://github.com/Kitura/Kitura-Session.git at 3.3.201 (0.41s)
Fetching https://github.com/Kitura/BlueCryptor.git
Fetching https://github.com/Kitura/Kitura.git
[1/1638] Fetching bluecryptor
[1639/18547] Fetching bluecryptor, kitura
Fetched https://github.com/Kitura/BlueCryptor.git from cache (1.02s)
Fetched https://github.com/Kitura/Kitura.git from cache (1.05s)
Computing version for https://github.com/Kitura/BlueCryptor.git
Computed https://github.com/Kitura/BlueCryptor.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/OpenSSL.git
Computed https://github.com/Kitura/OpenSSL.git at 2.3.1 (1.08s)
Computing version for https://github.com/Kitura/Kitura.git
Computed https://github.com/Kitura/Kitura.git at 2.9.200 (0.42s)
Fetching https://github.com/Kitura/TypeDecoder.git
Fetching https://github.com/Kitura/KituraContracts.git
Fetching https://github.com/Kitura/Kitura-net.git
Fetching https://github.com/Kitura/Kitura-TemplateEngine.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/Kitura/LoggerAPI.git
[1/438] Fetching kitura-templateengine
[439/9982] Fetching kitura-templateengine, kitura-net
[726/10753] Fetching kitura-templateengine, kitura-net, loggerapi
[1182/11212] Fetching kitura-templateengine, kitura-net, loggerapi, typedecoder
[1697/13755] Fetching kitura-templateengine, kitura-net, loggerapi, typedecoder, kituracontracts
[2787/16925] Fetching kitura-templateengine, kitura-net, loggerapi, typedecoder, kituracontracts, swift-log
Fetched https://github.com/Kitura/LoggerAPI.git from cache (0.34s)
[8374/16154] Fetching kitura-templateengine, kitura-net, typedecoder, kituracontracts, swift-log
Fetched https://github.com/Kitura/TypeDecoder.git from cache (0.47s)
[13500/15695] Fetching kitura-templateengine, kitura-net, kituracontracts, swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.47s)
[10712/12525] Fetching kitura-templateengine, kitura-net, kituracontracts
[8933/9982] Fetching kitura-templateengine, kitura-net
Fetched https://github.com/Kitura/KituraContracts.git from cache (0.48s)
Fetched https://github.com/Kitura/Kitura-TemplateEngine.git from cache (0.67s)
Fetched https://github.com/Kitura/Kitura-net.git from cache (0.68s)
Computing version for https://github.com/Kitura/Kitura-TemplateEngine.git
Computed https://github.com/Kitura/Kitura-TemplateEngine.git at 2.0.200 (0.39s)
Computing version for https://github.com/Kitura/Kitura-net.git
Computed https://github.com/Kitura/Kitura-net.git at 2.4.200 (0.43s)
Fetching https://github.com/Kitura/BlueSignals.git
Fetching https://github.com/Kitura/BlueSocket.git
Fetching https://github.com/Kitura/BlueSSLService.git
[1/2088] Fetching bluesslservice
[43/5030] Fetching bluesslservice, bluesocket
[631/5684] Fetching bluesslservice, bluesocket, bluesignals
Fetched https://github.com/Kitura/BlueSSLService.git from cache (0.27s)
Fetched https://github.com/Kitura/BlueSignals.git from cache (0.27s)
Fetched https://github.com/Kitura/BlueSocket.git from cache (0.31s)
Computing version for https://github.com/Kitura/LoggerAPI.git
Computed https://github.com/Kitura/LoggerAPI.git at 1.9.200 (0.41s)
Computing version for https://github.com/Kitura/BlueSignals.git
Computed https://github.com/Kitura/BlueSignals.git at 1.0.200 (0.52s)
Computing version for https://github.com/Kitura/BlueSSLService.git
Computed https://github.com/Kitura/BlueSSLService.git at 1.0.200 (0.52s)
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/TypeDecoder.git
Computed https://github.com/Kitura/TypeDecoder.git at 1.3.201 (0.41s)
Computing version for https://github.com/Kitura/KituraContracts.git
Computed https://github.com/Kitura/KituraContracts.git at 1.2.201 (0.45s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.5.4 (0.49s)
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/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/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/KituraContracts.git
Working copy of https://github.com/Kitura/KituraContracts.git resolved at 1.2.201
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.git
Working copy of https://github.com/Kitura/Kitura.git resolved at 2.9.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/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-Credentials.git
Working copy of https://github.com/Kitura/Kitura-Credentials.git resolved at 2.5.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/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/BlueSignals.git
Working copy of https://github.com/Kitura/BlueSignals.git resolved at 1.0.200
Building for debugging...
[0/17] Write sources
[14/17] Compiling CHTTPParser utils.c
[14/17] Write swift-version-24593BA9C3E375BF.txt
[16/17] Compiling CHTTPParser http_parser.c
[18/44] Emitting module Signals
[19/44] Compiling KituraTemplateEngine TemplateEngine.swift
[20/44] Emitting module KituraTemplateEngine
[22/45] Compiling Logging MetadataProvider.swift
[23/45] Emitting module Logging
[24/45] Compiling Logging Locks.swift
[25/45] Compiling Signals Signals.swift
[27/46] Compiling Cryptor Updatable.swift
[28/47] Compiling Logging LogHandler.swift
[29/47] Compiling Logging Logging.swift
[30/47] Compiling Cryptor KeyDerivation.swift
[31/47] Compiling Cryptor Random.swift
[32/47] Compiling Cryptor SSLPointerTricks.swift
[33/47] Compiling Cryptor Status.swift
[34/47] Emitting module Cryptor
[35/48] Compiling Cryptor Digest.swift
[36/48] Compiling Cryptor HMAC.swift
[37/48] Compiling Cryptor Crypto.swift
[38/48] Compiling Cryptor Cryptor.swift
[39/48] Compiling Socket SocketProtocols.swift
[40/48] Compiling Socket SocketUtils.swift
[42/48] Compiling Cryptor StreamCryptor.swift
[43/48] Compiling TypeDecoder OrderedDictionary.swift
[44/48] Emitting module TypeDecoder
[45/48] Compiling TypeDecoder TypeDecoder.swift
[46/51] Compiling Cryptor Utilities.swift
[49/52] Emitting module Socket
[50/52] Compiling Socket Socket.swift
[52/53] Emitting module LoggerAPI
[53/53] Compiling LoggerAPI Logger.swift
[55/66] Compiling KituraContracts ClosureAliases.swift
[56/66] Compiling KituraContracts BodyFormat.swift
[57/66] Compiling KituraContracts BodyDecoder.swift
[58/66] Compiling KituraContracts BodyEncoder.swift
[59/67] Emitting module SSLService
[60/67] Compiling SSLService SSLPointerTricks.swift
[61/67] 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/9] Compiling KituraContracts Coder.swift
[3/9] Emitting module SSLService
[4/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