The Swift Package Index logo.Swift Package Index

Build Information

Failed to build GameEventScript, reference main (0e88e8), with Swift 6.2 for Wasm on 12 Nov 2026 01:46:27 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344845-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1

Build Log

16 |     }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Cos.swift:16:43: error: cannot find 'cos' in scope
14 |         guard registers[x].isNumeric, registers[x].unit == .none || registers[x].unit == .degree else { return registers[target].setNothing() }
15 |         let n = registers[x].unit == .degree ? registers[x].asNumber / 180 * Double.pi : registers[x].asNumber
16 |         return registers[target].setFloat(cos(n))
   |                                           `- error: cannot find 'cos' in scope
17 |     }
18 | }
[149/487] Compiling GameEventScriptRuntime Add.swift
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Acos.swift:15:43: error: cannot find 'acos' in scope
13 |     func executeAcos(_ target: Int, _ x: Int) {
14 |         guard registers[x].isNumeric, !registers[x].hasUnit else { return registers[target].setNothing() }
15 |         return registers[target].setFloat(acos(registers[x].asNumber))
   |                                           `- error: cannot find 'acos' in scope
16 |     }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/AngleBetween.swift:27:43: error: cannot find 'acos' in scope
25 |         var ratio = (ax * bx + ay * by + az * bz) / (al * bl)
26 |         if ratio > 1 { ratio = 1 } else if ratio < -1 { ratio = -1 }
27 |         return registers[target].setFloat(acos(ratio))
   |                                           `- error: cannot find 'acos' in scope
28 |     }
29 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/AngleBetween2D.swift:33:43: error: cannot find 'acos' in scope
31 |         var ratio = (ax * bx + ay * by + az * bz) / (al * bl)
32 |         if ratio > 1 { ratio = 1 } else if ratio < -1 { ratio = -1 }
33 |         return registers[target].setFloat(acos(ratio))
   |                                           `- error: cannot find 'acos' in scope
34 |     }
35 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/AngleBetween3D.swift:37:43: error: cannot find 'acos' in scope
35 |         var ratio = (ax * bx + ay * by + az * bz) / (al * bl)
36 |         if ratio > 1 { ratio = 1 } else if ratio < -1 { ratio = -1 }
37 |         return registers[target].setFloat(acos(ratio))
   |                                           `- error: cannot find 'acos' in scope
38 |     }
39 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Asin.swift:15:43: error: cannot find 'asin' in scope
13 |     func executeAsin(_ target: Int, _ x: Int) {
14 |         guard registers[x].isNumeric, !registers[x].hasUnit else { return registers[target].setNothing() }
15 |         return registers[target].setFloat(asin(registers[x].asNumber))
   |                                           `- error: cannot find 'asin' in scope
16 |     }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Atan.swift:15:43: error: cannot find 'atan' in scope
13 |     func executeAtan(_ target: Int, _ x: Int) {
14 |         guard registers[x].isNumeric, !registers[x].hasUnit else { return registers[target].setNothing() }
15 |         return registers[target].setFloat(atan(registers[x].asNumber))
   |                                           `- error: cannot find 'atan' in scope
16 |     }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Atan2.swift:15:106: error: cannot find 'atan2' in scope
13 |     func executeAtan2(_ target: Int, _ x: Int, _ y: Int) {
14 |         if !registers[x].isNumeric || !registers[y].isNumeric || registers[x].unit != registers[y].unit { return registers[target].setNothing() }
15 |         return registers[target].setFloat(registers[x].asNumber == 0 && registers[y].asNumber == 0 ? 0 : atan2(registers[x].asNumber, registers[y].asNumber))
   |                                                                                                          `- error: cannot find 'atan2' in scope
16 |     }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Cos.swift:16:43: error: cannot find 'cos' in scope
14 |         guard registers[x].isNumeric, registers[x].unit == .none || registers[x].unit == .degree else { return registers[target].setNothing() }
15 |         let n = registers[x].unit == .degree ? registers[x].asNumber / 180 * Double.pi : registers[x].asNumber
16 |         return registers[target].setFloat(cos(n))
   |                                           `- error: cannot find 'cos' in scope
17 |     }
18 | }
[150/487] Compiling GameEventScriptRuntime AngleBetween.swift
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Acos.swift:15:43: error: cannot find 'acos' in scope
13 |     func executeAcos(_ target: Int, _ x: Int) {
14 |         guard registers[x].isNumeric, !registers[x].hasUnit else { return registers[target].setNothing() }
15 |         return registers[target].setFloat(acos(registers[x].asNumber))
   |                                           `- error: cannot find 'acos' in scope
16 |     }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/AngleBetween.swift:27:43: error: cannot find 'acos' in scope
25 |         var ratio = (ax * bx + ay * by + az * bz) / (al * bl)
26 |         if ratio > 1 { ratio = 1 } else if ratio < -1 { ratio = -1 }
27 |         return registers[target].setFloat(acos(ratio))
   |                                           `- error: cannot find 'acos' in scope
28 |     }
29 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/AngleBetween2D.swift:33:43: error: cannot find 'acos' in scope
31 |         var ratio = (ax * bx + ay * by + az * bz) / (al * bl)
32 |         if ratio > 1 { ratio = 1 } else if ratio < -1 { ratio = -1 }
33 |         return registers[target].setFloat(acos(ratio))
   |                                           `- error: cannot find 'acos' in scope
34 |     }
35 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/AngleBetween3D.swift:37:43: error: cannot find 'acos' in scope
35 |         var ratio = (ax * bx + ay * by + az * bz) / (al * bl)
36 |         if ratio > 1 { ratio = 1 } else if ratio < -1 { ratio = -1 }
37 |         return registers[target].setFloat(acos(ratio))
   |                                           `- error: cannot find 'acos' in scope
38 |     }
39 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Asin.swift:15:43: error: cannot find 'asin' in scope
13 |     func executeAsin(_ target: Int, _ x: Int) {
14 |         guard registers[x].isNumeric, !registers[x].hasUnit else { return registers[target].setNothing() }
15 |         return registers[target].setFloat(asin(registers[x].asNumber))
   |                                           `- error: cannot find 'asin' in scope
16 |     }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Atan.swift:15:43: error: cannot find 'atan' in scope
13 |     func executeAtan(_ target: Int, _ x: Int) {
14 |         guard registers[x].isNumeric, !registers[x].hasUnit else { return registers[target].setNothing() }
15 |         return registers[target].setFloat(atan(registers[x].asNumber))
   |                                           `- error: cannot find 'atan' in scope
16 |     }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Atan2.swift:15:106: error: cannot find 'atan2' in scope
13 |     func executeAtan2(_ target: Int, _ x: Int, _ y: Int) {
14 |         if !registers[x].isNumeric || !registers[y].isNumeric || registers[x].unit != registers[y].unit { return registers[target].setNothing() }
15 |         return registers[target].setFloat(registers[x].asNumber == 0 && registers[y].asNumber == 0 ? 0 : atan2(registers[x].asNumber, registers[y].asNumber))
   |                                                                                                          `- error: cannot find 'atan2' in scope
16 |     }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Cos.swift:16:43: error: cannot find 'cos' in scope
14 |         guard registers[x].isNumeric, registers[x].unit == .none || registers[x].unit == .degree else { return registers[target].setNothing() }
15 |         let n = registers[x].unit == .degree ? registers[x].asNumber / 180 * Double.pi : registers[x].asNumber
16 |         return registers[target].setFloat(cos(n))
   |                                           `- error: cannot find 'cos' in scope
17 |     }
18 | }
[151/487] Compiling GameEventScriptRuntime AngleBetween2D.swift
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Acos.swift:15:43: error: cannot find 'acos' in scope
13 |     func executeAcos(_ target: Int, _ x: Int) {
14 |         guard registers[x].isNumeric, !registers[x].hasUnit else { return registers[target].setNothing() }
15 |         return registers[target].setFloat(acos(registers[x].asNumber))
   |                                           `- error: cannot find 'acos' in scope
16 |     }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/AngleBetween.swift:27:43: error: cannot find 'acos' in scope
25 |         var ratio = (ax * bx + ay * by + az * bz) / (al * bl)
26 |         if ratio > 1 { ratio = 1 } else if ratio < -1 { ratio = -1 }
27 |         return registers[target].setFloat(acos(ratio))
   |                                           `- error: cannot find 'acos' in scope
28 |     }
29 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/AngleBetween2D.swift:33:43: error: cannot find 'acos' in scope
31 |         var ratio = (ax * bx + ay * by + az * bz) / (al * bl)
32 |         if ratio > 1 { ratio = 1 } else if ratio < -1 { ratio = -1 }
33 |         return registers[target].setFloat(acos(ratio))
   |                                           `- error: cannot find 'acos' in scope
34 |     }
35 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/AngleBetween3D.swift:37:43: error: cannot find 'acos' in scope
35 |         var ratio = (ax * bx + ay * by + az * bz) / (al * bl)
36 |         if ratio > 1 { ratio = 1 } else if ratio < -1 { ratio = -1 }
37 |         return registers[target].setFloat(acos(ratio))
   |                                           `- error: cannot find 'acos' in scope
38 |     }
39 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Asin.swift:15:43: error: cannot find 'asin' in scope
13 |     func executeAsin(_ target: Int, _ x: Int) {
14 |         guard registers[x].isNumeric, !registers[x].hasUnit else { return registers[target].setNothing() }
15 |         return registers[target].setFloat(asin(registers[x].asNumber))
   |                                           `- error: cannot find 'asin' in scope
16 |     }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Atan.swift:15:43: error: cannot find 'atan' in scope
13 |     func executeAtan(_ target: Int, _ x: Int) {
14 |         guard registers[x].isNumeric, !registers[x].hasUnit else { return registers[target].setNothing() }
15 |         return registers[target].setFloat(atan(registers[x].asNumber))
   |                                           `- error: cannot find 'atan' in scope
16 |     }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Atan2.swift:15:106: error: cannot find 'atan2' in scope
13 |     func executeAtan2(_ target: Int, _ x: Int, _ y: Int) {
14 |         if !registers[x].isNumeric || !registers[y].isNumeric || registers[x].unit != registers[y].unit { return registers[target].setNothing() }
15 |         return registers[target].setFloat(registers[x].asNumber == 0 && registers[y].asNumber == 0 ? 0 : atan2(registers[x].asNumber, registers[y].asNumber))
   |                                                                                                          `- error: cannot find 'atan2' in scope
16 |     }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Cos.swift:16:43: error: cannot find 'cos' in scope
14 |         guard registers[x].isNumeric, registers[x].unit == .none || registers[x].unit == .degree else { return registers[target].setNothing() }
15 |         let n = registers[x].unit == .degree ? registers[x].asNumber / 180 * Double.pi : registers[x].asNumber
16 |         return registers[target].setFloat(cos(n))
   |                                           `- error: cannot find 'cos' in scope
17 |     }
18 | }
[152/487] Compiling GameEventScriptRuntime AngleBetween3D.swift
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Acos.swift:15:43: error: cannot find 'acos' in scope
13 |     func executeAcos(_ target: Int, _ x: Int) {
14 |         guard registers[x].isNumeric, !registers[x].hasUnit else { return registers[target].setNothing() }
15 |         return registers[target].setFloat(acos(registers[x].asNumber))
   |                                           `- error: cannot find 'acos' in scope
16 |     }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/AngleBetween.swift:27:43: error: cannot find 'acos' in scope
25 |         var ratio = (ax * bx + ay * by + az * bz) / (al * bl)
26 |         if ratio > 1 { ratio = 1 } else if ratio < -1 { ratio = -1 }
27 |         return registers[target].setFloat(acos(ratio))
   |                                           `- error: cannot find 'acos' in scope
28 |     }
29 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/AngleBetween2D.swift:33:43: error: cannot find 'acos' in scope
31 |         var ratio = (ax * bx + ay * by + az * bz) / (al * bl)
32 |         if ratio > 1 { ratio = 1 } else if ratio < -1 { ratio = -1 }
33 |         return registers[target].setFloat(acos(ratio))
   |                                           `- error: cannot find 'acos' in scope
34 |     }
35 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/AngleBetween3D.swift:37:43: error: cannot find 'acos' in scope
35 |         var ratio = (ax * bx + ay * by + az * bz) / (al * bl)
36 |         if ratio > 1 { ratio = 1 } else if ratio < -1 { ratio = -1 }
37 |         return registers[target].setFloat(acos(ratio))
   |                                           `- error: cannot find 'acos' in scope
38 |     }
39 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Asin.swift:15:43: error: cannot find 'asin' in scope
13 |     func executeAsin(_ target: Int, _ x: Int) {
14 |         guard registers[x].isNumeric, !registers[x].hasUnit else { return registers[target].setNothing() }
15 |         return registers[target].setFloat(asin(registers[x].asNumber))
   |                                           `- error: cannot find 'asin' in scope
16 |     }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Atan.swift:15:43: error: cannot find 'atan' in scope
13 |     func executeAtan(_ target: Int, _ x: Int) {
14 |         guard registers[x].isNumeric, !registers[x].hasUnit else { return registers[target].setNothing() }
15 |         return registers[target].setFloat(atan(registers[x].asNumber))
   |                                           `- error: cannot find 'atan' in scope
16 |     }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Atan2.swift:15:106: error: cannot find 'atan2' in scope
13 |     func executeAtan2(_ target: Int, _ x: Int, _ y: Int) {
14 |         if !registers[x].isNumeric || !registers[y].isNumeric || registers[x].unit != registers[y].unit { return registers[target].setNothing() }
15 |         return registers[target].setFloat(registers[x].asNumber == 0 && registers[y].asNumber == 0 ? 0 : atan2(registers[x].asNumber, registers[y].asNumber))
   |                                                                                                          `- error: cannot find 'atan2' in scope
16 |     }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Cos.swift:16:43: error: cannot find 'cos' in scope
14 |         guard registers[x].isNumeric, registers[x].unit == .none || registers[x].unit == .degree else { return registers[target].setNothing() }
15 |         let n = registers[x].unit == .degree ? registers[x].asNumber / 180 * Double.pi : registers[x].asNumber
16 |         return registers[target].setFloat(cos(n))
   |                                           `- error: cannot find 'cos' in scope
17 |     }
18 | }
[153/487] Compiling GameEventScriptRuntime Asin.swift
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Acos.swift:15:43: error: cannot find 'acos' in scope
13 |     func executeAcos(_ target: Int, _ x: Int) {
14 |         guard registers[x].isNumeric, !registers[x].hasUnit else { return registers[target].setNothing() }
15 |         return registers[target].setFloat(acos(registers[x].asNumber))
   |                                           `- error: cannot find 'acos' in scope
16 |     }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/AngleBetween.swift:27:43: error: cannot find 'acos' in scope
25 |         var ratio = (ax * bx + ay * by + az * bz) / (al * bl)
26 |         if ratio > 1 { ratio = 1 } else if ratio < -1 { ratio = -1 }
27 |         return registers[target].setFloat(acos(ratio))
   |                                           `- error: cannot find 'acos' in scope
28 |     }
29 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/AngleBetween2D.swift:33:43: error: cannot find 'acos' in scope
31 |         var ratio = (ax * bx + ay * by + az * bz) / (al * bl)
32 |         if ratio > 1 { ratio = 1 } else if ratio < -1 { ratio = -1 }
33 |         return registers[target].setFloat(acos(ratio))
   |                                           `- error: cannot find 'acos' in scope
34 |     }
35 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/AngleBetween3D.swift:37:43: error: cannot find 'acos' in scope
35 |         var ratio = (ax * bx + ay * by + az * bz) / (al * bl)
36 |         if ratio > 1 { ratio = 1 } else if ratio < -1 { ratio = -1 }
37 |         return registers[target].setFloat(acos(ratio))
   |                                           `- error: cannot find 'acos' in scope
38 |     }
39 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Asin.swift:15:43: error: cannot find 'asin' in scope
13 |     func executeAsin(_ target: Int, _ x: Int) {
14 |         guard registers[x].isNumeric, !registers[x].hasUnit else { return registers[target].setNothing() }
15 |         return registers[target].setFloat(asin(registers[x].asNumber))
   |                                           `- error: cannot find 'asin' in scope
16 |     }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Atan.swift:15:43: error: cannot find 'atan' in scope
13 |     func executeAtan(_ target: Int, _ x: Int) {
14 |         guard registers[x].isNumeric, !registers[x].hasUnit else { return registers[target].setNothing() }
15 |         return registers[target].setFloat(atan(registers[x].asNumber))
   |                                           `- error: cannot find 'atan' in scope
16 |     }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Atan2.swift:15:106: error: cannot find 'atan2' in scope
13 |     func executeAtan2(_ target: Int, _ x: Int, _ y: Int) {
14 |         if !registers[x].isNumeric || !registers[y].isNumeric || registers[x].unit != registers[y].unit { return registers[target].setNothing() }
15 |         return registers[target].setFloat(registers[x].asNumber == 0 && registers[y].asNumber == 0 ? 0 : atan2(registers[x].asNumber, registers[y].asNumber))
   |                                                                                                          `- error: cannot find 'atan2' in scope
16 |     }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Cos.swift:16:43: error: cannot find 'cos' in scope
14 |         guard registers[x].isNumeric, registers[x].unit == .none || registers[x].unit == .degree else { return registers[target].setNothing() }
15 |         let n = registers[x].unit == .degree ? registers[x].asNumber / 180 * Double.pi : registers[x].asNumber
16 |         return registers[target].setFloat(cos(n))
   |                                           `- error: cannot find 'cos' in scope
17 |     }
18 | }
[154/487] Compiling GameEventScriptRuntime Atan.swift
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Acos.swift:15:43: error: cannot find 'acos' in scope
13 |     func executeAcos(_ target: Int, _ x: Int) {
14 |         guard registers[x].isNumeric, !registers[x].hasUnit else { return registers[target].setNothing() }
15 |         return registers[target].setFloat(acos(registers[x].asNumber))
   |                                           `- error: cannot find 'acos' in scope
16 |     }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/AngleBetween.swift:27:43: error: cannot find 'acos' in scope
25 |         var ratio = (ax * bx + ay * by + az * bz) / (al * bl)
26 |         if ratio > 1 { ratio = 1 } else if ratio < -1 { ratio = -1 }
27 |         return registers[target].setFloat(acos(ratio))
   |                                           `- error: cannot find 'acos' in scope
28 |     }
29 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/AngleBetween2D.swift:33:43: error: cannot find 'acos' in scope
31 |         var ratio = (ax * bx + ay * by + az * bz) / (al * bl)
32 |         if ratio > 1 { ratio = 1 } else if ratio < -1 { ratio = -1 }
33 |         return registers[target].setFloat(acos(ratio))
   |                                           `- error: cannot find 'acos' in scope
34 |     }
35 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/AngleBetween3D.swift:37:43: error: cannot find 'acos' in scope
35 |         var ratio = (ax * bx + ay * by + az * bz) / (al * bl)
36 |         if ratio > 1 { ratio = 1 } else if ratio < -1 { ratio = -1 }
37 |         return registers[target].setFloat(acos(ratio))
   |                                           `- error: cannot find 'acos' in scope
38 |     }
39 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Asin.swift:15:43: error: cannot find 'asin' in scope
13 |     func executeAsin(_ target: Int, _ x: Int) {
14 |         guard registers[x].isNumeric, !registers[x].hasUnit else { return registers[target].setNothing() }
15 |         return registers[target].setFloat(asin(registers[x].asNumber))
   |                                           `- error: cannot find 'asin' in scope
