Build Information
Failed to build SwiftRestRequests, reference main (805221), with Swift 6.1 for macOS (SPM) on 18 Aug 2026 16:45:18 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.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
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/tkausch/SwiftRestRequests.git
https://github.com/tkausch/SwiftRestRequests.git
{
"dependencies" : [
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.5.4",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log"
},
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.3.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-docc-plugin"
}
],
"manifest_display_name" : "SwiftRestRequests",
"name" : "SwiftRestRequests",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "watchos",
"version" : "8.0"
},
{
"name" : "tvos",
"version" : "15.0"
},
{
"name" : "macos",
"version" : "12.0"
}
],
"products" : [
{
"name" : "SwiftRestRequests",
"targets" : [
"SwiftRestRequests"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftRestRequestsTests",
"module_type" : "SwiftTarget",
"name" : "SwiftRestRequestsTests",
"path" : "Tests/SwiftRestRequestsTests",
"sources" : [
"AbstractRestApiCallerTests.swift",
"RestApiCallerSecurityTests.swift",
"RestApiCallerTests.swift"
],
"target_dependencies" : [
"SwiftRestRequests"
],
"type" : "test"
},
{
"c99name" : "SwiftRestRequests",
"module_type" : "SwiftTarget",
"name" : "SwiftRestRequests",
"path" : "Sources/SwiftRestRequests",
"product_dependencies" : [
"Logging"
],
"product_memberships" : [
"SwiftRestRequests"
],
"sources" : [
"Deserializer.swift",
"RestApiCaller.swift",
"RestError.swift",
"RestOptions.swift",
"http/HTTPStatusCode.swift",
"http/HTTPUtil.swift",
"interceptors/LogNetworkInterceptor.swift",
"linux/URLSession+Linux.swift",
"logging/Logger+Extension.swift",
"logging/OSLogHandler.swift",
"security/AuthorizerInterceptor.swift",
"security/CertificateCAPinning.swift",
"security/PublicKeyServerPinning.swift",
"security/TrustValidation.swift",
"security/URLRequestAuthorizer.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats
[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-2F0A5646E1D333AE.txt
[6/16] Compiling Logging LoggingSystem.swift
[7/16] Compiling Logging Logger.swift
[8/17] Compiling Logging Logger+With.swift
unable to find node: pound
unable to find node: pound
[9/17] Compiling Logging Logger+Attributes.swift
[10/17] Compiling Logging SwiftLogNoOpLogHandler.swift
[11/17] Compiling Logging LogEvent.swift
[12/17] Compiling Logging LogHandler.swift
[13/17] Compiling Logging MetadataProvider.swift
[14/17] Compiling Logging Locks.swift
[15/17] Emitting module Logging
unable to find node: pound
unable to find node: pound
[16/17] Compiling Logging MultiplexLogHandler.swift
[17/17] Compiling Logging StreamLogHandler.swift
[18/32] Compiling SwiftRestRequests PublicKeyServerPinning.swift
[19/32] Compiling SwiftRestRequests TrustValidation.swift
[20/33] Compiling SwiftRestRequests CertificateCAPinning.swift
[21/33] Compiling SwiftRestRequests AuthorizerInterceptor.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[22/33] Compiling SwiftRestRequests HTTPStatusCode.swift
[23/33] Compiling SwiftRestRequests HTTPUtil.swift
[24/33] Compiling SwiftRestRequests RestError.swift
[25/33] Compiling SwiftRestRequests RestOptions.swift
[26/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
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
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,
[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
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
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,
[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
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
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,
[29/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> = [
[30/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> = [
[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-docc-plugin
Fetching https://github.com/apple/swift-log from cache
[1/2345] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (1.48s)
Fetched https://github.com/apple/swift-log from cache (1.51s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.5.0 (4.65s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit from cache
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.20s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.91s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.15.0 (0.52s)
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
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
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/3] Write swift-version-2F0A5646E1D333AE.txt
[4/14] Compiling Logging LogHandler.swift
[5/14] Compiling Logging Logger+With.swift
unable to find node: pound
unable to find node: pound
[6/14] Compiling Logging LoggingSystem.swift
[7/15] Compiling Logging Logger+Attributes.swift
[8/15] Compiling Logging LogEvent.swift
[9/15] Compiling Logging Locks.swift
[10/15] Compiling Logging SwiftLogNoOpLogHandler.swift
[11/15] Compiling Logging Logger.swift
[12/15] Compiling Logging MultiplexLogHandler.swift
[13/15] Compiling Logging StreamLogHandler.swift
[14/15] Emitting module Logging
unable to find node: pound
unable to find node: pound
[15/15] Compiling Logging MetadataProvider.swift
[16/30] Compiling SwiftRestRequests TrustValidation.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[17/31] 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
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
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,
[18/31] Compiling SwiftRestRequests PublicKeyServerPinning.swift
[19/31] 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
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
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,
[20/31] 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
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
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,
[21/31] Compiling SwiftRestRequests RestError.swift
[22/31] Compiling SwiftRestRequests RestOptions.swift
[23/31] Compiling SwiftRestRequests AuthorizerInterceptor.swift
[24/31] Compiling SwiftRestRequests HTTPStatusCode.swift
[25/31] Compiling SwiftRestRequests HTTPUtil.swift
[26/31] Compiling SwiftRestRequests CertificateCAPinning.swift
[27/31] 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> = [
[28/31] 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> = [
[29/31] 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/31] 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/31] Compiling SwiftRestRequests URLRequestAuthorizer.swift
BUILD FAILURE 6.1 macosSpm