Build Information
Failed to build Iris, reference v1.1.3 (bb4889), with Swift 6.2 for Android on 2 Jan 2026 14:13:16 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Chandram-Dutta/Iris.git
Reference: v1.1.3
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/Chandram-Dutta/Iris
* tag v1.1.3 -> FETCH_HEAD
HEAD is now at bb4889a Add DocC documentation support and SPI config
Cloned https://github.com/Chandram-Dutta/Iris.git
Revision (git rev-parse @):
bb4889ad559f31811f660abb0cd837a273afbbd3
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/Chandram-Dutta/Iris.git at v1.1.3
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/Chandram-Dutta/Iris.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:5dcfe09194e3c36609f58c2a9689c9c974fddafea0cac7c12077a98d08c6b397
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/2158] Fetching swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (0.39s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.5 (2.98s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3630] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.39s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.17s)
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.5
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/22] Write sources
[6/22] Copying Resources
[6/22] Write sources
[8/22] Write swift-version-2B04F66FBCF4E350.txt
[10/40] Emitting module Iris
[11/42] Compiling Iris MetalView.swift
[12/42] Compiling Iris Renderer.swift
[13/42] Compiling Iris GlyphAtlas.swift
[14/42] Compiling Iris Graphics.swift
[15/42] Compiling Iris Iris.swift
/host/spi-builder-workspace/Sources/Iris/Math.swift:82:16: error: cannot convert return expression of type 'Double' to return type 'Float'
80 | /// Cross-platform length (magnitude) of a 2D vector
81 | public func length() -> Float {
82 | return sqrt(self.x * self.x + self.y * self.y)
| `- error: cannot convert return expression of type 'Double' to return type 'Float'
83 | }
84 |
/host/spi-builder-workspace/Sources/Iris/Math.swift:82:37: error: cannot convert value of type 'Float' to expected argument type 'Double'
80 | /// Cross-platform length (magnitude) of a 2D vector
81 | public func length() -> Float {
82 | return sqrt(self.x * self.x + self.y * self.y)
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
83 | }
84 |
[16/42] Compiling Iris Math.swift
/host/spi-builder-workspace/Sources/Iris/Math.swift:82:16: error: cannot convert return expression of type 'Double' to return type 'Float'
80 | /// Cross-platform length (magnitude) of a 2D vector
81 | public func length() -> Float {
82 | return sqrt(self.x * self.x + self.y * self.y)
| `- error: cannot convert return expression of type 'Double' to return type 'Float'
83 | }
84 |
/host/spi-builder-workspace/Sources/Iris/Math.swift:82:37: error: cannot convert value of type 'Float' to expected argument type 'Double'
80 | /// Cross-platform length (magnitude) of a 2D vector
81 | public func length() -> Float {
82 | return sqrt(self.x * self.x + self.y * self.y)
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
83 | }
84 |
[17/42] Compiling Iris MacApp.swift
[18/42] Compiling Iris MacWindow.swift
[19/42] Compiling Iris Image.swift
[20/42] Compiling Iris Input.swift
[21/42] Compiling Iris WindowConfig.swift
/host/spi-builder-workspace/Sources/Iris/Graphics/DrawCommand.swift:213:17: error: no exact matches in call to global function 'cos'
211 | func rotate(angle: Float) {
212 | // Z-axis rotation for 2D
213 | let c = cos(angle)
| `- error: no exact matches in call to global function 'cos'
214 | let s = sin(angle)
215 |
Foundation.cos:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func cos(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:92:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
90 | long double atan2l(long double __y, long double __x);
91 |
92 | double cos(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
93 | float cosf(float __x);
94 | long double cosl(long double __x);
/host/spi-builder-workspace/Sources/Iris/Graphics/DrawCommand.swift:214:17: error: no exact matches in call to global function 'sin'
212 | // Z-axis rotation for 2D
213 | let c = cos(angle)
214 | let s = sin(angle)
| `- error: no exact matches in call to global function 'sin'
215 |
216 | let rotation = matrix_float4x4(
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func sin(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:96:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
94 | long double cosl(long double __x);
95 |
96 | double sin(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
97 | float sinf(float __x);
98 | long double sinl(long double __x);
[22/42] Compiling Iris DrawCommand.swift
/host/spi-builder-workspace/Sources/Iris/Graphics/DrawCommand.swift:213:17: error: no exact matches in call to global function 'cos'
211 | func rotate(angle: Float) {
212 | // Z-axis rotation for 2D
213 | let c = cos(angle)
| `- error: no exact matches in call to global function 'cos'
214 | let s = sin(angle)
215 |
Foundation.cos:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func cos(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:92:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
90 | long double atan2l(long double __y, long double __x);
91 |
92 | double cos(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
93 | float cosf(float __x);
94 | long double cosl(long double __x);
/host/spi-builder-workspace/Sources/Iris/Graphics/DrawCommand.swift:214:17: error: no exact matches in call to global function 'sin'
212 | // Z-axis rotation for 2D
213 | let c = cos(angle)
214 | let s = sin(angle)
| `- error: no exact matches in call to global function 'sin'
215 |
216 | let rotation = matrix_float4x4(
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func sin(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:96:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
94 | long double cosl(long double __x);
95 |
96 | double sin(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
97 | float sinf(float __x);
98 | long double sinl(long double __x);
[23/42] Compiling Iris Font.swift
/host/spi-builder-workspace/Sources/Iris/Graphics/DrawCommand.swift:213:17: error: no exact matches in call to global function 'cos'
211 | func rotate(angle: Float) {
212 | // Z-axis rotation for 2D
213 | let c = cos(angle)
| `- error: no exact matches in call to global function 'cos'
214 | let s = sin(angle)
215 |
Foundation.cos:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func cos(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:92:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
90 | long double atan2l(long double __y, long double __x);
91 |
92 | double cos(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
93 | float cosf(float __x);
94 | long double cosl(long double __x);
/host/spi-builder-workspace/Sources/Iris/Graphics/DrawCommand.swift:214:17: error: no exact matches in call to global function 'sin'
212 | // Z-axis rotation for 2D
213 | let c = cos(angle)
214 | let s = sin(angle)
| `- error: no exact matches in call to global function 'sin'
215 |
216 | let rotation = matrix_float4x4(
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func sin(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:96:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
94 | long double cosl(long double __x);
95 |
96 | double sin(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
97 | float sinf(float __x);
98 | long double sinl(long double __x);
[24/42] Compiling Iris PixelMask.swift
[25/42] Compiling Iris Engine.swift
[26/42] Compiling Iris Game.swift
[27/42] Compiling Iris CollisionDetection.swift
/host/spi-builder-workspace/Sources/Iris/Collision/CollisionDetection.swift:15:21: error: cannot convert value of type 'Float' to expected argument type 'Double'
13 | /// Cross-platform length for SIMD2<Float>
14 | private static func length(_ vector: SIMD2<Float>) -> Float {
15 | return sqrt(lengthSquared(vector))
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
16 | }
17 |
/host/spi-builder-workspace/Sources/Iris/Collision/CollisionDetection.swift:15:16: error: cannot convert return expression of type 'Double' to return type 'Float'
13 | /// Cross-platform length for SIMD2<Float>
14 | private static func length(_ vector: SIMD2<Float>) -> Float {
15 | return sqrt(lengthSquared(vector))
| `- error: cannot convert return expression of type 'Double' to return type 'Float'
16 | }
17 |
/host/spi-builder-workspace/Sources/Iris/Collision/CollisionDetection.swift:310:21: error: no exact matches in call to global function 'cos'
308 | }
309 |
310 | let cos_r = cos(rotation)
| `- error: no exact matches in call to global function 'cos'
311 | let sin_r = sin(rotation)
312 |
Foundation.cos:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func cos(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:92:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
90 | long double atan2l(long double __y, long double __x);
91 |
92 | double cos(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
93 | float cosf(float __x);
94 | long double cosl(long double __x);
/host/spi-builder-workspace/Sources/Iris/Collision/CollisionDetection.swift:311:21: error: no exact matches in call to global function 'sin'
309 |
310 | let cos_r = cos(rotation)
311 | let sin_r = sin(rotation)
| `- error: no exact matches in call to global function 'sin'
312 |
313 | return vertices.map { v in
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func sin(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:96:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
94 | long double cosl(long double __x);
95 |
96 | double sin(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
97 | float sinf(float __x);
98 | long double sinl(long double __x);
/host/spi-builder-workspace/Sources/Iris/Collision/ConvexHull.swift:173:23: error: cannot convert value of type 'Double' to expected argument type 'Float'
171 | let area = abs(
172 | dy * point.x - dx * point.y + lineEnd.x * lineStart.y - lineEnd.y * lineStart.x)
173 | return area / sqrt(lengthSq)
| `- error: cannot convert value of type 'Double' to expected argument type 'Float'
174 | }
175 |
/host/spi-builder-workspace/Sources/Iris/Collision/ConvexHull.swift:173:28: error: cannot convert value of type 'Float' to expected argument type 'Double'
171 | let area = abs(
172 | dy * point.x - dx * point.y + lineEnd.x * lineStart.y - lineEnd.y * lineStart.x)
173 | return area / sqrt(lengthSq)
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
174 | }
175 |
/host/spi-builder-workspace/Sources/Iris/Collision/Hitbox.swift:151:21: error: no exact matches in call to global function 'cos'
149 | }
150 |
151 | let cos_r = cos(rotation)
| `- error: no exact matches in call to global function 'cos'
152 | let sin_r = sin(rotation)
153 |
Foundation.cos:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func cos(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:92:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
90 | long double atan2l(long double __y, long double __x);
91 |
92 | double cos(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
93 | float cosf(float __x);
94 | long double cosl(long double __x);
/host/spi-builder-workspace/Sources/Iris/Collision/Hitbox.swift:152:21: error: no exact matches in call to global function 'sin'
150 |
151 | let cos_r = cos(rotation)
152 | let sin_r = sin(rotation)
| `- error: no exact matches in call to global function 'sin'
153 |
154 | return vertices.map { v in
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func sin(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:96:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
94 | long double cosl(long double __x);
95 |
96 | double sin(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
97 | float sinf(float __x);
98 | long double sinl(long double __x);
[28/42] Compiling Iris ConvexHull.swift
/host/spi-builder-workspace/Sources/Iris/Collision/CollisionDetection.swift:15:21: error: cannot convert value of type 'Float' to expected argument type 'Double'
13 | /// Cross-platform length for SIMD2<Float>
14 | private static func length(_ vector: SIMD2<Float>) -> Float {
15 | return sqrt(lengthSquared(vector))
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
16 | }
17 |
/host/spi-builder-workspace/Sources/Iris/Collision/CollisionDetection.swift:15:16: error: cannot convert return expression of type 'Double' to return type 'Float'
13 | /// Cross-platform length for SIMD2<Float>
14 | private static func length(_ vector: SIMD2<Float>) -> Float {
15 | return sqrt(lengthSquared(vector))
| `- error: cannot convert return expression of type 'Double' to return type 'Float'
16 | }
17 |
/host/spi-builder-workspace/Sources/Iris/Collision/CollisionDetection.swift:310:21: error: no exact matches in call to global function 'cos'
308 | }
309 |
310 | let cos_r = cos(rotation)
| `- error: no exact matches in call to global function 'cos'
311 | let sin_r = sin(rotation)
312 |
Foundation.cos:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func cos(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:92:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
90 | long double atan2l(long double __y, long double __x);
91 |
92 | double cos(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
93 | float cosf(float __x);
94 | long double cosl(long double __x);
/host/spi-builder-workspace/Sources/Iris/Collision/CollisionDetection.swift:311:21: error: no exact matches in call to global function 'sin'
309 |
310 | let cos_r = cos(rotation)
311 | let sin_r = sin(rotation)
| `- error: no exact matches in call to global function 'sin'
312 |
313 | return vertices.map { v in
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func sin(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:96:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
94 | long double cosl(long double __x);
95 |
96 | double sin(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
97 | float sinf(float __x);
98 | long double sinl(long double __x);
/host/spi-builder-workspace/Sources/Iris/Collision/ConvexHull.swift:173:23: error: cannot convert value of type 'Double' to expected argument type 'Float'
171 | let area = abs(
172 | dy * point.x - dx * point.y + lineEnd.x * lineStart.y - lineEnd.y * lineStart.x)
173 | return area / sqrt(lengthSq)
| `- error: cannot convert value of type 'Double' to expected argument type 'Float'
174 | }
175 |
/host/spi-builder-workspace/Sources/Iris/Collision/ConvexHull.swift:173:28: error: cannot convert value of type 'Float' to expected argument type 'Double'
171 | let area = abs(
172 | dy * point.x - dx * point.y + lineEnd.x * lineStart.y - lineEnd.y * lineStart.x)
173 | return area / sqrt(lengthSq)
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
174 | }
175 |
/host/spi-builder-workspace/Sources/Iris/Collision/Hitbox.swift:151:21: error: no exact matches in call to global function 'cos'
149 | }
150 |
151 | let cos_r = cos(rotation)
| `- error: no exact matches in call to global function 'cos'
152 | let sin_r = sin(rotation)
153 |
Foundation.cos:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func cos(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:92:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
90 | long double atan2l(long double __y, long double __x);
91 |
92 | double cos(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
93 | float cosf(float __x);
94 | long double cosl(long double __x);
/host/spi-builder-workspace/Sources/Iris/Collision/Hitbox.swift:152:21: error: no exact matches in call to global function 'sin'
150 |
151 | let cos_r = cos(rotation)
152 | let sin_r = sin(rotation)
| `- error: no exact matches in call to global function 'sin'
153 |
154 | return vertices.map { v in
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func sin(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:96:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
94 | long double cosl(long double __x);
95 |
96 | double sin(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
97 | float sinf(float __x);
98 | long double sinl(long double __x);
[29/42] Compiling Iris Hitbox.swift
/host/spi-builder-workspace/Sources/Iris/Collision/CollisionDetection.swift:15:21: error: cannot convert value of type 'Float' to expected argument type 'Double'
13 | /// Cross-platform length for SIMD2<Float>
14 | private static func length(_ vector: SIMD2<Float>) -> Float {
15 | return sqrt(lengthSquared(vector))
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
16 | }
17 |
/host/spi-builder-workspace/Sources/Iris/Collision/CollisionDetection.swift:15:16: error: cannot convert return expression of type 'Double' to return type 'Float'
13 | /// Cross-platform length for SIMD2<Float>
14 | private static func length(_ vector: SIMD2<Float>) -> Float {
15 | return sqrt(lengthSquared(vector))
| `- error: cannot convert return expression of type 'Double' to return type 'Float'
16 | }
17 |
/host/spi-builder-workspace/Sources/Iris/Collision/CollisionDetection.swift:310:21: error: no exact matches in call to global function 'cos'
308 | }
309 |
310 | let cos_r = cos(rotation)
| `- error: no exact matches in call to global function 'cos'
311 | let sin_r = sin(rotation)
312 |
Foundation.cos:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func cos(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:92:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
90 | long double atan2l(long double __y, long double __x);
91 |
92 | double cos(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
93 | float cosf(float __x);
94 | long double cosl(long double __x);
/host/spi-builder-workspace/Sources/Iris/Collision/CollisionDetection.swift:311:21: error: no exact matches in call to global function 'sin'
309 |
310 | let cos_r = cos(rotation)
311 | let sin_r = sin(rotation)
| `- error: no exact matches in call to global function 'sin'
312 |
313 | return vertices.map { v in
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func sin(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:96:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
94 | long double cosl(long double __x);
95 |
96 | double sin(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
97 | float sinf(float __x);
98 | long double sinl(long double __x);
/host/spi-builder-workspace/Sources/Iris/Collision/ConvexHull.swift:173:23: error: cannot convert value of type 'Double' to expected argument type 'Float'
171 | let area = abs(
172 | dy * point.x - dx * point.y + lineEnd.x * lineStart.y - lineEnd.y * lineStart.x)
173 | return area / sqrt(lengthSq)
| `- error: cannot convert value of type 'Double' to expected argument type 'Float'
174 | }
175 |
/host/spi-builder-workspace/Sources/Iris/Collision/ConvexHull.swift:173:28: error: cannot convert value of type 'Float' to expected argument type 'Double'
171 | let area = abs(
172 | dy * point.x - dx * point.y + lineEnd.x * lineStart.y - lineEnd.y * lineStart.x)
173 | return area / sqrt(lengthSq)
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
174 | }
175 |
/host/spi-builder-workspace/Sources/Iris/Collision/Hitbox.swift:151:21: error: no exact matches in call to global function 'cos'
149 | }
150 |
151 | let cos_r = cos(rotation)
| `- error: no exact matches in call to global function 'cos'
152 | let sin_r = sin(rotation)
153 |
Foundation.cos:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func cos(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:92:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
90 | long double atan2l(long double __y, long double __x);
91 |
92 | double cos(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
93 | float cosf(float __x);
94 | long double cosl(long double __x);
/host/spi-builder-workspace/Sources/Iris/Collision/Hitbox.swift:152:21: error: no exact matches in call to global function 'sin'
150 |
151 | let cos_r = cos(rotation)
152 | let sin_r = sin(rotation)
| `- error: no exact matches in call to global function 'sin'
153 |
154 | return vertices.map { v in
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func sin(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:96:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
94 | long double cosl(long double __x);
95 |
96 | double sin(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
97 | float sinf(float __x);
98 | long double sinl(long double __x);
BUILD FAILURE 6.2 android