Build Information
Failed to build openwhisk-swift-sdk, reference master (8cbe11
), with Swift 6.1 for Linux on 25 Apr 2025 17:54:49 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dokun1/openwhisk-swift-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/dokun1/openwhisk-swift-sdk
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 8cbe115 Using env vars in local .env file instead of copying and pasting api keys and all
Cloned https://github.com/dokun1/openwhisk-swift-sdk.git
Revision (git rev-parse @):
8cbe11511c9734fea4a4e2dce83fd63e0f2d31df
SUCCESS checkout https://github.com/dokun1/openwhisk-swift-sdk.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/dokun1/openwhisk-swift-sdk.git
https://github.com/dokun1/openwhisk-swift-sdk.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "circuitbreaker",
"requirement" : {
"range" : [
{
"lower_bound" : "5.0.0",
"upper_bound" : "6.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/IBM-Swift/CircuitBreaker.git"
},
{
"identity" : "loggerapi",
"requirement" : {
"range" : [
{
"lower_bound" : "1.7.3",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/IBM-Swift/LoggerAPI.git"
},
{
"identity" : "swiftyrequest",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.1",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/IBM-Swift/SwiftyRequest.git"
}
],
"manifest_display_name" : "openwhisk-swift-sdk",
"name" : "openwhisk-swift-sdk",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "openwhisk-swift-sdk",
"targets" : [
"openwhisk-swift-sdk"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "openwhisk_swift_sdkTests",
"module_type" : "SwiftTarget",
"name" : "openwhisk-swift-sdkTests",
"path" : "Tests/openwhisk-swift-sdkTests",
"sources" : [
"XCTestManifests.swift",
"openwhisk_swift_sdkTests.swift"
],
"target_dependencies" : [
"openwhisk-swift-sdk"
],
"type" : "test"
},
{
"c99name" : "openwhisk_swift_sdk",
"module_type" : "SwiftTarget",
"name" : "openwhisk-swift-sdk",
"path" : "Sources/openwhisk-swift-sdk",
"product_dependencies" : [
"CircuitBreaker",
"LoggerAPI",
"SwiftyRequest"
],
"product_memberships" : [
"openwhisk-swift-sdk"
],
"sources" : [
"Controller/Agent.swift",
"Controller/Decoders.swift",
"ResponseModels/Action.swift",
"ResponseModels/ActionDetail.swift",
"ResponseModels/InvocationResponse.swift",
"ResponseModels/MultiDecodable.swift",
"Util/OWENV.swift"
],
"type" : "library"
}
],
"tools_version" : "4.2"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/IBM-Swift/LoggerAPI.git
Fetching https://github.com/IBM-Swift/CircuitBreaker.git
Fetching https://github.com/IBM-Swift/SwiftyRequest.git
[1/2095] Fetching swiftyrequest
[211/3828] Fetching swiftyrequest, circuitbreaker
[1613/4599] Fetching swiftyrequest, circuitbreaker, loggerapi
Fetched https://github.com/IBM-Swift/LoggerAPI.git from cache (0.42s)
Fetched https://github.com/IBM-Swift/SwiftyRequest.git from cache (0.42s)
Fetched https://github.com/IBM-Swift/CircuitBreaker.git from cache (0.42s)
Computing version for https://github.com/IBM-Swift/LoggerAPI.git
Computed https://github.com/IBM-Swift/LoggerAPI.git at 1.9.200 (3.70s)
Fetching https://github.com/apple/swift-log.git
[1/3836] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.67s)
Computing version for https://github.com/IBM-Swift/CircuitBreaker.git
Computed https://github.com/IBM-Swift/CircuitBreaker.git at 5.1.0 (1.29s)
Computing version for https://github.com/IBM-Swift/SwiftyRequest.git
Computed https://github.com/IBM-Swift/SwiftyRequest.git at 2.2.1 (0.56s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.51s)
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/IBM-Swift/SwiftyRequest.git
Working copy of https://github.com/IBM-Swift/SwiftyRequest.git resolved at 2.2.1
Creating working copy for https://github.com/IBM-Swift/CircuitBreaker.git
Working copy of https://github.com/IBM-Swift/CircuitBreaker.git resolved at 5.1.0
Creating working copy for https://github.com/IBM-Swift/LoggerAPI.git
Working copy of https://github.com/IBM-Swift/LoggerAPI.git resolved at 1.9.200
warning: 'circuitbreaker': 'circuitbreaker' dependency on 'https://github.com/Kitura/LoggerAPI.git' conflicts with dependency on 'https://github.com/IBM-Swift/LoggerAPI.git' which has the same identity 'loggerapi'. this will be escalated to an error in future versions of SwiftPM.
Building for debugging...
[0/6] Write sources
[5/6] Write swift-version-24593BA9C3E375BF.txt
[7/11] Compiling Logging MetadataProvider.swift
[8/11] Emitting module Logging
[9/11] Compiling Logging Locks.swift
[10/11] Compiling Logging LogHandler.swift
[11/11] Compiling Logging Logging.swift
[13/14] Compiling LoggerAPI Logger.swift
[14/14] Emitting module LoggerAPI
[16/25] Compiling CircuitBreaker Invocation.swift
[17/26] Compiling CircuitBreaker Utils.swift
[18/26] Compiling CircuitBreaker Stats.swift
[19/26] Emitting module CircuitBreaker
[20/26] Compiling CircuitBreaker BreakerError.swift
[21/26] Compiling CircuitBreaker Bulkhead.swift
[22/26] Compiling CircuitBreaker CircuitBreaker.swift
[23/26] Compiling CircuitBreaker Collection.swift
[24/26] Compiling CircuitBreaker MonitorCollection.swift
[25/26] Compiling CircuitBreaker Monitor.swift
[26/26] Compiling CircuitBreaker Snapshot.swift
[28/37] Compiling SwiftyRequest ResultExtension.swift
[29/38] Compiling SwiftyRequest RestUtilities.swift
[30/38] Compiling SwiftyRequest RestToken.swift
[31/38] Compiling SwiftyRequest StringExtensions.swift
[32/38] Compiling SwiftyRequest MultipartFormData.swift
[33/38] Compiling SwiftyRequest CodableExtensions.swift
[34/38] Compiling SwiftyRequest HTTPMethod.swift
[35/38] Emitting module SwiftyRequest
[36/38] Compiling SwiftyRequest JSON.swift
[37/38] Compiling SwiftyRequest JSONWrapper.swift
[38/38] Compiling SwiftyRequest RestRequest.swift
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:985:15: error: 'NSURLAuthenticationMethodClientCertificate' is unavailable: swift-corelibs-foundation does not currently support certificate authentication.
983 |
984 | switch (method, host) {
985 | case (NSURLAuthenticationMethodClientCertificate, baseHost):
| `- error: 'NSURLAuthenticationMethodClientCertificate' is unavailable: swift-corelibs-foundation does not currently support certificate authentication.
986 | #if os(macOS)
987 | guard let certificateName = self.clientCertificate?.name, let certificatePath = self.clientCertificate?.path else {
FoundationNetworking.NSURLAuthenticationMethodClientCertificate:2:12: note: 'NSURLAuthenticationMethodClientCertificate' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "swift-corelibs-foundation does not currently support certificate authentication.")
2 | public let NSURLAuthenticationMethodClientCertificate: String
| `- note: 'NSURLAuthenticationMethodClientCertificate' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:1012:15: error: 'NSURLAuthenticationMethodServerTrust' is unavailable: swift-corelibs-foundation does not support methods of authentication that rely on the Darwin Security framework.
1010 | fallthrough
1011 | #endif
1012 | case (NSURLAuthenticationMethodServerTrust, baseHost):
| `- error: 'NSURLAuthenticationMethodServerTrust' is unavailable: swift-corelibs-foundation does not support methods of authentication that rely on the Darwin Security framework.
1013 | #if !os(Linux)
1014 | guard #available(iOS 3.0, macOS 10.6, *), let trust = challenge.protectionSpace.serverTrust else {
FoundationNetworking.NSURLAuthenticationMethodServerTrust:2:12: note: 'NSURLAuthenticationMethodServerTrust' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "swift-corelibs-foundation does not support methods of authentication that rely on the Darwin Security framework.")
2 | public let NSURLAuthenticationMethodServerTrust: String
| `- note: 'NSURLAuthenticationMethodServerTrust' has been explicitly marked unavailable here
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
warning: 'circuitbreaker': 'circuitbreaker' dependency on 'https://github.com/Kitura/LoggerAPI.git' conflicts with dependency on 'https://github.com/IBM-Swift/LoggerAPI.git' which has the same identity 'loggerapi'. this will be escalated to an error in future versions of SwiftPM.
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/6] Compiling Logging LogHandler.swift
[3/6] Compiling Logging MetadataProvider.swift
[4/6] Emitting module Logging
[5/6] Compiling Logging Logging.swift
[6/6] Compiling Logging Locks.swift
[8/9] Compiling LoggerAPI Logger.swift
[9/9] Emitting module LoggerAPI
[11/20] Compiling CircuitBreaker Invocation.swift
[12/21] Compiling CircuitBreaker Stats.swift
[13/21] Compiling CircuitBreaker Utils.swift
[14/21] Compiling CircuitBreaker MonitorCollection.swift
[15/21] Compiling CircuitBreaker Monitor.swift
[16/21] Compiling CircuitBreaker Snapshot.swift
[17/21] Compiling CircuitBreaker CircuitBreaker.swift
[18/21] Compiling CircuitBreaker Collection.swift
[19/21] Emitting module CircuitBreaker
[20/21] Compiling CircuitBreaker BreakerError.swift
[21/21] Compiling CircuitBreaker Bulkhead.swift
[23/32] Compiling SwiftyRequest RestUtilities.swift
[24/32] Compiling SwiftyRequest ResultExtension.swift
[25/33] Compiling SwiftyRequest MultipartFormData.swift
[26/33] Compiling SwiftyRequest StringExtensions.swift
[27/33] Compiling SwiftyRequest RestToken.swift
[28/33] Compiling SwiftyRequest RestRequest.swift
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:985:15: error: 'NSURLAuthenticationMethodClientCertificate' is unavailable: swift-corelibs-foundation does not currently support certificate authentication.
983 |
984 | switch (method, host) {
985 | case (NSURLAuthenticationMethodClientCertificate, baseHost):
| `- error: 'NSURLAuthenticationMethodClientCertificate' is unavailable: swift-corelibs-foundation does not currently support certificate authentication.
986 | #if os(macOS)
987 | guard let certificateName = self.clientCertificate?.name, let certificatePath = self.clientCertificate?.path else {
FoundationNetworking.NSURLAuthenticationMethodClientCertificate:2:12: note: 'NSURLAuthenticationMethodClientCertificate' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "swift-corelibs-foundation does not currently support certificate authentication.")
2 | public let NSURLAuthenticationMethodClientCertificate: String
| `- note: 'NSURLAuthenticationMethodClientCertificate' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:1012:15: error: 'NSURLAuthenticationMethodServerTrust' is unavailable: swift-corelibs-foundation does not support methods of authentication that rely on the Darwin Security framework.
1010 | fallthrough
1011 | #endif
1012 | case (NSURLAuthenticationMethodServerTrust, baseHost):
| `- error: 'NSURLAuthenticationMethodServerTrust' is unavailable: swift-corelibs-foundation does not support methods of authentication that rely on the Darwin Security framework.
1013 | #if !os(Linux)
1014 | guard #available(iOS 3.0, macOS 10.6, *), let trust = challenge.protectionSpace.serverTrust else {
FoundationNetworking.NSURLAuthenticationMethodServerTrust:2:12: note: 'NSURLAuthenticationMethodServerTrust' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "swift-corelibs-foundation does not support methods of authentication that rely on the Darwin Security framework.")
2 | public let NSURLAuthenticationMethodServerTrust: String
| `- note: 'NSURLAuthenticationMethodServerTrust' has been explicitly marked unavailable here
[29/33] Compiling SwiftyRequest JSON.swift
[30/33] Compiling SwiftyRequest JSONWrapper.swift
[31/33] Emitting module SwiftyRequest
[32/33] Compiling SwiftyRequest CodableExtensions.swift
[33/33] Compiling SwiftyRequest HTTPMethod.swift
BUILD FAILURE 6.1 linux