Build Information
Successful build of JelloSwift, reference 0.16.0 (ce1dac
), with Swift 6.1 for macOS (SPM) on 29 Apr 2025 08:35:14 UTC.
Swift 6 data race errors: 14
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/LuizZak/JelloSwift.git
Reference: 0.16.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/LuizZak/JelloSwift
* tag 0.16.0 -> FETCH_HEAD
HEAD is now at ce1dac7 Updating Changelog
Cloned https://github.com/LuizZak/JelloSwift.git
Revision (git rev-parse @):
ce1dac711d77572141236816d898695361f9e06d
SUCCESS checkout https://github.com/LuizZak/JelloSwift.git at 0.16.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "jelloswift",
"name": "JelloSwift",
"url": "https://github.com/LuizZak/JelloSwift.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/JelloSwift",
"dependencies": [
]
}
]
}
Fetching https://github.com/LuizZak/JelloSwift.git
[1/3909] Fetching jelloswift
Fetched https://github.com/LuizZak/JelloSwift.git from cache (0.94s)
Creating working copy for https://github.com/LuizZak/JelloSwift.git
Working copy of https://github.com/LuizZak/JelloSwift.git resolved at 0.16.0 (ce1dac7)
warning: '.resolve-product-dependencies': dependency 'jelloswift' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/LuizZak/JelloSwift.git
https://github.com/LuizZak/JelloSwift.git
{
"dependencies" : [
],
"manifest_display_name" : "JelloSwift",
"name" : "JelloSwift",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "JelloSwift",
"targets" : [
"JelloSwift"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "JelloSwiftTests",
"module_type" : "SwiftTarget",
"name" : "JelloSwiftTests",
"path" : "Tests/JelloSwiftTests",
"sources" : [
"BodyTests.swift",
"Geometry/AABBTests.swift",
"Geometry/ClosedShapeTests.swift",
"Geometry/GeomUtilsTests.swift",
"Geometry/Vector2Tests.swift",
"JelloSwiftTests.swift",
"PhysicsMathTest.swift",
"PointMassTests.swift",
"WorldTests.swift"
],
"target_dependencies" : [
"JelloSwift"
],
"type" : "test"
},
{
"c99name" : "JelloSwift",
"module_type" : "SwiftTarget",
"name" : "JelloSwift",
"path" : "Sources",
"product_memberships" : [
"JelloSwift"
],
"sources" : [
"Bitmask.swift",
"Body.swift",
"BodyCollisionInformation.swift",
"BodyComponent.swift",
"BodyEdge.swift",
"BodyJoint.swift",
"CollisionObserver.swift",
"Components/GravityComponent.swift",
"Components/PressureComponent.swift",
"Components/ShapeMatchComponent.swift",
"Components/SpringComponent.swift",
"Geometry/AABB.swift",
"Geometry/ClosedShape.swift",
"Geometry/GeomUtils.swift",
"Geometry/JFloat.swift",
"Geometry/Matrix3x3.swift",
"Geometry/Vector2.swift",
"Geometry/Vector3.swift",
"Geometry/VectorRepresentable.swift",
"InternalSpring.swift",
"JointLink.swift",
"JointLinks/BodyJointLink.swift",
"JointLinks/EdgeJointLink.swift",
"JointLinks/PointJointLink.swift",
"JointLinks/ShapeJointLink.swift",
"JointLinks/WeightedShapeJointLink.swift",
"MaterialPair.swift",
"PhysicsUtils.swift",
"PointMass.swift",
"RenderingSettings.swift",
"RestDistance.swift",
"SpringBodyJoint.swift",
"Utils.swift",
"World.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/34] Emitting module JelloSwift
/Users/admin/builder/spi-builder-workspace/Sources/Components/GravityComponent.swift:53:23: warning: static property 'bodyComponentClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
51 | public struct GravityComponentCreator: BodyComponentCreator, Codable {
52 |
53 | public static var bodyComponentClass: BodyComponent.Type = GravityComponent.self
| |- warning: static property 'bodyComponentClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bodyComponentClass' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'bodyComponentClass' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 |
55 | public var vector: Vector2
/Users/admin/builder/spi-builder-workspace/Sources/Components/PressureComponent.swift:57:23: warning: static property 'bodyComponentClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
55 | public struct PressureComponentCreator: BodyComponentCreator, Codable {
56 |
57 | public static var bodyComponentClass: BodyComponent.Type = PressureComponent.self
| |- warning: static property 'bodyComponentClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bodyComponentClass' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'bodyComponentClass' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 |
59 | /// The gas pressure coefficient for the pressure component.
/Users/admin/builder/spi-builder-workspace/Sources/Components/ShapeMatchComponent.swift:163:23: warning: static property 'bodyComponentClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
161 | public struct ShapeMatchComponentCreator: BodyComponentCreator, Codable {
162 |
163 | public static var bodyComponentClass: BodyComponent.Type = ShapeMatchComponent.self
| |- warning: static property 'bodyComponentClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bodyComponentClass' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'bodyComponentClass' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
164 |
165 | /// Whether the shape matching is on - turning on shape matching will make
/Users/admin/builder/spi-builder-workspace/Sources/Components/SpringComponent.swift:273:23: warning: static property 'bodyComponentClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
271 | public struct SpringComponentCreator: BodyComponentCreator, Codable {
272 |
273 | public static var bodyComponentClass: BodyComponent.Type = SpringComponent.self
| |- warning: static property 'bodyComponentClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bodyComponentClass' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'bodyComponentClass' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
274 |
275 | /// Whether the shape matching is on - turning on shape matching will make
/Users/admin/builder/spi-builder-workspace/Sources/Geometry/AABB.swift:13:16: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'AABB' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// Represents an axis-aligned bounding box, utilized to figure out the AABB of
10 | /// soft-bodies
11 | public struct AABB: Codable {
| `- note: consider making struct 'AABB' conform to the 'Sendable' protocol
12 | /// Returns an empty, invalid AABB
13 | static let empty = AABB()
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'AABB' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'empty' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | /// The validity of this AABB.
/Users/admin/builder/spi-builder-workspace/Sources/Geometry/Vector2.swift:15:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Vector2' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// Represents a 2D vector
12 | public struct Vector2: VectorRepresentable, Equatable, CustomStringConvertible, Codable {
| `- note: consider making struct 'Vector2' conform to the 'Sendable' protocol
13 |
14 | /// A zeroed-value Vector2
15 | public static let zero = Vector2(x: 0, y: 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Vector2' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | /// An unit-valued Vector2
/Users/admin/builder/spi-builder-workspace/Sources/Geometry/Vector2.swift:18:23: warning: static property 'unit' is not concurrency-safe because non-'Sendable' type 'Vector2' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// Represents a 2D vector
12 | public struct Vector2: VectorRepresentable, Equatable, CustomStringConvertible, Codable {
| `- note: consider making struct 'Vector2' conform to the 'Sendable' protocol
13 |
14 | /// A zeroed-value Vector2
:
16 |
17 | /// An unit-valued Vector2
18 | public static let unit = Vector2(x: 1, y: 1)
| |- warning: static property 'unit' is not concurrency-safe because non-'Sendable' type 'Vector2' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'unit' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | /// An unit-valued Vector2.
/Users/admin/builder/spi-builder-workspace/Sources/Geometry/Vector2.swift:22:23: warning: static property 'one' is not concurrency-safe because non-'Sendable' type 'Vector2' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// Represents a 2D vector
12 | public struct Vector2: VectorRepresentable, Equatable, CustomStringConvertible, Codable {
| `- note: consider making struct 'Vector2' conform to the 'Sendable' protocol
13 |
14 | /// A zeroed-value Vector2
:
20 | /// An unit-valued Vector2.
21 | /// Alias for 'unit'.
22 | public static let one = unit
| |- warning: static property 'one' is not concurrency-safe because non-'Sendable' type 'Vector2' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'one' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | /// This is used during affine transformation
/Users/admin/builder/spi-builder-workspace/Sources/Geometry/Vector2.swift:334:5: warning: let '_identityMatrix' is not concurrency-safe because non-'Sendable' type 'Matrix3x3' may have shared mutable state; this is an error in the Swift 6 language mode
332 |
333 | @usableFromInline
334 | let _identityMatrix = Matrix3x3(diagonal: 1)
| |- warning: let '_identityMatrix' is not concurrency-safe because non-'Sendable' type 'Matrix3x3' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let '_identityMatrix' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
335 |
336 | // MARK: Matrix-transformation
/Users/admin/builder/spi-builder-workspace/Sources/Geometry/Matrix3x3.swift:4:15: note: consider making struct 'Matrix3x3' conform to the 'Sendable' protocol
2 |
3 | /// Plain 3-row 3-column Matrix with real components.
4 | public struct Matrix3x3: CustomStringConvertible {
| `- note: consider making struct 'Matrix3x3' conform to the 'Sendable' protocol
5 | public typealias Scalar = JFloat
6 |
/Users/admin/builder/spi-builder-workspace/Sources/Geometry/Vector3.swift:7:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Vector3' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents a 2D vector
4 | public struct Vector3: Equatable, CustomStringConvertible, Codable {
| `- note: consider making struct 'Vector3' conform to the 'Sendable' protocol
5 |
6 | /// A zeroed-value Vector3
7 | public static let zero: Self = Vector3(x: 0, y: 0, z: 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Vector3' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 |
9 | /// An unit-valued Vector3
/Users/admin/builder/spi-builder-workspace/Sources/Geometry/Vector3.swift:10:23: warning: static property 'unit' is not concurrency-safe because non-'Sendable' type 'Vector3' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents a 2D vector
4 | public struct Vector3: Equatable, CustomStringConvertible, Codable {
| `- note: consider making struct 'Vector3' conform to the 'Sendable' protocol
5 |
6 | /// A zeroed-value Vector3
:
8 |
9 | /// An unit-valued Vector3
10 | public static let unit: Self = Vector3(x: 1, y: 1, z: 1)
| |- warning: static property 'unit' is not concurrency-safe because non-'Sendable' type 'Vector3' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'unit' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | /// An unit-valued Vector3.
/Users/admin/builder/spi-builder-workspace/Sources/Geometry/Vector3.swift:14:23: warning: static property 'one' is not concurrency-safe because non-'Sendable' type 'Vector3' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents a 2D vector
4 | public struct Vector3: Equatable, CustomStringConvertible, Codable {
| `- note: consider making struct 'Vector3' conform to the 'Sendable' protocol
5 |
6 | /// A zeroed-value Vector3
:
12 | /// An unit-valued Vector3.
13 | /// Alias for 'unit'.
14 | public static let one = unit
| |- warning: static property 'one' is not concurrency-safe because non-'Sendable' type 'Vector3' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'one' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | /// The JFloat representation of this vector's x axis
/Users/admin/builder/spi-builder-workspace/Sources/RenderingSettings.swift:10:12: warning: var 'renderingScale' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// The rendering scale for the scene
10 | public var renderingScale = Vector2(x: 25.8, y: 25.8)
| |- warning: var 'renderingScale' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'renderingScale' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'renderingScale' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | /// The offset is independent of the scale, unlike Flash DisplayObject's x-y
/Users/admin/builder/spi-builder-workspace/Sources/RenderingSettings.swift:14:12: warning: var 'renderingOffset' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | /// The offset is independent of the scale, unlike Flash DisplayObject's x-y
13 | /// coordinates and scaleX-scaleY
14 | public var renderingOffset = Vector2(x: 300, y: -50)
| |- warning: var 'renderingOffset' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'renderingOffset' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'renderingOffset' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | /// Transforms the given point on stage coordinates into World coordinates by
[4/37] Compiling JelloSwift SpringBodyJoint.swift
[5/37] Compiling JelloSwift Utils.swift
[6/37] Compiling JelloSwift World.swift
[7/37] Compiling JelloSwift EdgeJointLink.swift
[8/37] Compiling JelloSwift PointJointLink.swift
[9/37] Compiling JelloSwift ShapeJointLink.swift
[10/37] Compiling JelloSwift PointMass.swift
/Users/admin/builder/spi-builder-workspace/Sources/RenderingSettings.swift:10:12: warning: var 'renderingScale' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// The rendering scale for the scene
10 | public var renderingScale = Vector2(x: 25.8, y: 25.8)
| |- warning: var 'renderingScale' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'renderingScale' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'renderingScale' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | /// The offset is independent of the scale, unlike Flash DisplayObject's x-y
/Users/admin/builder/spi-builder-workspace/Sources/RenderingSettings.swift:14:12: warning: var 'renderingOffset' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | /// The offset is independent of the scale, unlike Flash DisplayObject's x-y
13 | /// coordinates and scaleX-scaleY
14 | public var renderingOffset = Vector2(x: 300, y: -50)
| |- warning: var 'renderingOffset' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'renderingOffset' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'renderingOffset' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | /// Transforms the given point on stage coordinates into World coordinates by
[11/37] Compiling JelloSwift RenderingSettings.swift
/Users/admin/builder/spi-builder-workspace/Sources/RenderingSettings.swift:10:12: warning: var 'renderingScale' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// The rendering scale for the scene
10 | public var renderingScale = Vector2(x: 25.8, y: 25.8)
| |- warning: var 'renderingScale' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'renderingScale' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'renderingScale' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | /// The offset is independent of the scale, unlike Flash DisplayObject's x-y
/Users/admin/builder/spi-builder-workspace/Sources/RenderingSettings.swift:14:12: warning: var 'renderingOffset' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | /// The offset is independent of the scale, unlike Flash DisplayObject's x-y
13 | /// coordinates and scaleX-scaleY
14 | public var renderingOffset = Vector2(x: 300, y: -50)
| |- warning: var 'renderingOffset' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'renderingOffset' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'renderingOffset' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | /// Transforms the given point on stage coordinates into World coordinates by
[12/37] Compiling JelloSwift RestDistance.swift
/Users/admin/builder/spi-builder-workspace/Sources/RenderingSettings.swift:10:12: warning: var 'renderingScale' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// The rendering scale for the scene
10 | public var renderingScale = Vector2(x: 25.8, y: 25.8)
| |- warning: var 'renderingScale' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'renderingScale' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'renderingScale' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | /// The offset is independent of the scale, unlike Flash DisplayObject's x-y
/Users/admin/builder/spi-builder-workspace/Sources/RenderingSettings.swift:14:12: warning: var 'renderingOffset' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | /// The offset is independent of the scale, unlike Flash DisplayObject's x-y
13 | /// coordinates and scaleX-scaleY
14 | public var renderingOffset = Vector2(x: 300, y: -50)
| |- warning: var 'renderingOffset' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'renderingOffset' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'renderingOffset' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | /// Transforms the given point on stage coordinates into World coordinates by
[13/37] Compiling JelloSwift WeightedShapeJointLink.swift
[14/37] Compiling JelloSwift MaterialPair.swift
[15/37] Compiling JelloSwift PhysicsUtils.swift
[16/37] Compiling JelloSwift InternalSpring.swift
[17/37] Compiling JelloSwift JointLink.swift
[18/37] Compiling JelloSwift BodyJointLink.swift
[19/37] Compiling JelloSwift PressureComponent.swift
/Users/admin/builder/spi-builder-workspace/Sources/Components/PressureComponent.swift:57:23: warning: static property 'bodyComponentClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
55 | public struct PressureComponentCreator: BodyComponentCreator, Codable {
56 |
57 | public static var bodyComponentClass: BodyComponent.Type = PressureComponent.self
| |- warning: static property 'bodyComponentClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bodyComponentClass' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'bodyComponentClass' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 |
59 | /// The gas pressure coefficient for the pressure component.
/Users/admin/builder/spi-builder-workspace/Sources/Components/ShapeMatchComponent.swift:163:23: warning: static property 'bodyComponentClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
161 | public struct ShapeMatchComponentCreator: BodyComponentCreator, Codable {
162 |
163 | public static var bodyComponentClass: BodyComponent.Type = ShapeMatchComponent.self
| |- warning: static property 'bodyComponentClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bodyComponentClass' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'bodyComponentClass' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
164 |
165 | /// Whether the shape matching is on - turning on shape matching will make
/Users/admin/builder/spi-builder-workspace/Sources/Components/SpringComponent.swift:273:23: warning: static property 'bodyComponentClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
271 | public struct SpringComponentCreator: BodyComponentCreator, Codable {
272 |
273 | public static var bodyComponentClass: BodyComponent.Type = SpringComponent.self
| |- warning: static property 'bodyComponentClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bodyComponentClass' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'bodyComponentClass' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
274 |
275 | /// Whether the shape matching is on - turning on shape matching will make
/Users/admin/builder/spi-builder-workspace/Sources/Geometry/AABB.swift:13:16: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'AABB' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// Represents an axis-aligned bounding box, utilized to figure out the AABB of
10 | /// soft-bodies
11 | public struct AABB: Codable {
| `- note: consider making struct 'AABB' conform to the 'Sendable' protocol
12 | /// Returns an empty, invalid AABB
13 | static let empty = AABB()
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'AABB' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'empty' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | /// The validity of this AABB.
[20/37] Compiling JelloSwift ShapeMatchComponent.swift
/Users/admin/builder/spi-builder-workspace/Sources/Components/PressureComponent.swift:57:23: warning: static property 'bodyComponentClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
55 | public struct PressureComponentCreator: BodyComponentCreator, Codable {
56 |
57 | public static var bodyComponentClass: BodyComponent.Type = PressureComponent.self
| |- warning: static property 'bodyComponentClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bodyComponentClass' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'bodyComponentClass' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 |
59 | /// The gas pressure coefficient for the pressure component.
/Users/admin/builder/spi-builder-workspace/Sources/Components/ShapeMatchComponent.swift:163:23: warning: static property 'bodyComponentClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
161 | public struct ShapeMatchComponentCreator: BodyComponentCreator, Codable {
162 |
163 | public static var bodyComponentClass: BodyComponent.Type = ShapeMatchComponent.self
| |- warning: static property 'bodyComponentClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bodyComponentClass' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'bodyComponentClass' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
164 |
165 | /// Whether the shape matching is on - turning on shape matching will make
/Users/admin/builder/spi-builder-workspace/Sources/Components/SpringComponent.swift:273:23: warning: static property 'bodyComponentClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
271 | public struct SpringComponentCreator: BodyComponentCreator, Codable {
272 |
273 | public static var bodyComponentClass: BodyComponent.Type = SpringComponent.self
| |- warning: static property 'bodyComponentClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bodyComponentClass' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'bodyComponentClass' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
274 |
275 | /// Whether the shape matching is on - turning on shape matching will make
/Users/admin/builder/spi-builder-workspace/Sources/Geometry/AABB.swift:13:16: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'AABB' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// Represents an axis-aligned bounding box, utilized to figure out the AABB of
10 | /// soft-bodies
11 | public struct AABB: Codable {
| `- note: consider making struct 'AABB' conform to the 'Sendable' protocol
12 | /// Returns an empty, invalid AABB
13 | static let empty = AABB()
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'AABB' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'empty' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | /// The validity of this AABB.
[21/37] Compiling JelloSwift SpringComponent.swift
/Users/admin/builder/spi-builder-workspace/Sources/Components/PressureComponent.swift:57:23: warning: static property 'bodyComponentClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
55 | public struct PressureComponentCreator: BodyComponentCreator, Codable {
56 |
57 | public static var bodyComponentClass: BodyComponent.Type = PressureComponent.self
| |- warning: static property 'bodyComponentClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bodyComponentClass' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'bodyComponentClass' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 |
59 | /// The gas pressure coefficient for the pressure component.
/Users/admin/builder/spi-builder-workspace/Sources/Components/ShapeMatchComponent.swift:163:23: warning: static property 'bodyComponentClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
161 | public struct ShapeMatchComponentCreator: BodyComponentCreator, Codable {
162 |
163 | public static var bodyComponentClass: BodyComponent.Type = ShapeMatchComponent.self
| |- warning: static property 'bodyComponentClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bodyComponentClass' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'bodyComponentClass' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
164 |
165 | /// Whether the shape matching is on - turning on shape matching will make
/Users/admin/builder/spi-builder-workspace/Sources/Components/SpringComponent.swift:273:23: warning: static property 'bodyComponentClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
271 | public struct SpringComponentCreator: BodyComponentCreator, Codable {
272 |
273 | public static var bodyComponentClass: BodyComponent.Type = SpringComponent.self
| |- warning: static property 'bodyComponentClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bodyComponentClass' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'bodyComponentClass' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
274 |
275 | /// Whether the shape matching is on - turning on shape matching will make
/Users/admin/builder/spi-builder-workspace/Sources/Geometry/AABB.swift:13:16: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'AABB' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// Represents an axis-aligned bounding box, utilized to figure out the AABB of
10 | /// soft-bodies
11 | public struct AABB: Codable {
| `- note: consider making struct 'AABB' conform to the 'Sendable' protocol
12 | /// Returns an empty, invalid AABB
13 | static let empty = AABB()
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'AABB' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'empty' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | /// The validity of this AABB.
[22/37] Compiling JelloSwift AABB.swift
/Users/admin/builder/spi-builder-workspace/Sources/Components/PressureComponent.swift:57:23: warning: static property 'bodyComponentClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
55 | public struct PressureComponentCreator: BodyComponentCreator, Codable {
56 |
57 | public static var bodyComponentClass: BodyComponent.Type = PressureComponent.self
| |- warning: static property 'bodyComponentClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bodyComponentClass' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'bodyComponentClass' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 |
59 | /// The gas pressure coefficient for the pressure component.
/Users/admin/builder/spi-builder-workspace/Sources/Components/ShapeMatchComponent.swift:163:23: warning: static property 'bodyComponentClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
161 | public struct ShapeMatchComponentCreator: BodyComponentCreator, Codable {
162 |
163 | public static var bodyComponentClass: BodyComponent.Type = ShapeMatchComponent.self
| |- warning: static property 'bodyComponentClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bodyComponentClass' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'bodyComponentClass' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
164 |
165 | /// Whether the shape matching is on - turning on shape matching will make
/Users/admin/builder/spi-builder-workspace/Sources/Components/SpringComponent.swift:273:23: warning: static property 'bodyComponentClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
271 | public struct SpringComponentCreator: BodyComponentCreator, Codable {
272 |
273 | public static var bodyComponentClass: BodyComponent.Type = SpringComponent.self
| |- warning: static property 'bodyComponentClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bodyComponentClass' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'bodyComponentClass' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
274 |
275 | /// Whether the shape matching is on - turning on shape matching will make
/Users/admin/builder/spi-builder-workspace/Sources/Geometry/AABB.swift:13:16: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'AABB' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// Represents an axis-aligned bounding box, utilized to figure out the AABB of
10 | /// soft-bodies
11 | public struct AABB: Codable {
| `- note: consider making struct 'AABB' conform to the 'Sendable' protocol
12 | /// Returns an empty, invalid AABB
13 | static let empty = AABB()
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'AABB' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'empty' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | /// The validity of this AABB.
[23/37] Compiling JelloSwift ClosedShape.swift
[24/37] Compiling JelloSwift GeomUtils.swift
[25/37] Compiling JelloSwift JFloat.swift
[26/37] Compiling JelloSwift Matrix3x3.swift
[27/37] Compiling JelloSwift Vector2.swift
/Users/admin/builder/spi-builder-workspace/Sources/Geometry/Vector2.swift:15:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Vector2' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// Represents a 2D vector
12 | public struct Vector2: VectorRepresentable, Equatable, CustomStringConvertible, Codable {
| `- note: consider making struct 'Vector2' conform to the 'Sendable' protocol
13 |
14 | /// A zeroed-value Vector2
15 | public static let zero = Vector2(x: 0, y: 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Vector2' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | /// An unit-valued Vector2
/Users/admin/builder/spi-builder-workspace/Sources/Geometry/Vector2.swift:18:23: warning: static property 'unit' is not concurrency-safe because non-'Sendable' type 'Vector2' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// Represents a 2D vector
12 | public struct Vector2: VectorRepresentable, Equatable, CustomStringConvertible, Codable {
| `- note: consider making struct 'Vector2' conform to the 'Sendable' protocol
13 |
14 | /// A zeroed-value Vector2
:
16 |
17 | /// An unit-valued Vector2
18 | public static let unit = Vector2(x: 1, y: 1)
| |- warning: static property 'unit' is not concurrency-safe because non-'Sendable' type 'Vector2' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'unit' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | /// An unit-valued Vector2.
/Users/admin/builder/spi-builder-workspace/Sources/Geometry/Vector2.swift:22:23: warning: static property 'one' is not concurrency-safe because non-'Sendable' type 'Vector2' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// Represents a 2D vector
12 | public struct Vector2: VectorRepresentable, Equatable, CustomStringConvertible, Codable {
| `- note: consider making struct 'Vector2' conform to the 'Sendable' protocol
13 |
14 | /// A zeroed-value Vector2
:
20 | /// An unit-valued Vector2.
21 | /// Alias for 'unit'.
22 | public static let one = unit
| |- warning: static property 'one' is not concurrency-safe because non-'Sendable' type 'Vector2' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'one' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | /// This is used during affine transformation
/Users/admin/builder/spi-builder-workspace/Sources/Geometry/Vector2.swift:334:5: warning: let '_identityMatrix' is not concurrency-safe because non-'Sendable' type 'Matrix3x3' may have shared mutable state; this is an error in the Swift 6 language mode
332 |
333 | @usableFromInline
334 | let _identityMatrix = Matrix3x3(diagonal: 1)
| |- warning: let '_identityMatrix' is not concurrency-safe because non-'Sendable' type 'Matrix3x3' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let '_identityMatrix' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
335 |
336 | // MARK: Matrix-transformation
/Users/admin/builder/spi-builder-workspace/Sources/Geometry/Matrix3x3.swift:4:15: note: consider making struct 'Matrix3x3' conform to the 'Sendable' protocol
2 |
3 | /// Plain 3-row 3-column Matrix with real components.
4 | public struct Matrix3x3: CustomStringConvertible {
| `- note: consider making struct 'Matrix3x3' conform to the 'Sendable' protocol
5 | public typealias Scalar = JFloat
6 |
/Users/admin/builder/spi-builder-workspace/Sources/Geometry/Vector3.swift:7:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Vector3' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents a 2D vector
4 | public struct Vector3: Equatable, CustomStringConvertible, Codable {
| `- note: consider making struct 'Vector3' conform to the 'Sendable' protocol
5 |
6 | /// A zeroed-value Vector3
7 | public static let zero: Self = Vector3(x: 0, y: 0, z: 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Vector3' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 |
9 | /// An unit-valued Vector3
/Users/admin/builder/spi-builder-workspace/Sources/Geometry/Vector3.swift:10:23: warning: static property 'unit' is not concurrency-safe because non-'Sendable' type 'Vector3' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents a 2D vector
4 | public struct Vector3: Equatable, CustomStringConvertible, Codable {
| `- note: consider making struct 'Vector3' conform to the 'Sendable' protocol
5 |
6 | /// A zeroed-value Vector3
:
8 |
9 | /// An unit-valued Vector3
10 | public static let unit: Self = Vector3(x: 1, y: 1, z: 1)
| |- warning: static property 'unit' is not concurrency-safe because non-'Sendable' type 'Vector3' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'unit' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | /// An unit-valued Vector3.
/Users/admin/builder/spi-builder-workspace/Sources/Geometry/Vector3.swift:14:23: warning: static property 'one' is not concurrency-safe because non-'Sendable' type 'Vector3' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents a 2D vector
4 | public struct Vector3: Equatable, CustomStringConvertible, Codable {
| `- note: consider making struct 'Vector3' conform to the 'Sendable' protocol
5 |
6 | /// A zeroed-value Vector3
:
12 | /// An unit-valued Vector3.
13 | /// Alias for 'unit'.
14 | public static let one = unit
| |- warning: static property 'one' is not concurrency-safe because non-'Sendable' type 'Vector3' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'one' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | /// The JFloat representation of this vector's x axis
[28/37] Compiling JelloSwift Vector3.swift
/Users/admin/builder/spi-builder-workspace/Sources/Geometry/Vector2.swift:15:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Vector2' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// Represents a 2D vector
12 | public struct Vector2: VectorRepresentable, Equatable, CustomStringConvertible, Codable {
| `- note: consider making struct 'Vector2' conform to the 'Sendable' protocol
13 |
14 | /// A zeroed-value Vector2
15 | public static let zero = Vector2(x: 0, y: 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Vector2' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | /// An unit-valued Vector2
/Users/admin/builder/spi-builder-workspace/Sources/Geometry/Vector2.swift:18:23: warning: static property 'unit' is not concurrency-safe because non-'Sendable' type 'Vector2' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// Represents a 2D vector
12 | public struct Vector2: VectorRepresentable, Equatable, CustomStringConvertible, Codable {
| `- note: consider making struct 'Vector2' conform to the 'Sendable' protocol
13 |
14 | /// A zeroed-value Vector2
:
16 |
17 | /// An unit-valued Vector2
18 | public static let unit = Vector2(x: 1, y: 1)
| |- warning: static property 'unit' is not concurrency-safe because non-'Sendable' type 'Vector2' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'unit' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | /// An unit-valued Vector2.
/Users/admin/builder/spi-builder-workspace/Sources/Geometry/Vector2.swift:22:23: warning: static property 'one' is not concurrency-safe because non-'Sendable' type 'Vector2' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// Represents a 2D vector
12 | public struct Vector2: VectorRepresentable, Equatable, CustomStringConvertible, Codable {
| `- note: consider making struct 'Vector2' conform to the 'Sendable' protocol
13 |
14 | /// A zeroed-value Vector2
:
20 | /// An unit-valued Vector2.
21 | /// Alias for 'unit'.
22 | public static let one = unit
| |- warning: static property 'one' is not concurrency-safe because non-'Sendable' type 'Vector2' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'one' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | /// This is used during affine transformation
/Users/admin/builder/spi-builder-workspace/Sources/Geometry/Vector2.swift:334:5: warning: let '_identityMatrix' is not concurrency-safe because non-'Sendable' type 'Matrix3x3' may have shared mutable state; this is an error in the Swift 6 language mode
332 |
333 | @usableFromInline
334 | let _identityMatrix = Matrix3x3(diagonal: 1)
| |- warning: let '_identityMatrix' is not concurrency-safe because non-'Sendable' type 'Matrix3x3' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let '_identityMatrix' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
335 |
336 | // MARK: Matrix-transformation
/Users/admin/builder/spi-builder-workspace/Sources/Geometry/Matrix3x3.swift:4:15: note: consider making struct 'Matrix3x3' conform to the 'Sendable' protocol
2 |
3 | /// Plain 3-row 3-column Matrix with real components.
4 | public struct Matrix3x3: CustomStringConvertible {
| `- note: consider making struct 'Matrix3x3' conform to the 'Sendable' protocol
5 | public typealias Scalar = JFloat
6 |
/Users/admin/builder/spi-builder-workspace/Sources/Geometry/Vector3.swift:7:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Vector3' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents a 2D vector
4 | public struct Vector3: Equatable, CustomStringConvertible, Codable {
| `- note: consider making struct 'Vector3' conform to the 'Sendable' protocol
5 |
6 | /// A zeroed-value Vector3
7 | public static let zero: Self = Vector3(x: 0, y: 0, z: 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Vector3' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 |
9 | /// An unit-valued Vector3
/Users/admin/builder/spi-builder-workspace/Sources/Geometry/Vector3.swift:10:23: warning: static property 'unit' is not concurrency-safe because non-'Sendable' type 'Vector3' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents a 2D vector
4 | public struct Vector3: Equatable, CustomStringConvertible, Codable {
| `- note: consider making struct 'Vector3' conform to the 'Sendable' protocol
5 |
6 | /// A zeroed-value Vector3
:
8 |
9 | /// An unit-valued Vector3
10 | public static let unit: Self = Vector3(x: 1, y: 1, z: 1)
| |- warning: static property 'unit' is not concurrency-safe because non-'Sendable' type 'Vector3' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'unit' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | /// An unit-valued Vector3.
/Users/admin/builder/spi-builder-workspace/Sources/Geometry/Vector3.swift:14:23: warning: static property 'one' is not concurrency-safe because non-'Sendable' type 'Vector3' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents a 2D vector
4 | public struct Vector3: Equatable, CustomStringConvertible, Codable {
| `- note: consider making struct 'Vector3' conform to the 'Sendable' protocol
5 |
6 | /// A zeroed-value Vector3
:
12 | /// An unit-valued Vector3.
13 | /// Alias for 'unit'.
14 | public static let one = unit
| |- warning: static property 'one' is not concurrency-safe because non-'Sendable' type 'Vector3' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'one' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | /// The JFloat representation of this vector's x axis
[29/37] Compiling JelloSwift VectorRepresentable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Geometry/Vector2.swift:15:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Vector2' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// Represents a 2D vector
12 | public struct Vector2: VectorRepresentable, Equatable, CustomStringConvertible, Codable {
| `- note: consider making struct 'Vector2' conform to the 'Sendable' protocol
13 |
14 | /// A zeroed-value Vector2
15 | public static let zero = Vector2(x: 0, y: 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Vector2' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | /// An unit-valued Vector2
/Users/admin/builder/spi-builder-workspace/Sources/Geometry/Vector2.swift:18:23: warning: static property 'unit' is not concurrency-safe because non-'Sendable' type 'Vector2' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// Represents a 2D vector
12 | public struct Vector2: VectorRepresentable, Equatable, CustomStringConvertible, Codable {
| `- note: consider making struct 'Vector2' conform to the 'Sendable' protocol
13 |
14 | /// A zeroed-value Vector2
:
16 |
17 | /// An unit-valued Vector2
18 | public static let unit = Vector2(x: 1, y: 1)
| |- warning: static property 'unit' is not concurrency-safe because non-'Sendable' type 'Vector2' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'unit' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | /// An unit-valued Vector2.
/Users/admin/builder/spi-builder-workspace/Sources/Geometry/Vector2.swift:22:23: warning: static property 'one' is not concurrency-safe because non-'Sendable' type 'Vector2' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// Represents a 2D vector
12 | public struct Vector2: VectorRepresentable, Equatable, CustomStringConvertible, Codable {
| `- note: consider making struct 'Vector2' conform to the 'Sendable' protocol
13 |
14 | /// A zeroed-value Vector2
:
20 | /// An unit-valued Vector2.
21 | /// Alias for 'unit'.
22 | public static let one = unit
| |- warning: static property 'one' is not concurrency-safe because non-'Sendable' type 'Vector2' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'one' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | /// This is used during affine transformation
/Users/admin/builder/spi-builder-workspace/Sources/Geometry/Vector2.swift:334:5: warning: let '_identityMatrix' is not concurrency-safe because non-'Sendable' type 'Matrix3x3' may have shared mutable state; this is an error in the Swift 6 language mode
332 |
333 | @usableFromInline
334 | let _identityMatrix = Matrix3x3(diagonal: 1)
| |- warning: let '_identityMatrix' is not concurrency-safe because non-'Sendable' type 'Matrix3x3' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let '_identityMatrix' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
335 |
336 | // MARK: Matrix-transformation
/Users/admin/builder/spi-builder-workspace/Sources/Geometry/Matrix3x3.swift:4:15: note: consider making struct 'Matrix3x3' conform to the 'Sendable' protocol
2 |
3 | /// Plain 3-row 3-column Matrix with real components.
4 | public struct Matrix3x3: CustomStringConvertible {
| `- note: consider making struct 'Matrix3x3' conform to the 'Sendable' protocol
5 | public typealias Scalar = JFloat
6 |
/Users/admin/builder/spi-builder-workspace/Sources/Geometry/Vector3.swift:7:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Vector3' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents a 2D vector
4 | public struct Vector3: Equatable, CustomStringConvertible, Codable {
| `- note: consider making struct 'Vector3' conform to the 'Sendable' protocol
5 |
6 | /// A zeroed-value Vector3
7 | public static let zero: Self = Vector3(x: 0, y: 0, z: 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Vector3' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 |
9 | /// An unit-valued Vector3
/Users/admin/builder/spi-builder-workspace/Sources/Geometry/Vector3.swift:10:23: warning: static property 'unit' is not concurrency-safe because non-'Sendable' type 'Vector3' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents a 2D vector
4 | public struct Vector3: Equatable, CustomStringConvertible, Codable {
| `- note: consider making struct 'Vector3' conform to the 'Sendable' protocol
5 |
6 | /// A zeroed-value Vector3
:
8 |
9 | /// An unit-valued Vector3
10 | public static let unit: Self = Vector3(x: 1, y: 1, z: 1)
| |- warning: static property 'unit' is not concurrency-safe because non-'Sendable' type 'Vector3' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'unit' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | /// An unit-valued Vector3.
/Users/admin/builder/spi-builder-workspace/Sources/Geometry/Vector3.swift:14:23: warning: static property 'one' is not concurrency-safe because non-'Sendable' type 'Vector3' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents a 2D vector
4 | public struct Vector3: Equatable, CustomStringConvertible, Codable {
| `- note: consider making struct 'Vector3' conform to the 'Sendable' protocol
5 |
6 | /// A zeroed-value Vector3
:
12 | /// An unit-valued Vector3.
13 | /// Alias for 'unit'.
14 | public static let one = unit
| |- warning: static property 'one' is not concurrency-safe because non-'Sendable' type 'Vector3' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'one' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | /// The JFloat representation of this vector's x axis
[30/37] Compiling JelloSwift BodyEdge.swift
/Users/admin/builder/spi-builder-workspace/Sources/Components/GravityComponent.swift:53:23: warning: static property 'bodyComponentClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
51 | public struct GravityComponentCreator: BodyComponentCreator, Codable {
52 |
53 | public static var bodyComponentClass: BodyComponent.Type = GravityComponent.self
| |- warning: static property 'bodyComponentClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bodyComponentClass' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'bodyComponentClass' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 |
55 | public var vector: Vector2
[31/37] Compiling JelloSwift BodyJoint.swift
/Users/admin/builder/spi-builder-workspace/Sources/Components/GravityComponent.swift:53:23: warning: static property 'bodyComponentClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
51 | public struct GravityComponentCreator: BodyComponentCreator, Codable {
52 |
53 | public static var bodyComponentClass: BodyComponent.Type = GravityComponent.self
| |- warning: static property 'bodyComponentClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bodyComponentClass' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'bodyComponentClass' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 |
55 | public var vector: Vector2
[32/37] Compiling JelloSwift CollisionObserver.swift
/Users/admin/builder/spi-builder-workspace/Sources/Components/GravityComponent.swift:53:23: warning: static property 'bodyComponentClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
51 | public struct GravityComponentCreator: BodyComponentCreator, Codable {
52 |
53 | public static var bodyComponentClass: BodyComponent.Type = GravityComponent.self
| |- warning: static property 'bodyComponentClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bodyComponentClass' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'bodyComponentClass' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 |
55 | public var vector: Vector2
[33/37] Compiling JelloSwift GravityComponent.swift
/Users/admin/builder/spi-builder-workspace/Sources/Components/GravityComponent.swift:53:23: warning: static property 'bodyComponentClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
51 | public struct GravityComponentCreator: BodyComponentCreator, Codable {
52 |
53 | public static var bodyComponentClass: BodyComponent.Type = GravityComponent.self
| |- warning: static property 'bodyComponentClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bodyComponentClass' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'bodyComponentClass' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 |
55 | public var vector: Vector2
[34/37] Compiling JelloSwift Bitmask.swift
[35/37] Compiling JelloSwift Body.swift
[36/37] Compiling JelloSwift BodyCollisionInformation.swift
[37/37] Compiling JelloSwift BodyComponent.swift
Build complete! (5.30s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "JelloSwift",
"name" : "JelloSwift",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "JelloSwift",
"targets" : [
"JelloSwift"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "JelloSwiftTests",
"module_type" : "SwiftTarget",
"name" : "JelloSwiftTests",
"path" : "Tests/JelloSwiftTests",
"sources" : [
"BodyTests.swift",
"Geometry/AABBTests.swift",
"Geometry/ClosedShapeTests.swift",
"Geometry/GeomUtilsTests.swift",
"Geometry/Vector2Tests.swift",
"JelloSwiftTests.swift",
"PhysicsMathTest.swift",
"PointMassTests.swift",
"WorldTests.swift"
],
"target_dependencies" : [
"JelloSwift"
],
"type" : "test"
},
{
"c99name" : "JelloSwift",
"module_type" : "SwiftTarget",
"name" : "JelloSwift",
"path" : "Sources",
"product_memberships" : [
"JelloSwift"
],
"sources" : [
"Bitmask.swift",
"Body.swift",
"BodyCollisionInformation.swift",
"BodyComponent.swift",
"BodyEdge.swift",
"BodyJoint.swift",
"CollisionObserver.swift",
"Components/GravityComponent.swift",
"Components/PressureComponent.swift",
"Components/ShapeMatchComponent.swift",
"Components/SpringComponent.swift",
"Geometry/AABB.swift",
"Geometry/ClosedShape.swift",
"Geometry/GeomUtils.swift",
"Geometry/JFloat.swift",
"Geometry/Matrix3x3.swift",
"Geometry/Vector2.swift",
"Geometry/Vector3.swift",
"Geometry/VectorRepresentable.swift",
"InternalSpring.swift",
"JointLink.swift",
"JointLinks/BodyJointLink.swift",
"JointLinks/EdgeJointLink.swift",
"JointLinks/PointJointLink.swift",
"JointLinks/ShapeJointLink.swift",
"JointLinks/WeightedShapeJointLink.swift",
"MaterialPair.swift",
"PhysicsUtils.swift",
"PointMass.swift",
"RenderingSettings.swift",
"RestDistance.swift",
"SpringBodyJoint.swift",
"Utils.swift",
"World.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
Done.