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 FirebladeECS 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/fireblade-engine/ecs.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/fireblade-engine/ecs
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 7ad5a96 Update swiftwasm/swiftwasm-action action to v5.8 (#56)
Cloned https://github.com/fireblade-engine/ecs.git
Revision (git rev-parse @):
7ad5a96f160a790f17471c2f0d5d57d5b03949b9
SUCCESS checkout https://github.com/fireblade-engine/ecs.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/fireblade-engine/ecs.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/2] Write sources
[1/2] Write swift-version-6F35C1178C84523A.txt
[3/30] Emitting module FirebladeECS
/Users/admin/builder/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: annotate 'invalid' 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
51 | }
52 |
[4/32] Compiling FirebladeECS Single.swift
[5/32] Compiling FirebladeECS UnorderedSparseSet.swift
[6/32] Compiling FirebladeECS Nexus.swift
[7/32] Compiling FirebladeECS NexusEvent.swift
[8/32] Compiling FirebladeECS NexusEventDelegate.swift
[9/32] Compiling FirebladeECS Nexus+Entity.swift
[10/32] Compiling FirebladeECS Nexus+Family.swift
[11/32] Compiling FirebladeECS Nexus+Internal.swift
[12/32] Compiling FirebladeECS CodingStrategy.swift
[13/32] Compiling FirebladeECS Component.swift
[14/32] Compiling FirebladeECS ComponentIdentifier.swift
[15/32] Compiling FirebladeECS FamilyMemberBuilder.swift
[16/32] Compiling FirebladeECS FamilyRequirementsManaging.swift
[17/32] Compiling FirebladeECS FamilyTraitSet.swift
[18/32] Compiling FirebladeECS Family.swift
[19/32] Compiling FirebladeECS FamilyDecoding.swift
[20/32] Compiling FirebladeECS FamilyEncoding.swift
[21/32] Compiling FirebladeECS ManagedContiguousArray.swift
[22/32] Compiling FirebladeECS Nexus+Component.swift
[23/32] Compiling FirebladeECS Nexus+ComponentsBuilder.swift
[24/32] Compiling FirebladeECS Entity+Component.swift
/Users/admin/builder/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: annotate 'invalid' 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
51 | }
52 |
[25/32] Compiling FirebladeECS Entity.swift
/Users/admin/builder/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: annotate 'invalid' 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
51 | }
52 |
[26/32] Compiling FirebladeECS EntityIdentifier.swift
/Users/admin/builder/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: annotate 'invalid' 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
51 | }
52 |
[27/32] Compiling FirebladeECS EntityIdentifierGenerator.swift
[28/32] Compiling FirebladeECS FSM.swift
[29/32] Compiling FirebladeECS Family+Coding.swift
[30/32] Compiling FirebladeECS Foundation+Extensions.swift
[31/32] Compiling FirebladeECS Family.generated.swift
[32/32] Compiling FirebladeECS Hashing.swift
Build complete! (20.63s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "FirebladeECS",
  "name" : "FirebladeECS",
  "path" : "/Users/admin/builder/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",
        "XCTestManifests.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",
        "XCTestManifests.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.1"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.