The Swift Package Index logo.Swift Package Index

Build Information

Failed to build PushNotifications, reference 4.0.0 (037435), with Swift 6.4 for Linux on 17 Sep 2026 18:34:36 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344843-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/pusher/push-notifications-swift.git
Reference: 4.0.0
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-swift
 * tag               4.0.0      -> FETCH_HEAD
HEAD is now at 0374352 Merge pull request #174 from pusher/release/4.0.0
Cloned https://github.com/pusher/push-notifications-swift.git
Revision (git rev-parse @):
0374352e6a54071a4e3d2ddf674ba56a84630ba6
SUCCESS checkout https://github.com/pusher/push-notifications-swift.git at 4.0.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.4
Building package at path:  $PWD
https://github.com/pusher/push-notifications-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Fetching https://github.com/Quick/Nimble
Fetching https://github.com/AliSoftware/OHHTTPStubs
[1/7900] Fetching ohhttpstubs
[7901/27886] Fetching ohhttpstubs, nimble
Fetched https://github.com/AliSoftware/OHHTTPStubs (1.04s)
Fetched https://github.com/Quick/Nimble (1.05s)
Computing version for https://github.com/AliSoftware/OHHTTPStubs
Computed https://github.com/AliSoftware/OHHTTPStubs at 9.1.0 (1.25s)
Computing version for https://github.com/Quick/Nimble
Computed https://github.com/Quick/Nimble at 9.2.1 (0.19s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/1257] Fetching cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git (0.41s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (0.60s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/460] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git (0.41s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (0.60s)
Creating working copy for https://github.com/Quick/Nimble
Working copy of https://github.com/Quick/Nimble resolved at 9.2.1
Creating working copy for https://github.com/AliSoftware/OHHTTPStubs
Working copy of https://github.com/AliSoftware/OHHTTPStubs resolved at 9.1.0
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.2.1
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.2.2
Building for debugging...
[Planning deferred tasks]
error: SwiftCompile normal x86_64 failed with a nonzero exit code. Command line:     cd /host

