The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Euler, reference master (1ed200), with Swift 6.2 for Android on 18 Jun 2025 22:57:02 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
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.2
Building package at path:  $PWD
https://github.com/mattt/euler.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-8C5A4AE7A8CE2BA.txt
[3/11] Compiling Euler Sets.swift
[4/12] Compiling Euler Logic.swift
[5/12] Compiling Euler Sequences.swift
[6/12] Compiling Euler Functions.swift
[7/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.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.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);
/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.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-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);
[8/12] Emitting module Euler
[9/12] Compiling Euler Constants.swift
[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.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-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.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-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.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-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.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-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 |
BUILD FAILURE 6.2 android