The Swift Package Index logo.Swift Package Index

Build Information

Failed to build AlertNotifications with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/IBM-Swift/alert-notification-sdk.git
Reference: 4.0.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/IBM-Swift/alert-notification-sdk
 * tag               4.0.0      -> FETCH_HEAD
HEAD is now at bde2f0b Merge pull request #27 from IBM-Swift/cloudenv9
Cloned https://github.com/IBM-Swift/alert-notification-sdk.git
Revision (git rev-parse @):
bde2f0bb7772a02c330694d8f034273331a2412e
SUCCESS checkout https://github.com/IBM-Swift/alert-notification-sdk.git at 4.0.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/IBM-Swift/alert-notification-sdk.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/IBM-Swift/CloudEnvironment.git
[1/2059] Fetching cloudenvironment
Fetched https://github.com/IBM-Swift/CloudEnvironment.git from cache (0.27s)
Computing version for https://github.com/IBM-Swift/CloudEnvironment.git
Computed https://github.com/IBM-Swift/CloudEnvironment.git at 9.1.200 (1.04s)
Fetching https://github.com/Kitura/Swift-cfenv.git
[1/1604] Fetching swift-cfenv
Fetched https://github.com/Kitura/Swift-cfenv.git from cache (0.22s)
Computing version for https://github.com/Kitura/Swift-cfenv.git
Computed https://github.com/Kitura/Swift-cfenv.git at 6.0.200 (0.39s)
Fetching https://github.com/Kitura/Configuration.git
[1/1135] Fetching configuration
Fetched https://github.com/Kitura/Configuration.git from cache (0.25s)
Computing version for https://github.com/Kitura/Configuration.git
Computed https://github.com/Kitura/Configuration.git at 3.1.0 (0.40s)
Fetching https://github.com/Kitura/FileKit.git
[1/298] Fetching filekit
Fetched https://github.com/Kitura/FileKit.git from cache (0.21s)
Computing version for https://github.com/Kitura/FileKit.git
Computed https://github.com/Kitura/FileKit.git at 1.1.0 (0.38s)
Fetching https://github.com/Kitura/LoggerAPI.git
[1/771] Fetching loggerapi
Fetched https://github.com/Kitura/LoggerAPI.git from cache (0.23s)
Computing version for https://github.com/Kitura/LoggerAPI.git
Computed https://github.com/Kitura/LoggerAPI.git at 2.0.0 (0.40s)
Fetching https://github.com/apple/swift-log.git
[1/3159] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.33s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.5.4 (0.38s)
Creating working copy for https://github.com/IBM-Swift/CloudEnvironment.git
Working copy of https://github.com/IBM-Swift/CloudEnvironment.git resolved at 9.1.200
Creating working copy for https://github.com/Kitura/Swift-cfenv.git
Working copy of https://github.com/Kitura/Swift-cfenv.git resolved at 6.0.200
Creating working copy for https://github.com/Kitura/Configuration.git
Working copy of https://github.com/Kitura/Configuration.git resolved at 3.1.0
Creating working copy for https://github.com/Kitura/FileKit.git
Working copy of https://github.com/Kitura/FileKit.git resolved at 1.1.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.5.4
Creating working copy for https://github.com/Kitura/LoggerAPI.git
Working copy of https://github.com/Kitura/LoggerAPI.git resolved at 2.0.0
Building for debugging...
[0/8] Write sources
[7/8] Write swift-version-24593BA9C3E375BF.txt
[9/13] Compiling Logging MetadataProvider.swift
[10/13] Compiling Logging Locks.swift
[11/13] Compiling Logging LogHandler.swift
[12/13] Emitting module Logging
[13/13] Compiling Logging Logging.swift
[15/16] Compiling LoggerAPI Logger.swift
[16/16] Emitting module LoggerAPI
[18/19] Compiling FileKit FileKit.swift
[19/19] Emitting module FileKit
[21/26] Compiling Configuration Deserializer.swift
[22/26] Compiling Configuration JSONDeserializer.swift
[23/26] Compiling Configuration PLISTDeserializer.swift
[24/26] Compiling Configuration ConfigurationNode.swift
[25/26] Emitting module Configuration
[26/26] Compiling Configuration ConfigurationManager.swift
[28/34] Compiling CloudFoundryEnv CollectionUtils.swift
[29/34] Compiling CloudFoundryEnv Service.swift
[30/34] Compiling CloudFoundryEnv JSONUtils.swift
[31/34] Compiling CloudFoundryEnv DateUtils.swift
[32/34] Compiling CloudFoundryEnv AppEnv.swift
[33/34] Compiling CloudFoundryEnv App.swift
[34/34] Emitting module CloudFoundryEnv
[36/52] Emitting module CloudEnvironment
[37/54] Compiling CloudEnvironment AlertNotificationCredentials.swift
[38/54] Compiling CloudEnvironment AppIDCredentials.swift
[39/54] Compiling CloudEnvironment AutoScalingCredentials.swift
[40/54] Compiling CloudEnvironment WatsonAssistantCredentials.swift
[41/54] Compiling CloudEnvironment WeatherDataCompanyCredentials.swift
[42/54] Compiling CloudEnvironment Credentials.swift
[43/54] Compiling CloudEnvironment DB2Credentials.swift
[44/54] Compiling CloudEnvironment ObjectStorageCredentials.swift
[45/54] Compiling CloudEnvironment PostgreSQLCredentials.swift
[46/54] Compiling CloudEnvironment MySQLCredentials.swift
[47/54] Compiling CloudEnvironment NaturalLanguageUnderstandingCredentials.swift
[48/54] Compiling CloudEnvironment PushSDKCredentials.swift
[49/54] Compiling CloudEnvironment RedisCredentials.swift
[50/54] Compiling CloudEnvironment HDBaaSCredentials.swift
[51/54] Compiling CloudEnvironment MongoDBCredentials.swift
[52/54] Compiling CloudEnvironment CloudEnv.swift
[53/54] Compiling CloudEnvironment CloudFunctionsCredentials.swift
[54/54] Compiling CloudEnvironment CloudantCredentials.swift
[56/63] Compiling AlertNotifications SharedSession.swift
/host/spi-builder-workspace/Sources/AlertNotifications/SharedSession.swift:20:40: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private static let sharedInstance: URLSession = URLSession(configuration: URLSessionConfiguration.`default`)
                                       ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/AlertNotifications/SharedSession.swift:20:53: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
    private static let sharedInstance: URLSession = URLSession(configuration: URLSessionConfiguration.`default`)
                                                    ^~~~~~~~~~
