The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftMath, reference master (d9f8c2), with Swift 6.1 for Wasm on 28 May 2025 08:41:11 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SwiftGFX/SwiftMath.git
Reference: master
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
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at d9f8c2c introduce vectorized min and max for vec2f
Cloned https://github.com/SwiftGFX/SwiftMath.git
Revision (git rev-parse @):
d9f8c2cfd722bf89e6717a2de54dd55503a747df
SUCCESS checkout https://github.com/SwiftGFX/SwiftMath.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/SwiftGFX/SwiftMath.git
https://github.com/SwiftGFX/SwiftMath.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SwiftMath",
  "name" : "SwiftMath",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SwiftMath",
      "targets" : [
        "SwiftMath"
      ],
      "type" : {
        "library" : [
          "static"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftMathTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftMathTests",
      "path" : "Tests/SwiftMathTests",
      "sources" : [
        "AngleTests.swift",
        "Matrix3x3Tests.swift",
        "Matrix4x4Tests.swift",
        "RectTests.swift",
        "Vector2Tests.swift",
        "XCTestManifests.swift",
        "functionsTests.swift"
      ],
      "target_dependencies" : [
        "SwiftMath"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftMath",
      "module_type" : "SwiftTarget",
      "name" : "SwiftMath",
      "path" : ".",
      "product_memberships" : [
        "SwiftMath"
      ],
      "sources" : [
        "Sources/Angle.swift",
        "Sources/Matrix3x3+nosimd.swift",
        "Sources/Matrix3x3+simd.swift",
        "Sources/Matrix3x3.swift",
        "Sources/Matrix4x4+Extensions.swift",
        "Sources/Matrix4x4+nosimd.swift",
        "Sources/Matrix4x4+simd.swift",
        "Sources/Matrix4x4.swift",
        "Sources/Point.swift",
        "Sources/Rect.swift",
        "Sources/String+Math.swift",
        "Sources/Vector2+nosimd.swift",
        "Sources/Vector2+simd.swift",
        "Sources/Vector2.swift",
        "Sources/Vector3+nosimd.swift",
        "Sources/Vector3+simd.swift",
        "Sources/Vector3.swift",
        "Sources/Vector4+nosimd.swift",
        "Sources/Vector4+simd.swift",
        "Sources/Vector4.swift",
        "Sources/Vectorf+Components.swift",
        "Sources/easing.swift",
        "Sources/float3x3+Extensions.swift",
        "Sources/float4x4+Extensions.swift",
        "Sources/functions.swift",
        "Sources/platform.swift",
        "Sources/random.swift",
        "Sources/utils.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Building for debugging...
[0/5] Write sources
[1/5] Write swift-version-24593BA9C3E375BF.txt
[3/31] Emitting module SwiftMath
/host/spi-builder-workspace/Sources/Rect.swift:84:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Rect' may have shared mutable state; this is an error in the Swift 6 language mode
 52 | // - rect intersection
 53 | // - offset, scale
 54 | public struct Rect {
    |               `- note: consider making struct 'Rect' conform to the 'Sendable' protocol
 55 |     public var origin: Point
 56 |     // TODO: Gracefully handle negative size case or forbid it
    :
 82 |     }
 83 |
 84 |     public static let zero = Rect(origin: Point.zero, size: Vector2f.zero)
    |                       |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Rect' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 85 | }
 86 |
[4/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 |         }
[5/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 |         }
[6/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 |         }
[7/34] Compiling SwiftMath float3x3+Extensions.swift
[8/34] Compiling SwiftMath float4x4+Extensions.swift
[9/34] Compiling SwiftMath functions.swift
[10/34] Compiling SwiftMath Matrix4x4+Extensions.swift
[11/34] Compiling SwiftMath Matrix4x4+nosimd.swift
[12/34] Compiling SwiftMath Matrix4x4+simd.swift
[13/34] Compiling SwiftMath Matrix4x4.swift
[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 Point.swift
/host/spi-builder-workspace/Sources/Rect.swift:84:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Rect' may have shared mutable state; this is an error in the Swift 6 language mode
 52 | // - rect intersection
 53 | // - offset, scale
 54 | public struct Rect {
    |               `- note: consider making struct 'Rect' conform to the 'Sendable' protocol
 55 |     public var origin: Point
 56 |     // TODO: Gracefully handle negative size case or forbid it
    :
 82 |     }
 83 |
 84 |     public static let zero = Rect(origin: Point.zero, size: Vector2f.zero)
    |                       |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Rect' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 85 | }
 86 |
/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 |
[19/34] Compiling SwiftMath Rect.swift
/host/spi-builder-workspace/Sources/Rect.swift:84:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Rect' may have shared mutable state; this is an error in the Swift 6 language mode
 52 | // - rect intersection
 53 | // - offset, scale
 54 | public struct Rect {
    |               `- note: consider making struct 'Rect' conform to the 'Sendable' protocol
 55 |     public var origin: Point
 56 |     // TODO: Gracefully handle negative size case or forbid it
    :
 82 |     }
 83 |
 84 |     public static let zero = Rect(origin: Point.zero, size: Vector2f.zero)
    |                       |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Rect' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 85 | }
 86 |
/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 |
[20/34] Compiling SwiftMath String+Math.swift
/host/spi-builder-workspace/Sources/Rect.swift:84:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Rect' may have shared mutable state; this is an error in the Swift 6 language mode
 52 | // - rect intersection
 53 | // - offset, scale
 54 | public struct Rect {
    |               `- note: consider making struct 'Rect' conform to the 'Sendable' protocol
 55 |     public var origin: Point
 56 |     // TODO: Gracefully handle negative size case or forbid it
    :
 82 |     }
 83 |
 84 |     public static let zero = Rect(origin: Point.zero, size: Vector2f.zero)
    |                       |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Rect' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 85 | }
 86 |
/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 |
[21/34] Compiling SwiftMath Vector2+nosimd.swift
/host/spi-builder-workspace/Sources/Rect.swift:84:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Rect' may have shared mutable state; this is an error in the Swift 6 language mode
 52 | // - rect intersection
 53 | // - offset, scale
 54 | public struct Rect {
    |               `- note: consider making struct 'Rect' conform to the 'Sendable' protocol
 55 |     public var origin: Point
 56 |     // TODO: Gracefully handle negative size case or forbid it
    :
 82 |     }
 83 |
 84 |     public static let zero = Rect(origin: Point.zero, size: Vector2f.zero)
    |                       |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Rect' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 85 | }
 86 |
/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 |
[22/34] 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 |
[23/34] 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 |
[24/34] 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 |
[25/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 |
[26/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 |
[27/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 |
[28/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 |
[29/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 |
[30/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 |
[31/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 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/4] Write swift-version-24593BA9C3E375BF.txt
[2/30] Compiling SwiftMath float3x3+Extensions.swift
[3/30] Compiling SwiftMath float4x4+Extensions.swift
[4/30] Compiling SwiftMath functions.swift
[5/33] Emitting module SwiftMath
[6/33] 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 |
[7/33] 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 |
[8/33] 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 |
[9/33] 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 |
[10/33] 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 |
[11/33] 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 |
[12/33] 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 |
[13/33] Compiling SwiftMath Angle.swift
[14/33] Compiling SwiftMath Matrix3x3+nosimd.swift
[15/33] Compiling SwiftMath Matrix3x3+simd.swift
[16/33] Compiling SwiftMath Matrix3x3.swift
[17/33] 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 |         }
[18/33] 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 |         }
[19/33] 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 |         }
[20/33] 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 |
[21/33] 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 |
[22/33] 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 |
[23/33] 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 |
[24/33] Compiling SwiftMath Matrix4x4+Extensions.swift
[25/33] Compiling SwiftMath Matrix4x4+nosimd.swift
[26/33] Compiling SwiftMath Matrix4x4+simd.swift
[27/33] Compiling SwiftMath Matrix4x4.swift
[28/33] 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 |
[29/33] 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 |
[30/33] 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 |
BUILD FAILURE 6.1 wasm