Build Information
Successful build of PushNotifications with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/pusher/push-notifications-server-swift.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
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: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/pusher/push-notifications-server-swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/9] Write sources
[8/9] Write swift-version-6F35C1178C84523A.txt
[10/44] Compiling Logging Locks.swift
[11/44] Compiling Logging LogHandler.swift
[12/44] Emitting module Logging
[13/44] Compiling Logging Logging.swift
[14/46] Compiling CryptorRSA SSLPointerTricks.swift
[15/46] Compiling CryptorRSA CryptorRSAConstants.swift
[16/46] Emitting module CryptorRSA
[17/46] Compiling CryptorECC EllipticCurve.swift
[18/47] Compiling Cryptor StreamCryptor.swift
[19/47] Compiling CryptorECC ECPrivateKey.swift
[20/48] Compiling CryptorECC ECError.swift
[21/48] Compiling Cryptor Crypto.swift
[22/48] Compiling Cryptor Cryptor.swift
[23/48] Emitting module CryptorECC
[24/48] Compiling CryptorECC ECEncryptable.swift
[25/48] Compiling CryptorECC ECDecryptable.swift
[26/48] Compiling Cryptor KeyDerivation.swift
[27/48] Compiling Cryptor SSLPointerTricks.swift
[28/48] Compiling Cryptor Status.swift
[29/48] Compiling Cryptor Random.swift
[30/48] Compiling CryptorRSA CryptorRSAKey.swift
[31/48] Compiling CryptorRSA CryptorRSAUtilities.swift
[32/48] Compiling CryptorRSA CryptorRSAErrors.swift
[33/48] Compiling CryptorRSA Data+Extensions.swift
[36/48] Compiling Cryptor Digest.swift
[37/48] Emitting module Cryptor
[38/48] Compiling Cryptor HMAC.swift
[39/48] Compiling CryptorECC ECSignable.swift
[40/48] Compiling CryptorECC ECPublicKey.swift
[41/48] Compiling CryptorECC ECSignature.swift
[42/48] Compiling CryptorRSA CryptorRSADigest.swift
[43/48] Compiling CryptorRSA CryptorRSA.swift
[44/48] Compiling LoggerAPI Logger.swift
[45/48] Compiling Cryptor Updatable.swift
[46/48] Emitting module LoggerAPI
[47/58] Compiling CryptorECC SSLPointerTricks.swift
[48/58] Compiling Cryptor Utilities.swift
[49/58] Compiling KituraContracts Extensions.swift
[50/58] Compiling KituraContracts BodyDecoder.swift
[51/58] Compiling KituraContracts BodyEncoder.swift
[52/58] Compiling KituraContracts BodyFormat.swift
[53/58] Emitting module KituraContracts
[54/58] Compiling KituraContracts QueryEncoder.swift
[55/58] Compiling KituraContracts QueryDecoder.swift
[56/58] Compiling KituraContracts ClosureAliases.swift
[57/58] Compiling KituraContracts Contracts.swift
[58/58] Compiling KituraContracts Coder.swift
[59/77] Compiling SwiftJWT JWTVerifier.swift
[60/77] Compiling SwiftJWT NoneAlgorithm.swift
[61/77] Compiling SwiftJWT RSAKeyType.swift
[62/77] Compiling SwiftJWT SignerAlgorithm.swift
[63/79] Compiling SwiftJWT JWTError.swift
[64/79] Compiling SwiftJWT JWTSigner.swift
[65/79] Compiling SwiftJWT ValidateClaimsResult.swift
[66/79] Compiling SwiftJWT VerifierAlgorithm.swift
[67/79] Compiling SwiftJWT Header.swift
[68/79] Compiling SwiftJWT JWT.swift
[69/79] Compiling SwiftJWT BlueRSA.swift
[70/79] Compiling SwiftJWT Claims.swift
[71/79] Compiling SwiftJWT ClaimsMicroProfile.swift
[72/79] Compiling SwiftJWT ClaimsOpenID.swift
[73/79] Emitting module SwiftJWT
[74/79] Compiling SwiftJWT ClaimsStandardJWT.swift
[75/79] Compiling SwiftJWT Data+Base64URLEncoded.swift
[76/79] Compiling SwiftJWT BlueECDSA.swift
[77/79] Compiling SwiftJWT BlueHMAC.swift
[78/79] Compiling SwiftJWT JWTDecoder.swift
[79/79] Compiling SwiftJWT JWTEncoder.swift
[80/87] Compiling PushNotifications PushNotifications.swift
[81/87] Compiling PushNotifications JWTTokenGenerable.swift
[82/87] Compiling PushNotifications PushNotificationsError.swift
[83/87] Emitting module PushNotifications
[84/87] Compiling PushNotifications SDKVersion.swift
[85/87] Compiling PushNotifications PublishResponse.swift
[86/87] Compiling PushNotifications JWT.swift
[87/87] Compiling PushNotifications NetworkService.swift
/Users/admin/builder/spi-builder-workspace/Sources/PushNotifications/Services/NetworkService.swift:172:24: warning: capture of 'completion' with non-sendable type '(Result<Data, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
170 | let dataTask = session.dataTask(with: request) { data, response, error in
171 | guard let data = data else {
172 | return completion(.failure(Error.emptyResponseData))
| |- warning: capture of 'completion' with non-sendable type '(Result<Data, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
173 | }
174 | guard let httpURLResponse = response as? HTTPURLResponse else {
Build complete! (111.06s)
Fetching https://github.com/realm/SwiftLint
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/Kitura/BlueECC.git
Fetching https://github.com/Kitura/BlueRSA.git
Fetching https://github.com/IBM-Swift/Swift-JWT.git
Fetching https://github.com/jpsim/SourceKitten.git
[1/1966] Fetching bluersa
[237/3537] Fetching bluersa, swift-jwt
[347/4515] Fetching bluersa, swift-jwt, blueecc
[406/7876] Fetching bluersa, swift-jwt, blueecc, swift-log
[3403/19590] Fetching bluersa, swift-jwt, blueecc, swift-log, swift-argument-parser
[3487/35554] Fetching bluersa, swift-jwt, blueecc, swift-log, swift-argument-parser, sourcekitten
[13563/167401] Fetching bluersa, swift-jwt, blueecc, swift-log, swift-argument-parser, sourcekitten, swiftlint
Fetched https://github.com/Kitura/BlueRSA.git from cache (1.69s)
Fetching https://github.com/Kitura/LoggerAPI.git
Fetched https://github.com/IBM-Swift/Swift-JWT.git from cache (1.69s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.69s)
Fetching https://github.com/Kitura/BlueCryptor.git
Fetching https://github.com/Kitura/KituraContracts.git
[18949/152150] Fetching blueecc, swift-log, sourcekitten, swiftlint
[29534/152921] Fetching blueecc, swift-log, sourcekitten, swiftlint, loggerapi
[30922/155464] Fetching blueecc, swift-log, sourcekitten, swiftlint, loggerapi, kituracontracts
[31632/157116] Fetching blueecc, swift-log, sourcekitten, swiftlint, loggerapi, kituracontracts, bluecryptor
Fetched https://github.com/Kitura/LoggerAPI.git from cache (1.11s)
Fetching https://github.com/scottrhoyt/SwiftyTextTable.git
[33800/156345] Fetching blueecc, swift-log, sourcekitten, swiftlint, kituracontracts, bluecryptor
Fetched https://github.com/Kitura/KituraContracts.git from cache (1.34s)
Fetched https://github.com/Kitura/BlueCryptor.git from cache (1.34s)
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/drmohundro/SWXMLHash.git
[31434/152150] Fetching blueecc, swift-log, sourcekitten, swiftlint
[31435/153079] Fetching blueecc, swift-log, sourcekitten, swiftlint, swiftytexttable
[31863/155849] Fetching blueecc, swift-log, sourcekitten, swiftlint, swiftytexttable, swxmlhash
Fetched https://github.com/scottrhoyt/SwiftyTextTable.git from cache (1.01s)
[31684/154920] Fetching blueecc, swift-log, sourcekitten, swiftlint, swxmlhash
[31796/164257] Fetching blueecc, swift-log, sourcekitten, swiftlint, swxmlhash, yams
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (1.89s)
Fetched https://github.com/jpsim/Yams.git from cache (1.89s)
[32213/152150] Fetching blueecc, swift-log, sourcekitten, swiftlint
Fetched https://github.com/Kitura/BlueECC.git from cache (63.05s)
Fetched https://github.com/realm/SwiftLint from cache (63.05s)
Fetched https://github.com/apple/swift-log.git from cache (63.05s)
Fetched https://github.com/jpsim/SourceKitten.git from cache (63.05s)
Computing version for https://github.com/realm/SwiftLint
Computed https://github.com/realm/SwiftLint at 0.43.1 (1.04s)
Computing version for https://github.com/IBM-Swift/Swift-JWT.git
Computed https://github.com/IBM-Swift/Swift-JWT.git at 3.6.200 (0.69s)
Computing version for https://github.com/scottrhoyt/SwiftyTextTable.git
Computed https://github.com/scottrhoyt/SwiftyTextTable.git at 0.9.0 (2.59s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 4.0.6 (0.70s)
Computing version for https://github.com/jpsim/SourceKitten.git
Computed https://github.com/jpsim/SourceKitten.git at 0.31.0 (0.68s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 0.3.2 (0.68s)
Computing version for https://github.com/Kitura/KituraContracts.git
Computed https://github.com/Kitura/KituraContracts.git at 1.2.200 (0.68s)
Computing version for https://github.com/Kitura/LoggerAPI.git
Computed https://github.com/Kitura/LoggerAPI.git at 1.9.200 (0.69s)
Computing version for https://github.com/Kitura/BlueECC.git
Computed https://github.com/Kitura/BlueECC.git at 1.2.200 (0.68s)
Computing version for https://github.com/Kitura/BlueCryptor.git
Computed https://github.com/Kitura/BlueCryptor.git at 1.0.200 (0.66s)
Computing version for https://github.com/Kitura/BlueRSA.git
Computed https://github.com/Kitura/BlueRSA.git at 1.0.200 (0.66s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 5.0.2 (0.68s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.4.0 (0.67s)
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/Kitura/BlueECC.git
Working copy of https://github.com/Kitura/BlueECC.git resolved at 1.2.200
Creating working copy for https://github.com/drmohundro/SWXMLHash.git
Working copy of https://github.com/drmohundro/SWXMLHash.git resolved at 5.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.200
Creating working copy for https://github.com/Kitura/KituraContracts.git
Working copy of https://github.com/Kitura/KituraContracts.git resolved at 1.2.200
Creating working copy for https://github.com/Kitura/BlueRSA.git
Working copy of https://github.com/Kitura/BlueRSA.git resolved at 1.0.200
Creating working copy for https://github.com/jpsim/SourceKitten.git
Working copy of https://github.com/jpsim/SourceKitten.git resolved at 0.31.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
Creating working copy for https://github.com/Kitura/BlueCryptor.git
Working copy of https://github.com/Kitura/BlueCryptor.git resolved at 1.0.200
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.4.0
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 4.0.6
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 0.3.2
Creating working copy for https://github.com/realm/SwiftLint
Working copy of https://github.com/realm/SwiftLint resolved at 0.43.1
Build complete.
{
"dependencies" : [
{
"identity" : "swift-jwt",
"requirement" : {
"range" : [
{
"lower_bound" : "3.1.1",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/IBM-Swift/Swift-JWT.git"
},
{
"identity" : "swiftlint",
"requirement" : {
"range" : [
{
"lower_bound" : "0.43.1",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/realm/SwiftLint"
}
],
"manifest_display_name" : "PushNotifications",
"name" : "PushNotifications",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "PushNotifications",
"targets" : [
"PushNotifications"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "PushNotificationsTests",
"module_type" : "SwiftTarget",
"name" : "PushNotificationsTests",
"path" : "Tests/PushNotificationsTests",
"sources" : [
"Extensions/XCTest+Pusher.swift",
"InstanceConfigurationTests.swift",
"InterestsTests.swift",
"Models/TestObjects.swift",
"TokenTests.swift",
"UsersTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"PushNotifications"
],
"type" : "test"
},
{
"c99name" : "PushNotifications",
"module_type" : "SwiftTarget",
"name" : "PushNotifications",
"path" : "Sources/PushNotifications",
"product_dependencies" : [
"SwiftJWT"
],
"product_memberships" : [
"PushNotifications"
],
"sources" : [
"JWTTokenGenerable.swift",
"Models/JWT.swift",
"Models/PublishResponse.swift",
"Models/PushNotificationsError.swift",
"Models/SDKVersion.swift",
"PushNotifications.swift",
"Services/NetworkService.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
Done.