Build Information
Failed to build SwiftRestRequests, reference 1.7.1 (8c1c54), with Swift 6.3 for Linux on 17 Apr 2026 14:10:17 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.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.3
Building package at path: $PWD
https://github.com/tkausch/SwiftRestRequests.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest
Fetching https://github.com/apple/swift-log
Fetching https://github.com/apple/swift-docc-plugin
[1/2277] Fetching swift-docc-plugin
[457/8907] Fetching swift-docc-plugin, swift-log
Fetched https://github.com/apple/swift-log from cache (0.59s)
Fetched https://github.com/apple/swift-docc-plugin from cache (0.60s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.6 (3.29s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3672] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.44s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.02s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.12.0 (0.52s)
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.6
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-log
Working copy of https://github.com/apple/swift-log resolved at 1.12.0
[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/11] Compiling Logging LogHandler.swift
[7/11] Emitting module Logging
[8/11] Compiling Logging MetadataProvider.swift
[9/11] Compiling Logging Logging.swift
[10/11] Compiling Logging LogEvent.swift
[11/11] Compiling Logging Locks.swift
[13/27] Compiling SwiftRestRequests AuthorizerInterceptor.swift
[14/27] Compiling SwiftRestRequests CertificateCAPinning.swift
[15/27] Compiling SwiftRestRequests Logger+Extension.swift
[16/27] Compiling SwiftRestRequests OSLogHandler.swift
[17/28] 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 |
[18/28] 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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[19/28] 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.")
[20/28] Compiling SwiftRestRequests Deserializer.swift
[21/28] Compiling SwiftRestRequests RestApiCaller.swift
[22/28] Compiling SwiftRestRequests RestError.swift
[23/28] Compiling SwiftRestRequests RestOptions.swift
[24/28] Compiling SwiftRestRequests HTTPStatusCode.swift
[25/28] Compiling SwiftRestRequests HTTPUtil.swift
[26/28] Compiling SwiftRestRequests LogNetworkInterceptor.swift
[27/28] Compiling SwiftRestRequests URLSession+Linux.swift
[28/28] Compiling SwiftRestRequests URLRequestAuthorizer.swift
BUILD FAILURE 6.3 linux