The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build Euler, reference 1.0.0 (709b17), with Swift 6.1 for Android on 27 May 2025 23:23:30 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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: 1.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/mattt/euler
 * tag               1.0.0      -> FETCH_HEAD
HEAD is now at 709b179 Fill out XCTestManifests
Cloned https://github.com/mattt/euler.git
Revision (git rev-parse @):
709b17921f06695ff1798af4b161edfa001ce880
SUCCESS checkout https://github.com/mattt/euler.git at 1.0.0
========================================
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-2":/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 Sequences.swift
[5/12] Compiling Euler Functions.swift
[6/12] Compiling Euler Logic.swift
[7/12] Emitting module Euler
[8/12] Compiling Euler Constants.swift
[9/12] Compiling Euler Comparison.swift
[10/12] Compiling Euler Arithmetic.swift
/host/spi-builder-workspace/Sources/Euler/Arithmetic.swift:46:17: error: cannot convert value of type 'Float' to expected argument type 'Double'
 44 |
 45 | public prefix func √ (number: Float) -> Float {
 46 |     return sqrt(number)
    |                 `- error: cannot convert value of type 'Float' to expected argument type 'Double'
 47 | }
 48 |
/host/spi-builder-workspace/Sources/Euler/Arithmetic.swift:46:12: error: cannot convert return expression of type 'Double' to return type 'Float'
 44 |
 45 | public prefix func √ (number: Float) -> Float {
 46 |     return sqrt(number)
    |            `- error: cannot convert return expression of type 'Double' to return type 'Float'
 47 | }
 48 |
/host/spi-builder-workspace/Sources/Euler/Arithmetic.swift:57:12: error: no exact matches in call to global function 'cbrt'
 55 |
 56 | public prefix func ∛ (number: Float) -> Float {
 57 |     return cbrt(number)
    |            `- error: no exact matches in call to global function 'cbrt'
 58 | }
 59 |
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:57:12: error: no 'cbrt' candidates produce the expected contextual result type 'Float'
 55 |
 56 | public prefix func ∛ (number: Float) -> Float {
 57 |     return cbrt(number)
    |            `- error: no 'cbrt' candidates produce the expected contextual result type 'Float'
 58 | }
 59 |
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:68:16: error: cannot convert value of type 'Float' to expected argument type 'Double'
 66 |
 67 | public prefix func ∜ (number: Float) -> Float {
 68 |     return pow(number, 1.0 / 4.0)
    |                `- error: cannot convert value of type 'Float' to expected argument type 'Double'
 69 | }
 70 |
/host/spi-builder-workspace/Sources/Euler/Arithmetic.swift:68:12: error: cannot convert return expression of type 'Double' to return type 'Float'
 66 |
 67 | public prefix func ∜ (number: Float) -> Float {
 68 |     return pow(number, 1.0 / 4.0)
    |            `- error: cannot convert return expression of type 'Double' to return type 'Float'
 69 | }
 70 |
[11/12] Compiling Euler Calculus.swift
/host/spi-builder-workspace/Sources/Euler/Arithmetic.swift:46:17: error: cannot convert value of type 'Float' to expected argument type 'Double'
 44 |
 45 | public prefix func √ (number: Float) -> Float {
 46 |     return sqrt(number)
    |                 `- error: cannot convert value of type 'Float' to expected argument type 'Double'
 47 | }
 48 |
/host/spi-builder-workspace/Sources/Euler/Arithmetic.swift:46:12: error: cannot convert return expression of type 'Double' to return type 'Float'
 44 |
 45 | public prefix func √ (number: Float) -> Float {
 46 |     return sqrt(number)
    |            `- error: cannot convert return expression of type 'Double' to return type 'Float'
 47 | }
 48 |
