Build Information
Failed to build Euler, reference master (1ed200
), with Swift 6.1 for Android on 27 May 2025 23:24:04 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>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mattt/euler.git
Reference: master
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/mattt/euler
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 1ed2004 Add documentation to set vector operators
Cloned https://github.com/mattt/euler.git
Revision (git rev-parse @):
1ed20048f5f88c1818525917d9246fbd1793c104
SUCCESS checkout https://github.com/mattt/euler.git at master
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/mattt/euler.git
https://github.com/mattt/euler.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "Euler",
"name" : "Euler",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Euler",
"targets" : [
"Euler"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "EulerTests",
"module_type" : "SwiftTarget",
"name" : "EulerTests",
"path" : "Tests/EulerTests",
"sources" : [
"ArithmeticTests.swift",
"CalculusTests.swift",
"ComparisonTests.swift",
"ConstantsTests.swift",
"FunctionsTests.swift",
"LogicTests.swift",
"SequencesTests.swift",
"SetsTests.swift",
"VectorsTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"Euler"
],
"type" : "test"
},
{
"c99name" : "Euler",
"module_type" : "SwiftTarget",
"name" : "Euler",
"path" : "Sources/Euler",
"product_memberships" : [
"Euler"
],
"sources" : [
"Arithmetic.swift",
"Calculus.swift",
"Comparison.swift",
"Constants.swift",
"Functions.swift",
"Logic.swift",
"Sequences.swift",
"Sets.swift",
"Vectors.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
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/11] Compiling Euler Sets.swift
[4/12] Compiling Euler Logic.swift
[5/12] Compiling Euler Sequences.swift
[6/12] Compiling Euler Vectors.swift
/host/spi-builder-workspace/Sources/Euler/Vectors.swift:78:12: error: no exact matches in call to global function 'acos'
76 | public func ⦡ (lhs: [Float], rhs: [Float]) -> Float {
77 | precondition(lhs.count == rhs.count, "arguments must have same count")
78 | return acos((lhs ⋅ rhs) / (‖lhs * ‖rhs))
| `- error: no exact matches in call to global function 'acos'
79 | }
80 |
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);
/host/spi-builder-workspace/Sources/Euler/Vectors.swift:78:12: error: no 'acos' candidates produce the expected contextual result type 'Float'
76 | public func ⦡ (lhs: [Float], rhs: [Float]) -> Float {
77 | precondition(lhs.count == rhs.count, "arguments must have same count")
78 | return acos((lhs ⋅ rhs) / (‖lhs * ‖rhs))
| `- error: no 'acos' candidates produce the expected contextual result type 'Float'
79 | }
80 |
Foundation.acos:1:13: note: 'acos' produces 'CGFloat', not the expected contextual result type 'Float'
1 | public func acos(_ x: CGFloat) -> CGFloat
| `- note: 'acos' produces 'CGFloat', not the expected contextual result type '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: 'acos' produces 'Double', not the expected contextual result type 'Float'
74 | : __builtin_signbitl(x))
75 |
76 | double acos(double __x);
| `- note: 'acos' produces 'Double', not the expected contextual result type 'Float'
77 | float acosf(float __x);
78 | long double acosl(long double __x);
[7/12] Compiling Euler Functions.swift
[8/12] Compiling Euler Constants.swift
[9/12] Emitting module Euler
[10/12] Compiling Euler Comparison.swift
[11/12] Compiling Euler Arithmetic.swift
/host/spi-builder-workspace/Sources/Euler/Arithmetic.swift:97:17: error: cannot convert value of type 'Float' to expected argument type 'Double'
95 | /// - number: A number.
96 | public prefix func √ (number: Float) -> Float {
97 | return sqrt(number)
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
98 | }
99 |
/host/spi-builder-workspace/Sources/Euler/Arithmetic.swift:97:12: error: cannot convert return expression of type 'Double' to return type 'Float'
95 | /// - number: A number.
96 | public prefix func √ (number: Float) -> Float {
97 | return sqrt(number)
| `- error: cannot convert return expression of type 'Double' to return type 'Float'
98 | }
99 |
/host/spi-builder-workspace/Sources/Euler/Arithmetic.swift:118:12: error: no exact matches in call to global function 'cbrt'
116 | /// - number: A number.
117 | public prefix func ∛ (number: Float) -> Float {
118 | return cbrt(number)
| `- error: no exact matches in call to global function 'cbrt'
119 | }
120 |
Foundation.cbrt:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func cbrt(_ 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:184:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
182 | long double scalblnl(long double __x, long __exponent);
183 |
184 | double cbrt(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
185 | float cbrtf(float __x);
186 | long double cbrtl(long double __x);
/host/spi-builder-workspace/Sources/Euler/Arithmetic.swift:118:12: error: no 'cbrt' candidates produce the expected contextual result type 'Float'
116 | /// - number: A number.
117 | public prefix func ∛ (number: Float) -> Float {
118 | return cbrt(number)
| `- error: no 'cbrt' candidates produce the expected contextual result type 'Float'
119 | }
120 |
Foundation.cbrt:1:13: note: 'cbrt' produces 'CGFloat', not the expected contextual result type 'Float'
1 | public func cbrt(_ x: CGFloat) -> CGFloat
| `- note: 'cbrt' produces 'CGFloat', not the expected contextual result type '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:184:8: note: 'cbrt' produces 'Double', not the expected contextual result type 'Float'
182 | long double scalblnl(long double __x, long __exponent);
183 |
184 | double cbrt(double __x);
| `- note: 'cbrt' produces 'Double', not the expected contextual result type 'Float'
185 | float cbrtf(float __x);
186 | long double cbrtl(long double __x);
/host/spi-builder-workspace/Sources/Euler/Arithmetic.swift:139:16: error: cannot convert value of type 'Float' to expected argument type 'Double'
137 | /// - number: A number.
138 | public prefix func ∜ (number: Float) -> Float {
139 | return pow(number, 1.0 / 4.0)
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
140 | }
141 |
/host/spi-builder-workspace/Sources/Euler/Arithmetic.swift:139:12: error: cannot convert return expression of type 'Double' to return type 'Float'
137 | /// - number: A number.
138 | public prefix func ∜ (number: Float) -> Float {
139 | return pow(number, 1.0 / 4.0)
| `- error: cannot convert return expression of type 'Double' to return type 'Float'
140 | }
141 |
[12/12] Compiling Euler Calculus.swift
/host/spi-builder-workspace/Sources/Euler/Arithmetic.swift:97:17: error: cannot convert value of type 'Float' to expected argument type 'Double'
95 | /// - number: A number.
96 | public prefix func √ (number: Float) -> Float {
97 | return sqrt(number)
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
98 | }
99 |
/host/spi-builder-workspace/Sources/Euler/Arithmetic.swift:97:12: error: cannot convert return expression of type 'Double' to return type 'Float'
95 | /// - number: A number.
96 | public prefix func √ (number: Float) -> Float {
97 | return sqrt(number)
| `- error: cannot convert return expression of type 'Double' to return type 'Float'
98 | }
99 |
/host/spi-builder-workspace/Sources/Euler/Arithmetic.swift:118:12: error: no exact matches in call to global function 'cbrt'
116 | /// - number: A number.
117 | public prefix func ∛ (number: Float) -> Float {
118 | return cbrt(number)
| `- error: no exact matches in call to global function 'cbrt'
119 | }
120 |
Foundation.cbrt:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func cbrt(_ 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:184:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
182 | long double scalblnl(long double __x, long __exponent);
183 |
184 | double cbrt(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
185 | float cbrtf(float __x);
186 | long double cbrtl(long double __x);
/host/spi-builder-workspace/Sources/Euler/Arithmetic.swift:118:12: error: no 'cbrt' candidates produce the expected contextual result type 'Float'
116 | /// - number: A number.
117 | public prefix func ∛ (number: Float) -> Float {
118 | return cbrt(number)
| `- error: no 'cbrt' candidates produce the expected contextual result type 'Float'
119 | }
120 |
Foundation.cbrt:1:13: note: 'cbrt' produces 'CGFloat', not the expected contextual result type 'Float'
1 | public func cbrt(_ x: CGFloat) -> CGFloat
| `- note: 'cbrt' produces 'CGFloat', not the expected contextual result type '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:184:8: note: 'cbrt' produces 'Double', not the expected contextual result type 'Float'
182 | long double scalblnl(long double __x, long __exponent);
183 |
184 | double cbrt(double __x);
| `- note: 'cbrt' produces 'Double', not the expected contextual result type 'Float'
185 | float cbrtf(float __x);
186 | long double cbrtl(long double __x);
/host/spi-builder-workspace/Sources/Euler/Arithmetic.swift:139:16: error: cannot convert value of type 'Float' to expected argument type 'Double'
137 | /// - number: A number.
138 | public prefix func ∜ (number: Float) -> Float {
139 | return pow(number, 1.0 / 4.0)
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
140 | }
141 |
/host/spi-builder-workspace/Sources/Euler/Arithmetic.swift:139:12: error: cannot convert return expression of type 'Double' to return type 'Float'
137 | /// - number: A number.
138 | public prefix func ∜ (number: Float) -> Float {
139 | return pow(number, 1.0 / 4.0)
| `- error: cannot convert return expression of type 'Double' to return type 'Float'
140 | }
141 |
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/10] Compiling Euler Logic.swift
[3/10] Compiling Euler Constants.swift
[4/10] Compiling Euler Functions.swift
[5/11] Compiling Euler Sets.swift
[6/11] Compiling Euler Sequences.swift
[7/11] Compiling Euler Comparison.swift
[8/11] Emitting module Euler
[9/11] Compiling Euler Arithmetic.swift
/host/spi-builder-workspace/Sources/Euler/Arithmetic.swift:97:17: error: cannot convert value of type 'Float' to expected argument type 'Double'
95 | /// - number: A number.
96 | public prefix func √ (number: Float) -> Float {
97 | return sqrt(number)
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
98 | }
99 |
/host/spi-builder-workspace/Sources/Euler/Arithmetic.swift:97:12: error: cannot convert return expression of type 'Double' to return type 'Float'
95 | /// - number: A number.
96 | public prefix func √ (number: Float) -> Float {
97 | return sqrt(number)
| `- error: cannot convert return expression of type 'Double' to return type 'Float'
98 | }
99 |
/host/spi-builder-workspace/Sources/Euler/Arithmetic.swift:118:12: error: no exact matches in call to global function 'cbrt'
116 | /// - number: A number.
117 | public prefix func ∛ (number: Float) -> Float {
118 | return cbrt(number)
| `- error: no exact matches in call to global function 'cbrt'
119 | }
120 |
Foundation.cbrt:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func cbrt(_ 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:184:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
182 | long double scalblnl(long double __x, long __exponent);
183 |
184 | double cbrt(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
185 | float cbrtf(float __x);
186 | long double cbrtl(long double __x);
/host/spi-builder-workspace/Sources/Euler/Arithmetic.swift:118:12: error: no 'cbrt' candidates produce the expected contextual result type 'Float'
116 | /// - number: A number.
117 | public prefix func ∛ (number: Float) -> Float {
118 | return cbrt(number)
| `- error: no 'cbrt' candidates produce the expected contextual result type 'Float'
119 | }
120 |
Foundation.cbrt:1:13: note: 'cbrt' produces 'CGFloat', not the expected contextual result type 'Float'
1 | public func cbrt(_ x: CGFloat) -> CGFloat
| `- note: 'cbrt' produces 'CGFloat', not the expected contextual result type '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:184:8: note: 'cbrt' produces 'Double', not the expected contextual result type 'Float'
182 | long double scalblnl(long double __x, long __exponent);
183 |
184 | double cbrt(double __x);
| `- note: 'cbrt' produces 'Double', not the expected contextual result type 'Float'
185 | float cbrtf(float __x);
186 | long double cbrtl(long double __x);
/host/spi-builder-workspace/Sources/Euler/Arithmetic.swift:139:16: error: cannot convert value of type 'Float' to expected argument type 'Double'
137 | /// - number: A number.
138 | public prefix func ∜ (number: Float) -> Float {
139 | return pow(number, 1.0 / 4.0)
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
140 | }
141 |
/host/spi-builder-workspace/Sources/Euler/Arithmetic.swift:139:12: error: cannot convert return expression of type 'Double' to return type 'Float'
137 | /// - number: A number.
138 | public prefix func ∜ (number: Float) -> Float {
139 | return pow(number, 1.0 / 4.0)
| `- error: cannot convert return expression of type 'Double' to return type 'Float'
140 | }
141 |
[10/11] Compiling Euler Calculus.swift
/host/spi-builder-workspace/Sources/Euler/Arithmetic.swift:97:17: error: cannot convert value of type 'Float' to expected argument type 'Double'
95 | /// - number: A number.
96 | public prefix func √ (number: Float) -> Float {
97 | return sqrt(number)
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
98 | }
99 |
/host/spi-builder-workspace/Sources/Euler/Arithmetic.swift:97:12: error: cannot convert return expression of type 'Double' to return type 'Float'
95 | /// - number: A number.
96 | public prefix func √ (number: Float) -> Float {
97 | return sqrt(number)
| `- error: cannot convert return expression of type 'Double' to return type 'Float'
98 | }
99 |
/host/spi-builder-workspace/Sources/Euler/Arithmetic.swift:118:12: error: no exact matches in call to global function 'cbrt'
116 | /// - number: A number.
117 | public prefix func ∛ (number: Float) -> Float {
118 | return cbrt(number)
| `- error: no exact matches in call to global function 'cbrt'
119 | }
120 |
Foundation.cbrt:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func cbrt(_ 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:184:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
182 | long double scalblnl(long double __x, long __exponent);
183 |
184 | double cbrt(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
185 | float cbrtf(float __x);
186 | long double cbrtl(long double __x);
/host/spi-builder-workspace/Sources/Euler/Arithmetic.swift:118:12: error: no 'cbrt' candidates produce the expected contextual result type 'Float'
116 | /// - number: A number.
117 | public prefix func ∛ (number: Float) -> Float {
118 | return cbrt(number)
| `- error: no 'cbrt' candidates produce the expected contextual result type 'Float'
119 | }
120 |
Foundation.cbrt:1:13: note: 'cbrt' produces 'CGFloat', not the expected contextual result type 'Float'
1 | public func cbrt(_ x: CGFloat) -> CGFloat
| `- note: 'cbrt' produces 'CGFloat', not the expected contextual result type '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:184:8: note: 'cbrt' produces 'Double', not the expected contextual result type 'Float'
182 | long double scalblnl(long double __x, long __exponent);
183 |
184 | double cbrt(double __x);
| `- note: 'cbrt' produces 'Double', not the expected contextual result type 'Float'
185 | float cbrtf(float __x);
186 | long double cbrtl(long double __x);
/host/spi-builder-workspace/Sources/Euler/Arithmetic.swift:139:16: error: cannot convert value of type 'Float' to expected argument type 'Double'
137 | /// - number: A number.
138 | public prefix func ∜ (number: Float) -> Float {
139 | return pow(number, 1.0 / 4.0)
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
140 | }
141 |
/host/spi-builder-workspace/Sources/Euler/Arithmetic.swift:139:12: error: cannot convert return expression of type 'Double' to return type 'Float'
137 | /// - number: A number.
138 | public prefix func ∜ (number: Float) -> Float {
139 | return pow(number, 1.0 / 4.0)
| `- error: cannot convert return expression of type 'Double' to return type 'Float'
140 | }
141 |
[11/11] Compiling Euler Vectors.swift
/host/spi-builder-workspace/Sources/Euler/Vectors.swift:78:12: error: no exact matches in call to global function 'acos'
76 | public func ⦡ (lhs: [Float], rhs: [Float]) -> Float {
77 | precondition(lhs.count == rhs.count, "arguments must have same count")
78 | return acos((lhs ⋅ rhs) / (‖lhs * ‖rhs))
| `- error: no exact matches in call to global function 'acos'
79 | }
80 |
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);
/host/spi-builder-workspace/Sources/Euler/Vectors.swift:78:12: error: no 'acos' candidates produce the expected contextual result type 'Float'
76 | public func ⦡ (lhs: [Float], rhs: [Float]) -> Float {
77 | precondition(lhs.count == rhs.count, "arguments must have same count")
78 | return acos((lhs ⋅ rhs) / (‖lhs * ‖rhs))
| `- error: no 'acos' candidates produce the expected contextual result type 'Float'
79 | }
80 |
Foundation.acos:1:13: note: 'acos' produces 'CGFloat', not the expected contextual result type 'Float'
1 | public func acos(_ x: CGFloat) -> CGFloat
| `- note: 'acos' produces 'CGFloat', not the expected contextual result type '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: 'acos' produces 'Double', not the expected contextual result type 'Float'
74 | : __builtin_signbitl(x))
75 |
76 | double acos(double __x);
| `- note: 'acos' produces 'Double', not the expected contextual result type 'Float'
77 | float acosf(float __x);
78 | long double acosl(long double __x);
BUILD FAILURE 6.1 android