Build Information
Failed to build JNetworkManager, reference 1.1.1 (cff6c2
), with Swift 5.10 for macOS (SPM) on 16 Oct 2024 12:47:00 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.55.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jeetrajput01/JNetworkManager.git
Reference: 1.1.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/jeetrajput01/JNetworkManager
* tag 1.1.1 -> FETCH_HEAD
HEAD is now at cff6c26 Update JNetworkManager.swift
Cloned https://github.com/jeetrajput01/JNetworkManager.git
Revision (git rev-parse @):
cff6c2619e436f2c0945d3ed7d5a69b1c6f5dd10
SUCCESS checkout https://github.com/jeetrajput01/JNetworkManager.git at 1.1.1
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.10
Building package at path: $PWD
https://github.com/jeetrajput01/JNetworkManager.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/4] Write sources
[1/4] Copying PrivacyInfo.xcprivacy
[3/4] Write swift-version-33747A42983211AE.txt
[5/44] Emitting module Alamofire
[6/48] Compiling Alamofire Alamofire.swift
[7/48] Compiling Alamofire AFError.swift
[8/48] Compiling Alamofire DataRequest.swift
[9/48] Compiling Alamofire DataStreamRequest.swift
[10/48] Compiling Alamofire DownloadRequest.swift
[11/48] Compiling Alamofire SessionDelegate.swift
[12/48] Compiling Alamofire URLConvertible+URLRequestConvertible.swift
[13/48] Compiling Alamofire UploadRequest.swift
[14/48] Compiling Alamofire WebSocketRequest.swift
[15/48] Compiling Alamofire HTTPHeaders.swift
[16/48] Compiling Alamofire HTTPMethod.swift
[17/48] Compiling Alamofire Notifications.swift
[18/48] Compiling Alamofire ParameterEncoder.swift
[19/48] Compiling Alamofire ParameterEncoding.swift
[20/48] Compiling Alamofire CachedResponseHandler.swift
[21/48] Compiling Alamofire Combine.swift
[22/48] Compiling Alamofire Concurrency.swift
[23/48] Compiling Alamofire EventMonitor.swift
[24/48] Compiling Alamofire Protected.swift
[25/48] Compiling Alamofire Request.swift
[26/48] Compiling Alamofire RequestTaskMap.swift
[27/48] Compiling Alamofire Response.swift
[28/48] Compiling Alamofire Session.swift
[29/48] Compiling Alamofire DispatchQueue+Alamofire.swift
[30/48] Compiling Alamofire OperationQueue+Alamofire.swift
[31/48] Compiling Alamofire Result+Alamofire.swift
[32/48] Compiling Alamofire StringEncoding+Alamofire.swift
[33/48] Compiling Alamofire URLRequest+Alamofire.swift
[34/48] Compiling Alamofire URLSessionConfiguration+Alamofire.swift
[35/48] Compiling Alamofire AlamofireExtended.swift
[36/48] Compiling Alamofire AuthenticationInterceptor.swift
[37/48] Compiling Alamofire RequestCompression.swift
[38/48] Compiling Alamofire RequestInterceptor.swift
[39/48] Compiling Alamofire ResponseSerialization.swift
[40/48] Compiling Alamofire RetryPolicy.swift
[41/48] Compiling Alamofire MultipartFormData.swift
[42/48] Compiling Alamofire MultipartUpload.swift
[43/48] Compiling Alamofire NetworkReachabilityManager.swift
[44/48] Compiling Alamofire RedirectHandler.swift
[45/48] Compiling Alamofire ServerTrustEvaluation.swift
[46/48] Compiling Alamofire URLEncodedFormEncoder.swift
[47/48] Compiling Alamofire Validation.swift
[48/48] Compiling Alamofire resource_bundle_accessor.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[49/52] Emitting module JNetworkManager
/Users/admin/builder/spi-builder-workspace/Sources/JNetworkManager/JNetworkManager.swift:617:102: error: 'CheckedContinuation' is only available in macOS 10.15 or newer
private class func handleAFError(_ error: AFError, response: AFDataResponse<Data>, continuation: CheckedContinuation<Result<Any, Error>, Error>) {
^
/Users/admin/builder/spi-builder-workspace/Sources/JNetworkManager/JNetworkManager.swift:617:24: note: add @available attribute to enclosing class method
private class func handleAFError(_ error: AFError, response: AFDataResponse<Data>, continuation: CheckedContinuation<Result<Any, Error>, Error>) {
^
/Users/admin/builder/spi-builder-workspace/Sources/JNetworkManager/JNetworkManager.swift:606:1: note: add @available attribute to enclosing extension
extension JNetworkManager {
^
/Users/admin/builder/spi-builder-workspace/Sources/JNetworkManager/JNetworkManager.swift:639:105: error: 'CheckedContinuation' is only available in macOS 10.15 or newer
private class func handleAFError<T>(_ error: AFError, response: AFDataResponse<Data>, continuation: CheckedContinuation<Result<T, Error>, Error>) {
^
/Users/admin/builder/spi-builder-workspace/Sources/JNetworkManager/JNetworkManager.swift:639:24: note: add @available attribute to enclosing class method
private class func handleAFError<T>(_ error: AFError, response: AFDataResponse<Data>, continuation: CheckedContinuation<Result<T, Error>, Error>) {
^
/Users/admin/builder/spi-builder-workspace/Sources/JNetworkManager/JNetworkManager.swift:606:1: note: add @available attribute to enclosing extension
extension JNetworkManager {
^
[50/52] Compiling JNetworkManager NetworkReachability.swift
[51/52] Compiling JNetworkManager Extension.swift
[52/52] Compiling JNetworkManager JNetworkManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/JNetworkManager/JNetworkManager.swift:617:102: error: 'CheckedContinuation' is only available in macOS 10.15 or newer
private class func handleAFError(_ error: AFError, response: AFDataResponse<Data>, continuation: CheckedContinuation<Result<Any, Error>, Error>) {
^
/Users/admin/builder/spi-builder-workspace/Sources/JNetworkManager/JNetworkManager.swift:617:24: note: add @available attribute to enclosing class method
private class func handleAFError(_ error: AFError, response: AFDataResponse<Data>, continuation: CheckedContinuation<Result<Any, Error>, Error>) {
^
/Users/admin/builder/spi-builder-workspace/Sources/JNetworkManager/JNetworkManager.swift:606:1: note: add @available attribute to enclosing extension
extension JNetworkManager {
^
/Users/admin/builder/spi-builder-workspace/Sources/JNetworkManager/JNetworkManager.swift:639:105: error: 'CheckedContinuation' is only available in macOS 10.15 or newer
private class func handleAFError<T>(_ error: AFError, response: AFDataResponse<Data>, continuation: CheckedContinuation<Result<T, Error>, Error>) {
^
/Users/admin/builder/spi-builder-workspace/Sources/JNetworkManager/JNetworkManager.swift:639:24: note: add @available attribute to enclosing class method
private class func handleAFError<T>(_ error: AFError, response: AFDataResponse<Data>, continuation: CheckedContinuation<Result<T, Error>, Error>) {
^
/Users/admin/builder/spi-builder-workspace/Sources/JNetworkManager/JNetworkManager.swift:606:1: note: add @available attribute to enclosing extension
extension JNetworkManager {
^
/Users/admin/builder/spi-builder-workspace/Sources/JNetworkManager/JNetworkManager.swift:88:34: error: 'withCheckedThrowingContinuation(function:_:)' is only available in macOS 10.15 or newer
return try await withCheckedThrowingContinuation { continuation in
^
/Users/admin/builder/spi-builder-workspace/Sources/JNetworkManager/JNetworkManager.swift:88:34: note: add 'if #available' version check
return try await withCheckedThrowingContinuation { continuation in
^
/Users/admin/builder/spi-builder-workspace/Sources/JNetworkManager/JNetworkManager.swift:79:23: note: add @available attribute to enclosing class method
public class func makeAsyncRequest<T:Codable>(url: String, method: HTTPMethod, parameter: [String:Any]?, headers: [String: String] = [:], timeoutInterval: TimeInterval = 30, type: T.Type) async -> Result<T,Error> {
^
/Users/admin/builder/spi-builder-workspace/Sources/JNetworkManager/JNetworkManager.swift:64:14: note: add @available attribute to enclosing class
public class JNetworkManager {
^
/Users/admin/builder/spi-builder-workspace/Sources/JNetworkManager/JNetworkManager.swift:180:35: error: 'withCheckedThrowingContinuation(function:_:)' is only available in macOS 10.15 or newer
return try await withCheckedThrowingContinuation { continuation in
^
/Users/admin/builder/spi-builder-workspace/Sources/JNetworkManager/JNetworkManager.swift:180:35: note: add 'if #available' version check
return try await withCheckedThrowingContinuation { continuation in
^
/Users/admin/builder/spi-builder-workspace/Sources/JNetworkManager/JNetworkManager.swift:169:23: note: add @available attribute to enclosing class method
public class func makeAsyncUploadRequest<T: Codable>(url: String, method: HTTPMethod, parameter: [String: Any]?, mediaObj: [String: mediaObject]?, headers: [String: String] = [:], timeoutInterval: TimeInterval = 30, type: T.Type, progressHandler: ((Double) -> Void)? = nil ) async -> Result<T, Error> {
^
/Users/admin/builder/spi-builder-workspace/Sources/JNetworkManager/JNetworkManager.swift:64:14: note: add @available attribute to enclosing class
public class JNetworkManager {
^
/Users/admin/builder/spi-builder-workspace/Sources/JNetworkManager/JNetworkManager.swift:269:34: error: 'withCheckedThrowingContinuation(function:_:)' is only available in macOS 10.15 or newer
return try await withCheckedThrowingContinuation { continuation in
^
/Users/admin/builder/spi-builder-workspace/Sources/JNetworkManager/JNetworkManager.swift:269:34: note: add 'if #available' version check
return try await withCheckedThrowingContinuation { continuation in
^
/Users/admin/builder/spi-builder-workspace/Sources/JNetworkManager/JNetworkManager.swift:259:23: note: add @available attribute to enclosing class method
public class func makeAsyncUploadRequest<T: Codable>(url: String, method: HTTPMethod, parameter: [String: Any]?, mediaObjects: [String: [mediaObject]]? = nil, headers: [String: String] = [:], timeoutInterval: TimeInterval = 30, type: T.Type, progressHandler: ((Double) -> Void)? = nil) async -> Result<T, Error> {
^
/Users/admin/builder/spi-builder-workspace/Sources/JNetworkManager/JNetworkManager.swift:64:14: note: add @available attribute to enclosing class
public class JNetworkManager {
^
/Users/admin/builder/spi-builder-workspace/Sources/JNetworkManager/JNetworkManager.swift:359:34: error: 'withCheckedThrowingContinuation(function:_:)' is only available in macOS 10.15 or newer
return try await withCheckedThrowingContinuation { continuation in
^
/Users/admin/builder/spi-builder-workspace/Sources/JNetworkManager/JNetworkManager.swift:359:34: note: add 'if #available' version check
return try await withCheckedThrowingContinuation { continuation in
^
/Users/admin/builder/spi-builder-workspace/Sources/JNetworkManager/JNetworkManager.swift:350:23: note: add @available attribute to enclosing class method
public class func makeAsyncRequest(url: String, method: HTTPMethod, parameter: [String:Any]?,headers: [String: String] = [:],timeoutInterval: TimeInterval = 30) async -> Result<Any,Error> {
^
/Users/admin/builder/spi-builder-workspace/Sources/JNetworkManager/JNetworkManager.swift:335:1: note: add @available attribute to enclosing extension
extension JNetworkManager {
^
/Users/admin/builder/spi-builder-workspace/Sources/JNetworkManager/JNetworkManager.swift:450:34: error: 'withCheckedThrowingContinuation(function:_:)' is only available in macOS 10.15 or newer
return try await withCheckedThrowingContinuation { continuation in
^
/Users/admin/builder/spi-builder-workspace/Sources/JNetworkManager/JNetworkManager.swift:450:34: note: add 'if #available' version check
return try await withCheckedThrowingContinuation { continuation in
^
/Users/admin/builder/spi-builder-workspace/Sources/JNetworkManager/JNetworkManager.swift:440:23: note: add @available attribute to enclosing class method
public class func makeAsyncUploadRequest(url: String, method: HTTPMethod, parameter: [String: Any]?, mediaObj: [String: mediaObject]?, headers: [String: String] = [:], timeoutInterval: TimeInterval = 30, progressHandler: ((Double) -> Void)? = nil) async -> Result<Any, Error> {
^
/Users/admin/builder/spi-builder-workspace/Sources/JNetworkManager/JNetworkManager.swift:335:1: note: add @available attribute to enclosing extension
extension JNetworkManager {
^
/Users/admin/builder/spi-builder-workspace/Sources/JNetworkManager/JNetworkManager.swift:538:34: error: 'withCheckedThrowingContinuation(function:_:)' is only available in macOS 10.15 or newer
return try await withCheckedThrowingContinuation { continuation in
^
/Users/admin/builder/spi-builder-workspace/Sources/JNetworkManager/JNetworkManager.swift:538:34: note: add 'if #available' version check
return try await withCheckedThrowingContinuation { continuation in
^
/Users/admin/builder/spi-builder-workspace/Sources/JNetworkManager/JNetworkManager.swift:528:23: note: add @available attribute to enclosing class method
public class func makeAsyncUploadRequest(url: String, method: HTTPMethod, parameter: [String: Any]?, mediaObjects: [String: [mediaObject]]? = nil, headers: [String: String] = [:], timeoutInterval: TimeInterval = 30, progressHandler: ((Double) -> Void)? = nil) async -> Result<Any, Error> {
^
/Users/admin/builder/spi-builder-workspace/Sources/JNetworkManager/JNetworkManager.swift:335:1: note: add @available attribute to enclosing extension
extension JNetworkManager {
^
error: fatalError
Fetching https://github.com/Alamofire/Alamofire.git
[1/29516] Fetching alamofire
Fetched https://github.com/Alamofire/Alamofire.git from cache (3.26s)
Computing version for https://github.com/Alamofire/Alamofire.git
Computed https://github.com/Alamofire/Alamofire.git at 5.9.1 (0.46s)
Creating working copy for https://github.com/Alamofire/Alamofire.git
Working copy of https://github.com/Alamofire/Alamofire.git resolved at 5.9.1
BUILD FAILURE 5.10 macosSpm