16 |     }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Atan.swift:15:43: error: cannot find 'atan' in scope
13 |     func executeAtan(_ target: Int, _ x: Int) {
14 |         guard registers[x].isNumeric, !registers[x].hasUnit else { return registers[target].setNothing() }
15 |         return registers[target].setFloat(atan(registers[x].asNumber))
   |                                           `- error: cannot find 'atan' in scope
16 |     }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Atan2.swift:15:106: error: cannot find 'atan2' in scope
13 |     func executeAtan2(_ target: Int, _ x: Int, _ y: Int) {
14 |         if !registers[x].isNumeric || !registers[y].isNumeric || registers[x].unit != registers[y].unit { return registers[target].setNothing() }
15 |         return registers[target].setFloat(registers[x].asNumber == 0 && registers[y].asNumber == 0 ? 0 : atan2(registers[x].asNumber, registers[y].asNumber))
   |                                                                                                          `- error: cannot find 'atan2' in scope
16 |     }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Cos.swift:16:43: error: cannot find 'cos' in scope
14 |         guard registers[x].isNumeric, registers[x].unit == .none || registers[x].unit == .degree else { return registers[target].setNothing() }
15 |         let n = registers[x].unit == .degree ? registers[x].asNumber / 180 * Double.pi : registers[x].asNumber
16 |         return registers[target].setFloat(cos(n))
   |                                           `- error: cannot find 'cos' in scope
17 |     }
18 | }
[155/487] Compiling GameEventScriptRuntime Atan2.swift
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Acos.swift:15:43: error: cannot find 'acos' in scope
13 |     func executeAcos(_ target: Int, _ x: Int) {
14 |         guard registers[x].isNumeric, !registers[x].hasUnit else { return registers[target].setNothing() }
15 |         return registers[target].setFloat(acos(registers[x].asNumber))
   |                                           `- error: cannot find 'acos' in scope
16 |     }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/AngleBetween.swift:27:43: error: cannot find 'acos' in scope
25 |         var ratio = (ax * bx + ay * by + az * bz) / (al * bl)
26 |         if ratio > 1 { ratio = 1 } else if ratio < -1 { ratio = -1 }
27 |         return registers[target].setFloat(acos(ratio))
   |                                           `- error: cannot find 'acos' in scope
28 |     }
29 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/AngleBetween2D.swift:33:43: error: cannot find 'acos' in scope
31 |         var ratio = (ax * bx + ay * by + az * bz) / (al * bl)
32 |         if ratio > 1 { ratio = 1 } else if ratio < -1 { ratio = -1 }
33 |         return registers[target].setFloat(acos(ratio))
   |                                           `- error: cannot find 'acos' in scope
34 |     }
35 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/AngleBetween3D.swift:37:43: error: cannot find 'acos' in scope
35 |         var ratio = (ax * bx + ay * by + az * bz) / (al * bl)
36 |         if ratio > 1 { ratio = 1 } else if ratio < -1 { ratio = -1 }
37 |         return registers[target].setFloat(acos(ratio))
   |                                           `- error: cannot find 'acos' in scope
38 |     }
39 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Asin.swift:15:43: error: cannot find 'asin' in scope
13 |     func executeAsin(_ target: Int, _ x: Int) {
14 |         guard registers[x].isNumeric, !registers[x].hasUnit else { return registers[target].setNothing() }
15 |         return registers[target].setFloat(asin(registers[x].asNumber))
   |                                           `- error: cannot find 'asin' in scope
16 |     }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Atan.swift:15:43: error: cannot find 'atan' in scope
13 |     func executeAtan(_ target: Int, _ x: Int) {
14 |         guard registers[x].isNumeric, !registers[x].hasUnit else { return registers[target].setNothing() }
15 |         return registers[target].setFloat(atan(registers[x].asNumber))
   |                                           `- error: cannot find 'atan' in scope
16 |     }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Atan2.swift:15:106: error: cannot find 'atan2' in scope
13 |     func executeAtan2(_ target: Int, _ x: Int, _ y: Int) {
14 |         if !registers[x].isNumeric || !registers[y].isNumeric || registers[x].unit != registers[y].unit { return registers[target].setNothing() }
15 |         return registers[target].setFloat(registers[x].asNumber == 0 && registers[y].asNumber == 0 ? 0 : atan2(registers[x].asNumber, registers[y].asNumber))
   |                                                                                                          `- error: cannot find 'atan2' in scope
16 |     }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Cos.swift:16:43: error: cannot find 'cos' in scope
14 |         guard registers[x].isNumeric, registers[x].unit == .none || registers[x].unit == .degree else { return registers[target].setNothing() }
15 |         let n = registers[x].unit == .degree ? registers[x].asNumber / 180 * Double.pi : registers[x].asNumber
16 |         return registers[target].setFloat(cos(n))
   |                                           `- error: cannot find 'cos' in scope
17 |     }
18 | }
[156/487] Compiling GameEventScriptRuntime Ceil.swift
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Acos.swift:15:43: error: cannot find 'acos' in scope
13 |     func executeAcos(_ target: Int, _ x: Int) {
14 |         guard registers[x].isNumeric, !registers[x].hasUnit else { return registers[target].setNothing() }
15 |         return registers[target].setFloat(acos(registers[x].asNumber))
   |                                           `- error: cannot find 'acos' in scope
16 |     }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/AngleBetween.swift:27:43: error: cannot find 'acos' in scope
25 |         var ratio = (ax * bx + ay * by + az * bz) / (al * bl)
26 |         if ratio > 1 { ratio = 1 } else if ratio < -1 { ratio = -1 }
27 |         return registers[target].setFloat(acos(ratio))
   |                                           `- error: cannot find 'acos' in scope
28 |     }
29 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/AngleBetween2D.swift:33:43: error: cannot find 'acos' in scope
31 |         var ratio = (ax * bx + ay * by + az * bz) / (al * bl)
32 |         if ratio > 1 { ratio = 1 } else if ratio < -1 { ratio = -1 }
33 |         return registers[target].setFloat(acos(ratio))
   |                                           `- error: cannot find 'acos' in scope
34 |     }
35 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/AngleBetween3D.swift:37:43: error: cannot find 'acos' in scope
35 |         var ratio = (ax * bx + ay * by + az * bz) / (al * bl)
36 |         if ratio > 1 { ratio = 1 } else if ratio < -1 { ratio = -1 }
37 |         return registers[target].setFloat(acos(ratio))
   |                                           `- error: cannot find 'acos' in scope
38 |     }
39 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Asin.swift:15:43: error: cannot find 'asin' in scope
13 |     func executeAsin(_ target: Int, _ x: Int) {
14 |         guard registers[x].isNumeric, !registers[x].hasUnit else { return registers[target].setNothing() }
15 |         return registers[target].setFloat(asin(registers[x].asNumber))
   |                                           `- error: cannot find 'asin' in scope
16 |     }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Atan.swift:15:43: error: cannot find 'atan' in scope
13 |     func executeAtan(_ target: Int, _ x: Int) {
14 |         guard registers[x].isNumeric, !registers[x].hasUnit else { return registers[target].setNothing() }
15 |         return registers[target].setFloat(atan(registers[x].asNumber))
   |                                           `- error: cannot find 'atan' in scope
16 |     }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Atan2.swift:15:106: error: cannot find 'atan2' in scope
13 |     func executeAtan2(_ target: Int, _ x: Int, _ y: Int) {
14 |         if !registers[x].isNumeric || !registers[y].isNumeric || registers[x].unit != registers[y].unit { return registers[target].setNothing() }
15 |         return registers[target].setFloat(registers[x].asNumber == 0 && registers[y].asNumber == 0 ? 0 : atan2(registers[x].asNumber, registers[y].asNumber))
   |                                                                                                          `- error: cannot find 'atan2' in scope
16 |     }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Cos.swift:16:43: error: cannot find 'cos' in scope
14 |         guard registers[x].isNumeric, registers[x].unit == .none || registers[x].unit == .degree else { return registers[target].setNothing() }
15 |         let n = registers[x].unit == .degree ? registers[x].asNumber / 180 * Double.pi : registers[x].asNumber
16 |         return registers[target].setFloat(cos(n))
   |                                           `- error: cannot find 'cos' in scope
17 |     }
18 | }
[157/487] Compiling GameEventScriptRuntime Chance.swift
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Acos.swift:15:43: error: cannot find 'acos' in scope
13 |     func executeAcos(_ target: Int, _ x: Int) {
14 |         guard registers[x].isNumeric, !registers[x].hasUnit else { return registers[target].setNothing() }
15 |         return registers[target].setFloat(acos(registers[x].asNumber))
   |                                           `- error: cannot find 'acos' in scope
16 |     }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/AngleBetween.swift:27:43: error: cannot find 'acos' in scope
25 |         var ratio = (ax * bx + ay * by + az * bz) / (al * bl)
26 |         if ratio > 1 { ratio = 1 } else if ratio < -1 { ratio = -1 }
27 |         return registers[target].setFloat(acos(ratio))
   |                                           `- error: cannot find 'acos' in scope
28 |     }
29 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/AngleBetween2D.swift:33:43: error: cannot find 'acos' in scope
31 |         var ratio = (ax * bx + ay * by + az * bz) / (al * bl)
32 |         if ratio > 1 { ratio = 1 } else if ratio < -1 { ratio = -1 }
33 |         return registers[target].setFloat(acos(ratio))
   |                                           `- error: cannot find 'acos' in scope
34 |     }
35 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/AngleBetween3D.swift:37:43: error: cannot find 'acos' in scope
35 |         var ratio = (ax * bx + ay * by + az * bz) / (al * bl)
36 |         if ratio > 1 { ratio = 1 } else if ratio < -1 { ratio = -1 }
37 |         return registers[target].setFloat(acos(ratio))
   |                                           `- error: cannot find 'acos' in scope
38 |     }
39 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Asin.swift:15:43: error: cannot find 'asin' in scope
13 |     func executeAsin(_ target: Int, _ x: Int) {
14 |         guard registers[x].isNumeric, !registers[x].hasUnit else { return registers[target].setNothing() }
15 |         return registers[target].setFloat(asin(registers[x].asNumber))
   |                                           `- error: cannot find 'asin' in scope
16 |     }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Atan.swift:15:43: error: cannot find 'atan' in scope
13 |     func executeAtan(_ target: Int, _ x: Int) {
14 |         guard registers[x].isNumeric, !registers[x].hasUnit else { return registers[target].setNothing() }
15 |         return registers[target].setFloat(atan(registers[x].asNumber))
   |                                           `- error: cannot find 'atan' in scope
16 |     }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Atan2.swift:15:106: error: cannot find 'atan2' in scope
13 |     func executeAtan2(_ target: Int, _ x: Int, _ y: Int) {
14 |         if !registers[x].isNumeric || !registers[y].isNumeric || registers[x].unit != registers[y].unit { return registers[target].setNothing() }
15 |         return registers[target].setFloat(registers[x].asNumber == 0 && registers[y].asNumber == 0 ? 0 : atan2(registers[x].asNumber, registers[y].asNumber))
   |                                                                                                          `- error: cannot find 'atan2' in scope
16 |     }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Cos.swift:16:43: error: cannot find 'cos' in scope
14 |         guard registers[x].isNumeric, registers[x].unit == .none || registers[x].unit == .degree else { return registers[target].setNothing() }
15 |         let n = registers[x].unit == .degree ? registers[x].asNumber / 180 * Double.pi : registers[x].asNumber
16 |         return registers[target].setFloat(cos(n))
   |                                           `- error: cannot find 'cos' in scope
17 |     }
18 | }
[158/487] Compiling GameEventScriptRuntime Clamp.swift
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Acos.swift:15:43: error: cannot find 'acos' in scope
13 |     func executeAcos(_ target: Int, _ x: Int) {
14 |         guard registers[x].isNumeric, !registers[x].hasUnit else { return registers[target].setNothing() }
15 |         return registers[target].setFloat(acos(registers[x].asNumber))
   |                                           `- error: cannot find 'acos' in scope
16 |     }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/AngleBetween.swift:27:43: error: cannot find 'acos' in scope
25 |         var ratio = (ax * bx + ay * by + az * bz) / (al * bl)
26 |         if ratio > 1 { ratio = 1 } else if ratio < -1 { ratio = -1 }
27 |         return registers[target].setFloat(acos(ratio))
   |                                           `- error: cannot find 'acos' in scope
28 |     }
29 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/AngleBetween2D.swift:33:43: error: cannot find 'acos' in scope
31 |         var ratio = (ax * bx + ay * by + az * bz) / (al * bl)
32 |         if ratio > 1 { ratio = 1 } else if ratio < -1 { ratio = -1 }
33 |         return registers[target].setFloat(acos(ratio))
   |                                           `- error: cannot find 'acos' in scope
34 |     }
35 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/AngleBetween3D.swift:37:43: error: cannot find 'acos' in scope
35 |         var ratio = (ax * bx + ay * by + az * bz) / (al * bl)
36 |         if ratio > 1 { ratio = 1 } else if ratio < -1 { ratio = -1 }
37 |         return registers[target].setFloat(acos(ratio))
   |                                           `- error: cannot find 'acos' in scope
38 |     }
39 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Asin.swift:15:43: error: cannot find 'asin' in scope
13 |     func executeAsin(_ target: Int, _ x: Int) {
14 |         guard registers[x].isNumeric, !registers[x].hasUnit else { return registers[target].setNothing() }
15 |         return registers[target].setFloat(asin(registers[x].asNumber))
   |                                           `- error: cannot find 'asin' in scope
16 |     }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Atan.swift:15:43: error: cannot find 'atan' in scope
13 |     func executeAtan(_ target: Int, _ x: Int) {
14 |         guard registers[x].isNumeric, !registers[x].hasUnit else { return registers[target].setNothing() }
15 |         return registers[target].setFloat(atan(registers[x].asNumber))
   |                                           `- error: cannot find 'atan' in scope
16 |     }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Atan2.swift:15:106: error: cannot find 'atan2' in scope
13 |     func executeAtan2(_ target: Int, _ x: Int, _ y: Int) {
14 |         if !registers[x].isNumeric || !registers[y].isNumeric || registers[x].unit != registers[y].unit { return registers[target].setNothing() }
15 |         return registers[target].setFloat(registers[x].asNumber == 0 && registers[y].asNumber == 0 ? 0 : atan2(registers[x].asNumber, registers[y].asNumber))
   |                                                                                                          `- error: cannot find 'atan2' in scope
16 |     }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Cos.swift:16:43: error: cannot find 'cos' in scope
14 |         guard registers[x].isNumeric, registers[x].unit == .none || registers[x].unit == .degree else { return registers[target].setNothing() }
15 |         let n = registers[x].unit == .degree ? registers[x].asNumber / 180 * Double.pi : registers[x].asNumber
16 |         return registers[target].setFloat(cos(n))
   |                                           `- error: cannot find 'cos' in scope
17 |     }
18 | }
[159/487] Compiling GameEventScriptRuntime Cos.swift
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Acos.swift:15:43: error: cannot find 'acos' in scope
13 |     func executeAcos(_ target: Int, _ x: Int) {
14 |         guard registers[x].isNumeric, !registers[x].hasUnit else { return registers[target].setNothing() }
15 |         return registers[target].setFloat(acos(registers[x].asNumber))
   |                                           `- error: cannot find 'acos' in scope
16 |     }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/AngleBetween.swift:27:43: error: cannot find 'acos' in scope
25 |         var ratio = (ax * bx + ay * by + az * bz) / (al * bl)
26 |         if ratio > 1 { ratio = 1 } else if ratio < -1 { ratio = -1 }
27 |         return registers[target].setFloat(acos(ratio))
   |                                           `- error: cannot find 'acos' in scope
28 |     }
29 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/AngleBetween2D.swift:33:43: error: cannot find 'acos' in scope
31 |         var ratio = (ax * bx + ay * by + az * bz) / (al * bl)
32 |         if ratio > 1 { ratio = 1 } else if ratio < -1 { ratio = -1 }
33 |         return registers[target].setFloat(acos(ratio))
   |                                           `- error: cannot find 'acos' in scope
34 |     }
35 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/AngleBetween3D.swift:37:43: error: cannot find 'acos' in scope
35 |         var ratio = (ax * bx + ay * by + az * bz) / (al * bl)
36 |         if ratio > 1 { ratio = 1 } else if ratio < -1 { ratio = -1 }
37 |         return registers[target].setFloat(acos(ratio))
   |                                           `- error: cannot find 'acos' in scope
38 |     }
39 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Asin.swift:15:43: error: cannot find 'asin' in scope
13 |     func executeAsin(_ target: Int, _ x: Int) {
14 |         guard registers[x].isNumeric, !registers[x].hasUnit else { return registers[target].setNothing() }
15 |         return registers[target].setFloat(asin(registers[x].asNumber))
   |                                           `- error: cannot find 'asin' in scope
16 |     }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Atan.swift:15:43: error: cannot find 'atan' in scope
13 |     func executeAtan(_ target: Int, _ x: Int) {
14 |         guard registers[x].isNumeric, !registers[x].hasUnit else { return registers[target].setNothing() }
15 |         return registers[target].setFloat(atan(registers[x].asNumber))
   |                                           `- error: cannot find 'atan' in scope
16 |     }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Atan2.swift:15:106: error: cannot find 'atan2' in scope
13 |     func executeAtan2(_ target: Int, _ x: Int, _ y: Int) {
14 |         if !registers[x].isNumeric || !registers[y].isNumeric || registers[x].unit != registers[y].unit { return registers[target].setNothing() }
15 |         return registers[target].setFloat(registers[x].asNumber == 0 && registers[y].asNumber == 0 ? 0 : atan2(registers[x].asNumber, registers[y].asNumber))
   |                                                                                                          `- error: cannot find 'atan2' in scope
16 |     }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Cos.swift:16:43: error: cannot find 'cos' in scope
14 |         guard registers[x].isNumeric, registers[x].unit == .none || registers[x].unit == .degree else { return registers[target].setNothing() }
15 |         let n = registers[x].unit == .degree ? registers[x].asNumber / 180 * Double.pi : registers[x].asNumber
16 |         return registers[target].setFloat(cos(n))
   |                                           `- error: cannot find 'cos' in scope
17 |     }
18 | }
[160/487] Compiling GameEventScriptRuntime Cross.swift
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Acos.swift:15:43: error: cannot find 'acos' in scope
13 |     func executeAcos(_ target: Int, _ x: Int) {
14 |         guard registers[x].isNumeric, !registers[x].hasUnit else { return registers[target].setNothing() }
15 |         return registers[target].setFloat(acos(registers[x].asNumber))
   |                                           `- error: cannot find 'acos' in scope
