The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Iris, reference main (570ee9), with Swift 6.3 for Android on 14 Aug 2026 13:47:32 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344847-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.0.1
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 570ee91 Add audio system with Sound and Music APIs
Cloned https://github.com/Chandram-Dutta/Iris.git
Revision (git rev-parse @):
570ee918d0a3056c1f23b3a3d3965a7df20a568e
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-54344847-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:2b782c87e0bdf114eb0da12f6379a346f06569d6991407581da7dc03d1813adf
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.3-latest
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/2345] Fetching swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (0.51s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.5.0 (1.39s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3807] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.73s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.93s)
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.5.0
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-272D24FF697CF451.txt
[10/43] Emitting module Iris
[11/45] Compiling Iris MetalView.swift
[12/45] Compiling Iris Renderer.swift
[13/45] Compiling Iris MacApp.swift
[14/45] Compiling Iris MacWindow.swift
[15/45] Compiling Iris Input.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/45] 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 |
[17/45] 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 |
[18/45] 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.2-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.2-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)
[19/45] 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.2-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.2-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)
[20/45] 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.2-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.2-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)
[21/45] Compiling Iris PixelMask.swift
[22/45] Compiling Iris Engine.swift
[23/45] Compiling Iris Game.swift
[24/45] 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.2-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.2-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.2-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.2-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);
[25/45] 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.2-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.2-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.2-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.2-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);
[26/45] 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.2-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.2-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.2-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.2-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);
[27/45] Compiling Iris GlyphAtlas.swift
[28/45] Compiling Iris Graphics.swift
[29/45] Compiling Iris Image.swift
[30/45] Compiling Iris AudioBackend.swift
[31/45] Compiling Iris Music.swift
[32/45] Compiling Iris Sound.swift
BUILD FAILURE 6.3 android