The Swift Package Index logo.Swift Package Index

Build Information

Successful build of Request, reference master (a69983), with Swift 6.2 for macOS (SPM) on 19 Jun 2025 13:16:47 UTC.

Swift 6 data race errors: 0

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/josercc/Request.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/josercc/Request
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at a69983d 修复可以支持最低部署版本
Cloned https://github.com/josercc/Request.git
Revision (git rev-parse @):
a69983df5b59bd10bfcf0ddb36f1297dcbdc8bcc
SUCCESS checkout https://github.com/josercc/Request.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/josercc/Request.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/5] Write sources
[1/5] Copying PrivacyInfo.xcprivacy
[2/5] Write sources
[4/5] Write swift-version-1EA4D86E10B52AF.txt
[6/62] Emitting module Alamofire
[7/66] Compiling Alamofire URLRequest+Alamofire.swift
[8/66] Compiling Alamofire URLSessionConfiguration+Alamofire.swift
[9/66] Compiling Alamofire AlamofireExtended.swift
[10/66] Compiling Alamofire AuthenticationInterceptor.swift
[11/66] Compiling Alamofire SessionDelegate.swift
[12/66] Compiling Alamofire URLConvertible+URLRequestConvertible.swift
[13/66] Compiling Alamofire UploadRequest.swift
[14/66] Compiling Alamofire WebSocketRequest.swift
[15/66] Compiling Alamofire Protected.swift
[16/66] Compiling Alamofire Request.swift
[17/66] Compiling Alamofire RequestTaskMap.swift
[18/66] Compiling Alamofire Response.swift
[19/66] Compiling Alamofire Session.swift
[20/66] Compiling Alamofire DispatchQueue+Alamofire.swift
[21/66] Compiling Alamofire OperationQueue+Alamofire.swift
[22/66] Compiling Alamofire Result+Alamofire.swift
[23/66] Compiling Alamofire StringEncoding+Alamofire.swift
[24/66] Compiling Alamofire Alamofire.swift
[25/66] Compiling Alamofire AFError.swift
[26/66] Compiling Alamofire DataRequest.swift
[27/66] Compiling Alamofire DataStreamRequest.swift
[28/66] Compiling Alamofire DownloadRequest.swift
[29/66] Compiling Alamofire HTTPHeaders.swift
[30/66] Compiling Alamofire HTTPMethod.swift
[31/66] Compiling Alamofire Notifications.swift
[32/66] Compiling Alamofire ParameterEncoder.swift
[33/66] Compiling Alamofire ParameterEncoding.swift
[34/66] Compiling Alamofire RequestCompression.swift
[35/66] Compiling Alamofire RequestInterceptor.swift
[36/66] Compiling Alamofire ResponseSerialization.swift
[37/66] Compiling Alamofire RetryPolicy.swift
[38/66] Compiling Alamofire CachedResponseHandler.swift
[39/66] Compiling Alamofire Combine.swift
[40/66] Compiling Alamofire Concurrency.swift
[41/66] Compiling Alamofire EventMonitor.swift
[42/66] Compiling Alamofire MultipartFormData.swift
[43/66] Compiling Alamofire MultipartUpload.swift
[44/66] Compiling Alamofire NetworkReachabilityManager.swift
[45/66] Compiling Alamofire RedirectHandler.swift
[48/66] Compiling CleanJSON _CleanJSONDecoder+SingleValueDecodingContainer.swift
[59/66] Emitting module CleanJSON
[60/66] Compiling CleanJSON _CleanJSONDecoder+Unbox.swift
[63/67] Compiling CleanJSON _CleanJSONDecoder.swift
[64/67] Compiling Alamofire ServerTrustEvaluation.swift
[65/67] Compiling Alamofire URLEncodedFormEncoder.swift
[66/67] Compiling Alamofire Validation.swift
[67/67] Compiling Alamofire resource_bundle_accessor.swift
[68/72] Compiling Request Request.swift
/Users/admin/builder/spi-builder-workspace/Sources/Request/Request.swift:114:30: warning: capture of 'self' with non-sendable type 'Self.Type' in a '@Sendable' closure [#SendableClosureCaptures]
112 |                    encoding: encoding,
113 |                    headers: headers)
114 |             .responseString {didReviceResponse(type: type,
    |                              `- warning: capture of 'self' with non-sendable type 'Self.Type' in a '@Sendable' closure [#SendableClosureCaptures]
115 |                                                response: $0,
116 |                                                decoder: config.decoder,
/Users/admin/builder/spi-builder-workspace/Sources/Request/Request.swift:114:54: warning: capture of 'type' with non-sendable type 'M.Type' in a '@Sendable' closure [#SendableClosureCaptures]
112 |                    encoding: encoding,
113 |                    headers: headers)
114 |             .responseString {didReviceResponse(type: type,
    |                                                      `- warning: capture of 'type' with non-sendable type 'M.Type' in a '@Sendable' closure [#SendableClosureCaptures]
115 |                                                response: $0,
116 |                                                decoder: config.decoder,
/Users/admin/builder/spi-builder-workspace/Sources/Request/Request.swift:114:30: warning: capture of non-sendable type 'M.Type' in an isolated closure
112 |                    encoding: encoding,
113 |                    headers: headers)
114 |             .responseString {didReviceResponse(type: type,
    |                              `- warning: capture of non-sendable type 'M.Type' in an isolated closure
115 |                                                response: $0,
116 |                                                decoder: config.decoder,
/Users/admin/builder/spi-builder-workspace/Sources/Request/Request.swift:114:30: warning: capture of non-sendable type 'Self.Type' in an isolated closure
112 |                    encoding: encoding,
113 |                    headers: headers)
114 |             .responseString {didReviceResponse(type: type,
    |                              `- warning: capture of non-sendable type 'Self.Type' in an isolated closure
115 |                                                response: $0,
116 |                                                decoder: config.decoder,
/Users/admin/builder/spi-builder-workspace/Sources/Request/Request.swift:77:24: warning: capture of non-sendable type 'Self.Type' in an isolated closure
 75 |     /// - Parameter success: 发起请求成功的回掉
 76 |     /// - Parameter failure: 发起请求失败的回掉
 77 |     public static func request<M:Model, A:APIConfig>(type:M.Type,
    |                        `- warning: capture of non-sendable type 'Self.Type' in an isolated closure
 78 |                                                      config:A,
 79 |                                                      success:RequestSuccessHandle<M>?,
/Users/admin/builder/spi-builder-workspace/Sources/Request/Request.swift:77:54: warning: capture of non-sendable type 'M.Type' in an isolated closure
 75 |     /// - Parameter success: 发起请求成功的回掉
 76 |     /// - Parameter failure: 发起请求失败的回掉
 77 |     public static func request<M:Model, A:APIConfig>(type:M.Type,
    |                                                      `- warning: capture of non-sendable type 'M.Type' in an isolated closure
 78 |                                                      config:A,
 79 |                                                      success:RequestSuccessHandle<M>?,
/Users/admin/builder/spi-builder-workspace/Sources/Request/Request.swift:116:57: warning: capture of non-sendable type 'A.Type' in an isolated closure
114 |             .responseString {didReviceResponse(type: type,
115 |                                                response: $0,
116 |                                                decoder: config.decoder,
    |                                                         `- warning: capture of non-sendable type 'A.Type' in an isolated closure
117 |                                                success: success,
118 |                                                failure: failure)}
/Users/admin/builder/spi-builder-workspace/Sources/Request/Request.swift:78:54: warning: capture of non-sendable type 'A.Type' in an isolated closure
 76 |     /// - Parameter failure: 发起请求失败的回掉
 77 |     public static func request<M:Model, A:APIConfig>(type:M.Type,
 78 |                                                      config:A,
    |                                                      `- warning: capture of non-sendable type 'A.Type' in an isolated closure
 79 |                                                      success:RequestSuccessHandle<M>?,
 80 |                                                      failure:RequestFailureHandle?) {
/Users/admin/builder/spi-builder-workspace/Sources/Request/Request.swift:185:29: warning: capture of 'self' with non-sendable type 'Self.Type' in a '@Sendable' closure [#SendableClosureCaptures]
183 |                   headers: headers,
184 |                   requestModifier: {$0.timeoutInterval = 5 * 60})
185 |             .responseString{didReviceResponse(type: type,
    |                             `- warning: capture of 'self' with non-sendable type 'Self.Type' in a '@Sendable' closure [#SendableClosureCaptures]
186 |                                               response: $0,
187 |                                               decoder: config.decoder,
/Users/admin/builder/spi-builder-workspace/Sources/Request/Request.swift:185:53: warning: capture of 'type' with non-sendable type 'M.Type' in a '@Sendable' closure [#SendableClosureCaptures]
183 |                   headers: headers,
184 |                   requestModifier: {$0.timeoutInterval = 5 * 60})
185 |             .responseString{didReviceResponse(type: type,
    |                                                     `- warning: capture of 'type' with non-sendable type 'M.Type' in a '@Sendable' closure [#SendableClosureCaptures]
186 |                                               response: $0,
187 |                                               decoder: config.decoder,
/Users/admin/builder/spi-builder-workspace/Sources/Request/Request.swift:185:29: warning: capture of non-sendable type 'M.Type' in an isolated closure
183 |                   headers: headers,
184 |                   requestModifier: {$0.timeoutInterval = 5 * 60})
185 |             .responseString{didReviceResponse(type: type,
    |                             `- warning: capture of non-sendable type 'M.Type' in an isolated closure
186 |                                               response: $0,
187 |                                               decoder: config.decoder,
/Users/admin/builder/spi-builder-workspace/Sources/Request/Request.swift:185:29: warning: capture of non-sendable type 'Self.Type' in an isolated closure
183 |                   headers: headers,
184 |                   requestModifier: {$0.timeoutInterval = 5 * 60})
185 |             .responseString{didReviceResponse(type: type,
    |                             `- warning: capture of non-sendable type 'Self.Type' in an isolated closure
186 |                                               response: $0,
187 |                                               decoder: config.decoder,
/Users/admin/builder/spi-builder-workspace/Sources/Request/Request.swift:143:24: warning: capture of non-sendable type 'Self.Type' in an isolated closure
141 |     /// - Parameter success: 上传成功的回掉
142 |     /// - Parameter failure: 上传失败的回掉
143 |     public static func uploadFile<M:Model, A:APIConfig>(type:M.Type,
    |                        `- warning: capture of non-sendable type 'Self.Type' in an isolated closure
144 |                                                         config:A,
145 |                                                         fileData:Data,
/Users/admin/builder/spi-builder-workspace/Sources/Request/Request.swift:143:57: warning: capture of non-sendable type 'M.Type' in an isolated closure
141 |     /// - Parameter success: 上传成功的回掉
142 |     /// - Parameter failure: 上传失败的回掉
143 |     public static func uploadFile<M:Model, A:APIConfig>(type:M.Type,
    |                                                         `- warning: capture of non-sendable type 'M.Type' in an isolated closure
144 |                                                         config:A,
145 |                                                         fileData:Data,
/Users/admin/builder/spi-builder-workspace/Sources/Request/Request.swift:187:56: warning: capture of non-sendable type 'A.Type' in an isolated closure
185 |             .responseString{didReviceResponse(type: type,
186 |                                               response: $0,
187 |                                               decoder: config.decoder,
    |                                                        `- warning: capture of non-sendable type 'A.Type' in an isolated closure
188 |                                               success: success,
189 |                                               failure: failure)}
/Users/admin/builder/spi-builder-workspace/Sources/Request/Request.swift:144:57: warning: capture of non-sendable type 'A.Type' in an isolated closure
142 |     /// - Parameter failure: 上传失败的回掉
143 |     public static func uploadFile<M:Model, A:APIConfig>(type:M.Type,
144 |                                                         config:A,
    |                                                         `- warning: capture of non-sendable type 'A.Type' in an isolated closure
145 |                                                         fileData:Data,
146 |                                                         success:RequestSuccessHandle<M>?,
/Users/admin/builder/spi-builder-workspace/Sources/Request/Request.swift:190:30: warning: capture of non-sendable type 'A.Type' in an isolated closure
188 |                                               success: success,
189 |                                               failure: failure)}
190 |             .uploadProgress {config.uploadProgress?($0)}
    |                              `- warning: capture of non-sendable type 'A.Type' in an isolated closure
191 |     }
192 |
/Users/admin/builder/spi-builder-workspace/Sources/Request/Request.swift:144:57: warning: capture of non-sendable type 'A.Type' in an isolated closure
142 |     /// - Parameter failure: 上传失败的回掉
143 |     public static func uploadFile<M:Model, A:APIConfig>(type:M.Type,
144 |                                                         config:A,
    |                                                         `- warning: capture of non-sendable type 'A.Type' in an isolated closure
145 |                                                         fileData:Data,
146 |                                                         success:RequestSuccessHandle<M>?,
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[69/72] Emitting module Request
[70/72] Compiling Request APIConfig.swift
[71/72] Compiling Request Encodable+ToDictionary.swift
[72/72] Compiling Request Model.swift
Build complete! (12.17s)
Fetching https://github.com/Pircate/CleanJSON.git
Fetching https://github.com/Alamofire/Alamofire.git
[1/1901] Fetching cleanjson
[363/32042] Fetching cleanjson, alamofire
Fetched https://github.com/Pircate/CleanJSON.git from cache (1.51s)
[4220/30141] Fetching alamofire
Fetched https://github.com/Alamofire/Alamofire.git from cache (3.81s)
Computing version for https://github.com/Pircate/CleanJSON.git
Computed https://github.com/Pircate/CleanJSON.git at 1.0.9 (4.32s)
Computing version for https://github.com/Alamofire/Alamofire.git
Computed https://github.com/Alamofire/Alamofire.git at 5.10.2 (0.41s)
Creating working copy for https://github.com/Alamofire/Alamofire.git
Working copy of https://github.com/Alamofire/Alamofire.git resolved at 5.10.2
Creating working copy for https://github.com/Pircate/CleanJSON.git
Working copy of https://github.com/Pircate/CleanJSON.git resolved at 1.0.9
Build complete.
{
  "dependencies" : [
    {
      "identity" : "alamofire",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.0.0",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Alamofire/Alamofire.git"
    },
    {
      "identity" : "cleanjson",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Pircate/CleanJSON.git"
    }
  ],
  "manifest_display_name" : "Request",
  "name" : "Request",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "10.0"
    },
    {
      "name" : "macos",
      "version" : "10.12"
    }
  ],
  "products" : [
    {
      "name" : "Request",
      "targets" : [
        "Request"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "RequestTests",
      "module_type" : "SwiftTarget",
      "name" : "RequestTests",
      "path" : "Tests/RequestTests",
      "sources" : [
        "RequestTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "Request"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Request",
      "module_type" : "SwiftTarget",
      "name" : "Request",
      "path" : "Sources/Request",
      "product_dependencies" : [
        "Alamofire",
        "CleanJSON"
      ],
      "product_memberships" : [
        "Request"
      ],
      "sources" : [
        "APIConfig.swift",
        "Encodable+ToDictionary.swift",
        "Model.swift",
        "Request.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.2"
}
Done.