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 FirebladeECS, reference 0.17.7 (ae2350), with Swift 6.1 for Wasm on 29 May 2025 21:51:16 UTC.

Swift 6 data race errors: 1

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/fireblade-engine/ecs.git
Reference: 0.17.7
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
 * tag               0.17.7     -> FETCH_HEAD
HEAD is now at ae23509 Fix hosting base path
Cloned https://github.com/fireblade-engine/ecs.git
Revision (git rev-parse @):
ae23509c4a5b8a1631e31fe697279d0cde40c45a
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/fireblade-engine/ecs.git at 0.17.7
========================================
Build
========================================
Selected platform:         wasm
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-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-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.62s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (4.45s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3391] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.40s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.50s)
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] Compiling FirebladeECS CodingStrategy.swift
[6/31] Compiling FirebladeECS Component.swift
[7/31] Compiling FirebladeECS ComponentIdentifier.swift
[8/31] Compiling FirebladeECS Entity+Component.swift
[9/34] Compiling FirebladeECS Family+Coding.swift
[10/34] Compiling FirebladeECS Family.swift
[11/34] Compiling FirebladeECS FamilyDecoding.swift
[12/34] Compiling FirebladeECS FamilyEncoding.swift
[13/34] 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 |
[14/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 |
[15/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 |
[16/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 |
[17/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 |
[18/34] Compiling FirebladeECS Family.generated.swift
[19/34] Compiling FirebladeECS Hashing.swift
[20/34] Compiling FirebladeECS ManagedContiguousArray.swift
[21/34] Compiling FirebladeECS Nexus+Component.swift
[22/34] Compiling FirebladeECS NexusEventDelegate.swift
[23/34] Compiling FirebladeECS Single.swift
[24/34] Compiling FirebladeECS UnorderedSparseSet.swift
[25/34] Compiling FirebladeECS Nexus+Internal.swift
[26/34] Compiling FirebladeECS Nexus.swift
[27/34] Compiling FirebladeECS NexusEvent.swift
[28/34] Compiling FirebladeECS Nexus+ComponentsBuilder.swift
[29/34] Compiling FirebladeECS Nexus+Entity.swift
[30/34] Compiling FirebladeECS Nexus+Family.swift
[31/34] Compiling FirebladeECS FamilyMemberBuilder.swift
[32/34] Compiling FirebladeECS FamilyRequirementsManaging.swift
[33/34] Compiling FirebladeECS FamilyTraitSet.swift
[34/34] Compiling FirebladeECS Foundation+Extensions.swift
Build complete! (27.04s)
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"
}
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Done.