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 Auburn, reference 0.6.2 (b2747e), with Swift 6.0 for macOS (SPM) on 1 Nov 2024 10:54:38 UTC.

Swift 6 data race errors: 2

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/OperatorFoundation/Auburn.git
Reference: 0.6.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/OperatorFoundation/Auburn
 * tag               0.6.2      -> FETCH_HEAD
HEAD is now at b2747eb Delete Package.resolved
Cloned https://github.com/OperatorFoundation/Auburn.git
Revision (git rev-parse @):
b2747ebe6a8e5ee60962c87c2eef1112e96151f9
SUCCESS checkout https://github.com/OperatorFoundation/Auburn.git at 0.6.2
Fetching https://github.com/OperatorFoundation/Redshot.git
[1/555] Fetching redshot
Fetched https://github.com/OperatorFoundation/Redshot.git from cache (0.82s)
Computing version for https://github.com/OperatorFoundation/Redshot.git
Computed https://github.com/OperatorFoundation/Redshot.git at 0.8.5 (0.65s)
Fetching https://github.com/OperatorFoundation/Datable.git
[1/399] Fetching datable
Fetched https://github.com/OperatorFoundation/Datable.git from cache (0.77s)
Computing version for https://github.com/OperatorFoundation/Datable.git
Computed https://github.com/OperatorFoundation/Datable.git at 3.1.5 (0.62s)
Creating working copy for https://github.com/OperatorFoundation/Redshot.git
Working copy of https://github.com/OperatorFoundation/Redshot.git resolved at 0.8.5
Creating working copy for https://github.com/OperatorFoundation/Datable.git
Working copy of https://github.com/OperatorFoundation/Datable.git resolved at 3.1.5
========================================
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": "auburn",
      "name": "Auburn",
      "url": "https://github.com/OperatorFoundation/Auburn.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Auburn",
      "dependencies": [
        {
          "identity": "redshot",
          "name": "RedShot",
          "url": "https://github.com/OperatorFoundation/Redshot.git",
          "version": "0.8.5",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Redshot",
          "dependencies": [
            {
              "identity": "datable",
              "name": "Datable",
              "url": "https://github.com/OperatorFoundation/Datable.git",
              "version": "3.1.5",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Datable",
              "dependencies": [
              ]
            }
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/OperatorFoundation/Auburn.git
[1/573] Fetching auburn
Fetched https://github.com/OperatorFoundation/Auburn.git from cache (0.76s)
Fetching https://github.com/OperatorFoundation/Redshot.git from cache
Fetched https://github.com/OperatorFoundation/Redshot.git from cache (0.48s)
Computing version for https://github.com/OperatorFoundation/Redshot.git
Computed https://github.com/OperatorFoundation/Redshot.git at 0.8.5 (0.03s)
Fetching https://github.com/OperatorFoundation/Datable.git from cache
Fetched https://github.com/OperatorFoundation/Datable.git from cache (0.47s)
Computing version for https://github.com/OperatorFoundation/Datable.git
Computed https://github.com/OperatorFoundation/Datable.git at 3.1.5 (0.02s)
Creating working copy for https://github.com/OperatorFoundation/Auburn.git
Working copy of https://github.com/OperatorFoundation/Auburn.git resolved at 0.6.2 (b2747eb)
Creating working copy for https://github.com/OperatorFoundation/Redshot.git
Working copy of https://github.com/OperatorFoundation/Redshot.git resolved at 0.8.5
Creating working copy for https://github.com/OperatorFoundation/Datable.git
Working copy of https://github.com/OperatorFoundation/Datable.git resolved at 3.1.5
warning: '.resolve-product-dependencies': dependency 'auburn' is not used by any target
Found 1 product dependencies
  - RedShot
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/OperatorFoundation/Auburn.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/4] Write sources
[3/4] Write swift-version--7754E27361AE5C74.txt
[5/34] Emitting module Datable
[6/37] Compiling Datable UInt+Datable.swift
[7/37] Compiling Datable UInt+MaybeNetworkDatable.swift
[8/37] Compiling Datable UInt+Stringable.swift
[9/37] Compiling Datable String+Intable.swift
[10/37] Compiling Datable Stringable.swift
[11/37] Compiling Datable StringableArray+CSVable.swift
[12/37] Compiling Datable Int+Stringable.swift
[13/37] Compiling Datable Intable.swift
[14/37] Compiling Datable MaybeDatable.swift
[15/37] Compiling Datable MaybeIntable.swift
[16/37] Compiling Datable MaybeNetworkIntable.swift
[17/37] Compiling Datable NetworkDatable.swift
[18/37] Compiling Datable Arrayable.swift
[19/37] Compiling Datable CSVable.swift
[20/37] Compiling Datable Data+Arrayable.swift
[21/37] Compiling Datable Data+Datable.swift
[22/37] Compiling Datable Float+MaybeDatable.swift
[23/37] Compiling Datable Floatable.swift
[24/37] Compiling Datable Int+MaybeDatable.swift
[25/37] Compiling Datable Data+Stringable.swift
[26/37] Compiling Datable Datable.swift
[27/37] Compiling Datable DatableConfig.swift
[28/37] Compiling Datable NetworkIntable.swift
[29/37] Compiling Datable String+Arrayable.swift
[30/37] Compiling Datable String+Datable.swift
[31/37] Compiling Datable Double+MaybeDatable.swift
[32/37] Compiling Datable Double+Stringable.swift
[33/37] Compiling Datable File.swift
[34/37] Compiling Datable Data+ExpressibleByStringLiteral.swift
[35/37] Compiling Datable Data+Floatable.swift
[36/37] Compiling Datable Data+MaybeIntable.swift
[37/37] Compiling Datable Data+MaybeNetworkIntable.swift
[38/45] Compiling RedShot RedisSubscribe.swift
[39/45] Compiling RedShot RedisSocket.swift
[40/45] Compiling RedShot Constants.swift
[41/45] Emitting module RedShot
[42/45] Compiling RedShot Redis.swift
[43/45] Compiling RedShot RedisType.swift
[44/45] Compiling RedShot ResponseParser.swift
[45/45] Compiling RedShot RedisCommands.swift
[46/55] Compiling Auburn RFloat.swift
[47/55] Compiling Auburn RBase.swift
[48/55] Emitting module Auburn
/Users/admin/builder/spi-builder-workspace/Sources/Auburn/Auburn.swift:8:16: warning: static property 'port' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  6 | {
  7 |     static private let queue: DispatchQueue = DispatchQueue(label: "RedisTransactions")
  8 |     static var port = 6380
    |                |- warning: static property 'port' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'port' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'port' 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
  9 |     static var _redis: Redis?
 10 |     static var redis: Redis? {
/Users/admin/builder/spi-builder-workspace/Sources/Auburn/Auburn.swift:9:16: warning: static property '_redis' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  7 |     static private let queue: DispatchQueue = DispatchQueue(label: "RedisTransactions")
  8 |     static var port = 6380
  9 |     static var _redis: Redis?
    |                |- warning: static property '_redis' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert '_redis' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate '_redis' 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
 10 |     static var redis: Redis? {
 11 |         get {
[49/55] Compiling Auburn Auburn.swift
/Users/admin/builder/spi-builder-workspace/Sources/Auburn/Auburn.swift:8:16: warning: static property 'port' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  6 | {
  7 |     static private let queue: DispatchQueue = DispatchQueue(label: "RedisTransactions")
  8 |     static var port = 6380
    |                |- warning: static property 'port' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'port' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'port' 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
  9 |     static var _redis: Redis?
 10 |     static var redis: Redis? {
/Users/admin/builder/spi-builder-workspace/Sources/Auburn/Auburn.swift:9:16: warning: static property '_redis' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  7 |     static private let queue: DispatchQueue = DispatchQueue(label: "RedisTransactions")
  8 |     static var port = 6380
  9 |     static var _redis: Redis?
    |                |- warning: static property '_redis' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert '_redis' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate '_redis' 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
 10 |     static var redis: Redis? {
 11 |         get {
[50/55] Compiling Auburn RSet.swift
[51/55] Compiling Auburn RString.swift
[52/55] Compiling Auburn RMap.swift
/Users/admin/builder/spi-builder-workspace/Sources/Auburn/RMap.swift:125:86: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
123 |                 {
124 |                 case let dataResult as Data:
125 |                     let dataToFLoat = Float(bitPattern: UInt32(bigEndian: dataResult.withUnsafeBytes { $0.pointee } ))
    |                                                                                      `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
126 |                     return dataToFLoat as? V
127 |                 case let stringResult as String:
[53/55] Compiling Auburn RList.swift
[54/55] Compiling Auburn RInt.swift
[55/55] Compiling Auburn RSortedSet.swift
Build complete! (20.99s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "redshot",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.8.4",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/OperatorFoundation/Redshot.git"
    }
  ],
  "manifest_display_name" : "Auburn",
  "name" : "Auburn",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "Auburn",
      "targets" : [
        "Auburn"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "AuburnTests",
      "module_type" : "SwiftTarget",
      "name" : "AuburnTests",
      "path" : "Tests/AuburnTests",
      "product_dependencies" : [
        "RedShot"
      ],
      "sources" : [
        "AuburnTests.swift"
      ],
      "target_dependencies" : [
        "Auburn"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Auburn",
      "module_type" : "SwiftTarget",
      "name" : "Auburn",
      "path" : "Sources/Auburn",
      "product_dependencies" : [
        "RedShot"
      ],
      "product_memberships" : [
        "Auburn"
      ],
      "sources" : [
        "Auburn.swift",
        "RBase.swift",
        "RFloat.swift",
        "RInt.swift",
        "RList.swift",
        "RMap.swift",
        "RSet.swift",
        "RSortedSet.swift",
        "RString.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Done.