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-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/Kitura/Kitura-CredentialsJWT.git
Reference: 1.0.200
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
 * tag               1.0.200    -> FETCH_HEAD
HEAD is now at e58cdc8 Update package reference to community versions; update domain to kitura.dev
Cloned https://github.com/Kitura/Kitura-CredentialsJWT.git
Revision (git rev-parse @):
e58cdc80d6256668b9ed6539c92eb1eb8aa9648a
SUCCESS checkout https://github.com/Kitura/Kitura-CredentialsJWT.git at 1.0.200
========================================
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-4609320-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
Fetching https://github.com/Kitura/Swift-JWT.git
[1/1537] Fetching swift-jwt
[662/3334] Fetching swift-jwt, kitura-credentials
Fetched https://github.com/Kitura/Swift-JWT.git from cache (0.32s)
Fetched https://github.com/Kitura/Kitura-Credentials.git from cache (0.33s)
Computing version for https://github.com/Kitura/Kitura-Credentials.git
Computed https://github.com/Kitura/Kitura-Credentials.git at 2.5.200 (0.44s)
Fetching https://github.com/Kitura/Kitura-Session.git
[1/1561] Fetching kitura-session
Fetched https://github.com/Kitura/Kitura-Session.git from cache (0.30s)
Computing version for https://github.com/Kitura/Swift-JWT.git
Computed https://github.com/Kitura/Swift-JWT.git at 3.6.201 (0.43s)
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/BlueCryptor.git
Fetching https://github.com/Kitura/BlueRSA.git
[1/2543] Fetching kituracontracts
[281/4181] Fetching kituracontracts, bluecryptor
[553/5134] Fetching kituracontracts, bluecryptor, blueecc
[977/5905] Fetching kituracontracts, bluecryptor, blueecc, loggerapi
Fetched https://github.com/Kitura/BlueCryptor.git from cache (0.33s)
Fetched https://github.com/Kitura/LoggerAPI.git from cache (0.33s)
Fetched https://github.com/Kitura/BlueECC.git from cache (0.33s)
[2543/2543] Fetching kituracontracts
Fetched https://github.com/Kitura/KituraContracts.git from cache (0.42s)
[1/1957] Fetching bluersa
Fetched https://github.com/Kitura/BlueRSA.git from cache (0.71s)
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.45s)
Fetching https://github.com/Kitura/OpenSSL.git
[1/203] Fetching openssl
Fetched https://github.com/Kitura/OpenSSL.git from cache (0.22s)
Computed https://github.com/Kitura/Swift-JWT.git at 3.6.200 (0.43s)
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 (1.16s)
Computing version for https://github.com/Kitura/KituraContracts.git
Computed https://github.com/Kitura/KituraContracts.git at 1.2.201 (0.43s)
Computing version for https://github.com/Kitura/LoggerAPI.git
Computed https://github.com/Kitura/LoggerAPI.git at 1.9.200 (0.44s)
Fetching https://github.com/apple/swift-log.git
[1/3170] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.38s)
Computing version for https://github.com/Kitura/BlueRSA.git
Computed https://github.com/Kitura/BlueRSA.git at 1.0.201 (0.47s)
Computing version for https://github.com/Kitura/OpenSSL.git
Computed https://github.com/Kitura/OpenSSL.git at 2.3.1 (1.25s)
Computing version for https://github.com/Kitura/BlueECC.git
Computed https://github.com/Kitura/BlueECC.git at 1.2.201 (0.46s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.5.4 (0.43s)
Computing version for https://github.com/Kitura/Kitura.git
Computed https://github.com/Kitura/Kitura.git at 2.9.200 (0.46s)
Fetching https://github.com/Kitura/Kitura-net.git
Fetching https://github.com/Kitura/TypeDecoder.git
Fetching https://github.com/Kitura/Kitura-TemplateEngine.git
[1/438] Fetching kitura-templateengine
[72/897] Fetching kitura-templateengine, typedecoder
[898/10441] Fetching kitura-templateengine, typedecoder, kitura-net
Fetched https://github.com/Kitura/TypeDecoder.git from cache (0.27s)
[1679/9982] Fetching kitura-templateengine, kitura-net
Fetched https://github.com/Kitura/Kitura-TemplateEngine.git from cache (0.68s)
Fetched https://github.com/Kitura/Kitura-net.git from cache (0.69s)
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.47s)
Fetching https://github.com/Kitura/BlueSignals.git
Fetching https://github.com/Kitura/BlueSSLService.git
Fetching https://github.com/Kitura/BlueSocket.git
[1/2942] Fetching bluesocket
[119/5030] Fetching bluesocket, bluesslservice
[593/5684] Fetching bluesocket, bluesslservice, bluesignals
Fetched https://github.com/Kitura/BlueSignals.git from cache (0.30s)
Fetched https://github.com/Kitura/BlueSSLService.git from cache (0.30s)
Fetched https://github.com/Kitura/BlueSocket.git from cache (0.35s)
Computing version for https://github.com/Kitura/BlueSignals.git
Computed https://github.com/Kitura/BlueSignals.git at 1.0.200 (0.43s)
Computing version for https://github.com/Kitura/BlueSSLService.git
Computed https://github.com/Kitura/BlueSSLService.git at 1.0.200 (0.45s)
Computing version for https://github.com/Kitura/BlueSocket.git
Computed https://github.com/Kitura/BlueSocket.git at 1.0.200 (0.42s)
Computing version for https://github.com/Kitura/TypeDecoder.git
Computed https://github.com/Kitura/TypeDecoder.git at 1.3.201 (0.42s)
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/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/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/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-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/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-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/LoggerAPI.git
Working copy of https://github.com/Kitura/LoggerAPI.git resolved at 1.9.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/TypeDecoder.git
Working copy of https://github.com/Kitura/TypeDecoder.git resolved at 1.3.201
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/Kitura.git
Working copy of https://github.com/Kitura/Kitura.git resolved at 2.9.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-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/Kitura-Session.git
Working copy of https://github.com/Kitura/Kitura-Session.git resolved at 3.3.201
Building for debugging...
[0/20] Write sources
[17/20] Compiling CHTTPParser utils.c
[18/20] Write swift-version-24593BA9C3E375BF.txt
[19/20] Compiling CHTTPParser http_parser.c
[21/66] Emitting module Signals
[22/66] Emitting module Cryptor
[23/67] Emitting module KituraTemplateEngine
[24/67] Compiling KituraTemplateEngine TemplateEngine.swift
[26/68] Compiling Cryptor SSLPointerTricks.swift
[27/68] Compiling Cryptor Digest.swift
[28/68] Compiling Cryptor HMAC.swift
[29/69] Compiling CryptorRSA Data+Extensions.swift
[30/70] Emitting module Logging
[31/70] Compiling Logging Locks.swift
[32/70] Compiling CryptorRSA SSLPointerTricks.swift
[33/70] Compiling Cryptor Updatable.swift
[34/70] Compiling Logging MetadataProvider.swift
[35/70] Compiling CryptorRSA CryptorRSAUtilities.swift
[36/70] Compiling CryptorRSA CryptorRSADigest.swift
[37/70] Compiling CryptorRSA CryptorRSAErrors.swift
[38/70] Compiling CryptorRSA CryptorRSAKey.swift
[39/70] Compiling Socket SocketProtocols.swift
[40/70] Compiling Socket SocketUtils.swift
[41/70] Compiling Signals Signals.swift
[42/70] Compiling CryptorECC SSLPointerTricks.swift
[43/70] Compiling CryptorRSA CryptorRSAConstants.swift
[44/70] Compiling Cryptor KeyDerivation.swift
[45/70] Compiling Cryptor Random.swift
[46/70] Compiling CryptorECC ECSignable.swift
[47/71] Compiling Cryptor Crypto.swift
[48/71] Compiling Cryptor Cryptor.swift
[53/71] Emitting module CryptorECC
[56/71] 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)
                                                                                    ^
[57/71] Emitting module CryptorRSA
[58/71] Compiling CryptorECC ECSignature.swift
[59/71] Compiling CryptorECC ECPublicKey.swift
[60/71] Compiling CryptorECC EllipticCurve.swift
[62/72] Compiling Cryptor Utilities.swift
[64/72] Compiling Cryptor StreamCryptor.swift
[65/72] Compiling Cryptor Status.swift
error: fatalError
[66/73] Compiling Logging LogHandler.swift
[67/73] Compiling TypeDecoder OrderedDictionary.swift
[68/73] Emitting module TypeDecoder
[69/73] Emitting module Socket
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/12] Emitting module Signals
[4/13] Emitting module TypeDecoder
[5/13] Emitting module Cryptor
[6/13] Emitting module CryptorECC
[9/15] Emitting module CryptorRSA
[10/15] 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
[11/15] Emitting module Logging
[12/15] Emitting module Socket
BUILD FAILURE 5.10 linux

Build Machine: Linux 2