/host/spi-builder-workspace/Sources/Euler/Arithmetic.swift:57:12: error: no exact matches in call to global function 'cbrt'
 55 |
 56 | public prefix func ∛ (number: Float) -> Float {
 57 |     return cbrt(number)
    |            `- error: no exact matches in call to global function 'cbrt'
 58 | }
 59 |
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:57:12: error: no 'cbrt' candidates produce the expected contextual result type 'Float'
 55 |
 56 | public prefix func ∛ (number: Float) -> Float {
 57 |     return cbrt(number)
    |            `- error: no 'cbrt' candidates produce the expected contextual result type 'Float'
 58 | }
 59 |
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:68:16: error: cannot convert value of type 'Float' to expected argument type 'Double'
 66 |
 67 | public prefix func ∜ (number: Float) -> Float {
 68 |     return pow(number, 1.0 / 4.0)
    |                `- error: cannot convert value of type 'Float' to expected argument type 'Double'
 69 | }
 70 |
/host/spi-builder-workspace/Sources/Euler/Arithmetic.swift:68:12: error: cannot convert return expression of type 'Double' to return type 'Float'
 66 |
 67 | public prefix func ∜ (number: Float) -> Float {
 68 |     return pow(number, 1.0 / 4.0)
    |            `- error: cannot convert return expression of type 'Double' to return type 'Float'
 69 | }
 70 |
[12/12] Compiling Euler Vectors.swift
/host/spi-builder-workspace/Sources/Euler/Vectors.swift:42:12: error: no exact matches in call to global function 'acos'
40 | public func ⦡ (lhs: [Float], rhs: [Float]) -> Float {
41 |     precondition(lhs.count == rhs.count, "arguments must have same count")
42 |     return acos((lhs ⋅ rhs) / (‖lhs * ‖rhs))
   |            `- error: no exact matches in call to global function 'acos'
43 | }
44 |
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:42:12: error: no 'acos' candidates produce the expected contextual result type 'Float'
40 | public func ⦡ (lhs: [Float], rhs: [Float]) -> Float {
41 |     precondition(lhs.count == rhs.count, "arguments must have same count")
42 |     return acos((lhs ⋅ rhs) / (‖lhs * ‖rhs))
   |            `- error: no 'acos' candidates produce the expected contextual result type 'Float'
43 | }
44 |
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);
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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 Functions.swift
[3/10] Compiling Euler Logic.swift
[4/11] Compiling Euler Sets.swift
[5/11] Compiling Euler Sequences.swift
[6/11] Compiling Euler Comparison.swift
[7/11] Compiling Euler Constants.swift
[8/11] Emitting module Euler
[9/11] Compiling Euler Arithmetic.swift
/host/spi-builder-workspace/Sources/Euler/Arithmetic.swift:46:17: error: cannot convert value of type 'Float' to expected argument type 'Double'
 44 |
 45 | public prefix func √ (number: Float) -> Float {
 46 |     return sqrt(number)
    |                 `- error: cannot convert value of type 'Float' to expected argument type 'Double'
 47 | }
 48 |
/host/spi-builder-workspace/Sources/Euler/Arithmetic.swift:46:12: error: cannot convert return expression of type 'Double' to return type 'Float'
 44 |
 45 | public prefix func √ (number: Float) -> Float {
 46 |     return sqrt(number)
    |            `- error: cannot convert return expression of type 'Double' to return type 'Float'
 47 | }
 48 |
