Build Information
Failed to build AlertNotifications, reference master (bde2f0), with Swift 6.3 for Linux on 10 Apr 2026 17:39:50 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/IBM-Swift/alert-notification-sdk.git
Reference: master
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
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
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 master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.3
Building package at path: $PWD
https://github.com/IBM-Swift/alert-notification-sdk.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest
Fetching https://github.com/IBM-Swift/CloudEnvironment.git
[1/2059] Fetching cloudenvironment
Fetched https://github.com/IBM-Swift/CloudEnvironment.git from cache (0.30s)
Computing version for https://github.com/IBM-Swift/CloudEnvironment.git
Computed https://github.com/IBM-Swift/CloudEnvironment.git at 9.1.200 (2.63s)
Fetching https://github.com/Kitura/Swift-cfenv.git
[1/1604] Fetching swift-cfenv
Fetched https://github.com/Kitura/Swift-cfenv.git from cache (0.27s)
Computing version for https://github.com/Kitura/Swift-cfenv.git
Computed https://github.com/Kitura/Swift-cfenv.git at 6.0.200 (0.75s)
Fetching https://github.com/Kitura/Configuration.git
[1/1135] Fetching configuration
Fetched https://github.com/Kitura/Configuration.git from cache (0.24s)
Computing version for https://github.com/Kitura/Configuration.git
Computed https://github.com/Kitura/Configuration.git at 3.1.0 (0.66s)
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.66s)
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.66s)
Fetching https://github.com/apple/swift-log.git
[1/6521] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.48s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.11.0 (0.90s)
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/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.11.0
Creating working copy for https://github.com/Kitura/LoggerAPI.git
Working copy of https://github.com/Kitura/LoggerAPI.git resolved at 2.0.0
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/FileKit.git
Working copy of https://github.com/Kitura/FileKit.git resolved at 1.1.0
Building for debugging...
[0/8] Write sources
[7/8] Write swift-version-24593BA9C3E375BF.txt
[9/14] Compiling Logging MetadataProvider.swift
[10/14] Compiling Logging Locks.swift
[11/14] Emitting module Logging
[12/14] Compiling Logging LogEvent.swift
[13/14] Compiling Logging Logging.swift
[14/14] Compiling Logging LogHandler.swift
[16/17] Emitting module LoggerAPI
[17/17] Compiling LoggerAPI Logger.swift
[19/20] Emitting module FileKit
[20/20] Compiling FileKit FileKit.swift
[22/27] Compiling Configuration PLISTDeserializer.swift
[23/27] Compiling Configuration JSONDeserializer.swift
[24/27] Compiling Configuration Deserializer.swift
[25/27] Emitting module Configuration
[26/27] Compiling Configuration ConfigurationNode.swift
[27/27] Compiling Configuration ConfigurationManager.swift
[29/35] Compiling CloudFoundryEnv DateUtils.swift
[30/35] Compiling CloudFoundryEnv Service.swift
[31/35] Compiling CloudFoundryEnv JSONUtils.swift
[32/35] Compiling CloudFoundryEnv CollectionUtils.swift
[33/35] Compiling CloudFoundryEnv AppEnv.swift
[34/35] Emitting module CloudFoundryEnv
[35/35] Compiling CloudFoundryEnv App.swift
[37/53] Compiling CloudEnvironment AlertNotificationCredentials.swift
[38/53] Compiling CloudEnvironment AppIDCredentials.swift
[39/53] Compiling CloudEnvironment AutoScalingCredentials.swift
[40/55] Emitting module CloudEnvironment
[41/55] Compiling CloudEnvironment WatsonAssistantCredentials.swift
[42/55] Compiling CloudEnvironment WeatherDataCompanyCredentials.swift
[43/55] Compiling CloudEnvironment MySQLCredentials.swift
[44/55] Compiling CloudEnvironment NaturalLanguageUnderstandingCredentials.swift
[45/55] Compiling CloudEnvironment Credentials.swift
[46/55] Compiling CloudEnvironment DB2Credentials.swift
[47/55] Compiling CloudEnvironment HDBaaSCredentials.swift
[48/55] Compiling CloudEnvironment MongoDBCredentials.swift
[49/55] Compiling CloudEnvironment CloudEnv.swift
[50/55] Compiling CloudEnvironment CloudFunctionsCredentials.swift
[51/55] Compiling CloudEnvironment CloudantCredentials.swift
[52/55] Compiling CloudEnvironment ObjectStorageCredentials.swift
[53/55] Compiling CloudEnvironment PostgreSQLCredentials.swift
[54/55] Compiling CloudEnvironment PushSDKCredentials.swift
[55/55] Compiling CloudEnvironment RedisCredentials.swift
[57/64] Compiling AlertNotifications CloudRequest.swift
/host/spi-builder-workspace/Sources/AlertNotifications/CloudRequest.swift:51:71: error: cannot find type 'URLRequest' in scope
49 | }
50 | // Create a URLRequest object with some basic initialization done.
51 | func createRequest(forURL url: URL, withMethod method: String) -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
52 | var request: URLRequest = URLRequest(url: url)
53 | request.httpMethod = method
/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.
57 |
58 | // A callback wrapper that extracts a status code from a URLResponse, then calls the callback.
59 | func urlResponseCallbackWrapper(callback: @escaping (Data?, Int?, Swift.Error?) -> Void) -> (Data?, URLResponse?, Swift.Error?) -> Void {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
60 | return {(data: Data?, response: URLResponse?, error: Swift.Error?) in
61 | guard let httpResponse = response as? HTTPURLResponse else {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AlertNotifications/CloudRequest.swift:52:22: error: cannot find type 'URLRequest' in scope
50 | // Create a URLRequest object with some basic initialization done.
51 | func createRequest(forURL url: URL, withMethod method: String) -> URLRequest {
52 | var request: URLRequest = URLRequest(url: url)
| `- error: cannot find type 'URLRequest' in scope
53 | request.httpMethod = method
54 | request.setValue("Basic \(credentials.authString)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/AlertNotifications/CloudRequest.swift:52:35: error: cannot find 'URLRequest' in scope
50 | // Create a URLRequest object with some basic initialization done.
51 | func createRequest(forURL url: URL, withMethod method: String) -> URLRequest {
52 | var request: URLRequest = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
53 | request.httpMethod = method
54 | request.setValue("Basic \(credentials.authString)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/AlertNotifications/CloudRequest.swift:61:47: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
59 | func urlResponseCallbackWrapper(callback: @escaping (Data?, Int?, Swift.Error?) -> Void) -> (Data?, URLResponse?, Swift.Error?) -> Void {
60 | return {(data: Data?, response: URLResponse?, error: Swift.Error?) in
61 | guard let httpResponse = response as? HTTPURLResponse else {
| `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
62 | callback(data, nil, error)
63 | return
/host/spi-builder-workspace/Sources/AlertNotifications/CloudRequest.swift:65:41: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
63 | return
64 | }
65 | callback(data, httpResponse.statusCode, error)
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
66 | }
67 | }
/host/spi-builder-workspace/Sources/AlertNotifications/CloudRequest.swift:77:22: error: cannot find type 'URLRequest' in scope
75 | throw AlertNotificationError.credentialsError("Invalid URL provided.")
76 | }
77 | var request: URLRequest = createRequest(forURL: apiURL, withMethod: "POST")
| `- error: cannot find type 'URLRequest' in scope
78 | request.setValue("application/json; charset=utf-8", forHTTPHeaderField: "Content-Type")
79 |
/host/spi-builder-workspace/Sources/AlertNotifications/SharedSession.swift:23:33: error: cannot find type 'URLRequest' in scope
21 |
22 | // Make a URLRequest using the static shared URLSession object.
23 | class func sendRequest(req: URLRequest, callback: @escaping (Data?, URLResponse?, Swift.Error?) -> Void) {
| `- error: cannot find type 'URLRequest' in scope
24 | let reqTask = SharedSession.sharedInstance.dataTask(with: req, completionHandler: callback)
25 | reqTask.resume()
/host/spi-builder-workspace/Sources/AlertNotifications/CloudRequest.swift:93:22: error: cannot find type 'URLRequest' in scope
91 | throw AlertNotificationError.alertError("Invalid alert ID provided to GET request.")
92 | }
93 | let request: URLRequest = createRequest(forURL: fullURL, withMethod: "GET")
| `- error: cannot find type 'URLRequest' in scope
94 |
95 | SharedSession.sendRequest(req: request, callback: urlResponseCallbackWrapper(callback: callback))
/host/spi-builder-workspace/Sources/AlertNotifications/CloudRequest.swift:105:22: error: cannot find type 'URLRequest' in scope
103 | throw AlertNotificationError.alertError("Invalid alert ID provided to DELETE request.")
104 | }
105 | let request: URLRequest = createRequest(forURL: fullURL, withMethod: "DELETE")
| `- error: cannot find type 'URLRequest' in scope
106 |
107 | SharedSession.sendRequest(req: request, callback: urlResponseCallbackWrapper(callback: callback))
/host/spi-builder-workspace/Sources/AlertNotifications/CloudRequest.swift:118:22: error: cannot find type 'URLRequest' in scope
116 | throw AlertNotificationError.credentialsError("Invalid URL provided.")
117 | }
118 | var request: URLRequest = createRequest(forURL: apiURL, withMethod: "POST")
| `- error: cannot find type 'URLRequest' in scope
119 | request.setValue("application/json; charset=utf-8", forHTTPHeaderField: "Content-Type")
120 |
/host/spi-builder-workspace/Sources/AlertNotifications/CloudRequest.swift:134:22: error: cannot find type 'URLRequest' in scope
132 | throw AlertNotificationError.messageError("Invalid message ID provided to GET request.")
133 | }
134 | let request: URLRequest = createRequest(forURL: fullURL, withMethod: "GET")
| `- error: cannot find type 'URLRequest' in scope
135 |
136 | SharedSession.sendRequest(req: request, callback: urlResponseCallbackWrapper(callback: callback))
[58/65] 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.
18 |
19 | class SharedSession {
20 | private static let sharedInstance: URLSession = URLSession(configuration: URLSessionConfiguration.`default`)
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
21 |
22 | // Make a URLRequest using the static shared URLSession object.
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AlertNotifications/SharedSession.swift:20:53: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
18 |
19 | class SharedSession {
20 | private static let sharedInstance: URLSession = URLSession(configuration: URLSessionConfiguration.`default`)
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
21 |
22 | // Make a URLRequest using the static shared URLSession object.
/host/spi-builder-workspace/Sources/AlertNotifications/SharedSession.swift:20:103: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
18 |
19 | class SharedSession {
20 | private static let sharedInstance: URLSession = URLSession(configuration: URLSessionConfiguration.`default`)
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
21 |
22 | // Make a URLRequest using the static shared URLSession object.
/host/spi-builder-workspace/Sources/AlertNotifications/SharedSession.swift:23:33: error: cannot find type 'URLRequest' in scope
21 |
22 | // Make a URLRequest using the static shared URLSession object.
23 | class func sendRequest(req: URLRequest, callback: @escaping (Data?, URLResponse?, Swift.Error?) -> Void) {
| `- error: cannot find type 'URLRequest' in scope
24 | let reqTask = SharedSession.sharedInstance.dataTask(with: req, completionHandler: callback)
25 | reqTask.resume()
/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.
21 |
22 | // Make a URLRequest using the static shared URLSession object.
23 | class func sendRequest(req: URLRequest, callback: @escaping (Data?, URLResponse?, Swift.Error?) -> Void) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
24 | let reqTask = SharedSession.sharedInstance.dataTask(with: req, completionHandler: callback)
25 | reqTask.resume()
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AlertNotifications/SharedSession.swift:24:52: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
22 | // Make a URLRequest using the static shared URLSession object.
23 | class func sendRequest(req: URLRequest, callback: @escaping (Data?, URLResponse?, Swift.Error?) -> Void) {
24 | let reqTask = SharedSession.sharedInstance.dataTask(with: req, completionHandler: callback)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
25 | reqTask.resume()
26 | }
[59/65] Compiling AlertNotifications Utils.swift
[60/65] Compiling AlertNotifications MessageService.swift
[61/65] Compiling AlertNotifications AlertService.swift
[62/65] Compiling AlertNotifications Message.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[63/65] Compiling AlertNotifications AlertNotificationCredentials.swift
[64/65] Compiling AlertNotifications Alert.swift
[65/65] Emitting module AlertNotifications
/host/spi-builder-workspace/Sources/AlertNotifications/CloudRequest.swift:51:71: error: cannot find type 'URLRequest' in scope
49 | }
50 | // Create a URLRequest object with some basic initialization done.
51 | func createRequest(forURL url: URL, withMethod method: String) -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
52 | var request: URLRequest = URLRequest(url: url)
53 | request.httpMethod = method
/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.
57 |
58 | // A callback wrapper that extracts a status code from a URLResponse, then calls the callback.
59 | func urlResponseCallbackWrapper(callback: @escaping (Data?, Int?, Swift.Error?) -> Void) -> (Data?, URLResponse?, Swift.Error?) -> Void {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
60 | return {(data: Data?, response: URLResponse?, error: Swift.Error?) in
61 | guard let httpResponse = response as? HTTPURLResponse else {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/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.
18 |
19 | class SharedSession {
20 | private static let sharedInstance: URLSession = URLSession(configuration: URLSessionConfiguration.`default`)
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
21 |
22 | // Make a URLRequest using the static shared URLSession object.
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AlertNotifications/SharedSession.swift:20:53: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
18 |
19 | class SharedSession {
20 | private static let sharedInstance: URLSession = URLSession(configuration: URLSessionConfiguration.`default`)
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
21 |
22 | // Make a URLRequest using the static shared URLSession object.
/host/spi-builder-workspace/Sources/AlertNotifications/SharedSession.swift:20:103: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
18 |
19 | class SharedSession {
20 | private static let sharedInstance: URLSession = URLSession(configuration: URLSessionConfiguration.`default`)
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
21 |
22 | // Make a URLRequest using the static shared URLSession object.
/host/spi-builder-workspace/Sources/AlertNotifications/SharedSession.swift:23:33: error: cannot find type 'URLRequest' in scope
21 |
22 | // Make a URLRequest using the static shared URLSession object.
23 | class func sendRequest(req: URLRequest, callback: @escaping (Data?, URLResponse?, Swift.Error?) -> Void) {
| `- error: cannot find type 'URLRequest' in scope
24 | let reqTask = SharedSession.sharedInstance.dataTask(with: req, completionHandler: callback)
25 | reqTask.resume()
/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.
21 |
22 | // Make a URLRequest using the static shared URLSession object.
23 | class func sendRequest(req: URLRequest, callback: @escaping (Data?, URLResponse?, Swift.Error?) -> Void) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
24 | let reqTask = SharedSession.sharedInstance.dataTask(with: req, completionHandler: callback)
25 | reqTask.resume()
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
BUILD FAILURE 6.3 linux