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 0.17.7 (ae2350), with Swift 6.0 for Linux on 2 Dec 2024 09:27:58 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.0-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.58.2
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:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/fireblade-engine/ecs.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-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.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/apple/swift-docc-plugin
[1/2044] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (0.68s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (3.64s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3188] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.65s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.90s)
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
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
[1/1] Compiling plugin Swift-DocC
[2/2] Compiling plugin Swift-DocC Preview
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: 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 |
[6/34] Compiling FirebladeECS NexusEventDelegate.swift
[7/34] Compiling FirebladeECS Single.swift
[8/34] Compiling FirebladeECS UnorderedSparseSet.swift
[9/34] Compiling FirebladeECS Nexus+Internal.swift
[10/34] Compiling FirebladeECS Nexus.swift
[11/34] Compiling FirebladeECS NexusEvent.swift
[12/34] Compiling FirebladeECS Nexus+ComponentsBuilder.swift
[13/34] Compiling FirebladeECS Nexus+Entity.swift
[14/34] Compiling FirebladeECS Nexus+Family.swift
[15/34] Compiling FirebladeECS CodingStrategy.swift
[16/34] Compiling FirebladeECS Component.swift
[17/34] Compiling FirebladeECS ComponentIdentifier.swift
[18/34] Compiling FirebladeECS Entity+Component.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: 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 |
[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: 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 |
[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: 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 |
[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: 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 |
[23/34] Compiling FirebladeECS Family.generated.swift
[24/34] Compiling FirebladeECS Hashing.swift
[25/34] Compiling FirebladeECS ManagedContiguousArray.swift
[26/34] Compiling FirebladeECS Nexus+Component.swift
[27/34] Compiling FirebladeECS Family+Coding.swift
[28/34] Compiling FirebladeECS Family.swift
[29/34] Compiling FirebladeECS FamilyDecoding.swift
[30/34] Compiling FirebladeECS FamilyEncoding.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! (45.64s)
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.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.