Build Information
Failed to build GameEventScript, reference main (0e88e8), with Swift 6.1 for Wasm on 12 Nov 2026 01:46:47 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886770-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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
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 | }
[114/542] Compiling GameEventScriptRuntime Ceil.swift
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Acos.swift:15:43: error: cannot find 'acos' in scope
13 | func executeAcos(_ target: Int, _ x: Int) {
14 | guard registers[x].isNumeric, !registers[x].hasUnit else { return registers[target].setNothing() }
15 | return registers[target].setFloat(acos(registers[x].asNumber))
| `- error: cannot find 'acos' in scope
16 | }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/AngleBetween.swift:27:43: error: cannot find 'acos' in scope
25 | var ratio = (ax * bx + ay * by + az * bz) / (al * bl)
26 | if ratio > 1 { ratio = 1 } else if ratio < -1 { ratio = -1 }
27 | return registers[target].setFloat(acos(ratio))
| `- error: cannot find 'acos' in scope
28 | }
29 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/AngleBetween2D.swift:33:43: error: cannot find 'acos' in scope
31 | var ratio = (ax * bx + ay * by + az * bz) / (al * bl)
32 | if ratio > 1 { ratio = 1 } else if ratio < -1 { ratio = -1 }
33 | return registers[target].setFloat(acos(ratio))
| `- error: cannot find 'acos' in scope
34 | }
35 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/AngleBetween3D.swift:37:43: error: cannot find 'acos' in scope
35 | var ratio = (ax * bx + ay * by + az * bz) / (al * bl)
36 | if ratio > 1 { ratio = 1 } else if ratio < -1 { ratio = -1 }
37 | return registers[target].setFloat(acos(ratio))
| `- error: cannot find 'acos' in scope
38 | }
39 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Asin.swift:15:43: error: cannot find 'asin' in scope
13 | func executeAsin(_ target: Int, _ x: Int) {
14 | guard registers[x].isNumeric, !registers[x].hasUnit else { return registers[target].setNothing() }
15 | return registers[target].setFloat(asin(registers[x].asNumber))
| `- error: cannot find 'asin' in scope
16 | }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Atan.swift:15:43: error: cannot find 'atan' in scope
13 | func executeAtan(_ target: Int, _ x: Int) {
14 | guard registers[x].isNumeric, !registers[x].hasUnit else { return registers[target].setNothing() }
15 | return registers[target].setFloat(atan(registers[x].asNumber))
| `- error: cannot find 'atan' in scope
16 | }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Atan2.swift:15:106: error: cannot find 'atan2' in scope
13 | func executeAtan2(_ target: Int, _ x: Int, _ y: Int) {
14 | if !registers[x].isNumeric || !registers[y].isNumeric || registers[x].unit != registers[y].unit { return registers[target].setNothing() }
15 | return registers[target].setFloat(registers[x].asNumber == 0 && registers[y].asNumber == 0 ? 0 : atan2(registers[x].asNumber, registers[y].asNumber))
| `- error: cannot find 'atan2' in scope
16 | }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Cos.swift:16:43: error: cannot find 'cos' in scope
14 | guard registers[x].isNumeric, registers[x].unit == .none || registers[x].unit == .degree else { return registers[target].setNothing() }
15 | let n = registers[x].unit == .degree ? registers[x].asNumber / 180 * Double.pi : registers[x].asNumber
16 | return registers[target].setFloat(cos(n))
| `- error: cannot find 'cos' in scope
17 | }
18 | }
[115/542] Compiling GameEventScriptRuntime Chance.swift
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Acos.swift:15:43: error: cannot find 'acos' in scope
13 | func executeAcos(_ target: Int, _ x: Int) {
14 | guard registers[x].isNumeric, !registers[x].hasUnit else { return registers[target].setNothing() }
15 | return registers[target].setFloat(acos(registers[x].asNumber))
| `- error: cannot find 'acos' in scope
16 | }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/AngleBetween.swift:27:43: error: cannot find 'acos' in scope
25 | var ratio = (ax * bx + ay * by + az * bz) / (al * bl)
26 | if ratio > 1 { ratio = 1 } else if ratio < -1 { ratio = -1 }
27 | return registers[target].setFloat(acos(ratio))
| `- error: cannot find 'acos' in scope
28 | }
29 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/AngleBetween2D.swift:33:43: error: cannot find 'acos' in scope
31 | var ratio = (ax * bx + ay * by + az * bz) / (al * bl)
32 | if ratio > 1 { ratio = 1 } else if ratio < -1 { ratio = -1 }
33 | return registers[target].setFloat(acos(ratio))
| `- error: cannot find 'acos' in scope
34 | }
35 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/AngleBetween3D.swift:37:43: error: cannot find 'acos' in scope
35 | var ratio = (ax * bx + ay * by + az * bz) / (al * bl)
36 | if ratio > 1 { ratio = 1 } else if ratio < -1 { ratio = -1 }
37 | return registers[target].setFloat(acos(ratio))
| `- error: cannot find 'acos' in scope
38 | }
39 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Asin.swift:15:43: error: cannot find 'asin' in scope
13 | func executeAsin(_ target: Int, _ x: Int) {
14 | guard registers[x].isNumeric, !registers[x].hasUnit else { return registers[target].setNothing() }
15 | return registers[target].setFloat(asin(registers[x].asNumber))
| `- error: cannot find 'asin' in scope
16 | }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Atan.swift:15:43: error: cannot find 'atan' in scope
13 | func executeAtan(_ target: Int, _ x: Int) {
14 | guard registers[x].isNumeric, !registers[x].hasUnit else { return registers[target].setNothing() }
15 | return registers[target].setFloat(atan(registers[x].asNumber))
| `- error: cannot find 'atan' in scope
16 | }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Atan2.swift:15:106: error: cannot find 'atan2' in scope
13 | func executeAtan2(_ target: Int, _ x: Int, _ y: Int) {
14 | if !registers[x].isNumeric || !registers[y].isNumeric || registers[x].unit != registers[y].unit { return registers[target].setNothing() }
15 | return registers[target].setFloat(registers[x].asNumber == 0 && registers[y].asNumber == 0 ? 0 : atan2(registers[x].asNumber, registers[y].asNumber))
| `- error: cannot find 'atan2' in scope
16 | }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Cos.swift:16:43: error: cannot find 'cos' in scope
14 | guard registers[x].isNumeric, registers[x].unit == .none || registers[x].unit == .degree else { return registers[target].setNothing() }
15 | let n = registers[x].unit == .degree ? registers[x].asNumber / 180 * Double.pi : registers[x].asNumber
16 | return registers[target].setFloat(cos(n))
| `- error: cannot find 'cos' in scope
17 | }
18 | }
[116/542] Compiling GameEventScriptRuntime Clamp.swift
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Acos.swift:15:43: error: cannot find 'acos' in scope
13 | func executeAcos(_ target: Int, _ x: Int) {
14 | guard registers[x].isNumeric, !registers[x].hasUnit else { return registers[target].setNothing() }
15 | return registers[target].setFloat(acos(registers[x].asNumber))
| `- error: cannot find 'acos' in scope
16 | }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/AngleBetween.swift:27:43: error: cannot find 'acos' in scope
25 | var ratio = (ax * bx + ay * by + az * bz) / (al * bl)
26 | if ratio > 1 { ratio = 1 } else if ratio < -1 { ratio = -1 }
27 | return registers[target].setFloat(acos(ratio))
| `- error: cannot find 'acos' in scope
28 | }
29 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/AngleBetween2D.swift:33:43: error: cannot find 'acos' in scope
31 | var ratio = (ax * bx + ay * by + az * bz) / (al * bl)
32 | if ratio > 1 { ratio = 1 } else if ratio < -1 { ratio = -1 }
33 | return registers[target].setFloat(acos(ratio))
| `- error: cannot find 'acos' in scope
34 | }
35 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/AngleBetween3D.swift:37:43: error: cannot find 'acos' in scope
35 | var ratio = (ax * bx + ay * by + az * bz) / (al * bl)
36 | if ratio > 1 { ratio = 1 } else if ratio < -1 { ratio = -1 }
37 | return registers[target].setFloat(acos(ratio))
| `- error: cannot find 'acos' in scope
38 | }
39 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Asin.swift:15:43: error: cannot find 'asin' in scope
13 | func executeAsin(_ target: Int, _ x: Int) {
14 | guard registers[x].isNumeric, !registers[x].hasUnit else { return registers[target].setNothing() }
15 | return registers[target].setFloat(asin(registers[x].asNumber))
| `- error: cannot find 'asin' in scope
16 | }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Atan.swift:15:43: error: cannot find 'atan' in scope
13 | func executeAtan(_ target: Int, _ x: Int) {
14 | guard registers[x].isNumeric, !registers[x].hasUnit else { return registers[target].setNothing() }
15 | return registers[target].setFloat(atan(registers[x].asNumber))
| `- error: cannot find 'atan' in scope
16 | }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Atan2.swift:15:106: error: cannot find 'atan2' in scope
13 | func executeAtan2(_ target: Int, _ x: Int, _ y: Int) {
14 | if !registers[x].isNumeric || !registers[y].isNumeric || registers[x].unit != registers[y].unit { return registers[target].setNothing() }
15 | return registers[target].setFloat(registers[x].asNumber == 0 && registers[y].asNumber == 0 ? 0 : atan2(registers[x].asNumber, registers[y].asNumber))
| `- error: cannot find 'atan2' in scope
16 | }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Cos.swift:16:43: error: cannot find 'cos' in scope
14 | guard registers[x].isNumeric, registers[x].unit == .none || registers[x].unit == .degree else { return registers[target].setNothing() }
15 | let n = registers[x].unit == .degree ? registers[x].asNumber / 180 * Double.pi : registers[x].asNumber
16 | return registers[target].setFloat(cos(n))
| `- error: cannot find 'cos' in scope
17 | }
18 | }
[117/542] Compiling GameEventScriptRuntime Cos.swift
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Acos.swift:15:43: error: cannot find 'acos' in scope
13 | func executeAcos(_ target: Int, _ x: Int) {
14 | guard registers[x].isNumeric, !registers[x].hasUnit else { return registers[target].setNothing() }
15 | return registers[target].setFloat(acos(registers[x].asNumber))
| `- error: cannot find 'acos' in scope
16 | }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/AngleBetween.swift:27:43: error: cannot find 'acos' in scope
25 | var ratio = (ax * bx + ay * by + az * bz) / (al * bl)
26 | if ratio > 1 { ratio = 1 } else if ratio < -1 { ratio = -1 }
27 | return registers[target].setFloat(acos(ratio))
| `- error: cannot find 'acos' in scope
28 | }
29 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/AngleBetween2D.swift:33:43: error: cannot find 'acos' in scope
31 | var ratio = (ax * bx + ay * by + az * bz) / (al * bl)
32 | if ratio > 1 { ratio = 1 } else if ratio < -1 { ratio = -1 }
33 | return registers[target].setFloat(acos(ratio))
| `- error: cannot find 'acos' in scope
34 | }
35 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/AngleBetween3D.swift:37:43: error: cannot find 'acos' in scope
35 | var ratio = (ax * bx + ay * by + az * bz) / (al * bl)
36 | if ratio > 1 { ratio = 1 } else if ratio < -1 { ratio = -1 }
37 | return registers[target].setFloat(acos(ratio))
| `- error: cannot find 'acos' in scope
38 | }
39 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Asin.swift:15:43: error: cannot find 'asin' in scope
13 | func executeAsin(_ target: Int, _ x: Int) {
14 | guard registers[x].isNumeric, !registers[x].hasUnit else { return registers[target].setNothing() }
15 | return registers[target].setFloat(asin(registers[x].asNumber))
| `- error: cannot find 'asin' in scope
16 | }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Atan.swift:15:43: error: cannot find 'atan' in scope
13 | func executeAtan(_ target: Int, _ x: Int) {
14 | guard registers[x].isNumeric, !registers[x].hasUnit else { return registers[target].setNothing() }
15 | return registers[target].setFloat(atan(registers[x].asNumber))
| `- error: cannot find 'atan' in scope
16 | }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Atan2.swift:15:106: error: cannot find 'atan2' in scope
13 | func executeAtan2(_ target: Int, _ x: Int, _ y: Int) {
14 | if !registers[x].isNumeric || !registers[y].isNumeric || registers[x].unit != registers[y].unit { return registers[target].setNothing() }
15 | return registers[target].setFloat(registers[x].asNumber == 0 && registers[y].asNumber == 0 ? 0 : atan2(registers[x].asNumber, registers[y].asNumber))
| `- error: cannot find 'atan2' in scope
16 | }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Cos.swift:16:43: error: cannot find 'cos' in scope
14 | guard registers[x].isNumeric, registers[x].unit == .none || registers[x].unit == .degree else { return registers[target].setNothing() }
15 | let n = registers[x].unit == .degree ? registers[x].asNumber / 180 * Double.pi : registers[x].asNumber
16 | return registers[target].setFloat(cos(n))
| `- error: cannot find 'cos' in scope
17 | }
18 | }
[118/542] Compiling GameEventScriptRuntime Cross.swift
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Acos.swift:15:43: error: cannot find 'acos' in scope
13 | func executeAcos(_ target: Int, _ x: Int) {
14 | guard registers[x].isNumeric, !registers[x].hasUnit else { return registers[target].setNothing() }
15 | return registers[target].setFloat(acos(registers[x].asNumber))
| `- error: cannot find 'acos' in scope
16 | }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/AngleBetween.swift:27:43: error: cannot find 'acos' in scope
25 | var ratio = (ax * bx + ay * by + az * bz) / (al * bl)
26 | if ratio > 1 { ratio = 1 } else if ratio < -1 { ratio = -1 }
27 | return registers[target].setFloat(acos(ratio))
| `- error: cannot find 'acos' in scope
28 | }
29 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/AngleBetween2D.swift:33:43: error: cannot find 'acos' in scope
31 | var ratio = (ax * bx + ay * by + az * bz) / (al * bl)
32 | if ratio > 1 { ratio = 1 } else if ratio < -1 { ratio = -1 }
33 | return registers[target].setFloat(acos(ratio))
| `- error: cannot find 'acos' in scope
34 | }
35 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/AngleBetween3D.swift:37:43: error: cannot find 'acos' in scope
35 | var ratio = (ax * bx + ay * by + az * bz) / (al * bl)
36 | if ratio > 1 { ratio = 1 } else if ratio < -1 { ratio = -1 }
37 | return registers[target].setFloat(acos(ratio))
| `- error: cannot find 'acos' in scope
38 | }
39 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Asin.swift:15:43: error: cannot find 'asin' in scope
13 | func executeAsin(_ target: Int, _ x: Int) {
14 | guard registers[x].isNumeric, !registers[x].hasUnit else { return registers[target].setNothing() }
15 | return registers[target].setFloat(asin(registers[x].asNumber))
| `- error: cannot find 'asin' in scope
16 | }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Atan.swift:15:43: error: cannot find 'atan' in scope
13 | func executeAtan(_ target: Int, _ x: Int) {
14 | guard registers[x].isNumeric, !registers[x].hasUnit else { return registers[target].setNothing() }
15 | return registers[target].setFloat(atan(registers[x].asNumber))
| `- error: cannot find 'atan' in scope
16 | }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Atan2.swift:15:106: error: cannot find 'atan2' in scope
13 | func executeAtan2(_ target: Int, _ x: Int, _ y: Int) {
14 | if !registers[x].isNumeric || !registers[y].isNumeric || registers[x].unit != registers[y].unit { return registers[target].setNothing() }
15 | return registers[target].setFloat(registers[x].asNumber == 0 && registers[y].asNumber == 0 ? 0 : atan2(registers[x].asNumber, registers[y].asNumber))
| `- error: cannot find 'atan2' in scope
16 | }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Cos.swift:16:43: error: cannot find 'cos' in scope
14 | guard registers[x].isNumeric, registers[x].unit == .none || registers[x].unit == .degree else { return registers[target].setNothing() }
15 | let n = registers[x].unit == .degree ? registers[x].asNumber / 180 * Double.pi : registers[x].asNumber
16 | return registers[target].setFloat(cos(n))
| `- error: cannot find 'cos' in scope
17 | }
18 | }
[119/542] Compiling GameEventScriptRuntime Cross2D.swift
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Acos.swift:15:43: error: cannot find 'acos' in scope
13 | func executeAcos(_ target: Int, _ x: Int) {
14 | guard registers[x].isNumeric, !registers[x].hasUnit else { return registers[target].setNothing() }
15 | return registers[target].setFloat(acos(registers[x].asNumber))
| `- error: cannot find 'acos' in scope
16 | }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/AngleBetween.swift:27:43: error: cannot find 'acos' in scope
25 | var ratio = (ax * bx + ay * by + az * bz) / (al * bl)
26 | if ratio > 1 { ratio = 1 } else if ratio < -1 { ratio = -1 }
27 | return registers[target].setFloat(acos(ratio))
| `- error: cannot find 'acos' in scope
28 | }
29 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/AngleBetween2D.swift:33:43: error: cannot find 'acos' in scope
31 | var ratio = (ax * bx + ay * by + az * bz) / (al * bl)
32 | if ratio > 1 { ratio = 1 } else if ratio < -1 { ratio = -1 }
33 | return registers[target].setFloat(acos(ratio))
| `- error: cannot find 'acos' in scope
34 | }
35 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/AngleBetween3D.swift:37:43: error: cannot find 'acos' in scope
35 | var ratio = (ax * bx + ay * by + az * bz) / (al * bl)
36 | if ratio > 1 { ratio = 1 } else if ratio < -1 { ratio = -1 }
37 | return registers[target].setFloat(acos(ratio))
| `- error: cannot find 'acos' in scope
38 | }
39 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Asin.swift:15:43: error: cannot find 'asin' in scope
13 | func executeAsin(_ target: Int, _ x: Int) {
14 | guard registers[x].isNumeric, !registers[x].hasUnit else { return registers[target].setNothing() }
15 | return registers[target].setFloat(asin(registers[x].asNumber))
| `- error: cannot find 'asin' in scope
16 | }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Atan.swift:15:43: error: cannot find 'atan' in scope
13 | func executeAtan(_ target: Int, _ x: Int) {
14 | guard registers[x].isNumeric, !registers[x].hasUnit else { return registers[target].setNothing() }
15 | return registers[target].setFloat(atan(registers[x].asNumber))
| `- error: cannot find 'atan' in scope
16 | }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Atan2.swift:15:106: error: cannot find 'atan2' in scope
13 | func executeAtan2(_ target: Int, _ x: Int, _ y: Int) {
14 | if !registers[x].isNumeric || !registers[y].isNumeric || registers[x].unit != registers[y].unit { return registers[target].setNothing() }
15 | return registers[target].setFloat(registers[x].asNumber == 0 && registers[y].asNumber == 0 ? 0 : atan2(registers[x].asNumber, registers[y].asNumber))
| `- error: cannot find 'atan2' in scope
16 | }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Cos.swift:16:43: error: cannot find 'cos' in scope
14 | guard registers[x].isNumeric, registers[x].unit == .none || registers[x].unit == .degree else { return registers[target].setNothing() }
15 | let n = registers[x].unit == .degree ? registers[x].asNumber / 180 * Double.pi : registers[x].asNumber
16 | return registers[target].setFloat(cos(n))
| `- error: cannot find 'cos' in scope
17 | }
18 | }
[120/542] Compiling GameEventScriptRuntime Cross3D.swift
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Acos.swift:15:43: error: cannot find 'acos' in scope
13 | func executeAcos(_ target: Int, _ x: Int) {
14 | guard registers[x].isNumeric, !registers[x].hasUnit else { return registers[target].setNothing() }
15 | return registers[target].setFloat(acos(registers[x].asNumber))
| `- error: cannot find 'acos' in scope
16 | }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/AngleBetween.swift:27:43: error: cannot find 'acos' in scope
25 | var ratio = (ax * bx + ay * by + az * bz) / (al * bl)
26 | if ratio > 1 { ratio = 1 } else if ratio < -1 { ratio = -1 }
27 | return registers[target].setFloat(acos(ratio))
| `- error: cannot find 'acos' in scope
28 | }
29 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/AngleBetween2D.swift:33:43: error: cannot find 'acos' in scope
31 | var ratio = (ax * bx + ay * by + az * bz) / (al * bl)
32 | if ratio > 1 { ratio = 1 } else if ratio < -1 { ratio = -1 }
33 | return registers[target].setFloat(acos(ratio))
| `- error: cannot find 'acos' in scope
34 | }
35 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/AngleBetween3D.swift:37:43: error: cannot find 'acos' in scope
35 | var ratio = (ax * bx + ay * by + az * bz) / (al * bl)
36 | if ratio > 1 { ratio = 1 } else if ratio < -1 { ratio = -1 }
37 | return registers[target].setFloat(acos(ratio))
| `- error: cannot find 'acos' in scope
38 | }
39 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Asin.swift:15:43: error: cannot find 'asin' in scope
13 | func executeAsin(_ target: Int, _ x: Int) {
14 | guard registers[x].isNumeric, !registers[x].hasUnit else { return registers[target].setNothing() }
15 | return registers[target].setFloat(asin(registers[x].asNumber))
| `- error: cannot find 'asin' in scope
16 | }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Atan.swift:15:43: error: cannot find 'atan' in scope
13 | func executeAtan(_ target: Int, _ x: Int) {
14 | guard registers[x].isNumeric, !registers[x].hasUnit else { return registers[target].setNothing() }
15 | return registers[target].setFloat(atan(registers[x].asNumber))
| `- error: cannot find 'atan' in scope
16 | }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Atan2.swift:15:106: error: cannot find 'atan2' in scope
13 | func executeAtan2(_ target: Int, _ x: Int, _ y: Int) {
14 | if !registers[x].isNumeric || !registers[y].isNumeric || registers[x].unit != registers[y].unit { return registers[target].setNothing() }
15 | return registers[target].setFloat(registers[x].asNumber == 0 && registers[y].asNumber == 0 ? 0 : atan2(registers[x].asNumber, registers[y].asNumber))
| `- error: cannot find 'atan2' in scope
16 | }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Cos.swift:16:43: error: cannot find 'cos' in scope
14 | guard registers[x].isNumeric, registers[x].unit == .none || registers[x].unit == .degree else { return registers[target].setNothing() }
15 | let n = registers[x].unit == .degree ? registers[x].asNumber / 180 * Double.pi : registers[x].asNumber
16 | return registers[target].setFloat(cos(n))
| `- error: cannot find 'cos' in scope
17 | }
18 | }
[121/542] Compiling GameEventScriptRuntime DegreeFromRadians.swift
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Acos.swift:15:43: error: cannot find 'acos' in scope
13 | func executeAcos(_ target: Int, _ x: Int) {
14 | guard registers[x].isNumeric, !registers[x].hasUnit else { return registers[target].setNothing() }
15 | return registers[target].setFloat(acos(registers[x].asNumber))
| `- error: cannot find 'acos' in scope
16 | }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/AngleBetween.swift:27:43: error: cannot find 'acos' in scope
25 | var ratio = (ax * bx + ay * by + az * bz) / (al * bl)
26 | if ratio > 1 { ratio = 1 } else if ratio < -1 { ratio = -1 }
27 | return registers[target].setFloat(acos(ratio))
| `- error: cannot find 'acos' in scope
28 | }
29 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/AngleBetween2D.swift:33:43: error: cannot find 'acos' in scope
31 | var ratio = (ax * bx + ay * by + az * bz) / (al * bl)
32 | if ratio > 1 { ratio = 1 } else if ratio < -1 { ratio = -1 }
33 | return registers[target].setFloat(acos(ratio))
| `- error: cannot find 'acos' in scope
34 | }
35 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/AngleBetween3D.swift:37:43: error: cannot find 'acos' in scope
35 | var ratio = (ax * bx + ay * by + az * bz) / (al * bl)
36 | if ratio > 1 { ratio = 1 } else if ratio < -1 { ratio = -1 }
37 | return registers[target].setFloat(acos(ratio))
| `- error: cannot find 'acos' in scope
38 | }
39 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Asin.swift:15:43: error: cannot find 'asin' in scope
13 | func executeAsin(_ target: Int, _ x: Int) {
14 | guard registers[x].isNumeric, !registers[x].hasUnit else { return registers[target].setNothing() }
15 | return registers[target].setFloat(asin(registers[x].asNumber))
| `- error: cannot find 'asin' in scope
16 | }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Atan.swift:15:43: error: cannot find 'atan' in scope
13 | func executeAtan(_ target: Int, _ x: Int) {
14 | guard registers[x].isNumeric, !registers[x].hasUnit else { return registers[target].setNothing() }
15 | return registers[target].setFloat(atan(registers[x].asNumber))
| `- error: cannot find 'atan' in scope
16 | }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Atan2.swift:15:106: error: cannot find 'atan2' in scope
13 | func executeAtan2(_ target: Int, _ x: Int, _ y: Int) {
14 | if !registers[x].isNumeric || !registers[y].isNumeric || registers[x].unit != registers[y].unit { return registers[target].setNothing() }
15 | return registers[target].setFloat(registers[x].asNumber == 0 && registers[y].asNumber == 0 ? 0 : atan2(registers[x].asNumber, registers[y].asNumber))
| `- error: cannot find 'atan2' in scope
16 | }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Cos.swift:16:43: error: cannot find 'cos' in scope
14 | guard registers[x].isNumeric, registers[x].unit == .none || registers[x].unit == .degree else { return registers[target].setNothing() }
15 | let n = registers[x].unit == .degree ? registers[x].asNumber / 180 * Double.pi : registers[x].asNumber
16 | return registers[target].setFloat(cos(n))
| `- error: cannot find 'cos' in scope
17 | }
18 | }
[122/542] Compiling GameEventScriptRuntime DegreeToRadians.swift
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Acos.swift:15:43: error: cannot find 'acos' in scope
13 | func executeAcos(_ target: Int, _ x: Int) {
14 | guard registers[x].isNumeric, !registers[x].hasUnit else { return registers[target].setNothing() }
15 | return registers[target].setFloat(acos(registers[x].asNumber))
| `- error: cannot find 'acos' in scope
16 | }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/AngleBetween.swift:27:43: error: cannot find 'acos' in scope
25 | var ratio = (ax * bx + ay * by + az * bz) / (al * bl)
26 | if ratio > 1 { ratio = 1 } else if ratio < -1 { ratio = -1 }
27 | return registers[target].setFloat(acos(ratio))
| `- error: cannot find 'acos' in scope
28 | }
29 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/AngleBetween2D.swift:33:43: error: cannot find 'acos' in scope
31 | var ratio = (ax * bx + ay * by + az * bz) / (al * bl)
32 | if ratio > 1 { ratio = 1 } else if ratio < -1 { ratio = -1 }
33 | return registers[target].setFloat(acos(ratio))
| `- error: cannot find 'acos' in scope
34 | }
35 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/AngleBetween3D.swift:37:43: error: cannot find 'acos' in scope
35 | var ratio = (ax * bx + ay * by + az * bz) / (al * bl)
36 | if ratio > 1 { ratio = 1 } else if ratio < -1 { ratio = -1 }
37 | return registers[target].setFloat(acos(ratio))
| `- error: cannot find 'acos' in scope
38 | }
39 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Asin.swift:15:43: error: cannot find 'asin' in scope
13 | func executeAsin(_ target: Int, _ x: Int) {
14 | guard registers[x].isNumeric, !registers[x].hasUnit else { return registers[target].setNothing() }
15 | return registers[target].setFloat(asin(registers[x].asNumber))
| `- error: cannot find 'asin' in scope
16 | }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Atan.swift:15:43: error: cannot find 'atan' in scope
13 | func executeAtan(_ target: Int, _ x: Int) {
14 | guard registers[x].isNumeric, !registers[x].hasUnit else { return registers[target].setNothing() }
15 | return registers[target].setFloat(atan(registers[x].asNumber))
| `- error: cannot find 'atan' in scope
16 | }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Atan2.swift:15:106: error: cannot find 'atan2' in scope
13 | func executeAtan2(_ target: Int, _ x: Int, _ y: Int) {
14 | if !registers[x].isNumeric || !registers[y].isNumeric || registers[x].unit != registers[y].unit { return registers[target].setNothing() }
15 | return registers[target].setFloat(registers[x].asNumber == 0 && registers[y].asNumber == 0 ? 0 : atan2(registers[x].asNumber, registers[y].asNumber))
| `- error: cannot find 'atan2' in scope
16 | }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Cos.swift:16:43: error: cannot find 'cos' in scope
14 | guard registers[x].isNumeric, registers[x].unit == .none || registers[x].unit == .degree else { return registers[target].setNothing() }
15 | let n = registers[x].unit == .degree ? registers[x].asNumber / 180 * Double.pi : registers[x].asNumber
16 | return registers[target].setFloat(cos(n))
| `- error: cannot find 'cos' in scope
17 | }
18 | }
[123/542] Compiling GameEventScriptRuntime Distance.swift
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Acos.swift:15:43: error: cannot find 'acos' in scope
13 | func executeAcos(_ target: Int, _ x: Int) {
14 | guard registers[x].isNumeric, !registers[x].hasUnit else { return registers[target].setNothing() }
15 | return registers[target].setFloat(acos(registers[x].asNumber))
| `- error: cannot find 'acos' in scope
16 | }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/AngleBetween.swift:27:43: error: cannot find 'acos' in scope
25 | var ratio = (ax * bx + ay * by + az * bz) / (al * bl)
26 | if ratio > 1 { ratio = 1 } else if ratio < -1 { ratio = -1 }
27 | return registers[target].setFloat(acos(ratio))
| `- error: cannot find 'acos' in scope
28 | }
29 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/AngleBetween2D.swift:33:43: error: cannot find 'acos' in scope
31 | var ratio = (ax * bx + ay * by + az * bz) / (al * bl)
32 | if ratio > 1 { ratio = 1 } else if ratio < -1 { ratio = -1 }
33 | return registers[target].setFloat(acos(ratio))
| `- error: cannot find 'acos' in scope
34 | }
35 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/AngleBetween3D.swift:37:43: error: cannot find 'acos' in scope
35 | var ratio = (ax * bx + ay * by + az * bz) / (al * bl)
36 | if ratio > 1 { ratio = 1 } else if ratio < -1 { ratio = -1 }
37 | return registers[target].setFloat(acos(ratio))
| `- error: cannot find 'acos' in scope
38 | }
39 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Asin.swift:15:43: error: cannot find 'asin' in scope
13 | func executeAsin(_ target: Int, _ x: Int) {
14 | guard registers[x].isNumeric, !registers[x].hasUnit else { return registers[target].setNothing() }
15 | return registers[target].setFloat(asin(registers[x].asNumber))
| `- error: cannot find 'asin' in scope
16 | }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Atan.swift:15:43: error: cannot find 'atan' in scope
13 | func executeAtan(_ target: Int, _ x: Int) {
14 | guard registers[x].isNumeric, !registers[x].hasUnit else { return registers[target].setNothing() }
15 | return registers[target].setFloat(atan(registers[x].asNumber))
| `- error: cannot find 'atan' in scope
16 | }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Atan2.swift:15:106: error: cannot find 'atan2' in scope
13 | func executeAtan2(_ target: Int, _ x: Int, _ y: Int) {
14 | if !registers[x].isNumeric || !registers[y].isNumeric || registers[x].unit != registers[y].unit { return registers[target].setNothing() }
15 | return registers[target].setFloat(registers[x].asNumber == 0 && registers[y].asNumber == 0 ? 0 : atan2(registers[x].asNumber, registers[y].asNumber))
| `- error: cannot find 'atan2' in scope
16 | }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Cos.swift:16:43: error: cannot find 'cos' in scope
14 | guard registers[x].isNumeric, registers[x].unit == .none || registers[x].unit == .degree else { return registers[target].setNothing() }
15 | let n = registers[x].unit == .degree ? registers[x].asNumber / 180 * Double.pi : registers[x].asNumber
16 | return registers[target].setFloat(cos(n))
| `- error: cannot find 'cos' in scope
17 | }
18 | }
[124/542] Compiling GameEventScriptRuntime Distance2D.swift
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Acos.swift:15:43: error: cannot find 'acos' in scope
13 | func executeAcos(_ target: Int, _ x: Int) {
14 | guard registers[x].isNumeric, !registers[x].hasUnit else { return registers[target].setNothing() }
15 | return registers[target].setFloat(acos(registers[x].asNumber))
| `- error: cannot find 'acos' in scope
16 | }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/AngleBetween.swift:27:43: error: cannot find 'acos' in scope
25 | var ratio = (ax * bx + ay * by + az * bz) / (al * bl)
26 | if ratio > 1 { ratio = 1 } else if ratio < -1 { ratio = -1 }
27 | return registers[target].setFloat(acos(ratio))
| `- error: cannot find 'acos' in scope
28 | }
29 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/AngleBetween2D.swift:33:43: error: cannot find 'acos' in scope
31 | var ratio = (ax * bx + ay * by + az * bz) / (al * bl)
32 | if ratio > 1 { ratio = 1 } else if ratio < -1 { ratio = -1 }
33 | return registers[target].setFloat(acos(ratio))
| `- error: cannot find 'acos' in scope
34 | }
35 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/AngleBetween3D.swift:37:43: error: cannot find 'acos' in scope
35 | var ratio = (ax * bx + ay * by + az * bz) / (al * bl)
36 | if ratio > 1 { ratio = 1 } else if ratio < -1 { ratio = -1 }
37 | return registers[target].setFloat(acos(ratio))
| `- error: cannot find 'acos' in scope
38 | }
39 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Asin.swift:15:43: error: cannot find 'asin' in scope
13 | func executeAsin(_ target: Int, _ x: Int) {
14 | guard registers[x].isNumeric, !registers[x].hasUnit else { return registers[target].setNothing() }
15 | return registers[target].setFloat(asin(registers[x].asNumber))
| `- error: cannot find 'asin' in scope
16 | }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Atan.swift:15:43: error: cannot find 'atan' in scope
13 | func executeAtan(_ target: Int, _ x: Int) {
14 | guard registers[x].isNumeric, !registers[x].hasUnit else { return registers[target].setNothing() }
15 | return registers[target].setFloat(atan(registers[x].asNumber))
| `- error: cannot find 'atan' in scope
16 | }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Atan2.swift:15:106: error: cannot find 'atan2' in scope
13 | func executeAtan2(_ target: Int, _ x: Int, _ y: Int) {
14 | if !registers[x].isNumeric || !registers[y].isNumeric || registers[x].unit != registers[y].unit { return registers[target].setNothing() }
15 | return registers[target].setFloat(registers[x].asNumber == 0 && registers[y].asNumber == 0 ? 0 : atan2(registers[x].asNumber, registers[y].asNumber))
| `- error: cannot find 'atan2' in scope
16 | }
17 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Runtime/Vm/Opcodes/Math/Cos.swift:16:43: error: cannot find 'cos' in scope
14 | guard registers[x].isNumeric, registers[x].unit == .none || registers[x].unit == .degree else { return registers[target].setNothing() }
15 | let n = registers[x].unit == .degree ? registers[x].asNumber / 180 * Double.pi : registers[x].asNumber
16 | return registers[target].setFloat(cos(n))
| `- error: cannot find 'cos' in scope
17 | }
18 | }
[149/590] Compiling GameEventScriptRuntime LinkedProgram.swift
[150/590] Compiling GameEventScriptRuntime DataConstruction.swift
[151/590] Compiling GameEventScriptRuntime DocumentReading.swift
[152/590] Compiling GameEventScriptRuntime LiteralEvaluation.swift
[153/590] Compiling GameEventScriptRuntime LiteralParser.swift
[154/590] Compiling GameEventScriptRuntime Cartesian.swift
[155/590] Compiling GameEventScriptRuntime Contains.swift
[156/590] Compiling GameEventScriptRuntime ContainsAll.swift
[157/590] Compiling GameEventScriptRuntime ContainsAny.swift
[158/590] Compiling GameEventScriptRuntime ContainsValue.swift
[159/590] Compiling GameEventScriptRuntime Count.swift
[160/590] Compiling GameEventScriptRuntime Distinct.swift
[161/590] Compiling GameEventScriptRuntime DropFirst.swift
[162/590] Compiling GameEventScriptRuntime DropHighest.swift
[163/590] Compiling GameEventScriptRuntime DropLast.swift
[164/590] Compiling GameEventScriptRuntime DropLowest.swift
[165/590] Compiling GameEventScriptRuntime EndsWith.swift
[166/590] Compiling GameEventScriptRuntime EntriesOfMap.swift
[167/590] Compiling GameEventScriptRuntime First.swift
[168/590] Compiling GameEventScriptRuntime HasAll.swift
[169/590] Compiling GameEventScriptRuntime HasAny.swift
[170/590] Compiling GameEventScriptRuntime HasPattern.swift
[171/590] Compiling GameEventScriptRuntime Intersect.swift
[172/590] Compiling GameEventScriptRuntime IteratorCreate.swift
[173/590] Compiling GameEventScriptRuntime MessageJson.swift
[174/590] Compiling GameEventScriptRuntime MessageNames.swift
[175/590] Compiling GameEventScriptRuntime MessageSignature.swift
[176/590] Compiling GameEventScriptRuntime Profiler.swift
[177/590] Compiling GameEventScriptRuntime ProgramFormat.swift
[178/590] Compiling GameEventScriptRuntime ProgramReader.swift
[179/590] Compiling GameEventScriptRuntime ProgramWriter.swift
[180/590] Compiling GameEventScriptRuntime Bytecode.swift
[181/590] Compiling GameEventScriptRuntime BytecodeOperands.swift
[182/590] Compiling GameEventScriptRuntime DebugInfoOptions.swift
[183/590] Compiling GameEventScriptRuntime Program.swift
[184/590] Compiling GameEventScriptRuntime ProgramDumper.swift
[185/590] Compiling GameEventScriptRuntime ProgramEncoding.swift
[186/590] Compiling GameEventScriptRuntime ProgramCallGraphValidator.swift
[187/590] Compiling GameEventScriptRuntime ProgramDebugValidator.swift
[188/590] Compiling GameEventScriptRuntime ProgramInternalValueValidator.swift
[189/590] Compiling GameEventScriptRuntime ProgramResourceValidator.swift
[190/590] Compiling GameEventScriptRuntime ProgramValidator.swift
[191/590] Compiling GameEventScriptRuntime RandomGenerator.swift
[192/590] Compiling GameEventScriptRuntime Bits.swift
[193/590] Compiling GameEventScriptRuntime Schema.swift
[194/590] Compiling GameEventScriptRuntime SchemaBinder.swift
[195/590] Compiling GameEventScriptRuntime SchemaDelta.swift
[196/590] Compiling GameEventScriptRuntime SchemaDocumentCheck.swift
[197/614] 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 | }
[198/614] 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 | }
[199/614] 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 | }
[200/614] 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 | }
[201/614] 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 | }
[202/614] 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 | }
[203/614] 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 | }
[204/614] 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 | }
[205/614] 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 | }
[206/614] 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 | }
[207/614] 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 | }
[208/614] 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 | }
[209/614] 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 | }
[210/614] 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 | }
[211/614] 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 | }
[212/614] 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 | }
[213/614] 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 | }
[214/614] 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 | }
[215/614] 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 | }
[216/614] 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 | }
[217/614] 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 | }
[218/614] 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 | }
[219/614] 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 | }
[220/614] 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 | }
[221/638] Compiling GameEventScriptRuntime IteratorNext.swift
[222/638] Compiling GameEventScriptRuntime KeysOfMap.swift
[223/638] Compiling GameEventScriptRuntime Last.swift
[224/638] Compiling GameEventScriptRuntime OneRandom.swift
[225/638] Compiling GameEventScriptRuntime OneWeighted.swift
[226/638] Compiling GameEventScriptRuntime Reverse.swift
[227/638] Compiling GameEventScriptRuntime Shuffle.swift
[228/638] Compiling GameEventScriptRuntime Single.swift
[229/638] Compiling GameEventScriptRuntime SortAscending.swift
[230/638] Compiling GameEventScriptRuntime SortDescending.swift
[231/638] Compiling GameEventScriptRuntime StartsWith.swift
[232/638] Compiling GameEventScriptRuntime CreateIterator.swift
[233/638] Compiling GameEventScriptRuntime CreateRange.swift
[234/638] Compiling GameEventScriptRuntime GesCollectionOperators.swift
[235/638] Compiling GameEventScriptRuntime GesComponentIterator.swift
[236/638] Compiling GameEventScriptRuntime GesEntriesIterator.swift
[237/638] Compiling GameEventScriptRuntime GesMultisetIterator.swift
[238/638] Compiling GameEventScriptRuntime GesProductIterator.swift
[239/638] Compiling GameEventScriptRuntime GesUnionIterator.swift
[240/638] Compiling GameEventScriptRuntime GesValueCollectionAccess.swift
[241/638] Compiling GameEventScriptRuntime SelectionOrder.swift
[242/638] Compiling GameEventScriptRuntime VmCompoundSources.swift
[243/638] Compiling GameEventScriptRuntime TakeFirst.swift
[244/638] Compiling GameEventScriptRuntime TakeHighest.swift
[245/638] Compiling GameEventScriptRuntime ExternalTypeCatalogProtocol.swift
[246/638] Compiling GameEventScriptRuntime ExternalTypeConstructorDefinition.swift
[247/638] Compiling GameEventScriptRuntime ExternalTypeConstructorReference.swift
[248/638] Compiling GameEventScriptRuntime ExternalTypeDefinition.swift
[249/638] Compiling GameEventScriptRuntime ExternalTypeFieldDefinition.swift
[250/638] Compiling GameEventScriptRuntime ExternalTypeParameterDefinition.swift
[251/638] Compiling GameEventScriptRuntime ExternalValue.swift
[252/638] Compiling GameEventScriptRuntime NativeMessageHandler.swift
[253/638] Compiling GameEventScriptRuntime PublishSink.swift
[254/638] Compiling GameEventScriptRuntime DeferredPublication.swift
[255/638] Compiling GameEventScriptRuntime DelayedMessage.swift
[256/638] Compiling GameEventScriptRuntime MessageQueue.swift
[257/638] Compiling GameEventScriptRuntime PendingMessage.swift
[258/638] Compiling GameEventScriptRuntime SubscriptionEntry.swift
[259/638] Compiling GameEventScriptRuntime Host.swift
[260/638] Compiling GameEventScriptRuntime HostBuilder.swift
[261/638] Compiling GameEventScriptRuntime Instance.swift
[262/638] Compiling GameEventScriptRuntime ExecutionResult.swift
[263/638] Compiling GameEventScriptRuntime ExecutionState.swift
[264/638] Compiling GameEventScriptRuntime StartResult.swift
[265/638] Compiling GameEventScriptRuntime StartState.swift
[266/638] Compiling GameEventScriptRuntime Subscription.swift
[267/638] Compiling GameEventScriptRuntime GesSignatureStorage.swift
[268/638] Compiling GameEventScriptRuntime Message.swift
[269/638] Compiling GameEventScriptRuntime MessageArguments.swift
[294/638] Compiling GameEventScriptRuntime Normalize3D.swift
[295/638] Compiling GameEventScriptRuntime Power.swift
[296/638] Compiling GameEventScriptRuntime RandomTake.swift
[297/638] Compiling GameEventScriptRuntime RandomTakeFloat.swift
[298/638] Compiling GameEventScriptRuntime Remainder.swift
[299/638] Compiling GameEventScriptRuntime RoundHalfDown.swift
[300/638] Compiling GameEventScriptRuntime RoundHalfEven.swift
[301/638] Compiling GameEventScriptRuntime RoundHalfUp.swift
[302/638] Compiling GameEventScriptRuntime Sin.swift
[303/638] Compiling GameEventScriptRuntime Subtract.swift
[304/638] Compiling GameEventScriptRuntime CreateSpatial.swift
[305/638] Compiling GameEventScriptRuntime GesMath.swift
[306/638] Compiling GameEventScriptRuntime PercentageUnits.swift
[307/638] Compiling GameEventScriptRuntime SeriesTerm.swift
[308/638] Compiling GameEventScriptRuntime VmComparison.swift
[309/638] Compiling GameEventScriptRuntime Tan.swift
[310/638] Compiling GameEventScriptRuntime Term.swift
[311/638] Compiling GameEventScriptRuntime Truncate.swift
[312/638] Compiling GameEventScriptRuntime WrapDegree.swift
[313/638] Compiling GameEventScriptRuntime RegisterFile.swift
[314/638] Compiling GameEventScriptRuntime RegisterOutput.swift
[315/638] Compiling GameEventScriptRuntime SourceCallSites.swift
[316/638] Compiling GameEventScriptRuntime VirtualMachine.swift
[317/638] 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 | }
/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 | }
/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 | }
/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 | }
/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 | }
/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 | }
/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 | }
/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 | }
/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 | }
/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 | }
/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 | }
/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 | }
/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 | }
/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 | }
/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 | }
/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 | }
/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 | }
/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 | }
/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 | }
/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 | }
/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 | }
/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 | }
/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 | }
/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 | }
[342/638] Emitting module SwiftSyntax
[368/638] Compiling GameEventScriptRuntime TakeLast.swift
[369/638] Compiling GameEventScriptRuntime TakeLowest.swift
[370/638] Compiling GameEventScriptRuntime TakePattern.swift
[371/638] Compiling GameEventScriptRuntime TakeRandom.swift
[372/638] Compiling GameEventScriptRuntime TakeWeighted.swift
[373/638] Compiling GameEventScriptRuntime Union.swift
[374/638] Compiling GameEventScriptRuntime ValuesOfMap.swift
[375/638] Compiling GameEventScriptRuntime Zip.swift
[376/638] Compiling GameEventScriptRuntime And.swift
[377/638] Compiling GameEventScriptRuntime CallExternal.swift
[378/638] Compiling GameEventScriptRuntime CreateExternalType.swift
[379/638] Compiling GameEventScriptRuntime EmitOrPublishMessage.swift
[380/638] Compiling GameEventScriptRuntime Equal.swift
[381/638] Compiling GameEventScriptRuntime Greater.swift
[382/638] Compiling GameEventScriptRuntime GreaterOrEqual.swift
[383/638] Compiling GameEventScriptRuntime Implies.swift
[384/638] Compiling GameEventScriptRuntime Less.swift
[385/638] Compiling GameEventScriptRuntime LessOrEqual.swift
[386/638] Compiling GameEventScriptRuntime Not.swift
[387/638] Compiling GameEventScriptRuntime NotEqual.swift
[388/638] Compiling GameEventScriptRuntime Or.swift
[389/638] Compiling GameEventScriptRuntime Send.swift
[390/638] Compiling GameEventScriptRuntime GesCallbacks.swift
[391/638] Compiling GameEventScriptRuntime GesCasts.swift
[392/638] Compiling GameEventScriptRuntime MessageError.swift
[393/638] Compiling GameEventScriptRuntime CompilerSupport.swift
[394/638] Compiling GameEventScriptRuntime Context.swift
[395/638] Compiling GameEventScriptRuntime ExtensionFault.swift
[396/638] Compiling GameEventScriptRuntime ExtensionFunction.swift
[397/638] Compiling GameEventScriptRuntime ExtensionRegistry.swift
[398/638] Compiling GameEventScriptRuntime ExternalTypeConstructor.swift
[399/638] Compiling GameEventScriptRuntime ExternalTypeRegistry.swift
[400/638] Compiling GameEventScriptRuntime PublishResult.swift
[401/638] Compiling GameEventScriptRuntime RuntimeLimits.swift
[402/638] Compiling GameEventScriptRuntime RuntimeObserver.swift
[403/638] Compiling GameEventScriptRuntime APIError.swift
[404/638] Compiling GameEventScriptRuntime Diagnostic.swift
[405/638] Compiling GameEventScriptRuntime DiagnosticCodes.swift
[406/638] Compiling GameEventScriptRuntime DiagnosticPhase.swift
[407/638] Compiling GameEventScriptRuntime DynamicLinkError.swift
[408/638] Compiling GameEventScriptRuntime LiteralLimitError.swift
[409/638] Compiling GameEventScriptRuntime RuntimeError.swift
[410/638] Compiling GameEventScriptRuntime SourceLocation.swift
[411/638] Compiling GameEventScriptRuntime SymbolKind.swift
[412/638] Compiling GameEventScriptRuntime Document.swift
[413/638] Compiling GameEventScriptRuntime ExtensionCall.swift
[414/638] Compiling GameEventScriptRuntime ExtensionReference.swift
[415/638] Compiling GameEventScriptRuntime ExternalTypeConstructorCall.swift
[416/638] Compiling GameEventScriptRuntime ExternalTypeCatalog.swift
[441/638] Compiling GameEventScriptRuntime Clock.swift
[442/638] Compiling GameEventScriptRuntime SchemaDump.swift
[443/638] Compiling GameEventScriptRuntime SchemaErrors.swift
[444/638] Compiling GameEventScriptRuntime SchemaSet.swift
[445/638] Compiling GameEventScriptRuntime SchemaValues.swift
[446/638] Compiling GameEventScriptRuntime SchemaWire.swift
[447/638] Compiling GameEventScriptRuntime WireRules.swift
[448/638] Compiling GameEventScriptRuntime SyntaxExports.swift
[449/638] Compiling GameEventScriptRuntime GesSha256.swift
[450/638] Compiling GameEventScriptRuntime RuntimeBudget.swift
[451/638] Compiling GameEventScriptRuntime DocumentFormatter.swift
[452/638] Compiling GameEventScriptRuntime ExternalNames.swift
[453/638] Compiling GameEventScriptRuntime ExternalStorage.swift
[454/638] Compiling GameEventScriptRuntime GesCollectionBuilder.swift
[455/638] Compiling GameEventScriptRuntime GesIterator.swift
[456/638] Compiling GameEventScriptRuntime GesNumber.swift
[457/638] Compiling GameEventScriptRuntime GesRange.swift
[458/638] Compiling GameEventScriptRuntime GesUtf8.swift
[459/638] Compiling GameEventScriptRuntime GesValue.swift
[460/638] Compiling GameEventScriptRuntime GesValueMap.swift
[461/638] Compiling GameEventScriptRuntime Json.swift
[462/638] Compiling GameEventScriptRuntime TextNumberCast.swift
[463/638] Compiling GameEventScriptRuntime ValueArguments.swift
[464/638] Compiling GameEventScriptRuntime ValueFactory.swift
[465/638] Compiling GameEventScriptRuntime ValueLiteral.swift
[466/638] Compiling GameEventScriptRuntime ValueOutput.swift
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:28:21: error: cannot find 'timespec' in scope
26 | enum GesSystemClock {
27 | static func read() -> Int64 {
28 | var value = timespec()
| `- error: cannot find 'timespec' in scope
29 | clock_gettime(CLOCK_MONOTONIC, &value)
30 | return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:29:9: error: cannot find 'clock_gettime' in scope
27 | static func read() -> Int64 {
28 | var value = timespec()
29 | clock_gettime(CLOCK_MONOTONIC, &value)
| `- error: cannot find 'clock_gettime' in scope
30 | return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
31 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:29:23: error: cannot find 'CLOCK_MONOTONIC' in scope
27 | static func read() -> Int64 {
28 | var value = timespec()
29 | clock_gettime(CLOCK_MONOTONIC, &value)
| `- error: cannot find 'CLOCK_MONOTONIC' in scope
30 | return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
31 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:28:21: error: cannot find 'timespec' in scope
26 | enum GesSystemClock {
27 | static func read() -> Int64 {
28 | var value = timespec()
| `- error: cannot find 'timespec' in scope
29 | clock_gettime(CLOCK_MONOTONIC, &value)
30 | return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:29:9: error: cannot find 'clock_gettime' in scope
27 | static func read() -> Int64 {
28 | var value = timespec()
29 | clock_gettime(CLOCK_MONOTONIC, &value)
| `- error: cannot find 'clock_gettime' in scope
30 | return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
31 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:29:23: error: cannot find 'CLOCK_MONOTONIC' in scope
27 | static func read() -> Int64 {
28 | var value = timespec()
29 | clock_gettime(CLOCK_MONOTONIC, &value)
| `- error: cannot find 'CLOCK_MONOTONIC' in scope
30 | return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
31 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:28:21: error: cannot find 'timespec' in scope
26 | enum GesSystemClock {
27 | static func read() -> Int64 {
28 | var value = timespec()
| `- error: cannot find 'timespec' in scope
29 | clock_gettime(CLOCK_MONOTONIC, &value)
30 | return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:29:9: error: cannot find 'clock_gettime' in scope
27 | static func read() -> Int64 {
28 | var value = timespec()
29 | clock_gettime(CLOCK_MONOTONIC, &value)
| `- error: cannot find 'clock_gettime' in scope
30 | return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
31 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:29:23: error: cannot find 'CLOCK_MONOTONIC' in scope
27 | static func read() -> Int64 {
28 | var value = timespec()
29 | clock_gettime(CLOCK_MONOTONIC, &value)
| `- error: cannot find 'CLOCK_MONOTONIC' in scope
30 | return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
31 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:28:21: error: cannot find 'timespec' in scope
26 | enum GesSystemClock {
27 | static func read() -> Int64 {
28 | var value = timespec()
| `- error: cannot find 'timespec' in scope
29 | clock_gettime(CLOCK_MONOTONIC, &value)
30 | return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:29:9: error: cannot find 'clock_gettime' in scope
27 | static func read() -> Int64 {
28 | var value = timespec()
29 | clock_gettime(CLOCK_MONOTONIC, &value)
| `- error: cannot find 'clock_gettime' in scope
30 | return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
31 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:29:23: error: cannot find 'CLOCK_MONOTONIC' in scope
27 | static func read() -> Int64 {
28 | var value = timespec()
29 | clock_gettime(CLOCK_MONOTONIC, &value)
| `- error: cannot find 'CLOCK_MONOTONIC' in scope
30 | return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
31 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:28:21: error: cannot find 'timespec' in scope
26 | enum GesSystemClock {
27 | static func read() -> Int64 {
28 | var value = timespec()
| `- error: cannot find 'timespec' in scope
29 | clock_gettime(CLOCK_MONOTONIC, &value)
30 | return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:29:9: error: cannot find 'clock_gettime' in scope
27 | static func read() -> Int64 {
28 | var value = timespec()
29 | clock_gettime(CLOCK_MONOTONIC, &value)
| `- error: cannot find 'clock_gettime' in scope
30 | return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
31 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:29:23: error: cannot find 'CLOCK_MONOTONIC' in scope
27 | static func read() -> Int64 {
28 | var value = timespec()
29 | clock_gettime(CLOCK_MONOTONIC, &value)
| `- error: cannot find 'CLOCK_MONOTONIC' in scope
30 | return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
31 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:28:21: error: cannot find 'timespec' in scope
26 | enum GesSystemClock {
27 | static func read() -> Int64 {
28 | var value = timespec()
| `- error: cannot find 'timespec' in scope
29 | clock_gettime(CLOCK_MONOTONIC, &value)
30 | return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:29:9: error: cannot find 'clock_gettime' in scope
27 | static func read() -> Int64 {
28 | var value = timespec()
29 | clock_gettime(CLOCK_MONOTONIC, &value)
| `- error: cannot find 'clock_gettime' in scope
30 | return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
31 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:29:23: error: cannot find 'CLOCK_MONOTONIC' in scope
27 | static func read() -> Int64 {
28 | var value = timespec()
29 | clock_gettime(CLOCK_MONOTONIC, &value)
| `- error: cannot find 'CLOCK_MONOTONIC' in scope
30 | return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
31 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:28:21: error: cannot find 'timespec' in scope
26 | enum GesSystemClock {
27 | static func read() -> Int64 {
28 | var value = timespec()
| `- error: cannot find 'timespec' in scope
29 | clock_gettime(CLOCK_MONOTONIC, &value)
30 | return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:29:9: error: cannot find 'clock_gettime' in scope
27 | static func read() -> Int64 {
28 | var value = timespec()
29 | clock_gettime(CLOCK_MONOTONIC, &value)
| `- error: cannot find 'clock_gettime' in scope
30 | return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
31 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:29:23: error: cannot find 'CLOCK_MONOTONIC' in scope
27 | static func read() -> Int64 {
28 | var value = timespec()
29 | clock_gettime(CLOCK_MONOTONIC, &value)
| `- error: cannot find 'CLOCK_MONOTONIC' in scope
30 | return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
31 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:28:21: error: cannot find 'timespec' in scope
26 | enum GesSystemClock {
27 | static func read() -> Int64 {
28 | var value = timespec()
| `- error: cannot find 'timespec' in scope
29 | clock_gettime(CLOCK_MONOTONIC, &value)
30 | return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:29:9: error: cannot find 'clock_gettime' in scope
27 | static func read() -> Int64 {
28 | var value = timespec()
29 | clock_gettime(CLOCK_MONOTONIC, &value)
| `- error: cannot find 'clock_gettime' in scope
30 | return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
31 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:29:23: error: cannot find 'CLOCK_MONOTONIC' in scope
27 | static func read() -> Int64 {
28 | var value = timespec()
29 | clock_gettime(CLOCK_MONOTONIC, &value)
| `- error: cannot find 'CLOCK_MONOTONIC' in scope
30 | return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
31 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:28:21: error: cannot find 'timespec' in scope
26 | enum GesSystemClock {
27 | static func read() -> Int64 {
28 | var value = timespec()
| `- error: cannot find 'timespec' in scope
29 | clock_gettime(CLOCK_MONOTONIC, &value)
30 | return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:29:9: error: cannot find 'clock_gettime' in scope
27 | static func read() -> Int64 {
28 | var value = timespec()
29 | clock_gettime(CLOCK_MONOTONIC, &value)
| `- error: cannot find 'clock_gettime' in scope
30 | return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
31 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:29:23: error: cannot find 'CLOCK_MONOTONIC' in scope
27 | static func read() -> Int64 {
28 | var value = timespec()
29 | clock_gettime(CLOCK_MONOTONIC, &value)
| `- error: cannot find 'CLOCK_MONOTONIC' in scope
30 | return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
31 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:28:21: error: cannot find 'timespec' in scope
26 | enum GesSystemClock {
27 | static func read() -> Int64 {
28 | var value = timespec()
| `- error: cannot find 'timespec' in scope
29 | clock_gettime(CLOCK_MONOTONIC, &value)
30 | return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:29:9: error: cannot find 'clock_gettime' in scope
27 | static func read() -> Int64 {
28 | var value = timespec()
29 | clock_gettime(CLOCK_MONOTONIC, &value)
| `- error: cannot find 'clock_gettime' in scope
30 | return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
31 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:29:23: error: cannot find 'CLOCK_MONOTONIC' in scope
27 | static func read() -> Int64 {
28 | var value = timespec()
29 | clock_gettime(CLOCK_MONOTONIC, &value)
| `- error: cannot find 'CLOCK_MONOTONIC' in scope
30 | return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
31 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:28:21: error: cannot find 'timespec' in scope
26 | enum GesSystemClock {
27 | static func read() -> Int64 {
28 | var value = timespec()
| `- error: cannot find 'timespec' in scope
29 | clock_gettime(CLOCK_MONOTONIC, &value)
30 | return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:29:9: error: cannot find 'clock_gettime' in scope
27 | static func read() -> Int64 {
28 | var value = timespec()
29 | clock_gettime(CLOCK_MONOTONIC, &value)
| `- error: cannot find 'clock_gettime' in scope
30 | return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
31 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:29:23: error: cannot find 'CLOCK_MONOTONIC' in scope
27 | static func read() -> Int64 {
28 | var value = timespec()
29 | clock_gettime(CLOCK_MONOTONIC, &value)
| `- error: cannot find 'CLOCK_MONOTONIC' in scope
30 | return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
31 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:28:21: error: cannot find 'timespec' in scope
26 | enum GesSystemClock {
27 | static func read() -> Int64 {
28 | var value = timespec()
| `- error: cannot find 'timespec' in scope
29 | clock_gettime(CLOCK_MONOTONIC, &value)
30 | return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:29:9: error: cannot find 'clock_gettime' in scope
27 | static func read() -> Int64 {
28 | var value = timespec()
29 | clock_gettime(CLOCK_MONOTONIC, &value)
| `- error: cannot find 'clock_gettime' in scope
30 | return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
31 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:29:23: error: cannot find 'CLOCK_MONOTONIC' in scope
27 | static func read() -> Int64 {
28 | var value = timespec()
29 | clock_gettime(CLOCK_MONOTONIC, &value)
| `- error: cannot find 'CLOCK_MONOTONIC' in scope
30 | return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
31 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:28:21: error: cannot find 'timespec' in scope
26 | enum GesSystemClock {
27 | static func read() -> Int64 {
28 | var value = timespec()
| `- error: cannot find 'timespec' in scope
29 | clock_gettime(CLOCK_MONOTONIC, &value)
30 | return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:29:9: error: cannot find 'clock_gettime' in scope
27 | static func read() -> Int64 {
28 | var value = timespec()
29 | clock_gettime(CLOCK_MONOTONIC, &value)
| `- error: cannot find 'clock_gettime' in scope
30 | return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
31 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:29:23: error: cannot find 'CLOCK_MONOTONIC' in scope
27 | static func read() -> Int64 {
28 | var value = timespec()
29 | clock_gettime(CLOCK_MONOTONIC, &value)
| `- error: cannot find 'CLOCK_MONOTONIC' in scope
30 | return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
31 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:28:21: error: cannot find 'timespec' in scope
26 | enum GesSystemClock {
27 | static func read() -> Int64 {
28 | var value = timespec()
| `- error: cannot find 'timespec' in scope
29 | clock_gettime(CLOCK_MONOTONIC, &value)
30 | return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:29:9: error: cannot find 'clock_gettime' in scope
27 | static func read() -> Int64 {
28 | var value = timespec()
29 | clock_gettime(CLOCK_MONOTONIC, &value)
| `- error: cannot find 'clock_gettime' in scope
30 | return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
31 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:29:23: error: cannot find 'CLOCK_MONOTONIC' in scope
27 | static func read() -> Int64 {
28 | var value = timespec()
29 | clock_gettime(CLOCK_MONOTONIC, &value)
| `- error: cannot find 'CLOCK_MONOTONIC' in scope
30 | return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
31 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:28:21: error: cannot find 'timespec' in scope
26 | enum GesSystemClock {
27 | static func read() -> Int64 {
28 | var value = timespec()
| `- error: cannot find 'timespec' in scope
29 | clock_gettime(CLOCK_MONOTONIC, &value)
30 | return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:29:9: error: cannot find 'clock_gettime' in scope
27 | static func read() -> Int64 {
28 | var value = timespec()
29 | clock_gettime(CLOCK_MONOTONIC, &value)
| `- error: cannot find 'clock_gettime' in scope
30 | return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
31 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:29:23: error: cannot find 'CLOCK_MONOTONIC' in scope
27 | static func read() -> Int64 {
28 | var value = timespec()
29 | clock_gettime(CLOCK_MONOTONIC, &value)
| `- error: cannot find 'CLOCK_MONOTONIC' in scope
30 | return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
31 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:28:21: error: cannot find 'timespec' in scope
26 | enum GesSystemClock {
27 | static func read() -> Int64 {
28 | var value = timespec()
| `- error: cannot find 'timespec' in scope
29 | clock_gettime(CLOCK_MONOTONIC, &value)
30 | return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:29:9: error: cannot find 'clock_gettime' in scope
27 | static func read() -> Int64 {
28 | var value = timespec()
29 | clock_gettime(CLOCK_MONOTONIC, &value)
| `- error: cannot find 'clock_gettime' in scope
30 | return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
31 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:29:23: error: cannot find 'CLOCK_MONOTONIC' in scope
27 | static func read() -> Int64 {
28 | var value = timespec()
29 | clock_gettime(CLOCK_MONOTONIC, &value)
| `- error: cannot find 'CLOCK_MONOTONIC' in scope
30 | return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
31 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:28:21: error: cannot find 'timespec' in scope
26 | enum GesSystemClock {
27 | static func read() -> Int64 {
28 | var value = timespec()
| `- error: cannot find 'timespec' in scope
29 | clock_gettime(CLOCK_MONOTONIC, &value)
30 | return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:29:9: error: cannot find 'clock_gettime' in scope
27 | static func read() -> Int64 {
28 | var value = timespec()
29 | clock_gettime(CLOCK_MONOTONIC, &value)
| `- error: cannot find 'clock_gettime' in scope
30 | return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
31 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:29:23: error: cannot find 'CLOCK_MONOTONIC' in scope
27 | static func read() -> Int64 {
28 | var value = timespec()
29 | clock_gettime(CLOCK_MONOTONIC, &value)
| `- error: cannot find 'CLOCK_MONOTONIC' in scope
30 | return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
31 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:28:21: error: cannot find 'timespec' in scope
26 | enum GesSystemClock {
27 | static func read() -> Int64 {
28 | var value = timespec()
| `- error: cannot find 'timespec' in scope
29 | clock_gettime(CLOCK_MONOTONIC, &value)
30 | return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:29:9: error: cannot find 'clock_gettime' in scope
27 | static func read() -> Int64 {
28 | var value = timespec()
29 | clock_gettime(CLOCK_MONOTONIC, &value)
| `- error: cannot find 'clock_gettime' in scope
30 | return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
31 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:29:23: error: cannot find 'CLOCK_MONOTONIC' in scope
27 | static func read() -> Int64 {
28 | var value = timespec()
29 | clock_gettime(CLOCK_MONOTONIC, &value)
| `- error: cannot find 'CLOCK_MONOTONIC' in scope
30 | return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
31 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:28:21: error: cannot find 'timespec' in scope
26 | enum GesSystemClock {
27 | static func read() -> Int64 {
28 | var value = timespec()
| `- error: cannot find 'timespec' in scope
29 | clock_gettime(CLOCK_MONOTONIC, &value)
30 | return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:29:9: error: cannot find 'clock_gettime' in scope
27 | static func read() -> Int64 {
28 | var value = timespec()
29 | clock_gettime(CLOCK_MONOTONIC, &value)
| `- error: cannot find 'clock_gettime' in scope
30 | return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
31 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:29:23: error: cannot find 'CLOCK_MONOTONIC' in scope
27 | static func read() -> Int64 {
28 | var value = timespec()
29 | clock_gettime(CLOCK_MONOTONIC, &value)
| `- error: cannot find 'CLOCK_MONOTONIC' in scope
30 | return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
31 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:28:21: error: cannot find 'timespec' in scope
26 | enum GesSystemClock {
27 | static func read() -> Int64 {
28 | var value = timespec()
| `- error: cannot find 'timespec' in scope
29 | clock_gettime(CLOCK_MONOTONIC, &value)
30 | return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:29:9: error: cannot find 'clock_gettime' in scope
27 | static func read() -> Int64 {
28 | var value = timespec()
29 | clock_gettime(CLOCK_MONOTONIC, &value)
| `- error: cannot find 'clock_gettime' in scope
30 | return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
31 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:29:23: error: cannot find 'CLOCK_MONOTONIC' in scope
27 | static func read() -> Int64 {
28 | var value = timespec()
29 | clock_gettime(CLOCK_MONOTONIC, &value)
| `- error: cannot find 'CLOCK_MONOTONIC' in scope
30 | return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
31 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:28:21: error: cannot find 'timespec' in scope
26 | enum GesSystemClock {
27 | static func read() -> Int64 {
28 | var value = timespec()
| `- error: cannot find 'timespec' in scope
29 | clock_gettime(CLOCK_MONOTONIC, &value)
30 | return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:29:9: error: cannot find 'clock_gettime' in scope
27 | static func read() -> Int64 {
28 | var value = timespec()
29 | clock_gettime(CLOCK_MONOTONIC, &value)
| `- error: cannot find 'clock_gettime' in scope
30 | return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
31 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:29:23: error: cannot find 'CLOCK_MONOTONIC' in scope
27 | static func read() -> Int64 {
28 | var value = timespec()
29 | clock_gettime(CLOCK_MONOTONIC, &value)
| `- error: cannot find 'CLOCK_MONOTONIC' in scope
30 | return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
31 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:28:21: error: cannot find 'timespec' in scope
26 | enum GesSystemClock {
27 | static func read() -> Int64 {
28 | var value = timespec()
| `- error: cannot find 'timespec' in scope
29 | clock_gettime(CLOCK_MONOTONIC, &value)
30 | return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:29:9: error: cannot find 'clock_gettime' in scope
27 | static func read() -> Int64 {
28 | var value = timespec()
29 | clock_gettime(CLOCK_MONOTONIC, &value)
| `- error: cannot find 'clock_gettime' in scope
30 | return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
31 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:29:23: error: cannot find 'CLOCK_MONOTONIC' in scope
27 | static func read() -> Int64 {
28 | var value = timespec()
29 | clock_gettime(CLOCK_MONOTONIC, &value)
| `- error: cannot find 'CLOCK_MONOTONIC' in scope
30 | return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
31 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:28:21: error: cannot find 'timespec' in scope
26 | enum GesSystemClock {
27 | static func read() -> Int64 {
28 | var value = timespec()
| `- error: cannot find 'timespec' in scope
29 | clock_gettime(CLOCK_MONOTONIC, &value)
30 | return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:29:9: error: cannot find 'clock_gettime' in scope
27 | static func read() -> Int64 {
28 | var value = timespec()
29 | clock_gettime(CLOCK_MONOTONIC, &value)
| `- error: cannot find 'clock_gettime' in scope
30 | return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
31 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:29:23: error: cannot find 'CLOCK_MONOTONIC' in scope
27 | static func read() -> Int64 {
28 | var value = timespec()
29 | clock_gettime(CLOCK_MONOTONIC, &value)
| `- error: cannot find 'CLOCK_MONOTONIC' in scope
30 | return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
31 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:28:21: error: cannot find 'timespec' in scope
26 | enum GesSystemClock {
27 | static func read() -> Int64 {
28 | var value = timespec()
| `- error: cannot find 'timespec' in scope
29 | clock_gettime(CLOCK_MONOTONIC, &value)
30 | return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:29:9: error: cannot find 'clock_gettime' in scope
27 | static func read() -> Int64 {
28 | var value = timespec()
29 | clock_gettime(CLOCK_MONOTONIC, &value)
| `- error: cannot find 'clock_gettime' in scope
30 | return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
31 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:29:23: error: cannot find 'CLOCK_MONOTONIC' in scope
27 | static func read() -> Int64 {
28 | var value = timespec()
29 | clock_gettime(CLOCK_MONOTONIC, &value)
| `- error: cannot find 'CLOCK_MONOTONIC' in scope
30 | return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
31 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:28:21: error: cannot find 'timespec' in scope
26 | enum GesSystemClock {
27 | static func read() -> Int64 {
28 | var value = timespec()
| `- error: cannot find 'timespec' in scope
29 | clock_gettime(CLOCK_MONOTONIC, &value)
30 | return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:29:9: error: cannot find 'clock_gettime' in scope
27 | static func read() -> Int64 {
28 | var value = timespec()
29 | clock_gettime(CLOCK_MONOTONIC, &value)
| `- error: cannot find 'clock_gettime' in scope
30 | return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
31 | }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/Api/Clock.swift:29:23: error: cannot find 'CLOCK_MONOTONIC' in scope
27 | static func read() -> Int64 {
28 | var value = timespec()
29 | clock_gettime(CLOCK_MONOTONIC, &value)
| `- error: cannot find 'CLOCK_MONOTONIC' in scope
30 | return Int64(value.tv_sec) * 1_000_000 + Int64(value.tv_nsec) / 1_000
31 | }
BUILD FAILURE 6.1 wasm