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 Hela with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 1

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/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
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/AsyncSwiftKits/Hela.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
[3/7] Write swift-version-6F35C1178C84523A.txt
[4/7] Compiling CwlMachBadInstructionHandler mach_excServer.c
[5/7] Compiling CwlCatchExceptionSupport CwlCatchException.m
[6/7] Compiling CwlMachBadInstructionHandler CwlMachBadInstructionHandler.m
[8/9] Compiling CwlCatchException CwlCatchException.swift
[9/9] Emitting module CwlCatchException
[10/13] Emitting module CwlPreconditionTesting
[11/13] Compiling CwlPreconditionTesting CwlCatchBadInstruction.swift
[12/13] Compiling CwlPreconditionTesting CwlBadInstructionException.swift
[13/13] Compiling CwlPreconditionTesting CwlDarwinDefinitions.swift
[14/18] Compiling Hela TestAssertions.swift
[15/18] Compiling Hela TypeRegistry.swift
[16/18] Compiling Hela TypeKey.swift
[17/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 non-isolated 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 non-isolated 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: annotate 'registry' 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
 5 |
 6 |     public static var isTesting: Bool {
[18/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 non-isolated 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 non-isolated 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: annotate 'registry' 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
 5 |
 6 |     public static var isTesting: Bool {
Build complete! (33.98s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/1247] Fetching cwlpreconditiontesting
[151/1686] Fetching cwlpreconditiontesting, cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.89s)
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (0.89s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.1.0 (0.70s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.1.1 (0.68s)
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.1.1
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.1.0
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.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.