The Swift Package Index logo.Swift Package Index

Build Information

Successful build of SGLMath, reference 3.0.0 (8bdd2e), with Swift 6.3 for Linux on 22 Apr 2026 09:43:21 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
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.3
Building package at path:  $PWD
https://github.com/SwiftGL/Math.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest
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])
[5/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])
[6/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])
[7/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])
[8/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])
[9/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])
[10/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])
[11/32] Compiling SGLMath Matrix4x3.swift
[12/32] Compiling SGLMath Matrix4x4.swift
[13/32] Compiling SGLMath Operators.swift
[14/32] Compiling SGLMath Matrix3x3.swift
[15/32] Compiling SGLMath Matrix3x4.swift
[16/32] Compiling SGLMath Matrix4x2.swift
[17/32] Compiling SGLMath Protocols.swift
[18/32] Compiling SGLMath Quaternion.swift
[19/32] Compiling SGLMath Swizzle.swift
[20/32] Compiling SGLMath Matrix2x3.swift
[21/32] Compiling SGLMath Matrix2x4.swift
[22/32] Compiling SGLMath Matrix3x2.swift
[23/32] Compiling SGLMath Complex.swift
[24/32] Compiling SGLMath Internal.swift
[25/32] Compiling SGLMath Matrix2x2.swift
[26/32] Compiling SGLMath glm.swift
[27/32] Compiling SGLMath glsl.swift
[28/33] Emitting module Tools
[29/33] Compiling Tools main.swift
[31/34] Wrapping AST for Tools for debugging
[32/34] Write Objects.LinkFileList
[33/34] Linking swizgen
Build complete! (20.14s)
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"
}
basic-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest
Done.