Build Information
Failed to build CredentialsToken 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/krugazor/credentialstoken.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/krugazor/credentialstoken
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 01359f1 Merge branch 'release/0.2.0'
Cloned https://github.com/krugazor/credentialstoken.git
Revision (git rev-parse @):
01359f1c94358105afddfc3595f3d6c920520b9d
SUCCESS checkout https://github.com/krugazor/credentialstoken.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 5.10
Building package at path: $workDir
https://github.com/krugazor/credentialstoken.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/IBM-Swift/Kitura-Credentials
Fetching https://github.com/krugazor/DictionaryCoding
Fetching https://github.com/IBM-Swift/Kitura-Session.git
[1/48] Fetching dictionarycoding
[49/1845] Fetching dictionarycoding, kitura-credentials
[409/3406] Fetching dictionarycoding, kitura-credentials, kitura-session
Fetched https://github.com/krugazor/DictionaryCoding from cache (0.32s)
Fetched https://github.com/IBM-Swift/Kitura-Credentials from cache (0.33s)
Fetched https://github.com/IBM-Swift/Kitura-Session.git from cache (0.34s)
Computing version for https://github.com/krugazor/DictionaryCoding
Computed https://github.com/krugazor/DictionaryCoding at 0.2.1 (0.42s)
Computing version for https://github.com/IBM-Swift/Kitura-Credentials
Computed https://github.com/IBM-Swift/Kitura-Credentials at 2.5.200 (0.44s)
Computing version for https://github.com/IBM-Swift/Kitura-Session.git
Computed https://github.com/IBM-Swift/Kitura-Session.git at 3.3.201 (0.43s)
Fetching https://github.com/Kitura/BlueCryptor.git
Fetching https://github.com/Kitura/Kitura.git
[1/1638] Fetching bluecryptor
[1623/18547] Fetching bluecryptor, kitura
Fetched https://github.com/Kitura/BlueCryptor.git from cache (0.30s)
[1860/16909] Fetching kitura
Fetched https://github.com/Kitura/Kitura.git from cache (1.21s)
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.23s)
Computing version for https://github.com/Kitura/OpenSSL.git
Computed https://github.com/Kitura/OpenSSL.git at 2.3.1 (1.24s)
Computing version for https://github.com/Kitura/Kitura.git
Computed https://github.com/Kitura/Kitura.git at 2.9.200 (0.47s)
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/2543] Fetching kituracontracts
[52/3002] Fetching kituracontracts, typedecoder
[246/3440] Fetching kituracontracts, typedecoder, kitura-templateengine
[1318/4211] Fetching kituracontracts, typedecoder, kitura-templateengine, loggerapi
[3132/7381] Fetching kituracontracts, typedecoder, kitura-templateengine, loggerapi, swift-log
[3390/16925] Fetching kituracontracts, typedecoder, kitura-templateengine, loggerapi, swift-log, kitura-net
Fetched https://github.com/Kitura/LoggerAPI.git from cache (0.36s)
[8082/16154] Fetching kituracontracts, typedecoder, kitura-templateengine, swift-log, kitura-net
Fetched https://github.com/Kitura/TypeDecoder.git from cache (0.47s)
[9206/15695] Fetching kituracontracts, kitura-templateengine, swift-log, kitura-net
Fetched https://github.com/apple/swift-log.git from cache (0.49s)
[6513/12525] Fetching kituracontracts, kitura-templateengine, kitura-net
Fetched https://github.com/Kitura/Kitura-TemplateEngine.git from cache (0.81s)
Fetched https://github.com/Kitura/KituraContracts.git from cache (0.81s)
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.43s)
Computing version for https://github.com/Kitura/Kitura-net.git
Computed https://github.com/Kitura/Kitura-net.git at 2.4.200 (0.48s)
Fetching https://github.com/Kitura/BlueSignals.git
Fetching https://github.com/Kitura/BlueSSLService.git
Fetching https://github.com/Kitura/BlueSocket.git
[1/2088] Fetching bluesslservice
[1213/2742] Fetching bluesslservice, bluesignals
[2743/5684] Fetching bluesslservice, bluesignals, bluesocket
Fetched https://github.com/Kitura/BlueSSLService.git from cache (0.38s)
Fetched https://github.com/Kitura/BlueSignals.git from cache (0.38s)
Fetched https://github.com/Kitura/BlueSocket.git from cache (0.38s)
Computing version for https://github.com/Kitura/LoggerAPI.git
Computed https://github.com/Kitura/LoggerAPI.git at 1.9.200 (0.44s)
Computing version for https://github.com/Kitura/BlueSignals.git
Computed https://github.com/Kitura/BlueSignals.git at 1.0.200 (0.44s)
Computing version for https://github.com/Kitura/BlueSSLService.git
Computed https://github.com/Kitura/BlueSSLService.git at 1.0.200 (0.46s)
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.42s)
Computing version for https://github.com/Kitura/KituraContracts.git
Computed https://github.com/Kitura/KituraContracts.git at 1.2.201 (0.44s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.5.4 (0.43s)
Creating working copy for https://github.com/IBM-Swift/Kitura-Credentials
Working copy of https://github.com/IBM-Swift/Kitura-Credentials resolved at 2.5.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/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/TypeDecoder.git
Working copy of https://github.com/Kitura/TypeDecoder.git resolved at 1.3.201
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/krugazor/DictionaryCoding
Working copy of https://github.com/krugazor/DictionaryCoding resolved at 0.2.1
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/Kitura.git
Working copy of https://github.com/Kitura/Kitura.git resolved at 2.9.200
Creating working copy for https://github.com/IBM-Swift/Kitura-Session.git
Working copy of https://github.com/IBM-Swift/Kitura-Session.git resolved at 3.3.201
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/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/BlueSocket.git
Working copy of https://github.com/Kitura/BlueSocket.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
warning: 'kitura-credentials': 'kitura-credentials' dependency on 'https://github.com/Kitura/Kitura-Session.git' conflicts with dependency on 'https://github.com/IBM-Swift/Kitura-Session.git' which has the same identity 'kitura-session'. this will be escalated to an error in future versions of SwiftPM.
Building for debugging...
[0/18] Write sources
[15/18] Compiling CHTTPParser utils.c
[16/18] Write swift-version-24593BA9C3E375BF.txt
[17/18] Compiling CHTTPParser http_parser.c
[19/48] Emitting module Logging
[20/48] Emitting module Socket
[21/48] Emitting module KituraTemplateEngine
[22/48] Compiling KituraTemplateEngine TemplateEngine.swift
[23/48] Compiling Cryptor SSLPointerTricks.swift
[25/50] Emitting module Signals
[26/50] Compiling Signals Signals.swift
[27/50] Compiling Cryptor Updatable.swift
[28/50] Compiling Logging MetadataProvider.swift
[29/51] Compiling Socket SocketUtils.swift
[30/51] Compiling Socket SocketProtocols.swift
[31/51] Compiling Cryptor Utilities.swift
[32/51] Compiling DictionaryCoding StorageWrappers.swift
[33/51] Compiling Logging Locks.swift
[35/51] Compiling Cryptor Crypto.swift
[36/51] Compiling Cryptor Cryptor.swift
[37/51] Emitting module Cryptor
[38/51] Compiling Cryptor Status.swift
[39/51] Compiling Cryptor Digest.swift
[40/51] Compiling Cryptor HMAC.swift
[41/51] Compiling Cryptor KeyDerivation.swift
[42/51] Compiling Cryptor Random.swift
[43/51] Compiling Cryptor StreamCryptor.swift
[45/52] Compiling Logging LogHandler.swift
[46/52] Compiling Logging Logging.swift
[48/53] Compiling Socket Socket.swift
[50/56] Compiling TypeDecoder OrderedDictionary.swift
[51/56] Compiling TypeDecoder TypeDecoder.swift
[52/56] Emitting module TypeDecoder
[53/60] Emitting module DictionaryCoding
[54/60] Compiling DictionaryCoding DictionaryCoding.swift
[57/61] Emitting module LoggerAPI
[58/61] Compiling LoggerAPI Logger.swift
[60/71] Compiling SSLService SSLPointerTricks.swift
[61/71] 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 {
~^~~~
[62/71] Emitting module SSLService
error: fatalError
warning: 'kitura-credentials': 'kitura-credentials' dependency on 'https://github.com/Kitura/Kitura-Session.git' conflicts with dependency on 'https://github.com/IBM-Swift/Kitura-Session.git' which has the same identity 'kitura-session'. this will be escalated to an error in future versions of SwiftPM.
[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/13] Emitting module SSLService
[5/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 {
~^~~~
error: fatalError
BUILD FAILURE 5.10 linux