16 |     }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/AngleBetween.swift:27:43: error: cannot find 'acos' in scope
25 |         var ratio = (ax * bx + ay * by + az * bz) / (al * bl)
26 |         if ratio > 1 { ratio = 1 } else if ratio < -1 { ratio = -1 }
27 |         return registers[target].setFloat(acos(ratio))
   |                                           `- error: cannot find 'acos' in scope
28 |     }
29 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/AngleBetween2D.swift:33:43: error: cannot find 'acos' in scope
31 |         var ratio = (ax * bx + ay * by + az * bz) / (al * bl)
32 |         if ratio > 1 { ratio = 1 } else if ratio < -1 { ratio = -1 }
33 |         return registers[target].setFloat(acos(ratio))
   |                                           `- error: cannot find 'acos' in scope
34 |     }
35 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/AngleBetween3D.swift:37:43: error: cannot find 'acos' in scope
35 |         var ratio = (ax * bx + ay * by + az * bz) / (al * bl)
36 |         if ratio > 1 { ratio = 1 } else if ratio < -1 { ratio = -1 }
37 |         return registers[target].setFloat(acos(ratio))
   |                                           `- error: cannot find 'acos' in scope
38 |     }
39 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Asin.swift:15:43: error: cannot find 'asin' in scope
13 |     func executeAsin(_ target: Int, _ x: Int) {
14 |         guard registers[x].isNumeric, !registers[x].hasUnit else { return registers[target].setNothing() }
15 |         return registers[target].setFloat(asin(registers[x].asNumber))
   |                                           `- error: cannot find 'asin' in scope
16 |     }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Atan.swift:15:43: error: cannot find 'atan' in scope
13 |     func executeAtan(_ target: Int, _ x: Int) {
14 |         guard registers[x].isNumeric, !registers[x].hasUnit else { return registers[target].setNothing() }
15 |         return registers[target].setFloat(atan(registers[x].asNumber))
   |                                           `- error: cannot find 'atan' in scope
16 |     }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Atan2.swift:15:106: error: cannot find 'atan2' in scope
13 |     func executeAtan2(_ target: Int, _ x: Int, _ y: Int) {
14 |         if !registers[x].isNumeric || !registers[y].isNumeric || registers[x].unit != registers[y].unit { return registers[target].setNothing() }
15 |         return registers[target].setFloat(registers[x].asNumber == 0 && registers[y].asNumber == 0 ? 0 : atan2(registers[x].asNumber, registers[y].asNumber))
   |                                                                                                          `- error: cannot find 'atan2' in scope
16 |     }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Cos.swift:16:43: error: cannot find 'cos' in scope
14 |         guard registers[x].isNumeric, registers[x].unit == .none || registers[x].unit == .degree else { return registers[target].setNothing() }
15 |         let n = registers[x].unit == .degree ? registers[x].asNumber / 180 * Double.pi : registers[x].asNumber
16 |         return registers[target].setFloat(cos(n))
   |                                           `- error: cannot find 'cos' in scope
17 |     }
18 | }
[161/487] Compiling GameEventScriptRuntime Cross2D.swift
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Acos.swift:15:43: error: cannot find 'acos' in scope
13 |     func executeAcos(_ target: Int, _ x: Int) {
14 |         guard registers[x].isNumeric, !registers[x].hasUnit else { return registers[target].setNothing() }
15 |         return registers[target].setFloat(acos(registers[x].asNumber))
   |                                           `- error: cannot find 'acos' in scope
16 |     }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/AngleBetween.swift:27:43: error: cannot find 'acos' in scope
25 |         var ratio = (ax * bx + ay * by + az * bz) / (al * bl)
26 |         if ratio > 1 { ratio = 1 } else if ratio < -1 { ratio = -1 }
27 |         return registers[target].setFloat(acos(ratio))
   |                                           `- error: cannot find 'acos' in scope
28 |     }
29 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/AngleBetween2D.swift:33:43: error: cannot find 'acos' in scope
31 |         var ratio = (ax * bx + ay * by + az * bz) / (al * bl)
32 |         if ratio > 1 { ratio = 1 } else if ratio < -1 { ratio = -1 }
33 |         return registers[target].setFloat(acos(ratio))
   |                                           `- error: cannot find 'acos' in scope
34 |     }
35 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/AngleBetween3D.swift:37:43: error: cannot find 'acos' in scope
35 |         var ratio = (ax * bx + ay * by + az * bz) / (al * bl)
36 |         if ratio > 1 { ratio = 1 } else if ratio < -1 { ratio = -1 }
37 |         return registers[target].setFloat(acos(ratio))
   |                                           `- error: cannot find 'acos' in scope
38 |     }
39 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Asin.swift:15:43: error: cannot find 'asin' in scope
13 |     func executeAsin(_ target: Int, _ x: Int) {
14 |         guard registers[x].isNumeric, !registers[x].hasUnit else { return registers[target].setNothing() }
15 |         return registers[target].setFloat(asin(registers[x].asNumber))
   |                                           `- error: cannot find 'asin' in scope
16 |     }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Atan.swift:15:43: error: cannot find 'atan' in scope
13 |     func executeAtan(_ target: Int, _ x: Int) {
14 |         guard registers[x].isNumeric, !registers[x].hasUnit else { return registers[target].setNothing() }
15 |         return registers[target].setFloat(atan(registers[x].asNumber))
   |                                           `- error: cannot find 'atan' in scope
16 |     }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Atan2.swift:15:106: error: cannot find 'atan2' in scope
13 |     func executeAtan2(_ target: Int, _ x: Int, _ y: Int) {
14 |         if !registers[x].isNumeric || !registers[y].isNumeric || registers[x].unit != registers[y].unit { return registers[target].setNothing() }
15 |         return registers[target].setFloat(registers[x].asNumber == 0 && registers[y].asNumber == 0 ? 0 : atan2(registers[x].asNumber, registers[y].asNumber))
   |                                                                                                          `- error: cannot find 'atan2' in scope
16 |     }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Cos.swift:16:43: error: cannot find 'cos' in scope
14 |         guard registers[x].isNumeric, registers[x].unit == .none || registers[x].unit == .degree else { return registers[target].setNothing() }
15 |         let n = registers[x].unit == .degree ? registers[x].asNumber / 180 * Double.pi : registers[x].asNumber
16 |         return registers[target].setFloat(cos(n))
   |                                           `- error: cannot find 'cos' in scope
17 |     }
18 | }
[162/487] Compiling GameEventScriptRuntime Cross3D.swift
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Acos.swift:15:43: error: cannot find 'acos' in scope
13 |     func executeAcos(_ target: Int, _ x: Int) {
14 |         guard registers[x].isNumeric, !registers[x].hasUnit else { return registers[target].setNothing() }
15 |         return registers[target].setFloat(acos(registers[x].asNumber))
   |                                           `- error: cannot find 'acos' in scope
16 |     }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/AngleBetween.swift:27:43: error: cannot find 'acos' in scope
25 |         var ratio = (ax * bx + ay * by + az * bz) / (al * bl)
26 |         if ratio > 1 { ratio = 1 } else if ratio < -1 { ratio = -1 }
27 |         return registers[target].setFloat(acos(ratio))
   |                                           `- error: cannot find 'acos' in scope
28 |     }
29 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/AngleBetween2D.swift:33:43: error: cannot find 'acos' in scope
31 |         var ratio = (ax * bx + ay * by + az * bz) / (al * bl)
32 |         if ratio > 1 { ratio = 1 } else if ratio < -1 { ratio = -1 }
33 |         return registers[target].setFloat(acos(ratio))
   |                                           `- error: cannot find 'acos' in scope
34 |     }
35 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/AngleBetween3D.swift:37:43: error: cannot find 'acos' in scope
35 |         var ratio = (ax * bx + ay * by + az * bz) / (al * bl)
36 |         if ratio > 1 { ratio = 1 } else if ratio < -1 { ratio = -1 }
37 |         return registers[target].setFloat(acos(ratio))
   |                                           `- error: cannot find 'acos' in scope
38 |     }
39 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Asin.swift:15:43: error: cannot find 'asin' in scope
13 |     func executeAsin(_ target: Int, _ x: Int) {
14 |         guard registers[x].isNumeric, !registers[x].hasUnit else { return registers[target].setNothing() }
15 |         return registers[target].setFloat(asin(registers[x].asNumber))
   |                                           `- error: cannot find 'asin' in scope
16 |     }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Atan.swift:15:43: error: cannot find 'atan' in scope
13 |     func executeAtan(_ target: Int, _ x: Int) {
14 |         guard registers[x].isNumeric, !registers[x].hasUnit else { return registers[target].setNothing() }
15 |         return registers[target].setFloat(atan(registers[x].asNumber))
   |                                           `- error: cannot find 'atan' in scope
16 |     }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Atan2.swift:15:106: error: cannot find 'atan2' in scope
13 |     func executeAtan2(_ target: Int, _ x: Int, _ y: Int) {
14 |         if !registers[x].isNumeric || !registers[y].isNumeric || registers[x].unit != registers[y].unit { return registers[target].setNothing() }
15 |         return registers[target].setFloat(registers[x].asNumber == 0 && registers[y].asNumber == 0 ? 0 : atan2(registers[x].asNumber, registers[y].asNumber))
   |                                                                                                          `- error: cannot find 'atan2' in scope
16 |     }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Cos.swift:16:43: error: cannot find 'cos' in scope
14 |         guard registers[x].isNumeric, registers[x].unit == .none || registers[x].unit == .degree else { return registers[target].setNothing() }
15 |         let n = registers[x].unit == .degree ? registers[x].asNumber / 180 * Double.pi : registers[x].asNumber
16 |         return registers[target].setFloat(cos(n))
   |                                           `- error: cannot find 'cos' in scope
17 |     }
18 | }
[163/487] Compiling GameEventScriptRuntime DegreeFromRadians.swift
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Acos.swift:15:43: error: cannot find 'acos' in scope
13 |     func executeAcos(_ target: Int, _ x: Int) {
14 |         guard registers[x].isNumeric, !registers[x].hasUnit else { return registers[target].setNothing() }
15 |         return registers[target].setFloat(acos(registers[x].asNumber))
   |                                           `- error: cannot find 'acos' in scope
16 |     }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/AngleBetween.swift:27:43: error: cannot find 'acos' in scope
25 |         var ratio = (ax * bx + ay * by + az * bz) / (al * bl)
26 |         if ratio > 1 { ratio = 1 } else if ratio < -1 { ratio = -1 }
27 |         return registers[target].setFloat(acos(ratio))
   |                                           `- error: cannot find 'acos' in scope
28 |     }
29 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/AngleBetween2D.swift:33:43: error: cannot find 'acos' in scope
31 |         var ratio = (ax * bx + ay * by + az * bz) / (al * bl)
32 |         if ratio > 1 { ratio = 1 } else if ratio < -1 { ratio = -1 }
33 |         return registers[target].setFloat(acos(ratio))
   |                                           `- error: cannot find 'acos' in scope
34 |     }
35 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/AngleBetween3D.swift:37:43: error: cannot find 'acos' in scope
35 |         var ratio = (ax * bx + ay * by + az * bz) / (al * bl)
36 |         if ratio > 1 { ratio = 1 } else if ratio < -1 { ratio = -1 }
37 |         return registers[target].setFloat(acos(ratio))
   |                                           `- error: cannot find 'acos' in scope
38 |     }
39 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Asin.swift:15:43: error: cannot find 'asin' in scope
13 |     func executeAsin(_ target: Int, _ x: Int) {
14 |         guard registers[x].isNumeric, !registers[x].hasUnit else { return registers[target].setNothing() }
15 |         return registers[target].setFloat(asin(registers[x].asNumber))
   |                                           `- error: cannot find 'asin' in scope
16 |     }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Atan.swift:15:43: error: cannot find 'atan' in scope
13 |     func executeAtan(_ target: Int, _ x: Int) {
14 |         guard registers[x].isNumeric, !registers[x].hasUnit else { return registers[target].setNothing() }
15 |         return registers[target].setFloat(atan(registers[x].asNumber))
   |                                           `- error: cannot find 'atan' in scope
16 |     }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Atan2.swift:15:106: error: cannot find 'atan2' in scope
13 |     func executeAtan2(_ target: Int, _ x: Int, _ y: Int) {
14 |         if !registers[x].isNumeric || !registers[y].isNumeric || registers[x].unit != registers[y].unit { return registers[target].setNothing() }
15 |         return registers[target].setFloat(registers[x].asNumber == 0 && registers[y].asNumber == 0 ? 0 : atan2(registers[x].asNumber, registers[y].asNumber))
   |                                                                                                          `- error: cannot find 'atan2' in scope
16 |     }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Cos.swift:16:43: error: cannot find 'cos' in scope
14 |         guard registers[x].isNumeric, registers[x].unit == .none || registers[x].unit == .degree else { return registers[target].setNothing() }
15 |         let n = registers[x].unit == .degree ? registers[x].asNumber / 180 * Double.pi : registers[x].asNumber
16 |         return registers[target].setFloat(cos(n))
   |                                           `- error: cannot find 'cos' in scope
17 |     }
18 | }
[164/487] Compiling GameEventScriptRuntime DegreeToRadians.swift
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Acos.swift:15:43: error: cannot find 'acos' in scope
13 |     func executeAcos(_ target: Int, _ x: Int) {
14 |         guard registers[x].isNumeric, !registers[x].hasUnit else { return registers[target].setNothing() }
15 |         return registers[target].setFloat(acos(registers[x].asNumber))
   |                                           `- error: cannot find 'acos' in scope
16 |     }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/AngleBetween.swift:27:43: error: cannot find 'acos' in scope
25 |         var ratio = (ax * bx + ay * by + az * bz) / (al * bl)
26 |         if ratio > 1 { ratio = 1 } else if ratio < -1 { ratio = -1 }
27 |         return registers[target].setFloat(acos(ratio))
   |                                           `- error: cannot find 'acos' in scope
28 |     }
29 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/AngleBetween2D.swift:33:43: error: cannot find 'acos' in scope
31 |         var ratio = (ax * bx + ay * by + az * bz) / (al * bl)
32 |         if ratio > 1 { ratio = 1 } else if ratio < -1 { ratio = -1 }
33 |         return registers[target].setFloat(acos(ratio))
   |                                           `- error: cannot find 'acos' in scope
34 |     }
35 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/AngleBetween3D.swift:37:43: error: cannot find 'acos' in scope
35 |         var ratio = (ax * bx + ay * by + az * bz) / (al * bl)
36 |         if ratio > 1 { ratio = 1 } else if ratio < -1 { ratio = -1 }
37 |         return registers[target].setFloat(acos(ratio))
   |                                           `- error: cannot find 'acos' in scope
38 |     }
39 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Asin.swift:15:43: error: cannot find 'asin' in scope
13 |     func executeAsin(_ target: Int, _ x: Int) {
14 |         guard registers[x].isNumeric, !registers[x].hasUnit else { return registers[target].setNothing() }
15 |         return registers[target].setFloat(asin(registers[x].asNumber))
   |                                           `- error: cannot find 'asin' in scope
16 |     }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Atan.swift:15:43: error: cannot find 'atan' in scope
13 |     func executeAtan(_ target: Int, _ x: Int) {
14 |         guard registers[x].isNumeric, !registers[x].hasUnit else { return registers[target].setNothing() }
15 |         return registers[target].setFloat(atan(registers[x].asNumber))
   |                                           `- error: cannot find 'atan' in scope
16 |     }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Atan2.swift:15:106: error: cannot find 'atan2' in scope
13 |     func executeAtan2(_ target: Int, _ x: Int, _ y: Int) {
14 |         if !registers[x].isNumeric || !registers[y].isNumeric || registers[x].unit != registers[y].unit { return registers[target].setNothing() }
15 |         return registers[target].setFloat(registers[x].asNumber == 0 && registers[y].asNumber == 0 ? 0 : atan2(registers[x].asNumber, registers[y].asNumber))
   |                                                                                                          `- error: cannot find 'atan2' in scope
16 |     }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Cos.swift:16:43: error: cannot find 'cos' in scope
14 |         guard registers[x].isNumeric, registers[x].unit == .none || registers[x].unit == .degree else { return registers[target].setNothing() }
15 |         let n = registers[x].unit == .degree ? registers[x].asNumber / 180 * Double.pi : registers[x].asNumber
16 |         return registers[target].setFloat(cos(n))
   |                                           `- error: cannot find 'cos' in scope
17 |     }
18 | }
[165/487] Compiling GameEventScriptRuntime Distance.swift
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Acos.swift:15:43: error: cannot find 'acos' in scope
13 |     func executeAcos(_ target: Int, _ x: Int) {
14 |         guard registers[x].isNumeric, !registers[x].hasUnit else { return registers[target].setNothing() }
15 |         return registers[target].setFloat(acos(registers[x].asNumber))
   |                                           `- error: cannot find 'acos' in scope
16 |     }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/AngleBetween.swift:27:43: error: cannot find 'acos' in scope
25 |         var ratio = (ax * bx + ay * by + az * bz) / (al * bl)
26 |         if ratio > 1 { ratio = 1 } else if ratio < -1 { ratio = -1 }
27 |         return registers[target].setFloat(acos(ratio))
   |                                           `- error: cannot find 'acos' in scope
28 |     }
29 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/AngleBetween2D.swift:33:43: error: cannot find 'acos' in scope
31 |         var ratio = (ax * bx + ay * by + az * bz) / (al * bl)
32 |         if ratio > 1 { ratio = 1 } else if ratio < -1 { ratio = -1 }
33 |         return registers[target].setFloat(acos(ratio))
   |                                           `- error: cannot find 'acos' in scope
34 |     }
35 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/AngleBetween3D.swift:37:43: error: cannot find 'acos' in scope
35 |         var ratio = (ax * bx + ay * by + az * bz) / (al * bl)
36 |         if ratio > 1 { ratio = 1 } else if ratio < -1 { ratio = -1 }
37 |         return registers[target].setFloat(acos(ratio))
   |                                           `- error: cannot find 'acos' in scope
38 |     }
39 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Asin.swift:15:43: error: cannot find 'asin' in scope
13 |     func executeAsin(_ target: Int, _ x: Int) {
14 |         guard registers[x].isNumeric, !registers[x].hasUnit else { return registers[target].setNothing() }
15 |         return registers[target].setFloat(asin(registers[x].asNumber))
   |                                           `- error: cannot find 'asin' in scope
16 |     }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Atan.swift:15:43: error: cannot find 'atan' in scope
13 |     func executeAtan(_ target: Int, _ x: Int) {
14 |         guard registers[x].isNumeric, !registers[x].hasUnit else { return registers[target].setNothing() }
15 |         return registers[target].setFloat(atan(registers[x].asNumber))
   |                                           `- error: cannot find 'atan' in scope
16 |     }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Atan2.swift:15:106: error: cannot find 'atan2' in scope
13 |     func executeAtan2(_ target: Int, _ x: Int, _ y: Int) {
14 |         if !registers[x].isNumeric || !registers[y].isNumeric || registers[x].unit != registers[y].unit { return registers[target].setNothing() }
15 |         return registers[target].setFloat(registers[x].asNumber == 0 && registers[y].asNumber == 0 ? 0 : atan2(registers[x].asNumber, registers[y].asNumber))
   |                                                                                                          `- error: cannot find 'atan2' in scope
16 |     }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Cos.swift:16:43: error: cannot find 'cos' in scope
14 |         guard registers[x].isNumeric, registers[x].unit == .none || registers[x].unit == .degree else { return registers[target].setNothing() }
15 |         let n = registers[x].unit == .degree ? registers[x].asNumber / 180 * Double.pi : registers[x].asNumber
16 |         return registers[target].setFloat(cos(n))
   |                                           `- error: cannot find 'cos' in scope
17 |     }
18 | }
[166/487] Compiling GameEventScriptRuntime Distance2D.swift
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Acos.swift:15:43: error: cannot find 'acos' in scope
13 |     func executeAcos(_ target: Int, _ x: Int) {
14 |         guard registers[x].isNumeric, !registers[x].hasUnit else { return registers[target].setNothing() }
15 |         return registers[target].setFloat(acos(registers[x].asNumber))
   |                                           `- error: cannot find 'acos' in scope
