Build Information
Failed to build Euler, reference master (1ed200), with Swift 6.3 for Android on 12 Apr 2026 04:44:41 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.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.3
Building package at path: $PWD
https://github.com/mattt/euler.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/11] Compiling Euler Sets.swift
[4/12] Compiling Euler Functions.swift
[5/12] Compiling Euler Logic.swift
[6/12] Compiling Euler Sequences.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.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);
/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'
| |- note: 'acos' produces 'CGFloat', not the expected contextual result type 'Float'
| |- note: 'acos' produces 'CGFloat', not the expected contextual result type 'Float'
| `- note: 'acos' produces 'CGFloat', not the expected contextual result type 'Float'
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_android.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'
| |- note: 'acos' produces 'Double', not the expected contextual result type 'Float'
| |- note: 'acos' produces 'Double', not the expected contextual result type 'Float'
| `- 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] Compiling Euler Comparison.swift
[9/12] Emitting module Euler
[10/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.3-RELEASE_android.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.3-RELEASE_android.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 |
[11/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.3-RELEASE_android.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.3-RELEASE_android.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 Constants.swift
BUILD FAILURE 6.3 android