Build Information
Failed to build Empire, reference main (056e8d), with Swift 6.2 for Android on 14 Oct 2025 20:10:23 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mattmassicotte/Empire.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/mattmassicotte/Empire
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 056e8da Enable testable imports for now
Submodule path 'lmdb': checked out '14d6629bc8a9fe40d8a6bee1bf71c45afe7576b6'
Submodule 'lmdb' (https://github.com/LMDB/lmdb.git) registered for path 'lmdb'
Cloning into '/host/spi-builder-workspace/lmdb'...
Cloned https://github.com/mattmassicotte/Empire.git
Revision (git rev-parse @):
056e8dada28f642b8f1a66251b4e99e27437a15a
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/mattmassicotte/Empire.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/mattmassicotte/Empire.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:d70d83f328e9f1ae04a4e17e63e2d335ae10639f90ee796a5fe3bfb139eab948
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/swiftlang/swift-syntax.git
[1/72485] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (6.99s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 602.0.0 (9.68s)
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 602.0.0
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz (0.71s)
Building for debugging...
[0/17] Write sources
[9/17] Write swift-version--11D90AFD9DD3AB2.txt
[10/17] Compiling CLMDB midl.c
[12/52] Compiling CLMDB mdb.c
[15/64] Compiling PackedSerialize Int64+Serialization.swift
[16/64] Compiling PackedSerialize Optional+Serialization.swift
[17/64] Compiling PackedSerialize RawRepresentable+Serialization.swift
[18/64] Compiling PackedSerialize Serializable.swift
[19/64] Compiling PackedSerialize String+Serialization.swift
[20/64] Compiling PackedSerialize Float+Serialization.swift
[21/64] Compiling PackedSerialize Int+Serialization.swift
[22/64] Compiling PackedSerialize EmptyValue.swift
[23/64] Compiling PackedSerialize FixedWidthInteger+Serialization.swift
[24/65] Compiling EmpireMacros Plugin.swift
[25/65] Compiling EmpireMacros CloudKitRecordMacro.swift
[26/65] Compiling EmpireMacros Array+ReplaceLast.swift
[27/65] Emitting module EmpireMacros
[28/65] Compiling EmpireMacros IndexKeyRecordMacro.swift
[29/65] Emitting module LMDB
[30/65] Compiling EmpireMacros String+hash.swift
[31/65] Compiling EmpireMacros RecordMacroArguments.swift
[32/66] Wrapping AST for EmpireMacros for debugging
[33/66] Write Objects.LinkFileList
[34/66] Linking EmpireMacros-tool
[36/66] Compiling LMDB Transaction.swift
[37/66] Compiling LMDB Types+Values.swift
[38/66] Compiling PackedSerialize UUID+Serialization.swift
[39/66] Compiling LMDB CLMDB+Extensions.swift
[40/66] Compiling LMDB Cursor.swift
[41/66] Compiling LMDB Environment.swift
[42/67] Compiling PackedSerialize Array+Serialization.swift
[43/67] Compiling PackedSerialize Bool+Serialization.swift
[44/67] Emitting module PackedSerialize
[45/67] Compiling PackedSerialize Data+Serialization.swift
[46/67] Compiling PackedSerialize Date+Serialization.swift
[49/68] Compiling PackedSerialize String+Serialization.swift
[52/69] Emitting module PackedSerialize
[61/81] Emitting module Empire
[62/82] Compiling Empire Tuple.swift
[63/82] Compiling Empire UnsafeRawBufferPointer+Extensions.swift
[64/82] Compiling Empire Store.swift
[65/82] Compiling Empire TransactionContext.swift
[66/82] Compiling Empire LMDB+Extensions.swift
[67/82] Compiling Empire Macros.swift
[68/82] Compiling Empire CloudKitRecord.swift
[69/82] Compiling Empire IndexKeyRecord.swift
[70/82] Compiling Empire BackgroundStore.swift
[71/82] Compiling Empire Buffers.swift
[72/82] Compiling Empire Query+LDMBQuery.swift
[73/82] Compiling Empire Query.swift
[75/85] Compiling EmpireSwiftData DataStoreAdapter.swift
[76/85] Emitting module EmpireSwiftData
[78/86] Compiling PackedSerialize UUID+Serialization.swift
[79/86] Emitting module LMDB
[80/86] Compiling LMDB CLMDB+Extensions.swift
[83/87] Compiling LMDB Cursor.swift
[84/87] Compiling LMDB Transaction.swift
[85/87] Compiling LMDB Types+Values.swift
[86/87] Compiling LMDB Environment.swift
/host/spi-builder-workspace/Sources/LMDB/Environment.swift:68:29: error: cannot find 'S_IRUSR' in scope
66 | private func open(path: String, locking: Bool) throws {
67 | let envFlags = UInt32(MDB_NOTLS) | (locking ? 0 : UInt32(MDB_NOLOCK))
68 | let envMode: mdb_mode_t = S_IRUSR | S_IWUSR
| `- error: cannot find 'S_IRUSR' in scope
69 |
70 | try path.withCString { pathStr in
/host/spi-builder-workspace/Sources/LMDB/Environment.swift:68:39: error: cannot find 'S_IWUSR' in scope
66 | private func open(path: String, locking: Bool) throws {
67 | let envFlags = UInt32(MDB_NOTLS) | (locking ? 0 : UInt32(MDB_NOLOCK))
68 | let envMode: mdb_mode_t = S_IRUSR | S_IWUSR
| `- error: cannot find 'S_IWUSR' in scope
69 |
70 | try path.withCString { pathStr in
/host/spi-builder-workspace/Sources/LMDB/Environment.swift:68:37: error: cannot convert value of type 'UInt8' to specified type 'mdb_mode_t' (aka 'UInt32')
66 | private func open(path: String, locking: Bool) throws {
67 | let envFlags = UInt32(MDB_NOTLS) | (locking ? 0 : UInt32(MDB_NOLOCK))
68 | let envMode: mdb_mode_t = S_IRUSR | S_IWUSR
| `- error: cannot convert value of type 'UInt8' to specified type 'mdb_mode_t' (aka 'UInt32')
69 |
70 | try path.withCString { pathStr in
BUILD FAILURE 6.2 android