16 |     }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/AngleBetween.swift:27:43: error: cannot find 'acos' in scope
25 |         var ratio = (ax * bx + ay * by + az * bz) / (al * bl)
26 |         if ratio > 1 { ratio = 1 } else if ratio < -1 { ratio = -1 }
27 |         return registers[target].setFloat(acos(ratio))
   |                                           `- error: cannot find 'acos' in scope
28 |     }
29 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/AngleBetween2D.swift:33:43: error: cannot find 'acos' in scope
31 |         var ratio = (ax * bx + ay * by + az * bz) / (al * bl)
32 |         if ratio > 1 { ratio = 1 } else if ratio < -1 { ratio = -1 }
33 |         return registers[target].setFloat(acos(ratio))
   |                                           `- error: cannot find 'acos' in scope
34 |     }
35 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/AngleBetween3D.swift:37:43: error: cannot find 'acos' in scope
35 |         var ratio = (ax * bx + ay * by + az * bz) / (al * bl)
36 |         if ratio > 1 { ratio = 1 } else if ratio < -1 { ratio = -1 }
37 |         return registers[target].setFloat(acos(ratio))
   |                                           `- error: cannot find 'acos' in scope
38 |     }
39 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Asin.swift:15:43: error: cannot find 'asin' in scope
13 |     func executeAsin(_ target: Int, _ x: Int) {
14 |         guard registers[x].isNumeric, !registers[x].hasUnit else { return registers[target].setNothing() }
15 |         return registers[target].setFloat(asin(registers[x].asNumber))
   |                                           `- error: cannot find 'asin' in scope
16 |     }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Atan.swift:15:43: error: cannot find 'atan' in scope
13 |     func executeAtan(_ target: Int, _ x: Int) {
14 |         guard registers[x].isNumeric, !registers[x].hasUnit else { return registers[target].setNothing() }
15 |         return registers[target].setFloat(atan(registers[x].asNumber))
   |                                           `- error: cannot find 'atan' in scope
16 |     }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Atan2.swift:15:106: error: cannot find 'atan2' in scope
13 |     func executeAtan2(_ target: Int, _ x: Int, _ y: Int) {
14 |         if !registers[x].isNumeric || !registers[y].isNumeric || registers[x].unit != registers[y].unit { return registers[target].setNothing() }
15 |         return registers[target].setFloat(registers[x].asNumber == 0 && registers[y].asNumber == 0 ? 0 : atan2(registers[x].asNumber, registers[y].asNumber))
   |                                                                                                          `- error: cannot find 'atan2' in scope
16 |     }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Cos.swift:16:43: error: cannot find 'cos' in scope
14 |         guard registers[x].isNumeric, registers[x].unit == .none || registers[x].unit == .degree else { return registers[target].setNothing() }
15 |         let n = registers[x].unit == .degree ? registers[x].asNumber / 180 * Double.pi : registers[x].asNumber
16 |         return registers[target].setFloat(cos(n))
   |                                           `- error: cannot find 'cos' in scope
17 |     }
18 | }
[191/535] Emitting module GameEventScriptRuntime
[192/535] Compiling GameEventScriptRuntime ExternalTypeCatalogProtocol.swift
[193/535] Compiling GameEventScriptRuntime ExternalTypeConstructorDefinition.swift
[194/535] Compiling GameEventScriptRuntime ExternalTypeConstructorReference.swift
[195/535] Compiling GameEventScriptRuntime ExternalTypeDefinition.swift
[196/535] Compiling GameEventScriptRuntime ExternalTypeFieldDefinition.swift
[197/535] Compiling GameEventScriptRuntime ExternalTypeParameterDefinition.swift
[198/535] Compiling GameEventScriptRuntime ExternalValue.swift
[199/535] Compiling GameEventScriptRuntime NativeMessageHandler.swift
[200/535] Compiling GameEventScriptRuntime PublishSink.swift
[201/535] Compiling GameEventScriptRuntime DeferredPublication.swift
[202/535] Compiling GameEventScriptRuntime DelayedMessage.swift
[203/535] Compiling GameEventScriptRuntime MessageQueue.swift
[204/535] Compiling GameEventScriptRuntime PendingMessage.swift
[205/535] Compiling GameEventScriptRuntime SubscriptionEntry.swift
[206/535] Compiling GameEventScriptRuntime Host.swift
[207/535] Compiling GameEventScriptRuntime HostBuilder.swift
[208/535] Compiling GameEventScriptRuntime Instance.swift
[209/535] Compiling GameEventScriptRuntime ExecutionResult.swift
[210/535] Compiling GameEventScriptRuntime ExecutionState.swift
[211/535] Compiling GameEventScriptRuntime StartResult.swift
[212/535] Compiling GameEventScriptRuntime StartState.swift
[213/535] Compiling GameEventScriptRuntime Subscription.swift
[214/535] Compiling GameEventScriptRuntime GesSignatureStorage.swift
[215/535] Compiling GameEventScriptRuntime Message.swift
[216/535] Compiling GameEventScriptRuntime MessageArguments.swift
[217/559] Compiling GameEventScriptRuntime Normalize3D.swift
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Power.swift:21:43: error: cannot find 'pow' in scope
19 |         // Quantity powers follow the unit derivations, for example `m` squared is `m²`; others are invalid.
20 |         guard !registers[y].hasUnit, !left.isNaN, !right.isNaN, let unit = GesQuantityUnit.power(registers[x].unit, right) else { return registers[target].setNothing() }
21 |         return registers[target].setFloat(pow(left, right), unit: unit)
   |                                           `- error: cannot find 'pow' in scope
22 |     }
23 |
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Power.swift:30:43: error: cannot find 'pow' in scope
28 |         // Quantity powers follow the unit derivations, for example `m` squared is `m²`; others are invalid.
29 |         guard !registers[y].hasUnit, !left.isNaN, !right.isNaN, let unit = GesQuantityUnit.power(registers[x].unit, right) else { return registers[target].setNothing() }
30 |         return registers[target].setFloat(pow(left, right), unit: unit)
   |                                           `- error: cannot find 'pow' in scope
31 |     }
32 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Sin.swift:16:43: error: cannot find 'sin' in scope
14 |         guard registers[x].isNumeric, registers[x].unit == .none || registers[x].unit == .degree else { return registers[target].setNothing() }
15 |         let n = registers[x].unit == .degree ? registers[x].asNumber / 180 * Double.pi : registers[x].asNumber
16 |         return registers[target].setFloat(sin(n))
   |                                           `- error: cannot find 'sin' in scope
17 |     }
18 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Support/GesMath.swift:149:31: error: cannot find 'pow' in scope
147 |         if op == .power {
148 |             guard !b.hasUnit, !a.asNumber.isNaN, !b.asNumber.isNaN, let unit = GesQuantityUnit.power(a.unit, b.asNumber) else { return sink.nothing }
149 |             return sink.float(pow(a.asNumber, b.asNumber), unit: unit)
    |                               `- error: cannot find 'pow' in scope
150 |         }
151 |         let unit: GesQuantityUnit?
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Tan.swift:16:43: error: cannot find 'tan' in scope
14 |         guard registers[x].isNumeric, registers[x].unit == .none || registers[x].unit == .degree else { return registers[target].setNothing() }
15 |         let n = registers[x].unit == .degree ? registers[x].asNumber / 180 * Double.pi : registers[x].asNumber
16 |         return registers[target].setFloat(tan(n))
   |                                           `- error: cannot find 'tan' in scope
17 |     }
18 | }
[218/559] Compiling GameEventScriptRuntime Power.swift
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Power.swift:21:43: error: cannot find 'pow' in scope
19 |         // Quantity powers follow the unit derivations, for example `m` squared is `m²`; others are invalid.
20 |         guard !registers[y].hasUnit, !left.isNaN, !right.isNaN, let unit = GesQuantityUnit.power(registers[x].unit, right) else { return registers[target].setNothing() }
21 |         return registers[target].setFloat(pow(left, right), unit: unit)
   |                                           `- error: cannot find 'pow' in scope
22 |     }
23 |
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Power.swift:30:43: error: cannot find 'pow' in scope
28 |         // Quantity powers follow the unit derivations, for example `m` squared is `m²`; others are invalid.
29 |         guard !registers[y].hasUnit, !left.isNaN, !right.isNaN, let unit = GesQuantityUnit.power(registers[x].unit, right) else { return registers[target].setNothing() }
30 |         return registers[target].setFloat(pow(left, right), unit: unit)
   |                                           `- error: cannot find 'pow' in scope
31 |     }
32 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Sin.swift:16:43: error: cannot find 'sin' in scope
14 |         guard registers[x].isNumeric, registers[x].unit == .none || registers[x].unit == .degree else { return registers[target].setNothing() }
15 |         let n = registers[x].unit == .degree ? registers[x].asNumber / 180 * Double.pi : registers[x].asNumber
16 |         return registers[target].setFloat(sin(n))
   |                                           `- error: cannot find 'sin' in scope
17 |     }
18 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Support/GesMath.swift:149:31: error: cannot find 'pow' in scope
147 |         if op == .power {
148 |             guard !b.hasUnit, !a.asNumber.isNaN, !b.asNumber.isNaN, let unit = GesQuantityUnit.power(a.unit, b.asNumber) else { return sink.nothing }
149 |             return sink.float(pow(a.asNumber, b.asNumber), unit: unit)
    |                               `- error: cannot find 'pow' in scope
150 |         }
151 |         let unit: GesQuantityUnit?
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Tan.swift:16:43: error: cannot find 'tan' in scope
14 |         guard registers[x].isNumeric, registers[x].unit == .none || registers[x].unit == .degree else { return registers[target].setNothing() }
15 |         let n = registers[x].unit == .degree ? registers[x].asNumber / 180 * Double.pi : registers[x].asNumber
16 |         return registers[target].setFloat(tan(n))
   |                                           `- error: cannot find 'tan' in scope
17 |     }
18 | }
[219/559] Compiling GameEventScriptRuntime RandomTake.swift
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Power.swift:21:43: error: cannot find 'pow' in scope
19 |         // Quantity powers follow the unit derivations, for example `m` squared is `m²`; others are invalid.
20 |         guard !registers[y].hasUnit, !left.isNaN, !right.isNaN, let unit = GesQuantityUnit.power(registers[x].unit, right) else { return registers[target].setNothing() }
21 |         return registers[target].setFloat(pow(left, right), unit: unit)
   |                                           `- error: cannot find 'pow' in scope
22 |     }
23 |
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Power.swift:30:43: error: cannot find 'pow' in scope
28 |         // Quantity powers follow the unit derivations, for example `m` squared is `m²`; others are invalid.
29 |         guard !registers[y].hasUnit, !left.isNaN, !right.isNaN, let unit = GesQuantityUnit.power(registers[x].unit, right) else { return registers[target].setNothing() }
30 |         return registers[target].setFloat(pow(left, right), unit: unit)
   |                                           `- error: cannot find 'pow' in scope
31 |     }
32 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Sin.swift:16:43: error: cannot find 'sin' in scope
14 |         guard registers[x].isNumeric, registers[x].unit == .none || registers[x].unit == .degree else { return registers[target].setNothing() }
15 |         let n = registers[x].unit == .degree ? registers[x].asNumber / 180 * Double.pi : registers[x].asNumber
16 |         return registers[target].setFloat(sin(n))
   |                                           `- error: cannot find 'sin' in scope
17 |     }
18 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Support/GesMath.swift:149:31: error: cannot find 'pow' in scope
147 |         if op == .power {
148 |             guard !b.hasUnit, !a.asNumber.isNaN, !b.asNumber.isNaN, let unit = GesQuantityUnit.power(a.unit, b.asNumber) else { return sink.nothing }
149 |             return sink.float(pow(a.asNumber, b.asNumber), unit: unit)
    |                               `- error: cannot find 'pow' in scope
150 |         }
151 |         let unit: GesQuantityUnit?
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Tan.swift:16:43: error: cannot find 'tan' in scope
14 |         guard registers[x].isNumeric, registers[x].unit == .none || registers[x].unit == .degree else { return registers[target].setNothing() }
15 |         let n = registers[x].unit == .degree ? registers[x].asNumber / 180 * Double.pi : registers[x].asNumber
16 |         return registers[target].setFloat(tan(n))
   |                                           `- error: cannot find 'tan' in scope
17 |     }
18 | }
[220/559] Compiling GameEventScriptRuntime RandomTakeFloat.swift
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Power.swift:21:43: error: cannot find 'pow' in scope
19 |         // Quantity powers follow the unit derivations, for example `m` squared is `m²`; others are invalid.
20 |         guard !registers[y].hasUnit, !left.isNaN, !right.isNaN, let unit = GesQuantityUnit.power(registers[x].unit, right) else { return registers[target].setNothing() }
21 |         return registers[target].setFloat(pow(left, right), unit: unit)
   |                                           `- error: cannot find 'pow' in scope
22 |     }
23 |
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Power.swift:30:43: error: cannot find 'pow' in scope
28 |         // Quantity powers follow the unit derivations, for example `m` squared is `m²`; others are invalid.
29 |         guard !registers[y].hasUnit, !left.isNaN, !right.isNaN, let unit = GesQuantityUnit.power(registers[x].unit, right) else { return registers[target].setNothing() }
30 |         return registers[target].setFloat(pow(left, right), unit: unit)
   |                                           `- error: cannot find 'pow' in scope
31 |     }
32 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Sin.swift:16:43: error: cannot find 'sin' in scope
14 |         guard registers[x].isNumeric, registers[x].unit == .none || registers[x].unit == .degree else { return registers[target].setNothing() }
15 |         let n = registers[x].unit == .degree ? registers[x].asNumber / 180 * Double.pi : registers[x].asNumber
16 |         return registers[target].setFloat(sin(n))
   |                                           `- error: cannot find 'sin' in scope
17 |     }
18 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Support/GesMath.swift:149:31: error: cannot find 'pow' in scope
147 |         if op == .power {
148 |             guard !b.hasUnit, !a.asNumber.isNaN, !b.asNumber.isNaN, let unit = GesQuantityUnit.power(a.unit, b.asNumber) else { return sink.nothing }
149 |             return sink.float(pow(a.asNumber, b.asNumber), unit: unit)
    |                               `- error: cannot find 'pow' in scope
150 |         }
151 |         let unit: GesQuantityUnit?
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Tan.swift:16:43: error: cannot find 'tan' in scope
14 |         guard registers[x].isNumeric, registers[x].unit == .none || registers[x].unit == .degree else { return registers[target].setNothing() }
15 |         let n = registers[x].unit == .degree ? registers[x].asNumber / 180 * Double.pi : registers[x].asNumber
16 |         return registers[target].setFloat(tan(n))
   |                                           `- error: cannot find 'tan' in scope
17 |     }
18 | }
[221/559] Compiling GameEventScriptRuntime Remainder.swift
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Power.swift:21:43: error: cannot find 'pow' in scope
19 |         // Quantity powers follow the unit derivations, for example `m` squared is `m²`; others are invalid.
20 |         guard !registers[y].hasUnit, !left.isNaN, !right.isNaN, let unit = GesQuantityUnit.power(registers[x].unit, right) else { return registers[target].setNothing() }
21 |         return registers[target].setFloat(pow(left, right), unit: unit)
   |                                           `- error: cannot find 'pow' in scope
22 |     }
23 |
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Power.swift:30:43: error: cannot find 'pow' in scope
28 |         // Quantity powers follow the unit derivations, for example `m` squared is `m²`; others are invalid.
29 |         guard !registers[y].hasUnit, !left.isNaN, !right.isNaN, let unit = GesQuantityUnit.power(registers[x].unit, right) else { return registers[target].setNothing() }
30 |         return registers[target].setFloat(pow(left, right), unit: unit)
   |                                           `- error: cannot find 'pow' in scope
31 |     }
32 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Sin.swift:16:43: error: cannot find 'sin' in scope
14 |         guard registers[x].isNumeric, registers[x].unit == .none || registers[x].unit == .degree else { return registers[target].setNothing() }
15 |         let n = registers[x].unit == .degree ? registers[x].asNumber / 180 * Double.pi : registers[x].asNumber
16 |         return registers[target].setFloat(sin(n))
   |                                           `- error: cannot find 'sin' in scope
17 |     }
18 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Support/GesMath.swift:149:31: error: cannot find 'pow' in scope
147 |         if op == .power {
148 |             guard !b.hasUnit, !a.asNumber.isNaN, !b.asNumber.isNaN, let unit = GesQuantityUnit.power(a.unit, b.asNumber) else { return sink.nothing }
149 |             return sink.float(pow(a.asNumber, b.asNumber), unit: unit)
    |                               `- error: cannot find 'pow' in scope
150 |         }
151 |         let unit: GesQuantityUnit?
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Tan.swift:16:43: error: cannot find 'tan' in scope
14 |         guard registers[x].isNumeric, registers[x].unit == .none || registers[x].unit == .degree else { return registers[target].setNothing() }
15 |         let n = registers[x].unit == .degree ? registers[x].asNumber / 180 * Double.pi : registers[x].asNumber
16 |         return registers[target].setFloat(tan(n))
   |                                           `- error: cannot find 'tan' in scope
17 |     }
18 | }
[222/559] Compiling GameEventScriptRuntime RoundHalfDown.swift
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Power.swift:21:43: error: cannot find 'pow' in scope
19 |         // Quantity powers follow the unit derivations, for example `m` squared is `m²`; others are invalid.
20 |         guard !registers[y].hasUnit, !left.isNaN, !right.isNaN, let unit = GesQuantityUnit.power(registers[x].unit, right) else { return registers[target].setNothing() }
21 |         return registers[target].setFloat(pow(left, right), unit: unit)
   |                                           `- error: cannot find 'pow' in scope
22 |     }
23 |
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Power.swift:30:43: error: cannot find 'pow' in scope
28 |         // Quantity powers follow the unit derivations, for example `m` squared is `m²`; others are invalid.
29 |         guard !registers[y].hasUnit, !left.isNaN, !right.isNaN, let unit = GesQuantityUnit.power(registers[x].unit, right) else { return registers[target].setNothing() }
30 |         return registers[target].setFloat(pow(left, right), unit: unit)
   |                                           `- error: cannot find 'pow' in scope
