Build Information
Failed to build SwiftRestRequests, reference 1.7.1 (8c1c54), with Swift 6.2 for Linux on 17 Nov 2025 19:51:54 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tkausch/SwiftRestRequests.git
Reference: 1.7.1
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/tkausch/SwiftRestRequests
* tag 1.7.1 -> FETCH_HEAD
HEAD is now at 8c1c54a Merge pull request #24 from tkausch/sendableConformity
Cloned https://github.com/tkausch/SwiftRestRequests.git
Revision (git rev-parse @):
8c1c54a571be7e7ac7b49951b1355b29c2c5f7bc
SUCCESS checkout https://github.com/tkausch/SwiftRestRequests.git at 1.7.1
========================================
Build
========================================
Selected platform: linux
Swift version: 6.2
Building package at path: $PWD
https://github.com/tkausch/SwiftRestRequests.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b3eaa5734a03a9b8084848018342ef6c4e4ec1a618756d8de460b693a5f488ea
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/apple/swift-log
Fetching https://github.com/apple/swift-docc-plugin
[1/2158] Fetching swift-docc-plugin
[2159/6556] Fetching swift-docc-plugin, swift-log
Fetched https://github.com/apple/swift-docc-plugin from cache (0.40s)
[352/4398] Fetching swift-log
Fetched https://github.com/apple/swift-log from cache (0.67s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.6.4 (1.14s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.5 (2.22s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3578] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.39s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.84s)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.5
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.6.4
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/10] Compiling Logging MetadataProvider.swift
[7/10] Compiling Logging LogHandler.swift
[8/10] Emitting module Logging
[9/10] Compiling Logging Locks.swift
[10/10] Compiling Logging Logging.swift
[12/26] Compiling SwiftRestRequests Logger+Extension.swift
[13/26] Compiling SwiftRestRequests OSLogHandler.swift
[14/27] Compiling SwiftRestRequests Deserializer.swift
[15/27] Compiling SwiftRestRequests RestApiCaller.swift
[16/27] Compiling SwiftRestRequests AuthorizerInterceptor.swift
[17/27] Compiling SwiftRestRequests CertificateCAPinning.swift
[18/27] Compiling SwiftRestRequests PublicKeyServerPinning.swift
/host/spi-builder-workspace/Sources/SwiftRestRequests/security/TrustValidation.swift:30:99: error: cannot find type 'SecTrust' in scope
28 |
29 | enum TrustValidation {
30 | static func extractServerTrust(from challenge: URLAuthenticationChallenge, logger: Logger) -> SecTrust? {
| `- error: cannot find type 'SecTrust' in scope
31 | guard let serverTrust = challenge.protectionSpace.serverTrust else {
32 | logger.error("Security: serverTrust is missing; cancelling authentication challenge.")
/host/spi-builder-workspace/Sources/SwiftRestRequests/security/TrustValidation.swift:31:59: error: 'serverTrust' is unavailable: swift-corelibs-foundation does not support methods of authentication that rely on the Darwin Security framework.
29 | enum TrustValidation {
30 | static func extractServerTrust(from challenge: URLAuthenticationChallenge, logger: Logger) -> SecTrust? {
31 | guard let serverTrust = challenge.protectionSpace.serverTrust else {
| `- error: 'serverTrust' is unavailable: swift-corelibs-foundation does not support methods of authentication that rely on the Darwin Security framework.
32 | logger.error("Security: serverTrust is missing; cancelling authentication challenge.")
33 | return nil
FoundationNetworking.URLProtectionSpace.serverTrust:3:14: note: 'serverTrust' has been explicitly marked unavailable here
1 | class URLProtectionSpace {
2 | @available(*, unavailable, message: "swift-corelibs-foundation does not support methods of authentication that rely on the Darwin Security framework.")
3 | public var serverTrust: Any? { get }}
| `- note: 'serverTrust' has been explicitly marked unavailable here
4 |
[19/27] Compiling SwiftRestRequests TrustValidation.swift
/host/spi-builder-workspace/Sources/SwiftRestRequests/security/TrustValidation.swift:30:99: error: cannot find type 'SecTrust' in scope
28 |
29 | enum TrustValidation {
30 | static func extractServerTrust(from challenge: URLAuthenticationChallenge, logger: Logger) -> SecTrust? {
| `- error: cannot find type 'SecTrust' in scope
31 | guard let serverTrust = challenge.protectionSpace.serverTrust else {
32 | logger.error("Security: serverTrust is missing; cancelling authentication challenge.")
/host/spi-builder-workspace/Sources/SwiftRestRequests/security/TrustValidation.swift:31:59: error: 'serverTrust' is unavailable: swift-corelibs-foundation does not support methods of authentication that rely on the Darwin Security framework.
29 | enum TrustValidation {
30 | static func extractServerTrust(from challenge: URLAuthenticationChallenge, logger: Logger) -> SecTrust? {
31 | guard let serverTrust = challenge.protectionSpace.serverTrust else {
| `- error: 'serverTrust' is unavailable: swift-corelibs-foundation does not support methods of authentication that rely on the Darwin Security framework.
32 | logger.error("Security: serverTrust is missing; cancelling authentication challenge.")
33 | return nil
FoundationNetworking.URLProtectionSpace.serverTrust:3:14: note: 'serverTrust' has been explicitly marked unavailable here
1 | class URLProtectionSpace {
2 | @available(*, unavailable, message: "swift-corelibs-foundation does not support methods of authentication that rely on the Darwin Security framework.")
3 | public var serverTrust: Any? { get }}
| `- note: 'serverTrust' has been explicitly marked unavailable here
4 |
[20/27] Compiling SwiftRestRequests URLRequestAuthorizer.swift
[21/27] Compiling SwiftRestRequests HTTPStatusCode.swift
[22/27] Compiling SwiftRestRequests HTTPUtil.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[23/27] Compiling SwiftRestRequests RestError.swift
[24/27] Compiling SwiftRestRequests RestOptions.swift
[25/27] Emitting module SwiftRestRequests
/host/spi-builder-workspace/Sources/SwiftRestRequests/security/TrustValidation.swift:30:99: error: cannot find type 'SecTrust' in scope
28 |
29 | enum TrustValidation {
30 | static func extractServerTrust(from challenge: URLAuthenticationChallenge, logger: Logger) -> SecTrust? {
| `- error: cannot find type 'SecTrust' in scope
31 | guard let serverTrust = challenge.protectionSpace.serverTrust else {
32 | logger.error("Security: serverTrust is missing; cancelling authentication challenge.")
[26/27] Compiling SwiftRestRequests LogNetworkInterceptor.swift
[27/27] Compiling SwiftRestRequests URLSession+Linux.swift
BUILD FAILURE 6.2 linux