The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build JNetworkManager, reference 1.1.1 (cff6c2), with Swift 6.0 for macOS (SPM) on 4 Nov 2024 13:18:09 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.56.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
Fetching https://github.com/Alamofire/Alamofire.git
[1/29795] Fetching alamofire
Fetched https://github.com/Alamofire/Alamofire.git from cache (15.57s)
Computing version for https://github.com/Alamofire/Alamofire.git
Computed https://github.com/Alamofire/Alamofire.git at 5.9.1 (0.58s)
Creating working copy for https://github.com/Alamofire/Alamofire.git
Working copy of https://github.com/Alamofire/Alamofire.git resolved at 5.9.1
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "jnetworkmanager",
      "name": "JNetworkManager",
      "url": "https://github.com/jeetrajput01/JNetworkManager.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/JNetworkManager",
      "dependencies": [
        {
          "identity": "alamofire",
          "name": "Alamofire",
          "url": "https://github.com/Alamofire/Alamofire.git",
          "version": "5.10.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Alamofire",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/jeetrajput01/JNetworkManager.git
[1/142] Fetching jnetworkmanager
Fetched https://github.com/jeetrajput01/JNetworkManager.git from cache (0.77s)
Fetching https://github.com/Alamofire/Alamofire.git from cache
Fetched https://github.com/Alamofire/Alamofire.git from cache (0.70s)
Computing version for https://github.com/Alamofire/Alamofire.git
warning: 'alamofire': /Package.swift:28:15: warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)'
26 | import PackageDescription
27 |
28 | let package = Package(name: "Alamofire",
   |               |- warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)'
   |               `- note: use 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)' instead
29 |                       platforms: [.macOS(.v10_13),
30 |                                   .iOS(.v12),
Computed https://github.com/Alamofire/Alamofire.git at 5.10.1 (0.54s)
Creating working copy for https://github.com/Alamofire/Alamofire.git
Working copy of https://github.com/Alamofire/Alamofire.git resolved at 5.10.1
Creating working copy for https://github.com/jeetrajput01/JNetworkManager.git
Working copy of https://github.com/jeetrajput01/JNetworkManager.git resolved at 1.1.1 (cff6c26)
warning: 'alamofire': /Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Alamofire/Package.swift:28:15: warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)'
26 | import PackageDescription
27 |
28 | let package = Package(name: "Alamofire",
   |               |- warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)'
   |               `- note: use 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)' instead