31 |     }
32 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Sin.swift:16:43: error: cannot find 'sin' in scope
14 |         guard registers[x].isNumeric, registers[x].unit == .none || registers[x].unit == .degree else { return registers[target].setNothing() }
15 |         let n = registers[x].unit == .degree ? registers[x].asNumber / 180 * Double.pi : registers[x].asNumber
16 |         return registers[target].setFloat(sin(n))
   |                                           `- error: cannot find 'sin' in scope
17 |     }
18 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Support/GesMath.swift:149:31: error: cannot find 'pow' in scope
147 |         if op == .power {
148 |             guard !b.hasUnit, !a.asNumber.isNaN, !b.asNumber.isNaN, let unit = GesQuantityUnit.power(a.unit, b.asNumber) else { return sink.nothing }
149 |             return sink.float(pow(a.asNumber, b.asNumber), unit: unit)
    |                               `- error: cannot find 'pow' in scope
150 |         }
151 |         let unit: GesQuantityUnit?
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Tan.swift:16:43: error: cannot find 'tan' in scope
14 |         guard registers[x].isNumeric, registers[x].unit == .none || registers[x].unit == .degree else { return registers[target].setNothing() }
15 |         let n = registers[x].unit == .degree ? registers[x].asNumber / 180 * Double.pi : registers[x].asNumber
16 |         return registers[target].setFloat(tan(n))
   |                                           `- error: cannot find 'tan' in scope
17 |     }
18 | }
[223/559] Compiling GameEventScriptRuntime RoundHalfEven.swift
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Power.swift:21:43: error: cannot find 'pow' in scope
19 |         // Quantity powers follow the unit derivations, for example `m` squared is `m²`; others are invalid.
20 |         guard !registers[y].hasUnit, !left.isNaN, !right.isNaN, let unit = GesQuantityUnit.power(registers[x].unit, right) else { return registers[target].setNothing() }
21 |         return registers[target].setFloat(pow(left, right), unit: unit)
   |                                           `- error: cannot find 'pow' in scope
22 |     }
23 |
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Power.swift:30:43: error: cannot find 'pow' in scope
28 |         // Quantity powers follow the unit derivations, for example `m` squared is `m²`; others are invalid.
29 |         guard !registers[y].hasUnit, !left.isNaN, !right.isNaN, let unit = GesQuantityUnit.power(registers[x].unit, right) else { return registers[target].setNothing() }
30 |         return registers[target].setFloat(pow(left, right), unit: unit)
   |                                           `- error: cannot find 'pow' in scope
31 |     }
32 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Sin.swift:16:43: error: cannot find 'sin' in scope
14 |         guard registers[x].isNumeric, registers[x].unit == .none || registers[x].unit == .degree else { return registers[target].setNothing() }
15 |         let n = registers[x].unit == .degree ? registers[x].asNumber / 180 * Double.pi : registers[x].asNumber
16 |         return registers[target].setFloat(sin(n))
   |                                           `- error: cannot find 'sin' in scope
17 |     }
18 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Support/GesMath.swift:149:31: error: cannot find 'pow' in scope
147 |         if op == .power {
148 |             guard !b.hasUnit, !a.asNumber.isNaN, !b.asNumber.isNaN, let unit = GesQuantityUnit.power(a.unit, b.asNumber) else { return sink.nothing }
149 |             return sink.float(pow(a.asNumber, b.asNumber), unit: unit)
    |                               `- error: cannot find 'pow' in scope
150 |         }
151 |         let unit: GesQuantityUnit?
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Tan.swift:16:43: error: cannot find 'tan' in scope
14 |         guard registers[x].isNumeric, registers[x].unit == .none || registers[x].unit == .degree else { return registers[target].setNothing() }
15 |         let n = registers[x].unit == .degree ? registers[x].asNumber / 180 * Double.pi : registers[x].asNumber
16 |         return registers[target].setFloat(tan(n))
   |                                           `- error: cannot find 'tan' in scope
17 |     }
18 | }
[224/559] Compiling GameEventScriptRuntime RoundHalfUp.swift
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Power.swift:21:43: error: cannot find 'pow' in scope
19 |         // Quantity powers follow the unit derivations, for example `m` squared is `m²`; others are invalid.
20 |         guard !registers[y].hasUnit, !left.isNaN, !right.isNaN, let unit = GesQuantityUnit.power(registers[x].unit, right) else { return registers[target].setNothing() }
21 |         return registers[target].setFloat(pow(left, right), unit: unit)
   |                                           `- error: cannot find 'pow' in scope
22 |     }
23 |
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Power.swift:30:43: error: cannot find 'pow' in scope
28 |         // Quantity powers follow the unit derivations, for example `m` squared is `m²`; others are invalid.
29 |         guard !registers[y].hasUnit, !left.isNaN, !right.isNaN, let unit = GesQuantityUnit.power(registers[x].unit, right) else { return registers[target].setNothing() }
30 |         return registers[target].setFloat(pow(left, right), unit: unit)
   |                                           `- error: cannot find 'pow' in scope
31 |     }
32 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Sin.swift:16:43: error: cannot find 'sin' in scope
14 |         guard registers[x].isNumeric, registers[x].unit == .none || registers[x].unit == .degree else { return registers[target].setNothing() }
15 |         let n = registers[x].unit == .degree ? registers[x].asNumber / 180 * Double.pi : registers[x].asNumber
16 |         return registers[target].setFloat(sin(n))
   |                                           `- error: cannot find 'sin' in scope
17 |     }
18 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Support/GesMath.swift:149:31: error: cannot find 'pow' in scope
147 |         if op == .power {
148 |             guard !b.hasUnit, !a.asNumber.isNaN, !b.asNumber.isNaN, let unit = GesQuantityUnit.power(a.unit, b.asNumber) else { return sink.nothing }
149 |             return sink.float(pow(a.asNumber, b.asNumber), unit: unit)
    |                               `- error: cannot find 'pow' in scope
150 |         }
151 |         let unit: GesQuantityUnit?
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Tan.swift:16:43: error: cannot find 'tan' in scope
14 |         guard registers[x].isNumeric, registers[x].unit == .none || registers[x].unit == .degree else { return registers[target].setNothing() }
15 |         let n = registers[x].unit == .degree ? registers[x].asNumber / 180 * Double.pi : registers[x].asNumber
16 |         return registers[target].setFloat(tan(n))
   |                                           `- error: cannot find 'tan' in scope
17 |     }
18 | }
[225/559] Compiling GameEventScriptRuntime Sin.swift
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Power.swift:21:43: error: cannot find 'pow' in scope
19 |         // Quantity powers follow the unit derivations, for example `m` squared is `m²`; others are invalid.
20 |         guard !registers[y].hasUnit, !left.isNaN, !right.isNaN, let unit = GesQuantityUnit.power(registers[x].unit, right) else { return registers[target].setNothing() }
21 |         return registers[target].setFloat(pow(left, right), unit: unit)
   |                                           `- error: cannot find 'pow' in scope
22 |     }
23 |
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Power.swift:30:43: error: cannot find 'pow' in scope
28 |         // Quantity powers follow the unit derivations, for example `m` squared is `m²`; others are invalid.
29 |         guard !registers[y].hasUnit, !left.isNaN, !right.isNaN, let unit = GesQuantityUnit.power(registers[x].unit, right) else { return registers[target].setNothing() }
30 |         return registers[target].setFloat(pow(left, right), unit: unit)
   |                                           `- error: cannot find 'pow' in scope
31 |     }
32 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Sin.swift:16:43: error: cannot find 'sin' in scope
14 |         guard registers[x].isNumeric, registers[x].unit == .none || registers[x].unit == .degree else { return registers[target].setNothing() }
15 |         let n = registers[x].unit == .degree ? registers[x].asNumber / 180 * Double.pi : registers[x].asNumber
16 |         return registers[target].setFloat(sin(n))
   |                                           `- error: cannot find 'sin' in scope
17 |     }
18 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Support/GesMath.swift:149:31: error: cannot find 'pow' in scope
147 |         if op == .power {
148 |             guard !b.hasUnit, !a.asNumber.isNaN, !b.asNumber.isNaN, let unit = GesQuantityUnit.power(a.unit, b.asNumber) else { return sink.nothing }
149 |             return sink.float(pow(a.asNumber, b.asNumber), unit: unit)
    |                               `- error: cannot find 'pow' in scope
150 |         }
151 |         let unit: GesQuantityUnit?
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Tan.swift:16:43: error: cannot find 'tan' in scope
14 |         guard registers[x].isNumeric, registers[x].unit == .none || registers[x].unit == .degree else { return registers[target].setNothing() }
15 |         let n = registers[x].unit == .degree ? registers[x].asNumber / 180 * Double.pi : registers[x].asNumber
16 |         return registers[target].setFloat(tan(n))
   |                                           `- error: cannot find 'tan' in scope
17 |     }
18 | }
[226/559] Compiling GameEventScriptRuntime Subtract.swift
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Power.swift:21:43: error: cannot find 'pow' in scope
19 |         // Quantity powers follow the unit derivations, for example `m` squared is `m²`; others are invalid.
20 |         guard !registers[y].hasUnit, !left.isNaN, !right.isNaN, let unit = GesQuantityUnit.power(registers[x].unit, right) else { return registers[target].setNothing() }
21 |         return registers[target].setFloat(pow(left, right), unit: unit)
   |                                           `- error: cannot find 'pow' in scope
22 |     }
23 |
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Power.swift:30:43: error: cannot find 'pow' in scope
28 |         // Quantity powers follow the unit derivations, for example `m` squared is `m²`; others are invalid.
29 |         guard !registers[y].hasUnit, !left.isNaN, !right.isNaN, let unit = GesQuantityUnit.power(registers[x].unit, right) else { return registers[target].setNothing() }
30 |         return registers[target].setFloat(pow(left, right), unit: unit)
   |                                           `- error: cannot find 'pow' in scope
31 |     }
32 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Sin.swift:16:43: error: cannot find 'sin' in scope
14 |         guard registers[x].isNumeric, registers[x].unit == .none || registers[x].unit == .degree else { return registers[target].setNothing() }
15 |         let n = registers[x].unit == .degree ? registers[x].asNumber / 180 * Double.pi : registers[x].asNumber
16 |         return registers[target].setFloat(sin(n))
   |                                           `- error: cannot find 'sin' in scope
17 |     }
18 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Support/GesMath.swift:149:31: error: cannot find 'pow' in scope
147 |         if op == .power {
148 |             guard !b.hasUnit, !a.asNumber.isNaN, !b.asNumber.isNaN, let unit = GesQuantityUnit.power(a.unit, b.asNumber) else { return sink.nothing }
149 |             return sink.float(pow(a.asNumber, b.asNumber), unit: unit)
    |                               `- error: cannot find 'pow' in scope
150 |         }
151 |         let unit: GesQuantityUnit?
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Tan.swift:16:43: error: cannot find 'tan' in scope
14 |         guard registers[x].isNumeric, registers[x].unit == .none || registers[x].unit == .degree else { return registers[target].setNothing() }
15 |         let n = registers[x].unit == .degree ? registers[x].asNumber / 180 * Double.pi : registers[x].asNumber
16 |         return registers[target].setFloat(tan(n))
   |                                           `- error: cannot find 'tan' in scope
17 |     }
18 | }
[227/559] Compiling GameEventScriptRuntime CreateSpatial.swift
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Power.swift:21:43: error: cannot find 'pow' in scope
19 |         // Quantity powers follow the unit derivations, for example `m` squared is `m²`; others are invalid.
20 |         guard !registers[y].hasUnit, !left.isNaN, !right.isNaN, let unit = GesQuantityUnit.power(registers[x].unit, right) else { return registers[target].setNothing() }
21 |         return registers[target].setFloat(pow(left, right), unit: unit)
   |                                           `- error: cannot find 'pow' in scope
22 |     }
23 |
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Power.swift:30:43: error: cannot find 'pow' in scope
28 |         // Quantity powers follow the unit derivations, for example `m` squared is `m²`; others are invalid.
29 |         guard !registers[y].hasUnit, !left.isNaN, !right.isNaN, let unit = GesQuantityUnit.power(registers[x].unit, right) else { return registers[target].setNothing() }
30 |         return registers[target].setFloat(pow(left, right), unit: unit)
   |                                           `- error: cannot find 'pow' in scope
31 |     }
32 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Sin.swift:16:43: error: cannot find 'sin' in scope
14 |         guard registers[x].isNumeric, registers[x].unit == .none || registers[x].unit == .degree else { return registers[target].setNothing() }
15 |         let n = registers[x].unit == .degree ? registers[x].asNumber / 180 * Double.pi : registers[x].asNumber
16 |         return registers[target].setFloat(sin(n))
   |                                           `- error: cannot find 'sin' in scope
17 |     }
18 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Support/GesMath.swift:149:31: error: cannot find 'pow' in scope
147 |         if op == .power {
148 |             guard !b.hasUnit, !a.asNumber.isNaN, !b.asNumber.isNaN, let unit = GesQuantityUnit.power(a.unit, b.asNumber) else { return sink.nothing }
149 |             return sink.float(pow(a.asNumber, b.asNumber), unit: unit)
    |                               `- error: cannot find 'pow' in scope
150 |         }
151 |         let unit: GesQuantityUnit?
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Tan.swift:16:43: error: cannot find 'tan' in scope
14 |         guard registers[x].isNumeric, registers[x].unit == .none || registers[x].unit == .degree else { return registers[target].setNothing() }
15 |         let n = registers[x].unit == .degree ? registers[x].asNumber / 180 * Double.pi : registers[x].asNumber
16 |         return registers[target].setFloat(tan(n))
   |                                           `- error: cannot find 'tan' in scope
17 |     }
18 | }
[228/559] Compiling GameEventScriptRuntime GesMath.swift
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Power.swift:21:43: error: cannot find 'pow' in scope
19 |         // Quantity powers follow the unit derivations, for example `m` squared is `m²`; others are invalid.
20 |         guard !registers[y].hasUnit, !left.isNaN, !right.isNaN, let unit = GesQuantityUnit.power(registers[x].unit, right) else { return registers[target].setNothing() }
21 |         return registers[target].setFloat(pow(left, right), unit: unit)
   |                                           `- error: cannot find 'pow' in scope
22 |     }
23 |
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Power.swift:30:43: error: cannot find 'pow' in scope
28 |         // Quantity powers follow the unit derivations, for example `m` squared is `m²`; others are invalid.
29 |         guard !registers[y].hasUnit, !left.isNaN, !right.isNaN, let unit = GesQuantityUnit.power(registers[x].unit, right) else { return registers[target].setNothing() }
30 |         return registers[target].setFloat(pow(left, right), unit: unit)
   |                                           `- error: cannot find 'pow' in scope
31 |     }
32 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Sin.swift:16:43: error: cannot find 'sin' in scope
14 |         guard registers[x].isNumeric, registers[x].unit == .none || registers[x].unit == .degree else { return registers[target].setNothing() }
15 |         let n = registers[x].unit == .degree ? registers[x].asNumber / 180 * Double.pi : registers[x].asNumber
16 |         return registers[target].setFloat(sin(n))
   |                                           `- error: cannot find 'sin' in scope
17 |     }
18 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Support/GesMath.swift:149:31: error: cannot find 'pow' in scope
147 |         if op == .power {
148 |             guard !b.hasUnit, !a.asNumber.isNaN, !b.asNumber.isNaN, let unit = GesQuantityUnit.power(a.unit, b.asNumber) else { return sink.nothing }
149 |             return sink.float(pow(a.asNumber, b.asNumber), unit: unit)
    |                               `- error: cannot find 'pow' in scope
150 |         }
151 |         let unit: GesQuantityUnit?
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Tan.swift:16:43: error: cannot find 'tan' in scope
14 |         guard registers[x].isNumeric, registers[x].unit == .none || registers[x].unit == .degree else { return registers[target].setNothing() }
15 |         let n = registers[x].unit == .degree ? registers[x].asNumber / 180 * Double.pi : registers[x].asNumber
16 |         return registers[target].setFloat(tan(n))
   |                                           `- error: cannot find 'tan' in scope
17 |     }
18 | }
[229/559] Compiling GameEventScriptRuntime PercentageUnits.swift
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Power.swift:21:43: error: cannot find 'pow' in scope
19 |         // Quantity powers follow the unit derivations, for example `m` squared is `m²`; others are invalid.
20 |         guard !registers[y].hasUnit, !left.isNaN, !right.isNaN, let unit = GesQuantityUnit.power(registers[x].unit, right) else { return registers[target].setNothing() }
21 |         return registers[target].setFloat(pow(left, right), unit: unit)
   |                                           `- error: cannot find 'pow' in scope
22 |     }
23 |
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Power.swift:30:43: error: cannot find 'pow' in scope
28 |         // Quantity powers follow the unit derivations, for example `m` squared is `m²`; others are invalid.
29 |         guard !registers[y].hasUnit, !left.isNaN, !right.isNaN, let unit = GesQuantityUnit.power(registers[x].unit, right) else { return registers[target].setNothing() }
30 |         return registers[target].setFloat(pow(left, right), unit: unit)
   |                                           `- error: cannot find 'pow' in scope
31 |     }
32 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Sin.swift:16:43: error: cannot find 'sin' in scope
14 |         guard registers[x].isNumeric, registers[x].unit == .none || registers[x].unit == .degree else { return registers[target].setNothing() }
15 |         let n = registers[x].unit == .degree ? registers[x].asNumber / 180 * Double.pi : registers[x].asNumber
16 |         return registers[target].setFloat(sin(n))
   |                                           `- error: cannot find 'sin' in scope
17 |     }
18 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Support/GesMath.swift:149:31: error: cannot find 'pow' in scope
147 |         if op == .power {
148 |             guard !b.hasUnit, !a.asNumber.isNaN, !b.asNumber.isNaN, let unit = GesQuantityUnit.power(a.unit, b.asNumber) else { return sink.nothing }
149 |             return sink.float(pow(a.asNumber, b.asNumber), unit: unit)
    |                               `- error: cannot find 'pow' in scope
150 |         }
151 |         let unit: GesQuantityUnit?
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Tan.swift:16:43: error: cannot find 'tan' in scope
14 |         guard registers[x].isNumeric, registers[x].unit == .none || registers[x].unit == .degree else { return registers[target].setNothing() }
15 |         let n = registers[x].unit == .degree ? registers[x].asNumber / 180 * Double.pi : registers[x].asNumber
16 |         return registers[target].setFloat(tan(n))
   |                                           `- error: cannot find 'tan' in scope
17 |     }
18 | }
[230/559] Compiling GameEventScriptRuntime SeriesTerm.swift
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Power.swift:21:43: error: cannot find 'pow' in scope
19 |         // Quantity powers follow the unit derivations, for example `m` squared is `m²`; others are invalid.
20 |         guard !registers[y].hasUnit, !left.isNaN, !right.isNaN, let unit = GesQuantityUnit.power(registers[x].unit, right) else { return registers[target].setNothing() }
21 |         return registers[target].setFloat(pow(left, right), unit: unit)
   |                                           `- error: cannot find 'pow' in scope
22 |     }
23 |
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Power.swift:30:43: error: cannot find 'pow' in scope
28 |         // Quantity powers follow the unit derivations, for example `m` squared is `m²`; others are invalid.
29 |         guard !registers[y].hasUnit, !left.isNaN, !right.isNaN, let unit = GesQuantityUnit.power(registers[x].unit, right) else { return registers[target].setNothing() }
30 |         return registers[target].setFloat(pow(left, right), unit: unit)
   |                                           `- error: cannot find 'pow' in scope