/host/spi-builder-workspace/Sources/Models/AuthData.swift:4:2: error: Objective-C interoperability is disabled
 2 |
 3 | /// Authentication data that is provided to a `TokenProvider`, such as `BeamsTokenProvider`.
 4 | @objc public class AuthData: NSObject {
   |  `- error: Objective-C interoperability is disabled
 5 |
 6 |     /// The headers to attach to the `URLRequest` triggered by the `TokenProvider` when calling `fetchToken(userId:completion:)`.
/host/spi-builder-workspace/Sources/Models/AuthData.swift:16:6: error: Objective-C interoperability is disabled
14 |     ///   - headers: A `Dictionary` of header key / value pairs.
15 |     ///   - queryParams: A `Dictionary` of query parameters key / value pairs.
16 |     @objc public init(headers: [String: String], queryParams: [String: String]) {
   |      `- error: Objective-C interoperability is disabled
17 |         self.headers = headers
18 |         self.queryParams = queryParams
/host/spi-builder-workspace/Sources/Protocols/TokenProvider.swift:24:2: error: Objective-C interoperability is disabled
22 |  Conform to the TokenProvider protocol in order to generate the token for the user that you want to authenticate.
23 |  */
24 | @objc public protocol TokenProvider {
   |  `- error: Objective-C interoperability is disabled
25 |     /**
26 |      Method `fetchToken` will return the token on success or error on failure.
/host/spi-builder-workspace/Sources/PushNotifications.swift:11:2: error: Objective-C interoperability is disabled
  9 |
 10 | /// The top-level entrypoint to the Beams Swift SDK.
 11 | @objc public final class PushNotifications: NSObject {
    |  `- error: Objective-C interoperability is disabled
 12 |
 13 |     internal let instanceId: String
/host/spi-builder-workspace/Sources/PushNotifications.swift:22:6: error: Objective-C interoperability is disabled
 20 |     /// Creates a `PushNotifications` object with a given `instanceId`.
 21 |     /// - Parameter instanceId: The instance identifier (from your app dashboard).
 22 |     @objc public init(instanceId: String) {
    |      `- error: Objective-C interoperability is disabled
 23 |         self.instanceId = instanceId
 24 |         self.deviceStateStore = InstanceDeviceStateStore(instanceId)
/host/spi-builder-workspace/Sources/PushNotifications.swift:35:6: error: Objective-C interoperability is disabled
 33 |     /// Returns a shared singleton PushNotifications object
 34 |     /// that can be accessed from anywhere in your project.
 35 |     @objc public static let shared = PushNotificationsStatic.self
    |      `- error: Objective-C interoperability is disabled
 36 |
 37 |     private lazy var serverSyncHandler = ServerSyncProcessHandler.obtain(
/host/spi-builder-workspace/Sources/PushNotifications.swift:51:6: error: Objective-C interoperability is disabled
 49 |      */
 50 |     /// - Tag: start
 51 |     @objc public func start() {
    |      `- error: Objective-C interoperability is disabled
 52 |         if UUID(uuidString: instanceId) == nil {
 53 |             print("[PushNotifications]: '\(instanceId)' is not a valid instance id.")
/host/spi-builder-workspace/Sources/PushNotifications.swift:78:6: error: Objective-C interoperability is disabled
 76 |      */
 77 |     /// - Tag: register
 78 |     @objc public func registerForRemoteNotifications() {
    |      `- error: Objective-C interoperability is disabled
 79 |         PushNotificationsStatic.registerForRemoteNotifications()
 80 |     }
/host/spi-builder-workspace/Sources/PushNotifications.swift:110:6: error: Objective-C interoperability is disabled
108 |     */
109 |     /// - Tag: setUserId
110 |     @objc public func setUserId(_ userId: String, tokenProvider: TokenProvider, completion: @escaping (Error?) -> Void) {
    |      `- error: Objective-C interoperability is disabled
111 |         if startHasBeenCalledThisSession == false {
112 |             completion(PushNotificationsError.error("[PushNotifications] - `start` method must be called before setting `userId`"))
/host/spi-builder-workspace/Sources/PushNotifications.swift:156:6: error: Objective-C interoperability is disabled
154 |     }
155 |
156 |     @objc private func printHelpfulMessage() {
    |      `- error: Objective-C interoperability is disabled
157 |         print("[PushNotifications] - It looks like setUserId hasn't completed yet -- have you called `registerDeviceToken`?")
158 |     }
/host/spi-builder-workspace/Sources/PushNotifications.swift:167:6: error: Objective-C interoperability is disabled
165 |      */
166 |     /// - Tag: stop
167 |     @objc public func stop(completion: @escaping () -> Void) {
    |      `- error: Objective-C interoperability is disabled
168 |         let hadAnyInterests: Bool = InstanceDeviceStateStore.synchronize {
169 |             let hadAnyInterests = self.deviceStateStore.getInterests()?.isEmpty ?? false
/host/spi-builder-workspace/Sources/PushNotifications.swift:196:6: error: Objective-C interoperability is disabled
194 |      */
195 |     /// - Tag: clearAllState
196 |     @objc public func clearAllState(completion: @escaping () -> Void) {
    |      `- error: Objective-C interoperability is disabled
197 |         let storedAPNsToken = self.deviceStateStore.getAPNsToken()
198 |         let hasStartAlreadyBeenCalled = self.deviceStateStore.getStartJobHasBeenEnqueued()
/host/spi-builder-workspace/Sources/PushNotifications.swift:218:6: error: Objective-C interoperability is disabled
216 |      */
217 |     /// - Tag: registerDeviceToken
218 |     @objc public func registerDeviceToken(_ deviceToken: Data) {
    |      `- error: Objective-C interoperability is disabled
219 |         PushNotificationsStatic.registerDeviceToken(deviceToken)
220 |     }
/host/spi-builder-workspace/Sources/PushNotifications.swift:232:6: error: Objective-C interoperability is disabled
230 |      */
231 |     /// - Tag: addDeviceInterest
232 |     @objc public func addDeviceInterest(interest: String) throws {
    |      `- error: Objective-C interoperability is disabled
233 |         guard self.validateInterestName(interest) else {
234 |             throw InvalidInterestError.invalidName(interest)
/host/spi-builder-workspace/Sources/PushNotifications.swift:258:6: error: Objective-C interoperability is disabled
256 |      */
257 |     /// - Tag: setDeviceInterests
258 |     @objc public func setDeviceInterests(interests: [String]) throws {
    |      `- error: Objective-C interoperability is disabled
259 |         if let invalidInterests = self.validateInterestNames(interests), invalidInterests.count > 0 {
260 |             throw MultipleInvalidInterestsError.invalidNames(invalidInterests)
/host/spi-builder-workspace/Sources/PushNotifications.swift:283:7: error: Objective-C interoperability is disabled
281 |      */
282 |     /// - Tag: removeDeviceInterest
283 |      @objc public func removeDeviceInterest(interest: String) throws {
    |       `- error: Objective-C interoperability is disabled
284 |         guard self.validateInterestName(interest) else {
285 |             throw InvalidInterestError.invalidName(interest)
/host/spi-builder-workspace/Sources/PushNotifications.swift:300:6: error: Objective-C interoperability is disabled
298 |     /// Unsubscribes the device from all the interests.
299 |     /// - Tag: clearDeviceInterests
300 |     @objc public func clearDeviceInterests() throws {
    |      `- error: Objective-C interoperability is disabled
301 |         try self.setDeviceInterests(interests: [])
302 |     }
/host/spi-builder-workspace/Sources/PushNotifications.swift:310:6: error: Objective-C interoperability is disabled
308 |      */
309 |     /// - Tag: getDeviceInterests
310 |     @objc public func getDeviceInterests() -> [String]? {
    |      `- error: Objective-C interoperability is disabled
311 |         return InstanceDeviceStateStore.synchronize {
312 |             return self.deviceStateStore.getInterests()
/host/spi-builder-workspace/Sources/PushNotifications.swift:333:6: error: Objective-C interoperability is disabled
331 |     /// - Tag: handleNotification
332 |     @discardableResult
333 |     @objc public func handleNotification(userInfo: [AnyHashable: Any]) -> RemoteNotificationType {
    |      `- error: Objective-C interoperability is disabled
334 |         return PushNotificationsStatic.handleNotification(userInfo: userInfo)
335 |     }
/host/spi-builder-workspace/Sources/PushNotifications.swift:352:2: error: Objective-C interoperability is disabled
350 |  Method `interestsSetOnDeviceDidChange(interests:)` will be called when interests set changes.
351 |  */
352 | @objc public protocol InterestsChangedDelegate: AnyObject {
    |  `- error: Objective-C interoperability is disabled
353 |     /**
354 |      Tells the delegate that the device's interests subscriptions list has changed.
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:11:2: error: Objective-C interoperability is disabled
  9 |
 10 | /// A static equivalent of the `PushNotifications` type.
 11 | @objc public final class PushNotificationsStatic: NSObject {
    |  `- error: Objective-C interoperability is disabled
 12 |
 13 |     override private init() {
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:28:6: error: Objective-C interoperability is disabled
 26 |      */
 27 |     /// - Tag: start
 28 |     @objc public static func start(instanceId: String) {
    |      `- error: Objective-C interoperability is disabled
 29 |         if instance == nil {
 30 |             instance = PushNotifications(instanceId: instanceId)
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:50:6: error: Objective-C interoperability is disabled
 48 |      */
 49 |     /// - Tag: register
 50 |     @objc public static func registerForRemoteNotifications() {
    |      `- error: Objective-C interoperability is disabled
 51 |         self.registerForPushNotifications(options: [.alert, .sound, .badge])
 52 |     }
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:102:6: error: Objective-C interoperability is disabled
100 |      */
101 |     /// - Tag: setUserId
102 |     @objc public static func setUserId(_ userId: String, tokenProvider: TokenProvider, completion: @escaping (Error?) -> Void) {
    |      `- error: Objective-C interoperability is disabled
103 |         if let staticInstance = instance {
104 |             staticInstance.setUserId(userId, tokenProvider: tokenProvider, completion: completion)
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:117:6: error: Objective-C interoperability is disabled
115 |      */
116 |     /// - Tag: stop
117 |     @objc public static func stop(completion: @escaping () -> Void) {
    |      `- error: Objective-C interoperability is disabled
118 |         let instances = DeviceStateStore().getInstanceIds()
119 |         let dispatchGroup = DispatchGroup()
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:139:6: error: Objective-C interoperability is disabled
137 |      */
138 |     /// - Tag: clearAllState
139 |     @objc public static func clearAllState(completion: @escaping () -> Void) {
    |      `- error: Objective-C interoperability is disabled
140 |         let instances = DeviceStateStore().getInstanceIds()
141 |         let dispatchGroup = DispatchGroup()
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:161:6: error: Objective-C interoperability is disabled
159 |      */
160 |     /// - Tag: registerDeviceToken
161 |     @objc public static func registerDeviceToken(_ deviceToken: Data) {
    |      `- error: Objective-C interoperability is disabled
162 |         let instances = DeviceStateStore().getInstanceIds()
163 |         var hasAnInstanceBeenStarted = false
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:192:6: error: Objective-C interoperability is disabled
190 |      */
191 |     /// - Tag: addDeviceInterest
192 |     @objc public static func addDeviceInterest(interest: String) throws {
    |      `- error: Objective-C interoperability is disabled
193 |         if let staticInstance = instance {
194 |             try staticInstance.addDeviceInterest(interest: interest)
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:211:6: error: Objective-C interoperability is disabled
209 |      */
210 |     /// - Tag: setDeviceInterests
211 |     @objc public static func setDeviceInterests(interests: [String]) throws {
    |      `- error: Objective-C interoperability is disabled
212 |         if let staticInstance = instance {
213 |             try staticInstance.setDeviceInterests(interests: interests)
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:229:6: error: Objective-C interoperability is disabled
227 |      */
228 |     /// - Tag: removeDeviceInterest
229 |     @objc public static func removeDeviceInterest(interest: String) throws {
    |      `- error: Objective-C interoperability is disabled
230 |         if let staticInstance = instance {
231 |             try staticInstance.removeDeviceInterest(interest: interest)
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:239:6: error: Objective-C interoperability is disabled
237 |     /// Unsubscribes the device from all the interests.
238 |     /// - Tag: clearDeviceInterests
239 |     @objc public static func clearDeviceInterests() throws {
    |      `- error: Objective-C interoperability is disabled
240 |         if let staticInstance = instance {
241 |             try staticInstance.clearDeviceInterests()
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:253:6: error: Objective-C interoperability is disabled
251 |      */
252 |     /// - Tag: getDeviceInterests
253 |     @objc public static func getDeviceInterests() -> [String]? {
    |      `- error: Objective-C interoperability is disabled
254 |         if let staticInstance = instance {
255 |             return staticInstance.getDeviceInterests()
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:268:6: error: Objective-C interoperability is disabled
266 |     /// - Tag: handleNotification
267 |     @discardableResult
268 |     @objc public static func handleNotification(userInfo: [AnyHashable: Any]) -> RemoteNotificationType {
    |      `- error: Objective-C interoperability is disabled
269 |         guard FeatureFlags.DeliveryTrackingEnabled else {
270 |             return .ShouldProcess
/host/spi-builder-workspace/Sources/Services/BeamsTokenProvider.swift:4:2: error: Objective-C interoperability is disabled
 2 |
 3 | /// Used to generate tokens for users to authenticate against.
 4 | @objc public final class BeamsTokenProvider: NSObject, TokenProvider {
   |  `- error: Objective-C interoperability is disabled
 5 |
 6 |     /// The authentication endpoint URL `String`.
/host/spi-builder-workspace/Sources/Services/BeamsTokenProvider.swift:16:6: error: Objective-C interoperability is disabled
14 |     ///   - authURL: The authentication endpoint URL `String`.
15 |     ///   - getAuthData: A closure that returns an `AuthData` object.
16 |     @objc public init(authURL: String, getAuthData: @escaping () -> (AuthData)) {
   |      `- error: Objective-C interoperability is disabled
17 |         self.authURL = authURL
18 |         self.getAuthData = getAuthData
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:4:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  2 |
  3 | class NetworkService: PushNotificationsNetworkable {
  4 |     let session: URLSession
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  5 |
  6 |     init(session: URLSession) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:6:19: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  4 |     let session: URLSession
  5 |
  6 |     init(session: URLSession) {
    |                   `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  7 |         self.session = session
  8 |     }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:225:44: error: cannot find type 'URLRequest' in scope
223 |
224 |     // MARK: Networking Layer
225 |     private func networkRequest(_ request: URLRequest,
    |                                            `- error: cannot find type 'URLRequest' in scope
226 |                                 session: URLSession,
227 |                                 retryStrategy: RetryStrategy) -> Result<Data, PushNotificationsAPIError> {
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:226:42: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
224 |     // MARK: Networking Layer
225 |     private func networkRequest(_ request: URLRequest,
226 |                                 session: URLSession,
    |                                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
227 |                                 retryStrategy: RetryStrategy) -> Result<Data, PushNotificationsAPIError> {
228 |         let semaphore = DispatchSemaphore(value: 0)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:283:85: error: cannot find type 'URLRequest' in scope
281 |     }
282 |
283 |     private func setRequest(url: URL, httpMethod: HTTPMethod, body: Data? = nil) -> URLRequest {
    |                                                                                     `- error: cannot find type 'URLRequest' in scope
284 |         var request = URLRequest(url: url)
285 |         request.addValue("application/json", forHTTPHeaderField: "Content-Type")
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Sources/Extensions/Array+CalculateMD5Hash.swift /host/spi-builder-workspace/Sources/Extensions/Encodable+Encode.swift /host/spi-builder-workspace/Sources/Extensions/String+HexStringToData.swift /host/spi-builder-workspace/Sources/Extensions/URL+NetworkService.swift /host/spi-builder-workspace/Sources/Helpers/DeviceTokenHelper.swift /host/spi-builder-workspace/Sources/Helpers/MD5.swift /host/spi-builder-workspace/Sources/Models/AuthData.swift /host/spi-builder-workspace/Sources/Models/Constants.swift /host/spi-builder-workspace/Sources/Models/Device.swift /host/spi-builder-workspace/Sources/Models/FeatureFlags.swift /host/spi-builder-workspace/Sources/Models/HTTPMethod.swift /host/spi-builder-workspace/Sources/Models/InstanceId.swift /host/spi-builder-workspace/Sources/Models/InterestValidationError.swift /host/spi-builder-workspace/Sources/Models/Interests.swift /host/spi-builder-workspace/Sources/Models/Metadata.swift /host/spi-builder-workspace/Sources/Models/MultipleInvalidInterestsError.swift /host/spi-builder-workspace/Sources/Models/PersistenceConstants.swift /host/spi-builder-workspace/Sources/Models/PublishId.swift /host/spi-builder-workspace/Sources/Models/PushNotificationsAPIError.swift /host/spi-builder-workspace/Sources/Models/PushNotificationsError.swift /host/spi-builder-workspace/Sources/Models/PusherAlreadyRegisteredError.swift /host/spi-builder-workspace/Sources/Models/Reason.swift /host/spi-builder-workspace/Sources/Models/Register.swift /host/spi-builder-workspace/Sources/Models/RemoteNotificationType.swift /host/spi-builder-workspace/Sources/Models/SDK.swift /host/spi-builder-workspace/Sources/Models/ServerSyncEvent.swift /host/spi-builder-workspace/Sources/Models/ServerSyncJob.swift /host/spi-builder-workspace/Sources/Models/SystemVersion.swift /host/spi-builder-workspace/Sources/Models/Token.swift /host/spi-builder-workspace/Sources/Protocols/PropertyListReadable.swift /host/spi-builder-workspace/Sources/Protocols/PushNotificationsNetworkable.swift /host/spi-builder-workspace/Sources/Protocols/ReportEventType.swift /host/spi-builder-workspace/Sources/Protocols/RetryStrategy.swift /host/spi-builder-workspace/Sources/Protocols/TokenProvider.swift /host/spi-builder-workspace/Sources/PushNotifications.swift /host/spi-builder-workspace/Sources/PushNotificationsStatic.swift /host/spi-builder-workspace/Sources/Services/BeamsTokenProvider.swift /host/spi-builder-workspace/Sources/Services/DeviceStateStore.swift /host/spi-builder-workspace/Sources/Services/EventTypeHandler.swift /host/spi-builder-workspace/Sources/Services/NetworkService.swift /host/spi-builder-workspace/Sources/Services/ServerSyncEventHandler.swift /host/spi-builder-workspace/Sources/Services/ServerSyncJobStore.swift /host/spi-builder-workspace/Sources/Services/ServerSyncProcessHandler.swift -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -fno-omit-frame-pointer -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/PushNotifications.build/Debug-linux-x86_64/PushNotifications-t.build/DerivedSources-normal/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/PushNotifications.build/Debug-linux-x86_64/PushNotifications-t.build/DerivedSources/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/PushNotifications.build/Debug-linux-x86_64/PushNotifications-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name PushNotifications -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/PushNotifications.build/Debug-linux-x86_64/PushNotifications-t.build/Objects-normal/x86_64/PushNotifications_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/PushNotifications.build/Debug-linux-x86_64/PushNotifications-t.build/Objects-normal/x86_64/Modules/PushNotifications.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/PushNotifications.build/Debug-linux-x86_64/PushNotifications-t.build/Objects-normal/x86_64/Modules/PushNotifications.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/PushNotifications.build/Debug-linux-x86_64/PushNotifications-t.build/Objects-normal/x86_64/PushNotifications-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/PushNotifications.build/Debug-linux-x86_64/PushNotifications-t.build/Objects-normal/x86_64/PushNotifications-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/PushNotifications.build/Debug-linux-x86_64/PushNotifications-t.build/Objects-normal/x86_64/PushNotifications-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/PushNotifications.build/Debug-linux-x86_64/PushNotifications-t.build/Objects-normal/x86_64/Modules/PushNotifications.swiftmodule
error: Build failed
BUILD FAILURE 6.4 linux