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 (056e8d), with Swift 6.1 for Linux on 14 Oct 2025 20:09:28 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build 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:         linux
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" : "603.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.2"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:808cb2b2a6cec76654a3acbd283c6c2205bc60d2b29562c95b9f5147612f6d32
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
error: 'spi-builder-workspace': package 'spi-builder-workspace' is using Swift tools version 6.2.0 but the installed version is 6.1.1
error: 'spi-builder-workspace': package 'spi-builder-workspace' is using Swift tools version 6.2.0 but the installed version is 6.1.1
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:808cb2b2a6cec76654a3acbd283c6c2205bc60d2b29562c95b9f5147612f6d32
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
error: 'spi-builder-workspace': package 'spi-builder-workspace' is using Swift tools version 6.2.0 but the installed version is 6.1.1
error: 'spi-builder-workspace': package 'spi-builder-workspace' is using Swift tools version 6.2.0 but the installed version is 6.1.1
BUILD FAILURE 6.1 linux