The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build SwiftJWT, reference master (f68ec2), with Swift 6.0 for Linux on 3 Nov 2024 00:57:26 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.56.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 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 master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/Kitura/Swift-JWT.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/Kitura/BlueCryptor.git
Fetching https://github.com/Kitura/BlueECC.git
Fetching https://github.com/Kitura/LoggerAPI.git
Fetching https://github.com/Kitura/KituraContracts.git
Fetching https://github.com/Kitura/BlueRSA.git
[1/978] Fetching blueecc
[217/1749] Fetching blueecc, loggerapi
[1121/4292] Fetching blueecc, loggerapi, kituracontracts
[2005/5944] Fetching blueecc, loggerapi, kituracontracts, bluecryptor
[2179/7921] Fetching blueecc, loggerapi, kituracontracts, bluecryptor, bluersa
Fetched https://github.com/Kitura/LoggerAPI.git from cache (0.26s)
[6744/7150] Fetching blueecc, kituracontracts, bluecryptor, bluersa
Fetched https://github.com/Kitura/BlueECC.git from cache (0.26s)
[5867/6172] Fetching kituracontracts, bluecryptor, bluersa
Fetched https://github.com/Kitura/BlueCryptor.git from cache (0.27s)
[4266/4520] Fetching kituracontracts, bluersa
[2365/2543] Fetching kituracontracts
Fetched https://github.com/Kitura/BlueRSA.git from cache (0.27s)
Fetched https://github.com/Kitura/KituraContracts.git from cache (0.36s)
Computing version for https://github.com/Kitura/KituraContracts.git
Computed https://github.com/Kitura/KituraContracts.git at 2.0.1 (0.42s)
Computing version for https://github.com/Kitura/LoggerAPI.git
Computed https://github.com/Kitura/LoggerAPI.git at 2.0.0 (0.42s)
Fetching https://github.com/apple/swift-log.git
[1/3660] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.33s)
Computing version for https://github.com/Kitura/BlueECC.git
Computed https://github.com/Kitura/BlueECC.git at 1.2.201 (0.42s)
Fetching https://github.com/Kitura/OpenSSL.git
[1/203] Fetching openssl
Fetched https://github.com/Kitura/OpenSSL.git from cache (0.16s)
Computing version for https://github.com/Kitura/OpenSSL.git
Computed https://github.com/Kitura/OpenSSL.git at 2.3.1 (1.83s)
Computing version for https://github.com/Kitura/BlueCryptor.git
Computed https://github.com/Kitura/BlueCryptor.git at 2.0.2 (0.50s)
Computing version for https://github.com/Kitura/BlueRSA.git
Computed https://github.com/Kitura/BlueRSA.git at 1.0.201 (0.44s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.1 (0.38s)
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/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/OpenSSL.git
Working copy of https://github.com/Kitura/OpenSSL.git resolved at 2.3.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/BlueRSA.git
Working copy of https://github.com/Kitura/BlueRSA.git resolved at 1.0.201
Creating working copy for https://github.com/Kitura/KituraContracts.git
Working copy of https://github.com/Kitura/KituraContracts.git resolved at 2.0.1
Building for debugging...
[0/8] Write sources
[7/8] Write swift-version-24593BA9C3E375BF.txt
[9/43] Emitting module CryptorECC
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/44] Emitting module CryptorRSA
/host/spi-builder-workspace/.build/checkouts/BlueRSA/Sources/CryptorRSA/CryptorRSA.swift:476:61: error: cannot find 'EVP_PKEY_size' in scope
 474 | 				typealias UInt8Ptr = UnsafeMutablePointer<UInt8>?
 475 | 				var ek: UInt8Ptr
 476 | 				ek = UnsafeMutablePointer<UInt8>.allocate(capacity: Int(EVP_PKEY_size(.make(optional: key.reference))))
     |                                                             `- error: cannot find 'EVP_PKEY_size' in scope
 477 | 				let ekPtr = UnsafeMutablePointer<UInt8Ptr>.allocate(capacity: MemoryLayout<UInt8Ptr>.size)
 478 | 				ekPtr.pointee = ek
/host/spi-builder-workspace/.build/checkouts/BlueRSA/Sources/CryptorRSA/CryptorRSA.swift:476:76: error: cannot infer contextual base in reference to member 'make'
 474 | 				typealias UInt8Ptr = UnsafeMutablePointer<UInt8>?
 475 | 				var ek: UInt8Ptr
 476 | 				ek = UnsafeMutablePointer<UInt8>.allocate(capacity: Int(EVP_PKEY_size(.make(optional: key.reference))))
     |                                                                            `- error: cannot infer contextual base in reference to member 'make'
 477 | 				let ekPtr = UnsafeMutablePointer<UInt8Ptr>.allocate(capacity: MemoryLayout<UInt8Ptr>.size)
 478 | 				ekPtr.pointee = ek
