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 PushNotifications, reference master (48a893), with Swift 6.0 for Linux on 28 Nov 2024 01:59:52 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/pusher/push-notifications-server-swift.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/pusher/push-notifications-server-swift
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 48a8933 Merge pull request #36 from pusher/tech/networkservice-improvements
Cloned https://github.com/pusher/push-notifications-server-swift.git
Revision (git rev-parse @):
48a89332da1e06fa6987a0ce3055d02c237acda0
SUCCESS checkout https://github.com/pusher/push-notifications-server-swift.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/pusher/push-notifications-server-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 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/realm/SwiftLint
Fetching https://github.com/IBM-Swift/Swift-JWT.git
[1/1591] Fetching swift-jwt
Fetched https://github.com/IBM-Swift/Swift-JWT.git from cache (0.52s)
[1/142366] Fetching swiftlint
Fetched https://github.com/realm/SwiftLint from cache (35.52s)
Computing version for https://github.com/IBM-Swift/Swift-JWT.git
Computed https://github.com/IBM-Swift/Swift-JWT.git at 3.6.201 (7.11s)
Fetching https://github.com/Kitura/KituraContracts.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/BlueECC.git
[1/1021] Fetching blueecc
[2/3018] Fetching blueecc, bluersa
[163/4658] Fetching blueecc, bluersa, bluecryptor
[489/7204] Fetching blueecc, bluersa, bluecryptor, kituracontracts
Fetched https://github.com/Kitura/BlueECC.git from cache (2.72s)
[1/771] Fetching loggerapi
Fetched https://github.com/Kitura/BlueRSA.git from cache (2.93s)
Fetched https://github.com/Kitura/BlueCryptor.git from cache (2.93s)
Fetched https://github.com/Kitura/KituraContracts.git from cache (2.93s)
Fetched https://github.com/Kitura/LoggerAPI.git from cache (2.94s)
Computing version for https://github.com/Kitura/KituraContracts.git
Computed https://github.com/Kitura/KituraContracts.git at 1.2.201 (0.67s)
Computing version for https://github.com/Kitura/LoggerAPI.git
Computed https://github.com/Kitura/LoggerAPI.git at 1.9.200 (0.59s)
Fetching https://github.com/apple/swift-log.git
[1/3702] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.52s)
Computing version for https://github.com/Kitura/BlueCryptor.git
Computed https://github.com/Kitura/BlueCryptor.git at 2.0.2 (0.51s)
Fetching https://github.com/Kitura/OpenSSL.git
[1/203] Fetching openssl
Fetched https://github.com/Kitura/OpenSSL.git from cache (0.19s)
Computing version for https://github.com/Kitura/BlueRSA.git
Computed https://github.com/Kitura/BlueRSA.git at 1.0.202 (0.42s)
Computing version for https://github.com/Kitura/OpenSSL.git
Computed https://github.com/Kitura/OpenSSL.git at 2.3.1 (1.80s)
Computing version for https://github.com/Kitura/BlueECC.git
Computed https://github.com/Kitura/BlueECC.git at 1.2.201 (0.44s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.2 (0.37s)
Computing version for https://github.com/realm/SwiftLint
Computed https://github.com/realm/SwiftLint at 0.57.1 (0.49s)
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/JohnSundell/CollectionConcurrencyKit.git
Fetching https://github.com/scottrhoyt/SwiftyTextTable.git
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/jpsim/SourceKitten.git
[1/83] Fetching collectionconcurrencykit
[84/1012] Fetching collectionconcurrencykit, swiftytexttable
Fetched https://github.com/JohnSundell/CollectionConcurrencyKit.git from cache (0.23s)
Fetching https://github.com/apple/swift-argument-parser.git
[1/12703] Fetching cryptoswift
[1018/28719] Fetching cryptoswift, sourcekitten
[1974/38655] Fetching cryptoswift, sourcekitten, yams
[26784/51050] Fetching cryptoswift, sourcekitten, yams, swift-argument-parser
[51051/117733] Fetching cryptoswift, sourcekitten, yams, swift-argument-parser, swift-syntax
Fetched https://github.com/jpsim/Yams.git from cache (1.32s)
[52451/107797] Fetching cryptoswift, sourcekitten, swift-argument-parser, swift-syntax
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.11s)
[40722/95402] Fetching cryptoswift, sourcekitten, swift-syntax
Fetched https://github.com/jpsim/SourceKitten.git from cache (1.42s)
[28041/79386] Fetching cryptoswift, swift-syntax
Fetched https://github.com/scottrhoyt/SwiftyTextTable.git from cache (3.95s)
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (3.98s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (4.00s)
Computing version for https://github.com/JohnSundell/CollectionConcurrencyKit.git
Computed https://github.com/JohnSundell/CollectionConcurrencyKit.git at 0.2.0 (0.42s)
Computing version for https://github.com/scottrhoyt/SwiftyTextTable.git
Computed https://github.com/scottrhoyt/SwiftyTextTable.git at 0.9.0 (1.77s)
Computing version for https://github.com/jpsim/SourceKitten.git
Computed https://github.com/jpsim/SourceKitten.git at 0.35.0 (0.43s)
Fetching https://github.com/drmohundro/SWXMLHash.git
[1/2820] Fetching swxmlhash
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (0.24s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.0 (0.56s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 7.0.2 (0.42s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.8.3 (0.43s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.1.3 (0.42s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.0 (0.39s)
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/drmohundro/SWXMLHash.git
Working copy of https://github.com/drmohundro/SWXMLHash.git resolved at 7.0.2
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.201
Creating working copy for https://github.com/Kitura/KituraContracts.git
Working copy of https://github.com/Kitura/KituraContracts.git resolved at 1.2.201
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.8.3
Creating working copy for https://github.com/scottrhoyt/SwiftyTextTable.git
Working copy of https://github.com/scottrhoyt/SwiftyTextTable.git resolved at 0.9.0
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.5.0
Creating working copy for https://github.com/realm/SwiftLint
Working copy of https://github.com/realm/SwiftLint resolved at 0.57.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/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.1.3
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 600.0.0
Creating working copy for https://github.com/jpsim/SourceKitten.git
Working copy of https://github.com/jpsim/SourceKitten.git resolved at 0.35.0
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.2
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/JohnSundell/CollectionConcurrencyKit.git
Working copy of https://github.com/JohnSundell/CollectionConcurrencyKit.git resolved at 0.2.0
Creating working copy for https://github.com/Kitura/LoggerAPI.git
Working copy of https://github.com/Kitura/LoggerAPI.git resolved at 1.9.200
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin SwiftLintBuildToolPlugin
[3/3] Compiling plugin SwiftLintCommandPlugin
Building for debugging...
[3/12] Write sources
[11/12] Write swift-version-24593BA9C3E375BF.txt
[13/47] Compiling Logging MetadataProvider.swift
[14/47] Compiling Logging Locks.swift
[15/47] Emitting module Logging
[16/47] Compiling Logging Logging.swift
[17/47] Compiling Logging LogHandler.swift
[19/50] Compiling CryptorRSA Data+Extensions.swift
[20/50] Compiling CryptorRSA CryptorRSAConstants.swift
[21/50] Compiling Cryptor Digest.swift
[22/50] Compiling Cryptor HMAC.swift
[25/52] Compiling Cryptor KeyDerivation.swift
[26/52] Compiling Cryptor Random.swift
[27/53] Compiling Cryptor Crypto.swift
[28/53] Compiling Cryptor Cryptor.swift
[29/53] Emitting module Cryptor
[30/53] Compiling CryptorECC ECSignable.swift
[31/53] Compiling CryptorECC ECSignature.swift
[32/53] Compiling CryptorECC EllipticCurve.swift
[33/53] Compiling Cryptor SSLPointerTricks.swift
[34/53] Compiling Cryptor Updatable.swift
[35/53] Compiling CryptorRSA CryptorRSAUtilities.swift
[36/53] Compiling CryptorRSA SSLPointerTricks.swift
[37/53] Emitting module CryptorECC
[42/53] Emitting module LoggerAPI
[43/53] Compiling LoggerAPI Logger.swift
[44/53] Compiling CryptorECC ECPublicKey.swift
[45/54] Compiling Cryptor Status.swift
[46/54] Compiling Cryptor StreamCryptor.swift
[47/54] Compiling CryptorRSA CryptorRSAKey.swift
[48/54] Compiling CryptorRSA CryptorRSADigest.swift
[49/54] Compiling CryptorRSA CryptorRSAErrors.swift
[50/54] Compiling CryptorECC SSLPointerTricks.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[51/55] 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))
[52/55] 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()
BUILD FAILURE 6.0 linux