The Swift Package Index logo.Swift Package Index

Build Information

Failed to build CredentialsMicrosoft with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-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/crspybits/CredentialsMicrosoft.git
Reference: 0.2.1
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/crspybits/CredentialsMicrosoft
 * tag               0.2.1      -> FETCH_HEAD
HEAD is now at d77336e version 0.2.1
Cloned https://github.com/crspybits/CredentialsMicrosoft.git
Revision (git rev-parse @):
d77336e9a97a75b89446c0764b6c65818bf4fd9b
SUCCESS checkout https://github.com/crspybits/CredentialsMicrosoft.git at 0.2.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/crspybits/CredentialsMicrosoft.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/IBM-Swift/BlueCryptor.git
Fetching https://github.com/Kitura/Kitura-Credentials.git
Fetching https://github.com/IBM-Swift/BlueECC.git
Fetching https://github.com/IBM-Swift/KituraContracts.git
Fetching https://github.com/IBM-Swift/HeliumLogger.git
[1/1797] Fetching kitura-credentials
[109/2750] Fetching kitura-credentials, blueecc
[374/5293] Fetching kitura-credentials, blueecc, kituracontracts
[649/6560] Fetching kitura-credentials, blueecc, kituracontracts, heliumlogger
[986/9730] Fetching kitura-credentials, blueecc, kituracontracts, heliumlogger, swift-log
[1399/11368] Fetching kitura-credentials, blueecc, kituracontracts, heliumlogger, swift-log, bluecryptor
Fetched https://github.com/IBM-Swift/BlueCryptor.git from cache (0.61s)
Fetching https://github.com/IBM-Swift/BlueRSA.git
[9120/9730] Fetching kitura-credentials, blueecc, kituracontracts, heliumlogger, swift-log
Fetched https://github.com/IBM-Swift/HeliumLogger.git from cache (0.62s)
[7929/8463] Fetching kitura-credentials, blueecc, kituracontracts, swift-log
Fetching https://github.com/IBM-Swift/LoggerAPI.git
Fetched https://github.com/apple/swift-log.git from cache (0.75s)
Fetching https://github.com/IBM-Swift/Swift-JWT.git
Fetched https://github.com/Kitura/Kitura-Credentials.git from cache (0.75s)
Fetched https://github.com/IBM-Swift/BlueECC.git from cache (0.94s)
Fetched https://github.com/IBM-Swift/KituraContracts.git from cache (0.95s)
[8/771] Fetching loggerapi
[294/2728] Fetching loggerapi, bluersa
[2406/4265] Fetching loggerapi, bluersa, swift-jwt
Fetched https://github.com/IBM-Swift/LoggerAPI.git from cache (0.52s)
[2265/3494] Fetching bluersa, swift-jwt
Fetched https://github.com/IBM-Swift/BlueRSA.git from cache (0.64s)
[1507/1537] Fetching swift-jwt
Fetched https://github.com/IBM-Swift/Swift-JWT.git from cache (0.66s)
Computing version for https://github.com/IBM-Swift/HeliumLogger.git
Computed https://github.com/IBM-Swift/HeliumLogger.git at 1.9.0 (0.88s)
Computing version for https://github.com/IBM-Swift/Swift-JWT.git
Computed https://github.com/IBM-Swift/Swift-JWT.git at 3.6.0 (0.84s)
Computing version for https://github.com/Kitura/Kitura-Credentials.git
Computed https://github.com/Kitura/Kitura-Credentials.git at 2.5.0 (0.63s)
Fetching https://github.com/IBM-Swift/Kitura-Session.git
[1/1561] Fetching kitura-session
Fetched https://github.com/IBM-Swift/Kitura-Session.git from cache (0.28s)
Computing version for https://github.com/IBM-Swift/LoggerAPI.git
Computed https://github.com/IBM-Swift/LoggerAPI.git at 1.9.0 (0.44s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.1.1 (0.46s)
Computing version for https://github.com/IBM-Swift/KituraContracts.git
Computed https://github.com/IBM-Swift/KituraContracts.git at 1.2.1 (0.57s)
Computing version for https://github.com/IBM-Swift/BlueECC.git
Computed https://github.com/IBM-Swift/BlueECC.git at 1.2.5 (0.91s)
Fetching https://github.com/IBM-Swift/OpenSSL.git
[1/203] Fetching openssl
Fetched https://github.com/IBM-Swift/OpenSSL.git from cache (0.38s)
Computing version for https://github.com/IBM-Swift/BlueCryptor.git
Computed https://github.com/IBM-Swift/BlueCryptor.git at 1.0.32 (0.58s)
Computing version for https://github.com/IBM-Swift/BlueRSA.git
Computed https://github.com/IBM-Swift/BlueRSA.git at 1.0.34 (0.71s)
Computing version for https://github.com/IBM-Swift/OpenSSL.git
Computed https://github.com/IBM-Swift/OpenSSL.git at 2.3.1 (1.80s)
Computing version for https://github.com/IBM-Swift/Kitura-Session.git
Computed https://github.com/IBM-Swift/Kitura-Session.git at 3.3.4 (1.79s)
Fetching https://github.com/IBM-Swift/Kitura.git
[1/16909] Fetching kitura
Fetched https://github.com/IBM-Swift/Kitura.git from cache (1.05s)
Computing version for https://github.com/IBM-Swift/Kitura.git
Computed https://github.com/IBM-Swift/Kitura.git at 2.9.1 (0.50s)
Fetching https://github.com/IBM-Swift/TypeDecoder.git
Fetching https://github.com/IBM-Swift/Kitura-TemplateEngine.git
Fetching https://github.com/IBM-Swift/Kitura-net.git
[1/459] Fetching typedecoder
[116/897] Fetching typedecoder, kitura-templateengine
[898/10441] Fetching typedecoder, kitura-templateengine, kitura-net
Fetched https://github.com/IBM-Swift/TypeDecoder.git from cache (0.35s)
[3206/9982] Fetching kitura-templateengine, kitura-net
Fetched https://github.com/IBM-Swift/Kitura-TemplateEngine.git from cache (0.72s)
Fetched https://github.com/IBM-Swift/Kitura-net.git from cache (0.74s)
Computing version for https://github.com/IBM-Swift/Kitura-TemplateEngine.git
Computed https://github.com/IBM-Swift/Kitura-TemplateEngine.git at 2.0.200 (0.43s)
Computing version for https://github.com/IBM-Swift/Kitura-net.git
Computed https://github.com/IBM-Swift/Kitura-net.git at 2.4.1 (0.50s)
Fetching https://github.com/Kitura/BlueSignals.git
Fetching https://github.com/Kitura/BlueSSLService.git
Fetching https://github.com/Kitura/BlueSocket.git
[1/654] Fetching bluesignals
[185/3596] Fetching bluesignals, bluesocket
[1156/5684] Fetching bluesignals, bluesocket, bluesslservice
Fetched https://github.com/Kitura/BlueSignals.git from cache (0.26s)
Fetched https://github.com/Kitura/BlueSSLService.git from cache (0.30s)
Fetched https://github.com/Kitura/BlueSocket.git from cache (0.36s)
Computing version for https://github.com/IBM-Swift/TypeDecoder.git
Computed https://github.com/IBM-Swift/TypeDecoder.git at 1.3.201 (0.51s)
Computing version for https://github.com/Kitura/BlueSignals.git
Computed https://github.com/Kitura/BlueSignals.git at 1.0.200 (0.58s)
Computing version for https://github.com/Kitura/BlueSocket.git
Computed https://github.com/Kitura/BlueSocket.git at 1.0.200 (0.47s)
Computing version for https://github.com/Kitura/BlueSSLService.git
Computed https://github.com/Kitura/BlueSSLService.git at 1.0.200 (0.47s)
Creating working copy for https://github.com/IBM-Swift/OpenSSL.git
Working copy of https://github.com/IBM-Swift/OpenSSL.git resolved at 2.3.1
Creating working copy for https://github.com/IBM-Swift/LoggerAPI.git
Working copy of https://github.com/IBM-Swift/LoggerAPI.git resolved at 1.9.0
Creating working copy for https://github.com/IBM-Swift/BlueECC.git
Working copy of https://github.com/IBM-Swift/BlueECC.git resolved at 1.2.5
Creating working copy for https://github.com/IBM-Swift/KituraContracts.git
Working copy of https://github.com/IBM-Swift/KituraContracts.git resolved at 1.2.1
Creating working copy for https://github.com/IBM-Swift/HeliumLogger.git
Working copy of https://github.com/IBM-Swift/HeliumLogger.git resolved at 1.9.0
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/IBM-Swift/BlueCryptor.git
Working copy of https://github.com/IBM-Swift/BlueCryptor.git resolved at 1.0.32
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/IBM-Swift/Swift-JWT.git
Working copy of https://github.com/IBM-Swift/Swift-JWT.git resolved at 3.6.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.1.1
Creating working copy for https://github.com/IBM-Swift/Kitura.git
Working copy of https://github.com/IBM-Swift/Kitura.git resolved at 2.9.1
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.4
Creating working copy for https://github.com/IBM-Swift/Kitura-TemplateEngine.git
Working copy of https://github.com/IBM-Swift/Kitura-TemplateEngine.git resolved at 2.0.200
Creating working copy for https://github.com/IBM-Swift/BlueRSA.git
Working copy of https://github.com/IBM-Swift/BlueRSA.git resolved at 1.0.34
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.0
Creating working copy for https://github.com/IBM-Swift/TypeDecoder.git
Working copy of https://github.com/IBM-Swift/TypeDecoder.git resolved at 1.3.201
Creating working copy for https://github.com/IBM-Swift/Kitura-net.git
Working copy of https://github.com/IBM-Swift/Kitura-net.git resolved at 2.4.1
warning: 'bluesslservice': 'bluesslservice' dependency on 'https://github.com/Kitura/OpenSSL.git' conflicts with dependency on 'https://github.com/IBM-Swift/OpenSSL.git' which has the same identity 'openssl'. this will be escalated to an error in future versions of SwiftPM.
warning: 'kitura-net': 'kitura-net' dependency on 'https://github.com/Kitura/LoggerAPI.git' conflicts with dependency on 'https://github.com/IBM-Swift/LoggerAPI.git' which has the same identity 'loggerapi'. this will be escalated to an error in future versions of SwiftPM.
Building for debugging...
[0/21] Write sources
[18/21] Compiling CHTTPParser utils.c
[19/21] Compiling CHTTPParser http_parser.c
[20/21] Write swift-version-24593BA9C3E375BF.txt
[22/66] Emitting module KituraTemplateEngine
[23/66] Compiling KituraTemplateEngine TemplateEngine.swift
[25/67] Emitting module Logging
[26/67] Compiling CryptorRSA Data+Extensions.swift
[27/68] Emitting module Signals
[28/68] Compiling Signals Signals.swift
[29/68] Compiling CryptorECC ECError.swift
[30/68] Compiling CryptorECC ECPrivateKey.swift
[31/69] Emitting module CryptorRSA
[32/69] Compiling Cryptor Updatable.swift
[33/71] Compiling Cryptor SSLPointerTricks.swift
[34/71] Emitting module CryptorECC
[35/71] Compiling CryptorECC ECDecryptable.swift
[36/71] Compiling CryptorECC ECEncryptable.swift
[37/71] Compiling Socket SocketUtils.swift
[38/71] Compiling Socket SocketProtocols.swift
[39/71] Compiling CryptorRSA CryptorRSAUtilities.swift
[41/71] Compiling CryptorRSA CryptorRSADigest.swift
[42/71] Compiling CryptorRSA CryptorRSAErrors.swift
[43/71] Compiling CryptorRSA CryptorRSAKey.swift
[44/71] Compiling CryptorRSA SSLPointerTricks.swift
[45/71] Compiling CryptorECC ECPublicKey.swift
[46/71] Compiling CryptorECC ECSignable.swift
[47/71] Compiling Logging Locks.swift
[48/71] Compiling Logging LogHandler.swift
[49/71] Compiling Logging Logging.swift
[50/72] Compiling CryptorECC SSLPointerTricks.swift
[51/72] Compiling CryptorECC ECSignature.swift
[52/72] Compiling CryptorECC EllipticCurve.swift
[54/72] Compiling CryptorRSA CryptorRSAConstants.swift
[55/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)
                                                                                    ^
