Build Information
Failed to build SwiftRestRequests, reference main (805221), with Swift 6.3 for macOS (SPM) on 18 Aug 2026 16:45:50 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.5.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 5.0.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tkausch/SwiftRestRequests.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/tkausch/SwiftRestRequests
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 805221b L
Cloned https://github.com/tkausch/SwiftRestRequests.git
Revision (git rev-parse @):
805221be7bc6dbff18a2787ef1024c481ff63580
SUCCESS checkout https://github.com/tkausch/SwiftRestRequests.git at main
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-log
[1/2345] Fetching swift-docc-plugin
[2/10299] Fetching swift-docc-plugin, swift-log
Fetched https://github.com/apple/swift-docc-plugin from cache (1.79s)
Fetched https://github.com/apple/swift-log from cache (1.79s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.5.0 (4.74s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3809] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (2.58s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (3.29s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.15.0 (0.57s)
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.15.0
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.5.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"traits": [
"default"
],
"dependencies": [
{
"identity": "swiftrestrequests",
"name": "SwiftRestRequests",
"url": "https://github.com/tkausch/SwiftRestRequests.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftRestRequests",
"traits": [
"default"
],
"dependencies": [
{
"identity": "swift-log",
"name": "swift-log",
"url": "https://github.com/apple/swift-log",
"version": "1.15.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-log",
"traits": [
],
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/tkausch/SwiftRestRequests.git
[1/955] Fetching swiftrestrequests
Fetched https://github.com/tkausch/SwiftRestRequests.git from cache (1.32s)
Fetching https://github.com/apple/swift-log from cache
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.15.0 (0.74s)
Creating working copy for https://github.com/tkausch/SwiftRestRequests.git
Working copy of https://github.com/tkausch/SwiftRestRequests.git resolved at main (805221b)
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.15.0
warning: '.resolve-product-dependencies': dependency 'swiftrestrequests' is not used by any target
Found 1 product dependencies
- swift-log
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.3
Building package at path: $PWD
https://github.com/tkausch/SwiftRestRequests.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.5.0.app xcrun swift build --arch arm64
[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-69A768CDF2A0BEE1.txt
[6/16] Compiling Logging LoggingSystem.swift
[7/16] Compiling Logging Logger.swift
[8/16] Compiling Logging Logger+With.swift
[9/16] Compiling Logging LogEvent.swift
[10/16] Compiling Logging LogHandler.swift
[11/16] Compiling Logging Logger+Attributes.swift
[12/17] Emitting module Logging
[13/17] Compiling Logging Locks.swift
[14/17] Compiling Logging SwiftLogNoOpLogHandler.swift
[15/17] Compiling Logging MultiplexLogHandler.swift
[16/17] Compiling Logging StreamLogHandler.swift
[17/17] Compiling Logging MetadataProvider.swift
[18/32] Compiling SwiftRestRequests TrustValidation.swift
[19/33] Compiling SwiftRestRequests AuthorizerInterceptor.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[20/33] Compiling SwiftRestRequests CertificateCAPinning.swift
[21/33] Compiling SwiftRestRequests Logger+Extension.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRestRequests/logging/OSLogHandler.swift:32:15: warning: deprecated default implementation is used to satisfy instance method 'log(event:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation [#DeprecatedDeclaration]
30 |
31 | /// `swift-log` handler that forwards messages to Apple's `os_log`.
32 | public struct OSLogHandler: LogHandler {
| `- warning: deprecated default implementation is used to satisfy instance method 'log(event:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation [#DeprecatedDeclaration]
33 | public var logLevel: Logger.Level = .info
34 | public let label: String
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/LogHandler.swift:249:17: note: 'log(event:)' declared here
136 | ///
137 | /// - Parameter event: The log event containing the level, message, metadata, and source location.
138 | func log(event: LogEvent)
| `- note: requirement 'log(event:)' declared here
139 |
140 | /// Please do _not_ implement this method when you create a `LogHandler` implementation.
:
247 | /// Implement ``log(event:)`` in your ``LogHandler`` instead.
248 | @available(*, deprecated, message: "You should implement this method instead of using the default implementation")
249 | public func log(event: LogEvent) {
| `- note: 'log(event:)' declared here
250 | self.log(
251 | level: event.level,
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[22/33] Compiling SwiftRestRequests OSLogHandler.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRestRequests/logging/OSLogHandler.swift:32:15: warning: deprecated default implementation is used to satisfy instance method 'log(event:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation [#DeprecatedDeclaration]
30 |
31 | /// `swift-log` handler that forwards messages to Apple's `os_log`.
32 | public struct OSLogHandler: LogHandler {
| `- warning: deprecated default implementation is used to satisfy instance method 'log(event:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation [#DeprecatedDeclaration]
33 | public var logLevel: Logger.Level = .info
34 | public let label: String
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/LogHandler.swift:249:17: note: 'log(event:)' declared here
136 | ///
137 | /// - Parameter event: The log event containing the level, message, metadata, and source location.
138 | func log(event: LogEvent)
| `- note: requirement 'log(event:)' declared here
139 |
140 | /// Please do _not_ implement this method when you create a `LogHandler` implementation.
:
247 | /// Implement ``log(event:)`` in your ``LogHandler`` instead.
248 | @available(*, deprecated, message: "You should implement this method instead of using the default implementation")
249 | public func log(event: LogEvent) {
| `- note: 'log(event:)' declared here
250 | self.log(
251 | level: event.level,
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[23/33] Compiling SwiftRestRequests HTTPStatusCode.swift
[24/33] Compiling SwiftRestRequests HTTPUtil.swift
[25/33] Compiling SwiftRestRequests RestError.swift
[26/33] Compiling SwiftRestRequests RestOptions.swift
[27/33] Compiling SwiftRestRequests PublicKeyServerPinning.swift
[28/33] Emitting module SwiftRestRequests
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRestRequests/interceptors/LogNetworkInterceptor.swift:32:12: error: class 'LogNetworkInterceptor' has no initializers
30 |
31 | /// Interceptor that logs outgoing requests and incoming responses using `swift-log`.
32 | open class LogNetworkInterceptor: URLRequestInterceptor, @unchecked Sendable {
| `- error: class 'LogNetworkInterceptor' has no initializers
33 |
34 | static let noBody = "none"
35 |
36 | let logger = Logger.SwiftRestRequests.interceptor
37 | let enableNetworkTracing: Bool
| `- note: stored property 'enableNetworkTracing' without initial value prevents synthesized initializers
38 |
39 | private let redactedHeaderKeys: Set<String> = [
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRestRequests/logging/OSLogHandler.swift:32:15: warning: deprecated default implementation is used to satisfy instance method 'log(event:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation [#DeprecatedDeclaration]
30 |
31 | /// `swift-log` handler that forwards messages to Apple's `os_log`.
32 | public struct OSLogHandler: LogHandler {
| `- warning: deprecated default implementation is used to satisfy instance method 'log(event:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation [#DeprecatedDeclaration]
33 | public var logLevel: Logger.Level = .info
34 | public let label: String
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/LogHandler.swift:249:17: note: 'log(event:)' declared here
136 | ///
137 | /// - Parameter event: The log event containing the level, message, metadata, and source location.
138 | func log(event: LogEvent)
| `- note: requirement 'log(event:)' declared here
139 |
140 | /// Please do _not_ implement this method when you create a `LogHandler` implementation.
:
247 | /// Implement ``log(event:)`` in your ``LogHandler`` instead.
248 | @available(*, deprecated, message: "You should implement this method instead of using the default implementation")
249 | public func log(event: LogEvent) {
| `- note: 'log(event:)' declared here
250 | self.log(
251 | level: event.level,
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[29/33] Compiling SwiftRestRequests Deserializer.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRestRequests/RestApiCaller.swift:145:40: error: 'LogNetworkInterceptor' cannot be constructed because it has no accessible initializers
143 | }
144 | #else
145 | registerRequestInterceptor(LogNetworkInterceptor(enableNetworkTracing: enableNetworkTrace))
| `- error: 'LogNetworkInterceptor' cannot be constructed because it has no accessible initializers
146 | #endif
147 |
[30/33] Compiling SwiftRestRequests RestApiCaller.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRestRequests/RestApiCaller.swift:145:40: error: 'LogNetworkInterceptor' cannot be constructed because it has no accessible initializers
143 | }
144 | #else
145 | registerRequestInterceptor(LogNetworkInterceptor(enableNetworkTracing: enableNetworkTrace))
| `- error: 'LogNetworkInterceptor' cannot be constructed because it has no accessible initializers
146 | #endif
147 |
[31/33] Compiling SwiftRestRequests LogNetworkInterceptor.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRestRequests/interceptors/LogNetworkInterceptor.swift:32:12: error: class 'LogNetworkInterceptor' has no initializers
30 |
31 | /// Interceptor that logs outgoing requests and incoming responses using `swift-log`.
32 | open class LogNetworkInterceptor: URLRequestInterceptor, @unchecked Sendable {
| `- error: class 'LogNetworkInterceptor' has no initializers
33 |
34 | static let noBody = "none"
35 |
36 | let logger = Logger.SwiftRestRequests.interceptor
37 | let enableNetworkTracing: Bool
| `- note: stored property 'enableNetworkTracing' without initial value prevents synthesized initializers
38 |
39 | private let redactedHeaderKeys: Set<String> = [
[32/33] Compiling SwiftRestRequests URLSession+Linux.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRestRequests/interceptors/LogNetworkInterceptor.swift:32:12: error: class 'LogNetworkInterceptor' has no initializers
30 |
31 | /// Interceptor that logs outgoing requests and incoming responses using `swift-log`.
32 | open class LogNetworkInterceptor: URLRequestInterceptor, @unchecked Sendable {
| `- error: class 'LogNetworkInterceptor' has no initializers
33 |
34 | static let noBody = "none"
35 |
36 | let logger = Logger.SwiftRestRequests.interceptor
37 | let enableNetworkTracing: Bool
| `- note: stored property 'enableNetworkTracing' without initial value prevents synthesized initializers
38 |
39 | private let redactedHeaderKeys: Set<String> = [
[33/33] Compiling SwiftRestRequests URLRequestAuthorizer.swift
BUILD FAILURE 6.3 macosSpm