The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Kitura-CredentialsJWT 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-CredentialsJWT.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-CredentialsJWT
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 232caa8 Update jazzy docs (#13)
Cloned https://github.com/Kitura/Kitura-CredentialsJWT.git
Revision (git rev-parse @):
232caa8e49cfb20474960a058ef4edab52dc1e5c
SUCCESS checkout https://github.com/Kitura/Kitura-CredentialsJWT.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/Kitura/Kitura-CredentialsJWT.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/Swift-JWT.git
Fetching https://github.com/Kitura/Kitura-Credentials.git
[1/1797] Fetching kitura-credentials
[271/3334] Fetching kitura-credentials, swift-jwt
Fetched https://github.com/Kitura/Swift-JWT.git from cache (0.31s)
Fetched https://github.com/Kitura/Kitura-Credentials.git from cache (0.31s)
Computing version for https://github.com/Kitura/Kitura-Credentials.git
Computed https://github.com/Kitura/Kitura-Credentials.git at 2.5.200 (0.37s)
Fetching https://github.com/Kitura/Kitura-Session.git
[1/1561] Fetching kitura-session
Fetched https://github.com/Kitura/Kitura-Session.git from cache (0.29s)
Computing version for https://github.com/Kitura/Swift-JWT.git
Computed https://github.com/Kitura/Swift-JWT.git at 3.6.201 (0.39s)
Fetching https://github.com/Kitura/BlueCryptor.git
Fetching https://github.com/Kitura/KituraContracts.git
Fetching https://github.com/Kitura/LoggerAPI.git
Fetching https://github.com/Kitura/BlueECC.git
Fetching https://github.com/Kitura/BlueRSA.git
[1/1957] Fetching bluersa
[138/4500] Fetching bluersa, kituracontracts
[2620/5453] Fetching bluersa, kituracontracts, blueecc
[2944/7091] Fetching bluersa, kituracontracts, blueecc, bluecryptor
[4427/7862] Fetching bluersa, kituracontracts, blueecc, bluecryptor, loggerapi
Fetched https://github.com/Kitura/BlueECC.git from cache (0.31s)
Fetched https://github.com/Kitura/BlueCryptor.git from cache (0.37s)
Fetched https://github.com/Kitura/LoggerAPI.git from cache (0.37s)
Fetched https://github.com/Kitura/BlueRSA.git from cache (0.38s)
Fetched https://github.com/Kitura/KituraContracts.git from cache (0.38s)
Computing version for https://github.com/Kitura/Kitura-Session.git
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.21s)
Computed https://github.com/Kitura/Swift-JWT.git at 3.6.200 (0.38s)
Computed https://github.com/Kitura/Kitura-Session.git at 3.3.201 (0.00s)
Fetching https://github.com/Kitura/Kitura.git
[1/16909] Fetching kitura
Fetched https://github.com/Kitura/Kitura.git from cache (0.93s)
Computing version for https://github.com/Kitura/KituraContracts.git
Computed https://github.com/Kitura/KituraContracts.git at 1.2.201 (0.37s)
Computing version for https://github.com/Kitura/LoggerAPI.git
Computed https://github.com/Kitura/LoggerAPI.git at 1.9.200 (0.38s)
Fetching https://github.com/apple/swift-log.git
[1/3170] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.35s)
Computing version for https://github.com/Kitura/BlueRSA.git
Computed https://github.com/Kitura/BlueRSA.git at 1.0.201 (0.40s)
Computing version for https://github.com/Kitura/OpenSSL.git
Computed https://github.com/Kitura/OpenSSL.git at 2.3.1 (1.01s)
Computing version for https://github.com/Kitura/BlueECC.git
Computed https://github.com/Kitura/BlueECC.git at 1.2.201 (0.39s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.5.4 (0.38s)
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/Kitura-TemplateEngine.git
Fetching https://github.com/Kitura/Kitura-net.git
[1/438] Fetching kitura-templateengine
[439/9982] Fetching kitura-templateengine, kitura-net
[1394/10441] Fetching kitura-templateengine, kitura-net, typedecoder
Fetched https://github.com/Kitura/Kitura-TemplateEngine.git from cache (0.60s)
Fetched https://github.com/Kitura/TypeDecoder.git from cache (0.60s)
Fetched https://github.com/Kitura/Kitura-net.git from cache (0.61s)
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.41s)
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
[433/2742] Fetching bluesignals, bluesslservice
[781/5684] Fetching bluesignals, bluesslservice, bluesocket
Fetched https://github.com/Kitura/BlueSSLService.git from cache (0.27s)
Fetched https://github.com/Kitura/BlueSignals.git from cache (0.32s)
Fetched https://github.com/Kitura/BlueSocket.git from cache (0.32s)
Computing version for https://github.com/Kitura/BlueSignals.git
Computed https://github.com/Kitura/BlueSignals.git at 1.0.200 (0.37s)
Computing version for https://github.com/Kitura/BlueSSLService.git
Computed https://github.com/Kitura/BlueSSLService.git at 1.0.200 (0.40s)
Computing version for https://github.com/Kitura/BlueSocket.git
Computed https://github.com/Kitura/BlueSocket.git at 1.0.200 (0.39s)
Computing version for https://github.com/Kitura/TypeDecoder.git
Computed https://github.com/Kitura/TypeDecoder.git at 1.3.201 (0.38s)
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-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/BlueECC.git
Working copy of https://github.com/Kitura/BlueECC.git resolved at 1.2.201
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/BlueSocket.git
Working copy of https://github.com/Kitura/BlueSocket.git resolved at 1.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
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/Swift-JWT.git
Working copy of https://github.com/Kitura/Swift-JWT.git resolved at 3.6.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/Kitura.git
Working copy of https://github.com/Kitura/Kitura.git resolved at 2.9.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-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-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/BlueRSA.git
Working copy of https://github.com/Kitura/BlueRSA.git resolved at 1.0.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/KituraContracts.git
Working copy of https://github.com/Kitura/KituraContracts.git resolved at 1.2.201
Building for debugging...
[0/20] Write sources
[17/20] Compiling CHTTPParser utils.c
[18/20] Compiling CHTTPParser http_parser.c
[19/20] Write swift-version-24593BA9C3E375BF.txt
[21/66] Emitting module KituraTemplateEngine
[22/66] Compiling KituraTemplateEngine TemplateEngine.swift
[24/67] Emitting module TypeDecoder
[25/67] Compiling Logging MetadataProvider.swift
[26/67] Compiling CryptorECC ECError.swift
[27/67] Compiling CryptorECC ECPrivateKey.swift
[28/67] Compiling Cryptor Updatable.swift
[29/67] Compiling CryptorECC ECSignable.swift
[30/69] Compiling Socket SocketUtils.swift
[31/69] Emitting module Signals
[32/69] Compiling Signals Signals.swift
[33/69] Compiling Socket SocketProtocols.swift
[34/69] Compiling Cryptor Crypto.swift
[35/69] Compiling Cryptor Cryptor.swift
[36/69] Emitting module CryptorECC
[37/70] Compiling CryptorRSA CryptorRSAUtilities.swift
[39/71] Compiling CryptorRSA Data+Extensions.swift
[40/71] Compiling CryptorECC ECSignature.swift
[41/71] Compiling CryptorECC EllipticCurve.swift
[42/71] Compiling CryptorRSA CryptorRSADigest.swift
[43/71] Compiling CryptorRSA CryptorRSAConstants.swift
[44/71] Compiling CryptorRSA CryptorRSAErrors.swift
[45/71] Emitting module CryptorRSA
[46/71] Compiling CryptorECC SSLPointerTricks.swift
[49/71] Compiling CryptorECC ECDecryptable.swift
[50/71] Compiling Cryptor HMAC.swift
[51/71] Compiling CryptorECC ECPublicKey.swift
[54/71] Emitting module Cryptor
[57/72] Compiling CryptorRSA CryptorRSA.swift
/host/spi-builder-workspace/.build/checkouts/BlueRSA/Sources/CryptorRSA/CryptorRSA.swift:476:61: error: cannot find 'EVP_PKEY_size' in scope
                                ek = UnsafeMutablePointer<UInt8>.allocate(capacity: Int(EVP_PKEY_size(.make(optional: key.reference))))
                                                                                        ^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/BlueRSA/Sources/CryptorRSA/CryptorRSA.swift:476:76: error: cannot infer contextual base in reference to member 'make'
                                ek = UnsafeMutablePointer<UInt8>.allocate(capacity: Int(EVP_PKEY_size(.make(optional: key.reference))))
                                                                                                      ~^~~~
