Build Information
Failed to build FirebladeTime, reference master (699a0e
), with Swift 6.2 (beta) for Android on 20 Jun 2025 14:05:43 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/fireblade-engine/time.git
Reference: master
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/fireblade-engine/time
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 699a0e6 Update renovate.json
Cloned https://github.com/fireblade-engine/time.git
Revision (git rev-parse @):
699a0e6a58b09d28a0d53df8965eb318cfeafbd8
SUCCESS checkout https://github.com/fireblade-engine/time.git at master
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/fireblade-engine/time.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-8C5A4AE7A8CE2BA.txt
[3/10] Compiling FirebladeTime TimeProviding.swift
/host/spi-builder-workspace/Sources/FirebladeTime/POSIXClock.swift:15:16: error: unavailable on this platform
13 | import Glibc
14 | #else
15 | #error("unavailable on this platform")
| `- error: unavailable on this platform
16 | #endif
17 |
/host/spi-builder-workspace/Sources/FirebladeTime/POSIXTimeOfDay.swift:14:16: error: unavailable on this platform
12 | import Glibc
13 | #else
14 | #error("unavailable on this platform")
| `- error: unavailable on this platform
15 | #endif
16 |
[4/10] Compiling FirebladeTime Timer.swift
/host/spi-builder-workspace/Sources/FirebladeTime/POSIXClock.swift:15:16: error: unavailable on this platform
13 | import Glibc
14 | #else
15 | #error("unavailable on this platform")
| `- error: unavailable on this platform
16 | #endif
17 |
/host/spi-builder-workspace/Sources/FirebladeTime/POSIXTimeOfDay.swift:14:16: error: unavailable on this platform
12 | import Glibc
13 | #else
14 | #error("unavailable on this platform")
| `- error: unavailable on this platform
15 | #endif
16 |
[5/10] Compiling FirebladeTime Time.swift
/host/spi-builder-workspace/Sources/FirebladeTime/POSIXClock.swift:15:16: error: unavailable on this platform
13 | import Glibc
14 | #else
15 | #error("unavailable on this platform")
| `- error: unavailable on this platform
16 | #endif
17 |
/host/spi-builder-workspace/Sources/FirebladeTime/POSIXTimeOfDay.swift:14:16: error: unavailable on this platform
12 | import Glibc
13 | #else
14 | #error("unavailable on this platform")
| `- error: unavailable on this platform
15 | #endif
16 |
[6/10] Compiling FirebladeTime MachTime.swift
/host/spi-builder-workspace/Sources/FirebladeTime/POSIXClock.swift:15:16: error: unavailable on this platform
13 | import Glibc
14 | #else
15 | #error("unavailable on this platform")
| `- error: unavailable on this platform
16 | #endif
17 |
/host/spi-builder-workspace/Sources/FirebladeTime/POSIXTimeOfDay.swift:14:16: error: unavailable on this platform
12 | import Glibc
13 | #else
14 | #error("unavailable on this platform")
| `- error: unavailable on this platform
15 | #endif
16 |
[7/10] Compiling FirebladeTime POSIXClock.swift
/host/spi-builder-workspace/Sources/FirebladeTime/POSIXClock.swift:15:16: error: unavailable on this platform
13 | import Glibc
14 | #else
15 | #error("unavailable on this platform")
| `- error: unavailable on this platform
16 | #endif
17 |
/host/spi-builder-workspace/Sources/FirebladeTime/POSIXTimeOfDay.swift:14:16: error: unavailable on this platform
12 | import Glibc
13 | #else
14 | #error("unavailable on this platform")
| `- error: unavailable on this platform
15 | #endif
16 |
/host/spi-builder-workspace/Sources/FirebladeTime/POSIXClock.swift:42:41: error: cannot find type 'CTimeSpec' in scope
40 | // clock_gettime (ns) => 370 cycles (CLOCK_PROCESS_CPUTIME_ID)
41 |
42 | @usableFromInline var timeSpec: CTimeSpec
| `- error: cannot find type 'CTimeSpec' in scope
43 |
44 | @inlinable
/host/spi-builder-workspace/Sources/FirebladeTime/POSIXClock.swift:46:24: error: cannot find 'CTimeSpec' in scope
44 | @inlinable
45 | public init() {
46 | timeSpec = CTimeSpec(tv_sec: 0, tv_nsec: 0)
| `- error: cannot find 'CTimeSpec' in scope
47 | // get resolution
48 | #if canImport(Darwin)
/host/spi-builder-workspace/Sources/FirebladeTime/POSIXClock.swift:51:21: error: cannot find 'clock_getres' in scope
49 | timeSpec.tv_sec = UInt32(1 / sysconf(_SC_CLK_TCK))
50 | #else
51 | _ = clock_getres(CLOCK_MONOTONIC, &timeSpec)
| `- error: cannot find 'clock_getres' in scope
52 | #endif
53 | }
/host/spi-builder-workspace/Sources/FirebladeTime/POSIXClock.swift:51:34: error: cannot find 'CLOCK_MONOTONIC' in scope
49 | timeSpec.tv_sec = UInt32(1 / sysconf(_SC_CLK_TCK))
50 | #else
51 | _ = clock_getres(CLOCK_MONOTONIC, &timeSpec)
| `- error: cannot find 'CLOCK_MONOTONIC' in scope
52 | #endif
53 | }
/host/spi-builder-workspace/Sources/FirebladeTime/POSIXClock.swift:69:21: error: cannot find 'clock_gettime' in scope
67 | _ = mach_port_deallocate(machTaskSelf(), clockName)
68 | #else
69 | _ = clock_gettime(CLOCK_MONOTONIC, &timeSpec)
| `- error: cannot find 'clock_gettime' in scope
70 | #endif
71 | return Nanoseconds(timeSpec.tv_sec) * Nanoseconds(1e9) + Nanoseconds(timeSpec.tv_nsec)
/host/spi-builder-workspace/Sources/FirebladeTime/POSIXClock.swift:69:35: error: cannot find 'CLOCK_MONOTONIC' in scope
67 | _ = mach_port_deallocate(machTaskSelf(), clockName)
68 | #else
69 | _ = clock_gettime(CLOCK_MONOTONIC, &timeSpec)
| `- error: cannot find 'CLOCK_MONOTONIC' in scope
70 | #endif
71 | return Nanoseconds(timeSpec.tv_sec) * Nanoseconds(1e9) + Nanoseconds(timeSpec.tv_nsec)
[8/10] Compiling FirebladeTime POSIXTimeOfDay.swift
/host/spi-builder-workspace/Sources/FirebladeTime/POSIXClock.swift:15:16: error: unavailable on this platform
13 | import Glibc
14 | #else
15 | #error("unavailable on this platform")
| `- error: unavailable on this platform
16 | #endif
17 |
/host/spi-builder-workspace/Sources/FirebladeTime/POSIXTimeOfDay.swift:14:16: error: unavailable on this platform
12 | import Glibc
13 | #else
14 | #error("unavailable on this platform")
| `- error: unavailable on this platform
15 | #endif
16 |
/host/spi-builder-workspace/Sources/FirebladeTime/POSIXTimeOfDay.swift:23:40: error: cannot find type 'timeval' in scope
21 | /// https://pubs.opengroup.org/onlinepubs/9699919799/functions/gettimeofday.html
22 | public struct POSIXTimeOfDay: TimeProviding {
23 | @usableFromInline var timeVal: timeval
| `- error: cannot find type 'timeval' in scope
24 |
25 | @inlinable
/host/spi-builder-workspace/Sources/FirebladeTime/POSIXTimeOfDay.swift:27:23: error: cannot find 'timeval' in scope
25 | @inlinable
26 | public init() {
27 | timeVal = timeval(tv_sec: 0, tv_usec: 0)
| `- error: cannot find 'timeval' in scope
28 | }
29 |
/host/spi-builder-workspace/Sources/FirebladeTime/POSIXTimeOfDay.swift:33:26: error: cannot find 'gettimeofday' in scope
31 | @inlinable
32 | public mutating func now() -> Nanoseconds {
33 | let result = gettimeofday(&timeVal, nil)
| `- error: cannot find 'gettimeofday' in scope
34 | precondition(result == 0, "failed to call 'gettimeofday' error: \(errno)")
35 | return Nanoseconds(timeVal.tv_sec) * Nanoseconds(1e9) + Nanoseconds(timeVal.tv_usec) * Nanoseconds(1e3)
/host/spi-builder-workspace/Sources/FirebladeTime/POSIXTimeOfDay.swift:33:49: error: 'nil' requires a contextual type
31 | @inlinable
32 | public mutating func now() -> Nanoseconds {
33 | let result = gettimeofday(&timeVal, nil)
| `- error: 'nil' requires a contextual type
34 | precondition(result == 0, "failed to call 'gettimeofday' error: \(errno)")
35 | return Nanoseconds(timeVal.tv_sec) * Nanoseconds(1e9) + Nanoseconds(timeVal.tv_usec) * Nanoseconds(1e3)
/host/spi-builder-workspace/Sources/FirebladeTime/POSIXTimeOfDay.swift:34:79: error: cannot find 'errno' in scope
32 | public mutating func now() -> Nanoseconds {
33 | let result = gettimeofday(&timeVal, nil)
34 | precondition(result == 0, "failed to call 'gettimeofday' error: \(errno)")
| `- error: cannot find 'errno' in scope
35 | return Nanoseconds(timeVal.tv_sec) * Nanoseconds(1e9) + Nanoseconds(timeVal.tv_usec) * Nanoseconds(1e3)
36 | }
/host/spi-builder-workspace/Sources/FirebladeTime/POSIXTimeOfDay.swift:35:20: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
33 | let result = gettimeofday(&timeVal, nil)
34 | precondition(result == 0, "failed to call 'gettimeofday' error: \(errno)")
35 | return Nanoseconds(timeVal.tv_sec) * Nanoseconds(1e9) + Nanoseconds(timeVal.tv_usec) * Nanoseconds(1e3)
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
36 | }
37 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/10] Emitting module FirebladeTime
/host/spi-builder-workspace/Sources/FirebladeTime/POSIXClock.swift:15:16: error: unavailable on this platform
13 | import Glibc
14 | #else
15 | #error("unavailable on this platform")
| `- error: unavailable on this platform
16 | #endif
17 |
/host/spi-builder-workspace/Sources/FirebladeTime/POSIXTimeOfDay.swift:14:16: error: unavailable on this platform
12 | import Glibc
13 | #else
14 | #error("unavailable on this platform")
| `- error: unavailable on this platform
15 | #endif
16 |
/host/spi-builder-workspace/Sources/FirebladeTime/POSIXClock.swift:42:41: error: cannot find type 'CTimeSpec' in scope
40 | // clock_gettime (ns) => 370 cycles (CLOCK_PROCESS_CPUTIME_ID)
41 |
42 | @usableFromInline var timeSpec: CTimeSpec
| `- error: cannot find type 'CTimeSpec' in scope
43 |
44 | @inlinable
/host/spi-builder-workspace/Sources/FirebladeTime/POSIXClock.swift:46:24: error: cannot find 'CTimeSpec' in scope
44 | @inlinable
45 | public init() {
46 | timeSpec = CTimeSpec(tv_sec: 0, tv_nsec: 0)
| `- error: cannot find 'CTimeSpec' in scope
47 | // get resolution
48 | #if canImport(Darwin)
/host/spi-builder-workspace/Sources/FirebladeTime/POSIXClock.swift:51:21: error: cannot find 'clock_getres' in scope
49 | timeSpec.tv_sec = UInt32(1 / sysconf(_SC_CLK_TCK))
50 | #else
51 | _ = clock_getres(CLOCK_MONOTONIC, &timeSpec)
| `- error: cannot find 'clock_getres' in scope
52 | #endif
53 | }
/host/spi-builder-workspace/Sources/FirebladeTime/POSIXClock.swift:51:34: error: cannot find 'CLOCK_MONOTONIC' in scope
49 | timeSpec.tv_sec = UInt32(1 / sysconf(_SC_CLK_TCK))
50 | #else
51 | _ = clock_getres(CLOCK_MONOTONIC, &timeSpec)
| `- error: cannot find 'CLOCK_MONOTONIC' in scope
52 | #endif
53 | }
/host/spi-builder-workspace/Sources/FirebladeTime/POSIXClock.swift:69:21: error: cannot find 'clock_gettime' in scope
67 | _ = mach_port_deallocate(machTaskSelf(), clockName)
68 | #else
69 | _ = clock_gettime(CLOCK_MONOTONIC, &timeSpec)
| `- error: cannot find 'clock_gettime' in scope
70 | #endif
71 | return Nanoseconds(timeSpec.tv_sec) * Nanoseconds(1e9) + Nanoseconds(timeSpec.tv_nsec)
/host/spi-builder-workspace/Sources/FirebladeTime/POSIXClock.swift:69:35: error: cannot find 'CLOCK_MONOTONIC' in scope
67 | _ = mach_port_deallocate(machTaskSelf(), clockName)
68 | #else
69 | _ = clock_gettime(CLOCK_MONOTONIC, &timeSpec)
| `- error: cannot find 'CLOCK_MONOTONIC' in scope
70 | #endif
71 | return Nanoseconds(timeSpec.tv_sec) * Nanoseconds(1e9) + Nanoseconds(timeSpec.tv_nsec)
/host/spi-builder-workspace/Sources/FirebladeTime/POSIXTimeOfDay.swift:23:40: error: cannot find type 'timeval' in scope
21 | /// https://pubs.opengroup.org/onlinepubs/9699919799/functions/gettimeofday.html
22 | public struct POSIXTimeOfDay: TimeProviding {
23 | @usableFromInline var timeVal: timeval
| `- error: cannot find type 'timeval' in scope
24 |
25 | @inlinable
/host/spi-builder-workspace/Sources/FirebladeTime/POSIXTimeOfDay.swift:27:23: error: cannot find 'timeval' in scope
25 | @inlinable
26 | public init() {
27 | timeVal = timeval(tv_sec: 0, tv_usec: 0)
| `- error: cannot find 'timeval' in scope
28 | }
29 |
/host/spi-builder-workspace/Sources/FirebladeTime/POSIXTimeOfDay.swift:33:26: error: cannot find 'gettimeofday' in scope
31 | @inlinable
32 | public mutating func now() -> Nanoseconds {
33 | let result = gettimeofday(&timeVal, nil)
| `- error: cannot find 'gettimeofday' in scope
34 | precondition(result == 0, "failed to call 'gettimeofday' error: \(errno)")
35 | return Nanoseconds(timeVal.tv_sec) * Nanoseconds(1e9) + Nanoseconds(timeVal.tv_usec) * Nanoseconds(1e3)
/host/spi-builder-workspace/Sources/FirebladeTime/POSIXTimeOfDay.swift:33:49: error: 'nil' requires a contextual type
31 | @inlinable
32 | public mutating func now() -> Nanoseconds {
33 | let result = gettimeofday(&timeVal, nil)
| `- error: 'nil' requires a contextual type
34 | precondition(result == 0, "failed to call 'gettimeofday' error: \(errno)")
35 | return Nanoseconds(timeVal.tv_sec) * Nanoseconds(1e9) + Nanoseconds(timeVal.tv_usec) * Nanoseconds(1e3)
/host/spi-builder-workspace/Sources/FirebladeTime/POSIXTimeOfDay.swift:34:79: error: cannot find 'errno' in scope
32 | public mutating func now() -> Nanoseconds {
33 | let result = gettimeofday(&timeVal, nil)
34 | precondition(result == 0, "failed to call 'gettimeofday' error: \(errno)")
| `- error: cannot find 'errno' in scope
35 | return Nanoseconds(timeVal.tv_sec) * Nanoseconds(1e9) + Nanoseconds(timeVal.tv_usec) * Nanoseconds(1e3)
36 | }
/host/spi-builder-workspace/Sources/FirebladeTime/POSIXTimeOfDay.swift:35:20: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
33 | let result = gettimeofday(&timeVal, nil)
34 | precondition(result == 0, "failed to call 'gettimeofday' error: \(errno)")
35 | return Nanoseconds(timeVal.tv_sec) * Nanoseconds(1e9) + Nanoseconds(timeVal.tv_usec) * Nanoseconds(1e3)
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
36 | }
37 |
[10/10] Compiling FirebladeTime Duration.swift
/host/spi-builder-workspace/Sources/FirebladeTime/POSIXClock.swift:15:16: error: unavailable on this platform
13 | import Glibc
14 | #else
15 | #error("unavailable on this platform")
| `- error: unavailable on this platform
16 | #endif
17 |
/host/spi-builder-workspace/Sources/FirebladeTime/POSIXTimeOfDay.swift:14:16: error: unavailable on this platform
12 | import Glibc
13 | #else
14 | #error("unavailable on this platform")
| `- error: unavailable on this platform
15 | #endif
16 |
BUILD FAILURE 6.2 android