Build Information
Failed to build SwiftJWT, reference 4.0.2 (2cf7ef
), with Swift 5.10 for Linux on 14 Nov 2024 09:43:33 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.57.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Kitura/Swift-JWT.git
Reference: 4.0.2
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.2 -> FETCH_HEAD
HEAD is now at 2cf7ef3 Bump minimum BlueRSA version to 1.0.202
Cloned https://github.com/Kitura/Swift-JWT.git
Revision (git rev-parse @):
2cf7ef3eeb0df84318c75662c257651285f8289f
SUCCESS checkout https://github.com/Kitura/Swift-JWT.git at 4.0.2
========================================
Build
========================================
Selected platform: linux
Swift version: 5.10
Building package at path: $PWD
https://github.com/Kitura/Swift-JWT.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:bbf8567030a4fa53b55a34fff1a818ffa3e86e892fedc5d8aa9c6958f48fdf8a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Fetching https://github.com/Kitura/LoggerAPI.git
Fetching https://github.com/Kitura/KituraContracts.git
Fetching https://github.com/Kitura/BlueECC.git
Fetching https://github.com/Kitura/BlueCryptor.git
Fetching https://github.com/Kitura/BlueRSA.git
[1/978] Fetching blueecc
[168/3521] Fetching blueecc, kituracontracts
[280/4292] Fetching blueecc, kituracontracts, loggerapi
[907/5944] Fetching blueecc, kituracontracts, loggerapi, bluecryptor
[1638/7928] Fetching blueecc, kituracontracts, loggerapi, bluecryptor, bluersa
Fetched https://github.com/Kitura/BlueCryptor.git from cache (0.82s)
Fetched https://github.com/Kitura/BlueRSA.git from cache (0.82s)
Fetched https://github.com/Kitura/LoggerAPI.git from cache (0.82s)
Fetched https://github.com/Kitura/BlueECC.git from cache (0.83s)
Fetched https://github.com/Kitura/KituraContracts.git from cache (0.83s)
Computing version for https://github.com/Kitura/KituraContracts.git
Computed https://github.com/Kitura/KituraContracts.git at 2.0.1 (0.77s)
Computing version for https://github.com/Kitura/LoggerAPI.git
Computed https://github.com/Kitura/LoggerAPI.git at 2.0.0 (1.36s)
Fetching https://github.com/apple/swift-log.git
[1/3686] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.52s)
Computing version for https://github.com/Kitura/BlueRSA.git
Computed https://github.com/Kitura/BlueRSA.git at 1.0.202 (0.67s)
Fetching https://github.com/Kitura/OpenSSL.git
[1/203] Fetching openssl
Fetched https://github.com/Kitura/OpenSSL.git from cache (0.26s)
Computing version for https://github.com/Kitura/BlueECC.git
Computed https://github.com/Kitura/BlueECC.git at 1.2.201 (0.47s)
Computing version for https://github.com/Kitura/OpenSSL.git
Computed https://github.com/Kitura/OpenSSL.git at 2.3.1 (1.09s)
Computing version for https://github.com/Kitura/BlueCryptor.git
Computed https://github.com/Kitura/BlueCryptor.git at 2.0.2 (0.56s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.1 (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/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.1
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/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.202
Creating working copy for https://github.com/Kitura/BlueCryptor.git
Working copy of https://github.com/Kitura/BlueCryptor.git resolved at 2.0.2
Building for debugging...
[0/8] Write sources
[7/8] Write swift-version-24593BA9C3E375BF.txt
[9/43] Compiling Cryptor Crypto.swift
[10/43] Compiling Cryptor Cryptor.swift
[11/44] Compiling Cryptor Digest.swift
[12/44] Compiling Cryptor HMAC.swift
[13/44] Compiling Cryptor KeyDerivation.swift
[14/44] Compiling Cryptor Random.swift
[15/44] Emitting module CryptorECC
[16/44] Compiling CryptorECC EllipticCurve.swift
[17/44] Compiling CryptorRSA CryptorRSAErrors.swift
[18/44] Compiling CryptorECC ECSignature.swift
[19/45] Compiling CryptorRSA CryptorRSADigest.swift
[20/45] Compiling Cryptor Updatable.swift
[21/46] Compiling Cryptor SSLPointerTricks.swift
[22/46] Compiling Cryptor Status.swift
[23/46] Compiling Logging MetadataProvider.swift
[24/46] Emitting module Logging
[25/46] Compiling Logging Locks.swift
[26/46] Compiling CryptorRSA Data+Extensions.swift
[27/46] Compiling CryptorRSA SSLPointerTricks.swift
[28/46] Compiling CryptorECC ECPublicKey.swift
[29/46] Compiling CryptorECC ECSignable.swift
[30/46] Compiling CryptorRSA CryptorRSAKey.swift
[31/46] Compiling CryptorRSA CryptorRSAUtilities.swift
[32/46] Compiling CryptorECC SSLPointerTricks.swift
[33/47] Compiling Cryptor StreamCryptor.swift
[40/47] Emitting module Cryptor
[41/47] 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)
^
[42/47] Compiling CryptorRSA CryptorRSAConstants.swift
[43/47] Emitting module CryptorRSA
[44/47] Compiling Logging LogHandler.swift
[45/47] Compiling Logging Logging.swift
[46/48] Compiling Cryptor Utilities.swift
error: fatalError
BUILD FAILURE 5.10 linux