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 RequestSwift 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/BiAtoms/Request.swift.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/BiAtoms/Request.swift
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
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 master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/BiAtoms/Request.swift.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/3] Write sources
[2/3] Write swift-version-6F35C1178C84523A.txt
[4/12] Compiling SocketSwift Type.swift
[5/12] Compiling SocketSwift Socket.swift
[6/12] Compiling SocketSwift Option.swift
[7/12] Emitting module SocketSwift
[8/12] Compiling SocketSwift Family.swift
[9/12] Compiling SocketSwift OS.swift
[10/12] Compiling SocketSwift Error.swift
[11/12] Compiling SocketSwift Protocol.swift
[12/12] Compiling SocketSwift TLS.swift
[13/22] Compiling RequestSwift Response.swift
[14/22] Compiling RequestSwift RequestMethod.swift
[15/22] Compiling RequestSwift RequestWriter.swift
[16/22] Compiling RequestSwift Client.swift
[17/22] Compiling RequestSwift ResponseParser.swift
[18/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 |     }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Socket.swift/Sources/Family.swift:16:27: warning: static property 'inet' is not concurrency-safe because non-'Sendable' type 'Socket.Family' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | extension Socket {
12 |     public struct Family: RawRepresentable {
   |                   `- note: consider making struct 'Family' conform to the 'Sendable' protocol
13 |         public let rawValue: Int32
14 |         public init(rawValue: Int32) { self.rawValue = rawValue }
15 |
16 |         public static let inet = Family(rawValue: AF_INET)
   |                           |- warning: static property 'inet' is not concurrency-safe because non-'Sendable' type 'Socket.Family' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: annotate 'inet' 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
17 |         public static let inet6 = Family(rawValue: AF_INET6)
18 |         public static let unix = Family(rawValue: AF_UNIX)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Socket.swift/Sources/Socket.swift:132:27: warning: static property 'read' is not concurrency-safe because non-'Sendable' type 'Socket.WaitOption' may have shared mutable state; this is an error in the Swift 6 language mode
126 |     }
127 |
128 |     public struct WaitOption: OptionSet {
    |                   `- note: consider making struct 'WaitOption' conform to the 'Sendable' protocol
129 |         public let rawValue: Int32
130 |         public init(rawValue: Int32) { self.rawValue = rawValue }
131 |
132 |         public static let read = WaitOption(rawValue: POLLIN)
    |                           |- warning: static property 'read' is not concurrency-safe because non-'Sendable' type 'Socket.WaitOption' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'read' 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
133 |         public static let write = WaitOption(rawValue: POLLOUT)
134 |     }
[19/22] Compiling RequestSwift RequestError.swift
[20/22] Emitting module RequestSwift
[21/22] Compiling RequestSwift Request.swift
[22/22] Compiling RequestSwift ParameterEncoding.swift
Build complete! (23.33s)
Fetching https://github.com/BiAtoms/Socket.swift.git
[1/424] Fetching socket.swift
Fetched https://github.com/BiAtoms/Socket.swift.git from cache (0.81s)
Computing version for https://github.com/BiAtoms/Socket.swift.git
Computed https://github.com/BiAtoms/Socket.swift.git at 2.4.0 (0.67s)
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
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.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.