The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Iris, reference main (bb4889), with Swift 6.3 for Android on 18 Apr 2026 01:28:10 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Chandram-Dutta/Iris.git
Reference: main
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
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
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 main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.3
Building package at path:  $PWD
https://github.com/Chandram-Dutta/Iris.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/2277] Fetching swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (0.41s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.6 (4.06s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3672] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.53s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.11s)
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.6
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] Copying Resources
[3/22] Write sources
[8/22] Write swift-version--4F562202D5529B1.txt
[10/40] Emitting module Iris
[11/42] Compiling Iris MacApp.swift
[12/42] Compiling Iris MacWindow.swift
[13/42] Compiling Iris MetalView.swift
[14/42] Compiling Iris Renderer.swift
[15/42] Compiling Iris PixelMask.swift
[16/42] Compiling Iris Engine.swift
[17/42] Compiling Iris Game.swift
[18/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 |
[19/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 |
[20/42] Compiling Iris Image.swift
[21/42] Compiling Iris Input.swift
[22/42] Compiling Iris GlyphAtlas.swift
[23/42] Compiling Iris Graphics.swift
[24/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.3-RELEASE_android.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.3-RELEASE_android.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/Graphics/DrawCommand.swift:219:30: error: cannot convert value of type 'Float16' to expected argument type 'Float'
217 |             columns: (
218 |                 SIMD4<Float>(c, s, 0, 0),
219 |                 SIMD4<Float>(-s, c, 0, 0),
    |                              `- error: cannot convert value of type 'Float16' to expected argument type 'Float'
220 |                 SIMD4<Float>(0, 0, 1, 0),
221 |                 SIMD4<Float>(0, 0, 0, 1)
[25/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.3-RELEASE_android.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.3-RELEASE_android.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/Graphics/DrawCommand.swift:219:30: error: cannot convert value of type 'Float16' to expected argument type 'Float'
217 |             columns: (
218 |                 SIMD4<Float>(c, s, 0, 0),
219 |                 SIMD4<Float>(-s, c, 0, 0),
    |                              `- error: cannot convert value of type 'Float16' to expected argument type 'Float'
220 |                 SIMD4<Float>(0, 0, 1, 0),
221 |                 SIMD4<Float>(0, 0, 0, 1)
[26/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.3-RELEASE_android.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.3-RELEASE_android.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/Graphics/DrawCommand.swift:219:30: error: cannot convert value of type 'Float16' to expected argument type 'Float'
217 |             columns: (
218 |                 SIMD4<Float>(c, s, 0, 0),
219 |                 SIMD4<Float>(-s, c, 0, 0),
    |                              `- error: cannot convert value of type 'Float16' to expected argument type 'Float'
220 |                 SIMD4<Float>(0, 0, 1, 0),
221 |                 SIMD4<Float>(0, 0, 0, 1)
[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.3-RELEASE_android.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.3-RELEASE_android.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.3-RELEASE_android.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.3-RELEASE_android.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.3-RELEASE_android.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.3-RELEASE_android.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.3-RELEASE_android.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.3-RELEASE_android.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.3-RELEASE_android.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.3-RELEASE_android.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.3-RELEASE_android.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.3-RELEASE_android.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.3 android