31 |     }
32 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Sin.swift:16:43: error: cannot find 'sin' in scope
14 |         guard registers[x].isNumeric, registers[x].unit == .none || registers[x].unit == .degree else { return registers[target].setNothing() }
15 |         let n = registers[x].unit == .degree ? registers[x].asNumber / 180 * Double.pi : registers[x].asNumber
16 |         return registers[target].setFloat(sin(n))
   |                                           `- error: cannot find 'sin' in scope
17 |     }
18 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Support/GesMath.swift:149:31: error: cannot find 'pow' in scope
147 |         if op == .power {
148 |             guard !b.hasUnit, !a.asNumber.isNaN, !b.asNumber.isNaN, let unit = GesQuantityUnit.power(a.unit, b.asNumber) else { return sink.nothing }
149 |             return sink.float(pow(a.asNumber, b.asNumber), unit: unit)
    |                               `- error: cannot find 'pow' in scope
150 |         }
151 |         let unit: GesQuantityUnit?
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Tan.swift:16:43: error: cannot find 'tan' in scope
14 |         guard registers[x].isNumeric, registers[x].unit == .none || registers[x].unit == .degree else { return registers[target].setNothing() }
15 |         let n = registers[x].unit == .degree ? registers[x].asNumber / 180 * Double.pi : registers[x].asNumber
16 |         return registers[target].setFloat(tan(n))
   |                                           `- error: cannot find 'tan' in scope
17 |     }
18 | }
[231/559] Compiling GameEventScriptRuntime VmComparison.swift
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Power.swift:21:43: error: cannot find 'pow' in scope
19 |         // Quantity powers follow the unit derivations, for example `m` squared is `m²`; others are invalid.
20 |         guard !registers[y].hasUnit, !left.isNaN, !right.isNaN, let unit = GesQuantityUnit.power(registers[x].unit, right) else { return registers[target].setNothing() }
21 |         return registers[target].setFloat(pow(left, right), unit: unit)
   |                                           `- error: cannot find 'pow' in scope
22 |     }
23 |
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Power.swift:30:43: error: cannot find 'pow' in scope
28 |         // Quantity powers follow the unit derivations, for example `m` squared is `m²`; others are invalid.
29 |         guard !registers[y].hasUnit, !left.isNaN, !right.isNaN, let unit = GesQuantityUnit.power(registers[x].unit, right) else { return registers[target].setNothing() }
30 |         return registers[target].setFloat(pow(left, right), unit: unit)
   |                                           `- error: cannot find 'pow' in scope
31 |     }
32 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Sin.swift:16:43: error: cannot find 'sin' in scope
14 |         guard registers[x].isNumeric, registers[x].unit == .none || registers[x].unit == .degree else { return registers[target].setNothing() }
15 |         let n = registers[x].unit == .degree ? registers[x].asNumber / 180 * Double.pi : registers[x].asNumber
16 |         return registers[target].setFloat(sin(n))
   |                                           `- error: cannot find 'sin' in scope
17 |     }
18 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Support/GesMath.swift:149:31: error: cannot find 'pow' in scope
147 |         if op == .power {
148 |             guard !b.hasUnit, !a.asNumber.isNaN, !b.asNumber.isNaN, let unit = GesQuantityUnit.power(a.unit, b.asNumber) else { return sink.nothing }
149 |             return sink.float(pow(a.asNumber, b.asNumber), unit: unit)
    |                               `- error: cannot find 'pow' in scope
150 |         }
151 |         let unit: GesQuantityUnit?
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Tan.swift:16:43: error: cannot find 'tan' in scope
14 |         guard registers[x].isNumeric, registers[x].unit == .none || registers[x].unit == .degree else { return registers[target].setNothing() }
15 |         let n = registers[x].unit == .degree ? registers[x].asNumber / 180 * Double.pi : registers[x].asNumber
16 |         return registers[target].setFloat(tan(n))
   |                                           `- error: cannot find 'tan' in scope
17 |     }
18 | }
[232/559] Compiling GameEventScriptRuntime Tan.swift
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Power.swift:21:43: error: cannot find 'pow' in scope
19 |         // Quantity powers follow the unit derivations, for example `m` squared is `m²`; others are invalid.
20 |         guard !registers[y].hasUnit, !left.isNaN, !right.isNaN, let unit = GesQuantityUnit.power(registers[x].unit, right) else { return registers[target].setNothing() }
21 |         return registers[target].setFloat(pow(left, right), unit: unit)
   |                                           `- error: cannot find 'pow' in scope
22 |     }
23 |
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Power.swift:30:43: error: cannot find 'pow' in scope
28 |         // Quantity powers follow the unit derivations, for example `m` squared is `m²`; others are invalid.
29 |         guard !registers[y].hasUnit, !left.isNaN, !right.isNaN, let unit = GesQuantityUnit.power(registers[x].unit, right) else { return registers[target].setNothing() }
30 |         return registers[target].setFloat(pow(left, right), unit: unit)
   |                                           `- error: cannot find 'pow' in scope
31 |     }
32 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Sin.swift:16:43: error: cannot find 'sin' in scope
14 |         guard registers[x].isNumeric, registers[x].unit == .none || registers[x].unit == .degree else { return registers[target].setNothing() }
15 |         let n = registers[x].unit == .degree ? registers[x].asNumber / 180 * Double.pi : registers[x].asNumber
16 |         return registers[target].setFloat(sin(n))
   |                                           `- error: cannot find 'sin' in scope
17 |     }
18 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Support/GesMath.swift:149:31: error: cannot find 'pow' in scope
147 |         if op == .power {
148 |             guard !b.hasUnit, !a.asNumber.isNaN, !b.asNumber.isNaN, let unit = GesQuantityUnit.power(a.unit, b.asNumber) else { return sink.nothing }
149 |             return sink.float(pow(a.asNumber, b.asNumber), unit: unit)
    |                               `- error: cannot find 'pow' in scope
150 |         }
151 |         let unit: GesQuantityUnit?
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Tan.swift:16:43: error: cannot find 'tan' in scope
14 |         guard registers[x].isNumeric, registers[x].unit == .none || registers[x].unit == .degree else { return registers[target].setNothing() }
15 |         let n = registers[x].unit == .degree ? registers[x].asNumber / 180 * Double.pi : registers[x].asNumber
16 |         return registers[target].setFloat(tan(n))
   |                                           `- error: cannot find 'tan' in scope
17 |     }
18 | }
[233/559] Compiling GameEventScriptRuntime Term.swift
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Power.swift:21:43: error: cannot find 'pow' in scope
19 |         // Quantity powers follow the unit derivations, for example `m` squared is `m²`; others are invalid.
20 |         guard !registers[y].hasUnit, !left.isNaN, !right.isNaN, let unit = GesQuantityUnit.power(registers[x].unit, right) else { return registers[target].setNothing() }
21 |         return registers[target].setFloat(pow(left, right), unit: unit)
   |                                           `- error: cannot find 'pow' in scope
22 |     }
23 |
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Power.swift:30:43: error: cannot find 'pow' in scope
28 |         // Quantity powers follow the unit derivations, for example `m` squared is `m²`; others are invalid.
29 |         guard !registers[y].hasUnit, !left.isNaN, !right.isNaN, let unit = GesQuantityUnit.power(registers[x].unit, right) else { return registers[target].setNothing() }
30 |         return registers[target].setFloat(pow(left, right), unit: unit)
   |                                           `- error: cannot find 'pow' in scope
31 |     }
32 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Sin.swift:16:43: error: cannot find 'sin' in scope
14 |         guard registers[x].isNumeric, registers[x].unit == .none || registers[x].unit == .degree else { return registers[target].setNothing() }
15 |         let n = registers[x].unit == .degree ? registers[x].asNumber / 180 * Double.pi : registers[x].asNumber
16 |         return registers[target].setFloat(sin(n))
   |                                           `- error: cannot find 'sin' in scope
17 |     }
18 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Support/GesMath.swift:149:31: error: cannot find 'pow' in scope
147 |         if op == .power {
148 |             guard !b.hasUnit, !a.asNumber.isNaN, !b.asNumber.isNaN, let unit = GesQuantityUnit.power(a.unit, b.asNumber) else { return sink.nothing }
149 |             return sink.float(pow(a.asNumber, b.asNumber), unit: unit)
    |                               `- error: cannot find 'pow' in scope
150 |         }
151 |         let unit: GesQuantityUnit?
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Tan.swift:16:43: error: cannot find 'tan' in scope
14 |         guard registers[x].isNumeric, registers[x].unit == .none || registers[x].unit == .degree else { return registers[target].setNothing() }
15 |         let n = registers[x].unit == .degree ? registers[x].asNumber / 180 * Double.pi : registers[x].asNumber
16 |         return registers[target].setFloat(tan(n))
   |                                           `- error: cannot find 'tan' in scope
17 |     }
18 | }
[234/559] Compiling GameEventScriptRuntime Truncate.swift
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Power.swift:21:43: error: cannot find 'pow' in scope
19 |         // Quantity powers follow the unit derivations, for example `m` squared is `m²`; others are invalid.
20 |         guard !registers[y].hasUnit, !left.isNaN, !right.isNaN, let unit = GesQuantityUnit.power(registers[x].unit, right) else { return registers[target].setNothing() }
21 |         return registers[target].setFloat(pow(left, right), unit: unit)
   |                                           `- error: cannot find 'pow' in scope
22 |     }
23 |
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Power.swift:30:43: error: cannot find 'pow' in scope
28 |         // Quantity powers follow the unit derivations, for example `m` squared is `m²`; others are invalid.
29 |         guard !registers[y].hasUnit, !left.isNaN, !right.isNaN, let unit = GesQuantityUnit.power(registers[x].unit, right) else { return registers[target].setNothing() }
30 |         return registers[target].setFloat(pow(left, right), unit: unit)
   |                                           `- error: cannot find 'pow' in scope
31 |     }
32 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Sin.swift:16:43: error: cannot find 'sin' in scope
14 |         guard registers[x].isNumeric, registers[x].unit == .none || registers[x].unit == .degree else { return registers[target].setNothing() }
15 |         let n = registers[x].unit == .degree ? registers[x].asNumber / 180 * Double.pi : registers[x].asNumber
16 |         return registers[target].setFloat(sin(n))
   |                                           `- error: cannot find 'sin' in scope
17 |     }
18 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Support/GesMath.swift:149:31: error: cannot find 'pow' in scope
147 |         if op == .power {
148 |             guard !b.hasUnit, !a.asNumber.isNaN, !b.asNumber.isNaN, let unit = GesQuantityUnit.power(a.unit, b.asNumber) else { return sink.nothing }
149 |             return sink.float(pow(a.asNumber, b.asNumber), unit: unit)
    |                               `- error: cannot find 'pow' in scope
150 |         }
151 |         let unit: GesQuantityUnit?
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Tan.swift:16:43: error: cannot find 'tan' in scope
14 |         guard registers[x].isNumeric, registers[x].unit == .none || registers[x].unit == .degree else { return registers[target].setNothing() }
15 |         let n = registers[x].unit == .degree ? registers[x].asNumber / 180 * Double.pi : registers[x].asNumber
16 |         return registers[target].setFloat(tan(n))
   |                                           `- error: cannot find 'tan' in scope
17 |     }
18 | }
[235/559] Compiling GameEventScriptRuntime WrapDegree.swift
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Power.swift:21:43: error: cannot find 'pow' in scope
19 |         // Quantity powers follow the unit derivations, for example `m` squared is `m²`; others are invalid.
20 |         guard !registers[y].hasUnit, !left.isNaN, !right.isNaN, let unit = GesQuantityUnit.power(registers[x].unit, right) else { return registers[target].setNothing() }
21 |         return registers[target].setFloat(pow(left, right), unit: unit)
   |                                           `- error: cannot find 'pow' in scope
22 |     }
23 |
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Power.swift:30:43: error: cannot find 'pow' in scope
28 |         // Quantity powers follow the unit derivations, for example `m` squared is `m²`; others are invalid.
29 |         guard !registers[y].hasUnit, !left.isNaN, !right.isNaN, let unit = GesQuantityUnit.power(registers[x].unit, right) else { return registers[target].setNothing() }
30 |         return registers[target].setFloat(pow(left, right), unit: unit)
   |                                           `- error: cannot find 'pow' in scope
31 |     }
32 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Sin.swift:16:43: error: cannot find 'sin' in scope
14 |         guard registers[x].isNumeric, registers[x].unit == .none || registers[x].unit == .degree else { return registers[target].setNothing() }
15 |         let n = registers[x].unit == .degree ? registers[x].asNumber / 180 * Double.pi : registers[x].asNumber
16 |         return registers[target].setFloat(sin(n))
   |                                           `- error: cannot find 'sin' in scope
17 |     }
18 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Support/GesMath.swift:149:31: error: cannot find 'pow' in scope
147 |         if op == .power {
148 |             guard !b.hasUnit, !a.asNumber.isNaN, !b.asNumber.isNaN, let unit = GesQuantityUnit.power(a.unit, b.asNumber) else { return sink.nothing }
149 |             return sink.float(pow(a.asNumber, b.asNumber), unit: unit)
    |                               `- error: cannot find 'pow' in scope
150 |         }
151 |         let unit: GesQuantityUnit?
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Tan.swift:16:43: error: cannot find 'tan' in scope
14 |         guard registers[x].isNumeric, registers[x].unit == .none || registers[x].unit == .degree else { return registers[target].setNothing() }
15 |         let n = registers[x].unit == .degree ? registers[x].asNumber / 180 * Double.pi : registers[x].asNumber
16 |         return registers[target].setFloat(tan(n))
   |                                           `- error: cannot find 'tan' in scope
17 |     }
18 | }
[236/559] Compiling GameEventScriptRuntime RegisterFile.swift
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Power.swift:21:43: error: cannot find 'pow' in scope
19 |         // Quantity powers follow the unit derivations, for example `m` squared is `m²`; others are invalid.
20 |         guard !registers[y].hasUnit, !left.isNaN, !right.isNaN, let unit = GesQuantityUnit.power(registers[x].unit, right) else { return registers[target].setNothing() }
21 |         return registers[target].setFloat(pow(left, right), unit: unit)
   |                                           `- error: cannot find 'pow' in scope
22 |     }
23 |
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Power.swift:30:43: error: cannot find 'pow' in scope
28 |         // Quantity powers follow the unit derivations, for example `m` squared is `m²`; others are invalid.
29 |         guard !registers[y].hasUnit, !left.isNaN, !right.isNaN, let unit = GesQuantityUnit.power(registers[x].unit, right) else { return registers[target].setNothing() }
30 |         return registers[target].setFloat(pow(left, right), unit: unit)
   |                                           `- error: cannot find 'pow' in scope
31 |     }
32 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Sin.swift:16:43: error: cannot find 'sin' in scope
14 |         guard registers[x].isNumeric, registers[x].unit == .none || registers[x].unit == .degree else { return registers[target].setNothing() }
15 |         let n = registers[x].unit == .degree ? registers[x].asNumber / 180 * Double.pi : registers[x].asNumber
16 |         return registers[target].setFloat(sin(n))
   |                                           `- error: cannot find 'sin' in scope
17 |     }
18 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Support/GesMath.swift:149:31: error: cannot find 'pow' in scope
147 |         if op == .power {
148 |             guard !b.hasUnit, !a.asNumber.isNaN, !b.asNumber.isNaN, let unit = GesQuantityUnit.power(a.unit, b.asNumber) else { return sink.nothing }
149 |             return sink.float(pow(a.asNumber, b.asNumber), unit: unit)
    |                               `- error: cannot find 'pow' in scope
150 |         }
151 |         let unit: GesQuantityUnit?
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Tan.swift:16:43: error: cannot find 'tan' in scope
14 |         guard registers[x].isNumeric, registers[x].unit == .none || registers[x].unit == .degree else { return registers[target].setNothing() }
15 |         let n = registers[x].unit == .degree ? registers[x].asNumber / 180 * Double.pi : registers[x].asNumber
16 |         return registers[target].setFloat(tan(n))
   |                                           `- error: cannot find 'tan' in scope
17 |     }
18 | }
[237/559] Compiling GameEventScriptRuntime RegisterOutput.swift
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Power.swift:21:43: error: cannot find 'pow' in scope
19 |         // Quantity powers follow the unit derivations, for example `m` squared is `m²`; others are invalid.
20 |         guard !registers[y].hasUnit, !left.isNaN, !right.isNaN, let unit = GesQuantityUnit.power(registers[x].unit, right) else { return registers[target].setNothing() }
21 |         return registers[target].setFloat(pow(left, right), unit: unit)
   |                                           `- error: cannot find 'pow' in scope
22 |     }
23 |
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Power.swift:30:43: error: cannot find 'pow' in scope
28 |         // Quantity powers follow the unit derivations, for example `m` squared is `m²`; others are invalid.
29 |         guard !registers[y].hasUnit, !left.isNaN, !right.isNaN, let unit = GesQuantityUnit.power(registers[x].unit, right) else { return registers[target].setNothing() }
30 |         return registers[target].setFloat(pow(left, right), unit: unit)
   |                                           `- error: cannot find 'pow' in scope
31 |     }
32 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Sin.swift:16:43: error: cannot find 'sin' in scope
14 |         guard registers[x].isNumeric, registers[x].unit == .none || registers[x].unit == .degree else { return registers[target].setNothing() }
15 |         let n = registers[x].unit == .degree ? registers[x].asNumber / 180 * Double.pi : registers[x].asNumber
16 |         return registers[target].setFloat(sin(n))
   |                                           `- error: cannot find 'sin' in scope
17 |     }
18 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Support/GesMath.swift:149:31: error: cannot find 'pow' in scope
147 |         if op == .power {
148 |             guard !b.hasUnit, !a.asNumber.isNaN, !b.asNumber.isNaN, let unit = GesQuantityUnit.power(a.unit, b.asNumber) else { return sink.nothing }
149 |             return sink.float(pow(a.asNumber, b.asNumber), unit: unit)
    |                               `- error: cannot find 'pow' in scope
150 |         }
151 |         let unit: GesQuantityUnit?
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Tan.swift:16:43: error: cannot find 'tan' in scope
14 |         guard registers[x].isNumeric, registers[x].unit == .none || registers[x].unit == .degree else { return registers[target].setNothing() }
15 |         let n = registers[x].unit == .degree ? registers[x].asNumber / 180 * Double.pi : registers[x].asNumber
16 |         return registers[target].setFloat(tan(n))
   |                                           `- error: cannot find 'tan' in scope
17 |     }
18 | }
[238/559] Compiling GameEventScriptRuntime SourceCallSites.swift
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Power.swift:21:43: error: cannot find 'pow' in scope
19 |         // Quantity powers follow the unit derivations, for example `m` squared is `m²`; others are invalid.
20 |         guard !registers[y].hasUnit, !left.isNaN, !right.isNaN, let unit = GesQuantityUnit.power(registers[x].unit, right) else { return registers[target].setNothing() }
21 |         return registers[target].setFloat(pow(left, right), unit: unit)
   |                                           `- error: cannot find 'pow' in scope
22 |     }
23 |
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Power.swift:30:43: error: cannot find 'pow' in scope
28 |         // Quantity powers follow the unit derivations, for example `m` squared is `m²`; others are invalid.
29 |         guard !registers[y].hasUnit, !left.isNaN, !right.isNaN, let unit = GesQuantityUnit.power(registers[x].unit, right) else { return registers[target].setNothing() }
30 |         return registers[target].setFloat(pow(left, right), unit: unit)
   |                                           `- error: cannot find 'pow' in scope
