The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build Empire, reference main (27c385), with Swift 6.1 for Android on 31 Jul 2025 15:56:07 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.64.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 27c3857 Documentation for deletes
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 @):
27c3857cf4b3fcd562ade3158d951391a60673a7
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:873b43b7be6289c04a5a3fd4b2c372c2a5abf90643451079297d3dc6dc0b7d36
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/71380] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (5.50s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.1 (7.56s)
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
[28/55] Compiling CLMDB mdb.c
[31/96] Emitting module SwiftSyntax601
[32/96] Compiling SwiftSyntax601 Empty.swift
[33/97] Emitting module SwiftSyntax510
[34/97] Compiling SwiftSyntax510 Empty.swift
[35/98] Emitting module SwiftSyntax509
[36/98] Compiling SwiftSyntax509 Empty.swift
[37/99] Compiling SwiftSyntax600 Empty.swift
[38/99] Emitting module SwiftSyntax600
[39/99] Compiling PackedSerialize RawRepresentable+Serialization.swift
[40/99] Compiling PackedSerialize Serializable.swift
[41/99] Compiling PackedSerialize String+Serialization.swift
[46/101] Compiling PackedSerialize Float+Serialization.swift
[47/101] Compiling PackedSerialize Int+Serialization.swift
[48/101] Compiling PackedSerialize EmptyValue.swift
[49/101] Compiling PackedSerialize FixedWidthInteger+Serialization.swift
[50/101] Compiling PackedSerialize Int64+Serialization.swift
[51/101] Compiling PackedSerialize Optional+Serialization.swift
[51/101] Wrapping AST for SwiftSyntax600 for debugging
[52/101] Wrapping AST for SwiftSyntax601 for debugging
[53/101] Wrapping AST for SwiftSyntax509 for debugging
[54/101] Wrapping AST for SwiftSyntax510 for debugging
[56/165] Compiling LMDB Transaction.swift
[57/165] Compiling LMDB Types+Values.swift
[58/165] Compiling LMDB CLMDB+Extensions.swift
[59/165] Compiling LMDB Environment.swift
[60/165] Compiling LMDB Cursor.swift
[61/165] Emitting module LMDB
[62/166] Compiling PackedSerialize UUID+Serialization.swift
[64/166] Emitting module PackedSerialize
[65/166] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[66/166] Compiling SwiftSyntax Assert.swift
[67/166] Compiling SwiftSyntax BumpPtrAllocator.swift
[68/166] Compiling SwiftSyntax CommonAncestor.swift
[70/167] Compiling SwiftSyntax Identifier.swift
[71/167] Compiling SwiftSyntax MemoryLayout.swift
[72/167] Compiling SwiftSyntax MissingNodeInitializers.swift
[73/167] Compiling SwiftSyntax RawSyntax.swift
[74/167] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[75/167] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[76/167] Compiling SwiftSyntax RawSyntaxTokenView.swift
[77/167] Compiling SwiftSyntax SourceEdit.swift
[78/167] Compiling SwiftSyntax SourceLength.swift
[79/176] Emitting module LMDB
[80/176] Emitting module PackedSerialize
[81/176] Compiling SwiftSyntax AbsolutePosition.swift
[82/176] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[85/177] Compiling LMDB CLMDB+Extensions.swift
[86/177] Compiling SwiftSyntax Convenience.swift
[87/177] Compiling SwiftSyntax CustomTraits.swift
[90/177] Compiling PackedSerialize String+Serialization.swift
[91/177] Compiling SwiftSyntax EditorPlaceholder.swift
[93/177] Compiling SwiftSyntax SourceLocation.swift
[94/177] Compiling SwiftSyntax SourcePresence.swift
[95/177] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[96/177] Compiling SwiftSyntax Syntax.swift
[97/177] Compiling SwiftSyntax SyntaxArena.swift
[98/177] Compiling SwiftSyntax SyntaxArenaAllocatedBuffer.swift
[99/177] Compiling SwiftSyntax SyntaxChildren.swift
[100/177] Compiling SwiftSyntax SyntaxCollection.swift
[101/177] Compiling SwiftSyntax SyntaxHashable.swift
[111/177] Compiling PackedSerialize UUID+Serialization.swift
[112/177] Compiling LMDB Cursor.swift
[115/177] 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
[116/178] Compiling LMDB Transaction.swift
[117/178] Compiling LMDB Types+Values.swift
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:873b43b7be6289c04a5a3fd4b2c372c2a5abf90643451079297d3dc6dc0b7d36
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/60] Compiling SwiftSyntax510 Empty.swift
[3/67] Emitting module SwiftSyntax601
[4/67] Compiling SwiftSyntax601 Empty.swift
[5/67] Emitting module SwiftSyntax600
[6/68] Emitting module SwiftSyntax510
[7/68] Compiling SwiftSyntax600 Empty.swift
[8/70] Emitting module PackedSerialize
[9/71] Compiling SwiftSyntax509 Empty.swift
[10/71] Emitting module SwiftSyntax509
[11/72] Compiling PackedSerialize Int64+Serialization.swift
[12/72] Compiling PackedSerialize Optional+Serialization.swift
[16/69] Compiling PackedSerialize String+Serialization.swift
[17/69] Compiling PackedSerialize Float+Serialization.swift
[18/69] Compiling PackedSerialize Int+Serialization.swift
[20/69] 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
[21/68] Compiling LMDB Types+Values.swift
[23/68] Compiling PackedSerialize RawRepresentable+Serialization.swift
[24/68] Compiling PackedSerialize Serializable.swift
[25/69] Compiling PackedSerialize UUID+Serialization.swift
[26/69] Compiling PackedSerialize EmptyValue.swift
[27/69] Compiling PackedSerialize FixedWidthInteger+Serialization.swift
[28/69] Compiling PackedSerialize Array+Serialization.swift
[29/69] Compiling PackedSerialize Bool+Serialization.swift
[30/69] Compiling PackedSerialize Data+Serialization.swift
[31/69] Compiling PackedSerialize Date+Serialization.swift
[32/69] Compiling PackedSerialize String+Serialization.swift
[35/70] Compiling LMDB Transaction.swift
[36/70] Compiling LMDB CLMDB+Extensions.swift
[37/70] Compiling LMDB Cursor.swift
[38/70] Emitting module LMDB
[41/70] Emitting module PackedSerialize
[44/70] Emitting module LMDB
[45/70] Compiling LMDB Cursor.swift
[46/70] Compiling LMDB CLMDB+Extensions.swift
[47/70] Compiling LMDB Environment.swift
[48/70] Compiling LMDB Transaction.swift
[56/99] Compiling PackedSerialize UUID+Serialization.swift
BUILD FAILURE 6.1 android