/host/spi-builder-workspace/.build/checkouts/BlueRSA/Sources/CryptorRSA/CryptorRSA.swift:481:20: error: cannot find 'EVP_CIPHER_iv_length' in scope
 479 |
 480 | 				// Assign size of the corresponding cipher's IV
 481 | 				let IVLength = EVP_CIPHER_iv_length(.make(optional: enc))
     |                    `- error: cannot find 'EVP_CIPHER_iv_length' in scope
 482 | 				let iv = UnsafeMutablePointer<UInt8>.allocate(capacity: Int(IVLength))
 483 | 				let encrypted = UnsafeMutablePointer<UInt8>.allocate(capacity: self.data.count + Int(IVLength))
/host/spi-builder-workspace/.build/checkouts/BlueRSA/Sources/CryptorRSA/CryptorRSA.swift:481:42: error: cannot infer contextual base in reference to member 'make'
 479 |
 480 | 				// Assign size of the corresponding cipher's IV
 481 | 				let IVLength = EVP_CIPHER_iv_length(.make(optional: enc))
     |                                          `- error: cannot infer contextual base in reference to member 'make'
 482 | 				let iv = UnsafeMutablePointer<UInt8>.allocate(capacity: Int(IVLength))
 483 | 				let encrypted = UnsafeMutablePointer<UInt8>.allocate(capacity: self.data.count + Int(IVLength))
[11/45] Compiling CryptorRSA SSLPointerTricks.swift
[12/45] Compiling CryptorECC SSLPointerTricks.swift
[13/45] Compiling Cryptor SSLPointerTricks.swift
[14/46] Compiling Logging MetadataProvider.swift
[15/46] Compiling Logging LogHandler.swift
[16/46] Compiling Logging Locks.swift
[17/46] Compiling Logging Logging.swift
[18/46] Emitting module Logging
[20/49] Compiling Cryptor Updatable.swift
[21/49] Compiling Cryptor StreamCryptor.swift
[22/49] Compiling CryptorECC ECError.swift
[23/49] Compiling CryptorECC ECPrivateKey.swift
[24/49] Compiling Cryptor Utilities.swift
[25/49] Compiling CryptorECC ECSignable.swift
[26/49] Compiling CryptorECC ECSignature.swift
[27/49] Compiling CryptorECC EllipticCurve.swift
[28/49] Compiling CryptorECC ECPublicKey.swift
[29/49] Compiling CryptorECC ASN1.swift
[30/49] Compiling CryptorECC Data+Extensions.swift
[31/49] 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
 474 | 				typealias UInt8Ptr = UnsafeMutablePointer<UInt8>?
 475 | 				var ek: UInt8Ptr
 476 | 				ek = UnsafeMutablePointer<UInt8>.allocate(capacity: Int(EVP_PKEY_size(.make(optional: key.reference))))
     |                                                             `- error: cannot find 'EVP_PKEY_size' in scope
 477 | 				let ekPtr = UnsafeMutablePointer<UInt8Ptr>.allocate(capacity: MemoryLayout<UInt8Ptr>.size)
 478 | 				ekPtr.pointee = ek
/host/spi-builder-workspace/.build/checkouts/BlueRSA/Sources/CryptorRSA/CryptorRSA.swift:476:76: error: cannot infer contextual base in reference to member 'make'
 474 | 				typealias UInt8Ptr = UnsafeMutablePointer<UInt8>?
 475 | 				var ek: UInt8Ptr
 476 | 				ek = UnsafeMutablePointer<UInt8>.allocate(capacity: Int(EVP_PKEY_size(.make(optional: key.reference))))
     |                                                                            `- error: cannot infer contextual base in reference to member 'make'
 477 | 				let ekPtr = UnsafeMutablePointer<UInt8Ptr>.allocate(capacity: MemoryLayout<UInt8Ptr>.size)
 478 | 				ekPtr.pointee = ek
/host/spi-builder-workspace/.build/checkouts/BlueRSA/Sources/CryptorRSA/CryptorRSA.swift:481:20: error: cannot find 'EVP_CIPHER_iv_length' in scope
 479 |
 480 | 				// Assign size of the corresponding cipher's IV
 481 | 				let IVLength = EVP_CIPHER_iv_length(.make(optional: enc))
     |                    `- error: cannot find 'EVP_CIPHER_iv_length' in scope
 482 | 				let iv = UnsafeMutablePointer<UInt8>.allocate(capacity: Int(IVLength))
 483 | 				let encrypted = UnsafeMutablePointer<UInt8>.allocate(capacity: self.data.count + Int(IVLength))
/host/spi-builder-workspace/.build/checkouts/BlueRSA/Sources/CryptorRSA/CryptorRSA.swift:481:42: error: cannot infer contextual base in reference to member 'make'
 479 |
 480 | 				// Assign size of the corresponding cipher's IV
 481 | 				let IVLength = EVP_CIPHER_iv_length(.make(optional: enc))
     |                                          `- error: cannot infer contextual base in reference to member 'make'
 482 | 				let iv = UnsafeMutablePointer<UInt8>.allocate(capacity: Int(IVLength))
 483 | 				let encrypted = UnsafeMutablePointer<UInt8>.allocate(capacity: self.data.count + Int(IVLength))