/host/spi-builder-workspace/.build/checkouts/BlueRSA/Sources/CryptorRSA/CryptorRSA.swift:481:20: error: cannot find 'EVP_CIPHER_iv_length' in scope
                                let IVLength = EVP_CIPHER_iv_length(.make(optional: enc))
                                               ^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/BlueRSA/Sources/CryptorRSA/CryptorRSA.swift:481:42: error: cannot infer contextual base in reference to member 'make'
                                let IVLength = EVP_CIPHER_iv_length(.make(optional: enc))
                                                                    ~^~~~
/host/spi-builder-workspace/.build/checkouts/BlueRSA/Sources/CryptorRSA/CryptorRSA.swift:688:28: error: cannot find 'EVP_PKEY_size' in scope
                                let encKeyLength = Int(EVP_PKEY_size(.make(optional: key.reference)))
                                                       ^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/BlueRSA/Sources/CryptorRSA/CryptorRSA.swift:688:43: error: cannot infer contextual base in reference to member 'make'
                                let encKeyLength = Int(EVP_PKEY_size(.make(optional: key.reference)))
                                                                     ~^~~~
/host/spi-builder-workspace/.build/checkouts/BlueRSA/Sources/CryptorRSA/CryptorRSA.swift:690:27: error: cannot find 'EVP_CIPHER_iv_length' in scope
                                let encIVLength = Int(EVP_CIPHER_iv_length(.make(optional: encType)))
                                                      ^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/BlueRSA/Sources/CryptorRSA/CryptorRSA.swift:690:49: error: cannot infer contextual base in reference to member 'make'
                                let encIVLength = Int(EVP_CIPHER_iv_length(.make(optional: encType)))
                                                                           ~^~~~
