The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of Request, reference v2.3.2 (a69983), with Swift 6.2 (beta) for macOS (SPM) on 19 Jun 2025 13:16:28 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: v2.3.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/josercc/Request
 * tag               v2.3.2     -> FETCH_HEAD
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 v2.3.2
========================================
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] Compiling Alamofire HTTPMethod.swift
[7/62] Compiling Alamofire Notifications.swift
[8/62] Compiling CleanJSON _CleanJSONDecoder+SingleValueDecodingContainer.swift
[9/63] Compiling CleanJSON _CleanJSONDecoder+Unbox.swift
[10/63] Compiling Alamofire URLRequest+Alamofire.swift
[11/63] Compiling Alamofire URLSessionConfiguration+Alamofire.swift
[12/63] Compiling Alamofire AlamofireExtended.swift
[13/63] Compiling Alamofire AuthenticationInterceptor.swift
[14/63] Compiling Alamofire CachedResponseHandler.swift
[15/63] Compiling Alamofire Combine.swift
[16/63] Compiling Alamofire Concurrency.swift
[17/63] Compiling Alamofire EventMonitor.swift
[18/63] Compiling Alamofire DispatchQueue+Alamofire.swift
[19/63] Compiling Alamofire OperationQueue+Alamofire.swift
[20/63] Compiling Alamofire Result+Alamofire.swift
[21/63] Compiling Alamofire StringEncoding+Alamofire.swift
[22/63] Compiling Alamofire SessionDelegate.swift
[23/63] Compiling Alamofire URLConvertible+URLRequestConvertible.swift
[24/63] Compiling Alamofire UploadRequest.swift
[25/63] Compiling Alamofire WebSocketRequest.swift
[26/67] Compiling Alamofire MultipartFormData.swift
[27/67] Compiling Alamofire MultipartUpload.swift
[28/67] Compiling Alamofire NetworkReachabilityManager.swift
[29/67] Compiling Alamofire RedirectHandler.swift
[30/67] Compiling Alamofire RequestCompression.swift
[31/67] Compiling Alamofire RequestInterceptor.swift
[32/67] Compiling Alamofire ResponseSerialization.swift
[33/67] Compiling Alamofire RetryPolicy.swift
[34/67] Compiling Alamofire Protected.swift
[35/67] Compiling Alamofire Request.swift
[36/67] Compiling Alamofire RequestTaskMap.swift
[37/67] Compiling Alamofire Response.swift
[38/67] Compiling Alamofire Session.swift
[39/67] Emitting module Alamofire
[40/67] Compiling Alamofire Alamofire.swift
[41/67] Compiling Alamofire AFError.swift
[42/67] Compiling Alamofire DataRequest.swift
[43/67] Compiling Alamofire DataStreamRequest.swift
[44/67] Compiling Alamofire DownloadRequest.swift
[45/67] Compiling Alamofire HTTPHeaders.swift
[48/67] Compiling Alamofire ParameterEncoder.swift
[49/67] Compiling Alamofire ParameterEncoding.swift
[60/67] Emitting module CleanJSON
[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] Compiling Request APIConfig.swift
[70/72] Emitting module Request
[71/72] Compiling Request Encodable+ToDictionary.swift
[72/72] Compiling Request Model.swift
Build complete! (19.64s)
Fetching https://github.com/Alamofire/Alamofire.git
Fetching https://github.com/Pircate/CleanJSON.git
[1/1901] Fetching cleanjson
[344/32042] Fetching cleanjson, alamofire
Fetched https://github.com/Pircate/CleanJSON.git from cache (10.89s)
Fetched https://github.com/Alamofire/Alamofire.git from cache (10.89s)
Computing version for https://github.com/Pircate/CleanJSON.git
Computed https://github.com/Pircate/CleanJSON.git at 1.0.9 (11.43s)
Computing version for https://github.com/Alamofire/Alamofire.git
Computed https://github.com/Alamofire/Alamofire.git at 5.10.2 (0.43s)
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.