Build Information
Failed to build SwiftJWT 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/Swift-JWT.git
Reference: 4.0.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/Kitura/Swift-JWT
* tag 4.0.1 -> FETCH_HEAD
HEAD is now at f68ec28 Update podspec for 4.0.1
Cloned https://github.com/Kitura/Swift-JWT.git
Revision (git rev-parse @):
f68ec28fbd90a651597e9e825ea7f315f8d52a1f
SUCCESS checkout https://github.com/Kitura/Swift-JWT.git at 4.0.1
========================================
Build
========================================
Selected platform: linux
Swift version: 5.10
Building package at path: $workDir
https://github.com/Kitura/Swift-JWT.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/LoggerAPI.git
Fetching https://github.com/Kitura/BlueCryptor.git
Fetching https://github.com/Kitura/BlueECC.git
Fetching https://github.com/Kitura/BlueRSA.git
Fetching https://github.com/Kitura/KituraContracts.git
[1/771] Fetching loggerapi
[271/2728] Fetching loggerapi, bluersa
[2123/3681] Fetching loggerapi, bluersa, blueecc
[2434/5319] Fetching loggerapi, bluersa, blueecc, bluecryptor
[3771/7862] Fetching loggerapi, bluersa, blueecc, bluecryptor, kituracontracts
Fetched https://github.com/Kitura/BlueECC.git from cache (0.33s)
Fetched https://github.com/Kitura/BlueCryptor.git from cache (0.33s)
Fetched https://github.com/Kitura/BlueRSA.git from cache (0.33s)
[2272/3314] Fetching loggerapi, kituracontracts
Fetched https://github.com/Kitura/LoggerAPI.git from cache (0.33s)
[1526/2543] Fetching kituracontracts
Fetched https://github.com/Kitura/KituraContracts.git from cache (0.48s)
Computing version for https://github.com/Kitura/KituraContracts.git
Computed https://github.com/Kitura/KituraContracts.git at 2.0.1 (0.44s)
Computing version for https://github.com/Kitura/LoggerAPI.git
Computed https://github.com/Kitura/LoggerAPI.git at 2.0.0 (0.45s)
Fetching https://github.com/apple/swift-log.git
[1/3169] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.41s)
Computing version for https://github.com/Kitura/BlueECC.git
Computed https://github.com/Kitura/BlueECC.git at 1.2.201 (0.50s)
Fetching https://github.com/Kitura/OpenSSL.git
[1/203] Fetching openssl
Fetched https://github.com/Kitura/OpenSSL.git from cache (0.22s)
Computing version for https://github.com/Kitura/OpenSSL.git
Computed https://github.com/Kitura/OpenSSL.git at 2.3.1 (1.40s)
Computing version for https://github.com/Kitura/BlueCryptor.git
Computed https://github.com/Kitura/BlueCryptor.git at 2.0.2 (0.57s)
Computing version for https://github.com/Kitura/BlueRSA.git
Computed https://github.com/Kitura/BlueRSA.git at 1.0.201 (0.50s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.5.4 (0.45s)
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/BlueCryptor.git
Working copy of https://github.com/Kitura/BlueCryptor.git resolved at 2.0.2
Creating working copy for https://github.com/Kitura/LoggerAPI.git
Working copy of https://github.com/Kitura/LoggerAPI.git resolved at 2.0.0
Creating working copy for https://github.com/Kitura/KituraContracts.git
Working copy of https://github.com/Kitura/KituraContracts.git resolved at 2.0.1
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/BlueECC.git
Working copy of https://github.com/Kitura/BlueECC.git resolved at 1.2.201
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
Building for debugging...
[0/8] Write sources
[7/8] Write swift-version-24593BA9C3E375BF.txt
[9/43] Emitting module CryptorECC
[10/44] Compiling Cryptor Crypto.swift
[11/44] Compiling Cryptor Cryptor.swift
[12/44] Compiling Cryptor Updatable.swift
[13/45] Compiling Cryptor Digest.swift
[14/45] Compiling Cryptor HMAC.swift
[15/45] Compiling CryptorECC ECPublicKey.swift
[16/45] Emitting module Cryptor
[17/45] Compiling CryptorRSA CryptorRSADigest.swift
[19/45] Compiling CryptorRSA Data+Extensions.swift
[21/45] Compiling CryptorECC ECSignable.swift
[22/45] Compiling CryptorECC ECSignature.swift
[25/46] Compiling Cryptor KeyDerivation.swift
[26/46] Compiling Cryptor Random.swift
[27/46] Compiling Cryptor Status.swift
[30/46] Compiling Cryptor SSLPointerTricks.swift
[31/46] Compiling Logging MetadataProvider.swift
[32/46] Compiling Logging Locks.swift
[33/46] Compiling CryptorRSA CryptorRSAConstants.swift
[34/46] 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)
^
[35/46] Emitting module CryptorRSA
[36/46] Compiling CryptorRSA CryptorRSAUtilities.swift
[37/46] Compiling CryptorECC EllipticCurve.swift
[38/46] Compiling CryptorECC SSLPointerTricks.swift
[39/47] Compiling CryptorRSA CryptorRSAErrors.swift
[40/47] Compiling CryptorRSA CryptorRSAKey.swift
[41/47] Compiling CryptorRSA SSLPointerTricks.swift
[43/47] Compiling Cryptor StreamCryptor.swift
error: fatalError
[44/47] Emitting module Logging
[45/47] Compiling Logging LogHandler.swift
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/7] Emitting module Cryptor
[3/7] Compiling Cryptor Utilities.swift
[4/13] Emitting module CryptorRSA
[5/13] 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)
^
[6/13] Compiling Cryptor Random.swift
[7/13] Compiling Cryptor Status.swift
[8/13] Compiling Cryptor KeyDerivation.swift
[9/13] Compiling Cryptor Crypto.swift
[10/13] Compiling Cryptor Digest.swift
[11/13] Compiling Cryptor StreamCryptor.swift
error: fatalError
[13/14] Emitting module Logging
BUILD FAILURE 5.10 linux