The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftMath, reference 3.3.1 (13a224), with Swift 6.3 for Wasm on 13 Apr 2026 07:13:54 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SwiftGFX/SwiftMath.git
Reference: 3.3.1
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/SwiftGFX/SwiftMath
 * tag               3.3.1      -> FETCH_HEAD
HEAD is now at 13a224a Exclude files from target to remove warnings (#12)
Cloned https://github.com/SwiftGFX/SwiftMath.git
Revision (git rev-parse @):
13a224a655cbef1ef0e39d7d22e31a4ff6bc9937
SUCCESS checkout https://github.com/SwiftGFX/SwiftMath.git at 3.3.1
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/SwiftGFX/SwiftMath.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Building for debugging...
[0/5] Write sources
[1/5] Write swift-version-24593BA9C3E375BF.txt
[3/31] Emitting module SwiftMath
[4/31] Compiling SwiftMath Vector3.swift
/host/spi-builder-workspace/Sources/Vector4+nosimd.swift:81:16: error: cannot find 'sqrt' in scope
 79 |
 80 |     public var length: Float {
 81 |         return sqrt(self.lengthSquared)
    |                `- error: cannot find 'sqrt' in scope
 82 |     }
 83 |
/host/spi-builder-workspace/Sources/Vector4+nosimd.swift:93:23: error: cannot find 'sqrt' in scope
 91 |             return self
 92 |         }
 93 |         return self / sqrt(lengthSquared)
    |                       `- error: cannot find 'sqrt' in scope
 94 |     }
 95 |
[5/31] Compiling SwiftMath Vector4+nosimd.swift
/host/spi-builder-workspace/Sources/Vector4+nosimd.swift:81:16: error: cannot find 'sqrt' in scope
 79 |
 80 |     public var length: Float {
 81 |         return sqrt(self.lengthSquared)
    |                `- error: cannot find 'sqrt' in scope
 82 |     }
 83 |
/host/spi-builder-workspace/Sources/Vector4+nosimd.swift:93:23: error: cannot find 'sqrt' in scope
 91 |             return self
 92 |         }
 93 |         return self / sqrt(lengthSquared)
    |                       `- error: cannot find 'sqrt' in scope
 94 |     }
 95 |
[6/31] Compiling SwiftMath Vector4+simd.swift
/host/spi-builder-workspace/Sources/Vector4+nosimd.swift:81:16: error: cannot find 'sqrt' in scope
 79 |
 80 |     public var length: Float {
 81 |         return sqrt(self.lengthSquared)
    |                `- error: cannot find 'sqrt' in scope
 82 |     }
 83 |
/host/spi-builder-workspace/Sources/Vector4+nosimd.swift:93:23: error: cannot find 'sqrt' in scope
 91 |             return self
 92 |         }
 93 |         return self / sqrt(lengthSquared)
    |                       `- error: cannot find 'sqrt' in scope
 94 |     }
 95 |
[7/34] Compiling SwiftMath Matrix4x4+Extensions.swift
[8/34] Compiling SwiftMath Matrix4x4+nosimd.swift
[9/34] Compiling SwiftMath Matrix4x4+simd.swift
[10/34] Compiling SwiftMath Matrix4x4.swift
[11/34] Compiling SwiftMath Vector4.swift
/host/spi-builder-workspace/Sources/easing.swift:114:28: error: cannot find 'powf' in scope
112 | // MARK: Expo Ease
113 | public func expoEaseIn(_ time: Float) -> Float {
114 |     return time == 0 ? 0 : powf(2, 10 * (time / 1 - 1)) - 1 * 0.001
    |                            `- error: cannot find 'powf' in scope
115 | }
116 |
/host/spi-builder-workspace/Sources/easing.swift:118:30: error: cannot find 'powf' in scope
116 |
117 | public func expoEaseOut(_ time: Float) -> Float {
118 |     return time == 1 ? 1 : (-powf(2, -10 * time / 1) + 1)
    |                              `- error: cannot find 'powf' in scope
119 | }
120 |
/host/spi-builder-workspace/Sources/easing.swift:125:22: error: cannot find 'powf' in scope
123 |     time /= 0.5
124 |     if time < 1 {
125 |         time = 0.5 * powf(2, 10 * (time - 1))
    |                      `- error: cannot find 'powf' in scope
126 |     }
127 |     else {
/host/spi-builder-workspace/Sources/easing.swift:128:24: error: cannot find 'powf' in scope
126 |     }
127 |     else {
128 |         time = 0.5 * (-powf(2, -10 * (time - 1)) + 2)
    |                        `- error: cannot find 'powf' in scope
129 |     }
130 |     return time
/host/spi-builder-workspace/Sources/easing.swift:135:14: error: cannot find 'sqrt' in scope
133 | // MARK: Circ Ease
134 | public func circEaseIn(_ time: Float) -> Float {
135 |     return -(sqrt(1 - time * time) - 1)
    |              `- error: cannot find 'sqrt' in scope
136 | }
137 |
/host/spi-builder-workspace/Sources/easing.swift:141:12: error: cannot find 'sqrt' in scope
139 |     var time = time
140 |     time = time - 1
141 |     return sqrt(1 - time * time)
    |            `- error: cannot find 'sqrt' in scope
142 | }
143 |
/host/spi-builder-workspace/Sources/easing.swift:148:24: error: cannot find 'sqrt' in scope
146 |     time = time * 2
147 |     if time < 1 {
148 |         return -0.5 * (sqrt(1 - time * time) - 1)
    |                        `- error: cannot find 'sqrt' in scope
149 |     }
150 |     time -= 2
/host/spi-builder-workspace/Sources/easing.swift:151:19: error: cannot find 'sqrt' in scope
149 |     }
150 |     time -= 2
151 |     return 0.5 * (sqrt(1 - time * time) + 1)
    |                   `- error: cannot find 'sqrt' in scope
152 | }
153 |
/host/spi-builder-workspace/Sources/easing.swift:164:17: error: cannot find 'powf' in scope
162 |         let s: Float = period / 4
163 |         time = time - 1
164 |         newT = -powf(2, 10 * time) * sin((time - s) * Angle.pi2 / period)
    |                 `- error: cannot find 'powf' in scope
165 |     }
166 |     return newT
/host/spi-builder-workspace/Sources/easing.swift:176:16: error: cannot find 'powf' in scope
174 |     else {
175 |         let s: Float = period / 4
176 |         newT = powf(2, -10 * time) * sin((time - s) * Angle.pi2 / period) + 1
    |                `- error: cannot find 'powf' in scope
177 |     }
178 |     return newT
/host/spi-builder-workspace/Sources/easing.swift:196:27: error: cannot find 'powf' in scope
194 |         time = time - 1
195 |         if time < 0 {
196 |             newT = -0.5 * powf(2, 10 * time) * sin((time - s) * Angle.pi2 / period)
    |                           `- error: cannot find 'powf' in scope
197 |         }
198 |         else {
/host/spi-builder-workspace/Sources/easing.swift:199:20: error: cannot find 'powf' in scope
197 |         }
198 |         else {
199 |             newT = powf(2, -10 * time) * sin((time - s) * Angle.pi2 / period) * 0.5 + 1
    |                    `- error: cannot find 'powf' in scope
200 |         }
201 |     }
/host/spi-builder-workspace/Sources/easing.swift:287:12: error: cannot find 'powf' in scope
285 |
286 | public func easeIn(_ time: Float, rate: Float) -> Float {
287 |     return powf(time, rate)
    |            `- error: cannot find 'powf' in scope
288 | }
289 |
/host/spi-builder-workspace/Sources/easing.swift:291:12: error: cannot find 'powf' in scope
289 |
290 | public func easeOut(_ time: Float, rate: Float) -> Float {
291 |     return powf(time, 1 / rate)
    |            `- error: cannot find 'powf' in scope
292 | }
293 |
/host/spi-builder-workspace/Sources/easing.swift:298:22: error: cannot find 'powf' in scope
296 |     time *= 2
297 |     if time < 1 {
298 |         return 0.5 * powf(time, rate)
    |                      `- error: cannot find 'powf' in scope
299 |     }
300 |     else {
/host/spi-builder-workspace/Sources/easing.swift:301:29: error: cannot find 'powf' in scope
299 |     }
300 |     else {
301 |         return (1.0 - 0.5 * powf(2 - time, rate))
    |                             `- error: cannot find 'powf' in scope
302 |     }
303 | }
/host/spi-builder-workspace/Sources/easing.swift:306:12: error: cannot find 'powf' in scope
304 |
305 | public func quadraticIn(_ time: Float) -> Float {
306 |     return powf(time, 2)
    |            `- error: cannot find 'powf' in scope
307 | }
308 |
[12/34] Compiling SwiftMath Vectorf+Components.swift
/host/spi-builder-workspace/Sources/easing.swift:114:28: error: cannot find 'powf' in scope
112 | // MARK: Expo Ease
113 | public func expoEaseIn(_ time: Float) -> Float {
114 |     return time == 0 ? 0 : powf(2, 10 * (time / 1 - 1)) - 1 * 0.001
    |                            `- error: cannot find 'powf' in scope
115 | }
116 |
/host/spi-builder-workspace/Sources/easing.swift:118:30: error: cannot find 'powf' in scope
116 |
117 | public func expoEaseOut(_ time: Float) -> Float {
118 |     return time == 1 ? 1 : (-powf(2, -10 * time / 1) + 1)
    |                              `- error: cannot find 'powf' in scope
119 | }
120 |
/host/spi-builder-workspace/Sources/easing.swift:125:22: error: cannot find 'powf' in scope
123 |     time /= 0.5
124 |     if time < 1 {
125 |         time = 0.5 * powf(2, 10 * (time - 1))
    |                      `- error: cannot find 'powf' in scope
126 |     }
127 |     else {
/host/spi-builder-workspace/Sources/easing.swift:128:24: error: cannot find 'powf' in scope
126 |     }
127 |     else {
128 |         time = 0.5 * (-powf(2, -10 * (time - 1)) + 2)
    |                        `- error: cannot find 'powf' in scope
129 |     }
130 |     return time
/host/spi-builder-workspace/Sources/easing.swift:135:14: error: cannot find 'sqrt' in scope
133 | // MARK: Circ Ease
134 | public func circEaseIn(_ time: Float) -> Float {
135 |     return -(sqrt(1 - time * time) - 1)
    |              `- error: cannot find 'sqrt' in scope
136 | }
137 |
/host/spi-builder-workspace/Sources/easing.swift:141:12: error: cannot find 'sqrt' in scope
139 |     var time = time
140 |     time = time - 1
141 |     return sqrt(1 - time * time)
    |            `- error: cannot find 'sqrt' in scope
142 | }
143 |
/host/spi-builder-workspace/Sources/easing.swift:148:24: error: cannot find 'sqrt' in scope
146 |     time = time * 2
147 |     if time < 1 {
148 |         return -0.5 * (sqrt(1 - time * time) - 1)
    |                        `- error: cannot find 'sqrt' in scope
