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-4606859-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/crspybits/CredentialsMicrosoft.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/crspybits/CredentialsMicrosoft
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 01c74f2 Update Package.resolved
Cloned https://github.com/crspybits/CredentialsMicrosoft.git
Revision (git rev-parse @):
01c74f249629cc75b3c673e1c440e6a288ba6dde
SUCCESS checkout https://github.com/crspybits/CredentialsMicrosoft.git at master
========================================
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-4606859-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/IBM-Swift/BlueRSA.git
Fetching https://github.com/IBM-Swift/BlueECC.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/IBM-Swift/BlueCryptor.git
Fetching https://github.com/IBM-Swift/Swift-JWT.git
[1/1537] Fetching swift-jwt
[294/3175] Fetching swift-jwt, bluecryptor
[1288/4128] Fetching swift-jwt, bluecryptor, blueecc
[1976/6085] Fetching swift-jwt, bluecryptor, blueecc, bluersa
[3032/7882] Fetching swift-jwt, bluecryptor, blueecc, bluersa, kitura-credentials
[5107/11052] Fetching swift-jwt, bluecryptor, blueecc, bluersa, kitura-credentials, swift-log
Fetched https://github.com/IBM-Swift/Swift-JWT.git from cache (0.35s)
Fetching https://github.com/IBM-Swift/LoggerAPI.git
Fetched https://github.com/IBM-Swift/BlueRSA.git from cache (0.39s)
Fetched https://github.com/IBM-Swift/BlueCryptor.git from cache (0.39s)
Fetching https://github.com/IBM-Swift/Kitura-Session.git
Fetching https://github.com/IBM-Swift/KituraContracts.git
Fetched https://github.com/IBM-Swift/BlueECC.git from cache (0.39s)
Fetching https://github.com/IBM-Swift/HeliumLogger.git
Fetched https://github.com/apple/swift-log.git from cache (0.39s)
Fetched https://github.com/Kitura/Kitura-Credentials.git from cache (0.39s)
[1/771] Fetching loggerapi
[171/2038] Fetching loggerapi, heliumlogger
[1157/3599] Fetching loggerapi, heliumlogger, kitura-session
[1437/6142] Fetching loggerapi, heliumlogger, kitura-session, kituracontracts
Fetched https://github.com/IBM-Swift/LoggerAPI.git from cache (0.30s)
[3897/5371] Fetching heliumlogger, kitura-session, kituracontracts
Fetched https://github.com/IBM-Swift/HeliumLogger.git from cache (0.27s)
Computing version for https://github.com/IBM-Swift/HeliumLogger.git
[3062/4104] Fetching kitura-session, kituracontracts
Fetched https://github.com/IBM-Swift/Kitura-Session.git from cache (0.28s)
[1755/2543] Fetching kituracontracts
Fetched https://github.com/IBM-Swift/KituraContracts.git from cache (0.38s)
Computed https://github.com/IBM-Swift/HeliumLogger.git at 1.9.0 (0.42s)
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.40s)
Computing version for https://github.com/Kitura/Kitura-Credentials.git
Computed https://github.com/Kitura/Kitura-Credentials.git at 2.5.0 (0.38s)
Computing version for https://github.com/IBM-Swift/LoggerAPI.git
Computed https://github.com/IBM-Swift/LoggerAPI.git at 1.9.0 (0.39s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.1.1 (0.40s)
Computing version for https://github.com/IBM-Swift/KituraContracts.git
Computed https://github.com/IBM-Swift/KituraContracts.git at 1.2.1 (0.40s)
Computing version for https://github.com/IBM-Swift/BlueECC.git
Computed https://github.com/IBM-Swift/BlueECC.git at 1.2.5 (0.41s)
Fetching https://github.com/IBM-Swift/OpenSSL.git
[1/203] Fetching openssl
Fetched https://github.com/IBM-Swift/OpenSSL.git from cache (0.21s)
Computing version for https://github.com/IBM-Swift/BlueCryptor.git
Computed https://github.com/IBM-Swift/BlueCryptor.git at 1.0.32 (0.41s)
Computing version for https://github.com/IBM-Swift/BlueRSA.git
Computed https://github.com/IBM-Swift/BlueRSA.git at 1.0.34 (0.41s)
Computing version for https://github.com/IBM-Swift/Kitura-Session.git
Computed https://github.com/IBM-Swift/Kitura-Session.git at 3.3.4 (0.40s)
Fetching https://github.com/IBM-Swift/Kitura.git
[1/16909] Fetching kitura
Fetched https://github.com/IBM-Swift/Kitura.git from cache (0.96s)
Computing version for https://github.com/IBM-Swift/OpenSSL.git
Computed https://github.com/IBM-Swift/OpenSSL.git at 2.3.1 (1.04s)
Computing version for https://github.com/IBM-Swift/Kitura.git
Computed https://github.com/IBM-Swift/Kitura.git at 2.9.1 (0.42s)
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/438] Fetching kitura-templateengine
[435/897] Fetching kitura-templateengine, typedecoder
[898/10441] Fetching kitura-templateengine, typedecoder, kitura-net
Fetched https://github.com/IBM-Swift/TypeDecoder.git from cache (0.28s)
[1393/9982] Fetching kitura-templateengine, kitura-net
Fetched https://github.com/IBM-Swift/Kitura-TemplateEngine.git from cache (0.64s)
Fetched https://github.com/IBM-Swift/Kitura-net.git from cache (0.66s)
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.38s)
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.43s)
Fetching https://github.com/Kitura/BlueSignals.git
Fetching https://github.com/Kitura/BlueSSLService.git
Fetching https://github.com/Kitura/BlueSocket.git
[1/2088] Fetching bluesslservice
[2089/2742] Fetching bluesslservice, bluesignals
[2743/5684] Fetching bluesslservice, bluesignals, bluesocket
Fetched https://github.com/Kitura/BlueSignals.git from cache (0.33s)
Fetched https://github.com/Kitura/BlueSSLService.git from cache (0.33s)
Fetched https://github.com/Kitura/BlueSocket.git from cache (0.33s)
Computing version for https://github.com/IBM-Swift/TypeDecoder.git
Computed https://github.com/IBM-Swift/TypeDecoder.git at 1.3.201 (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/BlueSocket.git
Computed https://github.com/Kitura/BlueSocket.git at 1.0.200 (0.39s)
Computing version for https://github.com/Kitura/BlueSSLService.git
Computed https://github.com/Kitura/BlueSSLService.git at 1.0.200 (0.41s)
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/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/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-net.git
Working copy of https://github.com/IBM-Swift/Kitura-net.git resolved at 2.4.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/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/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/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/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/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/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/BlueCryptor.git
Working copy of https://github.com/IBM-Swift/BlueCryptor.git resolved at 1.0.32
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/Kitura/BlueSignals.git
Working copy of https://github.com/Kitura/BlueSignals.git resolved at 1.0.200
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/BlueRSA.git
Working copy of https://github.com/IBM-Swift/BlueRSA.git resolved at 1.0.34
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 Signals
[23/66] Emitting module TypeDecoder
[24/66] Emitting module KituraTemplateEngine
[25/66] Compiling KituraTemplateEngine TemplateEngine.swift
[27/67] Compiling CryptorECC ECError.swift
[28/67] Compiling CryptorECC ECPrivateKey.swift
[29/68] Compiling CryptorECC ECDecryptable.swift
[30/68] Compiling CryptorECC ECEncryptable.swift
[31/68] Compiling Cryptor Updatable.swift
[32/68] Compiling CryptorRSA Data+Extensions.swift
[33/68] Emitting module Cryptor
[34/68] Compiling CryptorECC ASN1.swift
[35/68] Compiling CryptorECC Data+Extensions.swift
[36/69] Compiling Socket SocketProtocols.swift
[37/69] Compiling Socket SocketUtils.swift
[38/69] Compiling CryptorRSA CryptorRSADigest.swift
[39/69] Emitting module CryptorECC
[40/69] Compiling CryptorECC ECPublicKey.swift
[41/69] Compiling CryptorECC ECSignable.swift
[44/70] Compiling CryptorECC ECSignature.swift
[45/70] Compiling CryptorECC EllipticCurve.swift
[46/70] Compiling CryptorRSA CryptorRSAUtilities.swift
[47/70] 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)
                                                                                    ^
