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 RedisConnection 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/schwa/RedisConnection.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/schwa/RedisConnection
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 1e4f440 Pre commit.
Cloned https://github.com/schwa/RedisConnection.git
Revision (git rev-parse @):
1e4f4406bc80b9ad7508f006b60375c382f02378
SUCCESS checkout https://github.com/schwa/RedisConnection.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/schwa/RedisConnection.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/7] Write sources
[2/7] Write CLI-entitlement.plist
[3/7] Write swift-version-6F35C1178C84523A.txt
[5/14] Compiling RedisConnection Scratch.swift
/Users/admin/builder/spi-builder-workspace/Sources/RedisConnection/Scratch.swift:4:1: warning: extension declares a conformance of imported type 'State' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Network' introduce this conformance in the future
 2 | import Network
 3 |
 4 | extension NWConnection.State: CustomStringConvertible {
   | |- warning: extension declares a conformance of imported type 'State' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Network' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
 5 |     public var description: String {
 6 |         switch self {
[6/14] Compiling RedisConnection RedisProtocol.swift
[7/14] Emitting module RedisConnection
/Users/admin/builder/spi-builder-workspace/Sources/RedisConnection/Scratch.swift:4:1: warning: extension declares a conformance of imported type 'State' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Network' introduce this conformance in the future
 2 | import Network
 3 |
 4 | extension NWConnection.State: CustomStringConvertible {
   | |- warning: extension declares a conformance of imported type 'State' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Network' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
 5 |     public var description: String {
 6 |         switch self {
[8/14] Compiling RedisConnection RedisConnection.swift
/Users/admin/builder/spi-builder-workspace/Sources/RedisConnection/RedisConnection.swift:106:26: warning: sending 'self'-isolated value of type '(CheckedContinuation<RESPValue, any Error>) -> ()' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
104 |         logger?.debug("\(#function)")
105 |         let encodedValue = try value.encode()
106 |         return try await withCheckedThrowingContinuation { continuation in
    |                          `- warning: sending 'self'-isolated value of type '(CheckedContinuation<RESPValue, any Error>) -> ()' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
107 |             connection.batch {
108 |                 receiveHelper { error in
/Users/admin/builder/spi-builder-workspace/Sources/RedisConnection/RedisConnection.swift:126:26: warning: sending 'self'-isolated value of type '(CheckedContinuation<(), any Error>) -> ()' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
124 |         logger?.debug("\(#function)")
125 |         let encodedValue = try value.encode()
126 |         return try await withCheckedThrowingContinuation { continuation in
    |                          `- warning: sending 'self'-isolated value of type '(CheckedContinuation<(), any Error>) -> ()' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
127 |             connection.send(content: encodedValue, completion: .contentProcessed { error in
128 |                 if let error {
/Users/admin/builder/spi-builder-workspace/Sources/RedisConnection/RedisConnection.swift:139:26: warning: sending 'self'-isolated value of type '(CheckedContinuation<RESPValue, any Error>) -> ()' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
137 |         assert(mode == .normal)
138 |         logger?.debug("\(#function)")
139 |         return try await withCheckedThrowingContinuation { continuation in
    |                          `- warning: sending 'self'-isolated value of type '(CheckedContinuation<RESPValue, any Error>) -> ()' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
140 |             receiveHelper { error in
141 |                 continuation.resume(throwing: error)
/Users/admin/builder/spi-builder-workspace/Sources/RedisConnection/RedisConnection.swift:173:26: warning: sending 'self'-isolated value of type '(CheckedContinuation<(), any Error>) -> ()' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
171 |             try RESPValue.array($0.map { .blobString($0) }).encode()
172 |         }
173 |         return try await withCheckedThrowingContinuation { continuation in
    |                          `- warning: sending 'self'-isolated value of type '(CheckedContinuation<(), any Error>) -> ()' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
174 |             connection.send(content: encodedValue, completion: .contentProcessed { error in
175 |                 if let error {
[9/14] Compiling RedisConnection RedisStreamingParser.swift
[10/14] Compiling RedisConnection RESPValue.swift
[11/14] Compiling RedisConnection RedisError.swift
[12/17] Compiling CLI Support.swift
[13/17] Emitting module CLI
[14/17] Compiling CLI cli.swift
[14/17] Write Objects.LinkFileList
[15/17] Linking CLI
[16/17] Applying CLI
Build complete! (23.23s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "RedisConnection",
  "name" : "RedisConnection",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "17.0"
    },
    {
      "name" : "macos",
      "version" : "14.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "17.0"
    }
  ],
  "products" : [
    {
      "name" : "RedisConnection",
      "targets" : [
        "RedisConnection"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "CLI",
      "targets" : [
        "CLI"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "RedisConnectionTests",
      "module_type" : "SwiftTarget",
      "name" : "RedisConnectionTests",
      "path" : "Tests/RedisConnectionTests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/RedisConnectionTests/foo.dat",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "RedisConnectionTests.swift"
      ],
      "target_dependencies" : [
        "RedisConnection"
      ],
      "type" : "test"
    },
    {
      "c99name" : "RedisConnection",
      "module_type" : "SwiftTarget",
      "name" : "RedisConnection",
      "path" : "Sources/RedisConnection",
      "product_memberships" : [
        "RedisConnection",
        "CLI"
      ],
      "sources" : [
        "RESPValue.swift",
        "RedisConnection.swift",
        "RedisError.swift",
        "RedisProtocol.swift",
        "RedisStreamingParser.swift",
        "Scratch.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CLI",
      "module_type" : "SwiftTarget",
      "name" : "CLI",
      "path" : "Sources/CLI",
      "product_memberships" : [
        "CLI"
      ],
      "sources" : [
        "Support.swift",
        "cli.swift"
      ],
      "target_dependencies" : [
        "RedisConnection"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.9"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.