149 |     }
150 |     time -= 2
/host/spi-builder-workspace/Sources/easing.swift:151:19: error: cannot find 'sqrt' in scope
149 |     }
150 |     time -= 2
151 |     return 0.5 * (sqrt(1 - time * time) + 1)
    |                   `- error: cannot find 'sqrt' in scope
152 | }
153 |
/host/spi-builder-workspace/Sources/easing.swift:164:17: error: cannot find 'powf' in scope
162 |         let s: Float = period / 4
163 |         time = time - 1
164 |         newT = -powf(2, 10 * time) * sin((time - s) * Angle.pi2 / period)
    |                 `- error: cannot find 'powf' in scope
165 |     }
166 |     return newT
/host/spi-builder-workspace/Sources/easing.swift:176:16: error: cannot find 'powf' in scope
174 |     else {
175 |         let s: Float = period / 4
176 |         newT = powf(2, -10 * time) * sin((time - s) * Angle.pi2 / period) + 1
    |                `- error: cannot find 'powf' in scope
177 |     }
178 |     return newT
/host/spi-builder-workspace/Sources/easing.swift:196:27: error: cannot find 'powf' in scope
194 |         time = time - 1
195 |         if time < 0 {
196 |             newT = -0.5 * powf(2, 10 * time) * sin((time - s) * Angle.pi2 / period)
    |                           `- error: cannot find 'powf' in scope
197 |         }
198 |         else {
/host/spi-builder-workspace/Sources/easing.swift:199:20: error: cannot find 'powf' in scope
197 |         }
198 |         else {
199 |             newT = powf(2, -10 * time) * sin((time - s) * Angle.pi2 / period) * 0.5 + 1
    |                    `- error: cannot find 'powf' in scope
200 |         }
201 |     }
/host/spi-builder-workspace/Sources/easing.swift:287:12: error: cannot find 'powf' in scope
285 |
286 | public func easeIn(_ time: Float, rate: Float) -> Float {
287 |     return powf(time, rate)
    |            `- error: cannot find 'powf' in scope
288 | }
289 |
/host/spi-builder-workspace/Sources/easing.swift:291:12: error: cannot find 'powf' in scope
289 |
290 | public func easeOut(_ time: Float, rate: Float) -> Float {
291 |     return powf(time, 1 / rate)
    |            `- error: cannot find 'powf' in scope
292 | }
293 |
/host/spi-builder-workspace/Sources/easing.swift:298:22: error: cannot find 'powf' in scope
296 |     time *= 2
297 |     if time < 1 {
298 |         return 0.5 * powf(time, rate)
    |                      `- error: cannot find 'powf' in scope
299 |     }
300 |     else {
/host/spi-builder-workspace/Sources/easing.swift:301:29: error: cannot find 'powf' in scope
299 |     }
300 |     else {
301 |         return (1.0 - 0.5 * powf(2 - time, rate))
    |                             `- error: cannot find 'powf' in scope
302 |     }
303 | }
/host/spi-builder-workspace/Sources/easing.swift:306:12: error: cannot find 'powf' in scope
304 |
305 | public func quadraticIn(_ time: Float) -> Float {
306 |     return powf(time, 2)
    |            `- error: cannot find 'powf' in scope
307 | }
308 |
[13/34] Compiling SwiftMath easing.swift
/host/spi-builder-workspace/Sources/easing.swift:114:28: error: cannot find 'powf' in scope
112 | // MARK: Expo Ease
113 | public func expoEaseIn(_ time: Float) -> Float {
114 |     return time == 0 ? 0 : powf(2, 10 * (time / 1 - 1)) - 1 * 0.001
    |                            `- error: cannot find 'powf' in scope
115 | }
116 |
/host/spi-builder-workspace/Sources/easing.swift:118:30: error: cannot find 'powf' in scope
116 |
117 | public func expoEaseOut(_ time: Float) -> Float {
118 |     return time == 1 ? 1 : (-powf(2, -10 * time / 1) + 1)
    |                              `- error: cannot find 'powf' in scope
119 | }
120 |
/host/spi-builder-workspace/Sources/easing.swift:125:22: error: cannot find 'powf' in scope
123 |     time /= 0.5
124 |     if time < 1 {
125 |         time = 0.5 * powf(2, 10 * (time - 1))
    |                      `- error: cannot find 'powf' in scope
126 |     }
127 |     else {
/host/spi-builder-workspace/Sources/easing.swift:128:24: error: cannot find 'powf' in scope
126 |     }
127 |     else {
128 |         time = 0.5 * (-powf(2, -10 * (time - 1)) + 2)
    |                        `- error: cannot find 'powf' in scope
129 |     }
130 |     return time
/host/spi-builder-workspace/Sources/easing.swift:135:14: error: cannot find 'sqrt' in scope
133 | // MARK: Circ Ease
134 | public func circEaseIn(_ time: Float) -> Float {
135 |     return -(sqrt(1 - time * time) - 1)
    |              `- error: cannot find 'sqrt' in scope
136 | }
137 |
/host/spi-builder-workspace/Sources/easing.swift:141:12: error: cannot find 'sqrt' in scope
139 |     var time = time
140 |     time = time - 1
141 |     return sqrt(1 - time * time)
    |            `- error: cannot find 'sqrt' in scope
142 | }
143 |
/host/spi-builder-workspace/Sources/easing.swift:148:24: error: cannot find 'sqrt' in scope
146 |     time = time * 2
147 |     if time < 1 {
148 |         return -0.5 * (sqrt(1 - time * time) - 1)
    |                        `- error: cannot find 'sqrt' in scope
149 |     }
150 |     time -= 2
/host/spi-builder-workspace/Sources/easing.swift:151:19: error: cannot find 'sqrt' in scope
149 |     }
150 |     time -= 2
151 |     return 0.5 * (sqrt(1 - time * time) + 1)
    |                   `- error: cannot find 'sqrt' in scope
152 | }
153 |
/host/spi-builder-workspace/Sources/easing.swift:164:17: error: cannot find 'powf' in scope
162 |         let s: Float = period / 4
163 |         time = time - 1
164 |         newT = -powf(2, 10 * time) * sin((time - s) * Angle.pi2 / period)
    |                 `- error: cannot find 'powf' in scope
165 |     }
166 |     return newT
/host/spi-builder-workspace/Sources/easing.swift:176:16: error: cannot find 'powf' in scope
174 |     else {
175 |         let s: Float = period / 4
176 |         newT = powf(2, -10 * time) * sin((time - s) * Angle.pi2 / period) + 1
    |                `- error: cannot find 'powf' in scope
