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 master (8ffb1c), with Swift 6.0 for macOS (SPM) on 1 Nov 2024 10:54:39 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: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/OperatorFoundation/Auburn
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 8ffb1c4 Create LICENSE
Cloned https://github.com/OperatorFoundation/Auburn.git
Revision (git rev-parse @):
8ffb1c4f3f969fea6410c39512e5e530dcdef18b
SUCCESS checkout https://github.com/OperatorFoundation/Auburn.git at master
Fetching https://github.com/OperatorFoundation/Redshot.git
[6/555] Fetching redshot
Fetched https://github.com/OperatorFoundation/Redshot.git from cache (0.87s)
Computing version for https://github.com/OperatorFoundation/Redshot.git
Computed https://github.com/OperatorFoundation/Redshot.git at 0.8.5 (0.64s)
Fetching https://github.com/OperatorFoundation/Datable.git
[1/399] Fetching datable
Fetched https://github.com/OperatorFoundation/Datable.git from cache (0.90s)
Computing version for https://github.com/OperatorFoundation/Datable.git
Computed https://github.com/OperatorFoundation/Datable.git at 3.1.5 (0.63s)
Creating working copy for https://github.com/OperatorFoundation/Datable.git
Working copy of https://github.com/OperatorFoundation/Datable.git resolved at 3.1.5
Creating working copy for https://github.com/OperatorFoundation/Redshot.git
Working copy of https://github.com/OperatorFoundation/Redshot.git resolved at 0.8.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.77s)
Fetching https://github.com/OperatorFoundation/Redshot.git from cache
Fetched https://github.com/OperatorFoundation/Redshot.git from cache (0.46s)
Computing version for https://github.com/OperatorFoundation/Redshot.git
Computed https://github.com/OperatorFoundation/Redshot.git at 0.8.5 (0.02s)
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/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
Creating working copy for https://github.com/OperatorFoundation/Auburn.git
Working copy of https://github.com/OperatorFoundation/Auburn.git resolved at master (8ffb1c4)
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] Compiling Datable NetworkIntable.swift
[6/34] Compiling Datable String+Arrayable.swift
[7/34] Compiling Datable String+Datable.swift
[8/37] Emitting module Datable
[9/37] Compiling Datable MaybeIntable.swift
[10/37] Compiling Datable MaybeNetworkIntable.swift
[11/37] Compiling Datable NetworkDatable.swift
[12/37] Compiling Datable Data+Stringable.swift
[13/37] Compiling Datable Datable.swift
[14/37] Compiling Datable DatableConfig.swift
[15/37] Compiling Datable String+Intable.swift
[16/37] Compiling Datable Stringable.swift
[17/37] Compiling Datable StringableArray+CSVable.swift
[18/37] Compiling Datable Float+MaybeDatable.swift
[19/37] Compiling Datable Floatable.swift
[20/37] Compiling Datable Int+MaybeDatable.swift
[21/37] Compiling Datable Double+MaybeDatable.swift
[22/37] Compiling Datable Double+Stringable.swift
[23/37] Compiling Datable File.swift
[24/37] Compiling Datable Int+Stringable.swift
[25/37] Compiling Datable Intable.swift
[26/37] Compiling Datable MaybeDatable.swift
[27/37] Compiling Datable Arrayable.swift
[28/37] Compiling Datable CSVable.swift
[29/37] Compiling Datable Data+Arrayable.swift
[30/37] Compiling Datable Data+Datable.swift
[31/37] Compiling Datable Data+ExpressibleByStringLiteral.swift
[32/37] Compiling Datable Data+Floatable.swift
[33/37] Compiling Datable Data+MaybeIntable.swift
[34/37] Compiling Datable Data+MaybeNetworkIntable.swift
[35/37] Compiling Datable UInt+Datable.swift
[36/37] Compiling Datable UInt+MaybeNetworkDatable.swift
[37/37] Compiling Datable UInt+Stringable.swift
[38/45] Compiling RedShot RedisType.swift
[39/45] Compiling RedShot ResponseParser.swift
[40/45] Compiling RedShot Redis.swift
[41/45] Compiling RedShot RedisSocket.swift
[42/45] Emitting module RedShot
[43/45] Compiling RedShot RedisCommands.swift
[44/45] Compiling RedShot Constants.swift
[45/45] Compiling RedShot RedisSubscribe.swift
[46/55] Compiling Auburn RString.swift
[47/55] Compiling Auburn RSet.swift
[48/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:
[49/55] Compiling Auburn RFloat.swift
[50/55] Compiling Auburn RBase.swift
[51/55] Compiling Auburn RInt.swift
[52/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 {
[53/55] Compiling Auburn RList.swift
[54/55] Compiling Auburn RSortedSet.swift
[55/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 {
Build complete! (26.08s)
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.