Build Information
Failed to build SwiftJWT, reference master (29fe08
), with Swift 5.10 for Linux on 19 Nov 2024 07:29:49 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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: 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/Kitura/Swift-JWT
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 29fe084 README: Update shields to refer to swift package index
Cloned https://github.com/Kitura/Swift-JWT.git
Revision (git rev-parse @):
29fe084d874045d22546612d85fae1e9408c9091
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/Kitura/Swift-JWT.git at master
========================================
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-2":/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/BlueECC.git
Fetching https://github.com/Kitura/LoggerAPI.git
Fetching https://github.com/Kitura/BlueCryptor.git
Fetching https://github.com/Kitura/BlueRSA.git
Fetching https://github.com/Kitura/KituraContracts.git
[1/1994] Fetching bluersa
[181/2765] Fetching bluersa, loggerapi
[1407/5308] Fetching bluersa, loggerapi, kituracontracts
[2086/6318] Fetching bluersa, loggerapi, kituracontracts, blueecc
[2842/7970] Fetching bluersa, loggerapi, kituracontracts, blueecc, bluecryptor
Fetched https://github.com/Kitura/BlueRSA.git from cache (0.32s)
Fetched https://github.com/Kitura/BlueECC.git from cache (0.32s)
Fetched https://github.com/Kitura/BlueCryptor.git from cache (0.32s)
Fetched https://github.com/Kitura/LoggerAPI.git from cache (0.32s)
[2238/2543] Fetching kituracontracts
Fetched https://github.com/Kitura/KituraContracts.git from cache (0.42s)
Computing version for https://github.com/Kitura/KituraContracts.git
Computed https://github.com/Kitura/KituraContracts.git at 2.0.1 (0.39s)
Computing version for https://github.com/Kitura/LoggerAPI.git
Computed https://github.com/Kitura/LoggerAPI.git at 2.0.0 (0.38s)
Fetching https://github.com/apple/swift-log.git
[1/3695] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.36s)
Computing version for https://github.com/Kitura/BlueRSA.git
Computed https://github.com/Kitura/BlueRSA.git at 1.0.202 (0.41s)
Fetching https://github.com/Kitura/OpenSSL.git
[1/203] Fetching openssl
Fetched https://github.com/Kitura/OpenSSL.git from cache (0.78s)
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/Kitura/OpenSSL.git
Computed https://github.com/Kitura/OpenSSL.git at 2.3.1 (1.04s)
Computing version for https://github.com/Kitura/BlueCryptor.git
Computed https://github.com/Kitura/BlueCryptor.git at 2.0.2 (0.43s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.1 (0.34s)
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/KituraContracts.git
Working copy of https://github.com/Kitura/KituraContracts.git resolved at 2.0.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/BlueECC.git
Working copy of https://github.com/Kitura/BlueECC.git resolved at 1.2.201
Creating working copy for https://github.com/Kitura/BlueRSA.git
Working copy of https://github.com/Kitura/BlueRSA.git resolved at 1.0.202
Building for debugging...
[0/8] Write sources
[7/8] Write swift-version-24593BA9C3E375BF.txt
[9/43] Emitting module Cryptor
[10/43] Compiling CryptorECC ECError.swift
[11/43] Compiling CryptorECC ECPrivateKey.swift
[12/44] Compiling CryptorECC ASN1.swift
[13/44] Compiling CryptorECC Data+Extensions.swift
[14/44] Compiling CryptorECC ECDecryptable.swift
[15/44] Compiling CryptorECC ECEncryptable.swift
[16/44] Emitting module CryptorECC
[19/44] Compiling Cryptor Updatable.swift
[20/45] Compiling Logging MetadataProvider.swift
[21/45] Compiling Cryptor StreamCryptor.swift
[22/45] Emitting module Logging
[23/45] Compiling CryptorRSA CryptorRSADigest.swift
[24/46] Compiling CryptorECC EllipticCurve.swift
[25/46] Compiling CryptorRSA CryptorRSAConstants.swift
[26/46] Compiling CryptorECC ECPublicKey.swift
[27/46] Compiling CryptorECC ECSignable.swift
[30/46] Compiling CryptorRSA CryptorRSAUtilities.swift
[31/46] Compiling CryptorRSA Data+Extensions.swift
[32/46] Compiling CryptorRSA CryptorRSAErrors.swift
[33/46] Compiling CryptorRSA CryptorRSAKey.swift
[34/46] Compiling CryptorECC ECSignature.swift
[35/46] Compiling CryptorECC SSLPointerTricks.swift
[38/47] Compiling Cryptor Status.swift
[39/47] Compiling Cryptor SSLPointerTricks.swift
[40/47] Emitting module CryptorRSA
[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)
^
[43/47] Compiling CryptorRSA SSLPointerTricks.swift
error: fatalError
[44/47] Compiling Logging Locks.swift
[45/47] Compiling Logging LogHandler.swift
BUILD FAILURE 5.10 linux