The Swift Package Index logo.Swift Package Index

Build Information

Failed to build PushNotifications with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4606859-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/pusher/push-notifications-swift.git
Reference: 4.0.0
Cloned https://github.com/pusher/push-notifications-swift.git into spi-builder-workspace
SUCCESS checkout https://github.com/pusher/push-notifications-swift.git at 4.0.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/Quick/Nimble
Fetching https://github.com/AliSoftware/OHHTTPStubs
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/432] Fetching cwlcatchexception
[433/8008] Fetching cwlcatchexception, ohhttpstubs
[8009/23754] Fetching cwlcatchexception, ohhttpstubs, nimble
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
Fetched https://github.com/mattgallagher/CwlCatchException.git (0.92s)
Fetched https://github.com/AliSoftware/OHHTTPStubs (0.93s)
Fetched https://github.com/Quick/Nimble (0.94s)
Computing version for https://github.com/AliSoftware/OHHTTPStubs
[1/1193] Fetching cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git (0.23s)
Computed https://github.com/AliSoftware/OHHTTPStubs at 9.1.0 (0.29s)
Computing version for https://github.com/Quick/Nimble
Computed https://github.com/Quick/Nimble at 9.0.0 (0.30s)
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...
[1/39] Compiling PushNotifications InterestValidationError.swift
/host/spi-builder-workspace/Sources/Models/Metadata.swift:17:5: error: missing return in closure expected to return 'Metadata'
    }()
    ^
[2/39] Compiling PushNotifications Interests.swift
/host/spi-builder-workspace/Sources/Models/Metadata.swift:17:5: error: missing return in closure expected to return 'Metadata'
    }()
    ^
[3/39] Compiling PushNotifications Metadata.swift
/host/spi-builder-workspace/Sources/Models/Metadata.swift:17:5: error: missing return in closure expected to return 'Metadata'
    }()
    ^
[4/39] Compiling PushNotifications MultipleInvalidInterestsError.swift
/host/spi-builder-workspace/Sources/Models/Metadata.swift:17:5: error: missing return in closure expected to return 'Metadata'
    }()
    ^
[5/39] Compiling PushNotifications PersistenceConstants.swift
/host/spi-builder-workspace/Sources/Models/Metadata.swift:17:5: error: missing return in closure expected to return 'Metadata'
    }()
    ^
[6/39] Compiling PushNotifications PublishId.swift
/host/spi-builder-workspace/Sources/Models/Metadata.swift:17:5: error: missing return in closure expected to return 'Metadata'
    }()
    ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/44] 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 {
                                                                                    ^~~~~~~~~~
[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 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 ?? ""
               ~~~~~~~ ^~~~~
[15/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 ?? ""
               ~~~~~~~ ^~~~~
[16/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 ?? ""
               ~~~~~~~ ^~~~~
[17/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 ?? ""
               ~~~~~~~ ^~~~~
[18/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 ?? ""
               ~~~~~~~ ^~~~~
[19/44] Compiling PushNotifications Array+CalculateMD5Hash.swift
[20/44] Compiling PushNotifications Encodable+Encode.swift
[21/44] Compiling PushNotifications String+HexStringToData.swift
[22/44] Compiling PushNotifications URL+NetworkService.swift
[23/44] Compiling PushNotifications DeviceTokenHelper.swift
[24/44] Compiling PushNotifications MD5.swift
[25/44] Compiling PushNotifications Token.swift
[26/44] Compiling PushNotifications PropertyListReadable.swift
[27/44] Compiling PushNotifications PushNotificationsNetworkable.swift
[28/44] Compiling PushNotifications ReportEventType.swift
[29/44] Compiling PushNotifications RetryStrategy.swift
[30/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()
                      ^
[31/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()
                      ^
[32/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()
                      ^
[33/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()
                      ^
[34/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()
                      ^
[35/44] Compiling PushNotifications PushNotificationsAPIError.swift
[36/44] Compiling PushNotifications PushNotificationsError.swift
[37/44] Compiling PushNotifications PusherAlreadyRegisteredError.swift
[38/44] Compiling PushNotifications Reason.swift
[39/44] Compiling PushNotifications Register.swift
[40/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)
                                                ~^~~~~~~~~
[41/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)
                                                ~^~~~~~~~~
[42/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)
                                                ~^~~~~~~~~
[43/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)
                                                ~^~~~~~~~~
[44/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)
                                                ~^~~~~~~~~
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 1