177 |     }
178 |     return newT
/host/spi-builder-workspace/Sources/easing.swift:196:27: error: cannot find 'powf' in scope
194 |         time = time - 1
195 |         if time < 0 {
196 |             newT = -0.5 * powf(2, 10 * time) * sin((time - s) * Angle.pi2 / period)
    |                           `- error: cannot find 'powf' in scope
197 |         }
198 |         else {
/host/spi-builder-workspace/Sources/easing.swift:199:20: error: cannot find 'powf' in scope
197 |         }
198 |         else {
199 |             newT = powf(2, -10 * time) * sin((time - s) * Angle.pi2 / period) * 0.5 + 1
    |                    `- error: cannot find 'powf' in scope
200 |         }
201 |     }
/host/spi-builder-workspace/Sources/easing.swift:287:12: error: cannot find 'powf' in scope
285 |
286 | public func easeIn(_ time: Float, rate: Float) -> Float {
287 |     return powf(time, rate)
    |            `- error: cannot find 'powf' in scope
288 | }
289 |
/host/spi-builder-workspace/Sources/easing.swift:291:12: error: cannot find 'powf' in scope
289 |
290 | public func easeOut(_ time: Float, rate: Float) -> Float {
291 |     return powf(time, 1 / rate)
    |            `- error: cannot find 'powf' in scope
292 | }
293 |
/host/spi-builder-workspace/Sources/easing.swift:298:22: error: cannot find 'powf' in scope
296 |     time *= 2
297 |     if time < 1 {
298 |         return 0.5 * powf(time, rate)
    |                      `- error: cannot find 'powf' in scope
299 |     }
300 |     else {
/host/spi-builder-workspace/Sources/easing.swift:301:29: error: cannot find 'powf' in scope
299 |     }
300 |     else {
301 |         return (1.0 - 0.5 * powf(2 - time, rate))
    |                             `- error: cannot find 'powf' in scope
302 |     }
303 | }
/host/spi-builder-workspace/Sources/easing.swift:306:12: error: cannot find 'powf' in scope
304 |
305 | public func quadraticIn(_ time: Float) -> Float {
306 |     return powf(time, 2)
    |            `- error: cannot find 'powf' in scope
307 | }
308 |
[14/34] Compiling SwiftMath Angle.swift
[15/34] Compiling SwiftMath Matrix3x3+nosimd.swift
[16/34] Compiling SwiftMath Matrix3x3+simd.swift
[17/34] Compiling SwiftMath Matrix3x3.swift
[18/34] Compiling SwiftMath Vector2+simd.swift
/host/spi-builder-workspace/Sources/Vector3+nosimd.swift:71:16: error: cannot find 'sqrt' in scope
 69 |
 70 |     public var length: Float {
 71 |         return sqrt(self.lengthSquared)
    |                `- error: cannot find 'sqrt' in scope
 72 |     }
 73 |
