Build Information
Successful build of SGLMath with Swift 6.0 for Linux.
Swift 6 data race errors: 5
Build Command
bash -c docker run --rm -v "checkouts-4606859-0":/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.43.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SwiftGL/Math.git
Reference: 3.0.0
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/SwiftGL/Math
* tag 3.0.0 -> FETCH_HEAD
HEAD is now at 8bdd2e5 Merge pull request #4 from ctreffs/master
Cloned https://github.com/SwiftGL/Math.git
Revision (git rev-parse @):
8bdd2e542f28828d0c224c1ea8e046c6f652ec40
SUCCESS checkout https://github.com/SwiftGL/Math.git at 3.0.0
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $workDir
https://github.com/SwiftGL/Math.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/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/6] Write sources
[2/6] Write swift-version-24593BA9C3E375BF.txt
[4/30] Emitting module SGLMath
/host/spi-builder-workspace/Sources/SGLMath/Vector2.swift:196:17: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
20 | // MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
21 |
22 | public struct Vector2<T: ArithmeticType>: VectorType {
| `- note: 'T' previously declared here
23 | public typealias Element = T
24 | public typealias FloatVector = Vector2<Float>
:
194 | }
195 |
196 | public init<T: VectorType>(_ v: T, _ op:(_:T.Element) -> Element) where T.BooleanVector == BooleanVector {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
197 | self.x = op(v[0])
198 | self.y = op(v[1])
/host/spi-builder-workspace/Sources/SGLMath/Vector3.swift:230:17: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
20 | // MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
21 |
22 | public struct Vector3<T: ArithmeticType>: VectorType {
| `- note: 'T' previously declared here
23 | public typealias Element = T
24 | public typealias FloatVector = Vector3<Float>
:
228 | }
229 |
230 | public init<T: VectorType>(_ v: T, _ op:(_:T.Element) -> Element) where T.BooleanVector == BooleanVector {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
231 | self.x = op(v[0])
232 | self.y = op(v[1])
/host/spi-builder-workspace/Sources/SGLMath/Vector4.swift:280:17: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
20 | // MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
21 |
22 | public struct Vector4<T: ArithmeticType>: VectorType {
| `- note: 'T' previously declared here
23 | public typealias Element = T
24 | public typealias FloatVector = Vector4<Float>
:
278 | }
279 |
280 | public init<T: VectorType>(_ v: T, _ op:(_:T.Element) -> Element) where T.BooleanVector == BooleanVector {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
281 | self.x = op(v[0])
282 | self.y = op(v[1])
/host/spi-builder-workspace/Sources/SGLMath/glm.swift:27:12: warning: var 'glmLeftHanded' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
25 | // Options may be changed at run time.
26 | // This is global and not thread local.
27 | public var glmLeftHanded = false
| |- warning: var 'glmLeftHanded' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'glmLeftHanded' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'glmLeftHanded' 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
28 | public var glmDepthZeroToOne = false
29 |
/host/spi-builder-workspace/Sources/SGLMath/glm.swift:28:12: warning: var 'glmDepthZeroToOne' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
26 | // This is global and not thread local.
27 | public var glmLeftHanded = false
28 | public var glmDepthZeroToOne = false
| |- warning: var 'glmDepthZeroToOne' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'glmDepthZeroToOne' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'glmDepthZeroToOne' 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
29 |
30 | // Integer matrices
[5/32] Compiling SGLMath Complex.swift
[6/32] Compiling SGLMath Internal.swift
[7/32] Compiling SGLMath Matrix2x2.swift
[8/32] Compiling SGLMath Vector2.swift
/host/spi-builder-workspace/Sources/SGLMath/Vector2.swift:196:17: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
20 | // MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
21 |
22 | public struct Vector2<T: ArithmeticType>: VectorType {
| `- note: 'T' previously declared here
23 | public typealias Element = T
24 | public typealias FloatVector = Vector2<Float>
:
194 | }
195 |
196 | public init<T: VectorType>(_ v: T, _ op:(_:T.Element) -> Element) where T.BooleanVector == BooleanVector {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
197 | self.x = op(v[0])
198 | self.y = op(v[1])
/host/spi-builder-workspace/Sources/SGLMath/Vector3.swift:230:17: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
20 | // MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
21 |
22 | public struct Vector3<T: ArithmeticType>: VectorType {
| `- note: 'T' previously declared here
23 | public typealias Element = T
24 | public typealias FloatVector = Vector3<Float>
:
228 | }
229 |
230 | public init<T: VectorType>(_ v: T, _ op:(_:T.Element) -> Element) where T.BooleanVector == BooleanVector {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
231 | self.x = op(v[0])
232 | self.y = op(v[1])
[9/32] Compiling SGLMath Vector2b.swift
/host/spi-builder-workspace/Sources/SGLMath/Vector2.swift:196:17: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
20 | // MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
21 |
22 | public struct Vector2<T: ArithmeticType>: VectorType {
| `- note: 'T' previously declared here
23 | public typealias Element = T
24 | public typealias FloatVector = Vector2<Float>
:
194 | }
195 |
196 | public init<T: VectorType>(_ v: T, _ op:(_:T.Element) -> Element) where T.BooleanVector == BooleanVector {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
197 | self.x = op(v[0])
198 | self.y = op(v[1])
/host/spi-builder-workspace/Sources/SGLMath/Vector3.swift:230:17: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
20 | // MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
21 |
22 | public struct Vector3<T: ArithmeticType>: VectorType {
| `- note: 'T' previously declared here
23 | public typealias Element = T
24 | public typealias FloatVector = Vector3<Float>
:
228 | }
229 |
230 | public init<T: VectorType>(_ v: T, _ op:(_:T.Element) -> Element) where T.BooleanVector == BooleanVector {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
231 | self.x = op(v[0])
232 | self.y = op(v[1])
[10/32] Compiling SGLMath Vector3.swift
/host/spi-builder-workspace/Sources/SGLMath/Vector2.swift:196:17: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
20 | // MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
21 |
22 | public struct Vector2<T: ArithmeticType>: VectorType {
| `- note: 'T' previously declared here
23 | public typealias Element = T
24 | public typealias FloatVector = Vector2<Float>
:
194 | }
195 |
196 | public init<T: VectorType>(_ v: T, _ op:(_:T.Element) -> Element) where T.BooleanVector == BooleanVector {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
197 | self.x = op(v[0])
198 | self.y = op(v[1])
/host/spi-builder-workspace/Sources/SGLMath/Vector3.swift:230:17: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
20 | // MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
21 |
22 | public struct Vector3<T: ArithmeticType>: VectorType {
| `- note: 'T' previously declared here
23 | public typealias Element = T
24 | public typealias FloatVector = Vector3<Float>
:
228 | }
229 |
230 | public init<T: VectorType>(_ v: T, _ op:(_:T.Element) -> Element) where T.BooleanVector == BooleanVector {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
231 | self.x = op(v[0])
232 | self.y = op(v[1])
[11/32] Compiling SGLMath Matrix3x3.swift
[12/32] Compiling SGLMath Matrix3x4.swift
[13/32] Compiling SGLMath Matrix4x2.swift
[14/32] Compiling SGLMath Matrix4x3.swift
[15/32] Compiling SGLMath Matrix4x4.swift
[16/32] Compiling SGLMath Operators.swift
[17/32] Compiling SGLMath Vector3b.swift
/host/spi-builder-workspace/Sources/SGLMath/Vector4.swift:280:17: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
20 | // MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
21 |
22 | public struct Vector4<T: ArithmeticType>: VectorType {
| `- note: 'T' previously declared here
23 | public typealias Element = T
24 | public typealias FloatVector = Vector4<Float>
:
278 | }
279 |
280 | public init<T: VectorType>(_ v: T, _ op:(_:T.Element) -> Element) where T.BooleanVector == BooleanVector {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
281 | self.x = op(v[0])
282 | self.y = op(v[1])
[18/32] Compiling SGLMath Vector4.swift
/host/spi-builder-workspace/Sources/SGLMath/Vector4.swift:280:17: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
20 | // MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
21 |
22 | public struct Vector4<T: ArithmeticType>: VectorType {
| `- note: 'T' previously declared here
23 | public typealias Element = T
24 | public typealias FloatVector = Vector4<Float>
:
278 | }
279 |
280 | public init<T: VectorType>(_ v: T, _ op:(_:T.Element) -> Element) where T.BooleanVector == BooleanVector {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
281 | self.x = op(v[0])
282 | self.y = op(v[1])
[19/32] Compiling SGLMath Vector4b.swift
/host/spi-builder-workspace/Sources/SGLMath/Vector4.swift:280:17: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
20 | // MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
21 |
22 | public struct Vector4<T: ArithmeticType>: VectorType {
| `- note: 'T' previously declared here
23 | public typealias Element = T
24 | public typealias FloatVector = Vector4<Float>
:
278 | }
279 |
280 | public init<T: VectorType>(_ v: T, _ op:(_:T.Element) -> Element) where T.BooleanVector == BooleanVector {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
281 | self.x = op(v[0])
282 | self.y = op(v[1])
[20/32] Emitting module Tools
[21/32] Compiling Tools main.swift
[22/32] Compiling SGLMath Matrix2x3.swift
[23/32] Compiling SGLMath Matrix2x4.swift
[24/32] Compiling SGLMath Matrix3x2.swift
[25/32] Compiling SGLMath Protocols.swift
[26/32] Compiling SGLMath Quaternion.swift
[27/32] Compiling SGLMath Swizzle.swift
[28/33] Wrapping AST for Tools for debugging
[29/33] Write Objects.LinkFileList
[30/33] Linking swizgen
[32/33] Compiling SGLMath glm.swift
/host/spi-builder-workspace/Sources/SGLMath/glm.swift:27:12: warning: var 'glmLeftHanded' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
25 | // Options may be changed at run time.
26 | // This is global and not thread local.
27 | public var glmLeftHanded = false
| |- warning: var 'glmLeftHanded' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'glmLeftHanded' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'glmLeftHanded' 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
28 | public var glmDepthZeroToOne = false
29 |
/host/spi-builder-workspace/Sources/SGLMath/glm.swift:28:12: warning: var 'glmDepthZeroToOne' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
26 | // This is global and not thread local.
27 | public var glmLeftHanded = false
28 | public var glmDepthZeroToOne = false
| |- warning: var 'glmDepthZeroToOne' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'glmDepthZeroToOne' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'glmDepthZeroToOne' 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
29 |
30 | // Integer matrices
[33/33] Compiling SGLMath glsl.swift
/host/spi-builder-workspace/Sources/SGLMath/glm.swift:27:12: warning: var 'glmLeftHanded' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
25 | // Options may be changed at run time.
26 | // This is global and not thread local.
27 | public var glmLeftHanded = false
| |- warning: var 'glmLeftHanded' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'glmLeftHanded' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'glmLeftHanded' 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
28 | public var glmDepthZeroToOne = false
29 |
/host/spi-builder-workspace/Sources/SGLMath/glm.swift:28:12: warning: var 'glmDepthZeroToOne' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
26 | // This is global and not thread local.
27 | public var glmLeftHanded = false
28 | public var glmDepthZeroToOne = false
| |- warning: var 'glmDepthZeroToOne' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'glmDepthZeroToOne' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'glmDepthZeroToOne' 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
29 |
30 | // Integer matrices
Build complete! (23.11s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "SGLMath",
"name" : "SGLMath",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "SGLMath",
"targets" : [
"SGLMath"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "swizgen",
"targets" : [
"Tools"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "Tools",
"module_type" : "SwiftTarget",
"name" : "Tools",
"path" : "Sources/Tools",
"product_memberships" : [
"swizgen"
],
"sources" : [
"main.swift"
],
"type" : "executable"
},
{
"c99name" : "SGLMathTests",
"module_type" : "SwiftTarget",
"name" : "SGLMathTests",
"path" : "Tests/SGLMathTests",
"sources" : [
"EqualWithAccuracy.swift",
"FunctionsTests.swift",
"Matrix2x2Tests.swift",
"Matrix3x3Tests.swift",
"Matrix4x4Tests.swift",
"SwizzleTests.swift",
"Vector2Tests.swift",
"Vector4Tests.swift",
"XCTestManifests.swift",
"glmMatrixTests.swift"
],
"target_dependencies" : [
"SGLMath"
],
"type" : "test"
},
{
"c99name" : "SGLMath",
"module_type" : "SwiftTarget",
"name" : "SGLMath",
"path" : "Sources/SGLMath",
"product_memberships" : [
"SGLMath"
],
"sources" : [
"Complex.swift",
"Internal.swift",
"Matrix2x2.swift",
"Matrix2x3.swift",
"Matrix2x4.swift",
"Matrix3x2.swift",
"Matrix3x3.swift",
"Matrix3x4.swift",
"Matrix4x2.swift",
"Matrix4x3.swift",
"Matrix4x4.swift",
"Operators.swift",
"Protocols.swift",
"Quaternion.swift",
"Swizzle.swift",
"Vector2.swift",
"Vector2b.swift",
"Vector3.swift",
"Vector3b.swift",
"Vector4.swift",
"Vector4b.swift",
"glm.swift",
"glsl.swift"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
Done.