This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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 with Swift 5.8 for Linux.

Build Command

Build command unavailable

Build Log

========================================
RunAll
========================================
Builder version: 4.27.1
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:             5.8
Building package at path:  $PWD/checkout
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build 2>&1
Fetching https://github.com/Quick/Nimble
Fetching https://github.com/AliSoftware/OHHTTPStubs
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/1236] Fetching cwlpreconditiontesting
[1237/8878] Fetching cwlpreconditiontesting, ohhttpstubs
[3592/7642] Fetching ohhttpstubs
Fetching https://github.com/mattgallagher/CwlCatchException.git
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git (0.28s)
[7643/8074] Fetching ohhttpstubs, cwlcatchexception
Fetched https://github.com/AliSoftware/OHHTTPStubs (0.50s)
Fetched https://github.com/mattgallagher/CwlCatchException.git (0.23s)
[1/16730] Fetching nimble
Fetched https://github.com/Quick/Nimble (2.07s)
Computing version for https://github.com/AliSoftware/OHHTTPStubs
Computed https://github.com/AliSoftware/OHHTTPStubs at 9.1.0 (0.39s)
Computing version for https://github.com/Quick/Nimble
Computed https://github.com/Quick/Nimble at 9.0.0 (0.46s)
Creating working copy for https://github.com/Quick/Nimble
Working copy of https://github.com/Quick/Nimble resolved at 9.0.0
Creating working copy for https://github.com/AliSoftware/OHHTTPStubs
Working copy of https://github.com/AliSoftware/OHHTTPStubs resolved at 9.1.0
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/39] Emitting module PushNotifications
/host/spi-builder-workspace/Sources/Models/AuthData.swift:4:2: error: Objective-C interoperability is disabled
@objc public class AuthData: NSObject {
~^~~~~
/host/spi-builder-workspace/Sources/Models/AuthData.swift:16:6: error: Objective-C interoperability is disabled
    @objc public init(headers: [String: String], queryParams: [String: String]) {
    ~^~~~~

/host/spi-builder-workspace/Sources/Protocols/TokenProvider.swift:24:2: error: Objective-C interoperability is disabled
@objc public protocol TokenProvider {
~^~~~~
/host/spi-builder-workspace/Sources/PushNotifications.swift:11:2: error: Objective-C interoperability is disabled
@objc public final class PushNotifications: NSObject {
~^~~~~
/host/spi-builder-workspace/Sources/PushNotifications.swift:22:6: error: Objective-C interoperability is disabled
    @objc public init(instanceId: String) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:35:6: error: Objective-C interoperability is disabled
    @objc public static let shared = PushNotificationsStatic.self
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:51:6: error: Objective-C interoperability is disabled
    @objc public func start() {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:78:6: error: Objective-C interoperability is disabled
    @objc public func registerForRemoteNotifications() {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:110:6: error: Objective-C interoperability is disabled
    @objc public func setUserId(_ userId: String, tokenProvider: TokenProvider, completion: @escaping (Error?) -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:156:6: error: Objective-C interoperability is disabled
    @objc private func printHelpfulMessage() {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:167:6: error: Objective-C interoperability is disabled
    @objc public func stop(completion: @escaping () -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:196:6: error: Objective-C interoperability is disabled
    @objc public func clearAllState(completion: @escaping () -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:218:6: error: Objective-C interoperability is disabled
    @objc public func registerDeviceToken(_ deviceToken: Data) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:232:6: error: Objective-C interoperability is disabled
    @objc public func addDeviceInterest(interest: String) throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:258:6: error: Objective-C interoperability is disabled
    @objc public func setDeviceInterests(interests: [String]) throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:283:7: error: Objective-C interoperability is disabled
     @objc public func removeDeviceInterest(interest: String) throws {
     ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:300:6: error: Objective-C interoperability is disabled
    @objc public func clearDeviceInterests() throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:310:6: error: Objective-C interoperability is disabled
    @objc public func getDeviceInterests() -> [String]? {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:333:6: error: Objective-C interoperability is disabled
    @objc public func handleNotification(userInfo: [AnyHashable: Any]) -> RemoteNotificationType {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:352:2: error: Objective-C interoperability is disabled
@objc public protocol InterestsChangedDelegate: AnyObject {
~^~~~~
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:11:2: error: Objective-C interoperability is disabled
@objc public final class PushNotificationsStatic: NSObject {
~^~~~~
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:28:6: error: Objective-C interoperability is disabled
    @objc public static func start(instanceId: String) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:50:6: error: Objective-C interoperability is disabled
    @objc public static func registerForRemoteNotifications() {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:102:6: error: Objective-C interoperability is disabled
    @objc public static func setUserId(_ userId: String, tokenProvider: TokenProvider, completion: @escaping (Error?) -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:117:6: error: Objective-C interoperability is disabled
    @objc public static func stop(completion: @escaping () -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:139:6: error: Objective-C interoperability is disabled
    @objc public static func clearAllState(completion: @escaping () -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:161:6: error: Objective-C interoperability is disabled
    @objc public static func registerDeviceToken(_ deviceToken: Data) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:192:6: error: Objective-C interoperability is disabled
    @objc public static func addDeviceInterest(interest: String) throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:211:6: error: Objective-C interoperability is disabled
    @objc public static func setDeviceInterests(interests: [String]) throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:229:6: error: Objective-C interoperability is disabled
    @objc public static func removeDeviceInterest(interest: String) throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:239:6: error: Objective-C interoperability is disabled
    @objc public static func clearDeviceInterests() throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:253:6: error: Objective-C interoperability is disabled
    @objc public static func getDeviceInterests() -> [String]? {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:268:6: error: Objective-C interoperability is disabled
    @objc public static func handleNotification(userInfo: [AnyHashable: Any]) -> RemoteNotificationType {
    ~^~~~~

/host/spi-builder-workspace/Sources/Services/BeamsTokenProvider.swift:4:2: error: Objective-C interoperability is disabled
@objc public final class BeamsTokenProvider: NSObject, TokenProvider {
~^~~~~
/host/spi-builder-workspace/Sources/Services/BeamsTokenProvider.swift:16:6: error: Objective-C interoperability is disabled
    @objc public init(authURL: String, getAuthData: @escaping () -> (AuthData)) {
    ~^~~~~

/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.
    let session: URLSession
                 ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/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.
    init(session: URLSession) {
                  ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:225:44: error: cannot find type 'URLRequest' in scope
    private func networkRequest(_ request: URLRequest,
                                           ^~~~~~~~~~
/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.
                                session: URLSession,
                                         ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:283:85: error: cannot find type 'URLRequest' in scope
    private func setRequest(url: URL, httpMethod: HTTPMethod, body: Data? = nil) -> URLRequest {
                                                                                    ^~~~~~~~~~
[2/44] Compiling PushNotifications InterestValidationError.swift
/host/spi-builder-workspace/Sources/Models/Metadata.swift:17:5: error: missing return in closure expected to return 'Metadata'
    }()
    ^
[3/44] Compiling PushNotifications Interests.swift
/host/spi-builder-workspace/Sources/Models/Metadata.swift:17:5: error: missing return in closure expected to return 'Metadata'
    }()
    ^
[4/44] Compiling PushNotifications Metadata.swift
/host/spi-builder-workspace/Sources/Models/Metadata.swift:17:5: error: missing return in closure expected to return 'Metadata'
    }()
    ^
[5/44] Compiling PushNotifications MultipleInvalidInterestsError.swift
/host/spi-builder-workspace/Sources/Models/Metadata.swift:17:5: error: missing return in closure expected to return 'Metadata'
    }()
    ^
[6/44] Compiling PushNotifications PersistenceConstants.swift
/host/spi-builder-workspace/Sources/Models/Metadata.swift:17:5: error: missing return in closure expected to return 'Metadata'
    }()
    ^
[7/44] Compiling PushNotifications PublishId.swift
/host/spi-builder-workspace/Sources/Models/Metadata.swift:17:5: error: missing return in closure expected to return 'Metadata'
    }()
    ^
[8/44] Compiling PushNotifications AuthData.swift
/host/spi-builder-workspace/Sources/Models/AuthData.swift:4:2: error: Objective-C interoperability is disabled
@objc public class AuthData: NSObject {
~^~~~~
/host/spi-builder-workspace/Sources/Models/AuthData.swift:16:6: error: Objective-C interoperability is disabled
    @objc public init(headers: [String: String], queryParams: [String: String]) {
    ~^~~~~

[9/44] Compiling PushNotifications Constants.swift
/host/spi-builder-workspace/Sources/Models/AuthData.swift:4:2: error: Objective-C interoperability is disabled
@objc public class AuthData: NSObject {
~^~~~~
/host/spi-builder-workspace/Sources/Models/AuthData.swift:16:6: error: Objective-C interoperability is disabled
    @objc public init(headers: [String: String], queryParams: [String: String]) {
    ~^~~~~

[10/44] Compiling PushNotifications Device.swift
/host/spi-builder-workspace/Sources/Models/AuthData.swift:4:2: error: Objective-C interoperability is disabled
@objc public class AuthData: NSObject {
~^~~~~
/host/spi-builder-workspace/Sources/Models/AuthData.swift:16:6: error: Objective-C interoperability is disabled
    @objc public init(headers: [String: String], queryParams: [String: String]) {
    ~^~~~~

[11/44] Compiling PushNotifications FeatureFlags.swift
/host/spi-builder-workspace/Sources/Models/AuthData.swift:4:2: error: Objective-C interoperability is disabled
@objc public class AuthData: NSObject {
~^~~~~
/host/spi-builder-workspace/Sources/Models/AuthData.swift:16:6: error: Objective-C interoperability is disabled
    @objc public init(headers: [String: String], queryParams: [String: String]) {
    ~^~~~~

[12/44] Compiling PushNotifications HTTPMethod.swift
/host/spi-builder-workspace/Sources/Models/AuthData.swift:4:2: error: Objective-C interoperability is disabled
@objc public class AuthData: NSObject {
~^~~~~
/host/spi-builder-workspace/Sources/Models/AuthData.swift:16:6: error: Objective-C interoperability is disabled
    @objc public init(headers: [String: String], queryParams: [String: String]) {
    ~^~~~~

[13/44] Compiling PushNotifications InstanceId.swift
/host/spi-builder-workspace/Sources/Models/AuthData.swift:4:2: error: Objective-C interoperability is disabled
@objc public class AuthData: NSObject {
~^~~~~
/host/spi-builder-workspace/Sources/Models/AuthData.swift:16:6: error: Objective-C interoperability is disabled
    @objc public init(headers: [String: String], queryParams: [String: String]) {
    ~^~~~~

[14/44] Compiling PushNotifications EventTypeHandler.swift
/host/spi-builder-workspace/Sources/Services/EventTypeHandler.swift:147:31: error: cannot find 'isForeground' in scope
        if hasCustomerData && isForeground {
                              ^~~~~~~~~~~~
/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.
    let session: URLSession
                 ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/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.
    init(session: URLSession) {
                  ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:225:44: error: cannot find type 'URLRequest' in scope
    private func networkRequest(_ request: URLRequest,
                                           ^~~~~~~~~~
/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.
                                session: URLSession,
                                         ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:283:85: error: cannot find type 'URLRequest' in scope
    private func setRequest(url: URL, httpMethod: HTTPMethod, body: Data? = nil) -> URLRequest {
                                                                                    ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:28:66: error: cannot infer contextual base in reference to member 'POST'
            let request = self.setRequest(url: url, httpMethod: .POST, body: body)
                                                                ~^~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:54:66: error: cannot infer contextual base in reference to member 'POST'
            let request = self.setRequest(url: url, httpMethod: .POST)
                                                                ~^~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:79:66: error: cannot infer contextual base in reference to member 'PUT'
            let request = self.setRequest(url: url, httpMethod: .PUT, body: body)
                                                                ~^~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:102:66: error: cannot infer contextual base in reference to member 'DELETE'
            let request = self.setRequest(url: url, httpMethod: .DELETE)
                                                                ~^~~~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:127:66: error: cannot infer contextual base in reference to member 'POST'
            let request = self.setRequest(url: url, httpMethod: .POST, body: body)
                                                                ~^~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:151:66: error: cannot infer contextual base in reference to member 'PUT'
            let request = self.setRequest(url: url, httpMethod: .PUT, body: body)
                                                                ~^~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:172:66: error: cannot infer contextual base in reference to member 'PUT'
            var request = self.setRequest(url: url, httpMethod: .PUT)
                                                                ~^~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:193:66: error: cannot infer contextual base in reference to member 'DELETE'
            let request = self.setRequest(url: url, httpMethod: .DELETE)
                                                                ~^~~~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:213:66: error: cannot infer contextual base in reference to member 'GET'
            let request = self.setRequest(url: url, httpMethod: .GET)
                                                                ~^~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:231:17: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
        session.dataTask(with: request, completionHandler: { data, response, error in
        ~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:247:46: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
            let statusCode = httpURLResponse.statusCode
                             ~~~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:284:23: error: cannot find 'URLRequest' in scope
        var request = URLRequest(url: url)
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/ServerSyncProcessHandler.swift:47:23: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        let session = URLSession(configuration: .ephemeral)
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/ServerSyncProcessHandler.swift:47:50: error: cannot infer contextual base in reference to member 'ephemeral'
        let session = URLSession(configuration: .ephemeral)
                                                ~^~~~~~~~~
[15/44] Compiling PushNotifications NetworkService.swift
/host/spi-builder-workspace/Sources/Services/EventTypeHandler.swift:147:31: error: cannot find 'isForeground' in scope
        if hasCustomerData && isForeground {
                              ^~~~~~~~~~~~
/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.
    let session: URLSession
                 ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/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.
    init(session: URLSession) {
                  ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:225:44: error: cannot find type 'URLRequest' in scope
    private func networkRequest(_ request: URLRequest,
                                           ^~~~~~~~~~
/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.
                                session: URLSession,
                                         ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:283:85: error: cannot find type 'URLRequest' in scope
    private func setRequest(url: URL, httpMethod: HTTPMethod, body: Data? = nil) -> URLRequest {
                                                                                    ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:28:66: error: cannot infer contextual base in reference to member 'POST'
            let request = self.setRequest(url: url, httpMethod: .POST, body: body)
                                                                ~^~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:54:66: error: cannot infer contextual base in reference to member 'POST'
            let request = self.setRequest(url: url, httpMethod: .POST)
                                                                ~^~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:79:66: error: cannot infer contextual base in reference to member 'PUT'
            let request = self.setRequest(url: url, httpMethod: .PUT, body: body)
                                                                ~^~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:102:66: error: cannot infer contextual base in reference to member 'DELETE'
            let request = self.setRequest(url: url, httpMethod: .DELETE)
                                                                ~^~~~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:127:66: error: cannot infer contextual base in reference to member 'POST'
            let request = self.setRequest(url: url, httpMethod: .POST, body: body)
                                                                ~^~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:151:66: error: cannot infer contextual base in reference to member 'PUT'
            let request = self.setRequest(url: url, httpMethod: .PUT, body: body)
                                                                ~^~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:172:66: error: cannot infer contextual base in reference to member 'PUT'
            var request = self.setRequest(url: url, httpMethod: .PUT)
                                                                ~^~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:193:66: error: cannot infer contextual base in reference to member 'DELETE'
            let request = self.setRequest(url: url, httpMethod: .DELETE)
                                                                ~^~~~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:213:66: error: cannot infer contextual base in reference to member 'GET'
            let request = self.setRequest(url: url, httpMethod: .GET)
                                                                ~^~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:231:17: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
        session.dataTask(with: request, completionHandler: { data, response, error in
        ~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:247:46: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
            let statusCode = httpURLResponse.statusCode
                             ~~~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:284:23: error: cannot find 'URLRequest' in scope
        var request = URLRequest(url: url)
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/ServerSyncProcessHandler.swift:47:23: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        let session = URLSession(configuration: .ephemeral)
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/ServerSyncProcessHandler.swift:47:50: error: cannot infer contextual base in reference to member 'ephemeral'
        let session = URLSession(configuration: .ephemeral)
                                                ~^~~~~~~~~
[16/44] Compiling PushNotifications ServerSyncEventHandler.swift
/host/spi-builder-workspace/Sources/Services/EventTypeHandler.swift:147:31: error: cannot find 'isForeground' in scope
        if hasCustomerData && isForeground {
                              ^~~~~~~~~~~~
/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.
    let session: URLSession
                 ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/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.
    init(session: URLSession) {
                  ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:225:44: error: cannot find type 'URLRequest' in scope
    private func networkRequest(_ request: URLRequest,
                                           ^~~~~~~~~~
/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.
                                session: URLSession,
                                         ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:283:85: error: cannot find type 'URLRequest' in scope
    private func setRequest(url: URL, httpMethod: HTTPMethod, body: Data? = nil) -> URLRequest {
                                                                                    ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:28:66: error: cannot infer contextual base in reference to member 'POST'
            let request = self.setRequest(url: url, httpMethod: .POST, body: body)
                                                                ~^~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:54:66: error: cannot infer contextual base in reference to member 'POST'
            let request = self.setRequest(url: url, httpMethod: .POST)
                                                                ~^~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:79:66: error: cannot infer contextual base in reference to member 'PUT'
            let request = self.setRequest(url: url, httpMethod: .PUT, body: body)
                                                                ~^~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:102:66: error: cannot infer contextual base in reference to member 'DELETE'
            let request = self.setRequest(url: url, httpMethod: .DELETE)
                                                                ~^~~~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:127:66: error: cannot infer contextual base in reference to member 'POST'
            let request = self.setRequest(url: url, httpMethod: .POST, body: body)
                                                                ~^~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:151:66: error: cannot infer contextual base in reference to member 'PUT'
            let request = self.setRequest(url: url, httpMethod: .PUT, body: body)
                                                                ~^~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:172:66: error: cannot infer contextual base in reference to member 'PUT'
            var request = self.setRequest(url: url, httpMethod: .PUT)
                                                                ~^~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:193:66: error: cannot infer contextual base in reference to member 'DELETE'
            let request = self.setRequest(url: url, httpMethod: .DELETE)
                                                                ~^~~~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:213:66: error: cannot infer contextual base in reference to member 'GET'
            let request = self.setRequest(url: url, httpMethod: .GET)
                                                                ~^~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:231:17: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
        session.dataTask(with: request, completionHandler: { data, response, error in
        ~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:247:46: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
            let statusCode = httpURLResponse.statusCode
                             ~~~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:284:23: error: cannot find 'URLRequest' in scope
        var request = URLRequest(url: url)
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/ServerSyncProcessHandler.swift:47:23: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        let session = URLSession(configuration: .ephemeral)
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/ServerSyncProcessHandler.swift:47:50: error: cannot infer contextual base in reference to member 'ephemeral'
        let session = URLSession(configuration: .ephemeral)
                                                ~^~~~~~~~~
[17/44] Compiling PushNotifications ServerSyncJobStore.swift
/host/spi-builder-workspace/Sources/Services/EventTypeHandler.swift:147:31: error: cannot find 'isForeground' in scope
        if hasCustomerData && isForeground {
                              ^~~~~~~~~~~~
/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.
    let session: URLSession
                 ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/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.
    init(session: URLSession) {
                  ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:225:44: error: cannot find type 'URLRequest' in scope
    private func networkRequest(_ request: URLRequest,
                                           ^~~~~~~~~~
/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.
                                session: URLSession,
                                         ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:283:85: error: cannot find type 'URLRequest' in scope
    private func setRequest(url: URL, httpMethod: HTTPMethod, body: Data? = nil) -> URLRequest {
                                                                                    ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:28:66: error: cannot infer contextual base in reference to member 'POST'
            let request = self.setRequest(url: url, httpMethod: .POST, body: body)
                                                                ~^~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:54:66: error: cannot infer contextual base in reference to member 'POST'
            let request = self.setRequest(url: url, httpMethod: .POST)
                                                                ~^~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:79:66: error: cannot infer contextual base in reference to member 'PUT'
            let request = self.setRequest(url: url, httpMethod: .PUT, body: body)
                                                                ~^~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:102:66: error: cannot infer contextual base in reference to member 'DELETE'
            let request = self.setRequest(url: url, httpMethod: .DELETE)
                                                                ~^~~~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:127:66: error: cannot infer contextual base in reference to member 'POST'
            let request = self.setRequest(url: url, httpMethod: .POST, body: body)
                                                                ~^~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:151:66: error: cannot infer contextual base in reference to member 'PUT'
            let request = self.setRequest(url: url, httpMethod: .PUT, body: body)
                                                                ~^~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:172:66: error: cannot infer contextual base in reference to member 'PUT'
            var request = self.setRequest(url: url, httpMethod: .PUT)
                                                                ~^~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:193:66: error: cannot infer contextual base in reference to member 'DELETE'
            let request = self.setRequest(url: url, httpMethod: .DELETE)
                                                                ~^~~~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:213:66: error: cannot infer contextual base in reference to member 'GET'
            let request = self.setRequest(url: url, httpMethod: .GET)
                                                                ~^~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:231:17: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
        session.dataTask(with: request, completionHandler: { data, response, error in
        ~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:247:46: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
            let statusCode = httpURLResponse.statusCode
                             ~~~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:284:23: error: cannot find 'URLRequest' in scope
        var request = URLRequest(url: url)
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/ServerSyncProcessHandler.swift:47:23: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        let session = URLSession(configuration: .ephemeral)
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/ServerSyncProcessHandler.swift:47:50: error: cannot infer contextual base in reference to member 'ephemeral'
        let session = URLSession(configuration: .ephemeral)
                                                ~^~~~~~~~~
[18/44] Compiling PushNotifications ServerSyncProcessHandler.swift
/host/spi-builder-workspace/Sources/Services/EventTypeHandler.swift:147:31: error: cannot find 'isForeground' in scope
        if hasCustomerData && isForeground {
                              ^~~~~~~~~~~~
/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.
    let session: URLSession
                 ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/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.
    init(session: URLSession) {
                  ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:225:44: error: cannot find type 'URLRequest' in scope
    private func networkRequest(_ request: URLRequest,
                                           ^~~~~~~~~~
/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.
                                session: URLSession,
                                         ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:283:85: error: cannot find type 'URLRequest' in scope
    private func setRequest(url: URL, httpMethod: HTTPMethod, body: Data? = nil) -> URLRequest {
                                                                                    ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:28:66: error: cannot infer contextual base in reference to member 'POST'
            let request = self.setRequest(url: url, httpMethod: .POST, body: body)
                                                                ~^~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:54:66: error: cannot infer contextual base in reference to member 'POST'
            let request = self.setRequest(url: url, httpMethod: .POST)
                                                                ~^~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:79:66: error: cannot infer contextual base in reference to member 'PUT'
            let request = self.setRequest(url: url, httpMethod: .PUT, body: body)
                                                                ~^~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:102:66: error: cannot infer contextual base in reference to member 'DELETE'
            let request = self.setRequest(url: url, httpMethod: .DELETE)
                                                                ~^~~~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:127:66: error: cannot infer contextual base in reference to member 'POST'
            let request = self.setRequest(url: url, httpMethod: .POST, body: body)
                                                                ~^~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:151:66: error: cannot infer contextual base in reference to member 'PUT'
            let request = self.setRequest(url: url, httpMethod: .PUT, body: body)
                                                                ~^~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:172:66: error: cannot infer contextual base in reference to member 'PUT'
            var request = self.setRequest(url: url, httpMethod: .PUT)
                                                                ~^~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:193:66: error: cannot infer contextual base in reference to member 'DELETE'
            let request = self.setRequest(url: url, httpMethod: .DELETE)
                                                                ~^~~~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:213:66: error: cannot infer contextual base in reference to member 'GET'
            let request = self.setRequest(url: url, httpMethod: .GET)
                                                                ~^~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:231:17: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
        session.dataTask(with: request, completionHandler: { data, response, error in
        ~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:247:46: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
            let statusCode = httpURLResponse.statusCode
                             ~~~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:284:23: error: cannot find 'URLRequest' in scope
        var request = URLRequest(url: url)
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/ServerSyncProcessHandler.swift:47:23: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        let session = URLSession(configuration: .ephemeral)
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/ServerSyncProcessHandler.swift:47:50: error: cannot infer contextual base in reference to member 'ephemeral'
        let session = URLSession(configuration: .ephemeral)
                                                ~^~~~~~~~~
[19/44] Compiling PushNotifications Token.swift
[20/44] Compiling PushNotifications PropertyListReadable.swift
[21/44] Compiling PushNotifications PushNotificationsNetworkable.swift
[22/44] Compiling PushNotifications ReportEventType.swift
[23/44] Compiling PushNotifications RetryStrategy.swift
[24/44] Compiling PushNotifications PushNotificationsAPIError.swift
[25/44] Compiling PushNotifications PushNotificationsError.swift
[26/44] Compiling PushNotifications PusherAlreadyRegisteredError.swift
[27/44] Compiling PushNotifications Reason.swift
[28/44] Compiling PushNotifications Register.swift
[29/44] Compiling PushNotifications RemoteNotificationType.swift
/host/spi-builder-workspace/Sources/Models/SystemVersion.swift:5:38: error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
        let operatingSystemVersion = ProcessInfo().operatingSystemVersion
                                     ^
Foundation.ProcessInfo (internal):3:23: note: 'init()' declared here
    override internal init()
                      ^
[30/44] Compiling PushNotifications SDK.swift
/host/spi-builder-workspace/Sources/Models/SystemVersion.swift:5:38: error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
        let operatingSystemVersion = ProcessInfo().operatingSystemVersion
                                     ^
Foundation.ProcessInfo (internal):3:23: note: 'init()' declared here
    override internal init()
                      ^
[31/44] Compiling PushNotifications ServerSyncEvent.swift
/host/spi-builder-workspace/Sources/Models/SystemVersion.swift:5:38: error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
        let operatingSystemVersion = ProcessInfo().operatingSystemVersion
                                     ^
Foundation.ProcessInfo (internal):3:23: note: 'init()' declared here
    override internal init()
                      ^
[32/44] Compiling PushNotifications ServerSyncJob.swift
/host/spi-builder-workspace/Sources/Models/SystemVersion.swift:5:38: error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
        let operatingSystemVersion = ProcessInfo().operatingSystemVersion
                                     ^
Foundation.ProcessInfo (internal):3:23: note: 'init()' declared here
    override internal init()
                      ^
[33/44] Compiling PushNotifications SystemVersion.swift
/host/spi-builder-workspace/Sources/Models/SystemVersion.swift:5:38: error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
        let operatingSystemVersion = ProcessInfo().operatingSystemVersion
                                     ^
Foundation.ProcessInfo (internal):3:23: note: 'init()' declared here
    override internal init()
                      ^
[34/44] Compiling PushNotifications TokenProvider.swift
/host/spi-builder-workspace/Sources/Protocols/TokenProvider.swift:24:2: error: Objective-C interoperability is disabled
@objc public protocol TokenProvider {
~^~~~~
/host/spi-builder-workspace/Sources/PushNotifications.swift:11:2: error: Objective-C interoperability is disabled
@objc public final class PushNotifications: NSObject {
~^~~~~
/host/spi-builder-workspace/Sources/PushNotifications.swift:22:6: error: Objective-C interoperability is disabled
    @objc public init(instanceId: String) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:35:6: error: Objective-C interoperability is disabled
    @objc public static let shared = PushNotificationsStatic.self
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:51:6: error: Objective-C interoperability is disabled
    @objc public func start() {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:78:6: error: Objective-C interoperability is disabled
    @objc public func registerForRemoteNotifications() {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:110:6: error: Objective-C interoperability is disabled
    @objc public func setUserId(_ userId: String, tokenProvider: TokenProvider, completion: @escaping (Error?) -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:156:6: error: Objective-C interoperability is disabled
    @objc private func printHelpfulMessage() {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:167:6: error: Objective-C interoperability is disabled
    @objc public func stop(completion: @escaping () -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:196:6: error: Objective-C interoperability is disabled
    @objc public func clearAllState(completion: @escaping () -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:218:6: error: Objective-C interoperability is disabled
    @objc public func registerDeviceToken(_ deviceToken: Data) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:232:6: error: Objective-C interoperability is disabled
    @objc public func addDeviceInterest(interest: String) throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:258:6: error: Objective-C interoperability is disabled
    @objc public func setDeviceInterests(interests: [String]) throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:283:7: error: Objective-C interoperability is disabled
     @objc public func removeDeviceInterest(interest: String) throws {
     ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:300:6: error: Objective-C interoperability is disabled
    @objc public func clearDeviceInterests() throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:310:6: error: Objective-C interoperability is disabled
    @objc public func getDeviceInterests() -> [String]? {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:333:6: error: Objective-C interoperability is disabled
    @objc public func handleNotification(userInfo: [AnyHashable: Any]) -> RemoteNotificationType {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:352:2: error: Objective-C interoperability is disabled
@objc public protocol InterestsChangedDelegate: AnyObject {
~^~~~~
/host/spi-builder-workspace/Sources/PushNotifications.swift:141:91: error: '#selector' can only be used with the Objective-C runtime
        let helpfulTimer = Timer.scheduledTimer(timeInterval: 15, target: self, selector: #selector(printHelpfulMessage), userInfo: nil, repeats: false)
                                                                                          ^
/host/spi-builder-workspace/Sources/PushNotifications.swift:339:37: error: 'init(format:_:)' has been renamed to 'init(block:)': Predicate strings and key-value coding are not supported in swift-corelibs-foundation. Use a closure instead if possible.
        let interestNamePredicate = NSPredicate(format: "SELF MATCHES %@", interestNameRegex)
                                    ^
Foundation.NSPredicate:3:24: note: 'init(format:_:)' has been explicitly marked unavailable here
    public convenience init(format predicateFormat: String, _ args: CVarArg...)
                       ^
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:11:2: error: Objective-C interoperability is disabled
@objc public final class PushNotificationsStatic: NSObject {
~^~~~~
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:28:6: error: Objective-C interoperability is disabled
    @objc public static func start(instanceId: String) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:50:6: error: Objective-C interoperability is disabled
    @objc public static func registerForRemoteNotifications() {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:102:6: error: Objective-C interoperability is disabled
    @objc public static func setUserId(_ userId: String, tokenProvider: TokenProvider, completion: @escaping (Error?) -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:117:6: error: Objective-C interoperability is disabled
    @objc public static func stop(completion: @escaping () -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:139:6: error: Objective-C interoperability is disabled
    @objc public static func clearAllState(completion: @escaping () -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:161:6: error: Objective-C interoperability is disabled
    @objc public static func registerDeviceToken(_ deviceToken: Data) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:192:6: error: Objective-C interoperability is disabled
    @objc public static func addDeviceInterest(interest: String) throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:211:6: error: Objective-C interoperability is disabled
    @objc public static func setDeviceInterests(interests: [String]) throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:229:6: error: Objective-C interoperability is disabled
    @objc public static func removeDeviceInterest(interest: String) throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:239:6: error: Objective-C interoperability is disabled
    @objc public static func clearDeviceInterests() throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:253:6: error: Objective-C interoperability is disabled
    @objc public static func getDeviceInterests() -> [String]? {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:268:6: error: Objective-C interoperability is disabled
    @objc public static func handleNotification(userInfo: [AnyHashable: Any]) -> RemoteNotificationType {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:51:14: error: type 'PushNotificationsStatic' has no member 'registerForPushNotifications'
        self.registerForPushNotifications(options: [.alert, .sound, .badge])
        ~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:51:54: error: reference to member 'alert' cannot be resolved without a contextual type
        self.registerForPushNotifications(options: [.alert, .sound, .badge])
                                                     ^
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:51:62: error: reference to member 'sound' cannot be resolved without a contextual type
        self.registerForPushNotifications(options: [.alert, .sound, .badge])
                                                             ^
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:51:70: error: reference to member 'badge' cannot be resolved without a contextual type
        self.registerForPushNotifications(options: [.alert, .sound, .badge])
                                                                     ^
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:284:84: error: cannot find 'eventType' in scope
        let serverSyncProcessHandler = ServerSyncProcessHandler.obtain(instanceId: eventType.getInstanceId())
                                                                                   ^~~~~~~~~
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:285:89: error: cannot find 'eventType' in scope
        serverSyncProcessHandler?.sendMessage(serverSyncJob: .reportEventJob(eventType: eventType))
                                                                                        ^~~~~~~~~
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:285:63: error: cannot infer contextual base in reference to member 'reportEventJob'
        serverSyncProcessHandler?.sendMessage(serverSyncJob: .reportEventJob(eventType: eventType))
                                                             ~^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/BeamsTokenProvider.swift:4:2: error: Objective-C interoperability is disabled
@objc public final class BeamsTokenProvider: NSObject, TokenProvider {
~^~~~~
/host/spi-builder-workspace/Sources/Services/BeamsTokenProvider.swift:16:6: error: Objective-C interoperability is disabled
    @objc public init(authURL: String, getAuthData: @escaping () -> (AuthData)) {
    ~^~~~~

/host/spi-builder-workspace/Sources/Services/BeamsTokenProvider.swift:30:26: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        let urlSession = URLSession(configuration: .ephemeral)
                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/BeamsTokenProvider.swift:30:53: error: cannot infer contextual base in reference to member 'ephemeral'
        let urlSession = URLSession(configuration: .ephemeral)
                                                   ~^~~~~~~~~
/host/spi-builder-workspace/Sources/Services/BeamsTokenProvider.swift:43:26: error: cannot find 'URLRequest' in scope
        var urlRequest = URLRequest(url: url)
                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/BeamsTokenProvider.swift:56:46: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
            let statusCode = httpURLResponse.statusCode
                             ~~~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/DeviceStateStore.swift:206:24: error: value of type 'UserDefaults' has no member 'value'
        return service.value(forKey: PersistenceConstants.PersistenceService.hashKey) as? String ?? ""
               ~~~~~~~ ^~~~~
[35/44] Compiling PushNotifications PushNotifications.swift
/host/spi-builder-workspace/Sources/Protocols/TokenProvider.swift:24:2: error: Objective-C interoperability is disabled
@objc public protocol TokenProvider {
~^~~~~
/host/spi-builder-workspace/Sources/PushNotifications.swift:11:2: error: Objective-C interoperability is disabled
@objc public final class PushNotifications: NSObject {
~^~~~~
/host/spi-builder-workspace/Sources/PushNotifications.swift:22:6: error: Objective-C interoperability is disabled
    @objc public init(instanceId: String) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:35:6: error: Objective-C interoperability is disabled
    @objc public static let shared = PushNotificationsStatic.self
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:51:6: error: Objective-C interoperability is disabled
    @objc public func start() {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:78:6: error: Objective-C interoperability is disabled
    @objc public func registerForRemoteNotifications() {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:110:6: error: Objective-C interoperability is disabled
    @objc public func setUserId(_ userId: String, tokenProvider: TokenProvider, completion: @escaping (Error?) -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:156:6: error: Objective-C interoperability is disabled
    @objc private func printHelpfulMessage() {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:167:6: error: Objective-C interoperability is disabled
    @objc public func stop(completion: @escaping () -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:196:6: error: Objective-C interoperability is disabled
    @objc public func clearAllState(completion: @escaping () -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:218:6: error: Objective-C interoperability is disabled
    @objc public func registerDeviceToken(_ deviceToken: Data) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:232:6: error: Objective-C interoperability is disabled
    @objc public func addDeviceInterest(interest: String) throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:258:6: error: Objective-C interoperability is disabled
    @objc public func setDeviceInterests(interests: [String]) throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:283:7: error: Objective-C interoperability is disabled
     @objc public func removeDeviceInterest(interest: String) throws {
     ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:300:6: error: Objective-C interoperability is disabled
    @objc public func clearDeviceInterests() throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:310:6: error: Objective-C interoperability is disabled
    @objc public func getDeviceInterests() -> [String]? {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:333:6: error: Objective-C interoperability is disabled
    @objc public func handleNotification(userInfo: [AnyHashable: Any]) -> RemoteNotificationType {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:352:2: error: Objective-C interoperability is disabled
@objc public protocol InterestsChangedDelegate: AnyObject {
~^~~~~
/host/spi-builder-workspace/Sources/PushNotifications.swift:141:91: error: '#selector' can only be used with the Objective-C runtime
        let helpfulTimer = Timer.scheduledTimer(timeInterval: 15, target: self, selector: #selector(printHelpfulMessage), userInfo: nil, repeats: false)
                                                                                          ^
/host/spi-builder-workspace/Sources/PushNotifications.swift:339:37: error: 'init(format:_:)' has been renamed to 'init(block:)': Predicate strings and key-value coding are not supported in swift-corelibs-foundation. Use a closure instead if possible.
        let interestNamePredicate = NSPredicate(format: "SELF MATCHES %@", interestNameRegex)
                                    ^
Foundation.NSPredicate:3:24: note: 'init(format:_:)' has been explicitly marked unavailable here
    public convenience init(format predicateFormat: String, _ args: CVarArg...)
                       ^
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:11:2: error: Objective-C interoperability is disabled
@objc public final class PushNotificationsStatic: NSObject {
~^~~~~
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:28:6: error: Objective-C interoperability is disabled
    @objc public static func start(instanceId: String) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:50:6: error: Objective-C interoperability is disabled
    @objc public static func registerForRemoteNotifications() {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:102:6: error: Objective-C interoperability is disabled
    @objc public static func setUserId(_ userId: String, tokenProvider: TokenProvider, completion: @escaping (Error?) -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:117:6: error: Objective-C interoperability is disabled
    @objc public static func stop(completion: @escaping () -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:139:6: error: Objective-C interoperability is disabled
    @objc public static func clearAllState(completion: @escaping () -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:161:6: error: Objective-C interoperability is disabled
    @objc public static func registerDeviceToken(_ deviceToken: Data) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:192:6: error: Objective-C interoperability is disabled
    @objc public static func addDeviceInterest(interest: String) throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:211:6: error: Objective-C interoperability is disabled
    @objc public static func setDeviceInterests(interests: [String]) throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:229:6: error: Objective-C interoperability is disabled
    @objc public static func removeDeviceInterest(interest: String) throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:239:6: error: Objective-C interoperability is disabled
    @objc public static func clearDeviceInterests() throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:253:6: error: Objective-C interoperability is disabled
    @objc public static func getDeviceInterests() -> [String]? {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:268:6: error: Objective-C interoperability is disabled
    @objc public static func handleNotification(userInfo: [AnyHashable: Any]) -> RemoteNotificationType {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:51:14: error: type 'PushNotificationsStatic' has no member 'registerForPushNotifications'
        self.registerForPushNotifications(options: [.alert, .sound, .badge])
        ~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:51:54: error: reference to member 'alert' cannot be resolved without a contextual type
        self.registerForPushNotifications(options: [.alert, .sound, .badge])
                                                     ^
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:51:62: error: reference to member 'sound' cannot be resolved without a contextual type
        self.registerForPushNotifications(options: [.alert, .sound, .badge])
                                                             ^
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:51:70: error: reference to member 'badge' cannot be resolved without a contextual type
        self.registerForPushNotifications(options: [.alert, .sound, .badge])
                                                                     ^
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:284:84: error: cannot find 'eventType' in scope
        let serverSyncProcessHandler = ServerSyncProcessHandler.obtain(instanceId: eventType.getInstanceId())
                                                                                   ^~~~~~~~~
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:285:89: error: cannot find 'eventType' in scope
        serverSyncProcessHandler?.sendMessage(serverSyncJob: .reportEventJob(eventType: eventType))
                                                                                        ^~~~~~~~~
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:285:63: error: cannot infer contextual base in reference to member 'reportEventJob'
        serverSyncProcessHandler?.sendMessage(serverSyncJob: .reportEventJob(eventType: eventType))
                                                             ~^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/BeamsTokenProvider.swift:4:2: error: Objective-C interoperability is disabled
@objc public final class BeamsTokenProvider: NSObject, TokenProvider {
~^~~~~
/host/spi-builder-workspace/Sources/Services/BeamsTokenProvider.swift:16:6: error: Objective-C interoperability is disabled
    @objc public init(authURL: String, getAuthData: @escaping () -> (AuthData)) {
    ~^~~~~

/host/spi-builder-workspace/Sources/Services/BeamsTokenProvider.swift:30:26: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        let urlSession = URLSession(configuration: .ephemeral)
                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/BeamsTokenProvider.swift:30:53: error: cannot infer contextual base in reference to member 'ephemeral'
        let urlSession = URLSession(configuration: .ephemeral)
                                                   ~^~~~~~~~~
/host/spi-builder-workspace/Sources/Services/BeamsTokenProvider.swift:43:26: error: cannot find 'URLRequest' in scope
        var urlRequest = URLRequest(url: url)
                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/BeamsTokenProvider.swift:56:46: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
            let statusCode = httpURLResponse.statusCode
                             ~~~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/DeviceStateStore.swift:206:24: error: value of type 'UserDefaults' has no member 'value'
        return service.value(forKey: PersistenceConstants.PersistenceService.hashKey) as? String ?? ""
               ~~~~~~~ ^~~~~
[36/44] Compiling PushNotifications PushNotificationsStatic.swift
/host/spi-builder-workspace/Sources/Protocols/TokenProvider.swift:24:2: error: Objective-C interoperability is disabled
@objc public protocol TokenProvider {
~^~~~~
/host/spi-builder-workspace/Sources/PushNotifications.swift:11:2: error: Objective-C interoperability is disabled
@objc public final class PushNotifications: NSObject {
~^~~~~
/host/spi-builder-workspace/Sources/PushNotifications.swift:22:6: error: Objective-C interoperability is disabled
    @objc public init(instanceId: String) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:35:6: error: Objective-C interoperability is disabled
    @objc public static let shared = PushNotificationsStatic.self
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:51:6: error: Objective-C interoperability is disabled
    @objc public func start() {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:78:6: error: Objective-C interoperability is disabled
    @objc public func registerForRemoteNotifications() {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:110:6: error: Objective-C interoperability is disabled
    @objc public func setUserId(_ userId: String, tokenProvider: TokenProvider, completion: @escaping (Error?) -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:156:6: error: Objective-C interoperability is disabled
    @objc private func printHelpfulMessage() {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:167:6: error: Objective-C interoperability is disabled
    @objc public func stop(completion: @escaping () -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:196:6: error: Objective-C interoperability is disabled
    @objc public func clearAllState(completion: @escaping () -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:218:6: error: Objective-C interoperability is disabled
    @objc public func registerDeviceToken(_ deviceToken: Data) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:232:6: error: Objective-C interoperability is disabled
    @objc public func addDeviceInterest(interest: String) throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:258:6: error: Objective-C interoperability is disabled
    @objc public func setDeviceInterests(interests: [String]) throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:283:7: error: Objective-C interoperability is disabled
     @objc public func removeDeviceInterest(interest: String) throws {
     ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:300:6: error: Objective-C interoperability is disabled
    @objc public func clearDeviceInterests() throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:310:6: error: Objective-C interoperability is disabled
    @objc public func getDeviceInterests() -> [String]? {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:333:6: error: Objective-C interoperability is disabled
    @objc public func handleNotification(userInfo: [AnyHashable: Any]) -> RemoteNotificationType {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:352:2: error: Objective-C interoperability is disabled
@objc public protocol InterestsChangedDelegate: AnyObject {
~^~~~~
/host/spi-builder-workspace/Sources/PushNotifications.swift:141:91: error: '#selector' can only be used with the Objective-C runtime
        let helpfulTimer = Timer.scheduledTimer(timeInterval: 15, target: self, selector: #selector(printHelpfulMessage), userInfo: nil, repeats: false)
                                                                                          ^
/host/spi-builder-workspace/Sources/PushNotifications.swift:339:37: error: 'init(format:_:)' has been renamed to 'init(block:)': Predicate strings and key-value coding are not supported in swift-corelibs-foundation. Use a closure instead if possible.
        let interestNamePredicate = NSPredicate(format: "SELF MATCHES %@", interestNameRegex)
                                    ^
Foundation.NSPredicate:3:24: note: 'init(format:_:)' has been explicitly marked unavailable here
    public convenience init(format predicateFormat: String, _ args: CVarArg...)
                       ^
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:11:2: error: Objective-C interoperability is disabled
@objc public final class PushNotificationsStatic: NSObject {
~^~~~~
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:28:6: error: Objective-C interoperability is disabled
    @objc public static func start(instanceId: String) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:50:6: error: Objective-C interoperability is disabled
    @objc public static func registerForRemoteNotifications() {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:102:6: error: Objective-C interoperability is disabled
    @objc public static func setUserId(_ userId: String, tokenProvider: TokenProvider, completion: @escaping (Error?) -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:117:6: error: Objective-C interoperability is disabled
    @objc public static func stop(completion: @escaping () -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:139:6: error: Objective-C interoperability is disabled
    @objc public static func clearAllState(completion: @escaping () -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:161:6: error: Objective-C interoperability is disabled
    @objc public static func registerDeviceToken(_ deviceToken: Data) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:192:6: error: Objective-C interoperability is disabled
    @objc public static func addDeviceInterest(interest: String) throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:211:6: error: Objective-C interoperability is disabled
    @objc public static func setDeviceInterests(interests: [String]) throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:229:6: error: Objective-C interoperability is disabled
    @objc public static func removeDeviceInterest(interest: String) throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:239:6: error: Objective-C interoperability is disabled
    @objc public static func clearDeviceInterests() throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:253:6: error: Objective-C interoperability is disabled
    @objc public static func getDeviceInterests() -> [String]? {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:268:6: error: Objective-C interoperability is disabled
    @objc public static func handleNotification(userInfo: [AnyHashable: Any]) -> RemoteNotificationType {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:51:14: error: type 'PushNotificationsStatic' has no member 'registerForPushNotifications'
        self.registerForPushNotifications(options: [.alert, .sound, .badge])
        ~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:51:54: error: reference to member 'alert' cannot be resolved without a contextual type
        self.registerForPushNotifications(options: [.alert, .sound, .badge])
                                                     ^
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:51:62: error: reference to member 'sound' cannot be resolved without a contextual type
        self.registerForPushNotifications(options: [.alert, .sound, .badge])
                                                             ^
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:51:70: error: reference to member 'badge' cannot be resolved without a contextual type
        self.registerForPushNotifications(options: [.alert, .sound, .badge])
                                                                     ^
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:284:84: error: cannot find 'eventType' in scope
        let serverSyncProcessHandler = ServerSyncProcessHandler.obtain(instanceId: eventType.getInstanceId())
                                                                                   ^~~~~~~~~
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:285:89: error: cannot find 'eventType' in scope
        serverSyncProcessHandler?.sendMessage(serverSyncJob: .reportEventJob(eventType: eventType))
                                                                                        ^~~~~~~~~
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:285:63: error: cannot infer contextual base in reference to member 'reportEventJob'
        serverSyncProcessHandler?.sendMessage(serverSyncJob: .reportEventJob(eventType: eventType))
                                                             ~^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/BeamsTokenProvider.swift:4:2: error: Objective-C interoperability is disabled
@objc public final class BeamsTokenProvider: NSObject, TokenProvider {
~^~~~~
/host/spi-builder-workspace/Sources/Services/BeamsTokenProvider.swift:16:6: error: Objective-C interoperability is disabled
    @objc public init(authURL: String, getAuthData: @escaping () -> (AuthData)) {
    ~^~~~~

/host/spi-builder-workspace/Sources/Services/BeamsTokenProvider.swift:30:26: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        let urlSession = URLSession(configuration: .ephemeral)
                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/BeamsTokenProvider.swift:30:53: error: cannot infer contextual base in reference to member 'ephemeral'
        let urlSession = URLSession(configuration: .ephemeral)
                                                   ~^~~~~~~~~
/host/spi-builder-workspace/Sources/Services/BeamsTokenProvider.swift:43:26: error: cannot find 'URLRequest' in scope
        var urlRequest = URLRequest(url: url)
                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/BeamsTokenProvider.swift:56:46: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
            let statusCode = httpURLResponse.statusCode
                             ~~~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/DeviceStateStore.swift:206:24: error: value of type 'UserDefaults' has no member 'value'
        return service.value(forKey: PersistenceConstants.PersistenceService.hashKey) as? String ?? ""
               ~~~~~~~ ^~~~~
[37/44] Compiling PushNotifications BeamsTokenProvider.swift
/host/spi-builder-workspace/Sources/Protocols/TokenProvider.swift:24:2: error: Objective-C interoperability is disabled
@objc public protocol TokenProvider {
~^~~~~
/host/spi-builder-workspace/Sources/PushNotifications.swift:11:2: error: Objective-C interoperability is disabled
@objc public final class PushNotifications: NSObject {
~^~~~~
/host/spi-builder-workspace/Sources/PushNotifications.swift:22:6: error: Objective-C interoperability is disabled
    @objc public init(instanceId: String) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:35:6: error: Objective-C interoperability is disabled
    @objc public static let shared = PushNotificationsStatic.self
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:51:6: error: Objective-C interoperability is disabled
    @objc public func start() {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:78:6: error: Objective-C interoperability is disabled
    @objc public func registerForRemoteNotifications() {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:110:6: error: Objective-C interoperability is disabled
    @objc public func setUserId(_ userId: String, tokenProvider: TokenProvider, completion: @escaping (Error?) -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:156:6: error: Objective-C interoperability is disabled
    @objc private func printHelpfulMessage() {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:167:6: error: Objective-C interoperability is disabled
    @objc public func stop(completion: @escaping () -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:196:6: error: Objective-C interoperability is disabled
    @objc public func clearAllState(completion: @escaping () -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:218:6: error: Objective-C interoperability is disabled
    @objc public func registerDeviceToken(_ deviceToken: Data) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:232:6: error: Objective-C interoperability is disabled
    @objc public func addDeviceInterest(interest: String) throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:258:6: error: Objective-C interoperability is disabled
    @objc public func setDeviceInterests(interests: [String]) throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:283:7: error: Objective-C interoperability is disabled
     @objc public func removeDeviceInterest(interest: String) throws {
     ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:300:6: error: Objective-C interoperability is disabled
    @objc public func clearDeviceInterests() throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:310:6: error: Objective-C interoperability is disabled
    @objc public func getDeviceInterests() -> [String]? {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:333:6: error: Objective-C interoperability is disabled
    @objc public func handleNotification(userInfo: [AnyHashable: Any]) -> RemoteNotificationType {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:352:2: error: Objective-C interoperability is disabled
@objc public protocol InterestsChangedDelegate: AnyObject {
~^~~~~
/host/spi-builder-workspace/Sources/PushNotifications.swift:141:91: error: '#selector' can only be used with the Objective-C runtime
        let helpfulTimer = Timer.scheduledTimer(timeInterval: 15, target: self, selector: #selector(printHelpfulMessage), userInfo: nil, repeats: false)
                                                                                          ^
/host/spi-builder-workspace/Sources/PushNotifications.swift:339:37: error: 'init(format:_:)' has been renamed to 'init(block:)': Predicate strings and key-value coding are not supported in swift-corelibs-foundation. Use a closure instead if possible.
        let interestNamePredicate = NSPredicate(format: "SELF MATCHES %@", interestNameRegex)
                                    ^
Foundation.NSPredicate:3:24: note: 'init(format:_:)' has been explicitly marked unavailable here
    public convenience init(format predicateFormat: String, _ args: CVarArg...)
                       ^
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:11:2: error: Objective-C interoperability is disabled
@objc public final class PushNotificationsStatic: NSObject {
~^~~~~
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:28:6: error: Objective-C interoperability is disabled
    @objc public static func start(instanceId: String) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:50:6: error: Objective-C interoperability is disabled
    @objc public static func registerForRemoteNotifications() {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:102:6: error: Objective-C interoperability is disabled
    @objc public static func setUserId(_ userId: String, tokenProvider: TokenProvider, completion: @escaping (Error?) -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:117:6: error: Objective-C interoperability is disabled
    @objc public static func stop(completion: @escaping () -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:139:6: error: Objective-C interoperability is disabled
    @objc public static func clearAllState(completion: @escaping () -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:161:6: error: Objective-C interoperability is disabled
    @objc public static func registerDeviceToken(_ deviceToken: Data) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:192:6: error: Objective-C interoperability is disabled
    @objc public static func addDeviceInterest(interest: String) throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:211:6: error: Objective-C interoperability is disabled
    @objc public static func setDeviceInterests(interests: [String]) throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:229:6: error: Objective-C interoperability is disabled
    @objc public static func removeDeviceInterest(interest: String) throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:239:6: error: Objective-C interoperability is disabled
    @objc public static func clearDeviceInterests() throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:253:6: error: Objective-C interoperability is disabled
    @objc public static func getDeviceInterests() -> [String]? {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:268:6: error: Objective-C interoperability is disabled
    @objc public static func handleNotification(userInfo: [AnyHashable: Any]) -> RemoteNotificationType {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:51:14: error: type 'PushNotificationsStatic' has no member 'registerForPushNotifications'
        self.registerForPushNotifications(options: [.alert, .sound, .badge])
        ~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:51:54: error: reference to member 'alert' cannot be resolved without a contextual type
        self.registerForPushNotifications(options: [.alert, .sound, .badge])
                                                     ^
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:51:62: error: reference to member 'sound' cannot be resolved without a contextual type
        self.registerForPushNotifications(options: [.alert, .sound, .badge])
                                                             ^
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:51:70: error: reference to member 'badge' cannot be resolved without a contextual type
        self.registerForPushNotifications(options: [.alert, .sound, .badge])
                                                                     ^
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:284:84: error: cannot find 'eventType' in scope
        let serverSyncProcessHandler = ServerSyncProcessHandler.obtain(instanceId: eventType.getInstanceId())
                                                                                   ^~~~~~~~~
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:285:89: error: cannot find 'eventType' in scope
        serverSyncProcessHandler?.sendMessage(serverSyncJob: .reportEventJob(eventType: eventType))
                                                                                        ^~~~~~~~~
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:285:63: error: cannot infer contextual base in reference to member 'reportEventJob'
        serverSyncProcessHandler?.sendMessage(serverSyncJob: .reportEventJob(eventType: eventType))
                                                             ~^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/BeamsTokenProvider.swift:4:2: error: Objective-C interoperability is disabled
@objc public final class BeamsTokenProvider: NSObject, TokenProvider {
~^~~~~
/host/spi-builder-workspace/Sources/Services/BeamsTokenProvider.swift:16:6: error: Objective-C interoperability is disabled
    @objc public init(authURL: String, getAuthData: @escaping () -> (AuthData)) {
    ~^~~~~

/host/spi-builder-workspace/Sources/Services/BeamsTokenProvider.swift:30:26: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        let urlSession = URLSession(configuration: .ephemeral)
                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/BeamsTokenProvider.swift:30:53: error: cannot infer contextual base in reference to member 'ephemeral'
        let urlSession = URLSession(configuration: .ephemeral)
                                                   ~^~~~~~~~~
/host/spi-builder-workspace/Sources/Services/BeamsTokenProvider.swift:43:26: error: cannot find 'URLRequest' in scope
        var urlRequest = URLRequest(url: url)
                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/BeamsTokenProvider.swift:56:46: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
            let statusCode = httpURLResponse.statusCode
                             ~~~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/DeviceStateStore.swift:206:24: error: value of type 'UserDefaults' has no member 'value'
        return service.value(forKey: PersistenceConstants.PersistenceService.hashKey) as? String ?? ""
               ~~~~~~~ ^~~~~
[38/44] Compiling PushNotifications DeviceStateStore.swift
/host/spi-builder-workspace/Sources/Protocols/TokenProvider.swift:24:2: error: Objective-C interoperability is disabled
@objc public protocol TokenProvider {
~^~~~~
/host/spi-builder-workspace/Sources/PushNotifications.swift:11:2: error: Objective-C interoperability is disabled
@objc public final class PushNotifications: NSObject {
~^~~~~
/host/spi-builder-workspace/Sources/PushNotifications.swift:22:6: error: Objective-C interoperability is disabled
    @objc public init(instanceId: String) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:35:6: error: Objective-C interoperability is disabled
    @objc public static let shared = PushNotificationsStatic.self
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:51:6: error: Objective-C interoperability is disabled
    @objc public func start() {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:78:6: error: Objective-C interoperability is disabled
    @objc public func registerForRemoteNotifications() {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:110:6: error: Objective-C interoperability is disabled
    @objc public func setUserId(_ userId: String, tokenProvider: TokenProvider, completion: @escaping (Error?) -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:156:6: error: Objective-C interoperability is disabled
    @objc private func printHelpfulMessage() {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:167:6: error: Objective-C interoperability is disabled
    @objc public func stop(completion: @escaping () -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:196:6: error: Objective-C interoperability is disabled
    @objc public func clearAllState(completion: @escaping () -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:218:6: error: Objective-C interoperability is disabled
    @objc public func registerDeviceToken(_ deviceToken: Data) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:232:6: error: Objective-C interoperability is disabled
    @objc public func addDeviceInterest(interest: String) throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:258:6: error: Objective-C interoperability is disabled
    @objc public func setDeviceInterests(interests: [String]) throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:283:7: error: Objective-C interoperability is disabled
     @objc public func removeDeviceInterest(interest: String) throws {
     ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:300:6: error: Objective-C interoperability is disabled
    @objc public func clearDeviceInterests() throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:310:6: error: Objective-C interoperability is disabled
    @objc public func getDeviceInterests() -> [String]? {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:333:6: error: Objective-C interoperability is disabled
    @objc public func handleNotification(userInfo: [AnyHashable: Any]) -> RemoteNotificationType {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:352:2: error: Objective-C interoperability is disabled
@objc public protocol InterestsChangedDelegate: AnyObject {
~^~~~~
/host/spi-builder-workspace/Sources/PushNotifications.swift:141:91: error: '#selector' can only be used with the Objective-C runtime
        let helpfulTimer = Timer.scheduledTimer(timeInterval: 15, target: self, selector: #selector(printHelpfulMessage), userInfo: nil, repeats: false)
                                                                                          ^
/host/spi-builder-workspace/Sources/PushNotifications.swift:339:37: error: 'init(format:_:)' has been renamed to 'init(block:)': Predicate strings and key-value coding are not supported in swift-corelibs-foundation. Use a closure instead if possible.
        let interestNamePredicate = NSPredicate(format: "SELF MATCHES %@", interestNameRegex)
                                    ^
Foundation.NSPredicate:3:24: note: 'init(format:_:)' has been explicitly marked unavailable here
    public convenience init(format predicateFormat: String, _ args: CVarArg...)
                       ^
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:11:2: error: Objective-C interoperability is disabled
@objc public final class PushNotificationsStatic: NSObject {
~^~~~~
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:28:6: error: Objective-C interoperability is disabled
    @objc public static func start(instanceId: String) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:50:6: error: Objective-C interoperability is disabled
    @objc public static func registerForRemoteNotifications() {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:102:6: error: Objective-C interoperability is disabled
    @objc public static func setUserId(_ userId: String, tokenProvider: TokenProvider, completion: @escaping (Error?) -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:117:6: error: Objective-C interoperability is disabled
    @objc public static func stop(completion: @escaping () -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:139:6: error: Objective-C interoperability is disabled
    @objc public static func clearAllState(completion: @escaping () -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:161:6: error: Objective-C interoperability is disabled
    @objc public static func registerDeviceToken(_ deviceToken: Data) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:192:6: error: Objective-C interoperability is disabled
    @objc public static func addDeviceInterest(interest: String) throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:211:6: error: Objective-C interoperability is disabled
    @objc public static func setDeviceInterests(interests: [String]) throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:229:6: error: Objective-C interoperability is disabled
    @objc public static func removeDeviceInterest(interest: String) throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:239:6: error: Objective-C interoperability is disabled
    @objc public static func clearDeviceInterests() throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:253:6: error: Objective-C interoperability is disabled
    @objc public static func getDeviceInterests() -> [String]? {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:268:6: error: Objective-C interoperability is disabled
    @objc public static func handleNotification(userInfo: [AnyHashable: Any]) -> RemoteNotificationType {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:51:14: error: type 'PushNotificationsStatic' has no member 'registerForPushNotifications'
        self.registerForPushNotifications(options: [.alert, .sound, .badge])
        ~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:51:54: error: reference to member 'alert' cannot be resolved without a contextual type
        self.registerForPushNotifications(options: [.alert, .sound, .badge])
                                                     ^
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:51:62: error: reference to member 'sound' cannot be resolved without a contextual type
        self.registerForPushNotifications(options: [.alert, .sound, .badge])
                                                             ^
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:51:70: error: reference to member 'badge' cannot be resolved without a contextual type
        self.registerForPushNotifications(options: [.alert, .sound, .badge])
                                                                     ^
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:284:84: error: cannot find 'eventType' in scope
        let serverSyncProcessHandler = ServerSyncProcessHandler.obtain(instanceId: eventType.getInstanceId())
                                                                                   ^~~~~~~~~
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:285:89: error: cannot find 'eventType' in scope
        serverSyncProcessHandler?.sendMessage(serverSyncJob: .reportEventJob(eventType: eventType))
                                                                                        ^~~~~~~~~
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:285:63: error: cannot infer contextual base in reference to member 'reportEventJob'
        serverSyncProcessHandler?.sendMessage(serverSyncJob: .reportEventJob(eventType: eventType))
                                                             ~^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/BeamsTokenProvider.swift:4:2: error: Objective-C interoperability is disabled
@objc public final class BeamsTokenProvider: NSObject, TokenProvider {
~^~~~~
/host/spi-builder-workspace/Sources/Services/BeamsTokenProvider.swift:16:6: error: Objective-C interoperability is disabled
    @objc public init(authURL: String, getAuthData: @escaping () -> (AuthData)) {
    ~^~~~~

/host/spi-builder-workspace/Sources/Services/BeamsTokenProvider.swift:30:26: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        let urlSession = URLSession(configuration: .ephemeral)
                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/BeamsTokenProvider.swift:30:53: error: cannot infer contextual base in reference to member 'ephemeral'
        let urlSession = URLSession(configuration: .ephemeral)
                                                   ~^~~~~~~~~
/host/spi-builder-workspace/Sources/Services/BeamsTokenProvider.swift:43:26: error: cannot find 'URLRequest' in scope
        var urlRequest = URLRequest(url: url)
                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/BeamsTokenProvider.swift:56:46: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
            let statusCode = httpURLResponse.statusCode
                             ~~~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/DeviceStateStore.swift:206:24: error: value of type 'UserDefaults' has no member 'value'
        return service.value(forKey: PersistenceConstants.PersistenceService.hashKey) as? String ?? ""
               ~~~~~~~ ^~~~~
[39/44] Compiling PushNotifications Array+CalculateMD5Hash.swift
[40/44] Compiling PushNotifications Encodable+Encode.swift
[41/44] Compiling PushNotifications String+HexStringToData.swift
[42/44] Compiling PushNotifications URL+NetworkService.swift
[43/44] Compiling PushNotifications DeviceTokenHelper.swift
[44/44] Compiling PushNotifications MD5.swift
[0/1] Planning build
Building for debugging...
[1/25] Compiling PushNotifications AuthData.swift
/host/spi-builder-workspace/Sources/Models/AuthData.swift:4:2: error: Objective-C interoperability is disabled
@objc public class AuthData: NSObject {
~^~~~~
/host/spi-builder-workspace/Sources/Models/AuthData.swift:16:6: error: Objective-C interoperability is disabled
    @objc public init(headers: [String: String], queryParams: [String: String]) {
    ~^~~~~

[2/25] Compiling PushNotifications Constants.swift
/host/spi-builder-workspace/Sources/Models/AuthData.swift:4:2: error: Objective-C interoperability is disabled
@objc public class AuthData: NSObject {
~^~~~~
/host/spi-builder-workspace/Sources/Models/AuthData.swift:16:6: error: Objective-C interoperability is disabled
    @objc public init(headers: [String: String], queryParams: [String: String]) {
    ~^~~~~

[3/25] Compiling PushNotifications Device.swift
/host/spi-builder-workspace/Sources/Models/AuthData.swift:4:2: error: Objective-C interoperability is disabled
@objc public class AuthData: NSObject {
~^~~~~
/host/spi-builder-workspace/Sources/Models/AuthData.swift:16:6: error: Objective-C interoperability is disabled
    @objc public init(headers: [String: String], queryParams: [String: String]) {
    ~^~~~~

[4/25] Compiling PushNotifications FeatureFlags.swift
/host/spi-builder-workspace/Sources/Models/AuthData.swift:4:2: error: Objective-C interoperability is disabled
@objc public class AuthData: NSObject {
~^~~~~
/host/spi-builder-workspace/Sources/Models/AuthData.swift:16:6: error: Objective-C interoperability is disabled
    @objc public init(headers: [String: String], queryParams: [String: String]) {
    ~^~~~~

error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/28] Emitting module PushNotifications
/host/spi-builder-workspace/Sources/Models/AuthData.swift:4:2: error: Objective-C interoperability is disabled
@objc public class AuthData: NSObject {
~^~~~~
/host/spi-builder-workspace/Sources/Models/AuthData.swift:16:6: error: Objective-C interoperability is disabled
    @objc public init(headers: [String: String], queryParams: [String: String]) {
    ~^~~~~

/host/spi-builder-workspace/Sources/Protocols/TokenProvider.swift:24:2: error: Objective-C interoperability is disabled
@objc public protocol TokenProvider {
~^~~~~
/host/spi-builder-workspace/Sources/PushNotifications.swift:11:2: error: Objective-C interoperability is disabled
@objc public final class PushNotifications: NSObject {
~^~~~~
/host/spi-builder-workspace/Sources/PushNotifications.swift:22:6: error: Objective-C interoperability is disabled
    @objc public init(instanceId: String) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:35:6: error: Objective-C interoperability is disabled
    @objc public static let shared = PushNotificationsStatic.self
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:51:6: error: Objective-C interoperability is disabled
    @objc public func start() {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:78:6: error: Objective-C interoperability is disabled
    @objc public func registerForRemoteNotifications() {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:110:6: error: Objective-C interoperability is disabled
    @objc public func setUserId(_ userId: String, tokenProvider: TokenProvider, completion: @escaping (Error?) -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:156:6: error: Objective-C interoperability is disabled
    @objc private func printHelpfulMessage() {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:167:6: error: Objective-C interoperability is disabled
    @objc public func stop(completion: @escaping () -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:196:6: error: Objective-C interoperability is disabled
    @objc public func clearAllState(completion: @escaping () -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:218:6: error: Objective-C interoperability is disabled
    @objc public func registerDeviceToken(_ deviceToken: Data) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:232:6: error: Objective-C interoperability is disabled
    @objc public func addDeviceInterest(interest: String) throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:258:6: error: Objective-C interoperability is disabled
    @objc public func setDeviceInterests(interests: [String]) throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:283:7: error: Objective-C interoperability is disabled
     @objc public func removeDeviceInterest(interest: String) throws {
     ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:300:6: error: Objective-C interoperability is disabled
    @objc public func clearDeviceInterests() throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:310:6: error: Objective-C interoperability is disabled
    @objc public func getDeviceInterests() -> [String]? {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:333:6: error: Objective-C interoperability is disabled
    @objc public func handleNotification(userInfo: [AnyHashable: Any]) -> RemoteNotificationType {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:352:2: error: Objective-C interoperability is disabled
@objc public protocol InterestsChangedDelegate: AnyObject {
~^~~~~
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:11:2: error: Objective-C interoperability is disabled
@objc public final class PushNotificationsStatic: NSObject {
~^~~~~
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:28:6: error: Objective-C interoperability is disabled
    @objc public static func start(instanceId: String) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:50:6: error: Objective-C interoperability is disabled
    @objc public static func registerForRemoteNotifications() {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:102:6: error: Objective-C interoperability is disabled
    @objc public static func setUserId(_ userId: String, tokenProvider: TokenProvider, completion: @escaping (Error?) -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:117:6: error: Objective-C interoperability is disabled
    @objc public static func stop(completion: @escaping () -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:139:6: error: Objective-C interoperability is disabled
    @objc public static func clearAllState(completion: @escaping () -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:161:6: error: Objective-C interoperability is disabled
    @objc public static func registerDeviceToken(_ deviceToken: Data) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:192:6: error: Objective-C interoperability is disabled
    @objc public static func addDeviceInterest(interest: String) throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:211:6: error: Objective-C interoperability is disabled
    @objc public static func setDeviceInterests(interests: [String]) throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:229:6: error: Objective-C interoperability is disabled
    @objc public static func removeDeviceInterest(interest: String) throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:239:6: error: Objective-C interoperability is disabled
    @objc public static func clearDeviceInterests() throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:253:6: error: Objective-C interoperability is disabled
    @objc public static func getDeviceInterests() -> [String]? {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:268:6: error: Objective-C interoperability is disabled
    @objc public static func handleNotification(userInfo: [AnyHashable: Any]) -> RemoteNotificationType {
    ~^~~~~

/host/spi-builder-workspace/Sources/Services/BeamsTokenProvider.swift:4:2: error: Objective-C interoperability is disabled
@objc public final class BeamsTokenProvider: NSObject, TokenProvider {
~^~~~~
/host/spi-builder-workspace/Sources/Services/BeamsTokenProvider.swift:16:6: error: Objective-C interoperability is disabled
    @objc public init(authURL: String, getAuthData: @escaping () -> (AuthData)) {
    ~^~~~~

/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.
    let session: URLSession
                 ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/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.
    init(session: URLSession) {
                  ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:225:44: error: cannot find type 'URLRequest' in scope
    private func networkRequest(_ request: URLRequest,
                                           ^~~~~~~~~~
/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.
                                session: URLSession,
                                         ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:283:85: error: cannot find type 'URLRequest' in scope
    private func setRequest(url: URL, httpMethod: HTTPMethod, body: Data? = nil) -> URLRequest {
                                                                                    ^~~~~~~~~~
[6/28] Compiling PushNotifications HTTPMethod.swift
[7/28] Compiling PushNotifications InstanceId.swift
[8/28] Compiling PushNotifications InterestValidationError.swift
[9/28] Compiling PushNotifications Interests.swift
[10/28] Compiling PushNotifications RemoteNotificationType.swift
[11/28] Compiling PushNotifications SDK.swift
[12/28] Compiling PushNotifications ServerSyncEvent.swift
[13/28] Compiling PushNotifications PushNotifications.swift
/host/spi-builder-workspace/Sources/PushNotifications.swift:11:2: error: Objective-C interoperability is disabled
@objc public final class PushNotifications: NSObject {
~^~~~~
/host/spi-builder-workspace/Sources/PushNotifications.swift:22:6: error: Objective-C interoperability is disabled
    @objc public init(instanceId: String) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:35:6: error: Objective-C interoperability is disabled
    @objc public static let shared = PushNotificationsStatic.self
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:51:6: error: Objective-C interoperability is disabled
    @objc public func start() {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:78:6: error: Objective-C interoperability is disabled
    @objc public func registerForRemoteNotifications() {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:110:6: error: Objective-C interoperability is disabled
    @objc public func setUserId(_ userId: String, tokenProvider: TokenProvider, completion: @escaping (Error?) -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:156:6: error: Objective-C interoperability is disabled
    @objc private func printHelpfulMessage() {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:167:6: error: Objective-C interoperability is disabled
    @objc public func stop(completion: @escaping () -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:196:6: error: Objective-C interoperability is disabled
    @objc public func clearAllState(completion: @escaping () -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:218:6: error: Objective-C interoperability is disabled
    @objc public func registerDeviceToken(_ deviceToken: Data) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:232:6: error: Objective-C interoperability is disabled
    @objc public func addDeviceInterest(interest: String) throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:258:6: error: Objective-C interoperability is disabled
    @objc public func setDeviceInterests(interests: [String]) throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:283:7: error: Objective-C interoperability is disabled
     @objc public func removeDeviceInterest(interest: String) throws {
     ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:300:6: error: Objective-C interoperability is disabled
    @objc public func clearDeviceInterests() throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:310:6: error: Objective-C interoperability is disabled
    @objc public func getDeviceInterests() -> [String]? {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:333:6: error: Objective-C interoperability is disabled
    @objc public func handleNotification(userInfo: [AnyHashable: Any]) -> RemoteNotificationType {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:352:2: error: Objective-C interoperability is disabled
@objc public protocol InterestsChangedDelegate: AnyObject {
~^~~~~
/host/spi-builder-workspace/Sources/PushNotifications.swift:141:91: error: '#selector' can only be used with the Objective-C runtime
        let helpfulTimer = Timer.scheduledTimer(timeInterval: 15, target: self, selector: #selector(printHelpfulMessage), userInfo: nil, repeats: false)
                                                                                          ^
/host/spi-builder-workspace/Sources/PushNotifications.swift:339:37: error: 'init(format:_:)' has been renamed to 'init(block:)': Predicate strings and key-value coding are not supported in swift-corelibs-foundation. Use a closure instead if possible.
        let interestNamePredicate = NSPredicate(format: "SELF MATCHES %@", interestNameRegex)
                                    ^
Foundation.NSPredicate:3:24: note: 'init(format:_:)' has been explicitly marked unavailable here
    public convenience init(format predicateFormat: String, _ args: CVarArg...)
                       ^
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:11:2: error: Objective-C interoperability is disabled
@objc public final class PushNotificationsStatic: NSObject {
~^~~~~
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:28:6: error: Objective-C interoperability is disabled
    @objc public static func start(instanceId: String) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:50:6: error: Objective-C interoperability is disabled
    @objc public static func registerForRemoteNotifications() {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:102:6: error: Objective-C interoperability is disabled
    @objc public static func setUserId(_ userId: String, tokenProvider: TokenProvider, completion: @escaping (Error?) -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:117:6: error: Objective-C interoperability is disabled
    @objc public static func stop(completion: @escaping () -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:139:6: error: Objective-C interoperability is disabled
    @objc public static func clearAllState(completion: @escaping () -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:161:6: error: Objective-C interoperability is disabled
    @objc public static func registerDeviceToken(_ deviceToken: Data) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:192:6: error: Objective-C interoperability is disabled
    @objc public static func addDeviceInterest(interest: String) throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:211:6: error: Objective-C interoperability is disabled
    @objc public static func setDeviceInterests(interests: [String]) throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:229:6: error: Objective-C interoperability is disabled
    @objc public static func removeDeviceInterest(interest: String) throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:239:6: error: Objective-C interoperability is disabled
    @objc public static func clearDeviceInterests() throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:253:6: error: Objective-C interoperability is disabled
    @objc public static func getDeviceInterests() -> [String]? {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:268:6: error: Objective-C interoperability is disabled
    @objc public static func handleNotification(userInfo: [AnyHashable: Any]) -> RemoteNotificationType {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:51:14: error: type 'PushNotificationsStatic' has no member 'registerForPushNotifications'
        self.registerForPushNotifications(options: [.alert, .sound, .badge])
        ~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:51:54: error: reference to member 'alert' cannot be resolved without a contextual type
        self.registerForPushNotifications(options: [.alert, .sound, .badge])
                                                     ^
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:51:62: error: reference to member 'sound' cannot be resolved without a contextual type
        self.registerForPushNotifications(options: [.alert, .sound, .badge])
                                                             ^
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:51:70: error: reference to member 'badge' cannot be resolved without a contextual type
        self.registerForPushNotifications(options: [.alert, .sound, .badge])
                                                                     ^
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:284:84: error: cannot find 'eventType' in scope
        let serverSyncProcessHandler = ServerSyncProcessHandler.obtain(instanceId: eventType.getInstanceId())
                                                                                   ^~~~~~~~~
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:285:89: error: cannot find 'eventType' in scope
        serverSyncProcessHandler?.sendMessage(serverSyncJob: .reportEventJob(eventType: eventType))
                                                                                        ^~~~~~~~~
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:285:63: error: cannot infer contextual base in reference to member 'reportEventJob'
        serverSyncProcessHandler?.sendMessage(serverSyncJob: .reportEventJob(eventType: eventType))
                                                             ~^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/BeamsTokenProvider.swift:4:2: error: Objective-C interoperability is disabled
@objc public final class BeamsTokenProvider: NSObject, TokenProvider {
~^~~~~
/host/spi-builder-workspace/Sources/Services/BeamsTokenProvider.swift:16:6: error: Objective-C interoperability is disabled
    @objc public init(authURL: String, getAuthData: @escaping () -> (AuthData)) {
    ~^~~~~

/host/spi-builder-workspace/Sources/Services/BeamsTokenProvider.swift:30:26: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        let urlSession = URLSession(configuration: .ephemeral)
                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/BeamsTokenProvider.swift:30:53: error: cannot infer contextual base in reference to member 'ephemeral'
        let urlSession = URLSession(configuration: .ephemeral)
                                                   ~^~~~~~~~~
/host/spi-builder-workspace/Sources/Services/BeamsTokenProvider.swift:43:26: error: cannot find 'URLRequest' in scope
        var urlRequest = URLRequest(url: url)
                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/BeamsTokenProvider.swift:56:46: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
            let statusCode = httpURLResponse.statusCode
                             ~~~~~~~~~~~~~~~ ^~~~~~~~~~
[14/28] Compiling PushNotifications PushNotificationsStatic.swift
/host/spi-builder-workspace/Sources/PushNotifications.swift:11:2: error: Objective-C interoperability is disabled
@objc public final class PushNotifications: NSObject {
~^~~~~
/host/spi-builder-workspace/Sources/PushNotifications.swift:22:6: error: Objective-C interoperability is disabled
    @objc public init(instanceId: String) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:35:6: error: Objective-C interoperability is disabled
    @objc public static let shared = PushNotificationsStatic.self
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:51:6: error: Objective-C interoperability is disabled
    @objc public func start() {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:78:6: error: Objective-C interoperability is disabled
    @objc public func registerForRemoteNotifications() {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:110:6: error: Objective-C interoperability is disabled
    @objc public func setUserId(_ userId: String, tokenProvider: TokenProvider, completion: @escaping (Error?) -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:156:6: error: Objective-C interoperability is disabled
    @objc private func printHelpfulMessage() {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:167:6: error: Objective-C interoperability is disabled
    @objc public func stop(completion: @escaping () -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:196:6: error: Objective-C interoperability is disabled
    @objc public func clearAllState(completion: @escaping () -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:218:6: error: Objective-C interoperability is disabled
    @objc public func registerDeviceToken(_ deviceToken: Data) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:232:6: error: Objective-C interoperability is disabled
    @objc public func addDeviceInterest(interest: String) throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:258:6: error: Objective-C interoperability is disabled
    @objc public func setDeviceInterests(interests: [String]) throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:283:7: error: Objective-C interoperability is disabled
     @objc public func removeDeviceInterest(interest: String) throws {
     ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:300:6: error: Objective-C interoperability is disabled
    @objc public func clearDeviceInterests() throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:310:6: error: Objective-C interoperability is disabled
    @objc public func getDeviceInterests() -> [String]? {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:333:6: error: Objective-C interoperability is disabled
    @objc public func handleNotification(userInfo: [AnyHashable: Any]) -> RemoteNotificationType {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:352:2: error: Objective-C interoperability is disabled
@objc public protocol InterestsChangedDelegate: AnyObject {
~^~~~~
/host/spi-builder-workspace/Sources/PushNotifications.swift:141:91: error: '#selector' can only be used with the Objective-C runtime
        let helpfulTimer = Timer.scheduledTimer(timeInterval: 15, target: self, selector: #selector(printHelpfulMessage), userInfo: nil, repeats: false)
                                                                                          ^
/host/spi-builder-workspace/Sources/PushNotifications.swift:339:37: error: 'init(format:_:)' has been renamed to 'init(block:)': Predicate strings and key-value coding are not supported in swift-corelibs-foundation. Use a closure instead if possible.
        let interestNamePredicate = NSPredicate(format: "SELF MATCHES %@", interestNameRegex)
                                    ^
Foundation.NSPredicate:3:24: note: 'init(format:_:)' has been explicitly marked unavailable here
    public convenience init(format predicateFormat: String, _ args: CVarArg...)
                       ^
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:11:2: error: Objective-C interoperability is disabled
@objc public final class PushNotificationsStatic: NSObject {
~^~~~~
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:28:6: error: Objective-C interoperability is disabled
    @objc public static func start(instanceId: String) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:50:6: error: Objective-C interoperability is disabled
    @objc public static func registerForRemoteNotifications() {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:102:6: error: Objective-C interoperability is disabled
    @objc public static func setUserId(_ userId: String, tokenProvider: TokenProvider, completion: @escaping (Error?) -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:117:6: error: Objective-C interoperability is disabled
    @objc public static func stop(completion: @escaping () -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:139:6: error: Objective-C interoperability is disabled
    @objc public static func clearAllState(completion: @escaping () -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:161:6: error: Objective-C interoperability is disabled
    @objc public static func registerDeviceToken(_ deviceToken: Data) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:192:6: error: Objective-C interoperability is disabled
    @objc public static func addDeviceInterest(interest: String) throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:211:6: error: Objective-C interoperability is disabled
    @objc public static func setDeviceInterests(interests: [String]) throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:229:6: error: Objective-C interoperability is disabled
    @objc public static func removeDeviceInterest(interest: String) throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:239:6: error: Objective-C interoperability is disabled
    @objc public static func clearDeviceInterests() throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:253:6: error: Objective-C interoperability is disabled
    @objc public static func getDeviceInterests() -> [String]? {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:268:6: error: Objective-C interoperability is disabled
    @objc public static func handleNotification(userInfo: [AnyHashable: Any]) -> RemoteNotificationType {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:51:14: error: type 'PushNotificationsStatic' has no member 'registerForPushNotifications'
        self.registerForPushNotifications(options: [.alert, .sound, .badge])
        ~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:51:54: error: reference to member 'alert' cannot be resolved without a contextual type
        self.registerForPushNotifications(options: [.alert, .sound, .badge])
                                                     ^
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:51:62: error: reference to member 'sound' cannot be resolved without a contextual type
        self.registerForPushNotifications(options: [.alert, .sound, .badge])
                                                             ^
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:51:70: error: reference to member 'badge' cannot be resolved without a contextual type
        self.registerForPushNotifications(options: [.alert, .sound, .badge])
                                                                     ^
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:284:84: error: cannot find 'eventType' in scope
        let serverSyncProcessHandler = ServerSyncProcessHandler.obtain(instanceId: eventType.getInstanceId())
                                                                                   ^~~~~~~~~
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:285:89: error: cannot find 'eventType' in scope
        serverSyncProcessHandler?.sendMessage(serverSyncJob: .reportEventJob(eventType: eventType))
                                                                                        ^~~~~~~~~
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:285:63: error: cannot infer contextual base in reference to member 'reportEventJob'
        serverSyncProcessHandler?.sendMessage(serverSyncJob: .reportEventJob(eventType: eventType))
                                                             ~^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/BeamsTokenProvider.swift:4:2: error: Objective-C interoperability is disabled
@objc public final class BeamsTokenProvider: NSObject, TokenProvider {
~^~~~~
/host/spi-builder-workspace/Sources/Services/BeamsTokenProvider.swift:16:6: error: Objective-C interoperability is disabled
    @objc public init(authURL: String, getAuthData: @escaping () -> (AuthData)) {
    ~^~~~~

/host/spi-builder-workspace/Sources/Services/BeamsTokenProvider.swift:30:26: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        let urlSession = URLSession(configuration: .ephemeral)
                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/BeamsTokenProvider.swift:30:53: error: cannot infer contextual base in reference to member 'ephemeral'
        let urlSession = URLSession(configuration: .ephemeral)
                                                   ~^~~~~~~~~
/host/spi-builder-workspace/Sources/Services/BeamsTokenProvider.swift:43:26: error: cannot find 'URLRequest' in scope
        var urlRequest = URLRequest(url: url)
                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/BeamsTokenProvider.swift:56:46: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
            let statusCode = httpURLResponse.statusCode
                             ~~~~~~~~~~~~~~~ ^~~~~~~~~~
[15/28] Compiling PushNotifications BeamsTokenProvider.swift
/host/spi-builder-workspace/Sources/PushNotifications.swift:11:2: error: Objective-C interoperability is disabled
@objc public final class PushNotifications: NSObject {
~^~~~~
/host/spi-builder-workspace/Sources/PushNotifications.swift:22:6: error: Objective-C interoperability is disabled
    @objc public init(instanceId: String) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:35:6: error: Objective-C interoperability is disabled
    @objc public static let shared = PushNotificationsStatic.self
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:51:6: error: Objective-C interoperability is disabled
    @objc public func start() {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:78:6: error: Objective-C interoperability is disabled
    @objc public func registerForRemoteNotifications() {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:110:6: error: Objective-C interoperability is disabled
    @objc public func setUserId(_ userId: String, tokenProvider: TokenProvider, completion: @escaping (Error?) -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:156:6: error: Objective-C interoperability is disabled
    @objc private func printHelpfulMessage() {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:167:6: error: Objective-C interoperability is disabled
    @objc public func stop(completion: @escaping () -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:196:6: error: Objective-C interoperability is disabled
    @objc public func clearAllState(completion: @escaping () -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:218:6: error: Objective-C interoperability is disabled
    @objc public func registerDeviceToken(_ deviceToken: Data) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:232:6: error: Objective-C interoperability is disabled
    @objc public func addDeviceInterest(interest: String) throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:258:6: error: Objective-C interoperability is disabled
    @objc public func setDeviceInterests(interests: [String]) throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:283:7: error: Objective-C interoperability is disabled
     @objc public func removeDeviceInterest(interest: String) throws {
     ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:300:6: error: Objective-C interoperability is disabled
    @objc public func clearDeviceInterests() throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:310:6: error: Objective-C interoperability is disabled
    @objc public func getDeviceInterests() -> [String]? {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:333:6: error: Objective-C interoperability is disabled
    @objc public func handleNotification(userInfo: [AnyHashable: Any]) -> RemoteNotificationType {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotifications.swift:352:2: error: Objective-C interoperability is disabled
@objc public protocol InterestsChangedDelegate: AnyObject {
~^~~~~
/host/spi-builder-workspace/Sources/PushNotifications.swift:141:91: error: '#selector' can only be used with the Objective-C runtime
        let helpfulTimer = Timer.scheduledTimer(timeInterval: 15, target: self, selector: #selector(printHelpfulMessage), userInfo: nil, repeats: false)
                                                                                          ^
/host/spi-builder-workspace/Sources/PushNotifications.swift:339:37: error: 'init(format:_:)' has been renamed to 'init(block:)': Predicate strings and key-value coding are not supported in swift-corelibs-foundation. Use a closure instead if possible.
        let interestNamePredicate = NSPredicate(format: "SELF MATCHES %@", interestNameRegex)
                                    ^
Foundation.NSPredicate:3:24: note: 'init(format:_:)' has been explicitly marked unavailable here
    public convenience init(format predicateFormat: String, _ args: CVarArg...)
                       ^
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:11:2: error: Objective-C interoperability is disabled
@objc public final class PushNotificationsStatic: NSObject {
~^~~~~
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:28:6: error: Objective-C interoperability is disabled
    @objc public static func start(instanceId: String) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:50:6: error: Objective-C interoperability is disabled
    @objc public static func registerForRemoteNotifications() {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:102:6: error: Objective-C interoperability is disabled
    @objc public static func setUserId(_ userId: String, tokenProvider: TokenProvider, completion: @escaping (Error?) -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:117:6: error: Objective-C interoperability is disabled
    @objc public static func stop(completion: @escaping () -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:139:6: error: Objective-C interoperability is disabled
    @objc public static func clearAllState(completion: @escaping () -> Void) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:161:6: error: Objective-C interoperability is disabled
    @objc public static func registerDeviceToken(_ deviceToken: Data) {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:192:6: error: Objective-C interoperability is disabled
    @objc public static func addDeviceInterest(interest: String) throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:211:6: error: Objective-C interoperability is disabled
    @objc public static func setDeviceInterests(interests: [String]) throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:229:6: error: Objective-C interoperability is disabled
    @objc public static func removeDeviceInterest(interest: String) throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:239:6: error: Objective-C interoperability is disabled
    @objc public static func clearDeviceInterests() throws {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:253:6: error: Objective-C interoperability is disabled
    @objc public static func getDeviceInterests() -> [String]? {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:268:6: error: Objective-C interoperability is disabled
    @objc public static func handleNotification(userInfo: [AnyHashable: Any]) -> RemoteNotificationType {
    ~^~~~~

/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:51:14: error: type 'PushNotificationsStatic' has no member 'registerForPushNotifications'
        self.registerForPushNotifications(options: [.alert, .sound, .badge])
        ~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:51:54: error: reference to member 'alert' cannot be resolved without a contextual type
        self.registerForPushNotifications(options: [.alert, .sound, .badge])
                                                     ^
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:51:62: error: reference to member 'sound' cannot be resolved without a contextual type
        self.registerForPushNotifications(options: [.alert, .sound, .badge])
                                                             ^
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:51:70: error: reference to member 'badge' cannot be resolved without a contextual type
        self.registerForPushNotifications(options: [.alert, .sound, .badge])
                                                                     ^
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:284:84: error: cannot find 'eventType' in scope
        let serverSyncProcessHandler = ServerSyncProcessHandler.obtain(instanceId: eventType.getInstanceId())
                                                                                   ^~~~~~~~~
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:285:89: error: cannot find 'eventType' in scope
        serverSyncProcessHandler?.sendMessage(serverSyncJob: .reportEventJob(eventType: eventType))
                                                                                        ^~~~~~~~~
/host/spi-builder-workspace/Sources/PushNotificationsStatic.swift:285:63: error: cannot infer contextual base in reference to member 'reportEventJob'
        serverSyncProcessHandler?.sendMessage(serverSyncJob: .reportEventJob(eventType: eventType))
                                                             ~^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/BeamsTokenProvider.swift:4:2: error: Objective-C interoperability is disabled
@objc public final class BeamsTokenProvider: NSObject, TokenProvider {
~^~~~~
/host/spi-builder-workspace/Sources/Services/BeamsTokenProvider.swift:16:6: error: Objective-C interoperability is disabled
    @objc public init(authURL: String, getAuthData: @escaping () -> (AuthData)) {
    ~^~~~~

/host/spi-builder-workspace/Sources/Services/BeamsTokenProvider.swift:30:26: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        let urlSession = URLSession(configuration: .ephemeral)
                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/BeamsTokenProvider.swift:30:53: error: cannot infer contextual base in reference to member 'ephemeral'
        let urlSession = URLSession(configuration: .ephemeral)
                                                   ~^~~~~~~~~
/host/spi-builder-workspace/Sources/Services/BeamsTokenProvider.swift:43:26: error: cannot find 'URLRequest' in scope
        var urlRequest = URLRequest(url: url)
                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/BeamsTokenProvider.swift:56:46: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
            let statusCode = httpURLResponse.statusCode
                             ~~~~~~~~~~~~~~~ ^~~~~~~~~~
[16/28] Compiling PushNotifications ServerSyncJob.swift
/host/spi-builder-workspace/Sources/Models/SystemVersion.swift:5:38: error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
        let operatingSystemVersion = ProcessInfo().operatingSystemVersion
                                     ^
Foundation.ProcessInfo (internal):3:23: note: 'init()' declared here
    override internal init()
                      ^
/host/spi-builder-workspace/Sources/Protocols/TokenProvider.swift:24:2: error: Objective-C interoperability is disabled
@objc public protocol TokenProvider {
~^~~~~
[17/28] Compiling PushNotifications SystemVersion.swift
/host/spi-builder-workspace/Sources/Models/SystemVersion.swift:5:38: error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
        let operatingSystemVersion = ProcessInfo().operatingSystemVersion
                                     ^
Foundation.ProcessInfo (internal):3:23: note: 'init()' declared here
    override internal init()
                      ^
/host/spi-builder-workspace/Sources/Protocols/TokenProvider.swift:24:2: error: Objective-C interoperability is disabled
@objc public protocol TokenProvider {
~^~~~~
[18/28] Compiling PushNotifications TokenProvider.swift
/host/spi-builder-workspace/Sources/Models/SystemVersion.swift:5:38: error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
        let operatingSystemVersion = ProcessInfo().operatingSystemVersion
                                     ^
Foundation.ProcessInfo (internal):3:23: note: 'init()' declared here
    override internal init()
                      ^
/host/spi-builder-workspace/Sources/Protocols/TokenProvider.swift:24:2: error: Objective-C interoperability is disabled
@objc public protocol TokenProvider {
~^~~~~
[19/28] Compiling PushNotifications Metadata.swift
/host/spi-builder-workspace/Sources/Models/Metadata.swift:17:5: error: missing return in closure expected to return 'Metadata'
    }()
    ^
[20/28] Compiling PushNotifications MultipleInvalidInterestsError.swift
/host/spi-builder-workspace/Sources/Models/Metadata.swift:17:5: error: missing return in closure expected to return 'Metadata'
    }()
    ^
[21/28] Compiling PushNotifications PersistenceConstants.swift
/host/spi-builder-workspace/Sources/Models/Metadata.swift:17:5: error: missing return in closure expected to return 'Metadata'
    }()
    ^
[22/28] Compiling PushNotifications PublishId.swift
/host/spi-builder-workspace/Sources/Models/Metadata.swift:17:5: error: missing return in closure expected to return 'Metadata'
    }()
    ^
[23/28] Compiling PushNotifications DeviceStateStore.swift
/host/spi-builder-workspace/Sources/Services/DeviceStateStore.swift:206:24: error: value of type 'UserDefaults' has no member 'value'
        return service.value(forKey: PersistenceConstants.PersistenceService.hashKey) as? String ?? ""
               ~~~~~~~ ^~~~~
/host/spi-builder-workspace/Sources/Services/EventTypeHandler.swift:147:31: error: cannot find 'isForeground' in scope
        if hasCustomerData && isForeground {
                              ^~~~~~~~~~~~
/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.
    let session: URLSession
                 ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/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.
    init(session: URLSession) {
                  ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:225:44: error: cannot find type 'URLRequest' in scope
    private func networkRequest(_ request: URLRequest,
                                           ^~~~~~~~~~
/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.
                                session: URLSession,
                                         ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:283:85: error: cannot find type 'URLRequest' in scope
    private func setRequest(url: URL, httpMethod: HTTPMethod, body: Data? = nil) -> URLRequest {
                                                                                    ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:28:66: error: cannot infer contextual base in reference to member 'POST'
            let request = self.setRequest(url: url, httpMethod: .POST, body: body)
                                                                ~^~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:54:66: error: cannot infer contextual base in reference to member 'POST'
            let request = self.setRequest(url: url, httpMethod: .POST)
                                                                ~^~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:79:66: error: cannot infer contextual base in reference to member 'PUT'
            let request = self.setRequest(url: url, httpMethod: .PUT, body: body)
                                                                ~^~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:102:66: error: cannot infer contextual base in reference to member 'DELETE'
            let request = self.setRequest(url: url, httpMethod: .DELETE)
                                                                ~^~~~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:127:66: error: cannot infer contextual base in reference to member 'POST'
            let request = self.setRequest(url: url, httpMethod: .POST, body: body)
                                                                ~^~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:151:66: error: cannot infer contextual base in reference to member 'PUT'
            let request = self.setRequest(url: url, httpMethod: .PUT, body: body)
                                                                ~^~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:172:66: error: cannot infer contextual base in reference to member 'PUT'
            var request = self.setRequest(url: url, httpMethod: .PUT)
                                                                ~^~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:193:66: error: cannot infer contextual base in reference to member 'DELETE'
            let request = self.setRequest(url: url, httpMethod: .DELETE)
                                                                ~^~~~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:213:66: error: cannot infer contextual base in reference to member 'GET'
            let request = self.setRequest(url: url, httpMethod: .GET)
                                                                ~^~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:231:17: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
        session.dataTask(with: request, completionHandler: { data, response, error in
        ~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:247:46: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
            let statusCode = httpURLResponse.statusCode
                             ~~~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:284:23: error: cannot find 'URLRequest' in scope
        var request = URLRequest(url: url)
                      ^~~~~~~~~~
[24/28] Compiling PushNotifications EventTypeHandler.swift
/host/spi-builder-workspace/Sources/Services/DeviceStateStore.swift:206:24: error: value of type 'UserDefaults' has no member 'value'
        return service.value(forKey: PersistenceConstants.PersistenceService.hashKey) as? String ?? ""
               ~~~~~~~ ^~~~~
/host/spi-builder-workspace/Sources/Services/EventTypeHandler.swift:147:31: error: cannot find 'isForeground' in scope
        if hasCustomerData && isForeground {
                              ^~~~~~~~~~~~
/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.
    let session: URLSession
                 ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/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.
    init(session: URLSession) {
                  ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:225:44: error: cannot find type 'URLRequest' in scope
    private func networkRequest(_ request: URLRequest,
                                           ^~~~~~~~~~
/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.
                                session: URLSession,
                                         ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:283:85: error: cannot find type 'URLRequest' in scope
    private func setRequest(url: URL, httpMethod: HTTPMethod, body: Data? = nil) -> URLRequest {
                                                                                    ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:28:66: error: cannot infer contextual base in reference to member 'POST'
            let request = self.setRequest(url: url, httpMethod: .POST, body: body)
                                                                ~^~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:54:66: error: cannot infer contextual base in reference to member 'POST'
            let request = self.setRequest(url: url, httpMethod: .POST)
                                                                ~^~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:79:66: error: cannot infer contextual base in reference to member 'PUT'
            let request = self.setRequest(url: url, httpMethod: .PUT, body: body)
                                                                ~^~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:102:66: error: cannot infer contextual base in reference to member 'DELETE'
            let request = self.setRequest(url: url, httpMethod: .DELETE)
                                                                ~^~~~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:127:66: error: cannot infer contextual base in reference to member 'POST'
            let request = self.setRequest(url: url, httpMethod: .POST, body: body)
                                                                ~^~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:151:66: error: cannot infer contextual base in reference to member 'PUT'
            let request = self.setRequest(url: url, httpMethod: .PUT, body: body)
                                                                ~^~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:172:66: error: cannot infer contextual base in reference to member 'PUT'
            var request = self.setRequest(url: url, httpMethod: .PUT)
                                                                ~^~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:193:66: error: cannot infer contextual base in reference to member 'DELETE'
            let request = self.setRequest(url: url, httpMethod: .DELETE)
                                                                ~^~~~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:213:66: error: cannot infer contextual base in reference to member 'GET'
            let request = self.setRequest(url: url, httpMethod: .GET)
                                                                ~^~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:231:17: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
        session.dataTask(with: request, completionHandler: { data, response, error in
        ~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:247:46: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
            let statusCode = httpURLResponse.statusCode
                             ~~~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:284:23: error: cannot find 'URLRequest' in scope
        var request = URLRequest(url: url)
                      ^~~~~~~~~~
[25/28] Compiling PushNotifications NetworkService.swift
/host/spi-builder-workspace/Sources/Services/DeviceStateStore.swift:206:24: error: value of type 'UserDefaults' has no member 'value'
        return service.value(forKey: PersistenceConstants.PersistenceService.hashKey) as? String ?? ""
               ~~~~~~~ ^~~~~
/host/spi-builder-workspace/Sources/Services/EventTypeHandler.swift:147:31: error: cannot find 'isForeground' in scope
        if hasCustomerData && isForeground {
                              ^~~~~~~~~~~~
/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.
    let session: URLSession
                 ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/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.
    init(session: URLSession) {
                  ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:225:44: error: cannot find type 'URLRequest' in scope
    private func networkRequest(_ request: URLRequest,
                                           ^~~~~~~~~~
/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.
                                session: URLSession,
                                         ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:283:85: error: cannot find type 'URLRequest' in scope
    private func setRequest(url: URL, httpMethod: HTTPMethod, body: Data? = nil) -> URLRequest {
                                                                                    ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:28:66: error: cannot infer contextual base in reference to member 'POST'
            let request = self.setRequest(url: url, httpMethod: .POST, body: body)
                                                                ~^~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:54:66: error: cannot infer contextual base in reference to member 'POST'
            let request = self.setRequest(url: url, httpMethod: .POST)
                                                                ~^~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:79:66: error: cannot infer contextual base in reference to member 'PUT'
            let request = self.setRequest(url: url, httpMethod: .PUT, body: body)
                                                                ~^~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:102:66: error: cannot infer contextual base in reference to member 'DELETE'
            let request = self.setRequest(url: url, httpMethod: .DELETE)
                                                                ~^~~~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:127:66: error: cannot infer contextual base in reference to member 'POST'
            let request = self.setRequest(url: url, httpMethod: .POST, body: body)
                                                                ~^~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:151:66: error: cannot infer contextual base in reference to member 'PUT'
            let request = self.setRequest(url: url, httpMethod: .PUT, body: body)
                                                                ~^~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:172:66: error: cannot infer contextual base in reference to member 'PUT'
            var request = self.setRequest(url: url, httpMethod: .PUT)
                                                                ~^~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:193:66: error: cannot infer contextual base in reference to member 'DELETE'
            let request = self.setRequest(url: url, httpMethod: .DELETE)
                                                                ~^~~~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:213:66: error: cannot infer contextual base in reference to member 'GET'
            let request = self.setRequest(url: url, httpMethod: .GET)
                                                                ~^~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:231:17: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
        session.dataTask(with: request, completionHandler: { data, response, error in
        ~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:247:46: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
            let statusCode = httpURLResponse.statusCode
                             ~~~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/NetworkService.swift:284:23: error: cannot find 'URLRequest' in scope
        var request = URLRequest(url: url)
                      ^~~~~~~~~~
[26/28] Compiling PushNotifications ServerSyncEventHandler.swift
/host/spi-builder-workspace/Sources/Services/ServerSyncProcessHandler.swift:47:23: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        let session = URLSession(configuration: .ephemeral)
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/ServerSyncProcessHandler.swift:47:50: error: cannot infer contextual base in reference to member 'ephemeral'
        let session = URLSession(configuration: .ephemeral)
                                                ~^~~~~~~~~
[27/28] Compiling PushNotifications ServerSyncJobStore.swift
/host/spi-builder-workspace/Sources/Services/ServerSyncProcessHandler.swift:47:23: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        let session = URLSession(configuration: .ephemeral)
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/ServerSyncProcessHandler.swift:47:50: error: cannot infer contextual base in reference to member 'ephemeral'
        let session = URLSession(configuration: .ephemeral)
                                                ~^~~~~~~~~
[28/28] Compiling PushNotifications ServerSyncProcessHandler.swift
/host/spi-builder-workspace/Sources/Services/ServerSyncProcessHandler.swift:47:23: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        let session = URLSession(configuration: .ephemeral)
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Services/ServerSyncProcessHandler.swift:47:50: error: cannot infer contextual base in reference to member 'ephemeral'
        let session = URLSession(configuration: .ephemeral)
                                                ~^~~~~~~~~
BUILD FAILURE 5.8 linux
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.