Build Information
Failed to build openwhisk-swift-sdk, reference master (8cbe11
), with Swift 6.0 for Linux on 27 Nov 2024 09:24:42 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-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
Build Log
========================================
RunAll
========================================
Builder version: 4.58.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.0
Building package at path: $PWD
https://github.com/dokun1/openwhisk-swift-sdk.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-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.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/IBM-Swift/CircuitBreaker.git
Fetching https://github.com/IBM-Swift/SwiftyRequest.git
Fetching https://github.com/IBM-Swift/LoggerAPI.git
[1/1733] Fetching circuitbreaker
[365/3828] Fetching circuitbreaker, swiftyrequest
[766/4599] Fetching circuitbreaker, swiftyrequest, loggerapi
Fetched https://github.com/IBM-Swift/CircuitBreaker.git from cache (0.27s)
Fetched https://github.com/IBM-Swift/LoggerAPI.git from cache (0.28s)
Fetched https://github.com/IBM-Swift/SwiftyRequest.git from cache (0.28s)
Computing version for https://github.com/IBM-Swift/LoggerAPI.git
Computed https://github.com/IBM-Swift/LoggerAPI.git at 1.9.200 (1.80s)
Fetching https://github.com/apple/swift-log.git
[1/3698] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.33s)
Computing version for https://github.com/IBM-Swift/CircuitBreaker.git
Computed https://github.com/IBM-Swift/CircuitBreaker.git at 5.1.0 (0.51s)
Computing version for https://github.com/IBM-Swift/SwiftyRequest.git
Computed https://github.com/IBM-Swift/SwiftyRequest.git at 2.2.1 (0.45s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.2 (0.37s)
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.2
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
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/SwiftyRequest.git
Working copy of https://github.com/IBM-Swift/SwiftyRequest.git resolved at 2.2.1
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 LogHandler.swift
[8/11] Compiling Logging MetadataProvider.swift
[9/11] Compiling Logging Locks.swift
[10/11] Compiling Logging Logging.swift
[11/11] Emitting module Logging
[13/14] Emitting module LoggerAPI
[14/14] Compiling LoggerAPI Logger.swift
[16/25] Compiling CircuitBreaker Monitor.swift
[17/26] Compiling CircuitBreaker Invocation.swift
[18/26] Compiling CircuitBreaker Utils.swift
[19/26] Compiling CircuitBreaker Stats.swift
[20/26] Compiling CircuitBreaker MonitorCollection.swift
[21/26] Compiling CircuitBreaker Snapshot.swift
[22/26] Compiling CircuitBreaker BreakerError.swift
[23/26] Compiling CircuitBreaker Bulkhead.swift
[24/26] Compiling CircuitBreaker CircuitBreaker.swift
[25/26] Compiling CircuitBreaker Collection.swift
[26/26] Emitting module CircuitBreaker
[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 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
[34/38] Compiling SwiftyRequest CodableExtensions.swift
[35/38] Compiling SwiftyRequest HTTPMethod.swift
[36/38] Emitting module SwiftyRequest
[37/38] Compiling SwiftyRequest JSON.swift
[38/38] Compiling SwiftyRequest JSONWrapper.swift
BUILD FAILURE 6.0 linux