The Swift Package Index logo.Swift Package Index

Build Information

Failed to build rest-client 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/fschwehn/vapor-rest-client.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/fschwehn/vapor-rest-client
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at a123741 rename package
Cloned https://github.com/fschwehn/vapor-rest-client.git
Revision (git rev-parse @):
a1237412152a7da6550c58c2e7aa1823b62df224
SUCCESS checkout https://github.com/fschwehn/vapor-rest-client.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/fschwehn/vapor-rest-client.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/vapor/routing-kit.git
Fetching https://github.com/swift-server/async-http-client.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/vapor/multipart-kit.git
Fetching https://github.com/vapor/vapor.git
Fetching https://github.com/apple/swift-nio.git
[1/20668] Fetching routing-kit
[208/22368] Fetching routing-kit, multipart-kit
[16426/34913] Fetching routing-kit, multipart-kit, async-http-client
[17179/47060] Fetching routing-kit, multipart-kit, async-http-client, swift-nio-ssl
[21726/114337] Fetching routing-kit, multipart-kit, async-http-client, swift-nio-ssl, vapor
[50516/178776] Fetching routing-kit, multipart-kit, async-http-client, swift-nio-ssl, vapor, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git from cache (2.63s)
Fetching https://github.com/vapor/open-crypto.git
[142787/166629] Fetching routing-kit, multipart-kit, async-http-client, vapor, swift-nio
[158253/169415] Fetching routing-kit, multipart-kit, async-http-client, vapor, swift-nio, open-crypto
Fetched https://github.com/vapor/open-crypto.git from cache (0.27s)
Fetching https://github.com/vapor/websocket-kit.git
[166629/166629] Fetching routing-kit, multipart-kit, async-http-client, vapor, swift-nio
[166630/169040] Fetching routing-kit, multipart-kit, async-http-client, vapor, swift-nio, websocket-kit
Fetched https://github.com/vapor/websocket-kit.git from cache (0.31s)
Fetching https://github.com/apple/swift-nio-extras.git
[1/4792] Fetching swift-nio-extras
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.46s)
Fetching https://github.com/apple/swift-metrics.git
[1/1935] Fetching swift-metrics
Fetched https://github.com/apple/swift-metrics.git from cache (0.33s)
Fetching https://github.com/apple/swift-log.git
[1/3159] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (1.00s)
Fetching https://github.com/apple/swift-nio-http2.git
Fetched https://github.com/swift-server/async-http-client.git from cache (5.05s)
Fetching https://github.com/vapor/async-kit.git
Fetched https://github.com/vapor/routing-kit.git from cache (5.07s)
Fetching https://github.com/vapor/console-kit.git
Fetched https://github.com/vapor/vapor.git from cache (5.09s)
Computing version for https://github.com/vapor/vapor.git
Fetched https://github.com/vapor/multipart-kit.git from cache (5.10s)
Fetched https://github.com/apple/swift-nio.git from cache (5.14s)
[1/2335] Fetching async-kit
[1706/7613] Fetching async-kit, console-kit
[6612/17778] Fetching async-kit, console-kit, swift-nio-http2
Fetched https://github.com/vapor/async-kit.git from cache (0.30s)
[6295/15443] Fetching console-kit, swift-nio-http2
Fetched https://github.com/vapor/console-kit.git from cache (0.33s)
[2440/10165] Fetching swift-nio-http2
Computed https://github.com/vapor/vapor.git at 4.0.0-beta.3.1 (0.53s)
Fetched https://github.com/apple/swift-nio-http2.git from cache (0.92s)
Computing version for https://github.com/vapor/websocket-kit.git
Computed https://github.com/vapor/websocket-kit.git at 2.0.0-beta.2.1 (0.47s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 1.2.0 (1.28s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.2.0 (0.44s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.3.2 (0.47s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.9.0 (0.45s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.5.0 (0.46s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.12.0 (0.53s)
Computing version for https://github.com/vapor/routing-kit.git
Computed https://github.com/vapor/routing-kit.git at 4.0.0-beta.3 (0.45s)
Computing version for https://github.com/vapor/open-crypto.git
Computed https://github.com/vapor/open-crypto.git at 4.0.0-beta.2 (0.46s)
Computing version for https://github.com/vapor/multipart-kit.git
Computed https://github.com/vapor/multipart-kit.git at 4.0.0-beta.2 (0.45s)
Computing version for https://github.com/vapor/console-kit.git
Computed https://github.com/vapor/console-kit.git at 4.0.0-beta.2 (0.43s)
Computing version for https://github.com/vapor/async-kit.git
Computed https://github.com/vapor/async-kit.git at 1.0.0-beta.2 (0.45s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.0.1 (0.45s)
Creating working copy for https://github.com/vapor/routing-kit.git
Working copy of https://github.com/vapor/routing-kit.git resolved at 4.0.0-beta.3
Creating working copy for https://github.com/vapor/websocket-kit.git
Working copy of https://github.com/vapor/websocket-kit.git resolved at 2.0.0-beta.2.1
Creating working copy for https://github.com/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.9.0
Creating working copy for https://github.com/vapor/async-kit.git
Working copy of https://github.com/vapor/async-kit.git resolved at 1.0.0-beta.2
Creating working copy for https://github.com/swift-server/async-http-client.git
Working copy of https://github.com/swift-server/async-http-client.git resolved at 1.0.1
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.5.0
Creating working copy for https://github.com/apple/swift-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.3.2
Creating working copy for https://github.com/apple/swift-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 1.2.0
Creating working copy for https://github.com/vapor/vapor.git
Working copy of https://github.com/vapor/vapor.git resolved at 4.0.0-beta.3.1
Creating working copy for https://github.com/vapor/console-kit.git
Working copy of https://github.com/vapor/console-kit.git resolved at 4.0.0-beta.2
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.12.0
Creating working copy for https://github.com/vapor/open-crypto.git
Working copy of https://github.com/vapor/open-crypto.git resolved at 4.0.0-beta.2
Creating working copy for https://github.com/vapor/multipart-kit.git
Working copy of https://github.com/vapor/multipart-kit.git resolved at 4.0.0-beta.2
Building for debugging...
[0/465] Write sources
[22/465] Compiling CNIOExtrasZlib empty.c
[23/465] Compiling CNIOLinux ifaddrs-android.c
[24/465] Compiling CNIOLinux shim.c
[25/465] Compiling CNIOSHA1 c_nio_sha1.c
[26/465] Compiling CNIODarwin shim.c
[27/465] Compiling CURLParser urlparser.c
[28/465] Write swift-version-24593BA9C3E375BF.txt
[29/465] Compiling CNIOHTTPParser c_nio_http_parser.c
[30/465] Compiling COpenCrypto c_open_crypto.c
[31/465] Compiling p256.c
[32/466] Compiling curve25519.c
[33/492] Compiling CNIOBoringSSLShims shims.c
[35/497] Emitting module RoutingKit
[35/497] Compiling tls_record.cc
[37/497] Emitting module Logging
[37/497] Compiling tls_method.cc
[38/497] Compiling tls13_server.cc
[39/497] Compiling tls13_enc.cc
[40/497] Compiling tls13_client.cc
[41/497] Compiling tls13_both.cc
[42/497] Compiling t1_enc.cc
[43/497] Compiling t1_lib.cc
[45/497] Compiling RoutingKit Router.swift
[46/497] Compiling CoreMetrics Metrics.swift
[47/497] Compiling RoutingKit PathComponent.swift
[48/497] Compiling RoutingKit Deprecated.swift
[49/497] Compiling RoutingKit TrieRouter.swift
[49/497] Compiling ssl_x509.cc
[51/497] Compiling OpenCrypto SHA1.swift
[52/497] Compiling OpenCrypto SHA2.swift
[53/499] Compiling OpenCrypto MD5.swift
[54/499] Compiling OpenCrypto MessageAuthenticationCode.swift
[55/499] Compiling OpenCrypto HexEncoding.swift
[56/499] Compiling OpenCrypto Insecure.swift
[57/499] Compiling OpenCrypto HashFunction.swift
[58/499] Compiling OpenCrypto HashedAuthenticationCode.swift
[59/499] Compiling OpenCrypto OpenSSLCipherFunction.swift
/host/spi-builder-workspace/.build/checkouts/open-crypto/Sources/OpenCrypto/OpenSSLCipherFunction.swift:101:43: error: cannot find 'EVP_CIPHER_key_length' in scope
        guard key.bitCount == numericCast(EVP_CIPHER_key_length(convert(algorithm))) * 8 else {
                                          ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/open-crypto/Sources/OpenCrypto/OpenSSLCipherFunction.swift:104:39: error: cannot find 'EVP_CIPHER_iv_length' in scope
        guard iv.count == numericCast(EVP_CIPHER_iv_length(convert(algorithm))) else {
                                      ^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/open-crypto/Sources/OpenCrypto/OpenSSLCipherFunction.swift:129:75: error: cannot find 'EVP_CIPHER_block_size' in scope
        var chunk = [UInt8](repeating: 0, count: data.count + numericCast(EVP_CIPHER_block_size(convert(algorithm))) - 1)
                                                                          ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/open-crypto/Sources/OpenCrypto/OpenSSLCipherFunction.swift:149:62: error: cannot find 'EVP_CIPHER_block_size' in scope
        var chunk = [UInt8](repeating: 0, count: numericCast(EVP_CIPHER_block_size(convert(algorithm))))
                                                             ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/open-crypto/Sources/OpenCrypto/OpenSSLHashFunction.swift:15:28: error: cannot find 'EVP_MD_size' in scope
        return numericCast(EVP_MD_size(convert(self.algorithm)))
                           ^~~~~~~~~~~
[60/499] Compiling OpenCrypto OpenSSLHashFunction.swift
/host/spi-builder-workspace/.build/checkouts/open-crypto/Sources/OpenCrypto/OpenSSLCipherFunction.swift:101:43: error: cannot find 'EVP_CIPHER_key_length' in scope
        guard key.bitCount == numericCast(EVP_CIPHER_key_length(convert(algorithm))) * 8 else {
                                          ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/open-crypto/Sources/OpenCrypto/OpenSSLCipherFunction.swift:104:39: error: cannot find 'EVP_CIPHER_iv_length' in scope
        guard iv.count == numericCast(EVP_CIPHER_iv_length(convert(algorithm))) else {
                                      ^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/open-crypto/Sources/OpenCrypto/OpenSSLCipherFunction.swift:129:75: error: cannot find 'EVP_CIPHER_block_size' in scope
        var chunk = [UInt8](repeating: 0, count: data.count + numericCast(EVP_CIPHER_block_size(convert(algorithm))) - 1)
                                                                          ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/open-crypto/Sources/OpenCrypto/OpenSSLCipherFunction.swift:149:62: error: cannot find 'EVP_CIPHER_block_size' in scope
        var chunk = [UInt8](repeating: 0, count: numericCast(EVP_CIPHER_block_size(convert(algorithm))))
                                                             ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/open-crypto/Sources/OpenCrypto/OpenSSLHashFunction.swift:15:28: error: cannot find 'EVP_MD_size' in scope
        return numericCast(EVP_MD_size(convert(self.algorithm)))
                           ^~~~~~~~~~~
[60/499] Compiling ssl_versions.cc
[62/499] Compiling OpenCrypto SymmetricKey.swift
[63/499] Compiling OpenCrypto Utilities.swift
[63/499] Compiling ssl_transcript.cc
[65/499] Emitting module COperatingSystem
[66/499] Compiling COperatingSystem Exports.swift
[66/500] Compiling ssl_stat.cc
[69/500] Compiling RoutingKit Parameters.swift
[70/501] Emitting module CoreMetrics
[71/501] Compiling CoreMetrics Locks.swift
[72/502] Compiling OpenCrypto AES.swift
[73/502] Compiling OpenCrypto ChaChaPoly.swift
[74/502] Compiling OpenCrypto Digest.swift
[75/502] Compiling OpenCrypto Errors.swift
[76/502] Compiling OpenCrypto Exports.swift
[77/502] Compiling OpenCrypto HMAC.swift
[78/502] Emitting module OpenCrypto
error: fatalError
[80/502] Compiling ssl_file.cc
[80/502] Compiling ssl_key_share.cc
[80/502] Compiling ssl_lib.cc
[80/502] Compiling ssl_session.cc
[80/502] Compiling ssl_privkey.cc
[81/502] Compiling Logging LogHandler.swift
[82/502] Compiling Logging Locks.swift
[0/1] Planning build
Building for debugging...
[0/420] Compiling ssl_file.cc
[1/420] Compiling ssl_buffer.cc
[2/420] Compiling ssl_cipher.cc
[3/420] Compiling ssl_privkey.cc
[4/420] Write swift-version-24593BA9C3E375BF.txt
[5/420] Compiling ssl_cert.cc
[6/420] Compiling ssl_key_share.cc
[7/420] Compiling ssl_session.cc
[9/426] Compiling Logging Locks.swift
[10/427] Emitting module Logging
[10/427] Compiling ssl_lib.cc
[12/427] Compiling OpenCrypto OpenSSLHashFunction.swift
/host/spi-builder-workspace/.build/checkouts/open-crypto/Sources/OpenCrypto/OpenSSLHashFunction.swift:15:28: error: cannot find 'EVP_MD_size' in scope
        return numericCast(EVP_MD_size(convert(self.algorithm)))
                           ^~~~~~~~~~~
[13/427] Compiling OpenCrypto OpenSSLCipherFunction.swift
/host/spi-builder-workspace/.build/checkouts/open-crypto/Sources/OpenCrypto/OpenSSLCipherFunction.swift:101:43: error: cannot find 'EVP_CIPHER_key_length' in scope
        guard key.bitCount == numericCast(EVP_CIPHER_key_length(convert(algorithm))) * 8 else {
                                          ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/open-crypto/Sources/OpenCrypto/OpenSSLCipherFunction.swift:104:39: error: cannot find 'EVP_CIPHER_iv_length' in scope
        guard iv.count == numericCast(EVP_CIPHER_iv_length(convert(algorithm))) else {
                                      ^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/open-crypto/Sources/OpenCrypto/OpenSSLCipherFunction.swift:129:75: error: cannot find 'EVP_CIPHER_block_size' in scope
        var chunk = [UInt8](repeating: 0, count: data.count + numericCast(EVP_CIPHER_block_size(convert(algorithm))) - 1)
                                                                          ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/open-crypto/Sources/OpenCrypto/OpenSSLCipherFunction.swift:149:62: error: cannot find 'EVP_CIPHER_block_size' in scope
        var chunk = [UInt8](repeating: 0, count: numericCast(EVP_CIPHER_block_size(convert(algorithm))))
                                                             ^~~~~~~~~~~~~~~~~~~~~
[14/427] Emitting module OpenCrypto
[14/427] Compiling ssl_asn1.cc
error: fatalError
[15/427] Compiling s3_lib.cc
[15/427] Compiling ssl_aead_ctx.cc
[15/427] Compiling handshake_server.cc
[15/427] Compiling s3_both.cc
[15/427] Compiling s3_pkt.cc
BUILD FAILURE 5.10 linux

Build Machine: Linux 2