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, reference main (c7f76e), with Swift 6.0 for macOS (SPM) on 1 Nov 2024 09:33:50 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/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 c7f76e7 Merge pull request #2 from PPunya/main
Cloned https://github.com/schwa/RedisConnection.git
Revision (git rev-parse @):
c7f76e7898d44f696d4cbe37bb8506fe4e9d9b42
SUCCESS checkout https://github.com/schwa/RedisConnection.git at main
========================================
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": "redisconnection",
      "name": "RedisConnection",
      "url": "https://github.com/schwa/RedisConnection.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/RedisConnection",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/schwa/RedisConnection.git
[1/127] Fetching redisconnection
Fetched https://github.com/schwa/RedisConnection.git from cache (0.77s)
Creating working copy for https://github.com/schwa/RedisConnection.git
Working copy of https://github.com/schwa/RedisConnection.git resolved at main (c7f76e7)
warning: '.resolve-product-dependencies': dependency 'redisconnection' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/schwa/RedisConnection.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/7] Write sources
[2/7] Write CLI-entitlement.plist
[3/7] Write swift-version--7754E27361AE5C74.txt
[5/14] Compiling RedisConnection RedisStreamingParser.swift
[6/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 {
[7/14] Compiling RedisConnection RedisProtocol.swift
[8/14] Compiling RedisConnection RedisError.swift
[9/14] Compiling RedisConnection RESPValue.swift
[10/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 {
[11/14] Compiling RedisConnection RedisConnection.swift
[12/17] Compiling CLI Support.swift
[13/17] Compiling CLI cli.swift
[14/17] Emitting module CLI
[14/17] Write Objects.LinkFileList
[15/17] Linking CLI
[16/17] Applying CLI
Build complete! (11.26s)
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" : "12.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.