The Swift Package Index logo.Swift Package Index

Build Information

Failed to build KituraCompression with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-1":/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-Compression.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-Compression
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at e655d4d Merge pull request #51 from dannys42-contrib/MISC-org_update
Cloned https://github.com/Kitura/Kitura-Compression.git
Revision (git rev-parse @):
e655d4dcd598f41b11562c72a740b0444f951023
SUCCESS checkout https://github.com/Kitura/Kitura-Compression.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/Kitura/Kitura-Compression.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/Kitura/Kitura.git
[1/16909] Fetching kitura
Fetched https://github.com/Kitura/Kitura.git from cache (0.90s)
Computing version for https://github.com/Kitura/Kitura.git
Computed https://github.com/Kitura/Kitura.git at 2.9.200 (0.41s)
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/438] Fetching kitura-templateengine
[426/1209] Fetching kitura-templateengine, loggerapi
[732/4379] Fetching kitura-templateengine, loggerapi, swift-log
[1274/4838] Fetching kitura-templateengine, loggerapi, swift-log, typedecoder
[4618/7381] Fetching kitura-templateengine, loggerapi, swift-log, typedecoder, kituracontracts
Fetched https://github.com/Kitura/LoggerAPI.git from cache (0.27s)
[4628/16154] Fetching kitura-templateengine, swift-log, typedecoder, kituracontracts, kitura-net
Fetched https://github.com/Kitura/Kitura-TemplateEngine.git from cache (0.62s)
Fetched https://github.com/apple/swift-log.git from cache (0.62s)
Fetched https://github.com/Kitura/TypeDecoder.git from cache (0.62s)
Fetched https://github.com/Kitura/KituraContracts.git from cache (0.62s)
Fetched https://github.com/Kitura/Kitura-net.git from cache (0.63s)
Computing version for https://github.com/Kitura/Kitura-TemplateEngine.git
Computed https://github.com/Kitura/Kitura-TemplateEngine.git at 2.0.200 (0.38s)
Computing version for https://github.com/Kitura/Kitura-net.git
Computed https://github.com/Kitura/Kitura-net.git at 2.4.200 (0.42s)
Fetching https://github.com/Kitura/BlueSSLService.git
Fetching https://github.com/Kitura/BlueSocket.git
Fetching https://github.com/Kitura/BlueSignals.git
[1/2088] Fetching bluesslservice
[586/2742] Fetching bluesslservice, bluesignals
[2723/5684] Fetching bluesslservice, bluesignals, bluesocket
Fetched https://github.com/Kitura/BlueSignals.git from cache (0.24s)
Fetched https://github.com/Kitura/BlueSSLService.git from cache (0.30s)
Fetched https://github.com/Kitura/BlueSocket.git from cache (0.30s)
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.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/TypeDecoder.git
Computed https://github.com/Kitura/TypeDecoder.git at 1.3.201 (0.38s)
Computing version for https://github.com/Kitura/KituraContracts.git
Computed https://github.com/Kitura/KituraContracts.git at 1.2.201 (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.38s)
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/Kitura.git
Working copy of https://github.com/Kitura/Kitura.git resolved at 2.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/BlueSocket.git
Working copy of https://github.com/Kitura/BlueSocket.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/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/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/LoggerAPI.git
Working copy of https://github.com/Kitura/LoggerAPI.git resolved at 1.9.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
warning: you may be able to install libz using your system-packager:
    apt-get install libz-dev
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 KituraTemplateEngine
[16/30] Compiling KituraTemplateEngine TemplateEngine.swift
[18/31] Emitting module TypeDecoder
[19/31] Compiling Logging LogHandler.swift
[20/31] Compiling Logging MetadataProvider.swift
[21/31] Emitting module Logging
[22/31] Compiling Logging Locks.swift
[23/31] Compiling Socket SocketProtocols.swift
[24/31] Compiling Socket SocketUtils.swift
[25/31] Compiling Signals Signals.swift
[26/31] Emitting module Signals
[27/32] Compiling Logging Logging.swift
[30/35] Compiling TypeDecoder OrderedDictionary.swift
[31/35] Compiling TypeDecoder TypeDecoder.swift
[33/36] Emitting module LoggerAPI
[34/36] Compiling LoggerAPI Logger.swift
[35/37] Emitting module Socket
[36/37] Compiling Socket Socket.swift
[39/50] Compiling KituraContracts BodyFormat.swift
[40/51] Compiling KituraContracts ClosureAliases.swift
[41/51] Compiling KituraContracts Coder.swift
[42/51] Compiling KituraContracts QueryDecoder.swift
[43/51] Compiling KituraContracts BodyDecoder.swift
[44/51] Compiling KituraContracts BodyEncoder.swift
[45/51] Emitting module KituraContracts
[46/51] Emitting module SSLService
[47/51] Compiling KituraContracts Extensions.swift
[48/51] Compiling KituraContracts QueryEncoder.swift
[49/51] Compiling SSLService SSLPointerTricks.swift
[50/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
warning: you may be able to install libz using your system-packager:
    apt-get install libz-dev
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/5] Emitting module SSLService
[3/5] 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