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 Hela, reference main (a4d451), with Swift 6.1 for macOS (SPM) on 27 Apr 2025 06:25:27 UTC.

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/AsyncSwiftKits/Hela.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/AsyncSwiftKits/Hela
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at a4d4518 Update README.md
Cloned https://github.com/AsyncSwiftKits/Hela.git
Revision (git rev-parse @):
a4d4518f24436431dab6a6bd213c67d41af911ae
SUCCESS checkout https://github.com/AsyncSwiftKits/Hela.git at main
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/455] Fetching cwlcatchexception
[29/1712] Fetching cwlcatchexception, cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.82s)
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (0.82s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.1.0 (1.42s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.1.1 (0.57s)
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.1.0
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.1.1
========================================
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": "hela",
      "name": "Hela",
      "url": "https://github.com/AsyncSwiftKits/Hela.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Hela",
      "dependencies": [
        {
          "identity": "cwlpreconditiontesting",
          "name": "CwlPreconditionTesting",
          "url": "https://github.com/mattgallagher/CwlPreconditionTesting.git",
          "version": "2.2.2",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/CwlPreconditionTesting",
          "dependencies": [
            {
              "identity": "cwlcatchexception",
              "name": "CwlCatchException",
              "url": "https://github.com/mattgallagher/CwlCatchException.git",
              "version": "2.2.1",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/CwlCatchException",
              "dependencies": [
              ]
            }
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/AsyncSwiftKits/Hela.git
[1/75] Fetching hela
Fetched https://github.com/AsyncSwiftKits/Hela.git from cache (0.63s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git from cache
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (0.44s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (0.98s)
Fetching https://github.com/mattgallagher/CwlCatchException.git from cache
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.47s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (1.01s)
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.2.1
Creating working copy for https://github.com/AsyncSwiftKits/Hela.git
Working copy of https://github.com/AsyncSwiftKits/Hela.git resolved at main (a4d4518)
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.2.2
warning: '.resolve-product-dependencies': dependency 'hela' is not used by any target
Found 1 product dependencies
  - CwlPreconditionTesting
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/AsyncSwiftKits/Hela.git
https://github.com/AsyncSwiftKits/Hela.git
{
  "dependencies" : [
    {
      "identity" : "cwlpreconditiontesting",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.1.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/mattgallagher/CwlPreconditionTesting.git"
    }
  ],
  "manifest_display_name" : "Hela",
  "name" : "Hela",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "7.0"
    }
  ],
  "products" : [
    {
      "name" : "Hela",
      "targets" : [
        "Hela"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "HelaTests",
      "module_type" : "SwiftTarget",
      "name" : "HelaTests",
      "path" : "Tests/HelaTests",
      "sources" : [
        "HelaTests.swift",
        "Runner.swift"
      ],
      "target_dependencies" : [
        "Hela"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Hela",
      "module_type" : "SwiftTarget",
      "name" : "Hela",
      "path" : "Sources/Hela",
      "product_dependencies" : [
        "CwlPreconditionTesting"
      ],
      "product_memberships" : [
        "Hela"
      ],
      "sources" : [
        "Precondition.swift",
        "TestAssertions.swift",
        "TypeKey.swift",
        "TypeRegistry.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/7] Write sources
[3/7] Write swift-version-2F0A5646E1D333AE.txt
[4/7] Compiling CwlMachBadInstructionHandler mach_excServer.c
[5/7] Compiling CwlCatchExceptionSupport CwlCatchException.m
[6/7] Compiling CwlMachBadInstructionHandler CwlMachBadInstructionHandler.m
[8/9] Emitting module CwlCatchException
[9/9] Compiling CwlCatchException CwlCatchException.swift
[10/13] Compiling CwlPreconditionTesting CwlDarwinDefinitions.swift
[11/13] Compiling CwlPreconditionTesting CwlCatchBadInstruction.swift
[12/13] Emitting module CwlPreconditionTesting
[13/13] Compiling CwlPreconditionTesting CwlBadInstructionException.swift
[14/18] Compiling Hela TypeRegistry.swift
[15/18] Compiling Hela TypeKey.swift
[16/18] Compiling Hela Precondition.swift
/Users/admin/builder/spi-builder-workspace/Sources/Hela/Precondition.swift:4:25: warning: static property 'registry' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 2 |
 3 | public struct Hela {
 4 |     internal static var registry: TypeRegistry?
   |                         |- warning: static property 'registry' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                         |- note: convert 'registry' to a 'let' constant to make 'Sendable' shared state immutable
   |                         |- note: add '@MainActor' to make static property 'registry' part of global actor 'MainActor'
   |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 5 |
 6 |     public static var isTesting: Bool {
[17/18] Emitting module Hela
/Users/admin/builder/spi-builder-workspace/Sources/Hela/Precondition.swift:4:25: warning: static property 'registry' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 2 |
 3 | public struct Hela {
 4 |     internal static var registry: TypeRegistry?
   |                         |- warning: static property 'registry' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                         |- note: convert 'registry' to a 'let' constant to make 'Sendable' shared state immutable
   |                         |- note: add '@MainActor' to make static property 'registry' part of global actor 'MainActor'
   |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 5 |
 6 |     public static var isTesting: Bool {
[18/18] Compiling Hela TestAssertions.swift
Build complete! (15.67s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "cwlpreconditiontesting",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.1.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/mattgallagher/CwlPreconditionTesting.git"
    }
  ],
  "manifest_display_name" : "Hela",
  "name" : "Hela",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "7.0"
    }
  ],
  "products" : [
    {
      "name" : "Hela",
      "targets" : [
        "Hela"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "HelaTests",
      "module_type" : "SwiftTarget",
      "name" : "HelaTests",
      "path" : "Tests/HelaTests",
      "sources" : [
        "HelaTests.swift",
        "Runner.swift"
      ],
      "target_dependencies" : [
        "Hela"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Hela",
      "module_type" : "SwiftTarget",
      "name" : "Hela",
      "path" : "Sources/Hela",
      "product_dependencies" : [
        "CwlPreconditionTesting"
      ],
      "product_memberships" : [
        "Hela"
      ],
      "sources" : [
        "Precondition.swift",
        "TestAssertions.swift",
        "TypeKey.swift",
        "TypeRegistry.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Done.