/host/spi-builder-workspace/.build/checkouts/BlueRSA/Sources/CryptorRSA/CryptorRSA.swift:697:74: error: cannot convert value of type 'String' to expected argument type 'Data.Index' (aka 'Int')
                                let encryptedData = self.data.subdata(in: encKeyLength..<encKeyLength+encryptedDataLength)
                                                                                                     ^
/host/spi-builder-workspace/.build/checkouts/BlueRSA/Sources/CryptorRSA/CryptorRSA.swift:698:57: error: cannot convert value of type 'String' to expected argument type 'Data.Index' (aka 'Int')
                                let encryptedIV = self.data.subdata(in: encKeyLength+encryptedDataLength..<self.data.count)
                                                                                    ^
[58/72] Compiling CryptorRSA CryptorRSAKey.swift
[59/72] Compiling CryptorRSA SSLPointerTricks.swift
error: fatalError
[61/72] Emitting module Socket
[62/72] Emitting module Logging
[63/72] Compiling Logging LogHandler.swift
[64/72] Compiling Logging Locks.swift
[65/72] Compiling TypeDecoder OrderedDictionary.swift
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/16] Compiling Cryptor Status.swift
[3/20] Compiling Cryptor SSLPointerTricks.swift
[4/21] Emitting module Cryptor
[5/22] Compiling Cryptor Cryptor.swift
[6/23] Emitting module CryptorECC
[7/24] Emitting module CryptorRSA
[9/24] Compiling Cryptor Utilities.swift
[10/24] Compiling Cryptor Updatable.swift
[11/24] Compiling Cryptor Random.swift
[12/24] Compiling Cryptor HMAC.swift
[13/24] Compiling Cryptor Crypto.swift
[14/24] Compiling Cryptor Digest.swift
[15/24] Compiling Cryptor KeyDerivation.swift
[16/24] Compiling Cryptor StreamCryptor.swift
[17/25] Compiling CryptorRSA CryptorRSA.swift
/host/spi-builder-workspace/.build/checkouts/BlueRSA/Sources/CryptorRSA/CryptorRSA.swift:476:61: error: cannot find 'EVP_PKEY_size' in scope
                                ek = UnsafeMutablePointer<UInt8>.allocate(capacity: Int(EVP_PKEY_size(.make(optional: key.reference))))
                                                                                        ^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/BlueRSA/Sources/CryptorRSA/CryptorRSA.swift:476:76: error: cannot infer contextual base in reference to member 'make'
                                ek = UnsafeMutablePointer<UInt8>.allocate(capacity: Int(EVP_PKEY_size(.make(optional: key.reference))))
                                                                                                      ~^~~~
