Build Information
Successful build of FirebladeECS with Swift 6.0 for Linux.
Swift 6 data race errors: 1
Build Command
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" 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 2>&1
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 /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 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: linux
Swift version: 6.0
Building package at path: $workDir
https://github.com/fireblade-engine/ecs.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" 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 2>&1
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/29] 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 |
[4/32] Compiling FirebladeECS CodingStrategy.swift
[5/32] Compiling FirebladeECS Component.swift
[6/32] Compiling FirebladeECS ComponentIdentifier.swift
[7/32] Compiling FirebladeECS Entity+Component.swift
[8/32] Compiling FirebladeECS Nexus+Internal.swift
[9/32] Compiling FirebladeECS Nexus.swift
[10/32] Compiling FirebladeECS NexusEvent.swift
[11/32] Compiling FirebladeECS NexusEventDelegate.swift
[12/32] Compiling FirebladeECS Single.swift
[13/32] Compiling FirebladeECS UnorderedSparseSet.swift
[14/32] Compiling FirebladeECS Family+Coding.swift
[15/32] Compiling FirebladeECS Family.swift
[16/32] Compiling FirebladeECS FamilyDecoding.swift
[17/32] Compiling FirebladeECS FamilyEncoding.swift
[18/32] 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 |
[19/32] 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 |
[20/32] 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 |
[21/32] 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 |
[22/32] Compiling FirebladeECS Nexus+ComponentsBuilder.swift
[23/32] Compiling FirebladeECS Nexus+Entity.swift
[24/32] Compiling FirebladeECS Nexus+Family.swift
[25/32] Compiling FirebladeECS Family.generated.swift
[26/32] Compiling FirebladeECS Hashing.swift
[27/32] Compiling FirebladeECS ManagedContiguousArray.swift
[28/32] Compiling FirebladeECS Nexus+Component.swift
[29/32] Compiling FirebladeECS FamilyMemberBuilder.swift
[30/32] Compiling FirebladeECS FamilyRequirementsManaging.swift
[31/32] Compiling FirebladeECS FamilyTraitSet.swift
[32/32] Compiling FirebladeECS Foundation+Extensions.swift
Build complete! (14.21s)
Build complete.
{
"dependencies" : [
],
"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",
"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.