Build Information
Failed to build GameEventScript, reference main (13510f), with Swift 6.2 for Android on 13 Oct 2026 08:53:15 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886768-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.2-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.2
Building package at path: $PWD
https://github.com/schloepke/GameEventScript.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886768-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.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:a839c9ce201f1dacc8eb056626ec7ab0a1c6d53d7b77c83feda395f4507c51be
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.2-latest
Fetching https://github.com/swiftlang/swift-syntax.git
[1/80472] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (3.96s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.1 (4.94s)
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
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/600.0.1/swift-6.2-RELEASE-MacroSupport-ubuntu_noble_x86_64.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/600.0.1/swift-6.2-RELEASE-MacroSupport-ubuntu_noble_x86_64.tar.gz (0.21s)
Building for debugging...
[0/20] Write sources
[9/20] Compiling TerminalSupport TerminalSupport.c
[10/20] Write swift-version--11D90AFD9DD3AB2.txt
[12/127] Emitting module GameEventScriptRuntime
[13/133] Emitting module GameEventScriptSyntaxHighlighter
[14/133] Emitting module GameEventScriptSwiftBridgeMacros
[15/133] Compiling GameEventScriptSyntaxHighlighter HighlightingModel.swift
[16/133] Compiling GameEventScriptSwiftBridgeMacros ExternalTypeMacros.swift
[17/133] Compiling GameEventScriptSwiftBridgeMacros Plugin.swift
[18/134] Compiling GameEventScriptRuntime ProgramWriter.swift
[19/134] Compiling GameEventScriptRuntime RandomGenerator.swift
[20/134] Compiling GameEventScriptRuntime RuntimeAPI.swift
[21/134] Compiling GameEventScriptRuntime TextNumberCast.swift
[22/134] Compiling GameEventScriptRuntime VirtualMachine.swift
[23/134] Compiling GameEventScriptRuntime VmCallbacks.swift
[25/140] Compiling GameEventScriptRuntime ExternalTypes.swift
[26/140] Compiling GameEventScriptRuntime GesNumber.swift
[27/140] Compiling GameEventScriptRuntime GesRange.swift
[28/140] Compiling GameEventScriptRuntime GesSha256.swift
[29/140] Compiling GameEventScriptRuntime GesText.swift
[30/140] Compiling GameEventScriptRuntime GesUtf8.swift
[31/140] Compiling GameEventScriptRuntime GesValue.swift
[31/140] Wrapping AST for GameEventScriptSwiftBridgeMacros for debugging
[32/140] Write Objects.LinkFileList
[34/140] Compiling GameEventScriptSyntaxHighlighter HighlightingModel.swift
[35/140] Compiling GameEventScriptSyntaxHighlighter GameEventScriptAnsiRenderer.swift
[36/140] Compiling GameEventScriptRuntime ProgramDumper.swift
[37/140] Compiling GameEventScriptRuntime ProgramFormat.swift
[38/140] Compiling GameEventScriptRuntime ProgramInternalValueValidator.swift
[39/140] Compiling GameEventScriptRuntime ProgramReader.swift
[40/140] Compiling GameEventScriptRuntime ProgramResourceValidator.swift
[41/140] Compiling GameEventScriptRuntime ProgramValidator.swift
[42/140] Compiling GameEventScriptRuntime Message.swift
[43/140] Compiling GameEventScriptRuntime MessageArguments.swift
[44/140] Compiling GameEventScriptRuntime MessageJson.swift
[45/140] Compiling GameEventScriptRuntime MessageSignature.swift
[46/140] Compiling GameEventScriptRuntime Profiler.swift
[47/140] Compiling GameEventScriptRuntime Program.swift
[48/140] Compiling GameEventScriptRuntime ProgramDebugValidator.swift
[49/140] Compiling GameEventScriptRuntime GesValueMap.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 | }
[50/140] Compiling GameEventScriptRuntime Host.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 | }
[51/140] Compiling GameEventScriptRuntime HostBuilder.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 | }
[52/140] Compiling GameEventScriptRuntime Json.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 | }
[53/140] Compiling GameEventScriptRuntime LinkedProgram.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 | }
[54/140] Compiling GameEventScriptRuntime LiteralEvaluation.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 | }
[55/140] Compiling GameEventScriptRuntime LiteralParser.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 | }
[56/140] Compiling GameEventScriptRuntime Bytecode.swift
[57/140] Compiling GameEventScriptRuntime BytecodeOperands.swift
[58/140] Compiling GameEventScriptRuntime Clock.swift
[59/140] Compiling GameEventScriptRuntime CompilerSupport.swift
[60/140] Compiling GameEventScriptRuntime Context.swift
[61/140] Compiling GameEventScriptRuntime DataConstruction.swift
[62/140] Compiling GameEventScriptRuntime Extensions.swift
[70/140] 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 | }
[71/140] 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 | }
[72/140] 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 | }
[73/140] 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 | }
[74/140] 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 | }
[75/140] 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 | }
[76/140] Compiling GameEventScriptRuntime VmCasts.swift
[77/140] Compiling GameEventScriptRuntime VmCollectionOperators.swift
[78/140] Compiling GameEventScriptRuntime VmCollections.swift
[79/140] Compiling GameEventScriptRuntime VmComparison.swift
[80/140] Compiling GameEventScriptRuntime VmCompoundIterators.swift
[81/140] Compiling GameEventScriptRuntime VmCompoundSources.swift
[87/140] Linking GameEventScriptSwiftBridgeMacros-tool
[95/140] Compiling GameEventScriptSyntaxHighlighter EmbeddedGrammars.swift
[97/140] Compiling GameEventScriptSyntaxHighlighter GameEventScriptAnsiRenderer.swift
[98/140] Emitting module GameEventScriptSyntaxHighlighter
BUILD FAILURE 6.2 android