/host/spi-builder-workspace/Sources/Vector3+nosimd.swift:87:23: error: cannot find 'sqrt' in scope
 85 |             return self
 86 |         }
 87 |         return self / sqrt(lengthSquared)
    |                       `- error: cannot find 'sqrt' in scope
 88 |     }
 89 |
[19/34] Compiling SwiftMath Vector2.swift
/host/spi-builder-workspace/Sources/Vector3+nosimd.swift:71:16: error: cannot find 'sqrt' in scope
 69 |
 70 |     public var length: Float {
 71 |         return sqrt(self.lengthSquared)
    |                `- error: cannot find 'sqrt' in scope
 72 |     }
 73 |
/host/spi-builder-workspace/Sources/Vector3+nosimd.swift:87:23: error: cannot find 'sqrt' in scope
 85 |             return self
 86 |         }
 87 |         return self / sqrt(lengthSquared)
    |                       `- error: cannot find 'sqrt' in scope
 88 |     }
 89 |
[20/34] Compiling SwiftMath Vector3+nosimd.swift
/host/spi-builder-workspace/Sources/Vector3+nosimd.swift:71:16: error: cannot find 'sqrt' in scope
 69 |
 70 |     public var length: Float {
 71 |         return sqrt(self.lengthSquared)
    |                `- error: cannot find 'sqrt' in scope
 72 |     }
 73 |