[56/72] Compiling CryptorECC ASN1.swift
[57/72] Compiling CryptorECC Data+Extensions.swift
[60/72] Emitting module Cryptor
error: fatalError
[65/73] Emitting module Socket
[66/73] Emitting module TypeDecoder
[67/73] Compiling TypeDecoder OrderedDictionary.swift
warning: 'bluesslservice': 'bluesslservice' dependency on 'https://github.com/Kitura/OpenSSL.git' conflicts with dependency on 'https://github.com/IBM-Swift/OpenSSL.git' which has the same identity 'openssl'. this will be escalated to an error in future versions of SwiftPM.
warning: 'kitura-net': 'kitura-net' dependency on 'https://github.com/Kitura/LoggerAPI.git' conflicts with dependency on 'https://github.com/IBM-Swift/LoggerAPI.git' which has the same identity 'loggerapi'. 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/15] Emitting module LoggerAPI
[3/15] Compiling LoggerAPI Logger.swift
[4/15] Emitting module TypeDecoder
[5/15] Emitting module CryptorECC
[7/17] Emitting module Cryptor
[9/30] Compiling Cryptor Utilities.swift
[10/34] Compiling HeliumLogger HeliumStreamLogger.swift
[11/34] Emitting module CryptorRSA
[12/34] 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
[13/34] Emitting module Socket
BUILD FAILURE 5.10 linux

Build Machine: Linux 2