Build Information
Failed to build GLMSwift, reference main (fa5158), with Swift 6.1 for Android on 28 May 2025 08:22:11 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
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.1
Building package at path: $PWD
https://github.com/MarSe32m/GLMSwift.git
https://github.com/MarSe32m/GLMSwift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "GLMSwift",
"name" : "GLMSwift",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "GLMSwift",
"targets" : [
"GLMSwift"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "GLMSwift",
"module_type" : "SwiftTarget",
"name" : "GLMSwift",
"path" : "Sources/GLMSwift",
"product_memberships" : [
"GLMSwift"
],
"sources" : [
"Matrix2.swift",
"Matrix3.swift",
"Matrix4.swift",
"Matrix4A.swift",
"Vector2.swift",
"Vector3.swift",
"Vector4.swift",
"glm.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/10] Compiling GLMSwift Matrix4A.swift
[4/11] Compiling GLMSwift Matrix4.swift
[5/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.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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);
[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.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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 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.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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);
[8/11] Compiling GLMSwift glm.swift
[9/11] Compiling GLMSwift Matrix2.swift
[10/11] Compiling GLMSwift Matrix3.swift
[11/11] Emitting module GLMSwift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/9] 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.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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);
[3/10] 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.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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);
[4/10] 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.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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);
[5/10] Compiling GLMSwift Matrix4A.swift
[6/10] Compiling GLMSwift Matrix4.swift
[7/10] Compiling GLMSwift glm.swift
[8/10] Emitting module GLMSwift
[9/10] Compiling GLMSwift Matrix2.swift
[10/10] Compiling GLMSwift Matrix3.swift
BUILD FAILURE 6.1 android