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 RequestSwift, reference 2.3.0 (47cea3), with Swift 6.0 for macOS (SPM) on 31 Oct 2024 08:17:31 UTC.

Swift 6 data race errors: 0

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/BiAtoms/Request.swift.git
Reference: 2.3.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/BiAtoms/Request.swift
 * tag               2.3.0      -> FETCH_HEAD
HEAD is now at 47cea3d Update for swift 5
Submodule path 'Sources/Frameworks/SocketSwift': checked out '36911c13adfe12859ed43dcba878052b1897fcd3'
Submodule 'Sources/Frameworks/SocketSwift' (https://github.com/BiAtoms/Socket.swift) registered for path 'Sources/Frameworks/SocketSwift'
Cloning into '/Users/admin/builder/spi-builder-workspace/Sources/Frameworks/SocketSwift'...
Cloned https://github.com/BiAtoms/Request.swift.git
Revision (git rev-parse @):
47cea3de9cb961f77c659a27894d32454b42e25f
SUCCESS checkout https://github.com/BiAtoms/Request.swift.git at 2.3.0
Fetching https://github.com/BiAtoms/Socket.swift.git
[9/424] Fetching socket.swift
Fetched https://github.com/BiAtoms/Socket.swift.git from cache (0.74s)
Computing version for https://github.com/BiAtoms/Socket.swift.git
Computed https://github.com/BiAtoms/Socket.swift.git at 2.4.0 (0.64s)
Creating working copy for https://github.com/BiAtoms/Socket.swift.git
Working copy of https://github.com/BiAtoms/Socket.swift.git resolved at 2.4.0
========================================
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": "request.swift",
      "name": "RequestSwift",
      "url": "https://github.com/BiAtoms/Request.swift.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Request.swift",
      "dependencies": [
        {
          "identity": "socket.swift",
          "name": "SocketSwift",
          "url": "https://github.com/BiAtoms/Socket.swift.git",
          "version": "2.4.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Socket.swift",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/BiAtoms/Request.swift.git
[1/299] Fetching request.swift
Fetched https://github.com/BiAtoms/Request.swift.git from cache (0.75s)
Fetching https://github.com/BiAtoms/Socket.swift.git from cache
Fetched https://github.com/BiAtoms/Socket.swift.git from cache (0.48s)
Computing version for https://github.com/BiAtoms/Socket.swift.git
Computed https://github.com/BiAtoms/Socket.swift.git at 2.4.0 (0.02s)
Creating working copy for https://github.com/BiAtoms/Socket.swift.git
Working copy of https://github.com/BiAtoms/Socket.swift.git resolved at 2.4.0
Creating working copy for https://github.com/BiAtoms/Request.swift.git
Working copy of https://github.com/BiAtoms/Request.swift.git resolved at 2.3.0 (47cea3d)
warning: '.resolve-product-dependencies': dependency 'request.swift' is not used by any target
Found 1 product dependencies
  - SocketSwift
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/BiAtoms/Request.swift.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/3] Write sources
[2/3] Write swift-version--7754E27361AE5C74.txt
[4/12] Compiling SocketSwift Protocol.swift
[5/12] Compiling SocketSwift TLS.swift
[6/12] Compiling SocketSwift Type.swift
[7/12] Compiling SocketSwift Option.swift
[8/12] Compiling SocketSwift Family.swift
[9/12] Emitting module SocketSwift
[10/12] Compiling SocketSwift Socket.swift
[11/12] Compiling SocketSwift Error.swift
[12/12] Compiling SocketSwift OS.swift
[13/22] Compiling RequestSwift RequestError.swift
[14/22] Compiling RequestSwift ResponseParser.swift
[15/22] Compiling RequestSwift Request.swift
[16/22] Compiling RequestSwift Response.swift
[17/22] Compiling RequestSwift RequestWriter.swift
[18/22] Compiling RequestSwift RequestMethod.swift
[19/22] Compiling RequestSwift Requester.swift
/Users/admin/builder/spi-builder-workspace/Sources/Requester.swift:35:13: warning: capture of 'self' with non-sendable type 'Requester' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 14 | public typealias Port = SocketSwift.Port
 15 | public typealias Proxy = (host: String, port: Port)
 16 | open class Requester {
    |            `- note: class 'Requester' does not conform to the 'Sendable' protocol
 17 |     open var timeout: Int
 18 |     open var queue: DispatchQueue
    :
 33 |     open func startAsync() {
 34 |         queue.async {
 35 |             self.start()
    |             `- warning: capture of 'self' with non-sendable type 'Requester' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 36 |         }
 37 |     }
[20/22] Emitting module RequestSwift
[21/22] Compiling RequestSwift Client.swift
[22/22] Compiling RequestSwift ParameterEncoding.swift
Build complete! (12.44s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "socket.swift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.4.0",
            "upper_bound" : "2.5.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/BiAtoms/Socket.swift.git"
    }
  ],
  "manifest_display_name" : "RequestSwift",
  "name" : "RequestSwift",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "RequestSwift",
      "targets" : [
        "RequestSwift"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "RequestSwiftTests",
      "module_type" : "SwiftTarget",
      "name" : "RequestSwiftTests",
      "path" : "Tests/RequestSwiftTests",
      "sources" : [
        "RequestSwiftTests.swift"
      ],
      "target_dependencies" : [
        "RequestSwift"
      ],
      "type" : "test"
    },
    {
      "c99name" : "RequestSwift",
      "module_type" : "SwiftTarget",
      "name" : "RequestSwift",
      "path" : "Sources",
      "product_dependencies" : [
        "SocketSwift"
      ],
      "product_memberships" : [
        "RequestSwift"
      ],
      "sources" : [
        "Client.swift",
        "ParameterEncoding.swift",
        "Request.swift",
        "RequestError.swift",
        "RequestMethod.swift",
        "RequestWriter.swift",
        "Requester.swift",
        "Response.swift",
        "ResponseParser.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Done.