/host/spi-builder-workspace/.build/checkouts/BlueRSA/Sources/CryptorRSA/CryptorRSA.swift:688:28: error: cannot find 'EVP_PKEY_size' in scope
 686 |
 687 | 				// Size of symmetric encryption
 688 | 				let encKeyLength = Int(EVP_PKEY_size(.make(optional: key.reference)))
     |                            `- error: cannot find 'EVP_PKEY_size' in scope
 689 | 				// Size of the corresponding cipher's IV
 690 | 				let encIVLength = Int(EVP_CIPHER_iv_length(.make(optional: encType)))
/host/spi-builder-workspace/.build/checkouts/BlueRSA/Sources/CryptorRSA/CryptorRSA.swift:688:43: error: cannot infer contextual base in reference to member 'make'
 686 |
 687 | 				// Size of symmetric encryption
 688 | 				let encKeyLength = Int(EVP_PKEY_size(.make(optional: key.reference)))
     |                                           `- error: cannot infer contextual base in reference to member 'make'
 689 | 				// Size of the corresponding cipher's IV
 690 | 				let encIVLength = Int(EVP_CIPHER_iv_length(.make(optional: encType)))
/host/spi-builder-workspace/.build/checkouts/BlueRSA/Sources/CryptorRSA/CryptorRSA.swift:690:27: error: cannot find 'EVP_CIPHER_iv_length' in scope
 688 | 				let encKeyLength = Int(EVP_PKEY_size(.make(optional: key.reference)))
 689 | 				// Size of the corresponding cipher's IV
 690 | 				let encIVLength = Int(EVP_CIPHER_iv_length(.make(optional: encType)))
     |                           `- error: cannot find 'EVP_CIPHER_iv_length' in scope
 691 | 				// Size of encryptedKey
 692 | 				let encryptedDataLength = Int(self.data.count) - encKeyLength - encIVLength
/host/spi-builder-workspace/.build/checkouts/BlueRSA/Sources/CryptorRSA/CryptorRSA.swift:690:49: error: cannot infer contextual base in reference to member 'make'
 688 | 				let encKeyLength = Int(EVP_PKEY_size(.make(optional: key.reference)))
 689 | 				// Size of the corresponding cipher's IV
 690 | 				let encIVLength = Int(EVP_CIPHER_iv_length(.make(optional: encType)))
     |                                                 `- error: cannot infer contextual base in reference to member 'make'
 691 | 				// Size of encryptedKey
 692 | 				let encryptedDataLength = Int(self.data.count) - encKeyLength - encIVLength
/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')
 695 | 				// self.data = encryptedKey + encryptedData + encryptedIV
 696 | 				let encryptedKey = self.data.subdata(in: 0..<encKeyLength)
 697 | 				let encryptedData = self.data.subdata(in: encKeyLength..<encKeyLength+encryptedDataLength)
     |                                                                          `- error: cannot convert value of type 'String' to expected argument type 'Data.Index' (aka 'Int')
 698 | 				let encryptedIV = self.data.subdata(in: encKeyLength+encryptedDataLength..<self.data.count)
 699 |
/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')
 696 | 				let encryptedKey = self.data.subdata(in: 0..<encKeyLength)
 697 | 				let encryptedData = self.data.subdata(in: encKeyLength..<encKeyLength+encryptedDataLength)
 698 | 				let encryptedIV = self.data.subdata(in: encKeyLength+encryptedDataLength..<self.data.count)
     |                                                         `- error: cannot convert value of type 'String' to expected argument type 'Data.Index' (aka 'Int')
 699 |
 700 | 				let rsaDecryptCtx = EVP_CIPHER_CTX_new_wrapper()
[32/49] Compiling CryptorRSA Data+Extensions.swift
[33/49] Emitting module Cryptor
[34/49] Compiling CryptorECC ECDecryptable.swift
[35/49] Compiling CryptorECC ECEncryptable.swift
[36/49] Compiling CryptorRSA CryptorRSAConstants.swift
[39/49] Compiling Cryptor Status.swift
[45/51] Compiling CryptorRSA CryptorRSAErrors.swift
[46/51] Compiling CryptorRSA CryptorRSADigest.swift
[47/51] Compiling CryptorRSA CryptorRSAKey.swift
[48/51] Compiling CryptorRSA CryptorRSAUtilities.swift
[50/51] Emitting module LoggerAPI
BUILD FAILURE 6.0 linux