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.2 (beta) for Android on 31 Jul 2025 15:55:12 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/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.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" 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
Fetching https://github.com/swiftlang/swift-syntax.git
[1/71380] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (5.44s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.1 (8.37s)
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
[26/48] Write swift-version-8C5A4AE7A8CE2BA.txt
[29/84] Emitting module SwiftSyntax509
[29/84] Compiling CLMDB mdb.c
[32/96] Compiling SwiftSyntax601 Empty.swift
[33/96] Emitting module SwiftSyntax601
[34/96] Compiling SwiftSyntax509 Empty.swift
[35/98] Compiling PackedSerialize EmptyValue.swift
[36/98] Compiling PackedSerialize FixedWidthInteger+Serialization.swift
[37/98] Compiling PackedSerialize Data+Serialization.swift
[38/98] Compiling PackedSerialize Date+Serialization.swift
[39/98] Compiling PackedSerialize RawRepresentable+Serialization.swift
[40/98] Compiling PackedSerialize Serializable.swift
[41/99] Compiling PackedSerialize String+Serialization.swift
[43/99] Compiling PackedSerialize Int64+Serialization.swift
[44/99] Compiling PackedSerialize Optional+Serialization.swift
[45/99] Emitting module SwiftSyntax600
[46/99] Compiling SwiftSyntax510 Empty.swift
[47/99] Emitting module SwiftSyntax510
[48/99] Compiling SwiftSyntax600 Empty.swift
[51/101] Wrapping AST for SwiftSyntax601 for debugging
[52/101] Wrapping AST for SwiftSyntax509 for debugging
[53/101] Wrapping AST for SwiftSyntax510 for debugging
[54/101] Wrapping AST for SwiftSyntax600 for debugging
[56/165] Compiling LMDB Types+Values.swift
[57/165] Compiling LMDB Transaction.swift
[58/165] Compiling PackedSerialize UUID+Serialization.swift
[59/165] Compiling SwiftSyntax Identifier.swift
[60/165] Compiling SwiftSyntax MemoryLayout.swift
[61/165] Compiling SwiftSyntax MissingNodeInitializers.swift
[62/165] Compiling SwiftSyntax RawSyntax.swift
[63/165] Emitting module PackedSerialize
[64/166] Compiling LMDB Cursor.swift
[65/166] Compiling LMDB CLMDB+Extensions.swift
[66/166] Emitting module LMDB
[67/166] Compiling LMDB Environment.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
[83/177] Emitting module LMDB
[84/177] Compiling LMDB CLMDB+Extensions.swift
[85/177] Compiling PackedSerialize String+Serialization.swift
[87/177] Compiling SwiftSyntax AbsolutePosition.swift
[88/177] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[89/177] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[90/177] Compiling LMDB Cursor.swift
[94/177] Compiling SwiftSyntax Assert.swift
[95/177] Compiling SwiftSyntax BumpPtrAllocator.swift
[96/177] Compiling SwiftSyntax CommonAncestor.swift
[97/177] Compiling SwiftSyntax Convenience.swift
[98/177] Compiling SwiftSyntax CustomTraits.swift
[99/177] Compiling SwiftSyntax EditorPlaceholder.swift
[100/177] Compiling SwiftSyntax SourceLocation.swift
[101/177] Compiling SwiftSyntax SourcePresence.swift
[102/177] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[103/177] Compiling SwiftSyntax Syntax.swift
[104/177] Compiling SwiftSyntax SyntaxArena.swift
[105/177] Compiling SwiftSyntax SyntaxArenaAllocatedBuffer.swift
[106/177] Compiling SwiftSyntax SyntaxChildren.swift
[107/177] Compiling SwiftSyntax SyntaxCollection.swift
[108/177] Compiling SwiftSyntax SyntaxHashable.swift
[109/177] Compiling PackedSerialize UUID+Serialization.swift
[110/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
[111/177] Compiling LMDB Transaction.swift
[112/177] Compiling LMDB Types+Values.swift
[115/177] Emitting module PackedSerialize
BUILD FAILURE 6.2 android