/host/spi-builder-workspace/Sources/AlertNotifications/SharedSession.swift:20:103: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
    private static let sharedInstance: URLSession = URLSession(configuration: URLSessionConfiguration.`default`)
                                                                              ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~
/host/spi-builder-workspace/Sources/AlertNotifications/SharedSession.swift:23:33: error: cannot find type 'URLRequest' in scope
    class func sendRequest(req: URLRequest, callback: @escaping (Data?, URLResponse?, Swift.Error?) -> Void) {
                                ^~~~~~~~~~
/host/spi-builder-workspace/Sources/AlertNotifications/SharedSession.swift:23:73: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    class func sendRequest(req: URLRequest, callback: @escaping (Data?, URLResponse?, Swift.Error?) -> Void) {
                                                                        ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/AlertNotifications/SharedSession.swift:24:52: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
        let reqTask = SharedSession.sharedInstance.dataTask(with: req, completionHandler: callback)
                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~
[57/64] Compiling AlertNotifications MessageService.swift
[58/64] Compiling AlertNotifications AlertNotificationCredentials.swift
[59/64] Compiling AlertNotifications Utils.swift
[60/64] Compiling AlertNotifications AlertService.swift
[61/64] Compiling AlertNotifications Message.swift
[62/64] Compiling AlertNotifications CloudRequest.swift
/host/spi-builder-workspace/Sources/AlertNotifications/CloudRequest.swift:51:71: error: cannot find type 'URLRequest' in scope
    func createRequest(forURL url: URL, withMethod method: String) -> URLRequest {
                                                                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/AlertNotifications/CloudRequest.swift:59:105: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlResponseCallbackWrapper(callback: @escaping (Data?, Int?, Swift.Error?) -> Void) -> (Data?, URLResponse?, Swift.Error?) -> Void {
                                                                                                        ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/AlertNotifications/CloudRequest.swift:52:22: error: cannot find type 'URLRequest' in scope
        var request: URLRequest = URLRequest(url: url)
                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/AlertNotifications/CloudRequest.swift:61:47: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
            guard let httpResponse = response as? HTTPURLResponse else {
                                     ~~~~~~~~~^~~~~~~~~~~~~~~~~~~

/host/spi-builder-workspace/Sources/AlertNotifications/CloudRequest.swift:65:41: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
            callback(data, httpResponse.statusCode, error)
                           ~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/AlertNotifications/CloudRequest.swift:77:22: error: cannot find type 'URLRequest' in scope
        var request: URLRequest = createRequest(forURL: apiURL, withMethod: "POST")
                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/AlertNotifications/SharedSession.swift:23:33: error: cannot find type 'URLRequest' in scope
    class func sendRequest(req: URLRequest, callback: @escaping (Data?, URLResponse?, Swift.Error?) -> Void) {
                                ^~~~~~~~~~
/host/spi-builder-workspace/Sources/AlertNotifications/CloudRequest.swift:93:22: error: cannot find type 'URLRequest' in scope
        let request: URLRequest = createRequest(forURL: fullURL, withMethod: "GET")
                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/AlertNotifications/CloudRequest.swift:105:22: error: cannot find type 'URLRequest' in scope
        let request: URLRequest = createRequest(forURL: fullURL, withMethod: "DELETE")
                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/AlertNotifications/CloudRequest.swift:118:22: error: cannot find type 'URLRequest' in scope
        var request: URLRequest = createRequest(forURL: apiURL, withMethod: "POST")
                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/AlertNotifications/CloudRequest.swift:134:22: error: cannot find type 'URLRequest' in scope
        let request: URLRequest = createRequest(forURL: fullURL, withMethod: "GET")
                     ^~~~~~~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[63/64] Compiling AlertNotifications Alert.swift
[64/64] Emitting module AlertNotifications
/host/spi-builder-workspace/Sources/AlertNotifications/CloudRequest.swift:51:71: error: cannot find type 'URLRequest' in scope
    func createRequest(forURL url: URL, withMethod method: String) -> URLRequest {
                                                                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/AlertNotifications/CloudRequest.swift:59:105: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlResponseCallbackWrapper(callback: @escaping (Data?, Int?, Swift.Error?) -> Void) -> (Data?, URLResponse?, Swift.Error?) -> Void {
                                                                                                        ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/AlertNotifications/SharedSession.swift:20:40: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private static let sharedInstance: URLSession = URLSession(configuration: URLSessionConfiguration.`default`)
                                       ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/AlertNotifications/SharedSession.swift:20:53: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
    private static let sharedInstance: URLSession = URLSession(configuration: URLSessionConfiguration.`default`)
                                                    ^~~~~~~~~~
/host/spi-builder-workspace/Sources/AlertNotifications/SharedSession.swift:20:103: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
    private static let sharedInstance: URLSession = URLSession(configuration: URLSessionConfiguration.`default`)
                                                                              ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~
/host/spi-builder-workspace/Sources/AlertNotifications/SharedSession.swift:23:33: error: cannot find type 'URLRequest' in scope
    class func sendRequest(req: URLRequest, callback: @escaping (Data?, URLResponse?, Swift.Error?) -> Void) {
                                ^~~~~~~~~~
/host/spi-builder-workspace/Sources/AlertNotifications/SharedSession.swift:23:73: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    class func sendRequest(req: URLRequest, callback: @escaping (Data?, URLResponse?, Swift.Error?) -> Void) {
                                                                        ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/4] Compiling AlertNotifications SharedSession.swift
/host/spi-builder-workspace/Sources/AlertNotifications/SharedSession.swift:20:40: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private static let sharedInstance: URLSession = URLSession(configuration: URLSessionConfiguration.`default`)
                                       ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/AlertNotifications/SharedSession.swift:20:53: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
    private static let sharedInstance: URLSession = URLSession(configuration: URLSessionConfiguration.`default`)
                                                    ^~~~~~~~~~
/host/spi-builder-workspace/Sources/AlertNotifications/SharedSession.swift:20:103: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
    private static let sharedInstance: URLSession = URLSession(configuration: URLSessionConfiguration.`default`)
                                                                              ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~
/host/spi-builder-workspace/Sources/AlertNotifications/SharedSession.swift:23:33: error: cannot find type 'URLRequest' in scope
    class func sendRequest(req: URLRequest, callback: @escaping (Data?, URLResponse?, Swift.Error?) -> Void) {
                                ^~~~~~~~~~
/host/spi-builder-workspace/Sources/AlertNotifications/SharedSession.swift:23:73: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    class func sendRequest(req: URLRequest, callback: @escaping (Data?, URLResponse?, Swift.Error?) -> Void) {
                                                                        ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/AlertNotifications/SharedSession.swift:24:52: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
        let reqTask = SharedSession.sharedInstance.dataTask(with: req, completionHandler: callback)
                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Emitting module AlertNotifications
/host/spi-builder-workspace/Sources/AlertNotifications/CloudRequest.swift:51:71: error: cannot find type 'URLRequest' in scope
    func createRequest(forURL url: URL, withMethod method: String) -> URLRequest {
                                                                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/AlertNotifications/CloudRequest.swift:59:105: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlResponseCallbackWrapper(callback: @escaping (Data?, Int?, Swift.Error?) -> Void) -> (Data?, URLResponse?, Swift.Error?) -> Void {
                                                                                                        ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/AlertNotifications/SharedSession.swift:20:40: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private static let sharedInstance: URLSession = URLSession(configuration: URLSessionConfiguration.`default`)
                                       ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/AlertNotifications/SharedSession.swift:20:53: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
    private static let sharedInstance: URLSession = URLSession(configuration: URLSessionConfiguration.`default`)
                                                    ^~~~~~~~~~
/host/spi-builder-workspace/Sources/AlertNotifications/SharedSession.swift:20:103: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
    private static let sharedInstance: URLSession = URLSession(configuration: URLSessionConfiguration.`default`)
                                                                              ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~
/host/spi-builder-workspace/Sources/AlertNotifications/SharedSession.swift:23:33: error: cannot find type 'URLRequest' in scope
    class func sendRequest(req: URLRequest, callback: @escaping (Data?, URLResponse?, Swift.Error?) -> Void) {
                                ^~~~~~~~~~
/host/spi-builder-workspace/Sources/AlertNotifications/SharedSession.swift:23:73: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    class func sendRequest(req: URLRequest, callback: @escaping (Data?, URLResponse?, Swift.Error?) -> Void) {
                                                                        ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
[4/4] Compiling AlertNotifications CloudRequest.swift
/host/spi-builder-workspace/Sources/AlertNotifications/CloudRequest.swift:51:71: error: cannot find type 'URLRequest' in scope
    func createRequest(forURL url: URL, withMethod method: String) -> URLRequest {
                                                                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/AlertNotifications/CloudRequest.swift:59:105: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlResponseCallbackWrapper(callback: @escaping (Data?, Int?, Swift.Error?) -> Void) -> (Data?, URLResponse?, Swift.Error?) -> Void {
                                                                                                        ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/AlertNotifications/CloudRequest.swift:52:22: error: cannot find type 'URLRequest' in scope
        var request: URLRequest = URLRequest(url: url)
                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/AlertNotifications/CloudRequest.swift:61:47: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
            guard let httpResponse = response as? HTTPURLResponse else {
                                     ~~~~~~~~~^~~~~~~~~~~~~~~~~~~

/host/spi-builder-workspace/Sources/AlertNotifications/CloudRequest.swift:65:41: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
            callback(data, httpResponse.statusCode, error)
                           ~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/AlertNotifications/CloudRequest.swift:77:22: error: cannot find type 'URLRequest' in scope
        var request: URLRequest = createRequest(forURL: apiURL, withMethod: "POST")
                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/AlertNotifications/SharedSession.swift:23:33: error: cannot find type 'URLRequest' in scope
    class func sendRequest(req: URLRequest, callback: @escaping (Data?, URLResponse?, Swift.Error?) -> Void) {
                                ^~~~~~~~~~
/host/spi-builder-workspace/Sources/AlertNotifications/CloudRequest.swift:93:22: error: cannot find type 'URLRequest' in scope
        let request: URLRequest = createRequest(forURL: fullURL, withMethod: "GET")
                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/AlertNotifications/CloudRequest.swift:105:22: error: cannot find type 'URLRequest' in scope
        let request: URLRequest = createRequest(forURL: fullURL, withMethod: "DELETE")
                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/AlertNotifications/CloudRequest.swift:118:22: error: cannot find type 'URLRequest' in scope
        var request: URLRequest = createRequest(forURL: apiURL, withMethod: "POST")
                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/AlertNotifications/CloudRequest.swift:134:22: error: cannot find type 'URLRequest' in scope
        let request: URLRequest = createRequest(forURL: fullURL, withMethod: "GET")
                     ^~~~~~~~~~
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 1