/host/spi-builder-workspace/Sources/Vector3+nosimd.swift:87:23: error: cannot find 'sqrt' in scope
 85 |             return self
 86 |         }
 87 |         return self / sqrt(lengthSquared)
    |                       `- error: cannot find 'sqrt' in scope
 88 |     }
 89 |
[21/34] Compiling SwiftMath Vector3+simd.swift
/host/spi-builder-workspace/Sources/Vector3+nosimd.swift:71:16: error: cannot find 'sqrt' in scope
 69 |
 70 |     public var length: Float {
 71 |         return sqrt(self.lengthSquared)
    |                `- error: cannot find 'sqrt' in scope
 72 |     }
 73 |
/host/spi-builder-workspace/Sources/Vector3+nosimd.swift:87:23: error: cannot find 'sqrt' in scope
 85 |             return self
 86 |         }
 87 |         return self / sqrt(lengthSquared)
    |                       `- error: cannot find 'sqrt' in scope
 88 |     }
 89 |
[22/34] Compiling SwiftMath platform.swift
/host/spi-builder-workspace/Sources/platform.swift:95:5: error: cannot find '__sincospif' in scope
 93 |
 94 | public func sincos(_ a: Angle, _ sina: inout Float, _ cosa: inout Float)  {
 95 |     __sincospif(a.degrees / 180.0, &sina, &cosa)
    |     `- error: cannot find '__sincospif' in scope
 96 | }
 97 |
