This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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

Successful build of Request with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.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.0
Building package at path:  $workDir
https://github.com/josercc/Request.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/5] Write sources
[2/5] Copying PrivacyInfo.xcprivacy
[3/5] Write sources
[4/5] Write swift-version-6F35C1178C84523A.txt
[6/62] Compiling CleanJSON _CleanJSONDecoder+SingleValueDecodingContainer.swift
[7/62] Compiling CleanJSON _CleanJSONDecoder+Unbox.swift
[8/63] Compiling Alamofire DownloadRequest.swift
[9/63] Compiling Alamofire HTTPHeaders.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/67] Compiling Alamofire ParameterEncoder.swift
[15/67] Compiling Alamofire ParameterEncoding.swift
[18/67] Emitting module CleanJSON
[21/67] Compiling Alamofire HTTPMethod.swift
[22/67] Compiling Alamofire Notifications.swift
[23/67] Compiling Alamofire DataRequest.swift
[24/67] Compiling Alamofire DataStreamRequest.swift
[25/67] Compiling Alamofire Alamofire.swift
[26/67] Compiling Alamofire AFError.swift
[27/67] Compiling Alamofire RequestCompression.swift
[28/67] Compiling Alamofire RequestInterceptor.swift
[29/67] Compiling Alamofire ResponseSerialization.swift
[30/67] Compiling Alamofire RetryPolicy.swift
[31/67] Compiling Alamofire MultipartFormData.swift
[32/67] Compiling Alamofire MultipartUpload.swift
[33/67] Compiling Alamofire NetworkReachabilityManager.swift
[34/67] Compiling Alamofire RedirectHandler.swift
[35/67] Compiling Alamofire DispatchQueue+Alamofire.swift
[36/67] Compiling Alamofire OperationQueue+Alamofire.swift
[37/67] Compiling Alamofire Result+Alamofire.swift
[38/67] Compiling Alamofire StringEncoding+Alamofire.swift
[39/67] Compiling CleanJSON _CleanJSONDecoder.swift
[40/67] Emitting module Alamofire
[51/67] Compiling Alamofire CachedResponseHandler.swift
[52/67] Compiling Alamofire Combine.swift
[53/67] Compiling Alamofire Concurrency.swift
[54/67] Compiling Alamofire EventMonitor.swift
[55/67] Compiling Alamofire SessionDelegate.swift
[56/67] Compiling Alamofire URLConvertible+URLRequestConvertible.swift
[57/67] Compiling Alamofire UploadRequest.swift
[58/67] Compiling Alamofire WebSocketRequest.swift
[59/67] Compiling Alamofire Protected.swift
[60/67] Compiling Alamofire Request.swift
[61/67] Compiling Alamofire RequestTaskMap.swift
[62/67] Compiling Alamofire Response.swift
[63/67] Compiling Alamofire Session.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 Model.swift
[69/72] Compiling Request Request.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Alamofire/Source/Alamofire.swift:37:12: warning: let 'AF' is not concurrency-safe because non-'Sendable' type 'Session' may have shared mutable state; this is an error in the Swift 6 language mode
35 |
36 | /// Reference to `Session.default` for quick bootstrapping and examples.
37 | public let AF = Session.default
   |            |- warning: let 'AF' is not concurrency-safe because non-'Sendable' type 'Session' may have shared mutable state; this is an error in the Swift 6 language mode
   |            |- note: annotate 'AF' 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
38 |
39 | /// Namespace for informational Alamofire values.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Alamofire/Source/Core/Session.swift:30:12: note: class 'Session' does not conform to the 'Sendable' protocol
  28 | /// functionality for all `Request`s, including queuing, interception, trust management, redirect handling, and response
  29 | /// cache handling.
  30 | open class Session {
     |            `- note: class 'Session' does not conform to the 'Sendable' protocol
  31 |     /// Shared singleton instance used by all `AF.request` APIs. Cannot be modified.
  32 |     public static let `default` = Session()
[70/72] Compiling Request Encodable+ToDictionary.swift
[71/72] Compiling Request APIConfig.swift
[72/72] Emitting module Request
Build complete! (41.57s)
Fetching https://github.com/Pircate/CleanJSON.git
Fetching https://github.com/Alamofire/Alamofire.git
[1/1895] Fetching cleanjson
[362/30675] Fetching cleanjson, alamofire
Fetched https://github.com/Pircate/CleanJSON.git from cache (4.79s)
Fetched https://github.com/Alamofire/Alamofire.git from cache (4.79s)
Computing version for https://github.com/Pircate/CleanJSON.git
Computed https://github.com/Pircate/CleanJSON.git at 1.0.9 (0.71s)
Computing version for https://github.com/Alamofire/Alamofire.git
Computed https://github.com/Alamofire/Alamofire.git at 5.9.1 (0.57s)
Creating working copy for https://github.com/Alamofire/Alamofire.git
Working copy of https://github.com/Alamofire/Alamofire.git resolved at 5.9.1
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.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.