31 |     }
32 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Sin.swift:16:43: error: cannot find 'sin' in scope
14 |         guard registers[x].isNumeric, registers[x].unit == .none || registers[x].unit == .degree else { return registers[target].setNothing() }
15 |         let n = registers[x].unit == .degree ? registers[x].asNumber / 180 * Double.pi : registers[x].asNumber
16 |         return registers[target].setFloat(sin(n))
   |                                           `- error: cannot find 'sin' in scope
17 |     }
18 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Support/GesMath.swift:149:31: error: cannot find 'pow' in scope
147 |         if op == .power {
148 |             guard !b.hasUnit, !a.asNumber.isNaN, !b.asNumber.isNaN, let unit = GesQuantityUnit.power(a.unit, b.asNumber) else { return sink.nothing }
149 |             return sink.float(pow(a.asNumber, b.asNumber), unit: unit)
    |                               `- error: cannot find 'pow' in scope
150 |         }
151 |         let unit: GesQuantityUnit?
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Tan.swift:16:43: error: cannot find 'tan' in scope
14 |         guard registers[x].isNumeric, registers[x].unit == .none || registers[x].unit == .degree else { return registers[target].setNothing() }
15 |         let n = registers[x].unit == .degree ? registers[x].asNumber / 180 * Double.pi : registers[x].asNumber
16 |         return registers[target].setFloat(tan(n))
   |                                           `- error: cannot find 'tan' in scope
17 |     }
18 | }
[239/559] Compiling GameEventScriptRuntime VirtualMachine.swift
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Power.swift:21:43: error: cannot find 'pow' in scope
19 |         // Quantity powers follow the unit derivations, for example `m` squared is `m²`; others are invalid.
20 |         guard !registers[y].hasUnit, !left.isNaN, !right.isNaN, let unit = GesQuantityUnit.power(registers[x].unit, right) else { return registers[target].setNothing() }
21 |         return registers[target].setFloat(pow(left, right), unit: unit)
   |                                           `- error: cannot find 'pow' in scope
22 |     }
23 |
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Power.swift:30:43: error: cannot find 'pow' in scope
28 |         // Quantity powers follow the unit derivations, for example `m` squared is `m²`; others are invalid.
29 |         guard !registers[y].hasUnit, !left.isNaN, !right.isNaN, let unit = GesQuantityUnit.power(registers[x].unit, right) else { return registers[target].setNothing() }
30 |         return registers[target].setFloat(pow(left, right), unit: unit)
   |                                           `- error: cannot find 'pow' in scope
31 |     }
32 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Sin.swift:16:43: error: cannot find 'sin' in scope
14 |         guard registers[x].isNumeric, registers[x].unit == .none || registers[x].unit == .degree else { return registers[target].setNothing() }
15 |         let n = registers[x].unit == .degree ? registers[x].asNumber / 180 * Double.pi : registers[x].asNumber
16 |         return registers[target].setFloat(sin(n))
   |                                           `- error: cannot find 'sin' in scope
17 |     }
18 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Support/GesMath.swift:149:31: error: cannot find 'pow' in scope
147 |         if op == .power {
148 |             guard !b.hasUnit, !a.asNumber.isNaN, !b.asNumber.isNaN, let unit = GesQuantityUnit.power(a.unit, b.asNumber) else { return sink.nothing }
149 |             return sink.float(pow(a.asNumber, b.asNumber), unit: unit)
    |                               `- error: cannot find 'pow' in scope
150 |         }
151 |         let unit: GesQuantityUnit?
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Tan.swift:16:43: error: cannot find 'tan' in scope
14 |         guard registers[x].isNumeric, registers[x].unit == .none || registers[x].unit == .degree else { return registers[target].setNothing() }
15 |         let n = registers[x].unit == .degree ? registers[x].asNumber / 180 * Double.pi : registers[x].asNumber
16 |         return registers[target].setFloat(tan(n))
   |                                           `- error: cannot find 'tan' in scope
17 |     }
18 | }
[240/559] Compiling GameEventScriptRuntime VirtualMachineDispatch.swift
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Power.swift:21:43: error: cannot find 'pow' in scope
19 |         // Quantity powers follow the unit derivations, for example `m` squared is `m²`; others are invalid.
20 |         guard !registers[y].hasUnit, !left.isNaN, !right.isNaN, let unit = GesQuantityUnit.power(registers[x].unit, right) else { return registers[target].setNothing() }
21 |         return registers[target].setFloat(pow(left, right), unit: unit)
   |                                           `- error: cannot find 'pow' in scope
22 |     }
23 |
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Power.swift:30:43: error: cannot find 'pow' in scope
28 |         // Quantity powers follow the unit derivations, for example `m` squared is `m²`; others are invalid.
29 |         guard !registers[y].hasUnit, !left.isNaN, !right.isNaN, let unit = GesQuantityUnit.power(registers[x].unit, right) else { return registers[target].setNothing() }
30 |         return registers[target].setFloat(pow(left, right), unit: unit)
   |                                           `- error: cannot find 'pow' in scope
31 |     }
32 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Sin.swift:16:43: error: cannot find 'sin' in scope
14 |         guard registers[x].isNumeric, registers[x].unit == .none || registers[x].unit == .degree else { return registers[target].setNothing() }
15 |         let n = registers[x].unit == .degree ? registers[x].asNumber / 180 * Double.pi : registers[x].asNumber
16 |         return registers[target].setFloat(sin(n))
   |                                           `- error: cannot find 'sin' in scope
17 |     }
18 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Support/GesMath.swift:149:31: error: cannot find 'pow' in scope
147 |         if op == .power {
148 |             guard !b.hasUnit, !a.asNumber.isNaN, !b.asNumber.isNaN, let unit = GesQuantityUnit.power(a.unit, b.asNumber) else { return sink.nothing }
149 |             return sink.float(pow(a.asNumber, b.asNumber), unit: unit)
    |                               `- error: cannot find 'pow' in scope
150 |         }
151 |         let unit: GesQuantityUnit?
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Tan.swift:16:43: error: cannot find 'tan' in scope
14 |         guard registers[x].isNumeric, registers[x].unit == .none || registers[x].unit == .degree else { return registers[target].setNothing() }
15 |         let n = registers[x].unit == .degree ? registers[x].asNumber / 180 * Double.pi : registers[x].asNumber
16 |         return registers[target].setFloat(tan(n))
   |                                           `- error: cannot find 'tan' in scope
17 |     }
18 | }
[265/559] Compiling GameEventScriptRuntime LinkedProgram.swift
[266/559] Compiling GameEventScriptRuntime DataConstruction.swift
[267/559] Compiling GameEventScriptRuntime DocumentReading.swift
[268/559] Compiling GameEventScriptRuntime LiteralEvaluation.swift
[269/559] Compiling GameEventScriptRuntime LiteralParser.swift
[270/559] Compiling GameEventScriptRuntime Cartesian.swift
[271/559] Compiling GameEventScriptRuntime Contains.swift
[272/559] Compiling GameEventScriptRuntime ContainsAll.swift
[273/559] Compiling GameEventScriptRuntime ContainsAny.swift
[274/559] Compiling GameEventScriptRuntime ContainsValue.swift
[275/559] Compiling GameEventScriptRuntime Count.swift
[276/559] Compiling GameEventScriptRuntime Distinct.swift
[277/559] Compiling GameEventScriptRuntime DropFirst.swift
[278/559] Compiling GameEventScriptRuntime DropHighest.swift
[279/559] Compiling GameEventScriptRuntime DropLast.swift
[280/559] Compiling GameEventScriptRuntime DropLowest.swift
[281/559] Compiling GameEventScriptRuntime EndsWith.swift
[282/559] Compiling GameEventScriptRuntime EntriesOfMap.swift
[283/559] Compiling GameEventScriptRuntime First.swift
[284/559] Compiling GameEventScriptRuntime HasAll.swift
[285/559] Compiling GameEventScriptRuntime HasAny.swift
[286/559] Compiling GameEventScriptRuntime HasPattern.swift
[287/559] Compiling GameEventScriptRuntime Intersect.swift
[288/559] Compiling GameEventScriptRuntime IteratorCreate.swift
[289/559] Compiling GameEventScriptRuntime Distance3D.swift
[290/559] Compiling GameEventScriptRuntime DistanceSquared.swift
[291/559] Compiling GameEventScriptRuntime DistanceSquared2D.swift
[292/559] Compiling GameEventScriptRuntime DistanceSquared3D.swift
[293/559] Compiling GameEventScriptRuntime Divide.swift
[294/559] Compiling GameEventScriptRuntime Dot.swift
[295/559] Compiling GameEventScriptRuntime Dot2D.swift
[296/559] Compiling GameEventScriptRuntime Dot3D.swift
[297/559] Compiling GameEventScriptRuntime Exp.swift
[298/559] Compiling GameEventScriptRuntime Floor.swift
[299/559] Compiling GameEventScriptRuntime Hypot2D.swift
[300/559] Compiling GameEventScriptRuntime Hypot3D.swift
[301/559] Compiling GameEventScriptRuntime IntegerDivide.swift
[302/559] Compiling GameEventScriptRuntime LengthSquared.swift
[303/559] Compiling GameEventScriptRuntime LengthSquared2D.swift
[304/559] Compiling GameEventScriptRuntime LengthSquared3D.swift
[305/559] Compiling GameEventScriptRuntime LogN.swift
[306/559] Compiling GameEventScriptRuntime Max.swift
[307/559] Compiling GameEventScriptRuntime Min.swift
[308/559] Compiling GameEventScriptRuntime Modulo.swift
[309/559] Compiling GameEventScriptRuntime Multiply.swift
[310/559] Compiling GameEventScriptRuntime Negate.swift
[311/559] Compiling GameEventScriptRuntime Normalize.swift
[312/559] Compiling GameEventScriptRuntime Normalize2D.swift
[337/559] Compiling GameEventScriptRuntime SchemaDump.swift
[338/559] Compiling GameEventScriptRuntime SchemaErrors.swift
[339/559] Compiling GameEventScriptRuntime SchemaSet.swift
[340/559] Compiling GameEventScriptRuntime SchemaValues.swift
[341/559] Compiling GameEventScriptRuntime SchemaWire.swift
[342/559] Compiling GameEventScriptRuntime WireRules.swift
[343/559] Compiling GameEventScriptRuntime SyntaxExports.swift
[344/559] Compiling GameEventScriptRuntime GesSha256.swift
[345/559] Compiling GameEventScriptRuntime RuntimeBudget.swift
[346/559] Compiling GameEventScriptRuntime DocumentFormatter.swift
[347/559] Compiling GameEventScriptRuntime ExternalNames.swift
[348/559] Compiling GameEventScriptRuntime ExternalStorage.swift
[349/559] Compiling GameEventScriptRuntime GesCollectionBuilder.swift
[350/559] Compiling GameEventScriptRuntime GesIterator.swift
[351/559] Compiling GameEventScriptRuntime GesNumber.swift
[352/559] Compiling GameEventScriptRuntime GesRange.swift
[353/559] Compiling GameEventScriptRuntime GesUtf8.swift
[354/559] Compiling GameEventScriptRuntime GesValue.swift
[355/559] Compiling GameEventScriptRuntime GesValueMap.swift
[356/559] Compiling GameEventScriptRuntime Json.swift
[357/559] Compiling GameEventScriptRuntime TextNumberCast.swift
[358/559] Compiling GameEventScriptRuntime ValueArguments.swift
[359/559] Compiling GameEventScriptRuntime ValueFactory.swift
[360/559] Compiling GameEventScriptRuntime ValueLiteral.swift
[361/559] Compiling GameEventScriptRuntime ValueOutput.swift
[362/559] Compiling GameEventScriptRuntime MessageError.swift
[363/559] Compiling GameEventScriptRuntime MessageJson.swift
[364/559] Compiling GameEventScriptRuntime MessageNames.swift
[365/559] Compiling GameEventScriptRuntime MessageSignature.swift
[366/559] Compiling GameEventScriptRuntime Profiler.swift
[367/559] Compiling GameEventScriptRuntime ProgramFormat.swift
[368/559] Compiling GameEventScriptRuntime ProgramReader.swift
[369/559] Compiling GameEventScriptRuntime ProgramWriter.swift
[370/559] Compiling GameEventScriptRuntime Bytecode.swift
[371/559] Compiling GameEventScriptRuntime BytecodeOperands.swift
[372/559] Compiling GameEventScriptRuntime DebugInfoOptions.swift
[373/559] Compiling GameEventScriptRuntime Program.swift
[374/559] Compiling GameEventScriptRuntime ProgramDumper.swift
[375/559] Compiling GameEventScriptRuntime ProgramEncoding.swift
[376/559] Compiling GameEventScriptRuntime ProgramCallGraphValidator.swift
[377/559] Compiling GameEventScriptRuntime ProgramDebugValidator.swift
[378/559] Compiling GameEventScriptRuntime ProgramInternalValueValidator.swift
[379/559] Compiling GameEventScriptRuntime ProgramResourceValidator.swift
[380/559] Compiling GameEventScriptRuntime ProgramValidator.swift
[381/559] Compiling GameEventScriptRuntime RandomGenerator.swift
[382/559] Compiling GameEventScriptRuntime Bits.swift
[383/559] Compiling GameEventScriptRuntime Schema.swift
[384/559] Compiling GameEventScriptRuntime SchemaBinder.swift
[385/559] Compiling GameEventScriptRuntime SchemaDelta.swift
[386/559] Compiling GameEventScriptRuntime SchemaDocumentCheck.swift
[460/559] Compiling GameEventScriptRuntime Clock.swift
[461/559] Compiling GameEventScriptRuntime CompilerSupport.swift
[462/559] Compiling GameEventScriptRuntime Context.swift
[463/559] Compiling GameEventScriptRuntime ExtensionFault.swift
[464/559] Compiling GameEventScriptRuntime ExtensionFunction.swift
[465/559] Compiling GameEventScriptRuntime ExtensionRegistry.swift
[466/559] Compiling GameEventScriptRuntime ExternalTypeConstructor.swift
[467/559] Compiling GameEventScriptRuntime ExternalTypeRegistry.swift
[468/559] Compiling GameEventScriptRuntime PublishResult.swift
[469/559] Compiling GameEventScriptRuntime RuntimeLimits.swift
[470/559] Compiling GameEventScriptRuntime RuntimeObserver.swift
[471/559] Compiling GameEventScriptRuntime APIError.swift
[472/559] Compiling GameEventScriptRuntime Diagnostic.swift
[473/559] Compiling GameEventScriptRuntime DiagnosticCodes.swift
[474/559] Compiling GameEventScriptRuntime DiagnosticPhase.swift
[475/559] Compiling GameEventScriptRuntime DynamicLinkError.swift
[476/559] Compiling GameEventScriptRuntime LiteralLimitError.swift
[477/559] Compiling GameEventScriptRuntime RuntimeError.swift
[478/559] Compiling GameEventScriptRuntime SourceLocation.swift
[479/559] Compiling GameEventScriptRuntime SymbolKind.swift
[480/559] Compiling GameEventScriptRuntime Document.swift
[481/559] Compiling GameEventScriptRuntime ExtensionCall.swift
[482/559] Compiling GameEventScriptRuntime ExtensionReference.swift
[483/559] Compiling GameEventScriptRuntime ExternalTypeConstructorCall.swift
[484/559] Compiling GameEventScriptRuntime ExternalTypeCatalog.swift
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:28:21: error: cannot find 'timespec' in scope
26 | enum GesSystemClock {
27 |     static func read() -> Int64 {
28 |         var value = timespec()
   |                     `- error: cannot find 'timespec' in scope