/host/spi-builder-workspace/Sources/platform.swift:107:9: error: cannot find '__sinpif' in scope
105 |
106 | public func sin(_ a: Angle) -> Float {
107 | 	return __sinpif(a.degrees / 180.0)
    |         `- error: cannot find '__sinpif' in scope
108 | }
109 |
/host/spi-builder-workspace/Sources/platform.swift:111:9: error: cannot find '__cospif' in scope
109 |
110 | public func cos(_ a: Angle) -> Float {
111 | 	return __cospif(a.degrees / 180.0)
    |         `- error: cannot find '__cospif' in scope
112 | }
113 |
/host/spi-builder-workspace/Sources/platform.swift:115:12: error: cannot find '__tanpif' in scope
113 |
114 | public func tan(_ a: Angle) -> Float {
115 |     return __tanpif(a.degrees / 180.0)
    |            `- error: cannot find '__tanpif' in scope
116 | }
117 |
/host/spi-builder-workspace/Sources/random.swift:52:28: error: cannot find 'arc4random_uniform' in scope
 50 |     /// SwiftRandom extension
 51 |     static func random(_ lower: Int = 0, _ upper: Int = 100) -> Int {
 52 |         return lower + Int(arc4random_uniform(UInt32(upper - lower + 1)))
    |                            `- error: cannot find 'arc4random_uniform' in scope
 53 |     }
 54 | }
/host/spi-builder-workspace/Sources/random.swift:66:17: error: cannot find 'arc4random_uniform' in scope
 64 |     /// - note: Using `Int` as parameter type as we usually just want to write `Int32.random(13, 37)` and not `Int32.random(Int32(13), Int32(37))`
 65 |     static func random(_ lower: Int = 0, _ upper: Int = 100) -> Int32 {
 66 |         let r = arc4random_uniform(UInt32(Int64(upper) - Int64(lower)))
    |                 `- error: cannot find 'arc4random_uniform' in scope
 67 |         return Int32(Int64(r) + Int64(lower))
 68 |     }
/host/spi-builder-workspace/Sources/random.swift:74:24: error: cannot find 'arc4random' in scope
 72 |     /// SwiftRandom extension
 73 |     static func random(_ lower: Double = 0, _ upper: Double = 100) -> Double {
 74 |         return (Double(arc4random()) / 0xFFFFFFFF) * (upper - lower) + lower
    |                        `- error: cannot find 'arc4random' in scope
 75 |     }
 76 | }
/host/spi-builder-workspace/Sources/random.swift:81:23: error: cannot find 'arc4random' in scope
 79 |     /// SwiftRandom extension
 80 |     static func random(_ lower: Float = 0, _ upper: Float = 100) -> Float {
 81 |         return (Float(arc4random()) / 0xFFFFFF) * (upper - lower) + lower
    |                       `- error: cannot find 'arc4random' in scope
 82 |     }
 83 | }
/host/spi-builder-workspace/Sources/random.swift:93:40: error: cannot find 'sqrtf' in scope
 91 |             let lsq = p.lengthSquared
 92 |             if 0.1 < lsq && lsq < 1.0 {
 93 |                 return p * Float(1.0 / sqrtf(lsq))
    |                                        `- error: cannot find 'sqrtf' in scope
 94 |             }
 95 |         }