[48/70] Emitting module CryptorRSA
[49/70] Compiling CryptorRSA CryptorRSAConstants.swift
[50/70] Compiling CryptorRSA CryptorRSAErrors.swift
[51/70] Compiling CryptorRSA CryptorRSAKey.swift
[52/70] Compiling CryptorECC SSLPointerTricks.swift
[53/70] Compiling Signals Signals.swift
[54/70] Compiling Cryptor StreamCryptor.swift
[55/70] Compiling Cryptor SSLPointerTricks.swift
[56/70] Compiling Cryptor Status.swift
[57/70] Compiling CryptorRSA SSLPointerTricks.swift
[58/71] Compiling Logging LogHandler.swift
[59/71] Emitting module Logging
[60/71] Compiling Logging Locks.swift
[61/71] Compiling Logging Logging.swift
error: fatalError
[69/73] Emitting module Socket
[70/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/13] Emitting module Signals
[3/14] Emitting module LoggerAPI
[4/14] Compiling LoggerAPI Logger.swift
[5/14] Emitting module Socket
[7/15] Emitting module CryptorECC
[10/16] Emitting module Cryptor
[11/16] Compiling Cryptor Utilities.swift
[12/35] Compiling KituraContracts BodyDecoder.swift
[13/35] Compiling KituraContracts BodyEncoder.swift
[14/35] Compiling KituraContracts BodyFormat.swift
[15/36] Compiling Cryptor Status.swift
[16/36] Emitting module CryptorRSA
[17/36] 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)
                                                                                    ^
[18/36] Compiling HeliumLogger HeliumStreamLogger.swift
[19/36] Compiling Cryptor Random.swift
error: fatalError
[20/36] Compiling Cryptor KeyDerivation.swift
[21/36] Compiling Cryptor Crypto.swift
[22/36] Emitting module TypeDecoder
BUILD FAILURE 5.10 linux

Build Machine: Linux 1