/host/spi-builder-workspace/.build/checkouts/BlueRSA/Sources/CryptorRSA/CryptorRSA.swift:481:20: error: cannot find 'EVP_CIPHER_iv_length' in scope
                                let IVLength = EVP_CIPHER_iv_length(.make(optional: enc))
                                               ^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/BlueRSA/Sources/CryptorRSA/CryptorRSA.swift:481:42: error: cannot infer contextual base in reference to member 'make'
                                let IVLength = EVP_CIPHER_iv_length(.make(optional: enc))
                                                                    ~^~~~
/host/spi-builder-workspace/.build/checkouts/BlueRSA/Sources/CryptorRSA/CryptorRSA.swift:688:28: error: cannot find 'EVP_PKEY_size' in scope
                                let encKeyLength = Int(EVP_PKEY_size(.make(optional: key.reference)))
                                                       ^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/BlueRSA/Sources/CryptorRSA/CryptorRSA.swift:688:43: error: cannot infer contextual base in reference to member 'make'
                                let encKeyLength = Int(EVP_PKEY_size(.make(optional: key.reference)))
                                                                     ~^~~~
/host/spi-builder-workspace/.build/checkouts/BlueRSA/Sources/CryptorRSA/CryptorRSA.swift:690:27: error: cannot find 'EVP_CIPHER_iv_length' in scope
                                let encIVLength = Int(EVP_CIPHER_iv_length(.make(optional: encType)))
                                                      ^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/BlueRSA/Sources/CryptorRSA/CryptorRSA.swift:690:49: error: cannot infer contextual base in reference to member 'make'
                                let encIVLength = Int(EVP_CIPHER_iv_length(.make(optional: encType)))
                                                                           ~^~~~
/host/spi-builder-workspace/.build/checkouts/BlueRSA/Sources/CryptorRSA/CryptorRSA.swift:697:74: error: cannot convert value of type 'String' to expected argument type 'Data.Index' (aka 'Int')
                                let encryptedData = self.data.subdata(in: encKeyLength..<encKeyLength+encryptedDataLength)
                                                                                                     ^
/host/spi-builder-workspace/.build/checkouts/BlueRSA/Sources/CryptorRSA/CryptorRSA.swift:698:57: error: cannot convert value of type 'String' to expected argument type 'Data.Index' (aka 'Int')
                                let encryptedIV = self.data.subdata(in: encKeyLength+encryptedDataLength..<self.data.count)
                                                                                    ^
error: fatalError
[19/25] Emitting module Socket
[20/25] Compiling Logging Locks.swift
[21/25] Emitting module TypeDecoder
[22/25] Emitting module Logging
BUILD FAILURE 5.10 linux

Build Machine: Linux 1