[23/34] Compiling SwiftMath random.swift
/host/spi-builder-workspace/Sources/platform.swift:95:5: error: cannot find '__sincospif' in scope
 93 |
 94 | public func sincos(_ a: Angle, _ sina: inout Float, _ cosa: inout Float)  {
 95 |     __sincospif(a.degrees / 180.0, &sina, &cosa)
    |     `- error: cannot find '__sincospif' in scope
 96 | }
 97 |
/host/spi-builder-workspace/Sources/platform.swift:107:9: error: cannot find '__sinpif' in scope
105 |
106 | public func sin(_ a: Angle) -> Float {
107 | 	return __sinpif(a.degrees / 180.0)
    |         `- error: cannot find '__sinpif' in scope
108 | }
109 |
/host/spi-builder-workspace/Sources/platform.swift:111:9: error: cannot find '__cospif' in scope
109 |
110 | public func cos(_ a: Angle) -> Float {
111 | 	return __cospif(a.degrees / 180.0)
    |         `- error: cannot find '__cospif' in scope
112 | }
113 |
/host/spi-builder-workspace/Sources/platform.swift:115:12: error: cannot find '__tanpif' in scope
113 |
114 | public func tan(_ a: Angle) -> Float {
115 |     return __tanpif(a.degrees / 180.0)
    |            `- error: cannot find '__tanpif' in scope
116 | }
117 |
/host/spi-builder-workspace/Sources/random.swift:52:28: error: cannot find 'arc4random_uniform' in scope
 50 |     /// SwiftRandom extension
 51 |     static func random(_ lower: Int = 0, _ upper: Int = 100) -> Int {
 52 |         return lower + Int(arc4random_uniform(UInt32(upper - lower + 1)))
    |                            `- error: cannot find 'arc4random_uniform' in scope
 53 |     }
 54 | }
/host/spi-builder-workspace/Sources/random.swift:66:17: error: cannot find 'arc4random_uniform' in scope
 64 |     /// - note: Using `Int` as parameter type as we usually just want to write `Int32.random(13, 37)` and not `Int32.random(Int32(13), Int32(37))`
 65 |     static func random(_ lower: Int = 0, _ upper: Int = 100) -> Int32 {
 66 |         let r = arc4random_uniform(UInt32(Int64(upper) - Int64(lower)))
    |                 `- error: cannot find 'arc4random_uniform' in scope
 67 |         return Int32(Int64(r) + Int64(lower))
 68 |     }
/host/spi-builder-workspace/Sources/random.swift:74:24: error: cannot find 'arc4random' in scope
 72 |     /// SwiftRandom extension
 73 |     static func random(_ lower: Double = 0, _ upper: Double = 100) -> Double {
 74 |         return (Double(arc4random()) / 0xFFFFFFFF) * (upper - lower) + lower
    |                        `- error: cannot find 'arc4random' in scope
 75 |     }
 76 | }
/host/spi-builder-workspace/Sources/random.swift:81:23: error: cannot find 'arc4random' in scope
 79 |     /// SwiftRandom extension
 80 |     static func random(_ lower: Float = 0, _ upper: Float = 100) -> Float {
 81 |         return (Float(arc4random()) / 0xFFFFFF) * (upper - lower) + lower
    |                       `- error: cannot find 'arc4random' in scope
 82 |     }
 83 | }
/host/spi-builder-workspace/Sources/random.swift:93:40: error: cannot find 'sqrtf' in scope
 91 |             let lsq = p.lengthSquared
 92 |             if 0.1 < lsq && lsq < 1.0 {
 93 |                 return p * Float(1.0 / sqrtf(lsq))
    |                                        `- error: cannot find 'sqrtf' in scope
 94 |             }
 95 |         }
[24/34] Compiling SwiftMath utils.swift
/host/spi-builder-workspace/Sources/platform.swift:95:5: error: cannot find '__sincospif' in scope
 93 |
 94 | public func sincos(_ a: Angle, _ sina: inout Float, _ cosa: inout Float)  {
 95 |     __sincospif(a.degrees / 180.0, &sina, &cosa)
    |     `- error: cannot find '__sincospif' in scope
 96 | }
 97 |
/host/spi-builder-workspace/Sources/platform.swift:107:9: error: cannot find '__sinpif' in scope
105 |
106 | public func sin(_ a: Angle) -> Float {
107 | 	return __sinpif(a.degrees / 180.0)
    |         `- error: cannot find '__sinpif' in scope
108 | }
109 |
/host/spi-builder-workspace/Sources/platform.swift:111:9: error: cannot find '__cospif' in scope
109 |
110 | public func cos(_ a: Angle) -> Float {
111 | 	return __cospif(a.degrees / 180.0)
    |         `- error: cannot find '__cospif' in scope
112 | }
113 |
/host/spi-builder-workspace/Sources/platform.swift:115:12: error: cannot find '__tanpif' in scope
113 |
114 | public func tan(_ a: Angle) -> Float {
115 |     return __tanpif(a.degrees / 180.0)
    |            `- error: cannot find '__tanpif' in scope
116 | }
117 |
/host/spi-builder-workspace/Sources/random.swift:52:28: error: cannot find 'arc4random_uniform' in scope
 50 |     /// SwiftRandom extension
 51 |     static func random(_ lower: Int = 0, _ upper: Int = 100) -> Int {
 52 |         return lower + Int(arc4random_uniform(UInt32(upper - lower + 1)))
    |                            `- error: cannot find 'arc4random_uniform' in scope
 53 |     }
 54 | }
