The Swift Package Index logo.Swift Package Index

Build Information

Failed to build GLMSwift, reference main (fa5158), with Swift 6.3 for Android on 13 Apr 2026 06:30:25 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/MarSe32m/GLMSwift.git
Reference: main
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/MarSe32m/GLMSwift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at fa51582 Update windows.yml
Cloned https://github.com/MarSe32m/GLMSwift.git
Revision (git rev-parse @):
fa51582279ddc337dbd6c839d5389169dd59100e
SUCCESS checkout https://github.com/MarSe32m/GLMSwift.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.3
Building package at path:  $PWD
https://github.com/MarSe32m/GLMSwift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:9008270ea37a55e78725e6225015adb5eff8582da520c5232bf0499f32c36dc4
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--4F562202D5529B1.txt
[3/10] Compiling GLMSwift Matrix3.swift
[4/10] Compiling GLMSwift Matrix2.swift
[5/10] Emitting module GLMSwift
[6/11] Compiling GLMSwift Vector3.swift
/host/spi-builder-workspace/Sources/GLMSwift/Vector3.swift:102:16: error: cannot convert return expression of type 'Double' to return type 'T'
100 |
101 |     var length: T {
102 |         return sqrt(lengthSquared)
    |                `- error: cannot convert return expression of type 'Double' to return type 'T'
103 |     }
104 |
/host/spi-builder-workspace/Sources/GLMSwift/Vector3.swift:102:21: error: cannot convert value of type 'T' to expected argument type 'Double'
100 |
101 |     var length: T {
102 |         return sqrt(lengthSquared)
    |                     `- error: cannot convert value of type 'T' to expected argument type 'Double'
103 |     }
104 |
/host/spi-builder-workspace/Sources/GLMSwift/Vector3.swift:116:24: error: no exact matches in call to global function 'acos'
114 |                 return acos(x) as? T ?? 0
115 |             case let x as Float:
116 |                 return acos(x) as? T ?? 0
    |                        `- error: no exact matches in call to global function 'acos'
117 |             default:
118 |                 return 0 as T
Foundation.acos:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func acos(_ x: CGFloat) -> CGFloat
  |             `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_android.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:76:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 74 |     : __builtin_signbitl(x))
 75 |
 76 | double acos(double __x);
    |        `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 77 | float acosf(float __x);
 78 | long double acosl(long double __x);
[7/11] Compiling GLMSwift Matrix4A.swift
[8/11] Compiling GLMSwift Matrix4.swift
[9/11] Compiling GLMSwift Vector2.swift
/host/spi-builder-workspace/Sources/GLMSwift/Vector2.swift:92:16: error: cannot convert return expression of type 'Double' to return type 'T'
 90 |
 91 |     var length: T {
 92 |         return sqrt(lengthSquared)
    |                `- error: cannot convert return expression of type 'Double' to return type 'T'
 93 |     }
 94 |
/host/spi-builder-workspace/Sources/GLMSwift/Vector2.swift:92:21: error: cannot convert value of type 'T' to expected argument type 'Double'
 90 |
 91 |     var length: T {
 92 |         return sqrt(lengthSquared)
    |                     `- error: cannot convert value of type 'T' to expected argument type 'Double'
 93 |     }
 94 |
/host/spi-builder-workspace/Sources/GLMSwift/Vector2.swift:106:24: error: no exact matches in call to global function 'acos'
104 |                 return acos(x) as? T ?? 0
105 |             case let x as Float:
106 |                 return acos(x) as? T ?? 0
    |                        `- error: no exact matches in call to global function 'acos'
107 |             default:
108 |                 return 0 as T
Foundation.acos:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func acos(_ x: CGFloat) -> CGFloat
  |             `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_android.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:76:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 74 |     : __builtin_signbitl(x))
 75 |
 76 | double acos(double __x);
    |        `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 77 | float acosf(float __x);
 78 | long double acosl(long double __x);
[10/11] Compiling GLMSwift Vector4.swift
/host/spi-builder-workspace/Sources/GLMSwift/Vector4.swift:106:16: error: cannot convert return expression of type 'Double' to return type 'T'
104 |
105 |     var length: T {
106 |         return sqrt(lengthSquared)
    |                `- error: cannot convert return expression of type 'Double' to return type 'T'
107 |     }
108 |
/host/spi-builder-workspace/Sources/GLMSwift/Vector4.swift:106:21: error: cannot convert value of type 'T' to expected argument type 'Double'
104 |
105 |     var length: T {
106 |         return sqrt(lengthSquared)
    |                     `- error: cannot convert value of type 'T' to expected argument type 'Double'
107 |     }
108 |
/host/spi-builder-workspace/Sources/GLMSwift/Vector4.swift:120:24: error: no exact matches in call to global function 'acos'
118 |                 return acos(x) as? T ?? 0
119 |             case let x as Float:
120 |                 return acos(x) as? T ?? 0
    |                        `- error: no exact matches in call to global function 'acos'
121 |             default:
122 |                 return 0 as T
Foundation.acos:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func acos(_ x: CGFloat) -> CGFloat
  |             `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_android.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:76:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 74 |     : __builtin_signbitl(x))
 75 |
 76 | double acos(double __x);
    |        `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 77 | float acosf(float __x);
 78 | long double acosl(long double __x);
[11/11] Compiling GLMSwift glm.swift
BUILD FAILURE 6.3 android