Build Information
Failed to build GameEventScript, reference main (0e88e8), with Swift 6.3 for Wasm on 12 Nov 2026 01:42:17 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.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1Build Log
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 | }
/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 | }
/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 | }
/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 | }
/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 | }
/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 | }
/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 | }
/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 | }
/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 | }
/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 | }
/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 | }
/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 | }
/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 | }
[240/641] Compiling GameEventScriptRuntime MessageArguments.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 | }
[259/641] Compiling GameEventScriptRuntime SourceLocation.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 | }
[260/641] Compiling GameEventScriptRuntime SymbolKind.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 | }
[261/641] Compiling GameEventScriptRuntime Document.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 | }
[262/641] Compiling GameEventScriptRuntime ExtensionCall.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 | }
[263/641] Compiling GameEventScriptRuntime ExtensionReference.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 | }
[264/641] Compiling GameEventScriptRuntime ExternalTypeConstructorCall.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 | }
[299/665] Compiling GameEventScriptRuntime TakeLast.swift
[300/665] Compiling GameEventScriptRuntime TakeLowest.swift
[301/665] Compiling GameEventScriptRuntime TakePattern.swift
[302/665] Compiling GameEventScriptRuntime TakeRandom.swift
[303/665] Compiling GameEventScriptRuntime TakeWeighted.swift
[304/665] Compiling GameEventScriptRuntime Union.swift
[305/665] Compiling GameEventScriptRuntime ValuesOfMap.swift
[306/665] Compiling GameEventScriptRuntime Zip.swift
[307/665] Compiling GameEventScriptRuntime And.swift
[308/665] Compiling GameEventScriptRuntime CallExternal.swift
[309/665] Compiling GameEventScriptRuntime CreateExternalType.swift
[310/665] Compiling GameEventScriptRuntime EmitOrPublishMessage.swift
[311/665] Compiling GameEventScriptRuntime Equal.swift
[312/665] Compiling GameEventScriptRuntime Greater.swift
[313/665] Compiling GameEventScriptRuntime GreaterOrEqual.swift
[314/665] Compiling GameEventScriptRuntime Implies.swift
[315/665] Compiling GameEventScriptRuntime Less.swift
[316/665] Compiling GameEventScriptRuntime LessOrEqual.swift
[317/665] Compiling GameEventScriptRuntime Not.swift
[318/665] Compiling GameEventScriptRuntime NotEqual.swift
[319/665] Compiling GameEventScriptRuntime Or.swift
[320/665] Compiling GameEventScriptRuntime Send.swift
[321/665] Compiling GameEventScriptRuntime GesCallbacks.swift
[322/665] Compiling GameEventScriptRuntime GesCasts.swift
[323/665] Compiling GameEventScriptRuntime Distance3D.swift
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Exp.swift:14:99: error: cannot find 'exp' in scope
12 | extension GesVirtualMachine {
13 | func executeExp(_ target: Int, _ x: Int) {
14 | return registers[x].hasUnit ? registers[target].setNothing() : registers[target].setFloat(exp(registers[x].asNumber))
| `- error: cannot find 'exp' in scope
15 | }
16 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/LogN.swift:14:99: error: cannot find 'log' in scope
12 | extension GesVirtualMachine {
13 | func executeLogN(_ target: Int, _ x: Int) {
14 | return registers[x].hasUnit ? registers[target].setNothing() : registers[target].setFloat(log(registers[x].asNumber))
| `- error: cannot find 'log' in scope
15 | }
16 | }
[324/665] Compiling GameEventScriptRuntime DistanceSquared.swift
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Exp.swift:14:99: error: cannot find 'exp' in scope
12 | extension GesVirtualMachine {
13 | func executeExp(_ target: Int, _ x: Int) {
14 | return registers[x].hasUnit ? registers[target].setNothing() : registers[target].setFloat(exp(registers[x].asNumber))
| `- error: cannot find 'exp' in scope
15 | }
16 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/LogN.swift:14:99: error: cannot find 'log' in scope
12 | extension GesVirtualMachine {
13 | func executeLogN(_ target: Int, _ x: Int) {
14 | return registers[x].hasUnit ? registers[target].setNothing() : registers[target].setFloat(log(registers[x].asNumber))
| `- error: cannot find 'log' in scope
15 | }
16 | }
[325/665] Compiling GameEventScriptRuntime DistanceSquared2D.swift
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Exp.swift:14:99: error: cannot find 'exp' in scope
12 | extension GesVirtualMachine {
13 | func executeExp(_ target: Int, _ x: Int) {
14 | return registers[x].hasUnit ? registers[target].setNothing() : registers[target].setFloat(exp(registers[x].asNumber))
| `- error: cannot find 'exp' in scope
15 | }
16 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/LogN.swift:14:99: error: cannot find 'log' in scope
12 | extension GesVirtualMachine {
13 | func executeLogN(_ target: Int, _ x: Int) {
14 | return registers[x].hasUnit ? registers[target].setNothing() : registers[target].setFloat(log(registers[x].asNumber))
| `- error: cannot find 'log' in scope
15 | }
16 | }
[326/665] Compiling GameEventScriptRuntime DistanceSquared3D.swift
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Exp.swift:14:99: error: cannot find 'exp' in scope
12 | extension GesVirtualMachine {
13 | func executeExp(_ target: Int, _ x: Int) {
14 | return registers[x].hasUnit ? registers[target].setNothing() : registers[target].setFloat(exp(registers[x].asNumber))
| `- error: cannot find 'exp' in scope
15 | }
16 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/LogN.swift:14:99: error: cannot find 'log' in scope
12 | extension GesVirtualMachine {
13 | func executeLogN(_ target: Int, _ x: Int) {
14 | return registers[x].hasUnit ? registers[target].setNothing() : registers[target].setFloat(log(registers[x].asNumber))
| `- error: cannot find 'log' in scope
15 | }
16 | }
[327/665] Compiling GameEventScriptRuntime Divide.swift
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Exp.swift:14:99: error: cannot find 'exp' in scope
12 | extension GesVirtualMachine {
13 | func executeExp(_ target: Int, _ x: Int) {
14 | return registers[x].hasUnit ? registers[target].setNothing() : registers[target].setFloat(exp(registers[x].asNumber))
| `- error: cannot find 'exp' in scope
15 | }
16 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/LogN.swift:14:99: error: cannot find 'log' in scope
12 | extension GesVirtualMachine {
13 | func executeLogN(_ target: Int, _ x: Int) {
14 | return registers[x].hasUnit ? registers[target].setNothing() : registers[target].setFloat(log(registers[x].asNumber))
| `- error: cannot find 'log' in scope
15 | }
16 | }
[328/665] Compiling GameEventScriptRuntime Dot.swift
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Exp.swift:14:99: error: cannot find 'exp' in scope
12 | extension GesVirtualMachine {
13 | func executeExp(_ target: Int, _ x: Int) {
14 | return registers[x].hasUnit ? registers[target].setNothing() : registers[target].setFloat(exp(registers[x].asNumber))
| `- error: cannot find 'exp' in scope
15 | }
16 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/LogN.swift:14:99: error: cannot find 'log' in scope
12 | extension GesVirtualMachine {
13 | func executeLogN(_ target: Int, _ x: Int) {
14 | return registers[x].hasUnit ? registers[target].setNothing() : registers[target].setFloat(log(registers[x].asNumber))
| `- error: cannot find 'log' in scope
15 | }
16 | }
[329/665] Compiling GameEventScriptRuntime Dot2D.swift
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Exp.swift:14:99: error: cannot find 'exp' in scope
12 | extension GesVirtualMachine {
13 | func executeExp(_ target: Int, _ x: Int) {
14 | return registers[x].hasUnit ? registers[target].setNothing() : registers[target].setFloat(exp(registers[x].asNumber))
| `- error: cannot find 'exp' in scope
15 | }
16 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/LogN.swift:14:99: error: cannot find 'log' in scope
12 | extension GesVirtualMachine {
13 | func executeLogN(_ target: Int, _ x: Int) {
14 | return registers[x].hasUnit ? registers[target].setNothing() : registers[target].setFloat(log(registers[x].asNumber))
| `- error: cannot find 'log' in scope
15 | }
16 | }
[330/665] Compiling GameEventScriptRuntime Dot3D.swift
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Exp.swift:14:99: error: cannot find 'exp' in scope
12 | extension GesVirtualMachine {
13 | func executeExp(_ target: Int, _ x: Int) {
14 | return registers[x].hasUnit ? registers[target].setNothing() : registers[target].setFloat(exp(registers[x].asNumber))
| `- error: cannot find 'exp' in scope
15 | }
16 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/LogN.swift:14:99: error: cannot find 'log' in scope
12 | extension GesVirtualMachine {
13 | func executeLogN(_ target: Int, _ x: Int) {
14 | return registers[x].hasUnit ? registers[target].setNothing() : registers[target].setFloat(log(registers[x].asNumber))
| `- error: cannot find 'log' in scope
15 | }
16 | }
[331/665] Compiling GameEventScriptRuntime Exp.swift
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Exp.swift:14:99: error: cannot find 'exp' in scope
12 | extension GesVirtualMachine {
13 | func executeExp(_ target: Int, _ x: Int) {
14 | return registers[x].hasUnit ? registers[target].setNothing() : registers[target].setFloat(exp(registers[x].asNumber))
| `- error: cannot find 'exp' in scope
15 | }
16 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/LogN.swift:14:99: error: cannot find 'log' in scope
12 | extension GesVirtualMachine {
13 | func executeLogN(_ target: Int, _ x: Int) {
14 | return registers[x].hasUnit ? registers[target].setNothing() : registers[target].setFloat(log(registers[x].asNumber))
| `- error: cannot find 'log' in scope
15 | }
16 | }
[332/665] Compiling GameEventScriptRuntime Floor.swift
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Exp.swift:14:99: error: cannot find 'exp' in scope
12 | extension GesVirtualMachine {
13 | func executeExp(_ target: Int, _ x: Int) {
14 | return registers[x].hasUnit ? registers[target].setNothing() : registers[target].setFloat(exp(registers[x].asNumber))
| `- error: cannot find 'exp' in scope
15 | }
16 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/LogN.swift:14:99: error: cannot find 'log' in scope
12 | extension GesVirtualMachine {
13 | func executeLogN(_ target: Int, _ x: Int) {
14 | return registers[x].hasUnit ? registers[target].setNothing() : registers[target].setFloat(log(registers[x].asNumber))
| `- error: cannot find 'log' in scope
15 | }
16 | }
[333/665] Compiling GameEventScriptRuntime Hypot2D.swift
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Exp.swift:14:99: error: cannot find 'exp' in scope
12 | extension GesVirtualMachine {
13 | func executeExp(_ target: Int, _ x: Int) {
14 | return registers[x].hasUnit ? registers[target].setNothing() : registers[target].setFloat(exp(registers[x].asNumber))
| `- error: cannot find 'exp' in scope
15 | }
16 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/LogN.swift:14:99: error: cannot find 'log' in scope
12 | extension GesVirtualMachine {
13 | func executeLogN(_ target: Int, _ x: Int) {
14 | return registers[x].hasUnit ? registers[target].setNothing() : registers[target].setFloat(log(registers[x].asNumber))
| `- error: cannot find 'log' in scope
15 | }
16 | }
[334/665] Compiling GameEventScriptRuntime Hypot3D.swift
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Exp.swift:14:99: error: cannot find 'exp' in scope
12 | extension GesVirtualMachine {
13 | func executeExp(_ target: Int, _ x: Int) {
14 | return registers[x].hasUnit ? registers[target].setNothing() : registers[target].setFloat(exp(registers[x].asNumber))
| `- error: cannot find 'exp' in scope
15 | }
16 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/LogN.swift:14:99: error: cannot find 'log' in scope
12 | extension GesVirtualMachine {
13 | func executeLogN(_ target: Int, _ x: Int) {
14 | return registers[x].hasUnit ? registers[target].setNothing() : registers[target].setFloat(log(registers[x].asNumber))
| `- error: cannot find 'log' in scope
15 | }
16 | }
[335/665] Compiling GameEventScriptRuntime IntegerDivide.swift
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Exp.swift:14:99: error: cannot find 'exp' in scope
12 | extension GesVirtualMachine {
13 | func executeExp(_ target: Int, _ x: Int) {
14 | return registers[x].hasUnit ? registers[target].setNothing() : registers[target].setFloat(exp(registers[x].asNumber))
| `- error: cannot find 'exp' in scope
15 | }
16 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/LogN.swift:14:99: error: cannot find 'log' in scope
12 | extension GesVirtualMachine {
13 | func executeLogN(_ target: Int, _ x: Int) {
14 | return registers[x].hasUnit ? registers[target].setNothing() : registers[target].setFloat(log(registers[x].asNumber))
| `- error: cannot find 'log' in scope
15 | }
16 | }
[336/665] Compiling GameEventScriptRuntime LengthSquared.swift
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Exp.swift:14:99: error: cannot find 'exp' in scope
12 | extension GesVirtualMachine {
13 | func executeExp(_ target: Int, _ x: Int) {
14 | return registers[x].hasUnit ? registers[target].setNothing() : registers[target].setFloat(exp(registers[x].asNumber))
| `- error: cannot find 'exp' in scope
15 | }
16 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/LogN.swift:14:99: error: cannot find 'log' in scope
12 | extension GesVirtualMachine {
13 | func executeLogN(_ target: Int, _ x: Int) {
14 | return registers[x].hasUnit ? registers[target].setNothing() : registers[target].setFloat(log(registers[x].asNumber))
| `- error: cannot find 'log' in scope
15 | }
16 | }
[337/665] Compiling GameEventScriptRuntime LengthSquared2D.swift
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Exp.swift:14:99: error: cannot find 'exp' in scope
12 | extension GesVirtualMachine {
13 | func executeExp(_ target: Int, _ x: Int) {
14 | return registers[x].hasUnit ? registers[target].setNothing() : registers[target].setFloat(exp(registers[x].asNumber))
| `- error: cannot find 'exp' in scope
15 | }
16 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/LogN.swift:14:99: error: cannot find 'log' in scope
12 | extension GesVirtualMachine {
13 | func executeLogN(_ target: Int, _ x: Int) {
14 | return registers[x].hasUnit ? registers[target].setNothing() : registers[target].setFloat(log(registers[x].asNumber))
| `- error: cannot find 'log' in scope
15 | }
16 | }
[338/665] Compiling GameEventScriptRuntime LengthSquared3D.swift
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Exp.swift:14:99: error: cannot find 'exp' in scope
12 | extension GesVirtualMachine {
13 | func executeExp(_ target: Int, _ x: Int) {
14 | return registers[x].hasUnit ? registers[target].setNothing() : registers[target].setFloat(exp(registers[x].asNumber))
| `- error: cannot find 'exp' in scope
15 | }
16 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/LogN.swift:14:99: error: cannot find 'log' in scope
12 | extension GesVirtualMachine {
13 | func executeLogN(_ target: Int, _ x: Int) {
14 | return registers[x].hasUnit ? registers[target].setNothing() : registers[target].setFloat(log(registers[x].asNumber))
| `- error: cannot find 'log' in scope
15 | }
16 | }
[339/665] Compiling GameEventScriptRuntime LogN.swift
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Exp.swift:14:99: error: cannot find 'exp' in scope
12 | extension GesVirtualMachine {
13 | func executeExp(_ target: Int, _ x: Int) {
14 | return registers[x].hasUnit ? registers[target].setNothing() : registers[target].setFloat(exp(registers[x].asNumber))
| `- error: cannot find 'exp' in scope
15 | }
16 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/LogN.swift:14:99: error: cannot find 'log' in scope
12 | extension GesVirtualMachine {
13 | func executeLogN(_ target: Int, _ x: Int) {
14 | return registers[x].hasUnit ? registers[target].setNothing() : registers[target].setFloat(log(registers[x].asNumber))
| `- error: cannot find 'log' in scope
15 | }
16 | }
[340/665] Compiling GameEventScriptRuntime Max.swift
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Exp.swift:14:99: error: cannot find 'exp' in scope
12 | extension GesVirtualMachine {
13 | func executeExp(_ target: Int, _ x: Int) {
14 | return registers[x].hasUnit ? registers[target].setNothing() : registers[target].setFloat(exp(registers[x].asNumber))
| `- error: cannot find 'exp' in scope
15 | }
16 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/LogN.swift:14:99: error: cannot find 'log' in scope
12 | extension GesVirtualMachine {
13 | func executeLogN(_ target: Int, _ x: Int) {
14 | return registers[x].hasUnit ? registers[target].setNothing() : registers[target].setFloat(log(registers[x].asNumber))
| `- error: cannot find 'log' in scope
15 | }
16 | }
[341/665] Compiling GameEventScriptRuntime Min.swift
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Exp.swift:14:99: error: cannot find 'exp' in scope
12 | extension GesVirtualMachine {
13 | func executeExp(_ target: Int, _ x: Int) {
14 | return registers[x].hasUnit ? registers[target].setNothing() : registers[target].setFloat(exp(registers[x].asNumber))
| `- error: cannot find 'exp' in scope
15 | }
16 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/LogN.swift:14:99: error: cannot find 'log' in scope
12 | extension GesVirtualMachine {
13 | func executeLogN(_ target: Int, _ x: Int) {
14 | return registers[x].hasUnit ? registers[target].setNothing() : registers[target].setFloat(log(registers[x].asNumber))
| `- error: cannot find 'log' in scope
15 | }
16 | }
[342/665] Compiling GameEventScriptRuntime Modulo.swift
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Exp.swift:14:99: error: cannot find 'exp' in scope
12 | extension GesVirtualMachine {
13 | func executeExp(_ target: Int, _ x: Int) {
14 | return registers[x].hasUnit ? registers[target].setNothing() : registers[target].setFloat(exp(registers[x].asNumber))
| `- error: cannot find 'exp' in scope
15 | }
16 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/LogN.swift:14:99: error: cannot find 'log' in scope
12 | extension GesVirtualMachine {
13 | func executeLogN(_ target: Int, _ x: Int) {
14 | return registers[x].hasUnit ? registers[target].setNothing() : registers[target].setFloat(log(registers[x].asNumber))
| `- error: cannot find 'log' in scope
15 | }
16 | }
[343/665] Compiling GameEventScriptRuntime Multiply.swift
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Exp.swift:14:99: error: cannot find 'exp' in scope
12 | extension GesVirtualMachine {
13 | func executeExp(_ target: Int, _ x: Int) {
14 | return registers[x].hasUnit ? registers[target].setNothing() : registers[target].setFloat(exp(registers[x].asNumber))
| `- error: cannot find 'exp' in scope
15 | }
16 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/LogN.swift:14:99: error: cannot find 'log' in scope
12 | extension GesVirtualMachine {
13 | func executeLogN(_ target: Int, _ x: Int) {
14 | return registers[x].hasUnit ? registers[target].setNothing() : registers[target].setFloat(log(registers[x].asNumber))
| `- error: cannot find 'log' in scope
15 | }
16 | }
[344/665] Compiling GameEventScriptRuntime Negate.swift
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Exp.swift:14:99: error: cannot find 'exp' in scope
12 | extension GesVirtualMachine {
13 | func executeExp(_ target: Int, _ x: Int) {
14 | return registers[x].hasUnit ? registers[target].setNothing() : registers[target].setFloat(exp(registers[x].asNumber))
| `- error: cannot find 'exp' in scope
15 | }
16 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/LogN.swift:14:99: error: cannot find 'log' in scope
12 | extension GesVirtualMachine {
13 | func executeLogN(_ target: Int, _ x: Int) {
14 | return registers[x].hasUnit ? registers[target].setNothing() : registers[target].setFloat(log(registers[x].asNumber))
| `- error: cannot find 'log' in scope
15 | }
16 | }
[345/665] Compiling GameEventScriptRuntime Normalize.swift
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Exp.swift:14:99: error: cannot find 'exp' in scope
12 | extension GesVirtualMachine {
13 | func executeExp(_ target: Int, _ x: Int) {
14 | return registers[x].hasUnit ? registers[target].setNothing() : registers[target].setFloat(exp(registers[x].asNumber))
| `- error: cannot find 'exp' in scope
15 | }
16 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/LogN.swift:14:99: error: cannot find 'log' in scope
12 | extension GesVirtualMachine {
13 | func executeLogN(_ target: Int, _ x: Int) {
14 | return registers[x].hasUnit ? registers[target].setNothing() : registers[target].setFloat(log(registers[x].asNumber))
| `- error: cannot find 'log' in scope
15 | }
16 | }
[346/665] Compiling GameEventScriptRuntime Normalize2D.swift
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Exp.swift:14:99: error: cannot find 'exp' in scope
12 | extension GesVirtualMachine {
13 | func executeExp(_ target: Int, _ x: Int) {
14 | return registers[x].hasUnit ? registers[target].setNothing() : registers[target].setFloat(exp(registers[x].asNumber))
| `- error: cannot find 'exp' in scope
15 | }
16 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/LogN.swift:14:99: error: cannot find 'log' in scope
12 | extension GesVirtualMachine {
13 | func executeLogN(_ target: Int, _ x: Int) {
14 | return registers[x].hasUnit ? registers[target].setNothing() : registers[target].setFloat(log(registers[x].asNumber))
| `- error: cannot find 'log' in scope
15 | }
16 | }
[371/665] Compiling GameEventScriptRuntime IteratorNext.swift
[372/665] Compiling GameEventScriptRuntime KeysOfMap.swift
[373/665] Compiling GameEventScriptRuntime Last.swift
[374/665] Compiling GameEventScriptRuntime OneRandom.swift
[375/665] Compiling GameEventScriptRuntime OneWeighted.swift
[376/665] Compiling GameEventScriptRuntime Reverse.swift
[377/665] Compiling GameEventScriptRuntime Shuffle.swift
[378/665] Compiling GameEventScriptRuntime Single.swift
[379/665] Compiling GameEventScriptRuntime SortAscending.swift
[380/665] Compiling GameEventScriptRuntime SortDescending.swift
[381/665] Compiling GameEventScriptRuntime StartsWith.swift
[382/665] Compiling GameEventScriptRuntime CreateIterator.swift
[383/665] Compiling GameEventScriptRuntime CreateRange.swift
[384/665] Compiling GameEventScriptRuntime GesCollectionOperators.swift
[385/665] Compiling GameEventScriptRuntime GesComponentIterator.swift
[386/665] Compiling GameEventScriptRuntime GesEntriesIterator.swift
[387/665] Compiling GameEventScriptRuntime GesMultisetIterator.swift
[388/665] Compiling GameEventScriptRuntime GesProductIterator.swift
[389/665] Compiling GameEventScriptRuntime GesUnionIterator.swift
[390/665] Compiling GameEventScriptRuntime GesValueCollectionAccess.swift
[391/665] Compiling GameEventScriptRuntime SelectionOrder.swift
[392/665] Compiling GameEventScriptRuntime VmCompoundSources.swift
[393/665] Compiling GameEventScriptRuntime TakeFirst.swift
[394/665] Compiling GameEventScriptRuntime TakeHighest.swift
[395/665] 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 | }
[396/665] 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 | }
[397/665] 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 | }
[398/665] 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 | }
[399/665] 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 | }
[400/665] 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 | }
[401/665] 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 | }
[402/665] 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 | }
[403/665] 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 | }
[404/665] 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 | }
[405/665] 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 | }
[406/665] 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 | }
[407/665] 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 | }
[408/665] 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 | }
[409/665] 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 | }
[410/665] 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 | }
[411/665] 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 | }
[412/665] 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 | }
[413/665] 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 | }
[414/665] 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 | }
[415/665] 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 | }
[416/665] 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 | }
[417/665] 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 | }
[418/665] 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 | }
[419/665] Compiling GameEventScriptRuntime ValueOutput.swift
[420/665] Compiling GameEventScriptRuntime LinkedProgram.swift
[421/665] Compiling GameEventScriptRuntime DataConstruction.swift
[422/665] Compiling GameEventScriptRuntime DocumentReading.swift
[423/665] Compiling GameEventScriptRuntime LiteralEvaluation.swift
[424/665] Compiling GameEventScriptRuntime LiteralParser.swift
[425/665] Compiling GameEventScriptRuntime Cartesian.swift
[426/665] Compiling GameEventScriptRuntime Contains.swift
[427/665] Compiling GameEventScriptRuntime ContainsAll.swift
[428/665] Compiling GameEventScriptRuntime ContainsAny.swift
[429/665] Compiling GameEventScriptRuntime ContainsValue.swift
[430/665] Compiling GameEventScriptRuntime Count.swift
[431/665] Compiling GameEventScriptRuntime Distinct.swift
[432/665] Compiling GameEventScriptRuntime DropFirst.swift
[433/665] Compiling GameEventScriptRuntime DropHighest.swift
[434/665] Compiling GameEventScriptRuntime DropLast.swift
[435/665] Compiling GameEventScriptRuntime DropLowest.swift
[436/665] Compiling GameEventScriptRuntime EndsWith.swift
[437/665] Compiling GameEventScriptRuntime EntriesOfMap.swift
[438/665] Compiling GameEventScriptRuntime First.swift
[439/665] Compiling GameEventScriptRuntime HasAll.swift
[440/665] Compiling GameEventScriptRuntime HasAny.swift
[441/665] Compiling GameEventScriptRuntime HasPattern.swift
[442/665] Compiling GameEventScriptRuntime Intersect.swift
[444/665] Compiling GameEventScriptRuntime SchemaDump.swift
[445/665] Compiling GameEventScriptRuntime SchemaErrors.swift
[446/665] Compiling GameEventScriptRuntime SchemaSet.swift
[447/665] Compiling GameEventScriptRuntime SchemaValues.swift
[457/665] Compiling SwiftSyntax SyntaxNodesC.swift
[458/665] Compiling SwiftSyntax SyntaxNodesD.swift
[459/665] Compiling SwiftSyntax SyntaxNodesEF.swift
[460/665] Compiling SwiftSyntax SyntaxNodesGHI.swift
[461/665] Compiling SwiftSyntax SyntaxNodesJKLMN.swift
[462/665] Compiling SwiftSyntax SyntaxNodesOP.swift
[463/665] Compiling SwiftSyntax SyntaxNodesQRS.swift
[464/665] Compiling SwiftSyntax SyntaxNodesTUVWXYZ.swift
[465/665] Compiling GameEventScriptRuntime ValueArguments.swift
[466/665] Compiling GameEventScriptRuntime ValueFactory.swift
[467/665] Compiling GameEventScriptRuntime ValueLiteral.swift
[517/665] Emitting module SwiftSyntax
[518/665] Compiling GameEventScriptRuntime SchemaDelta.swift
[519/665] Compiling GameEventScriptRuntime SchemaDocumentCheck.swift
BUILD FAILURE 6.3 wasm