29 |         clock_gettime(CLOCK_MONOTONIC, &value)
30 |         return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:29:9: error: cannot find 'clock_gettime' in scope
27 |     static func read() -> Int64 {
28 |         var value = timespec()
29 |         clock_gettime(CLOCK_MONOTONIC, &value)
   |         `- error: cannot find 'clock_gettime' in scope
30 |         return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
31 |     }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:29:23: error: cannot find 'CLOCK_MONOTONIC' in scope
27 |     static func read() -> Int64 {
28 |         var value = timespec()
29 |         clock_gettime(CLOCK_MONOTONIC, &value)
   |                       `- error: cannot find 'CLOCK_MONOTONIC' in scope
30 |         return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
31 |     }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:28:21: error: cannot find 'timespec' in scope
26 | enum GesSystemClock {
27 |     static func read() -> Int64 {
28 |         var value = timespec()
   |                     `- error: cannot find 'timespec' in scope
29 |         clock_gettime(CLOCK_MONOTONIC, &value)
30 |         return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:29:9: error: cannot find 'clock_gettime' in scope
27 |     static func read() -> Int64 {
28 |         var value = timespec()
29 |         clock_gettime(CLOCK_MONOTONIC, &value)
   |         `- error: cannot find 'clock_gettime' in scope
30 |         return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
31 |     }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:29:23: error: cannot find 'CLOCK_MONOTONIC' in scope
27 |     static func read() -> Int64 {
28 |         var value = timespec()
29 |         clock_gettime(CLOCK_MONOTONIC, &value)
   |                       `- error: cannot find 'CLOCK_MONOTONIC' in scope
30 |         return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
31 |     }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:28:21: error: cannot find 'timespec' in scope
26 | enum GesSystemClock {
27 |     static func read() -> Int64 {
28 |         var value = timespec()
   |                     `- error: cannot find 'timespec' in scope
29 |         clock_gettime(CLOCK_MONOTONIC, &value)
30 |         return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:29:9: error: cannot find 'clock_gettime' in scope
27 |     static func read() -> Int64 {
28 |         var value = timespec()
29 |         clock_gettime(CLOCK_MONOTONIC, &value)
   |         `- error: cannot find 'clock_gettime' in scope
30 |         return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
31 |     }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:29:23: error: cannot find 'CLOCK_MONOTONIC' in scope
27 |     static func read() -> Int64 {
28 |         var value = timespec()
29 |         clock_gettime(CLOCK_MONOTONIC, &value)
   |                       `- error: cannot find 'CLOCK_MONOTONIC' in scope
30 |         return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
31 |     }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:28:21: error: cannot find 'timespec' in scope
26 | enum GesSystemClock {
27 |     static func read() -> Int64 {
28 |         var value = timespec()
   |                     `- error: cannot find 'timespec' in scope
29 |         clock_gettime(CLOCK_MONOTONIC, &value)
30 |         return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:29:9: error: cannot find 'clock_gettime' in scope
27 |     static func read() -> Int64 {
28 |         var value = timespec()
29 |         clock_gettime(CLOCK_MONOTONIC, &value)
   |         `- error: cannot find 'clock_gettime' in scope
30 |         return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
31 |     }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:29:23: error: cannot find 'CLOCK_MONOTONIC' in scope
27 |     static func read() -> Int64 {
28 |         var value = timespec()
29 |         clock_gettime(CLOCK_MONOTONIC, &value)
   |                       `- error: cannot find 'CLOCK_MONOTONIC' in scope
30 |         return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
31 |     }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:28:21: error: cannot find 'timespec' in scope
26 | enum GesSystemClock {
27 |     static func read() -> Int64 {
28 |         var value = timespec()
   |                     `- error: cannot find 'timespec' in scope
29 |         clock_gettime(CLOCK_MONOTONIC, &value)
30 |         return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:29:9: error: cannot find 'clock_gettime' in scope
27 |     static func read() -> Int64 {
28 |         var value = timespec()
29 |         clock_gettime(CLOCK_MONOTONIC, &value)
   |         `- error: cannot find 'clock_gettime' in scope
30 |         return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
31 |     }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:29:23: error: cannot find 'CLOCK_MONOTONIC' in scope
27 |     static func read() -> Int64 {
28 |         var value = timespec()
29 |         clock_gettime(CLOCK_MONOTONIC, &value)
   |                       `- error: cannot find 'CLOCK_MONOTONIC' in scope
30 |         return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
31 |     }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:28:21: error: cannot find 'timespec' in scope
26 | enum GesSystemClock {
27 |     static func read() -> Int64 {
28 |         var value = timespec()
   |                     `- error: cannot find 'timespec' in scope
29 |         clock_gettime(CLOCK_MONOTONIC, &value)
30 |         return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:29:9: error: cannot find 'clock_gettime' in scope
27 |     static func read() -> Int64 {
28 |         var value = timespec()
29 |         clock_gettime(CLOCK_MONOTONIC, &value)
   |         `- error: cannot find 'clock_gettime' in scope
30 |         return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
31 |     }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:29:23: error: cannot find 'CLOCK_MONOTONIC' in scope
27 |     static func read() -> Int64 {
28 |         var value = timespec()
29 |         clock_gettime(CLOCK_MONOTONIC, &value)
   |                       `- error: cannot find 'CLOCK_MONOTONIC' in scope
30 |         return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
31 |     }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:28:21: error: cannot find 'timespec' in scope
26 | enum GesSystemClock {
27 |     static func read() -> Int64 {
28 |         var value = timespec()
   |                     `- error: cannot find 'timespec' in scope
29 |         clock_gettime(CLOCK_MONOTONIC, &value)
30 |         return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:29:9: error: cannot find 'clock_gettime' in scope
27 |     static func read() -> Int64 {
28 |         var value = timespec()
29 |         clock_gettime(CLOCK_MONOTONIC, &value)
   |         `- error: cannot find 'clock_gettime' in scope
30 |         return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
31 |     }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:29:23: error: cannot find 'CLOCK_MONOTONIC' in scope
27 |     static func read() -> Int64 {
28 |         var value = timespec()
29 |         clock_gettime(CLOCK_MONOTONIC, &value)
   |                       `- error: cannot find 'CLOCK_MONOTONIC' in scope
30 |         return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
31 |     }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:28:21: error: cannot find 'timespec' in scope
26 | enum GesSystemClock {
27 |     static func read() -> Int64 {
28 |         var value = timespec()
   |                     `- error: cannot find 'timespec' in scope
29 |         clock_gettime(CLOCK_MONOTONIC, &value)
30 |         return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:29:9: error: cannot find 'clock_gettime' in scope
27 |     static func read() -> Int64 {
28 |         var value = timespec()
29 |         clock_gettime(CLOCK_MONOTONIC, &value)
   |         `- error: cannot find 'clock_gettime' in scope
30 |         return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
31 |     }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:29:23: error: cannot find 'CLOCK_MONOTONIC' in scope
27 |     static func read() -> Int64 {
28 |         var value = timespec()
29 |         clock_gettime(CLOCK_MONOTONIC, &value)
   |                       `- error: cannot find 'CLOCK_MONOTONIC' in scope
30 |         return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
31 |     }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:28:21: error: cannot find 'timespec' in scope
26 | enum GesSystemClock {
27 |     static func read() -> Int64 {
28 |         var value = timespec()
   |                     `- error: cannot find 'timespec' in scope
29 |         clock_gettime(CLOCK_MONOTONIC, &value)
30 |         return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:29:9: error: cannot find 'clock_gettime' in scope
27 |     static func read() -> Int64 {
28 |         var value = timespec()
29 |         clock_gettime(CLOCK_MONOTONIC, &value)
   |         `- error: cannot find 'clock_gettime' in scope
30 |         return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
31 |     }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:29:23: error: cannot find 'CLOCK_MONOTONIC' in scope
27 |     static func read() -> Int64 {
28 |         var value = timespec()
29 |         clock_gettime(CLOCK_MONOTONIC, &value)
   |                       `- error: cannot find 'CLOCK_MONOTONIC' in scope
30 |         return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
31 |     }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:28:21: error: cannot find 'timespec' in scope
26 | enum GesSystemClock {
27 |     static func read() -> Int64 {
28 |         var value = timespec()
   |                     `- error: cannot find 'timespec' in scope
29 |         clock_gettime(CLOCK_MONOTONIC, &value)
30 |         return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:29:9: error: cannot find 'clock_gettime' in scope
27 |     static func read() -> Int64 {
28 |         var value = timespec()
29 |         clock_gettime(CLOCK_MONOTONIC, &value)
   |         `- error: cannot find 'clock_gettime' in scope
30 |         return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
31 |     }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:29:23: error: cannot find 'CLOCK_MONOTONIC' in scope
27 |     static func read() -> Int64 {
28 |         var value = timespec()
29 |         clock_gettime(CLOCK_MONOTONIC, &value)
   |                       `- error: cannot find 'CLOCK_MONOTONIC' in scope
30 |         return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
31 |     }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:28:21: error: cannot find 'timespec' in scope
26 | enum GesSystemClock {
27 |     static func read() -> Int64 {
28 |         var value = timespec()
   |                     `- error: cannot find 'timespec' in scope
29 |         clock_gettime(CLOCK_MONOTONIC, &value)
30 |         return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:29:9: error: cannot find 'clock_gettime' in scope
27 |     static func read() -> Int64 {
28 |         var value = timespec()
29 |         clock_gettime(CLOCK_MONOTONIC, &value)
   |         `- error: cannot find 'clock_gettime' in scope
30 |         return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
31 |     }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:29:23: error: cannot find 'CLOCK_MONOTONIC' in scope
27 |     static func read() -> Int64 {
28 |         var value = timespec()
29 |         clock_gettime(CLOCK_MONOTONIC, &value)
   |                       `- error: cannot find 'CLOCK_MONOTONIC' in scope
30 |         return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
31 |     }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:28:21: error: cannot find 'timespec' in scope
26 | enum GesSystemClock {
27 |     static func read() -> Int64 {
28 |         var value = timespec()
   |                     `- error: cannot find 'timespec' in scope
29 |         clock_gettime(CLOCK_MONOTONIC, &value)
30 |         return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:29:9: error: cannot find 'clock_gettime' in scope
27 |     static func read() -> Int64 {
28 |         var value = timespec()
29 |         clock_gettime(CLOCK_MONOTONIC, &value)
   |         `- error: cannot find 'clock_gettime' in scope
30 |         return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
31 |     }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:29:23: error: cannot find 'CLOCK_MONOTONIC' in scope
27 |     static func read() -> Int64 {
28 |         var value = timespec()
29 |         clock_gettime(CLOCK_MONOTONIC, &value)
   |                       `- error: cannot find 'CLOCK_MONOTONIC' in scope
30 |         return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
31 |     }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:28:21: error: cannot find 'timespec' in scope
26 | enum GesSystemClock {
27 |     static func read() -> Int64 {
28 |         var value = timespec()
   |                     `- error: cannot find 'timespec' in scope
29 |         clock_gettime(CLOCK_MONOTONIC, &value)
30 |         return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:29:9: error: cannot find 'clock_gettime' in scope
27 |     static func read() -> Int64 {
28 |         var value = timespec()
29 |         clock_gettime(CLOCK_MONOTONIC, &value)
   |         `- error: cannot find 'clock_gettime' in scope
30 |         return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
31 |     }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:29:23: error: cannot find 'CLOCK_MONOTONIC' in scope
27 |     static func read() -> Int64 {
28 |         var value = timespec()
29 |         clock_gettime(CLOCK_MONOTONIC, &value)
   |                       `- error: cannot find 'CLOCK_MONOTONIC' in scope
30 |         return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
31 |     }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:28:21: error: cannot find 'timespec' in scope
26 | enum GesSystemClock {
27 |     static func read() -> Int64 {
28 |         var value = timespec()
   |                     `- error: cannot find 'timespec' in scope
29 |         clock_gettime(CLOCK_MONOTONIC, &value)
30 |         return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:29:9: error: cannot find 'clock_gettime' in scope
27 |     static func read() -> Int64 {
28 |         var value = timespec()
29 |         clock_gettime(CLOCK_MONOTONIC, &value)
   |         `- error: cannot find 'clock_gettime' in scope
30 |         return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
31 |     }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:29:23: error: cannot find 'CLOCK_MONOTONIC' in scope
27 |     static func read() -> Int64 {
28 |         var value = timespec()
29 |         clock_gettime(CLOCK_MONOTONIC, &value)
   |                       `- error: cannot find 'CLOCK_MONOTONIC' in scope
30 |         return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
31 |     }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:28:21: error: cannot find 'timespec' in scope
26 | enum GesSystemClock {
27 |     static func read() -> Int64 {
28 |         var value = timespec()
   |                     `- error: cannot find 'timespec' in scope
29 |         clock_gettime(CLOCK_MONOTONIC, &value)
30 |         return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:29:9: error: cannot find 'clock_gettime' in scope
27 |     static func read() -> Int64 {
28 |         var value = timespec()
29 |         clock_gettime(CLOCK_MONOTONIC, &value)
   |         `- error: cannot find 'clock_gettime' in scope
30 |         return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
31 |     }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:29:23: error: cannot find 'CLOCK_MONOTONIC' in scope
27 |     static func read() -> Int64 {
28 |         var value = timespec()
29 |         clock_gettime(CLOCK_MONOTONIC, &value)
   |                       `- error: cannot find 'CLOCK_MONOTONIC' in scope
30 |         return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
31 |     }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:28:21: error: cannot find 'timespec' in scope
26 | enum GesSystemClock {
27 |     static func read() -> Int64 {
28 |         var value = timespec()
   |                     `- error: cannot find 'timespec' in scope
29 |         clock_gettime(CLOCK_MONOTONIC, &value)
30 |         return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:29:9: error: cannot find 'clock_gettime' in scope
27 |     static func read() -> Int64 {
28 |         var value = timespec()
29 |         clock_gettime(CLOCK_MONOTONIC, &value)
   |         `- error: cannot find 'clock_gettime' in scope
30 |         return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
31 |     }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:29:23: error: cannot find 'CLOCK_MONOTONIC' in scope
27 |     static func read() -> Int64 {
28 |         var value = timespec()
29 |         clock_gettime(CLOCK_MONOTONIC, &value)
   |                       `- error: cannot find 'CLOCK_MONOTONIC' in scope
30 |         return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
31 |     }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:28:21: error: cannot find 'timespec' in scope
26 | enum GesSystemClock {
27 |     static func read() -> Int64 {
28 |         var value = timespec()
   |                     `- error: cannot find 'timespec' in scope
29 |         clock_gettime(CLOCK_MONOTONIC, &value)
30 |         return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:29:9: error: cannot find 'clock_gettime' in scope
27 |     static func read() -> Int64 {
28 |         var value = timespec()
29 |         clock_gettime(CLOCK_MONOTONIC, &value)
   |         `- error: cannot find 'clock_gettime' in scope
30 |         return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
31 |     }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:29:23: error: cannot find 'CLOCK_MONOTONIC' in scope
27 |     static func read() -> Int64 {
28 |         var value = timespec()
29 |         clock_gettime(CLOCK_MONOTONIC, &value)
   |                       `- error: cannot find 'CLOCK_MONOTONIC' in scope
30 |         return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
31 |     }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:28:21: error: cannot find 'timespec' in scope
26 | enum GesSystemClock {
27 |     static func read() -> Int64 {
28 |         var value = timespec()
   |                     `- error: cannot find 'timespec' in scope
29 |         clock_gettime(CLOCK_MONOTONIC, &value)
30 |         return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:29:9: error: cannot find 'clock_gettime' in scope
27 |     static func read() -> Int64 {
28 |         var value = timespec()
29 |         clock_gettime(CLOCK_MONOTONIC, &value)
   |         `- error: cannot find 'clock_gettime' in scope
30 |         return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
31 |     }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:29:23: error: cannot find 'CLOCK_MONOTONIC' in scope
27 |     static func read() -> Int64 {
28 |         var value = timespec()
29 |         clock_gettime(CLOCK_MONOTONIC, &value)
   |                       `- error: cannot find 'CLOCK_MONOTONIC' in scope
30 |         return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
31 |     }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:28:21: error: cannot find 'timespec' in scope
26 | enum GesSystemClock {
27 |     static func read() -> Int64 {
28 |         var value = timespec()
   |                     `- error: cannot find 'timespec' in scope
29 |         clock_gettime(CLOCK_MONOTONIC, &value)
30 |         return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:29:9: error: cannot find 'clock_gettime' in scope
27 |     static func read() -> Int64 {
28 |         var value = timespec()
29 |         clock_gettime(CLOCK_MONOTONIC, &value)
   |         `- error: cannot find 'clock_gettime' in scope
30 |         return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
31 |     }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:29:23: error: cannot find 'CLOCK_MONOTONIC' in scope
27 |     static func read() -> Int64 {
28 |         var value = timespec()
29 |         clock_gettime(CLOCK_MONOTONIC, &value)
   |                       `- error: cannot find 'CLOCK_MONOTONIC' in scope
30 |         return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
31 |     }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:28:21: error: cannot find 'timespec' in scope
26 | enum GesSystemClock {
27 |     static func read() -> Int64 {
28 |         var value = timespec()
   |                     `- error: cannot find 'timespec' in scope
29 |         clock_gettime(CLOCK_MONOTONIC, &value)
30 |         return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:29:9: error: cannot find 'clock_gettime' in scope
27 |     static func read() -> Int64 {
28 |         var value = timespec()
29 |         clock_gettime(CLOCK_MONOTONIC, &value)
   |         `- error: cannot find 'clock_gettime' in scope
30 |         return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
31 |     }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:29:23: error: cannot find 'CLOCK_MONOTONIC' in scope
27 |     static func read() -> Int64 {
28 |         var value = timespec()
29 |         clock_gettime(CLOCK_MONOTONIC, &value)
   |                       `- error: cannot find 'CLOCK_MONOTONIC' in scope
30 |         return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
31 |     }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:28:21: error: cannot find 'timespec' in scope
26 | enum GesSystemClock {
27 |     static func read() -> Int64 {
28 |         var value = timespec()
   |                     `- error: cannot find 'timespec' in scope
29 |         clock_gettime(CLOCK_MONOTONIC, &value)
30 |         return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:29:9: error: cannot find 'clock_gettime' in scope
27 |     static func read() -> Int64 {
28 |         var value = timespec()
29 |         clock_gettime(CLOCK_MONOTONIC, &value)
   |         `- error: cannot find 'clock_gettime' in scope
30 |         return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
31 |     }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:29:23: error: cannot find 'CLOCK_MONOTONIC' in scope
27 |     static func read() -> Int64 {
28 |         var value = timespec()
29 |         clock_gettime(CLOCK_MONOTONIC, &value)
   |                       `- error: cannot find 'CLOCK_MONOTONIC' in scope
30 |         return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
31 |     }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:28:21: error: cannot find 'timespec' in scope
26 | enum GesSystemClock {
27 |     static func read() -> Int64 {
28 |         var value = timespec()
   |                     `- error: cannot find 'timespec' in scope
29 |         clock_gettime(CLOCK_MONOTONIC, &value)
30 |         return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:29:9: error: cannot find 'clock_gettime' in scope
27 |     static func read() -> Int64 {
28 |         var value = timespec()
29 |         clock_gettime(CLOCK_MONOTONIC, &value)
   |         `- error: cannot find 'clock_gettime' in scope
30 |         return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
31 |     }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:29:23: error: cannot find 'CLOCK_MONOTONIC' in scope
27 |     static func read() -> Int64 {
28 |         var value = timespec()
29 |         clock_gettime(CLOCK_MONOTONIC, &value)
   |                       `- error: cannot find 'CLOCK_MONOTONIC' in scope
30 |         return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
31 |     }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:28:21: error: cannot find 'timespec' in scope
26 | enum GesSystemClock {
27 |     static func read() -> Int64 {
28 |         var value = timespec()
   |                     `- error: cannot find 'timespec' in scope
29 |         clock_gettime(CLOCK_MONOTONIC, &value)
30 |         return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:29:9: error: cannot find 'clock_gettime' in scope
27 |     static func read() -> Int64 {
28 |         var value = timespec()
29 |         clock_gettime(CLOCK_MONOTONIC, &value)
   |         `- error: cannot find 'clock_gettime' in scope
30 |         return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
31 |     }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:29:23: error: cannot find 'CLOCK_MONOTONIC' in scope
27 |     static func read() -> Int64 {
28 |         var value = timespec()
29 |         clock_gettime(CLOCK_MONOTONIC, &value)
   |                       `- error: cannot find 'CLOCK_MONOTONIC' in scope
30 |         return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
31 |     }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:28:21: error: cannot find 'timespec' in scope
26 | enum GesSystemClock {
27 |     static func read() -> Int64 {
28 |         var value = timespec()
   |                     `- error: cannot find 'timespec' in scope
29 |         clock_gettime(CLOCK_MONOTONIC, &value)
30 |         return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:29:9: error: cannot find 'clock_gettime' in scope
27 |     static func read() -> Int64 {
28 |         var value = timespec()
29 |         clock_gettime(CLOCK_MONOTONIC, &value)
   |         `- error: cannot find 'clock_gettime' in scope
30 |         return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
31 |     }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:29:23: error: cannot find 'CLOCK_MONOTONIC' in scope
27 |     static func read() -> Int64 {
28 |         var value = timespec()
29 |         clock_gettime(CLOCK_MONOTONIC, &value)
   |                       `- error: cannot find 'CLOCK_MONOTONIC' in scope
30 |         return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
31 |     }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:28:21: error: cannot find 'timespec' in scope
26 | enum GesSystemClock {
27 |     static func read() -> Int64 {
28 |         var value = timespec()
   |                     `- error: cannot find 'timespec' in scope
29 |         clock_gettime(CLOCK_MONOTONIC, &value)
30 |         return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:29:9: error: cannot find 'clock_gettime' in scope
27 |     static func read() -> Int64 {
28 |         var value = timespec()
29 |         clock_gettime(CLOCK_MONOTONIC, &value)
   |         `- error: cannot find 'clock_gettime' in scope
30 |         return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
31 |     }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:29:23: error: cannot find 'CLOCK_MONOTONIC' in scope
27 |     static func read() -> Int64 {
28 |         var value = timespec()
29 |         clock_gettime(CLOCK_MONOTONIC, &value)
   |                       `- error: cannot find 'CLOCK_MONOTONIC' in scope
30 |         return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
31 |     }
BUILD FAILURE 6.2 wasm