The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of Hela, reference main (a4d451), with Swift 6.0 for macOS (SPM) on 29 Nov 2024 02:38:40 UTC.

Swift 6 data race errors: 1

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 -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.58.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
[193/1712] Fetching cwlcatchexception, cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (0.93s)
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.93s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.1.0 (0.56s)
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.67s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git from cache
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (0.45s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (0.55s)
Fetching https://github.com/mattgallagher/CwlCatchException.git from cache
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.46s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (0.56s)
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.2.2
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/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.2.1
warning: '.resolve-product-dependencies': dependency 'hela' is not used by any target
Found 1 product dependencies
  - CwlPreconditionTesting
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/AsyncSwiftKits/Hela.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 -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--7754E27361AE5C74.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] Compiling CwlPreconditionTesting CwlDarwinDefinitions.swift
[11/13] Compiling CwlPreconditionTesting CwlBadInstructionException.swift
[12/13] Emitting module CwlPreconditionTesting
[13/13] Compiling CwlPreconditionTesting CwlCatchBadInstruction.swift
[14/18] Compiling Hela TypeRegistry.swift
[15/18] Compiling Hela TestAssertions.swift
[16/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: 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 {
[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 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: 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] Compiling Hela TypeKey.swift
Build complete! (16.55s)
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.