Build Information
Failed to build AlertNotifications, reference 4.0.0 (bde2f0), with Swift 6.4 for Linux on 16 Sep 2026 06:04:58 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344844-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.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: 6.4
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-54344844-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Fetching https://github.com/IBM-Swift/CloudEnvironment.git
[1/2059] Fetching cloudenvironment
Fetched https://github.com/IBM-Swift/CloudEnvironment.git (0.51s)
Computing version for https://github.com/IBM-Swift/CloudEnvironment.git
Computed https://github.com/IBM-Swift/CloudEnvironment.git at 9.1.200 (1.58s)
Fetching https://github.com/Kitura/Swift-cfenv.git
[1/1604] Fetching swift-cfenv
Fetched https://github.com/Kitura/Swift-cfenv.git (0.56s)
Computing version for https://github.com/Kitura/Swift-cfenv.git
Computed https://github.com/Kitura/Swift-cfenv.git at 6.0.200 (0.76s)
Fetching https://github.com/Kitura/Configuration.git
[1/1135] Fetching configuration
Fetched https://github.com/Kitura/Configuration.git (0.56s)
Computing version for https://github.com/Kitura/Configuration.git
Computed https://github.com/Kitura/Configuration.git at 3.1.0 (0.75s)
Fetching https://github.com/Kitura/FileKit.git
[1/298] Fetching filekit
Fetched https://github.com/Kitura/FileKit.git (0.50s)
Computing version for https://github.com/Kitura/FileKit.git
Computed https://github.com/Kitura/FileKit.git at 1.1.0 (0.68s)
Fetching https://github.com/Kitura/LoggerAPI.git
[1/784] Fetching loggerapi
Fetched https://github.com/Kitura/LoggerAPI.git (0.52s)
Computing version for https://github.com/Kitura/LoggerAPI.git
Computed https://github.com/Kitura/LoggerAPI.git at 2.1.0 (0.71s)
Fetching https://github.com/apple/swift-log.git
[1/8083] Fetching swift-log
Fetched https://github.com/apple/swift-log.git (0.60s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (0.82s)
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/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.15.1
Creating working copy for https://github.com/Kitura/LoggerAPI.git
Working copy of https://github.com/Kitura/LoggerAPI.git resolved at 2.1.0
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
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 246]
[Planning deferred tasks]
[23 / 104] LoggerAPI
[64 / 114] Logging
[72 / 117] LoggerAPI
[72 / 117] Logging
[75 / 118] LoggerAPI
[81 / 119] FileKit
[83 / 121] FileKit
[95 / 128] Configuration
[104 / 136] CloudFoundryEnv
[107 / 136] CloudFoundryEnv
[117 / 138] LoggerAPI
[125 / 149] FileKit
[135 / 149] Configuration
[139 / 159] CloudEnvironment
[145 / 160] AlertNotifications
error: SwiftCompile normal x86_64 failed with a nonzero exit code. Command line: cd /host
/host/spi-builder-workspace/Sources/AlertNotifications/CloudRequest.swift:51:71: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m49 |[0;0m }
[0;36m50 |[0;0m // Create a URLRequest object with some basic initialization done.
[0;36m51 |[0;0m func createRequest(forURL url: URL, withMethod method: String) -> [4;39mURLRequest[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m52 |[0;0m var request: URLRequest = URLRequest(url: url)
[0;36m53 |[0;0m request.httpMethod = method
/host/spi-builder-workspace/Sources/AlertNotifications/CloudRequest.swift:59:105: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m57 |[0;0m
[0;36m58 |[0;0m // A callback wrapper that extracts a status code from a URLResponse, then calls the callback.
[0;36m59 |[0;0m func urlResponseCallbackWrapper(callback: @escaping (Data?, Int?, Swift.Error?) -> Void) -> (Data?, [4;39mURLResponse[0;0m?, Swift.Error?) -> Void {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m60 |[0;0m return {(data: Data?, response: URLResponse?, error: Swift.Error?) in
[0;36m61 |[0;0m guard let httpResponse = response as? HTTPURLResponse else {
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/AlertNotifications/SharedSession.swift:20:40: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m18 |[0;0m
[0;36m19 |[0;0m class SharedSession {
[0;36m20 |[0;0m private static let sharedInstance: [4;39mURLSession[0;0m = URLSession(configuration: URLSessionConfiguration.`default`)
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m21 |[0;0m
[0;36m22 |[0;0m // Make a URLRequest using the static shared URLSession object.
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/AlertNotifications/SharedSession.swift:20:53: [1;31merror: [1;39mvalue of type '_' expected to be instance of class or class-constrained type[0;0m
[0;36m18 |[0;0m
[0;36m19 |[0;0m class SharedSession {
[0;36m20 |[0;0m private static let sharedInstance: URLSession = [4;39mURLSession(configuration: URLSessionConfiguration.`default`)[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39mvalue of type '_' expected to be instance of class or class-constrained type[0;0m
[0;36m21 |[0;0m
[0;36m22 |[0;0m // Make a URLRequest using the static shared URLSession object.
/host/spi-builder-workspace/Sources/AlertNotifications/SharedSession.swift:20:103: [1;31merror: [1;39mtype 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'[0;0m
[0;36m18 |[0;0m
[0;36m19 |[0;0m class SharedSession {
[0;36m20 |[0;0m private static let sharedInstance: URLSession = URLSession(configuration: [4;39mURLSessionConfiguration[0;0m.[4;39m`default`[0;0m)
[0;36m|[0;0m `- [1;31merror: [1;39mtype 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'[0;0m
[0;36m21 |[0;0m
[0;36m22 |[0;0m // Make a URLRequest using the static shared URLSession object.
/host/spi-builder-workspace/Sources/AlertNotifications/SharedSession.swift:23:33: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m21 |[0;0m
[0;36m22 |[0;0m // Make a URLRequest using the static shared URLSession object.
[0;36m23 |[0;0m class func sendRequest(req: [4;39mURLRequest[0;0m, callback: @escaping (Data?, URLResponse?, Swift.Error?) -> Void) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m24 |[0;0m let reqTask = SharedSession.sharedInstance.dataTask(with: req, completionHandler: callback)
[0;36m25 |[0;0m reqTask.resume()
/host/spi-builder-workspace/Sources/AlertNotifications/SharedSession.swift:23:73: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m21 |[0;0m
[0;36m22 |[0;0m // Make a URLRequest using the static shared URLSession object.
[0;36m23 |[0;0m class func sendRequest(req: URLRequest, callback: @escaping (Data?, [4;39mURLResponse[0;0m?, Swift.Error?) -> Void) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m24 |[0;0m let reqTask = SharedSession.sharedInstance.dataTask(with: req, completionHandler: callback)
[0;36m25 |[0;0m reqTask.resume()
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Sources/AlertNotifications/Alert.swift /host/spi-builder-workspace/Sources/AlertNotifications/AlertNotificationCredentials.swift /host/spi-builder-workspace/Sources/AlertNotifications/AlertService.swift /host/spi-builder-workspace/Sources/AlertNotifications/CloudRequest.swift /host/spi-builder-workspace/Sources/AlertNotifications/Message.swift /host/spi-builder-workspace/Sources/AlertNotifications/MessageService.swift /host/spi-builder-workspace/Sources/AlertNotifications/SharedSession.swift /host/spi-builder-workspace/Sources/AlertNotifications/Utils.swift -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 4 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -fno-omit-frame-pointer -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/AlertNotifications.build/Debug-linux-x86_64/AlertNotifications-t.build/DerivedSources-normal/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/AlertNotifications.build/Debug-linux-x86_64/AlertNotifications-t.build/DerivedSources/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/AlertNotifications.build/Debug-linux-x86_64/AlertNotifications-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name AlertNotifications -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/AlertNotifications.build/Debug-linux-x86_64/AlertNotifications-t.build/Objects-normal/x86_64/AlertNotifications_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/AlertNotifications.build/Debug-linux-x86_64/AlertNotifications-t.build/Objects-normal/x86_64/Modules/AlertNotifications.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/AlertNotifications.build/Debug-linux-x86_64/AlertNotifications-t.build/Objects-normal/x86_64/Modules/AlertNotifications.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/AlertNotifications.build/Debug-linux-x86_64/AlertNotifications-t.build/Objects-normal/x86_64/AlertNotifications-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/AlertNotifications.build/Debug-linux-x86_64/AlertNotifications-t.build/Objects-normal/x86_64/AlertNotifications-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/AlertNotifications.build/Debug-linux-x86_64/AlertNotifications-t.build/Objects-normal/x86_64/AlertNotifications-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/AlertNotifications.build/Debug-linux-x86_64/AlertNotifications-t.build/Objects-normal/x86_64/Modules/AlertNotifications.swiftmodule
error: Build failed
BUILD FAILURE 6.4 linux