Build Information
Failed to build AlertNotifications, reference 4.0.0 (bde2f0), with Swift 6.1 for Wasm on 27 May 2025 10:37:05 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
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: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/IBM-Swift/alert-notification-sdk.git
https://github.com/IBM-Swift/alert-notification-sdk.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "cloudenvironment",
"requirement" : {
"range" : [
{
"lower_bound" : "9.0.0",
"upper_bound" : "10.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/IBM-Swift/CloudEnvironment.git"
}
],
"manifest_display_name" : "AlertNotifications",
"name" : "AlertNotifications",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "AlertNotifications",
"targets" : [
"AlertNotifications"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "AlertNotificationsTests",
"module_type" : "SwiftTarget",
"name" : "AlertNotificationsTests",
"path" : "Tests/AlertNotificationsTests",
"sources" : [
"AlertNotificationsTests.swift"
],
"target_dependencies" : [
"AlertNotifications"
],
"type" : "test"
},
{
"c99name" : "AlertNotifications",
"module_type" : "SwiftTarget",
"name" : "AlertNotifications",
"path" : "Sources/AlertNotifications",
"product_dependencies" : [
"CloudEnvironment"
],
"product_memberships" : [
"AlertNotifications"
],
"sources" : [
"Alert.swift",
"AlertNotificationCredentials.swift",
"AlertService.swift",
"CloudRequest.swift",
"Message.swift",
"MessageService.swift",
"SharedSession.swift",
"Utils.swift"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/IBM-Swift/CloudEnvironment.git
[1/2059] Fetching cloudenvironment
Fetched https://github.com/IBM-Swift/CloudEnvironment.git from cache (0.42s)
Computing version for https://github.com/IBM-Swift/CloudEnvironment.git
Computed https://github.com/IBM-Swift/CloudEnvironment.git at 9.1.200 (3.39s)
Fetching https://github.com/Kitura/Swift-cfenv.git
[1/1604] Fetching swift-cfenv
Fetched https://github.com/Kitura/Swift-cfenv.git from cache (1.11s)
Computing version for https://github.com/Kitura/Swift-cfenv.git
Computed https://github.com/Kitura/Swift-cfenv.git at 6.0.200 (1.68s)
Fetching https://github.com/Kitura/Configuration.git
[1/1135] Fetching configuration
Fetched https://github.com/Kitura/Configuration.git from cache (0.30s)
Computing version for https://github.com/Kitura/Configuration.git
Computed https://github.com/Kitura/Configuration.git at 3.1.0 (0.85s)
Fetching https://github.com/Kitura/FileKit.git
[1/298] Fetching filekit
Fetched https://github.com/Kitura/FileKit.git from cache (0.22s)
Computing version for https://github.com/Kitura/FileKit.git
Computed https://github.com/Kitura/FileKit.git at 1.1.0 (1.44s)
Fetching https://github.com/Kitura/LoggerAPI.git
[1/771] Fetching loggerapi
Fetched https://github.com/Kitura/LoggerAPI.git from cache (0.28s)
Computing version for https://github.com/Kitura/LoggerAPI.git
Computed https://github.com/Kitura/LoggerAPI.git at 2.0.0 (0.84s)
Fetching https://github.com/apple/swift-log.git
[1/3836] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.37s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (1.02s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
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/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/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/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...
[0/8] Write sources
[7/8] Write swift-version-24593BA9C3E375BF.txt
[9/13] Compiling Logging Logging.swift
[10/13] Emitting module Logging
[11/13] Compiling Logging Locks.swift
[12/13] Compiling Logging LogHandler.swift
[13/13] Compiling Logging MetadataProvider.swift
[15/16] Emitting module LoggerAPI
[16/16] Compiling LoggerAPI Logger.swift
[18/19] Emitting module FileKit
[19/19] Compiling FileKit FileKit.swift
[21/26] Compiling Configuration Deserializer.swift
[22/26] Compiling Configuration JSONDeserializer.swift
[23/26] Compiling Configuration PLISTDeserializer.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[24/26] Compiling Configuration ConfigurationNode.swift
[25/26] Emitting module Configuration
/host/spi-builder-workspace/.build/checkouts/Configuration/Sources/Configuration/ConfigurationManager.swift:56:27: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
54 | public class ConfigurationManager {
55 | // URLSession.shared isn't supported on Linux yet
56 | private let session = URLSession(configuration: URLSessionConfiguration.default)
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
57 |
58 | /// Internal tree representation of all config values
/host/spi-builder-workspace/.build/checkouts/Configuration/Sources/Configuration/ConfigurationManager.swift:56:77: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
54 | public class ConfigurationManager {
55 | // URLSession.shared isn't supported on Linux yet
56 | private let session = URLSession(configuration: URLSessionConfiguration.default)
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
57 |
58 | /// Internal tree representation of all config values
[26/26] Compiling Configuration ConfigurationManager.swift
/host/spi-builder-workspace/.build/checkouts/Configuration/Sources/Configuration/ConfigurationManager.swift:56:27: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
54 | public class ConfigurationManager {
55 | // URLSession.shared isn't supported on Linux yet
56 | private let session = URLSession(configuration: URLSessionConfiguration.default)
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
57 |
58 | /// Internal tree representation of all config values
/host/spi-builder-workspace/.build/checkouts/Configuration/Sources/Configuration/ConfigurationManager.swift:56:77: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
54 | public class ConfigurationManager {
55 | // URLSession.shared isn't supported on Linux yet
56 | private let session = URLSession(configuration: URLSessionConfiguration.default)
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
57 |
58 | /// Internal tree representation of all config values
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/6] Emitting module Logging
[3/6] Compiling Logging MetadataProvider.swift
[4/6] Compiling Logging Locks.swift
[5/6] Compiling Logging LogHandler.swift
[6/6] Compiling Logging Logging.swift
[8/9] Emitting module LoggerAPI
[9/9] Compiling LoggerAPI Logger.swift
[11/12] Compiling FileKit FileKit.swift
[12/12] Emitting module FileKit
[14/19] Compiling Configuration PLISTDeserializer.swift
[15/19] Compiling Configuration Deserializer.swift
[16/19] Compiling Configuration JSONDeserializer.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[17/19] Compiling Configuration ConfigurationNode.swift
[18/19] Emitting module Configuration
/host/spi-builder-workspace/.build/checkouts/Configuration/Sources/Configuration/ConfigurationManager.swift:56:27: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
54 | public class ConfigurationManager {
55 | // URLSession.shared isn't supported on Linux yet
56 | private let session = URLSession(configuration: URLSessionConfiguration.default)
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
57 |
58 | /// Internal tree representation of all config values
/host/spi-builder-workspace/.build/checkouts/Configuration/Sources/Configuration/ConfigurationManager.swift:56:77: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
54 | public class ConfigurationManager {
55 | // URLSession.shared isn't supported on Linux yet
56 | private let session = URLSession(configuration: URLSessionConfiguration.default)
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
57 |
58 | /// Internal tree representation of all config values
[19/19] Compiling Configuration ConfigurationManager.swift
/host/spi-builder-workspace/.build/checkouts/Configuration/Sources/Configuration/ConfigurationManager.swift:56:27: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
54 | public class ConfigurationManager {
55 | // URLSession.shared isn't supported on Linux yet
56 | private let session = URLSession(configuration: URLSessionConfiguration.default)
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
57 |
58 | /// Internal tree representation of all config values
/host/spi-builder-workspace/.build/checkouts/Configuration/Sources/Configuration/ConfigurationManager.swift:56:77: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
54 | public class ConfigurationManager {
55 | // URLSession.shared isn't supported on Linux yet
56 | private let session = URLSession(configuration: URLSessionConfiguration.default)
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
57 |
58 | /// Internal tree representation of all config values
BUILD FAILURE 6.1 wasm