Build Information
Failed to build GameEventScript, reference main (13510f), with Swift 6.3 for Android on 13 Oct 2026 08:53:18 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344843-1":/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:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/schloepke/GameEventScript.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/schloepke/GameEventScript
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 13510f0 Merge pull request #51 from schloepke/feature/central-conformance-runner
Cloned https://github.com/schloepke/GameEventScript.git
Revision (git rev-parse @):
13510f0d601c680c9d15eaf332850e71038863f1
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/schloepke/GameEventScript.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.3
Building package at path: $PWD
https://github.com/schloepke/GameEventScript.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-1":/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:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:a57e63703100e13e1ecb61b565870501ccb169d7515bc7af7f0994f211e1b1f6
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.3-latest
Fetching https://github.com/swiftlang/swift-syntax.git
[1/80472] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (4.62s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.1 (6.05s)
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 600.0.1
Building for debugging...
[0/49] Write sources
[23/49] Compiling _SwiftSyntaxCShims dummy.c
[24/49] Compiling TerminalSupport TerminalSupport.c
[25/49] Write swift-version-272D24FF697CF451.txt
[27/159] Emitting module GameEventScriptRuntime
[29/171] Compiling GameEventScriptRuntime ExternalTypes.swift
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/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/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/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 | }
[30/171] Compiling GameEventScriptRuntime GesNumber.swift
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/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/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/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 | }
[31/171] Compiling GameEventScriptRuntime GesRange.swift
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/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/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/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 | }
[32/171] Compiling GameEventScriptRuntime GesSha256.swift
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/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/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/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 | }
[33/171] Compiling GameEventScriptRuntime GesText.swift
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/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/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/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 | }
[34/171] Compiling GameEventScriptRuntime GesUtf8.swift
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/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/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/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 | }
[35/171] Compiling GameEventScriptRuntime GesValue.swift
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/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/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/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 | }
[36/171] Compiling GameEventScriptSyntaxHighlighter GameEventScriptAnsiRenderer.swift
[37/171] Emitting module GameEventScriptSyntaxHighlighter
[38/171] Compiling GameEventScriptSyntaxHighlighter HighlightingModel.swift
[39/171] Compiling GameEventScriptRuntime VmMath.swift
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/VmMath.swift:91:66: error: cannot find 'log' in scope
89 | if let av = a.integerValue, let bv = b.integerValue, let cv = upper.integerValue { return sink.integer(Swift.min(Swift.max(av, Swift.min(bv, cv)), Swift.max(bv, cv)), unit: a.unit) }
90 | return sink.float(Swift.min(Swift.max(a.asNumber, Swift.min(b.asNumber, upper.asNumber)), Swift.max(b.asNumber, upper.asNumber)), unit: a.unit)
91 | case .logN: return a.hasUnit ? sink.nothing : sink.float(log(a.asNumber))
| `- error: cannot find 'log' in scope
92 | case .exp: return a.hasUnit ? sink.nothing : sink.float(exp(a.asNumber))
93 | case .floor, .ceil, .truncate, .roundHalfEven, .roundHalfUp, .roundHalfDown:
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/VmMath.swift:92:65: error: cannot find 'exp' in scope
90 | return sink.float(Swift.min(Swift.max(a.asNumber, Swift.min(b.asNumber, upper.asNumber)), Swift.max(b.asNumber, upper.asNumber)), unit: a.unit)
91 | case .logN: return a.hasUnit ? sink.nothing : sink.float(log(a.asNumber))
92 | case .exp: return a.hasUnit ? sink.nothing : sink.float(exp(a.asNumber))
| `- error: cannot find 'exp' in scope
93 | case .floor, .ceil, .truncate, .roundHalfEven, .roundHalfUp, .roundHalfDown:
94 | if !a.isNumeric { return sink.nothing }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/VmMath.swift:253:31: error: cannot find 'pow' in scope
251 | if op == .power {
252 | if b.hasUnit || a.asNumber.isNaN || b.asNumber.isNaN || (a.hasUnit && b.asNumber != 0 && b.asNumber != 1) { return sink.nothing }
253 | return sink.float(pow(a.asNumber, b.asNumber), unit: b.asNumber == 1 ? a.unit : .none)
| `- error: cannot find 'pow' in scope
254 | }
255 | let unit: GesUnit?
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/VmNavigation.swift:19:44: error: cannot find 'sin' in scope
17 | guard a.isNumeric, a.unit == .none || a.unit == .degree else { return sink.nothing }
18 | let n = a.unit == .degree ? a.asNumber / 180 * Double.pi : a.asNumber
19 | return sink.float(op == .sin ? sin(n) : op == .cos ? cos(n) : tan(n))
| `- error: cannot find 'sin' in scope
20 | }
21 | if [.asin, .acos, .atan].contains(op) {
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/VmNavigation.swift:19:66: error: cannot find 'cos' in scope
17 | guard a.isNumeric, a.unit == .none || a.unit == .degree else { return sink.nothing }
18 | let n = a.unit == .degree ? a.asNumber / 180 * Double.pi : a.asNumber
19 | return sink.float(op == .sin ? sin(n) : op == .cos ? cos(n) : tan(n))
| `- error: cannot find 'cos' in scope
20 | }
21 | if [.asin, .acos, .atan].contains(op) {
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/VmNavigation.swift:19:75: error: cannot find 'tan' in scope
17 | guard a.isNumeric, a.unit == .none || a.unit == .degree else { return sink.nothing }
18 | let n = a.unit == .degree ? a.asNumber / 180 * Double.pi : a.asNumber
19 | return sink.float(op == .sin ? sin(n) : op == .cos ? cos(n) : tan(n))
| `- error: cannot find 'tan' in scope
20 | }
21 | if [.asin, .acos, .atan].contains(op) {
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/VmNavigation.swift:23:45: error: cannot find 'asin' in scope
21 | if [.asin, .acos, .atan].contains(op) {
22 | guard a.isNumeric, !a.hasUnit else { return sink.nothing }
23 | return sink.float(op == .asin ? asin(a.asNumber) : op == .acos ? acos(a.asNumber) : atan(a.asNumber))
| `- error: cannot find 'asin' in scope
24 | }
25 | if op == .lengthSquared {
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/VmNavigation.swift:23:78: error: cannot find 'acos' in scope
21 | if [.asin, .acos, .atan].contains(op) {
22 | guard a.isNumeric, !a.hasUnit else { return sink.nothing }
23 | return sink.float(op == .asin ? asin(a.asNumber) : op == .acos ? acos(a.asNumber) : atan(a.asNumber))
| `- error: cannot find 'acos' in scope
24 | }
25 | if op == .lengthSquared {
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/VmNavigation.swift:23:97: error: cannot find 'atan' in scope
21 | if [.asin, .acos, .atan].contains(op) {
22 | guard a.isNumeric, !a.hasUnit else { return sink.nothing }
23 | return sink.float(op == .asin ? asin(a.asNumber) : op == .acos ? acos(a.asNumber) : atan(a.asNumber))
| `- error: cannot find 'atan' in scope
24 | }
25 | if op == .lengthSquared {
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/VmNavigation.swift:33:72: error: cannot find 'atan2' in scope
31 | if op == .atan2 {
32 | if !a.isNumeric || !b.isNumeric || a.unit != b.unit { return sink.nothing }
33 | return sink.float(a.asNumber == 0 && b.asNumber == 0 ? 0 : atan2(a.asNumber, b.asNumber))
| `- error: cannot find 'atan2' in scope
34 | }
35 | let scalarPair = (op == .distance || op == .distanceSquared) && a.isNumeric && b.isNumeric
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/VmNavigation.swift:87:31: error: cannot find 'acos' in scope
85 | var ratio = (ax * bx + ay * by + az * bz) / (al * bl)
86 | if ratio > 1 { ratio = 1 } else if ratio < -1 { ratio = -1 }
87 | return sink.float(acos(ratio))
| `- error: cannot find 'acos' in scope
88 | default: return sink.nothing
89 | }
[40/171] Compiling GameEventScriptRuntime VmNavigation.swift
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/VmMath.swift:91:66: error: cannot find 'log' in scope
89 | if let av = a.integerValue, let bv = b.integerValue, let cv = upper.integerValue { return sink.integer(Swift.min(Swift.max(av, Swift.min(bv, cv)), Swift.max(bv, cv)), unit: a.unit) }
90 | return sink.float(Swift.min(Swift.max(a.asNumber, Swift.min(b.asNumber, upper.asNumber)), Swift.max(b.asNumber, upper.asNumber)), unit: a.unit)
91 | case .logN: return a.hasUnit ? sink.nothing : sink.float(log(a.asNumber))
| `- error: cannot find 'log' in scope
92 | case .exp: return a.hasUnit ? sink.nothing : sink.float(exp(a.asNumber))
93 | case .floor, .ceil, .truncate, .roundHalfEven, .roundHalfUp, .roundHalfDown:
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/VmMath.swift:92:65: error: cannot find 'exp' in scope
90 | return sink.float(Swift.min(Swift.max(a.asNumber, Swift.min(b.asNumber, upper.asNumber)), Swift.max(b.asNumber, upper.asNumber)), unit: a.unit)
91 | case .logN: return a.hasUnit ? sink.nothing : sink.float(log(a.asNumber))
92 | case .exp: return a.hasUnit ? sink.nothing : sink.float(exp(a.asNumber))
| `- error: cannot find 'exp' in scope
93 | case .floor, .ceil, .truncate, .roundHalfEven, .roundHalfUp, .roundHalfDown:
94 | if !a.isNumeric { return sink.nothing }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/VmMath.swift:253:31: error: cannot find 'pow' in scope
251 | if op == .power {
252 | if b.hasUnit || a.asNumber.isNaN || b.asNumber.isNaN || (a.hasUnit && b.asNumber != 0 && b.asNumber != 1) { return sink.nothing }
253 | return sink.float(pow(a.asNumber, b.asNumber), unit: b.asNumber == 1 ? a.unit : .none)
| `- error: cannot find 'pow' in scope
254 | }
255 | let unit: GesUnit?
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/VmNavigation.swift:19:44: error: cannot find 'sin' in scope
17 | guard a.isNumeric, a.unit == .none || a.unit == .degree else { return sink.nothing }
18 | let n = a.unit == .degree ? a.asNumber / 180 * Double.pi : a.asNumber
19 | return sink.float(op == .sin ? sin(n) : op == .cos ? cos(n) : tan(n))
| `- error: cannot find 'sin' in scope
20 | }
21 | if [.asin, .acos, .atan].contains(op) {
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/VmNavigation.swift:19:66: error: cannot find 'cos' in scope
17 | guard a.isNumeric, a.unit == .none || a.unit == .degree else { return sink.nothing }
18 | let n = a.unit == .degree ? a.asNumber / 180 * Double.pi : a.asNumber
19 | return sink.float(op == .sin ? sin(n) : op == .cos ? cos(n) : tan(n))
| `- error: cannot find 'cos' in scope
20 | }
21 | if [.asin, .acos, .atan].contains(op) {
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/VmNavigation.swift:19:75: error: cannot find 'tan' in scope
17 | guard a.isNumeric, a.unit == .none || a.unit == .degree else { return sink.nothing }
18 | let n = a.unit == .degree ? a.asNumber / 180 * Double.pi : a.asNumber
19 | return sink.float(op == .sin ? sin(n) : op == .cos ? cos(n) : tan(n))
| `- error: cannot find 'tan' in scope
20 | }
21 | if [.asin, .acos, .atan].contains(op) {
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/VmNavigation.swift:23:45: error: cannot find 'asin' in scope
21 | if [.asin, .acos, .atan].contains(op) {
22 | guard a.isNumeric, !a.hasUnit else { return sink.nothing }
23 | return sink.float(op == .asin ? asin(a.asNumber) : op == .acos ? acos(a.asNumber) : atan(a.asNumber))
| `- error: cannot find 'asin' in scope
24 | }
25 | if op == .lengthSquared {
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/VmNavigation.swift:23:78: error: cannot find 'acos' in scope
21 | if [.asin, .acos, .atan].contains(op) {
22 | guard a.isNumeric, !a.hasUnit else { return sink.nothing }
23 | return sink.float(op == .asin ? asin(a.asNumber) : op == .acos ? acos(a.asNumber) : atan(a.asNumber))
| `- error: cannot find 'acos' in scope
24 | }
25 | if op == .lengthSquared {
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/VmNavigation.swift:23:97: error: cannot find 'atan' in scope
21 | if [.asin, .acos, .atan].contains(op) {
22 | guard a.isNumeric, !a.hasUnit else { return sink.nothing }
23 | return sink.float(op == .asin ? asin(a.asNumber) : op == .acos ? acos(a.asNumber) : atan(a.asNumber))
| `- error: cannot find 'atan' in scope
24 | }
25 | if op == .lengthSquared {
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/VmNavigation.swift:33:72: error: cannot find 'atan2' in scope
31 | if op == .atan2 {
32 | if !a.isNumeric || !b.isNumeric || a.unit != b.unit { return sink.nothing }
33 | return sink.float(a.asNumber == 0 && b.asNumber == 0 ? 0 : atan2(a.asNumber, b.asNumber))
| `- error: cannot find 'atan2' in scope
34 | }
35 | let scalarPair = (op == .distance || op == .distanceSquared) && a.isNumeric && b.isNumeric
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/VmNavigation.swift:87:31: error: cannot find 'acos' in scope
85 | var ratio = (ax * bx + ay * by + az * bz) / (al * bl)
86 | if ratio > 1 { ratio = 1 } else if ratio < -1 { ratio = -1 }
87 | return sink.float(acos(ratio))
| `- error: cannot find 'acos' in scope
88 | default: return sink.nothing
89 | }
[41/171] Compiling GameEventScriptRuntime VmPatterns.swift
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/VmMath.swift:91:66: error: cannot find 'log' in scope
89 | if let av = a.integerValue, let bv = b.integerValue, let cv = upper.integerValue { return sink.integer(Swift.min(Swift.max(av, Swift.min(bv, cv)), Swift.max(bv, cv)), unit: a.unit) }
90 | return sink.float(Swift.min(Swift.max(a.asNumber, Swift.min(b.asNumber, upper.asNumber)), Swift.max(b.asNumber, upper.asNumber)), unit: a.unit)
91 | case .logN: return a.hasUnit ? sink.nothing : sink.float(log(a.asNumber))
| `- error: cannot find 'log' in scope
92 | case .exp: return a.hasUnit ? sink.nothing : sink.float(exp(a.asNumber))
93 | case .floor, .ceil, .truncate, .roundHalfEven, .roundHalfUp, .roundHalfDown:
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/VmMath.swift:92:65: error: cannot find 'exp' in scope
90 | return sink.float(Swift.min(Swift.max(a.asNumber, Swift.min(b.asNumber, upper.asNumber)), Swift.max(b.asNumber, upper.asNumber)), unit: a.unit)
91 | case .logN: return a.hasUnit ? sink.nothing : sink.float(log(a.asNumber))
92 | case .exp: return a.hasUnit ? sink.nothing : sink.float(exp(a.asNumber))
| `- error: cannot find 'exp' in scope
93 | case .floor, .ceil, .truncate, .roundHalfEven, .roundHalfUp, .roundHalfDown:
94 | if !a.isNumeric { return sink.nothing }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/VmMath.swift:253:31: error: cannot find 'pow' in scope
251 | if op == .power {
252 | if b.hasUnit || a.asNumber.isNaN || b.asNumber.isNaN || (a.hasUnit && b.asNumber != 0 && b.asNumber != 1) { return sink.nothing }
253 | return sink.float(pow(a.asNumber, b.asNumber), unit: b.asNumber == 1 ? a.unit : .none)
| `- error: cannot find 'pow' in scope
254 | }
255 | let unit: GesUnit?
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/VmNavigation.swift:19:44: error: cannot find 'sin' in scope
17 | guard a.isNumeric, a.unit == .none || a.unit == .degree else { return sink.nothing }
18 | let n = a.unit == .degree ? a.asNumber / 180 * Double.pi : a.asNumber
19 | return sink.float(op == .sin ? sin(n) : op == .cos ? cos(n) : tan(n))
| `- error: cannot find 'sin' in scope
20 | }
21 | if [.asin, .acos, .atan].contains(op) {
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/VmNavigation.swift:19:66: error: cannot find 'cos' in scope
17 | guard a.isNumeric, a.unit == .none || a.unit == .degree else { return sink.nothing }
18 | let n = a.unit == .degree ? a.asNumber / 180 * Double.pi : a.asNumber
19 | return sink.float(op == .sin ? sin(n) : op == .cos ? cos(n) : tan(n))
| `- error: cannot find 'cos' in scope
20 | }
21 | if [.asin, .acos, .atan].contains(op) {
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/VmNavigation.swift:19:75: error: cannot find 'tan' in scope
17 | guard a.isNumeric, a.unit == .none || a.unit == .degree else { return sink.nothing }
18 | let n = a.unit == .degree ? a.asNumber / 180 * Double.pi : a.asNumber
19 | return sink.float(op == .sin ? sin(n) : op == .cos ? cos(n) : tan(n))
| `- error: cannot find 'tan' in scope
20 | }
21 | if [.asin, .acos, .atan].contains(op) {
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/VmNavigation.swift:23:45: error: cannot find 'asin' in scope
21 | if [.asin, .acos, .atan].contains(op) {
22 | guard a.isNumeric, !a.hasUnit else { return sink.nothing }
23 | return sink.float(op == .asin ? asin(a.asNumber) : op == .acos ? acos(a.asNumber) : atan(a.asNumber))
| `- error: cannot find 'asin' in scope
24 | }
25 | if op == .lengthSquared {
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/VmNavigation.swift:23:78: error: cannot find 'acos' in scope
21 | if [.asin, .acos, .atan].contains(op) {
22 | guard a.isNumeric, !a.hasUnit else { return sink.nothing }
23 | return sink.float(op == .asin ? asin(a.asNumber) : op == .acos ? acos(a.asNumber) : atan(a.asNumber))
| `- error: cannot find 'acos' in scope
24 | }
25 | if op == .lengthSquared {
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/VmNavigation.swift:23:97: error: cannot find 'atan' in scope
21 | if [.asin, .acos, .atan].contains(op) {
22 | guard a.isNumeric, !a.hasUnit else { return sink.nothing }
23 | return sink.float(op == .asin ? asin(a.asNumber) : op == .acos ? acos(a.asNumber) : atan(a.asNumber))
| `- error: cannot find 'atan' in scope
24 | }
25 | if op == .lengthSquared {
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/VmNavigation.swift:33:72: error: cannot find 'atan2' in scope
31 | if op == .atan2 {
32 | if !a.isNumeric || !b.isNumeric || a.unit != b.unit { return sink.nothing }
33 | return sink.float(a.asNumber == 0 && b.asNumber == 0 ? 0 : atan2(a.asNumber, b.asNumber))
| `- error: cannot find 'atan2' in scope
34 | }
35 | let scalarPair = (op == .distance || op == .distanceSquared) && a.isNumeric && b.isNumeric
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/VmNavigation.swift:87:31: error: cannot find 'acos' in scope
85 | var ratio = (ax * bx + ay * by + az * bz) / (al * bl)
86 | if ratio > 1 { ratio = 1 } else if ratio < -1 { ratio = -1 }
87 | return sink.float(acos(ratio))
| `- error: cannot find 'acos' in scope
88 | default: return sink.nothing
89 | }
[42/171] Compiling GameEventScriptRuntime VmState.swift
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/VmMath.swift:91:66: error: cannot find 'log' in scope
89 | if let av = a.integerValue, let bv = b.integerValue, let cv = upper.integerValue { return sink.integer(Swift.min(Swift.max(av, Swift.min(bv, cv)), Swift.max(bv, cv)), unit: a.unit) }
90 | return sink.float(Swift.min(Swift.max(a.asNumber, Swift.min(b.asNumber, upper.asNumber)), Swift.max(b.asNumber, upper.asNumber)), unit: a.unit)
91 | case .logN: return a.hasUnit ? sink.nothing : sink.float(log(a.asNumber))
| `- error: cannot find 'log' in scope
92 | case .exp: return a.hasUnit ? sink.nothing : sink.float(exp(a.asNumber))
93 | case .floor, .ceil, .truncate, .roundHalfEven, .roundHalfUp, .roundHalfDown:
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/VmMath.swift:92:65: error: cannot find 'exp' in scope
90 | return sink.float(Swift.min(Swift.max(a.asNumber, Swift.min(b.asNumber, upper.asNumber)), Swift.max(b.asNumber, upper.asNumber)), unit: a.unit)
91 | case .logN: return a.hasUnit ? sink.nothing : sink.float(log(a.asNumber))
92 | case .exp: return a.hasUnit ? sink.nothing : sink.float(exp(a.asNumber))
| `- error: cannot find 'exp' in scope
93 | case .floor, .ceil, .truncate, .roundHalfEven, .roundHalfUp, .roundHalfDown:
94 | if !a.isNumeric { return sink.nothing }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/VmMath.swift:253:31: error: cannot find 'pow' in scope
251 | if op == .power {
252 | if b.hasUnit || a.asNumber.isNaN || b.asNumber.isNaN || (a.hasUnit && b.asNumber != 0 && b.asNumber != 1) { return sink.nothing }
253 | return sink.float(pow(a.asNumber, b.asNumber), unit: b.asNumber == 1 ? a.unit : .none)
| `- error: cannot find 'pow' in scope
254 | }
255 | let unit: GesUnit?
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/VmNavigation.swift:19:44: error: cannot find 'sin' in scope
17 | guard a.isNumeric, a.unit == .none || a.unit == .degree else { return sink.nothing }
18 | let n = a.unit == .degree ? a.asNumber / 180 * Double.pi : a.asNumber
19 | return sink.float(op == .sin ? sin(n) : op == .cos ? cos(n) : tan(n))
| `- error: cannot find 'sin' in scope
20 | }
21 | if [.asin, .acos, .atan].contains(op) {
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/VmNavigation.swift:19:66: error: cannot find 'cos' in scope
17 | guard a.isNumeric, a.unit == .none || a.unit == .degree else { return sink.nothing }
18 | let n = a.unit == .degree ? a.asNumber / 180 * Double.pi : a.asNumber
19 | return sink.float(op == .sin ? sin(n) : op == .cos ? cos(n) : tan(n))
| `- error: cannot find 'cos' in scope
20 | }
21 | if [.asin, .acos, .atan].contains(op) {
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/VmNavigation.swift:19:75: error: cannot find 'tan' in scope
17 | guard a.isNumeric, a.unit == .none || a.unit == .degree else { return sink.nothing }
18 | let n = a.unit == .degree ? a.asNumber / 180 * Double.pi : a.asNumber
19 | return sink.float(op == .sin ? sin(n) : op == .cos ? cos(n) : tan(n))
| `- error: cannot find 'tan' in scope
20 | }
21 | if [.asin, .acos, .atan].contains(op) {
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/VmNavigation.swift:23:45: error: cannot find 'asin' in scope
21 | if [.asin, .acos, .atan].contains(op) {
22 | guard a.isNumeric, !a.hasUnit else { return sink.nothing }
23 | return sink.float(op == .asin ? asin(a.asNumber) : op == .acos ? acos(a.asNumber) : atan(a.asNumber))
| `- error: cannot find 'asin' in scope
24 | }
25 | if op == .lengthSquared {
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/VmNavigation.swift:23:78: error: cannot find 'acos' in scope
21 | if [.asin, .acos, .atan].contains(op) {
22 | guard a.isNumeric, !a.hasUnit else { return sink.nothing }
23 | return sink.float(op == .asin ? asin(a.asNumber) : op == .acos ? acos(a.asNumber) : atan(a.asNumber))
| `- error: cannot find 'acos' in scope
24 | }
25 | if op == .lengthSquared {
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/VmNavigation.swift:23:97: error: cannot find 'atan' in scope
21 | if [.asin, .acos, .atan].contains(op) {
22 | guard a.isNumeric, !a.hasUnit else { return sink.nothing }
23 | return sink.float(op == .asin ? asin(a.asNumber) : op == .acos ? acos(a.asNumber) : atan(a.asNumber))
| `- error: cannot find 'atan' in scope
24 | }
25 | if op == .lengthSquared {
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/VmNavigation.swift:33:72: error: cannot find 'atan2' in scope
31 | if op == .atan2 {
32 | if !a.isNumeric || !b.isNumeric || a.unit != b.unit { return sink.nothing }
33 | return sink.float(a.asNumber == 0 && b.asNumber == 0 ? 0 : atan2(a.asNumber, b.asNumber))
| `- error: cannot find 'atan2' in scope
34 | }
35 | let scalarPair = (op == .distance || op == .distanceSquared) && a.isNumeric && b.isNumeric
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/VmNavigation.swift:87:31: error: cannot find 'acos' in scope
85 | var ratio = (ax * bx + ay * by + az * bz) / (al * bl)
86 | if ratio > 1 { ratio = 1 } else if ratio < -1 { ratio = -1 }
87 | return sink.float(acos(ratio))
| `- error: cannot find 'acos' in scope
88 | default: return sink.nothing
89 | }
[43/171] Compiling GameEventScriptRuntime VmTakeDrop.swift
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/VmMath.swift:91:66: error: cannot find 'log' in scope
89 | if let av = a.integerValue, let bv = b.integerValue, let cv = upper.integerValue { return sink.integer(Swift.min(Swift.max(av, Swift.min(bv, cv)), Swift.max(bv, cv)), unit: a.unit) }
90 | return sink.float(Swift.min(Swift.max(a.asNumber, Swift.min(b.asNumber, upper.asNumber)), Swift.max(b.asNumber, upper.asNumber)), unit: a.unit)
91 | case .logN: return a.hasUnit ? sink.nothing : sink.float(log(a.asNumber))
| `- error: cannot find 'log' in scope
92 | case .exp: return a.hasUnit ? sink.nothing : sink.float(exp(a.asNumber))
93 | case .floor, .ceil, .truncate, .roundHalfEven, .roundHalfUp, .roundHalfDown:
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/VmMath.swift:92:65: error: cannot find 'exp' in scope
90 | return sink.float(Swift.min(Swift.max(a.asNumber, Swift.min(b.asNumber, upper.asNumber)), Swift.max(b.asNumber, upper.asNumber)), unit: a.unit)
91 | case .logN: return a.hasUnit ? sink.nothing : sink.float(log(a.asNumber))
92 | case .exp: return a.hasUnit ? sink.nothing : sink.float(exp(a.asNumber))
| `- error: cannot find 'exp' in scope
93 | case .floor, .ceil, .truncate, .roundHalfEven, .roundHalfUp, .roundHalfDown:
94 | if !a.isNumeric { return sink.nothing }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/VmMath.swift:253:31: error: cannot find 'pow' in scope
251 | if op == .power {
252 | if b.hasUnit || a.asNumber.isNaN || b.asNumber.isNaN || (a.hasUnit && b.asNumber != 0 && b.asNumber != 1) { return sink.nothing }
253 | return sink.float(pow(a.asNumber, b.asNumber), unit: b.asNumber == 1 ? a.unit : .none)
| `- error: cannot find 'pow' in scope
254 | }
255 | let unit: GesUnit?
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/VmNavigation.swift:19:44: error: cannot find 'sin' in scope
17 | guard a.isNumeric, a.unit == .none || a.unit == .degree else { return sink.nothing }
18 | let n = a.unit == .degree ? a.asNumber / 180 * Double.pi : a.asNumber
19 | return sink.float(op == .sin ? sin(n) : op == .cos ? cos(n) : tan(n))
| `- error: cannot find 'sin' in scope
20 | }
21 | if [.asin, .acos, .atan].contains(op) {
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/VmNavigation.swift:19:66: error: cannot find 'cos' in scope
17 | guard a.isNumeric, a.unit == .none || a.unit == .degree else { return sink.nothing }
18 | let n = a.unit == .degree ? a.asNumber / 180 * Double.pi : a.asNumber
19 | return sink.float(op == .sin ? sin(n) : op == .cos ? cos(n) : tan(n))
| `- error: cannot find 'cos' in scope
20 | }
21 | if [.asin, .acos, .atan].contains(op) {
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/VmNavigation.swift:19:75: error: cannot find 'tan' in scope
17 | guard a.isNumeric, a.unit == .none || a.unit == .degree else { return sink.nothing }
18 | let n = a.unit == .degree ? a.asNumber / 180 * Double.pi : a.asNumber
19 | return sink.float(op == .sin ? sin(n) : op == .cos ? cos(n) : tan(n))
| `- error: cannot find 'tan' in scope
20 | }
21 | if [.asin, .acos, .atan].contains(op) {
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/VmNavigation.swift:23:45: error: cannot find 'asin' in scope
21 | if [.asin, .acos, .atan].contains(op) {
22 | guard a.isNumeric, !a.hasUnit else { return sink.nothing }
23 | return sink.float(op == .asin ? asin(a.asNumber) : op == .acos ? acos(a.asNumber) : atan(a.asNumber))
| `- error: cannot find 'asin' in scope
24 | }
25 | if op == .lengthSquared {
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/VmNavigation.swift:23:78: error: cannot find 'acos' in scope
21 | if [.asin, .acos, .atan].contains(op) {
22 | guard a.isNumeric, !a.hasUnit else { return sink.nothing }
23 | return sink.float(op == .asin ? asin(a.asNumber) : op == .acos ? acos(a.asNumber) : atan(a.asNumber))
| `- error: cannot find 'acos' in scope
24 | }
25 | if op == .lengthSquared {
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/VmNavigation.swift:23:97: error: cannot find 'atan' in scope
21 | if [.asin, .acos, .atan].contains(op) {
22 | guard a.isNumeric, !a.hasUnit else { return sink.nothing }
23 | return sink.float(op == .asin ? asin(a.asNumber) : op == .acos ? acos(a.asNumber) : atan(a.asNumber))
| `- error: cannot find 'atan' in scope
24 | }
25 | if op == .lengthSquared {
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/VmNavigation.swift:33:72: error: cannot find 'atan2' in scope
31 | if op == .atan2 {
32 | if !a.isNumeric || !b.isNumeric || a.unit != b.unit { return sink.nothing }
33 | return sink.float(a.asNumber == 0 && b.asNumber == 0 ? 0 : atan2(a.asNumber, b.asNumber))
| `- error: cannot find 'atan2' in scope
34 | }
35 | let scalarPair = (op == .distance || op == .distanceSquared) && a.isNumeric && b.isNumeric
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/VmNavigation.swift:87:31: error: cannot find 'acos' in scope
85 | var ratio = (ax * bx + ay * by + az * bz) / (al * bl)
86 | if ratio > 1 { ratio = 1 } else if ratio < -1 { ratio = -1 }
87 | return sink.float(acos(ratio))
| `- error: cannot find 'acos' in scope
88 | default: return sink.nothing
89 | }
[44/171] Compiling GameEventScriptRuntime VmValueOutput.swift
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/VmMath.swift:91:66: error: cannot find 'log' in scope
89 | if let av = a.integerValue, let bv = b.integerValue, let cv = upper.integerValue { return sink.integer(Swift.min(Swift.max(av, Swift.min(bv, cv)), Swift.max(bv, cv)), unit: a.unit) }
90 | return sink.float(Swift.min(Swift.max(a.asNumber, Swift.min(b.asNumber, upper.asNumber)), Swift.max(b.asNumber, upper.asNumber)), unit: a.unit)
91 | case .logN: return a.hasUnit ? sink.nothing : sink.float(log(a.asNumber))
| `- error: cannot find 'log' in scope
92 | case .exp: return a.hasUnit ? sink.nothing : sink.float(exp(a.asNumber))
93 | case .floor, .ceil, .truncate, .roundHalfEven, .roundHalfUp, .roundHalfDown:
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/VmMath.swift:92:65: error: cannot find 'exp' in scope
90 | return sink.float(Swift.min(Swift.max(a.asNumber, Swift.min(b.asNumber, upper.asNumber)), Swift.max(b.asNumber, upper.asNumber)), unit: a.unit)
91 | case .logN: return a.hasUnit ? sink.nothing : sink.float(log(a.asNumber))
92 | case .exp: return a.hasUnit ? sink.nothing : sink.float(exp(a.asNumber))
| `- error: cannot find 'exp' in scope
93 | case .floor, .ceil, .truncate, .roundHalfEven, .roundHalfUp, .roundHalfDown:
94 | if !a.isNumeric { return sink.nothing }
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/VmMath.swift:253:31: error: cannot find 'pow' in scope
251 | if op == .power {
252 | if b.hasUnit || a.asNumber.isNaN || b.asNumber.isNaN || (a.hasUnit && b.asNumber != 0 && b.asNumber != 1) { return sink.nothing }
253 | return sink.float(pow(a.asNumber, b.asNumber), unit: b.asNumber == 1 ? a.unit : .none)
| `- error: cannot find 'pow' in scope
254 | }
255 | let unit: GesUnit?
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/VmNavigation.swift:19:44: error: cannot find 'sin' in scope
17 | guard a.isNumeric, a.unit == .none || a.unit == .degree else { return sink.nothing }
18 | let n = a.unit == .degree ? a.asNumber / 180 * Double.pi : a.asNumber
19 | return sink.float(op == .sin ? sin(n) : op == .cos ? cos(n) : tan(n))
| `- error: cannot find 'sin' in scope
20 | }
21 | if [.asin, .acos, .atan].contains(op) {
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/VmNavigation.swift:19:66: error: cannot find 'cos' in scope
17 | guard a.isNumeric, a.unit == .none || a.unit == .degree else { return sink.nothing }
18 | let n = a.unit == .degree ? a.asNumber / 180 * Double.pi : a.asNumber
19 | return sink.float(op == .sin ? sin(n) : op == .cos ? cos(n) : tan(n))
| `- error: cannot find 'cos' in scope
20 | }
21 | if [.asin, .acos, .atan].contains(op) {
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/VmNavigation.swift:19:75: error: cannot find 'tan' in scope
17 | guard a.isNumeric, a.unit == .none || a.unit == .degree else { return sink.nothing }
18 | let n = a.unit == .degree ? a.asNumber / 180 * Double.pi : a.asNumber
19 | return sink.float(op == .sin ? sin(n) : op == .cos ? cos(n) : tan(n))
| `- error: cannot find 'tan' in scope
20 | }
21 | if [.asin, .acos, .atan].contains(op) {
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/VmNavigation.swift:23:45: error: cannot find 'asin' in scope
21 | if [.asin, .acos, .atan].contains(op) {
22 | guard a.isNumeric, !a.hasUnit else { return sink.nothing }
23 | return sink.float(op == .asin ? asin(a.asNumber) : op == .acos ? acos(a.asNumber) : atan(a.asNumber))
| `- error: cannot find 'asin' in scope
24 | }
25 | if op == .lengthSquared {
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/VmNavigation.swift:23:78: error: cannot find 'acos' in scope
21 | if [.asin, .acos, .atan].contains(op) {
22 | guard a.isNumeric, !a.hasUnit else { return sink.nothing }
23 | return sink.float(op == .asin ? asin(a.asNumber) : op == .acos ? acos(a.asNumber) : atan(a.asNumber))
| `- error: cannot find 'acos' in scope
24 | }
25 | if op == .lengthSquared {
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/VmNavigation.swift:23:97: error: cannot find 'atan' in scope
21 | if [.asin, .acos, .atan].contains(op) {
22 | guard a.isNumeric, !a.hasUnit else { return sink.nothing }
23 | return sink.float(op == .asin ? asin(a.asNumber) : op == .acos ? acos(a.asNumber) : atan(a.asNumber))
| `- error: cannot find 'atan' in scope
24 | }
25 | if op == .lengthSquared {
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/VmNavigation.swift:33:72: error: cannot find 'atan2' in scope
31 | if op == .atan2 {
32 | if !a.isNumeric || !b.isNumeric || a.unit != b.unit { return sink.nothing }
33 | return sink.float(a.asNumber == 0 && b.asNumber == 0 ? 0 : atan2(a.asNumber, b.asNumber))
| `- error: cannot find 'atan2' in scope
34 | }
35 | let scalarPair = (op == .distance || op == .distanceSquared) && a.isNumeric && b.isNumeric
/host/spi-builder-workspace/implementation/swift/GameEventScriptRuntime/Sources/GameEventScriptRuntime/VmNavigation.swift:87:31: error: cannot find 'acos' in scope
85 | var ratio = (ax * bx + ay * by + az * bz) / (al * bl)
86 | if ratio > 1 { ratio = 1 } else if ratio < -1 { ratio = -1 }
87 | return sink.float(acos(ratio))
| `- error: cannot find 'acos' in scope
88 | default: return sink.nothing
89 | }
[45/171] Compiling GameEventScriptRuntime Message.swift
[46/171] Compiling GameEventScriptRuntime MessageArguments.swift
[47/171] Compiling GameEventScriptRuntime MessageJson.swift
[48/171] Compiling GameEventScriptRuntime MessageSignature.swift
[49/171] Compiling GameEventScriptRuntime Profiler.swift
[50/171] Compiling GameEventScriptRuntime Program.swift
[51/171] Compiling GameEventScriptRuntime ProgramDebugValidator.swift
[52/171] Compiling GameEventScriptRuntime VmCasts.swift
[53/171] Compiling GameEventScriptRuntime VmCollectionOperators.swift
[54/171] Compiling GameEventScriptRuntime VmCollections.swift
[55/171] Compiling GameEventScriptRuntime VmComparison.swift
[56/171] Compiling GameEventScriptRuntime VmCompoundIterators.swift
[57/171] Compiling GameEventScriptRuntime VmCompoundSources.swift
[58/171] Compiling GameEventScriptRuntime ProgramValidator.swift
[59/171] Compiling GameEventScriptRuntime ProgramWriter.swift
[60/171] Compiling GameEventScriptRuntime RandomGenerator.swift
[61/171] Compiling GameEventScriptRuntime RuntimeAPI.swift
[62/171] Compiling GameEventScriptRuntime TextNumberCast.swift
[63/171] Compiling GameEventScriptRuntime VirtualMachine.swift
[64/171] Compiling GameEventScriptRuntime VmCallbacks.swift
[65/171] Emitting module SwiftSyntax510
[66/171] Compiling SwiftSyntax510 Empty.swift
[74/172] Wrapping AST for SwiftSyntax510 for debugging
[76/172] Compiling GameEventScriptRuntime GesValueMap.swift
[77/172] Compiling GameEventScriptRuntime Host.swift
[78/172] Compiling GameEventScriptRuntime HostBuilder.swift
[79/172] Compiling GameEventScriptRuntime Json.swift
[80/172] Compiling GameEventScriptRuntime LinkedProgram.swift
[81/172] Compiling GameEventScriptRuntime LiteralEvaluation.swift
[82/172] Compiling GameEventScriptRuntime LiteralParser.swift
[83/172] Compiling SwiftSyntax600 Empty.swift
[84/172] Emitting module SwiftSyntax600
[85/173] Compiling GameEventScriptSyntaxHighlighter GameEventScriptAnsiRenderer.swift
[93/173] Compiling GameEventScriptSyntaxHighlighter HighlightingModel.swift
[95/173] Emitting module SwiftSyntax509
[96/173] Compiling SwiftSyntax509 Empty.swift
[97/174] Wrapping AST for SwiftSyntax600 for debugging
[99/174] Compiling GameEventScriptSyntaxHighlighter EmbeddedGrammars.swift
[100/174] Emitting module GameEventScriptSyntaxHighlighter
[100/174] Wrapping AST for SwiftSyntax509 for debugging
[102/238] Compiling SwiftSyntax SyntaxNodeStructure.swift
[103/238] Compiling SwiftSyntax SyntaxProtocol.swift
[104/238] Compiling SwiftSyntax SyntaxText.swift
[105/238] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[106/238] Compiling SwiftSyntax TokenDiagnostic.swift
[107/238] Compiling SwiftSyntax TokenSequence.swift
[108/238] Compiling SwiftSyntax Identifier.swift
[109/238] Compiling SwiftSyntax SyntaxNodeFactory.swift
[115/238] Compiling SwiftSyntax RawSyntaxTokenView.swift
[116/238] Compiling SwiftSyntax SourceEdit.swift
[117/238] Compiling SwiftSyntax SourceLength.swift
[118/238] Compiling SwiftSyntax SourceLocation.swift
[119/238] Compiling SwiftSyntax AbsolutePosition.swift
[120/238] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[121/238] Compiling SwiftSyntax TokenKind.swift
[122/238] Compiling SwiftSyntax Tokens.swift
[123/238] Compiling SwiftSyntax TriviaPieces.swift
[124/238] Compiling SwiftSyntax RawSyntaxNodesAB.swift
[125/238] Compiling SwiftSyntax RawSyntaxNodesC.swift
[126/238] Compiling SwiftSyntax RawSyntaxNodesD.swift
[127/238] Compiling SwiftSyntax TokenSyntax.swift
[128/238] Compiling SwiftSyntax Trivia.swift
[129/238] Compiling SwiftSyntax SyntaxKind.swift
[130/238] Compiling SwiftSyntax SyntaxRewriter.swift
[131/238] Compiling SwiftSyntax SyntaxTraits.swift
[132/238] Compiling SwiftSyntax SyntaxVisitor.swift
[133/238] Compiling SwiftSyntax RawSyntaxNodesEF.swift
[134/238] Compiling SwiftSyntax RawSyntaxNodesGHI.swift
[135/238] Compiling SwiftSyntax RawSyntaxNodesJKLMN.swift
[136/238] Compiling SwiftSyntax RawSyntaxNodesOP.swift
[137/238] Compiling SwiftSyntax RawSyntaxNodesQRS.swift
[138/238] Compiling SwiftSyntax RawSyntaxNodesTUVWXYZ.swift
[145/238] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[148/239] Compiling SwiftSyntax Assert.swift
[149/239] Compiling SwiftSyntax BumpPtrAllocator.swift
[150/239] Compiling SwiftSyntax CommonAncestor.swift
[151/239] Compiling SwiftSyntax Convenience.swift
[152/239] Compiling SwiftSyntax CustomTraits.swift
[153/239] Compiling GameEventScriptSyntaxHighlighter GameEventScriptSyntaxHighlighter.swift
[155/240] Compiling GameEventScriptSyntaxHighlighter EmbeddedGrammars.swift
BUILD FAILURE 6.3 android