Build Information
Failed to build Euler, reference 1.0.0 (709b17
), with Swift 6.2 (beta) for Android on 18 Jun 2025 22:56:56 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.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: 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.2
Building package at path: $PWD
https://github.com/mattt/euler.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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 Sequences.swift
[5/12] Compiling Euler Logic.swift
[6/12] Compiling Euler Functions.swift
[7/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.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: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.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] Compiling Euler Comparison.swift
[9/12] Emitting module Euler
[10/12] Compiling Euler Constants.swift
[11/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.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: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.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: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 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.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: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.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: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 |
BUILD FAILURE 6.2 android