29 |                       platforms: [.macOS(.v10_13),
30 |                                   .iOS(.v12),
warning: '.resolve-product-dependencies': dependency 'jnetworkmanager' is not used by any target
Found 1 product dependencies
  - Alamofire
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/jeetrajput01/JNetworkManager.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/4] Write sources
[2/4] Copying PrivacyInfo.xcprivacy
[3/4] Write swift-version--7754E27361AE5C74.txt
[5/44] Emitting module Alamofire
[6/48] Compiling Alamofire URLRequest+Alamofire.swift
[7/48] Compiling Alamofire URLSessionConfiguration+Alamofire.swift
[8/48] Compiling Alamofire AlamofireExtended.swift
[9/48] Compiling Alamofire AuthenticationInterceptor.swift
[10/48] Compiling Alamofire RequestCompression.swift
[11/48] Compiling Alamofire RequestInterceptor.swift
[12/48] Compiling Alamofire ResponseSerialization.swift
[13/48] Compiling Alamofire RetryPolicy.swift
[14/48] Compiling Alamofire CachedResponseHandler.swift
[15/48] Compiling Alamofire Combine.swift
[16/48] Compiling Alamofire Concurrency.swift
[17/48] Compiling Alamofire EventMonitor.swift
[18/48] Compiling Alamofire ServerTrustEvaluation.swift
[19/48] Compiling Alamofire URLEncodedFormEncoder.swift
[20/48] Compiling Alamofire Validation.swift
[21/48] Compiling Alamofire resource_bundle_accessor.swift
[22/48] Compiling Alamofire HTTPHeaders.swift
[23/48] Compiling Alamofire HTTPMethod.swift
[24/48] Compiling Alamofire Notifications.swift
[25/48] Compiling Alamofire ParameterEncoder.swift
[26/48] Compiling Alamofire ParameterEncoding.swift
[27/48] Compiling Alamofire SessionDelegate.swift
[28/48] Compiling Alamofire URLConvertible+URLRequestConvertible.swift
[29/48] Compiling Alamofire UploadRequest.swift
[30/48] Compiling Alamofire WebSocketRequest.swift
[31/48] Compiling Alamofire DispatchQueue+Alamofire.swift
[32/48] Compiling Alamofire OperationQueue+Alamofire.swift
[33/48] Compiling Alamofire Result+Alamofire.swift
[34/48] Compiling Alamofire StringEncoding+Alamofire.swift
[35/48] Compiling Alamofire Alamofire.swift
[36/48] Compiling Alamofire AFError.swift
[37/48] Compiling Alamofire DataRequest.swift
[38/48] Compiling Alamofire DataStreamRequest.swift
[39/48] Compiling Alamofire DownloadRequest.swift
[40/48] Compiling Alamofire Protected.swift
[41/48] Compiling Alamofire Request.swift
[42/48] Compiling Alamofire RequestTaskMap.swift
[43/48] Compiling Alamofire Response.swift
[44/48] Compiling Alamofire Session.swift
[45/48] Compiling Alamofire MultipartFormData.swift
[46/48] Compiling Alamofire MultipartUpload.swift
[47/48] Compiling Alamofire NetworkReachabilityManager.swift
[48/48] Compiling Alamofire RedirectHandler.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[49/52] Compiling JNetworkManager Extension.swift
[50/52] Compiling JNetworkManager NetworkReachability.swift
/Users/admin/builder/spi-builder-workspace/Sources/JNetworkManager/NetworkReachability.swift:12:16: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | class NetworkReachability {
11 |
12 |     static var shared = NetworkReachability()
   |                |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 |     func isInternetAvailable() -> Bool {
[51/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
604 |
605 | //MARK: - Error handling
606 | extension JNetworkManager {
    | `- note: add @available attribute to enclosing extension
607 |
608 |     /// Handles errors returned by Alamofire during network requests.
    :
615 |     ///   - response: The `AFDataResponse<Data>` that contains the response data and metadata associated with the failed request.
616 |     ///   - continuation: A `CheckedContinuation<Result<Any, Error>, Error>` used to resume the asynchronous operation with the error result.
617 |     private class func handleAFError(_ error: AFError, response: AFDataResponse<Data>, continuation: CheckedContinuation<Result<Any, Error>, Error>) {
    |                        |                                                                             `- error: 'CheckedContinuation' is only available in macOS 10.15 or newer
    |                        `- note: add @available attribute to enclosing class method
618 |         print("Request failed: \(error.localizedDescription)")
619 |         if error.isSessionTaskError || error.isExplicitlyCancelledError {
/Users/admin/builder/spi-builder-workspace/Sources/JNetworkManager/JNetworkManager.swift:639:105: error: 'CheckedContinuation' is only available in macOS 10.15 or newer
604 |
605 | //MARK: - Error handling
606 | extension JNetworkManager {
    | `- note: add @available attribute to enclosing extension
607 |
608 |     /// Handles errors returned by Alamofire during network requests.
    :
637 |     ///   - response: The `AFDataResponse<Data>` that contains the response data and metadata associated with the failed request.
638 |     ///   - continuation: A `CheckedContinuation<Result<T, Error>, Error>` used to resume the asynchronous operation with the error result for a generic type `T`.
639 |     private class func handleAFError<T>(_ error: AFError, response: AFDataResponse<Data>, continuation: CheckedContinuation<Result<T, Error>, Error>) {
    |                        |                                                                                `- error: 'CheckedContinuation' is only available in macOS 10.15 or newer
    |                        `- note: add @available attribute to enclosing class method
640 |         print("Request failed: \(error.localizedDescription)")
641 |
/Users/admin/builder/spi-builder-workspace/Sources/JNetworkManager/NetworkReachability.swift:12:16: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | class NetworkReachability {
11 |
12 |     static var shared = NetworkReachability()
   |                |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 |     func isInternetAvailable() -> Bool {
[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
604 |
605 | //MARK: - Error handling
606 | extension JNetworkManager {
    | `- note: add @available attribute to enclosing extension
607 |
608 |     /// Handles errors returned by Alamofire during network requests.
    :
615 |     ///   - response: The `AFDataResponse<Data>` that contains the response data and metadata associated with the failed request.
616 |     ///   - continuation: A `CheckedContinuation<Result<Any, Error>, Error>` used to resume the asynchronous operation with the error result.
617 |     private class func handleAFError(_ error: AFError, response: AFDataResponse<Data>, continuation: CheckedContinuation<Result<Any, Error>, Error>) {
    |                        |                                                                             `- error: 'CheckedContinuation' is only available in macOS 10.15 or newer
    |                        `- note: add @available attribute to enclosing class method
618 |         print("Request failed: \(error.localizedDescription)")
619 |         if error.isSessionTaskError || error.isExplicitlyCancelledError {
/Users/admin/builder/spi-builder-workspace/Sources/JNetworkManager/JNetworkManager.swift:639:105: error: 'CheckedContinuation' is only available in macOS 10.15 or newer
604 |
605 | //MARK: - Error handling
606 | extension JNetworkManager {
    | `- note: add @available attribute to enclosing extension
607 |
608 |     /// Handles errors returned by Alamofire during network requests.
    :
637 |     ///   - response: The `AFDataResponse<Data>` that contains the response data and metadata associated with the failed request.
638 |     ///   - continuation: A `CheckedContinuation<Result<T, Error>, Error>` used to resume the asynchronous operation with the error result for a generic type `T`.
639 |     private class func handleAFError<T>(_ error: AFError, response: AFDataResponse<Data>, continuation: CheckedContinuation<Result<T, Error>, Error>) {
    |                        |                                                                                `- error: 'CheckedContinuation' is only available in macOS 10.15 or newer
    |                        `- note: add @available attribute to enclosing class method
640 |         print("Request failed: \(error.localizedDescription)")
641 |
/Users/admin/builder/spi-builder-workspace/Sources/JNetworkManager/JNetworkManager.swift:88:34: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
 62 | }
 63 |
 64 | public class JNetworkManager {
    |              `- note: add @available attribute to enclosing class
 65 |
 66 |     /// Asynchronously makes an API request using a generic `Codable` type for the response.
    :
 77 |     ///   - type: The type conforming to `Codable` that the response should be decoded into.
 78 |     /// - Returns: An asynchronous result of type `Result<T, Error>`, where `T` is the specified `Codable` type. The result will either contain the decoded data on success, or an error on failure.
 79 |     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> {
    |                       `- note: add @available attribute to enclosing class method
 80 |
 81 |         guard NetworkReachability.shared.isInternetAvailable() else {
    :
 86 |         case .success(let urlRequest):
 87 |             do {
 88 |                 return try await withCheckedThrowingContinuation { continuation in
    |                                  |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
    |                                  `- note: add 'if #available' version check
 89 |
 90 |                     AF.request(urlRequest)
/Users/admin/builder/spi-builder-workspace/Sources/JNetworkManager/JNetworkManager.swift:88:67: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/JNetworkManager/JNetworkManager.swift:88:66: note: expanded code originates here
 62 | }
 63 |
 64 | public class JNetworkManager {
    |              `- note: add @available attribute to enclosing class
 65 |
 66 |     /// Asynchronously makes an API request using a generic `Codable` type for the response.
    :
 77 |     ///   - type: The type conforming to `Codable` that the response should be decoded into.
 78 |     /// - Returns: An asynchronous result of type `Result<T, Error>`, where `T` is the specified `Codable` type. The result will either contain the decoded data on success, or an error on failure.
 79 |     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> {
    |                       `- note: add @available attribute to enclosing class method
 80 |
 81 |         guard NetworkReachability.shared.isInternetAvailable() else {
    :
 86 |         case .success(let urlRequest):
 87 |             do {
 88 |                 return try await withCheckedThrowingContinuation { continuation in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/JNetworkManager/JNetworkManager.swift
    |86 |
    |87 |
    |88 |                                                                  #isolation
    |   |                                                                   `- error: 'isolation()' is only available in macOS 10.15 or newer
    +---------------------------------------------------------------------------------------------
 89 |
 90 |                     AF.request(urlRequest)
/Users/admin/builder/spi-builder-workspace/Sources/JNetworkManager/NetworkReachability.swift:12:16: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | class NetworkReachability {
11 |
12 |     static var shared = NetworkReachability()
   |                |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 |     func isInternetAvailable() -> Bool {
/Users/admin/builder/spi-builder-workspace/Sources/JNetworkManager/JNetworkManager.swift:180:35: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
 62 | }
 63 |
 64 | public class JNetworkManager {
    |              `- note: add @available attribute to enclosing class
 65 |
 66 |     /// Asynchronously makes an API request using a generic `Codable` type for the response.
    :
167 |     ///   - progressHandler: A closure to handle progress updates, with the progress fraction passed as a `Double` (0.0 to 1.0). Optional.
168 |     /// - Returns: An asynchronous result of type `Result<T, Error>`, where `T` is the specified `Codable` type. The result will either contain the decoded data on success, or an error on failure.
169 |     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> {
    |                       `- note: add @available attribute to enclosing class method
170 |
171 |         guard NetworkReachability.shared.isInternetAvailable() else {
    :
178 |
179 |              do {
180 |                  return try await withCheckedThrowingContinuation { continuation in
    |                                   |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
    |                                   `- note: add 'if #available' version check
181 |
182 |                      AF.upload(multipartFormData: { multipartFormData in
/Users/admin/builder/spi-builder-workspace/Sources/JNetworkManager/JNetworkManager.swift:180:68: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/JNetworkManager/JNetworkManager.swift:180:67: note: expanded code originates here
 62 | }
 63 |
 64 | public class JNetworkManager {
    |              `- note: add @available attribute to enclosing class
 65 |
 66 |     /// Asynchronously makes an API request using a generic `Codable` type for the response.
    :
167 |     ///   - progressHandler: A closure to handle progress updates, with the progress fraction passed as a `Double` (0.0 to 1.0). Optional.
168 |     /// - Returns: An asynchronous result of type `Result<T, Error>`, where `T` is the specified `Codable` type. The result will either contain the decoded data on success, or an error on failure.
169 |     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> {
    |                       `- note: add @available attribute to enclosing class method
170 |
171 |         guard NetworkReachability.shared.isInternetAvailable() else {
    :
178 |
179 |              do {
180 |                  return try await withCheckedThrowingContinuation { continuation in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/JNetworkManager/JNetworkManager.swift
    |178 |
    |179 |
    |180 |                                                                   #isolation
    |    |                                                                    `- error: 'isolation()' is only available in macOS 10.15 or newer
    +---------------------------------------------------------------------------------------------
181 |
182 |                      AF.upload(multipartFormData: { multipartFormData in
/Users/admin/builder/spi-builder-workspace/Sources/JNetworkManager/JNetworkManager.swift:269:34: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
 62 | }
 63 |
 64 | public class JNetworkManager {
    |              `- note: add @available attribute to enclosing class
 65 |
 66 |     /// Asynchronously makes an API request using a generic `Codable` type for the response.
    :
257 |     ///   - progressHandler: A closure to handle progress updates, with the progress fraction passed as a `Double` (0.0 to 1.0). Optional.
258 |     /// - Returns: An asynchronous result of type `Result<T, Error>`, where `T` is the specified `Codable` type. The result will either contain the decoded data on success, or an error on failure.
259 |     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> {
    |                       `- note: add @available attribute to enclosing class method
260 |
261 |         guard NetworkReachability.shared.isInternetAvailable() else {
    :
267 |         case .success(let urlRequest):
268 |             do {
269 |                 return try await withCheckedThrowingContinuation { continuation in
    |                                  |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
    |                                  `- note: add 'if #available' version check
270 |
271 |                     AF.upload(multipartFormData: { multipartFormData in
/Users/admin/builder/spi-builder-workspace/Sources/JNetworkManager/JNetworkManager.swift:269:67: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/JNetworkManager/JNetworkManager.swift:269:66: note: expanded code originates here
 62 | }
 63 |
 64 | public class JNetworkManager {
    |              `- note: add @available attribute to enclosing class
 65 |
 66 |     /// Asynchronously makes an API request using a generic `Codable` type for the response.
    :
257 |     ///   - progressHandler: A closure to handle progress updates, with the progress fraction passed as a `Double` (0.0 to 1.0). Optional.
258 |     /// - Returns: An asynchronous result of type `Result<T, Error>`, where `T` is the specified `Codable` type. The result will either contain the decoded data on success, or an error on failure.
259 |     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> {
    |                       `- note: add @available attribute to enclosing class method
260 |
261 |         guard NetworkReachability.shared.isInternetAvailable() else {
    :
267 |         case .success(let urlRequest):
268 |             do {
269 |                 return try await withCheckedThrowingContinuation { continuation in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/JNetworkManager/JNetworkManager.swift
    |267 |
    |268 |
    |269 |                                                                  #isolation
    |    |                                                                   `- error: 'isolation()' is only available in macOS 10.15 or newer
    +---------------------------------------------------------------------------------------------
270 |
271 |                     AF.upload(multipartFormData: { multipartFormData in
/Users/admin/builder/spi-builder-workspace/Sources/JNetworkManager/JNetworkManager.swift:359:34: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
333 |
334 | //MARK: - Without generic
335 | extension JNetworkManager {
    | `- note: add @available attribute to enclosing extension
336 |
337 |     /// Asynchronously performs an API request and returns the response as a generic result.
    :
348 |     ///   - timeoutInterval: The timeout interval for the request in seconds. The default value is 30 seconds.
349 |     /// - Returns: An asynchronous result of type `Result<Any, Error>`. The result will either contain the parsed response on success, or an error on failure.
350 |     public class func makeAsyncRequest(url: String, method: HTTPMethod, parameter: [String:Any]?,headers: [String: String] = [:],timeoutInterval: TimeInterval = 30) async -> Result<Any,Error> {
    |                       `- note: add @available attribute to enclosing class method
351 |
352 |         guard NetworkReachability.shared.isInternetAvailable() else {
    :
357 |         case .success(let urlRequest):
358 |             do {
359 |                 return try await withCheckedThrowingContinuation { continuation in
    |                                  |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
    |                                  `- note: add 'if #available' version check
360 |
361 |                     AF.request(urlRequest)
/Users/admin/builder/spi-builder-workspace/Sources/JNetworkManager/JNetworkManager.swift:359:67: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/JNetworkManager/JNetworkManager.swift:359:66: note: expanded code originates here
333 |
334 | //MARK: - Without generic
335 | extension JNetworkManager {
    | `- note: add @available attribute to enclosing extension
336 |
337 |     /// Asynchronously performs an API request and returns the response as a generic result.
    :
348 |     ///   - timeoutInterval: The timeout interval for the request in seconds. The default value is 30 seconds.
349 |     /// - Returns: An asynchronous result of type `Result<Any, Error>`. The result will either contain the parsed response on success, or an error on failure.
350 |     public class func makeAsyncRequest(url: String, method: HTTPMethod, parameter: [String:Any]?,headers: [String: String] = [:],timeoutInterval: TimeInterval = 30) async -> Result<Any,Error> {
    |                       `- note: add @available attribute to enclosing class method
351 |
352 |         guard NetworkReachability.shared.isInternetAvailable() else {
    :
357 |         case .success(let urlRequest):
358 |             do {
359 |                 return try await withCheckedThrowingContinuation { continuation in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/JNetworkManager/JNetworkManager.swift
    |357 |
    |358 |
    |359 |                                                                  #isolation
    |    |                                                                   `- error: 'isolation()' is only available in macOS 10.15 or newer
    +---------------------------------------------------------------------------------------------
360 |
361 |                     AF.request(urlRequest)
/Users/admin/builder/spi-builder-workspace/Sources/JNetworkManager/JNetworkManager.swift:450:34: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
333 |
334 | //MARK: - Without generic
335 | extension JNetworkManager {
    | `- note: add @available attribute to enclosing extension
336 |
337 |     /// Asynchronously performs an API request and returns the response as a generic result.
    :
438 |     ///   - progressHandler: A closure to handle progress updates, with the progress fraction passed as a `Double` (0.0 to 1.0). Optional.
439 |     /// - Returns: An asynchronous result of type `Result<Any, Error>`. The result will either contain the parsed response on success, or an error on failure.
440 |     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> {
    |                       `- note: add @available attribute to enclosing class method
441 |
442 |         guard NetworkReachability.shared.isInternetAvailable() else {
    :
448 |         case .success(let urlRequest):
449 |             do {
450 |                 return try await withCheckedThrowingContinuation { continuation in
    |                                  |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
    |                                  `- note: add 'if #available' version check
451 |
452 |                     // Perform the upload
/Users/admin/builder/spi-builder-workspace/Sources/JNetworkManager/JNetworkManager.swift:450:67: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/JNetworkManager/JNetworkManager.swift:450:66: note: expanded code originates here
333 |
334 | //MARK: - Without generic
335 | extension JNetworkManager {
    | `- note: add @available attribute to enclosing extension
336 |
337 |     /// Asynchronously performs an API request and returns the response as a generic result.
    :
438 |     ///   - progressHandler: A closure to handle progress updates, with the progress fraction passed as a `Double` (0.0 to 1.0). Optional.
439 |     /// - Returns: An asynchronous result of type `Result<Any, Error>`. The result will either contain the parsed response on success, or an error on failure.
440 |     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> {
    |                       `- note: add @available attribute to enclosing class method
441 |
442 |         guard NetworkReachability.shared.isInternetAvailable() else {
    :
448 |         case .success(let urlRequest):
449 |             do {
450 |                 return try await withCheckedThrowingContinuation { continuation in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/JNetworkManager/JNetworkManager.swift
    |448 |
    |449 |
    |450 |                                                                  #isolation
    |    |                                                                   `- error: 'isolation()' is only available in macOS 10.15 or newer
    +---------------------------------------------------------------------------------------------
451 |
452 |                     // Perform the upload
/Users/admin/builder/spi-builder-workspace/Sources/JNetworkManager/JNetworkManager.swift:538:34: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
333 |
334 | //MARK: - Without generic
335 | extension JNetworkManager {
    | `- note: add @available attribute to enclosing extension
336 |
337 |     /// Asynchronously performs an API request and returns the response as a generic result.
    :
526 |     ///   - progressHandler: A closure to handle progress updates, with the progress fraction passed as a `Double` (0.0 to 1.0). Optional.
527 |     /// - Returns: An asynchronous result of type `Result<Any, Error>`. The result will either contain the parsed response on success, or an error on failure.
528 |     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> {
    |                       `- note: add @available attribute to enclosing class method
529 |
530 |         guard NetworkReachability.shared.isInternetAvailable() else {
    :
536 |         case .success(let urlRequest):
537 |             do {
538 |                 return try await withCheckedThrowingContinuation { continuation in
    |                                  |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
    |                                  `- note: add 'if #available' version check
539 |
540 |                     AF.upload(multipartFormData: { multipartFormData in
/Users/admin/builder/spi-builder-workspace/Sources/JNetworkManager/JNetworkManager.swift:538:67: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/JNetworkManager/JNetworkManager.swift:538:66: note: expanded code originates here
333 |
334 | //MARK: - Without generic
335 | extension JNetworkManager {
    | `- note: add @available attribute to enclosing extension
336 |
337 |     /// Asynchronously performs an API request and returns the response as a generic result.
    :
526 |     ///   - progressHandler: A closure to handle progress updates, with the progress fraction passed as a `Double` (0.0 to 1.0). Optional.
527 |     /// - Returns: An asynchronous result of type `Result<Any, Error>`. The result will either contain the parsed response on success, or an error on failure.
528 |     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> {
    |                       `- note: add @available attribute to enclosing class method
529 |
530 |         guard NetworkReachability.shared.isInternetAvailable() else {
    :
536 |         case .success(let urlRequest):
537 |             do {
538 |                 return try await withCheckedThrowingContinuation { continuation in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/JNetworkManager/JNetworkManager.swift
    |536 |
    |537 |
    |538 |                                                                  #isolation
    |    |                                                                   `- error: 'isolation()' is only available in macOS 10.15 or newer
    +---------------------------------------------------------------------------------------------
539 |
540 |                     AF.upload(multipartFormData: { multipartFormData in
BUILD FAILURE 6.0 macosSpm