/host/spi-builder-workspace/Sources/Euler/Arithmetic.swift:57:12: error: no exact matches in call to global function 'cbrt'
 55 |
 56 | public prefix func ∛ (number: Float) -> Float {
 57 |     return cbrt(number)
    |            `- error: no exact matches in call to global function 'cbrt'
 58 | }
 59 |
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:57:12: error: no 'cbrt' candidates produce the expected contextual result type 'Float'
 55 |
 56 | public prefix func ∛ (number: Float) -> Float {
 57 |     return cbrt(number)
    |            `- error: no 'cbrt' candidates produce the expected contextual result type 'Float'
 58 | }
 59 |
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:68:16: error: cannot convert value of type 'Float' to expected argument type 'Double'
 66 |
 67 | public prefix func ∜ (number: Float) -> Float {
 68 |     return pow(number, 1.0 / 4.0)
    |                `- error: cannot convert value of type 'Float' to expected argument type 'Double'
 69 | }
 70 |
/host/spi-builder-workspace/Sources/Euler/Arithmetic.swift:68:12: error: cannot convert return expression of type 'Double' to return type 'Float'
 66 |
 67 | public prefix func ∜ (number: Float) -> Float {
 68 |     return pow(number, 1.0 / 4.0)
    |            `- error: cannot convert return expression of type 'Double' to return type 'Float'
 69 | }
 70 |
[10/11] Compiling Euler Calculus.swift
/host/spi-builder-workspace/Sources/Euler/Arithmetic.swift:46:17: error: cannot convert value of type 'Float' to expected argument type 'Double'
 44 |
 45 | public prefix func √ (number: Float) -> Float {
 46 |     return sqrt(number)
    |                 `- error: cannot convert value of type 'Float' to expected argument type 'Double'
 47 | }
 48 |
/host/spi-builder-workspace/Sources/Euler/Arithmetic.swift:46:12: error: cannot convert return expression of type 'Double' to return type 'Float'
 44 |
 45 | public prefix func √ (number: Float) -> Float {
 46 |     return sqrt(number)
    |            `- error: cannot convert return expression of type 'Double' to return type 'Float'
 47 | }
 48 |
/host/spi-builder-workspace/Sources/Euler/Arithmetic.swift:57:12: error: no exact matches in call to global function 'cbrt'
 55 |
 56 | public prefix func ∛ (number: Float) -> Float {
 57 |     return cbrt(number)
    |            `- error: no exact matches in call to global function 'cbrt'
 58 | }
 59 |
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:57:12: error: no 'cbrt' candidates produce the expected contextual result type 'Float'
 55 |
 56 | public prefix func ∛ (number: Float) -> Float {
 57 |     return cbrt(number)
    |            `- error: no 'cbrt' candidates produce the expected contextual result type 'Float'
 58 | }
 59 |
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:68:16: error: cannot convert value of type 'Float' to expected argument type 'Double'
 66 |
 67 | public prefix func ∜ (number: Float) -> Float {
 68 |     return pow(number, 1.0 / 4.0)
    |                `- error: cannot convert value of type 'Float' to expected argument type 'Double'
 69 | }
 70 |
/host/spi-builder-workspace/Sources/Euler/Arithmetic.swift:68:12: error: cannot convert return expression of type 'Double' to return type 'Float'
 66 |
 67 | public prefix func ∜ (number: Float) -> Float {
 68 |     return pow(number, 1.0 / 4.0)
    |            `- error: cannot convert return expression of type 'Double' to return type 'Float'
 69 | }
 70 |
[11/11] Compiling Euler Vectors.swift
/host/spi-builder-workspace/Sources/Euler/Vectors.swift:42:12: error: no exact matches in call to global function 'acos'
40 | public func ⦡ (lhs: [Float], rhs: [Float]) -> Float {
41 |     precondition(lhs.count == rhs.count, "arguments must have same count")
42 |     return acos((lhs ⋅ rhs) / (‖lhs * ‖rhs))
   |            `- error: no exact matches in call to global function 'acos'
43 | }
44 |
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:42:12: error: no 'acos' candidates produce the expected contextual result type 'Float'
40 | public func ⦡ (lhs: [Float], rhs: [Float]) -> Float {
41 |     precondition(lhs.count == rhs.count, "arguments must have same count")
42 |     return acos((lhs ⋅ rhs) / (‖lhs * ‖rhs))
   |            `- error: no 'acos' candidates produce the expected contextual result type 'Float'
43 | }
44 |
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