Build Information
Failed to build Empire, reference main (b5c84e
), with Swift 6.1 for Android on 8 Jun 2025 15:45:37 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.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
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 b5c84e0 Update ci.yml to Xcode 16.4 (#11)
Submodule path 'lmdb': checked out 'f20e41de09d97e4461946b7e26ec831d0c24fac7'
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 @):
b5c84e0ce388f759dc58a812eb14f30d5a235b5f
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/mattmassicotte/Empire.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/mattmassicotte/Empire.git
https://github.com/mattmassicotte/Empire.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-syntax",
"requirement" : {
"range" : [
{
"lower_bound" : "600.0.0",
"upper_bound" : "602.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swiftlang/swift-syntax.git"
}
],
"manifest_display_name" : "Empire",
"name" : "Empire",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "14.0"
},
{
"name" : "ios",
"version" : "17.0"
},
{
"name" : "maccatalyst",
"version" : "17.0"
},
{
"name" : "watchos",
"version" : "10.0"
},
{
"name" : "tvos",
"version" : "17.0"
},
{
"name" : "visionos",
"version" : "1.0"
}
],
"products" : [
{
"name" : "Empire",
"targets" : [
"Empire"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "LMDB",
"targets" : [
"LMDB"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "EmpireMacros",
"targets" : [
"EmpireMacros"
],
"type" : {
"macro" : null
}
}
],
"targets" : [
{
"c99name" : "PackedSerializeTests",
"module_type" : "SwiftTarget",
"name" : "PackedSerializeTests",
"path" : "Tests/PackedSerializeTests",
"sources" : [
"ComparableData.swift",
"PackedSerializeTests.swift"
],
"target_dependencies" : [
"PackedSerialize"
],
"type" : "test"
},
{
"c99name" : "PackedSerialize",
"module_type" : "SwiftTarget",
"name" : "PackedSerialize",
"path" : "Sources/PackedSerialize",
"product_memberships" : [
"Empire"
],
"sources" : [
"Array+Serialization.swift",
"Bool+Serialization.swift",
"Data+Serialization.swift",
"Date+Serialization.swift",
"EmptyValue.swift",
"FixedWidthInteger+Serialization.swift",
"Float+Serialization.swift",
"Int+Serialization.swift",
"Int64+Serialization.swift",
"Optional+Serialization.swift",
"RawRepresentable+Serialization.swift",
"Serializable.swift",
"String+Serialization.swift",
"UUID+Serialization.swift"
],
"type" : "library"
},
{
"c99name" : "LMDBTests",
"module_type" : "SwiftTarget",
"name" : "LMDBTests",
"path" : "Tests/LMDBTests",
"sources" : [
"LMDBTests.swift"
],
"target_dependencies" : [
"LMDB"
],
"type" : "test"
},
{
"c99name" : "LMDB",
"module_type" : "SwiftTarget",
"name" : "LMDB",
"path" : "Sources/LMDB",
"product_memberships" : [
"Empire",
"LMDB"
],
"sources" : [
"CLMDB+Extensions.swift",
"Cursor.swift",
"Environment.swift",
"Transaction.swift",
"Types+Values.swift"
],
"target_dependencies" : [
"CLMDB"
],
"type" : "library"
},
{
"c99name" : "EmpireTests",
"module_type" : "SwiftTarget",
"name" : "EmpireTests",
"path" : "Tests/EmpireTests",
"sources" : [
"BackgroundTests.swift",
"CloudKitRecordTests.swift",
"ExampleTests.swift",
"IndexKeyRecordTests.swift",
"InsertTests.swift",
"MigrationTests.swift",
"RelationshipTests.swift",
"SelectTests.swift",
"TupleTests.swift"
],
"target_dependencies" : [
"Empire"
],
"type" : "test"
},
{
"c99name" : "EmpireSwiftDataTests",
"module_type" : "SwiftTarget",
"name" : "EmpireSwiftDataTests",
"path" : "Tests/EmpireSwiftDataTests",
"sources" : [
"DataStoreAdapterTests.swift"
],
"target_dependencies" : [
"EmpireSwiftData"
],
"type" : "test"
},
{
"c99name" : "EmpireSwiftData",
"module_type" : "SwiftTarget",
"name" : "EmpireSwiftData",
"path" : "Sources/EmpireSwiftData",
"sources" : [
"DataStoreAdapter.swift"
],
"target_dependencies" : [
"Empire"
],
"type" : "library"
},
{
"c99name" : "EmpireMacrosTests",
"module_type" : "SwiftTarget",
"name" : "EmpireMacrosTests",
"path" : "Tests/EmpireMacrosTests",
"product_dependencies" : [
"SwiftSyntaxMacrosTestSupport"
],
"sources" : [
"CloudKitRecordMacroTests.swift",
"FailureHandler.swift",
"IndexKeyRecordMacroTests.swift"
],
"target_dependencies" : [
"EmpireMacros"
],
"type" : "test"
},
{
"c99name" : "EmpireMacros",
"module_type" : "SwiftTarget",
"name" : "EmpireMacros",
"path" : "Sources/EmpireMacros",
"product_dependencies" : [
"SwiftSyntaxMacros",
"SwiftCompilerPlugin"
],
"product_memberships" : [
"Empire",
"EmpireMacros"
],
"sources" : [
"Array+ReplaceLast.swift",
"CloudKitRecordMacro.swift",
"IndexKeyRecordMacro.swift",
"Plugin.swift",
"RecordMacroArguments.swift",
"String+hash.swift"
],
"type" : "macro"
},
{
"c99name" : "Empire",
"module_type" : "SwiftTarget",
"name" : "Empire",
"path" : "Sources/Empire",
"product_memberships" : [
"Empire"
],
"sources" : [
"BackgroundStore.swift",
"Buffers.swift",
"CloudKitRecord.swift",
"IndexKeyRecord.swift",
"LMDB+Extensions.swift",
"Macros.swift",
"Query+LDMBQuery.swift",
"Query.swift",
"Store.swift",
"TransactionContext.swift",
"Tuple.swift",
"UnsafeRawBufferPointer+Extensions.swift"
],
"target_dependencies" : [
"LMDB",
"EmpireMacros",
"PackedSerialize"
],
"type" : "library"
},
{
"c99name" : "CLMDB",
"module_type" : "ClangTarget",
"name" : "CLMDB",
"path" : "lmdb/libraries/liblmdb",
"product_memberships" : [
"Empire",
"LMDB"
],
"sources" : [
"mdb.c",
"midl.c"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/swiftlang/swift-syntax.git
[1/70764] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (4.09s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.1 (7.12s)
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 601.0.1
Building for debugging...
[0/48] Write sources
[24/48] Compiling _SwiftSyntaxCShims dummy.c
[25/48] Compiling CLMDB midl.c
[27/48] Write swift-version-24593BA9C3E375BF.txt
[29/84] Emitting module SwiftSyntax509
[29/84] Compiling CLMDB mdb.c
[32/96] Emitting module SwiftSyntax601
[33/96] Compiling SwiftSyntax601 Empty.swift
[34/97] Compiling SwiftSyntax510 Empty.swift
[35/97] Emitting module SwiftSyntax510
[36/97] Compiling PackedSerialize RawRepresentable+Serialization.swift
[37/97] Compiling PackedSerialize Serializable.swift
[38/98] Compiling PackedSerialize EmptyValue.swift
[39/98] Compiling PackedSerialize FixedWidthInteger+Serialization.swift
[40/99] Compiling PackedSerialize Float+Serialization.swift
[41/99] Compiling PackedSerialize Int+Serialization.swift
[42/99] Compiling PackedSerialize Int64+Serialization.swift
[43/99] Compiling PackedSerialize Optional+Serialization.swift
[44/99] Compiling SwiftSyntax509 Empty.swift
[45/99] Compiling SwiftSyntax600 Empty.swift
[46/99] Emitting module SwiftSyntax600
[47/100] Compiling PackedSerialize String+Serialization.swift
[48/101] Emitting module PackedSerialize
[49/101] Emitting module LMDB
[50/101] Compiling LMDB CLMDB+Extensions.swift
[51/101] Compiling LMDB Transaction.swift
[55/101] Wrapping AST for SwiftSyntax509 for debugging
[56/101] Wrapping AST for SwiftSyntax600 for debugging
[57/101] Wrapping AST for SwiftSyntax601 for debugging
[58/101] Wrapping AST for SwiftSyntax510 for debugging
[60/165] Emitting module LMDB
[61/165] Compiling SwiftSyntax AbsolutePosition.swift
[62/165] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[63/165] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[64/165] Compiling SwiftSyntax Assert.swift
[65/165] Compiling SwiftSyntax BumpPtrAllocator.swift
[66/165] Compiling SwiftSyntax CommonAncestor.swift
[67/165] Compiling SwiftSyntax Convenience.swift
[68/165] Compiling SwiftSyntax CustomTraits.swift
[69/165] Compiling SwiftSyntax EditorPlaceholder.swift
[70/174] Compiling LMDB Types+Values.swift
[71/174] Compiling PackedSerialize UUID+Serialization.swift
[76/175] Compiling LMDB Cursor.swift
[77/175] Compiling LMDB Environment.swift
[80/176] Compiling PackedSerialize String+Serialization.swift
[81/177] Compiling SwiftSyntax MemoryLayout.swift
[82/177] Compiling SwiftSyntax MissingNodeInitializers.swift
[88/177] Compiling SwiftSyntax Identifier.swift
[89/177] Compiling LMDB CLMDB+Extensions.swift
[90/177] Compiling SwiftSyntax SourceLocation.swift
[91/177] Compiling SwiftSyntax SourcePresence.swift
[92/177] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[93/177] Compiling SwiftSyntax Syntax.swift
[94/177] Compiling SwiftSyntax SyntaxArena.swift
[95/177] Compiling SwiftSyntax SyntaxArenaAllocatedBuffer.swift
[96/177] Compiling SwiftSyntax SyntaxChildren.swift
[97/177] Compiling SwiftSyntax SyntaxCollection.swift
[98/177] Compiling SwiftSyntax SyntaxHashable.swift
[102/177] Compiling SwiftSyntax RawSyntax.swift
[103/177] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[104/177] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[105/177] Compiling SwiftSyntax RawSyntaxTokenView.swift
[106/177] Compiling SwiftSyntax SourceEdit.swift
[107/177] Compiling SwiftSyntax SourceLength.swift
[108/177] Compiling LMDB Cursor.swift
[109/177] Emitting module PackedSerialize
[114/177] Compiling PackedSerialize UUID+Serialization.swift
[115/178] Compiling LMDB Transaction.swift
[116/178] Compiling LMDB Types+Values.swift
[117/178] 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
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/19] Write swift-version-24593BA9C3E375BF.txt
[2/58] Compiling SwiftSyntax600 Empty.swift
[3/66] Emitting module SwiftSyntax600
[4/68] Emitting module SwiftSyntax601
[5/68] Compiling SwiftSyntax601 Empty.swift
[6/68] Emitting module SwiftSyntax509
[7/68] Compiling SwiftSyntax509 Empty.swift
[8/69] Emitting module SwiftSyntax510
[9/69] Compiling SwiftSyntax510 Empty.swift
[11/70] Compiling PackedSerialize RawRepresentable+Serialization.swift
[12/70] Compiling PackedSerialize Serializable.swift
[14/71] Compiling LMDB Types+Values.swift
[17/68] Compiling PackedSerialize String+Serialization.swift
[18/68] Compiling LMDB Types+Values.swift
[19/68] Compiling LMDB Environment.swift
[20/68] Compiling LMDB Transaction.swift
[21/68] Emitting module PackedSerialize
[22/68] Compiling LMDB Cursor.swift
[23/68] Compiling LMDB CLMDB+Extensions.swift
[24/68] Emitting module LMDB
[27/68] Compiling PackedSerialize String+Serialization.swift
[28/68] Compiling PackedSerialize Array+Serialization.swift
[29/68] Compiling PackedSerialize Bool+Serialization.swift
[30/69] Compiling PackedSerialize Data+Serialization.swift
[31/69] Compiling PackedSerialize Date+Serialization.swift
[32/70] Compiling PackedSerialize EmptyValue.swift
[33/70] Compiling PackedSerialize FixedWidthInteger+Serialization.swift
[34/70] Compiling PackedSerialize Float+Serialization.swift
[35/70] Compiling PackedSerialize Int+Serialization.swift
[36/70] Compiling PackedSerialize Int64+Serialization.swift
[37/70] Compiling PackedSerialize Optional+Serialization.swift
[38/70] Compiling PackedSerialize UUID+Serialization.swift
[40/71] Compiling LMDB Cursor.swift
[41/71] Emitting module LMDB
[42/71] Compiling LMDB CLMDB+Extensions.swift
[43/71] 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
[44/71] Compiling LMDB Transaction.swift
[51/71] Emitting module PackedSerialize
[53/117] Compiling SwiftSyntax Convenience.swift
[54/117] Compiling SwiftSyntax CustomTraits.swift
BUILD FAILURE 6.1 android