The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftRestRequests, reference main (805221), with Swift 6.2 for macOS (SPM) on 18 Aug 2026 16:40:29 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64

Build 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
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/tkausch/SwiftRestRequests.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.3.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--3CB7CFEC50E0D141.txt
[6/16] Compiling Logging LoggingSystem.swift
[7/16] Compiling Logging Logger+Attributes.swift
[8/16] Compiling Logging Logger.swift
[9/16] Compiling Logging Logger+With.swift
[10/16] Compiling Logging LogHandler.swift
[11/16] Compiling Logging LogEvent.swift
[12/17] Compiling Logging MultiplexLogHandler.swift
[13/17] Compiling Logging StreamLogHandler.swift
[14/17] Compiling Logging SwiftLogNoOpLogHandler.swift
[15/17] Compiling Logging Locks.swift
[16/17] Emitting module Logging
[17/17] Compiling Logging MetadataProvider.swift
[18/32] Compiling SwiftRestRequests PublicKeyServerPinning.swift
[19/32] Compiling SwiftRestRequests HTTPStatusCode.swift
[20/32] Compiling SwiftRestRequests HTTPUtil.swift
[21/32] Compiling SwiftRestRequests TrustValidation.swift
[22/32] 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> = [
[23/32] 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> = [
[24/33] Compiling SwiftRestRequests CertificateCAPinning.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[25/33] Compiling SwiftRestRequests RestError.swift
[26/33] Compiling SwiftRestRequests RestOptions.swift
[27/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>
[28/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>
[29/33] Compiling SwiftRestRequests AuthorizerInterceptor.swift
[30/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>
[31/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 |
[32/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 |
[33/33] Compiling SwiftRestRequests URLRequestAuthorizer.swift
Fetching https://github.com/apple/swift-log
Fetching https://github.com/apple/swift-docc-plugin
[1/2345] Fetching swift-docc-plugin
[236/10299] Fetching swift-docc-plugin, swift-log
Fetched https://github.com/apple/swift-log from cache (1.87s)
Fetched https://github.com/apple/swift-docc-plugin from cache (1.87s)
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 (1.58s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (2.32s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.15.0 (0.58s)
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
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.15.0
BUILD FAILURE 6.2 macosSpm