/host/spi-builder-workspace/Sources/random.swift:66:17: error: cannot find 'arc4random_uniform' in scope
 64 |     /// - note: Using `Int` as parameter type as we usually just want to write `Int32.random(13, 37)` and not `Int32.random(Int32(13), Int32(37))`
 65 |     static func random(_ lower: Int = 0, _ upper: Int = 100) -> Int32 {
 66 |         let r = arc4random_uniform(UInt32(Int64(upper) - Int64(lower)))
    |                 `- error: cannot find 'arc4random_uniform' in scope
 67 |         return Int32(Int64(r) + Int64(lower))
 68 |     }
/host/spi-builder-workspace/Sources/random.swift:74:24: error: cannot find 'arc4random' in scope
 72 |     /// SwiftRandom extension
 73 |     static func random(_ lower: Double = 0, _ upper: Double = 100) -> Double {
 74 |         return (Double(arc4random()) / 0xFFFFFFFF) * (upper - lower) + lower
    |                        `- error: cannot find 'arc4random' in scope
 75 |     }
 76 | }
/host/spi-builder-workspace/Sources/random.swift:81:23: error: cannot find 'arc4random' in scope
 79 |     /// SwiftRandom extension
 80 |     static func random(_ lower: Float = 0, _ upper: Float = 100) -> Float {
 81 |         return (Float(arc4random()) / 0xFFFFFF) * (upper - lower) + lower
    |                       `- error: cannot find 'arc4random' in scope
 82 |     }
 83 | }
/host/spi-builder-workspace/Sources/random.swift:93:40: error: cannot find 'sqrtf' in scope
 91 |             let lsq = p.lengthSquared
 92 |             if 0.1 < lsq && lsq < 1.0 {
 93 |                 return p * Float(1.0 / sqrtf(lsq))
    |                                        `- error: cannot find 'sqrtf' in scope
 94 |             }
 95 |         }
[25/34] Compiling SwiftMath float3x3+Extensions.swift
[26/34] Compiling SwiftMath float4x4+Extensions.swift
[27/34] Compiling SwiftMath functions.swift
[28/34] Compiling SwiftMath Point.swift
/host/spi-builder-workspace/Sources/Vector2+nosimd.swift:65:20: error: cannot find 'sqrt' in scope
 63 |
 64 |         public var length: Float {
 65 |             return sqrt(self.lengthSquared)
    |                    `- error: cannot find 'sqrt' in scope
 66 |         }
 67 |
/host/spi-builder-workspace/Sources/Vector2+nosimd.swift:81:27: error: cannot find 'sqrt' in scope
 79 |                 return self
 80 |             }
 81 |             return self / sqrt(lengthSquared)
    |                           `- error: cannot find 'sqrt' in scope
 82 |         }
 83 |
[29/34] Compiling SwiftMath Rect.swift
/host/spi-builder-workspace/Sources/Vector2+nosimd.swift:65:20: error: cannot find 'sqrt' in scope
 63 |
 64 |         public var length: Float {
 65 |             return sqrt(self.lengthSquared)
    |                    `- error: cannot find 'sqrt' in scope
 66 |         }
 67 |
/host/spi-builder-workspace/Sources/Vector2+nosimd.swift:81:27: error: cannot find 'sqrt' in scope
 79 |                 return self
 80 |             }
 81 |             return self / sqrt(lengthSquared)
    |                           `- error: cannot find 'sqrt' in scope
 82 |         }
 83 |
[30/34] Compiling SwiftMath String+Math.swift
/host/spi-builder-workspace/Sources/Vector2+nosimd.swift:65:20: error: cannot find 'sqrt' in scope
 63 |
 64 |         public var length: Float {
 65 |             return sqrt(self.lengthSquared)
    |                    `- error: cannot find 'sqrt' in scope
 66 |         }
 67 |
/host/spi-builder-workspace/Sources/Vector2+nosimd.swift:81:27: error: cannot find 'sqrt' in scope
 79 |                 return self
 80 |             }
 81 |             return self / sqrt(lengthSquared)
    |                           `- error: cannot find 'sqrt' in scope
 82 |         }
 83 |
[31/34] Compiling SwiftMath Vector2+nosimd.swift
/host/spi-builder-workspace/Sources/Vector2+nosimd.swift:65:20: error: cannot find 'sqrt' in scope
 63 |
 64 |         public var length: Float {
 65 |             return sqrt(self.lengthSquared)
    |                    `- error: cannot find 'sqrt' in scope
 66 |         }
 67 |
/host/spi-builder-workspace/Sources/Vector2+nosimd.swift:81:27: error: cannot find 'sqrt' in scope
 79 |                 return self
 80 |             }
 81 |             return self / sqrt(lengthSquared)
    |                           `- error: cannot find 'sqrt' in scope
 82 |         }
 83 |
BUILD FAILURE 6.3 wasm