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 FirebladeECS, reference master (5a7e7f), with Swift 6.1 for Linux on 29 Apr 2025 19:26:09 UTC.

Swift 6 data race errors: 1

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.61.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/fireblade-engine/ecs.git
Reference: master
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/fireblade-engine/ecs
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 5a7e7f6 Update dependency ordo-one/package-benchmark to from: "1.29.2" (#96)
Cloned https://github.com/fireblade-engine/ecs.git
Revision (git rev-parse @):
5a7e7f6f2c5fa10b6a90d940c6efcf6a72581635
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/fireblade-engine/ecs.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/fireblade-engine/ecs.git
https://github.com/fireblade-engine/ecs.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.4.3",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    }
  ],
  "manifest_display_name" : "FirebladeECS",
  "name" : "FirebladeECS",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "FirebladeECS",
      "targets" : [
        "FirebladeECS"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "FirebladeECSTests",
      "module_type" : "SwiftTarget",
      "name" : "FirebladeECSTests",
      "path" : "Tests/FirebladeECSTests",
      "sources" : [
        "Base.swift",
        "ComponentIdentifierTests.swift",
        "ComponentTests.swift",
        "EntityCreationTests.swift",
        "EntityIdGenTests.swift",
        "EntityTests.swift",
        "FSMTests.swift",
        "FamilyCodingTests.swift",
        "FamilyTests.swift",
        "FamilyTraitsTests.swift",
        "Generated/FamilyTests.generated.swift",
        "HashingTests.swift",
        "NexusEventDelegateTests.swift",
        "NexusTests.swift",
        "SingleTests.swift",
        "SparseSetTests.swift",
        "SystemsTests.swift"
      ],
      "target_dependencies" : [
        "FirebladeECS"
      ],
      "type" : "test"
    },
    {
      "c99name" : "FirebladeECSPerformanceTests",
      "module_type" : "SwiftTarget",
      "name" : "FirebladeECSPerformanceTests",
      "path" : "Tests/FirebladeECSPerformanceTests",
      "sources" : [
        "Base.swift",
        "ComponentPerformanceTests.swift",
        "HashingPerformanceTests.swift",
        "TypeIdentifierPerformanceTests.swift",
        "TypedFamilyPerformanceTests.swift"
      ],
      "target_dependencies" : [
        "FirebladeECS"
      ],
      "type" : "test"
    },
    {
      "c99name" : "FirebladeECS",
      "module_type" : "SwiftTarget",
      "name" : "FirebladeECS",
      "path" : "Sources/FirebladeECS",
      "product_memberships" : [
        "FirebladeECS"
      ],
      "sources" : [
        "CodingStrategy.swift",
        "Component.swift",
        "ComponentIdentifier.swift",
        "Entity+Component.swift",
        "Entity.swift",
        "EntityIdentifier.swift",
        "EntityIdentifierGenerator.swift",
        "FSM.swift",
        "Family+Coding.swift",
        "Family.swift",
        "FamilyDecoding.swift",
        "FamilyEncoding.swift",
        "FamilyMemberBuilder.swift",
        "FamilyRequirementsManaging.swift",
        "FamilyTraitSet.swift",
        "Foundation+Extensions.swift",
        "Generated/Family.generated.swift",
        "Hashing.swift",
        "ManagedContiguousArray.swift",
        "Nexus+Component.swift",
        "Nexus+ComponentsBuilder.swift",
        "Nexus+Entity.swift",
        "Nexus+Family.swift",
        "Nexus+Internal.swift",
        "Nexus.swift",
        "NexusEvent.swift",
        "NexusEventDelegate.swift",
        "Single.swift",
        "UnorderedSparseSet.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.8"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/apple/swift-docc-plugin
[1/2049] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (0.73s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (3.05s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3376] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.90s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.58s)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.3
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/31] Emitting module FirebladeECS
/host/spi-builder-workspace/Sources/FirebladeECS/EntityIdentifier.swift:50:23: warning: static property 'invalid' is not concurrency-safe because non-'Sendable' type 'EntityIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
 9 | ///
10 | /// An entity identifier represents the unique identity of an entity.
11 | public struct EntityIdentifier {
   |               `- note: consider making struct 'EntityIdentifier' conform to the 'Sendable' protocol
12 |     /// Entity identifier type.
13 |     ///
   :
48 |     ///
49 |     /// Used to represent an invalid entity identifier.
50 |     public static let invalid = EntityIdentifier(.max)
   |                       |- warning: static property 'invalid' is not concurrency-safe because non-'Sendable' type 'EntityIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'invalid' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | }
52 |
[6/34] Compiling FirebladeECS Family.generated.swift
[7/34] Compiling FirebladeECS Hashing.swift
[8/34] Compiling FirebladeECS ManagedContiguousArray.swift
[9/34] Compiling FirebladeECS Nexus+Component.swift
[10/34] Compiling FirebladeECS NexusEventDelegate.swift
[11/34] Compiling FirebladeECS Single.swift
[12/34] Compiling FirebladeECS UnorderedSparseSet.swift
[13/34] Compiling FirebladeECS Nexus+Internal.swift
[14/34] Compiling FirebladeECS Nexus.swift
[15/34] Compiling FirebladeECS NexusEvent.swift
[16/34] Compiling FirebladeECS Nexus+ComponentsBuilder.swift
[17/34] Compiling FirebladeECS Nexus+Entity.swift
[18/34] Compiling FirebladeECS Nexus+Family.swift
[19/34] Compiling FirebladeECS Entity.swift
/host/spi-builder-workspace/Sources/FirebladeECS/EntityIdentifier.swift:50:23: warning: static property 'invalid' is not concurrency-safe because non-'Sendable' type 'EntityIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
 9 | ///
10 | /// An entity identifier represents the unique identity of an entity.
11 | public struct EntityIdentifier {
   |               `- note: consider making struct 'EntityIdentifier' conform to the 'Sendable' protocol
12 |     /// Entity identifier type.
13 |     ///
   :
48 |     ///
49 |     /// Used to represent an invalid entity identifier.
50 |     public static let invalid = EntityIdentifier(.max)
   |                       |- warning: static property 'invalid' is not concurrency-safe because non-'Sendable' type 'EntityIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'invalid' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | }
52 |
[20/34] Compiling FirebladeECS EntityIdentifier.swift
/host/spi-builder-workspace/Sources/FirebladeECS/EntityIdentifier.swift:50:23: warning: static property 'invalid' is not concurrency-safe because non-'Sendable' type 'EntityIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
 9 | ///
10 | /// An entity identifier represents the unique identity of an entity.
11 | public struct EntityIdentifier {
   |               `- note: consider making struct 'EntityIdentifier' conform to the 'Sendable' protocol
12 |     /// Entity identifier type.
13 |     ///
   :
48 |     ///
49 |     /// Used to represent an invalid entity identifier.
50 |     public static let invalid = EntityIdentifier(.max)
   |                       |- warning: static property 'invalid' is not concurrency-safe because non-'Sendable' type 'EntityIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'invalid' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | }
52 |
[21/34] Compiling FirebladeECS EntityIdentifierGenerator.swift
/host/spi-builder-workspace/Sources/FirebladeECS/EntityIdentifier.swift:50:23: warning: static property 'invalid' is not concurrency-safe because non-'Sendable' type 'EntityIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
 9 | ///
10 | /// An entity identifier represents the unique identity of an entity.
11 | public struct EntityIdentifier {
   |               `- note: consider making struct 'EntityIdentifier' conform to the 'Sendable' protocol
12 |     /// Entity identifier type.
13 |     ///
   :
48 |     ///
49 |     /// Used to represent an invalid entity identifier.
50 |     public static let invalid = EntityIdentifier(.max)
   |                       |- warning: static property 'invalid' is not concurrency-safe because non-'Sendable' type 'EntityIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'invalid' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | }
52 |
[22/34] Compiling FirebladeECS FSM.swift
/host/spi-builder-workspace/Sources/FirebladeECS/EntityIdentifier.swift:50:23: warning: static property 'invalid' is not concurrency-safe because non-'Sendable' type 'EntityIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
 9 | ///
10 | /// An entity identifier represents the unique identity of an entity.
11 | public struct EntityIdentifier {
   |               `- note: consider making struct 'EntityIdentifier' conform to the 'Sendable' protocol
12 |     /// Entity identifier type.
13 |     ///
   :
48 |     ///
49 |     /// Used to represent an invalid entity identifier.
50 |     public static let invalid = EntityIdentifier(.max)
   |                       |- warning: static property 'invalid' is not concurrency-safe because non-'Sendable' type 'EntityIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'invalid' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | }
52 |
[23/34] Compiling FirebladeECS CodingStrategy.swift
[24/34] Compiling FirebladeECS Component.swift
[25/34] Compiling FirebladeECS ComponentIdentifier.swift
[26/34] Compiling FirebladeECS Entity+Component.swift
[27/34] Compiling FirebladeECS FamilyMemberBuilder.swift
[28/34] Compiling FirebladeECS FamilyRequirementsManaging.swift
[29/34] Compiling FirebladeECS FamilyTraitSet.swift
[30/34] Compiling FirebladeECS Foundation+Extensions.swift
[31/34] Compiling FirebladeECS Family+Coding.swift
[32/34] Compiling FirebladeECS Family.swift
[33/34] Compiling FirebladeECS FamilyDecoding.swift
[34/34] Compiling FirebladeECS FamilyEncoding.swift
Build complete! (26.95s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.4.3",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    }
  ],
  "manifest_display_name" : "FirebladeECS",
  "name" : "FirebladeECS",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "FirebladeECS",
      "targets" : [
        "FirebladeECS"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "FirebladeECSTests",
      "module_type" : "SwiftTarget",
      "name" : "FirebladeECSTests",
      "path" : "Tests/FirebladeECSTests",
      "sources" : [
        "Base.swift",
        "ComponentIdentifierTests.swift",
        "ComponentTests.swift",
        "EntityCreationTests.swift",
        "EntityIdGenTests.swift",
        "EntityTests.swift",
        "FSMTests.swift",
        "FamilyCodingTests.swift",
        "FamilyTests.swift",
        "FamilyTraitsTests.swift",
        "Generated/FamilyTests.generated.swift",
        "HashingTests.swift",
        "NexusEventDelegateTests.swift",
        "NexusTests.swift",
        "SingleTests.swift",
        "SparseSetTests.swift",
        "SystemsTests.swift"
      ],
      "target_dependencies" : [
        "FirebladeECS"
      ],
      "type" : "test"
    },
    {
      "c99name" : "FirebladeECSPerformanceTests",
      "module_type" : "SwiftTarget",
      "name" : "FirebladeECSPerformanceTests",
      "path" : "Tests/FirebladeECSPerformanceTests",
      "sources" : [
        "Base.swift",
        "ComponentPerformanceTests.swift",
        "HashingPerformanceTests.swift",
        "TypeIdentifierPerformanceTests.swift",
        "TypedFamilyPerformanceTests.swift"
      ],
      "target_dependencies" : [
        "FirebladeECS"
      ],
      "type" : "test"
    },
    {
      "c99name" : "FirebladeECS",
      "module_type" : "SwiftTarget",
      "name" : "FirebladeECS",
      "path" : "Sources/FirebladeECS",
      "product_memberships" : [
        "FirebladeECS"
      ],
      "sources" : [
        "CodingStrategy.swift",
        "Component.swift",
        "ComponentIdentifier.swift",
        "Entity+Component.swift",
        "Entity.swift",
        "EntityIdentifier.swift",
        "EntityIdentifierGenerator.swift",
        "FSM.swift",
        "Family+Coding.swift",
        "Family.swift",
        "FamilyDecoding.swift",
        "FamilyEncoding.swift",
        "FamilyMemberBuilder.swift",
        "FamilyRequirementsManaging.swift",
        "FamilyTraitSet.swift",
        "Foundation+Extensions.swift",
        "Generated/Family.generated.swift",
        "Hashing.swift",
        "ManagedContiguousArray.swift",
        "Nexus+Component.swift",
        "Nexus+ComponentsBuilder.swift",
        "Nexus+Entity.swift",
        "Nexus+Family.swift",
        "Nexus+Internal.swift",
        "Nexus.swift",
        "NexusEvent.swift",
        "NexusEventDelegate.swift",
        "Single.swift",
        "UnorderedSparseSet.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.8"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.