Build Information
Failed to build NetworkS, reference 5.0.1 (2f9868
), with Swift 6.2 (beta) for macOS (SPM) on 20 Jun 2025 14:31:53 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: 5.0.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/presscorp/NetworkS
* tag 5.0.1 -> FETCH_HEAD
HEAD is now at 2f98682 patch: Memory leak fix (#12)
Cloned https://github.com/presscorp/NetworkS.git
Revision (git rev-parse @):
2f98682cef8bc54153b5946a6c69087e0e06b6dd
SUCCESS checkout https://github.com/presscorp/NetworkS.git at 5.0.1
========================================
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/34] Emitting module NetworkS
/Users/admin/builder/spi-builder-workspace/Sources/NetworkS/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/Request task/TaskOperation.swift:10:7: warning: class 'TaskOperation' must restate inherited '@unchecked Sendable' conformance
8 | import Foundation
9 |
10 | class TaskOperation: Operation {
| `- warning: class 'TaskOperation' must restate inherited '@unchecked Sendable' conformance
11 |
12 | enum State: String {
/Users/admin/builder/spi-builder-workspace/Sources/NetworkS/Session interface/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 class NetworkSessionAdapter: SessionAuthChallenger, SessionLifeCycle, NetworkConnectionChecker {
| `- note: add @available attribute to enclosing class
14 |
15 | public var defaultSSLChallengeEnabled = false
:
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/37] 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 |
[5/37] 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 |
[6/37] Compiling NetworkS String+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 |
[7/37] Compiling NetworkS NetworkSessionInterface.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkS/Session/SessionAuthChallenger.swift:29:29: 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,
:
27 | if challenge.protectionSpace.authenticationMethod == NSURLAuthenticationMethodServerTrust,
28 | let serverTrust = challenge.protectionSpace.serverTrust {
29 | let isTrusted = SecTrustEvaluateWithError(serverTrust, nil)
| |- error: 'SecTrustEvaluateWithError' is only available in macOS 10.14 or newer
| `- note: add 'if #available' version check
30 |
31 | if isTrusted, let serverCertificate = SecTrustGetCertificateAtIndex(serverTrust, 0) {
[8/37] Compiling NetworkS SessionAuthChallengeService.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkS/Session/SessionAuthChallenger.swift:29:29: 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,
:
27 | if challenge.protectionSpace.authenticationMethod == NSURLAuthenticationMethodServerTrust,
28 | let serverTrust = challenge.protectionSpace.serverTrust {
29 | let isTrusted = SecTrustEvaluateWithError(serverTrust, nil)
| |- error: 'SecTrustEvaluateWithError' is only available in macOS 10.14 or newer
| `- note: add 'if #available' version check
30 |
31 | if isTrusted, let serverCertificate = SecTrustGetCertificateAtIndex(serverTrust, 0) {
[9/37] Compiling NetworkS SessionAuthChallenger.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkS/Session/SessionAuthChallenger.swift:29:29: 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,
:
27 | if challenge.protectionSpace.authenticationMethod == NSURLAuthenticationMethodServerTrust,
28 | let serverTrust = challenge.protectionSpace.serverTrust {
29 | let isTrusted = SecTrustEvaluateWithError(serverTrust, nil)
| |- error: 'SecTrustEvaluateWithError' is only available in macOS 10.14 or newer
| `- note: add 'if #available' version check
30 |
31 | if isTrusted, let serverCertificate = SecTrustGetCertificateAtIndex(serverTrust, 0) {
[10/37] Compiling NetworkS SessionRenewalService.swift
[11/37] Compiling NetworkS SessionTaskDataKeeper.swift
[12/37] Compiling NetworkS SuccessResponse.swift
[13/37] Compiling NetworkS MockRequestTask.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkS/Request task/TaskOperation.swift:10:7: warning: class 'TaskOperation' must restate inherited '@unchecked Sendable' conformance
8 | import Foundation
9 |
10 | class TaskOperation: Operation {
| `- warning: class 'TaskOperation' must restate inherited '@unchecked Sendable' conformance
11 |
12 | enum State: String {
[14/37] Compiling NetworkS NetworkRequestTask.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkS/Request task/TaskOperation.swift:10:7: warning: class 'TaskOperation' must restate inherited '@unchecked Sendable' conformance
8 | import Foundation
9 |
10 | class TaskOperation: Operation {
| `- warning: class 'TaskOperation' must restate inherited '@unchecked Sendable' conformance
11 |
12 | enum State: String {
[15/37] Compiling NetworkS RequestTask.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkS/Request task/TaskOperation.swift:10:7: warning: class 'TaskOperation' must restate inherited '@unchecked Sendable' conformance
8 | import Foundation
9 |
10 | class TaskOperation: Operation {
| `- warning: class 'TaskOperation' must restate inherited '@unchecked Sendable' conformance
11 |
12 | enum State: String {
[16/37] Compiling NetworkS TaskOperation.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkS/Request task/TaskOperation.swift:10:7: warning: class 'TaskOperation' must restate inherited '@unchecked Sendable' conformance
8 | import Foundation
9 |
10 | class TaskOperation: Operation {
| `- warning: class 'TaskOperation' must restate inherited '@unchecked Sendable' conformance
11 |
12 | enum State: String {
[17/37] Compiling NetworkS ConsoleLogger.swift
[18/37] Compiling NetworkS FailureResponse.swift
[19/37] Compiling NetworkS MultipartFormDataRequest.swift
[20/37] Compiling NetworkS NetworkCompose.swift
[21/37] Compiling NetworkS SessionDelegationHandler.swift
[22/37] Compiling NetworkS SessionLifeCycle.swift
[23/37] Compiling NetworkS SessionLifeCycleService.swift
[24/37] Compiling NetworkS NetworkResponse.swift
[25/37] Compiling NetworkS NetworkService.swift
[26/37] Compiling NetworkS NetworkWorker.swift
[27/37] Compiling NetworkS CacheRequestTask.swift
[28/37] Compiling NetworkS RequestMethod.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkS/Session interface/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 class NetworkSessionAdapter: SessionAuthChallenger, SessionLifeCycle, NetworkConnectionChecker {
| `- note: add @available attribute to enclosing class
14 |
15 | public var defaultSSLChallengeEnabled = false
:
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))
[29/37] Compiling NetworkS RequestURL.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkS/Session interface/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 class NetworkSessionAdapter: SessionAuthChallenger, SessionLifeCycle, NetworkConnectionChecker {
| `- note: add @available attribute to enclosing class
14 |
15 | public var defaultSSLChallengeEnabled = false
:
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))
[30/37] Compiling NetworkS NetworkSessionAdapter.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkS/Session interface/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 class NetworkSessionAdapter: SessionAuthChallenger, SessionLifeCycle, NetworkConnectionChecker {
| `- note: add @available attribute to enclosing class
14 |
15 | public var defaultSSLChallengeEnabled = false
:
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))
[31/37] Compiling NetworkS TaskRunner.swift
[32/37] Compiling NetworkS UtilRequestTask.swift
[33/37] Compiling NetworkS RequestContentEncoding.swift
[34/37] Compiling NetworkS NetworkConnectionChecker.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkS/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 }
[35/37] Compiling NetworkS NetworkError.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkS/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 }
[36/37] Compiling NetworkS NetworkLogger.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkS/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/37] Compiling NetworkS NetworkRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkS/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 }
BUILD FAILURE 6.2 macosSpm