Build Information
Failed to build NetworkS, reference main (941524
), with Swift 6.2 (beta) for macOS (SPM) on 20 Jun 2025 14:32:06 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/presscorp/NetworkS.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/presscorp/NetworkS
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 9415243 major: Updated public interfaces (#16)
Cloned https://github.com/presscorp/NetworkS.git
Revision (git rev-parse @):
941524330e5ea299f40417ad7234caf79719e07a
SUCCESS checkout https://github.com/presscorp/NetworkS.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/presscorp/NetworkS.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/39] Emitting module NetworkS
/Users/admin/builder/spi-builder-workspace/Sources/NetworkS/Session/NetworkConnectionChecker.swift:12:28: error: 'NWPathMonitor' is only available in macOS 10.14 or newer
8 | import Network
9 |
10 | protocol NetworkConnectionChecker: AnyObject {
| `- note: add @available attribute to enclosing protocol
11 |
12 | var connectionMonitor: NWPathMonitor { get }
| | `- error: 'NWPathMonitor' is only available in macOS 10.14 or newer
| `- note: add @available attribute to enclosing property
13 |
14 | var connectionMonitorQueue: DispatchQueue { get }
/Users/admin/builder/spi-builder-workspace/Sources/NetworkS/Session/NetworkSessionAdapter.swift:35:29: error: 'NWPathMonitor' is only available in macOS 10.14 or newer
11 | /// Classic implementation of adapter between fundamental network session and its worker (request maker);
12 | /// It's much better to use worker (NetworkService) instead of applying adapter directly for network tasks
13 | public final class NetworkSessionAdapter {
| `- note: add @available attribute to enclosing class
14 |
15 | public var sslCertificateCheck = SSLCertificateCheck.enabled()
:
33 | var networkIsReachable = false
34 |
35 | let connectionMonitor = NWPathMonitor()
| `- error: 'NWPathMonitor' is only available in macOS 10.14 or newer
36 |
37 | let connectionMonitorQueue = DispatchQueue(label: String(describing: NetworkConnectionChecker.self))
[4/42] Compiling NetworkS NetworkRequestTask.swift
[5/42] Compiling NetworkS RequestTask.swift
[6/42] Compiling NetworkS TaskOperation.swift
[7/42] Compiling NetworkS TaskRunner.swift
[8/42] Compiling NetworkS UtilRequestTask.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkS/Utils/Data+extension.swift:44:82: error: 'withoutEscapingSlashes' is only available in macOS 10.15 or newer
37 | }
38 |
39 | fileprivate extension Data {
| `- note: add @available attribute to enclosing extension
40 |
41 | func getJsonString(pretty: Bool = false) -> String? {
| `- note: add @available attribute to enclosing instance method
42 | var writingOptions: JSONSerialization.WritingOptions = [.fragmentsAllowed]
43 | if pretty {
44 | writingOptions = writingOptions.union([.prettyPrinted, .sortedKeys, .withoutEscapingSlashes])
| |- error: 'withoutEscapingSlashes' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
45 | }
46 |
[9/42] Compiling NetworkS Data+extension.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkS/Utils/Data+extension.swift:44:82: error: 'withoutEscapingSlashes' is only available in macOS 10.15 or newer
37 | }
38 |
39 | fileprivate extension Data {
| `- note: add @available attribute to enclosing extension
40 |
41 | func getJsonString(pretty: Bool = false) -> String? {
| `- note: add @available attribute to enclosing instance method
42 | var writingOptions: JSONSerialization.WritingOptions = [.fragmentsAllowed]
43 | if pretty {
44 | writingOptions = writingOptions.union([.prettyPrinted, .sortedKeys, .withoutEscapingSlashes])
| |- error: 'withoutEscapingSlashes' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
45 | }
46 |
[10/42] Compiling NetworkS NetworkError.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkS/Utils/Data+extension.swift:44:82: error: 'withoutEscapingSlashes' is only available in macOS 10.15 or newer
37 | }
38 |
39 | fileprivate extension Data {
| `- note: add @available attribute to enclosing extension
40 |
41 | func getJsonString(pretty: Bool = false) -> String? {
| `- note: add @available attribute to enclosing instance method
42 | var writingOptions: JSONSerialization.WritingOptions = [.fragmentsAllowed]
43 | if pretty {
44 | writingOptions = writingOptions.union([.prettyPrinted, .sortedKeys, .withoutEscapingSlashes])
| |- error: 'withoutEscapingSlashes' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
45 | }
46 |
[11/42] Compiling NetworkS PathInitializable.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkS/Utils/Data+extension.swift:44:82: error: 'withoutEscapingSlashes' is only available in macOS 10.15 or newer
37 | }
38 |
39 | fileprivate extension Data {
| `- note: add @available attribute to enclosing extension
40 |
41 | func getJsonString(pretty: Bool = false) -> String? {
| `- note: add @available attribute to enclosing instance method
42 | var writingOptions: JSONSerialization.WritingOptions = [.fragmentsAllowed]
43 | if pretty {
44 | writingOptions = writingOptions.union([.prettyPrinted, .sortedKeys, .withoutEscapingSlashes])
| |- error: 'withoutEscapingSlashes' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
45 | }
46 |
[12/42] Compiling NetworkS RequestURL.swift
[13/42] Compiling NetworkS FailureResponse.swift
[14/42] Compiling NetworkS NetworkResponse.swift
[15/42] Compiling NetworkS SuccessResponse.swift
[16/42] Compiling NetworkS ConsoleLogger.swift
[17/42] Compiling NetworkS NetworkLogFormatter.swift
[18/42] Compiling NetworkS NetworkLogger.swift
[19/42] Compiling NetworkS MultipartFormDataRequest.swift
[20/42] Compiling NetworkS NetworkRequest.swift
[21/42] Compiling NetworkS NetworkRequestExtensible.swift
[22/42] Compiling NetworkS RequestContentType.swift
[23/42] Compiling NetworkS RequestMethod.swift
[24/42] Compiling NetworkS SessionAuthChallenger.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkS/Session/SessionAuthChallenger.swift:24:19: error: 'SecTrustEvaluateWithError' is only available in macOS 10.14 or newer
10 | protocol SessionAuthChallenger: SessionAuthChallengeService {}
11 |
12 | extension SessionAuthChallenger {
| `- note: add @available attribute to enclosing extension
13 |
14 | func urlSession(
| `- note: add @available attribute to enclosing instance method
15 | _ session: URLSession,
16 | didReceive challenge: URLAuthenticationChallenge,
:
22 | guard protectionSpace.authenticationMethod == NSURLAuthenticationMethodServerTrust,
23 | let serverTrust = protectionSpace.serverTrust,
24 | SecTrustEvaluateWithError(serverTrust, nil),
| |- error: 'SecTrustEvaluateWithError' is only available in macOS 10.14 or newer
| `- note: add 'if #available' version check
25 | let serverCertificate = SecTrustGetCertificateAtIndex(serverTrust, 0) else {
26 | return completionHandler(allowDefault ? .performDefaultHandling : .cancelAuthenticationChallenge, nil)
[25/42] Compiling NetworkS SessionDelegationHandler.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkS/Session/SessionAuthChallenger.swift:24:19: error: 'SecTrustEvaluateWithError' is only available in macOS 10.14 or newer
10 | protocol SessionAuthChallenger: SessionAuthChallengeService {}
11 |
12 | extension SessionAuthChallenger {
| `- note: add @available attribute to enclosing extension
13 |
14 | func urlSession(
| `- note: add @available attribute to enclosing instance method
15 | _ session: URLSession,
16 | didReceive challenge: URLAuthenticationChallenge,
:
22 | guard protectionSpace.authenticationMethod == NSURLAuthenticationMethodServerTrust,
23 | let serverTrust = protectionSpace.serverTrust,
24 | SecTrustEvaluateWithError(serverTrust, nil),
| |- error: 'SecTrustEvaluateWithError' is only available in macOS 10.14 or newer
| `- note: add 'if #available' version check
25 | let serverCertificate = SecTrustGetCertificateAtIndex(serverTrust, 0) else {
26 | return completionHandler(allowDefault ? .performDefaultHandling : .cancelAuthenticationChallenge, nil)
[26/42] Compiling NetworkS SessionLifeCycle.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkS/Session/SessionAuthChallenger.swift:24:19: error: 'SecTrustEvaluateWithError' is only available in macOS 10.14 or newer
10 | protocol SessionAuthChallenger: SessionAuthChallengeService {}
11 |
12 | extension SessionAuthChallenger {
| `- note: add @available attribute to enclosing extension
13 |
14 | func urlSession(
| `- note: add @available attribute to enclosing instance method
15 | _ session: URLSession,
16 | didReceive challenge: URLAuthenticationChallenge,
:
22 | guard protectionSpace.authenticationMethod == NSURLAuthenticationMethodServerTrust,
23 | let serverTrust = protectionSpace.serverTrust,
24 | SecTrustEvaluateWithError(serverTrust, nil),
| |- error: 'SecTrustEvaluateWithError' is only available in macOS 10.14 or newer
| `- note: add 'if #available' version check
25 | let serverCertificate = SecTrustGetCertificateAtIndex(serverTrust, 0) else {
26 | return completionHandler(allowDefault ? .performDefaultHandling : .cancelAuthenticationChallenge, nil)
[27/42] Compiling NetworkS SessionLifeCycleService.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkS/Session/SessionAuthChallenger.swift:24:19: error: 'SecTrustEvaluateWithError' is only available in macOS 10.14 or newer
10 | protocol SessionAuthChallenger: SessionAuthChallengeService {}
11 |
12 | extension SessionAuthChallenger {
| `- note: add @available attribute to enclosing extension
13 |
14 | func urlSession(
| `- note: add @available attribute to enclosing instance method
15 | _ session: URLSession,
16 | didReceive challenge: URLAuthenticationChallenge,
:
22 | guard protectionSpace.authenticationMethod == NSURLAuthenticationMethodServerTrust,
23 | let serverTrust = protectionSpace.serverTrust,
24 | SecTrustEvaluateWithError(serverTrust, nil),
| |- error: 'SecTrustEvaluateWithError' is only available in macOS 10.14 or newer
| `- note: add 'if #available' version check
25 | let serverCertificate = SecTrustGetCertificateAtIndex(serverTrust, 0) else {
26 | return completionHandler(allowDefault ? .performDefaultHandling : .cancelAuthenticationChallenge, nil)
[28/42] Compiling NetworkS SessionRenewalService.swift
[29/42] Compiling NetworkS SessionTaskDataKeeper.swift
[30/42] Compiling NetworkS CacheRequestTask.swift
[31/42] Compiling NetworkS MockRequestTask.swift
[32/42] Compiling NetworkS NetworkSessionAdapter.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkS/Session/NetworkSessionAdapter.swift:35:29: error: 'NWPathMonitor' is only available in macOS 10.14 or newer
11 | /// Classic implementation of adapter between fundamental network session and its worker (request maker);
12 | /// It's much better to use worker (NetworkService) instead of applying adapter directly for network tasks
13 | public final class NetworkSessionAdapter {
| `- note: add @available attribute to enclosing class
14 |
15 | public var sslCertificateCheck = SSLCertificateCheck.enabled()
:
33 | var networkIsReachable = false
34 |
35 | let connectionMonitor = NWPathMonitor()
| `- error: 'NWPathMonitor' is only available in macOS 10.14 or newer
36 |
37 | let connectionMonitorQueue = DispatchQueue(label: String(describing: NetworkConnectionChecker.self))
[33/42] Compiling NetworkS NetworkSessionInterface.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkS/Session/NetworkSessionAdapter.swift:35:29: error: 'NWPathMonitor' is only available in macOS 10.14 or newer
11 | /// Classic implementation of adapter between fundamental network session and its worker (request maker);
12 | /// It's much better to use worker (NetworkService) instead of applying adapter directly for network tasks
13 | public final class NetworkSessionAdapter {
| `- note: add @available attribute to enclosing class
14 |
15 | public var sslCertificateCheck = SSLCertificateCheck.enabled()
:
33 | var networkIsReachable = false
34 |
35 | let connectionMonitor = NWPathMonitor()
| `- error: 'NWPathMonitor' is only available in macOS 10.14 or newer
36 |
37 | let connectionMonitorQueue = DispatchQueue(label: String(describing: NetworkConnectionChecker.self))
[34/42] Compiling NetworkS SSLCertificateCheck.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkS/Session/NetworkSessionAdapter.swift:35:29: error: 'NWPathMonitor' is only available in macOS 10.14 or newer
11 | /// Classic implementation of adapter between fundamental network session and its worker (request maker);
12 | /// It's much better to use worker (NetworkService) instead of applying adapter directly for network tasks
13 | public final class NetworkSessionAdapter {
| `- note: add @available attribute to enclosing class
14 |
15 | public var sslCertificateCheck = SSLCertificateCheck.enabled()
:
33 | var networkIsReachable = false
34 |
35 | let connectionMonitor = NWPathMonitor()
| `- error: 'NWPathMonitor' is only available in macOS 10.14 or newer
36 |
37 | let connectionMonitorQueue = DispatchQueue(label: String(describing: NetworkConnectionChecker.self))
[35/42] Compiling NetworkS SessionAuthChallengeService.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkS/Session/NetworkSessionAdapter.swift:35:29: error: 'NWPathMonitor' is only available in macOS 10.14 or newer
11 | /// Classic implementation of adapter between fundamental network session and its worker (request maker);
12 | /// It's much better to use worker (NetworkService) instead of applying adapter directly for network tasks
13 | public final class NetworkSessionAdapter {
| `- note: add @available attribute to enclosing class
14 |
15 | public var sslCertificateCheck = SSLCertificateCheck.enabled()
:
33 | var networkIsReachable = false
34 |
35 | let connectionMonitor = NWPathMonitor()
| `- error: 'NWPathMonitor' is only available in macOS 10.14 or newer
36 |
37 | let connectionMonitorQueue = DispatchQueue(label: String(describing: NetworkConnectionChecker.self))
[36/42] Compiling NetworkS NetworkCompose.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkS/Session/NetworkConnectionChecker.swift:12:28: error: 'NWPathMonitor' is only available in macOS 10.14 or newer
8 | import Network
9 |
10 | protocol NetworkConnectionChecker: AnyObject {
| `- note: add @available attribute to enclosing protocol
11 |
12 | var connectionMonitor: NWPathMonitor { get }
| | `- error: 'NWPathMonitor' is only available in macOS 10.14 or newer
| `- note: add @available attribute to enclosing property
13 |
14 | var connectionMonitorQueue: DispatchQueue { get }
[37/42] Compiling NetworkS NetworkService.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkS/Session/NetworkConnectionChecker.swift:12:28: error: 'NWPathMonitor' is only available in macOS 10.14 or newer
8 | import Network
9 |
10 | protocol NetworkConnectionChecker: AnyObject {
| `- note: add @available attribute to enclosing protocol
11 |
12 | var connectionMonitor: NWPathMonitor { get }
| | `- error: 'NWPathMonitor' is only available in macOS 10.14 or newer
| `- note: add @available attribute to enclosing property
13 |
14 | var connectionMonitorQueue: DispatchQueue { get }
[38/42] Compiling NetworkS NetworkWorker.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkS/Session/NetworkConnectionChecker.swift:12:28: error: 'NWPathMonitor' is only available in macOS 10.14 or newer
8 | import Network
9 |
10 | protocol NetworkConnectionChecker: AnyObject {
| `- note: add @available attribute to enclosing protocol
11 |
12 | var connectionMonitor: NWPathMonitor { get }
| | `- error: 'NWPathMonitor' is only available in macOS 10.14 or newer
| `- note: add @available attribute to enclosing property
13 |
14 | var connectionMonitorQueue: DispatchQueue { get }
[39/42] Compiling NetworkS NetworkConnectionChecker.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkS/Session/NetworkConnectionChecker.swift:12:28: error: 'NWPathMonitor' is only available in macOS 10.14 or newer
8 | import Network
9 |
10 | protocol NetworkConnectionChecker: AnyObject {
| `- note: add @available attribute to enclosing protocol
11 |
12 | var connectionMonitor: NWPathMonitor { get }
| | `- error: 'NWPathMonitor' is only available in macOS 10.14 or newer
| `- note: add @available attribute to enclosing property
13 |
14 | var connectionMonitorQueue: DispatchQueue { get }
[40/42] Compiling NetworkS String+extension.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkS/WebView/WebViewAuthChallenger.swift:28:19: error: 'SecTrustEvaluateWithError' is only available in macOS 10.14 or newer
10 | public protocol WebViewAuthChallenger: WebViewAuthChallengeService {}
11 |
12 | public extension WebViewAuthChallenger {
| `- note: add @available attribute to enclosing extension
13 |
14 | func webView(
| `- note: add @available attribute to enclosing instance method
15 | _ webView: WKWebView,
16 | didReceive challenge: URLAuthenticationChallenge,
:
26 | guard protectionSpace.authenticationMethod == NSURLAuthenticationMethodServerTrust,
27 | let serverTrust = protectionSpace.serverTrust,
28 | SecTrustEvaluateWithError(serverTrust, nil),
| |- error: 'SecTrustEvaluateWithError' is only available in macOS 10.14 or newer
| `- note: add 'if #available' version check
29 | let serverCertificate = SecTrustGetCertificateAtIndex(serverTrust, 0) else {
30 | disposition = allowDefault ? .performDefaultHandling : .cancelAuthenticationChallenge
[41/42] Compiling NetworkS WebViewAuthChallengeService.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkS/WebView/WebViewAuthChallenger.swift:28:19: error: 'SecTrustEvaluateWithError' is only available in macOS 10.14 or newer
10 | public protocol WebViewAuthChallenger: WebViewAuthChallengeService {}
11 |
12 | public extension WebViewAuthChallenger {
| `- note: add @available attribute to enclosing extension
13 |
14 | func webView(
| `- note: add @available attribute to enclosing instance method
15 | _ webView: WKWebView,
16 | didReceive challenge: URLAuthenticationChallenge,
:
26 | guard protectionSpace.authenticationMethod == NSURLAuthenticationMethodServerTrust,
27 | let serverTrust = protectionSpace.serverTrust,
28 | SecTrustEvaluateWithError(serverTrust, nil),
| |- error: 'SecTrustEvaluateWithError' is only available in macOS 10.14 or newer
| `- note: add 'if #available' version check
29 | let serverCertificate = SecTrustGetCertificateAtIndex(serverTrust, 0) else {
30 | disposition = allowDefault ? .performDefaultHandling : .cancelAuthenticationChallenge
[42/42] Compiling NetworkS WebViewAuthChallenger.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkS/WebView/WebViewAuthChallenger.swift:28:19: error: 'SecTrustEvaluateWithError' is only available in macOS 10.14 or newer
10 | public protocol WebViewAuthChallenger: WebViewAuthChallengeService {}
11 |
12 | public extension WebViewAuthChallenger {
| `- note: add @available attribute to enclosing extension
13 |
14 | func webView(
| `- note: add @available attribute to enclosing instance method
15 | _ webView: WKWebView,
16 | didReceive challenge: URLAuthenticationChallenge,
:
26 | guard protectionSpace.authenticationMethod == NSURLAuthenticationMethodServerTrust,
27 | let serverTrust = protectionSpace.serverTrust,
28 | SecTrustEvaluateWithError(serverTrust, nil),
| |- error: 'SecTrustEvaluateWithError' is only available in macOS 10.14 or newer
| `- note: add 'if #available' version check
29 | let serverCertificate = SecTrustGetCertificateAtIndex(serverTrust, 0) else {
30 | disposition = allowDefault ? .performDefaultHandling : .cancelAuthenticationChallenge
BUILD FAILURE 6.2 macosSpm