Build Information
Failed to build Empire, reference main (b3bc06), with Swift 6.3 for macOS (SPM) on 22 Apr 2026 16:57:19 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mattmassicotte/Empire.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/mattmassicotte/Empire
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at b3bc068 Add OS specififer for tvOS
Submodule path 'lmdb': checked out '14d6629bc8a9fe40d8a6bee1bf71c45afe7576b6'
Submodule 'lmdb' (https://github.com/LMDB/lmdb.git) registered for path 'lmdb'
Cloning into '/Users/admin/builder/spi-builder-workspace/lmdb'...
Cloned https://github.com/mattmassicotte/Empire.git
Revision (git rev-parse @):
b3bc068404ef113a34626ea08a5bb49cbffd373a
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/mattmassicotte/Empire.git at main
Fetching https://github.com/swiftlang/swift-syntax.git
[1/75035] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (4.61s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 602.0.0 (8.11s)
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/swiftlang-6.3.0.123.5-macosx26.4-MacroSupport.zip
Downloaded https://download.swift.org/prebuilts/swift-syntax/602.0.0/swiftlang-6.3.0.123.5-macosx26.4-MacroSupport.zip (0.31s)
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"traits": [
"default"
],
"dependencies": [
{
"identity": "empire",
"name": "Empire",
"url": "https://github.com/mattmassicotte/Empire.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Empire",
"traits": [
"default"
],
"dependencies": [
]
}
]
}
Fetching https://github.com/mattmassicotte/Empire.git
[1/1756] Fetching empire
Fetched https://github.com/mattmassicotte/Empire.git from cache (1.04s)
Fetching https://github.com/swiftlang/swift-syntax.git from cache
Fetched https://github.com/swiftlang/swift-syntax.git from cache (0.91s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 602.0.0 (0.98s)
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
Creating working copy for https://github.com/mattmassicotte/Empire.git
Working copy of https://github.com/mattmassicotte/Empire.git resolved at main (b3bc068)
warning: '.resolve-product-dependencies': dependency 'empire' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.3
Building package at path: $PWD
https://github.com/mattmassicotte/Empire.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/16] Write sources
[9/16] Write swift-version--6988338F2F200930.txt
[10/53] Compiling CLMDB midl.c
[12/53] Compiling CLMDB mdb.c
[15/65] Compiling EmpireMacros RecordMacroArguments.swift
[16/65] Compiling EmpireMacros String+hash.swift
[17/65] Compiling EmpireMacros CloudKitRecordMacro.swift
[18/65] Compiling EmpireMacros Plugin.swift
[19/65] Compiling EmpireMacros Array+ReplaceLast.swift
[20/65] Emitting module EmpireMacros
[21/65] Compiling EmpireMacros IndexKeyRecordMacro.swift
/Users/admin/builder/spi-builder-workspace/Sources/EmpireMacros/IndexKeyRecordMacro.swift:223:7: warning: initialization of immutable value 'fullInit' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
221 | .joined(separator: "\n")
222 |
223 | let fullInit = [keyInit, fieldsInit].joined(separator: "")
| `- warning: initialization of immutable value 'fullInit' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
224 | let fullSerialize = [keySerialize, fieldsSerialize].joined(separator: "")
225 |
[21/65] Write Objects.LinkFileList
[23/65] Compiling PackedSerialize FixedWidthInteger+Serialization.swift
/Users/admin/builder/spi-builder-workspace/Sources/PackedSerialize/Deserializer.swift:22:3: error: invalid lifetime dependence on an Escapable result
20 | }
21 |
22 | @_lifetime(&self)
| `- error: invalid lifetime dependence on an Escapable result
23 | public mutating func unsafeLoad<T>(
24 | of t: T.Type,
[24/65] Compiling PackedSerialize Float+Serialization.swift
/Users/admin/builder/spi-builder-workspace/Sources/PackedSerialize/Deserializer.swift:22:3: error: invalid lifetime dependence on an Escapable result
20 | }
21 |
22 | @_lifetime(&self)
| `- error: invalid lifetime dependence on an Escapable result
23 | public mutating func unsafeLoad<T>(
24 | of t: T.Type,
[25/66] Compiling PackedSerialize String+Serialization.swift
/Users/admin/builder/spi-builder-workspace/Sources/PackedSerialize/Deserializer.swift:45:3: error: invalid lifetime dependence on an Escapable result
43 | }
44 |
45 | @_lifetime(&self)
| `- error: invalid lifetime dependence on an Escapable result
46 | public mutating func advance(by amount: Int) throws(DeserializeError) {
47 | try checkOffset(amount)
[26/67] Compiling PackedSerialize Optional+Serialization.swift
[27/67] Compiling PackedSerialize Deserializer.swift
/Users/admin/builder/spi-builder-workspace/Sources/PackedSerialize/Deserializer.swift:22:3: error: invalid lifetime dependence on an Escapable result
20 | }
21 |
22 | @_lifetime(&self)
| `- error: invalid lifetime dependence on an Escapable result
23 | public mutating func unsafeLoad<T>(
24 | of t: T.Type,
/Users/admin/builder/spi-builder-workspace/Sources/PackedSerialize/Deserializer.swift:45:3: error: invalid lifetime dependence on an Escapable result
43 | }
44 |
45 | @_lifetime(&self)
| `- error: invalid lifetime dependence on an Escapable result
46 | public mutating func advance(by amount: Int) throws(DeserializeError) {
47 | try checkOffset(amount)
[28/67] Compiling PackedSerialize EmptyValue.swift
/Users/admin/builder/spi-builder-workspace/Sources/PackedSerialize/Deserializer.swift:22:3: error: invalid lifetime dependence on an Escapable result
20 | }
21 |
22 | @_lifetime(&self)
| `- error: invalid lifetime dependence on an Escapable result
23 | public mutating func unsafeLoad<T>(
24 | of t: T.Type,
/Users/admin/builder/spi-builder-workspace/Sources/PackedSerialize/Deserializer.swift:45:3: error: invalid lifetime dependence on an Escapable result
43 | }
44 |
45 | @_lifetime(&self)
| `- error: invalid lifetime dependence on an Escapable result
46 | public mutating func advance(by amount: Int) throws(DeserializeError) {
47 | try checkOffset(amount)
[29/67] Compiling PackedSerialize RawRepresentable+Serialization.swift
[30/67] Compiling PackedSerialize Serializable.swift
[31/67] Compiling PackedSerialize String+Serialization.swift
/Users/admin/builder/spi-builder-workspace/Sources/PackedSerialize/Deserializer.swift:45:3: error: invalid lifetime dependence on an Escapable result
43 | }
44 |
45 | @_lifetime(&self)
| `- error: invalid lifetime dependence on an Escapable result
46 | public mutating func advance(by amount: Int) throws(DeserializeError) {
47 | try checkOffset(amount)
/Users/admin/builder/spi-builder-workspace/Sources/PackedSerialize/Deserializer.swift:22:3: error: invalid lifetime dependence on an Escapable result
20 | }
21 |
22 | @_lifetime(&self)
| `- error: invalid lifetime dependence on an Escapable result
23 | public mutating func unsafeLoad<T>(
24 | of t: T.Type,
/Users/admin/builder/spi-builder-workspace/Sources/PackedSerialize/Deserializer.swift:45:3: error: invalid lifetime dependence on an Escapable result
43 | }
44 |
45 | @_lifetime(&self)
| `- error: invalid lifetime dependence on an Escapable result
46 | public mutating func advance(by amount: Int) throws(DeserializeError) {
47 | try checkOffset(amount)
/Users/admin/builder/spi-builder-workspace/Sources/PackedSerialize/Deserializer.swift:22:3: error: invalid lifetime dependence on an Escapable result
20 | }
21 |
22 | @_lifetime(&self)
| `- error: invalid lifetime dependence on an Escapable result
23 | public mutating func unsafeLoad<T>(
24 | of t: T.Type,
/Users/admin/builder/spi-builder-workspace/Sources/PackedSerialize/Deserializer.swift:45:3: error: invalid lifetime dependence on an Escapable result
43 | }
44 |
45 | @_lifetime(&self)
| `- error: invalid lifetime dependence on an Escapable result
46 | public mutating func advance(by amount: Int) throws(DeserializeError) {
47 | try checkOffset(amount)
[34/67] Compiling LMDB Cursor.swift
/Users/admin/builder/spi-builder-workspace/Sources/LMDB/CLMDB+Extensions.swift:38:3: error: invalid lifetime dependence on an Escapable result
36 | }
37 |
38 | @_lifetime(borrow span)
| `- error: invalid lifetime dependence on an Escapable result
39 | init(_ span: RawSpan) {
40 | let val = span.withUnsafeBytes { buffer in
[35/67] Compiling LMDB Transaction.swift
/Users/admin/builder/spi-builder-workspace/Sources/LMDB/CLMDB+Extensions.swift:38:3: error: invalid lifetime dependence on an Escapable result
36 | }
37 |
38 | @_lifetime(borrow span)
| `- error: invalid lifetime dependence on an Escapable result
39 | init(_ span: RawSpan) {
40 | let val = span.withUnsafeBytes { buffer in
[36/67] Compiling LMDB CLMDB+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/LMDB/CLMDB+Extensions.swift:38:3: error: invalid lifetime dependence on an Escapable result
36 | }
37 |
38 | @_lifetime(borrow span)
| `- error: invalid lifetime dependence on an Escapable result
39 | init(_ span: RawSpan) {
40 | let val = span.withUnsafeBytes { buffer in
[37/67] Compiling PackedSerialize Serializable.swift
[38/67] Compiling PackedSerialize Optional+Serialization.swift
[39/67] Compiling PackedSerialize RawRepresentable+Serialization.swift
[39/67] Linking EmpireMacros-tool
[41/67] Compiling PackedSerialize Int+Serialization.swift
[42/67] Compiling PackedSerialize Int64+Serialization.swift
/Users/admin/builder/spi-builder-workspace/Sources/PackedSerialize/Deserializer.swift:22:3: error: invalid lifetime dependence on an Escapable result
20 | }
21 |
22 | @_lifetime(&self)
| `- error: invalid lifetime dependence on an Escapable result
23 | public mutating func unsafeLoad<T>(
24 | of t: T.Type,
/Users/admin/builder/spi-builder-workspace/Sources/PackedSerialize/Deserializer.swift:22:3: error: invalid lifetime dependence on an Escapable result
20 | }
21 |
22 | @_lifetime(&self)
| `- error: invalid lifetime dependence on an Escapable result
23 | public mutating func unsafeLoad<T>(
24 | of t: T.Type,
[47/67] Compiling PackedSerialize UUID+Serialization.swift
/Users/admin/builder/spi-builder-workspace/Sources/PackedSerialize/Deserializer.swift:22:3: error: invalid lifetime dependence on an Escapable result
20 | }
21 |
22 | @_lifetime(&self)
| `- error: invalid lifetime dependence on an Escapable result
23 | public mutating func unsafeLoad<T>(
24 | of t: T.Type,
error: emit-module command failed with exit code 1 (use -v to see invocation)
[48/67] Compiling PackedSerialize Array+Serialization.swift
[49/67] Compiling PackedSerialize Bool+Serialization.swift
[50/67] Emitting module PackedSerialize
/Users/admin/builder/spi-builder-workspace/Sources/PackedSerialize/Deserializer.swift:22:3: error: invalid lifetime dependence on an Escapable result
20 | }
21 |
22 | @_lifetime(&self)
| `- error: invalid lifetime dependence on an Escapable result
23 | public mutating func unsafeLoad<T>(
24 | of t: T.Type,
/Users/admin/builder/spi-builder-workspace/Sources/PackedSerialize/Deserializer.swift:45:3: error: invalid lifetime dependence on an Escapable result
43 | }
44 |
45 | @_lifetime(&self)
| `- error: invalid lifetime dependence on an Escapable result
46 | public mutating func advance(by amount: Int) throws(DeserializeError) {
47 | try checkOffset(amount)
[51/67] Compiling PackedSerialize Data+Serialization.swift
/Users/admin/builder/spi-builder-workspace/Sources/PackedSerialize/Deserializer.swift:45:3: error: invalid lifetime dependence on an Escapable result
43 | }
44 |
45 | @_lifetime(&self)
| `- error: invalid lifetime dependence on an Escapable result
46 | public mutating func advance(by amount: Int) throws(DeserializeError) {
47 | try checkOffset(amount)
[52/67] Compiling PackedSerialize Date+Serialization.swift
/Users/admin/builder/spi-builder-workspace/Sources/PackedSerialize/Deserializer.swift:45:3: error: invalid lifetime dependence on an Escapable result
43 | }
44 |
45 | @_lifetime(&self)
| `- error: invalid lifetime dependence on an Escapable result
46 | public mutating func advance(by amount: Int) throws(DeserializeError) {
47 | try checkOffset(amount)
[53/67] Compiling PackedSerialize UUID+Serialization.swift
/Users/admin/builder/spi-builder-workspace/Sources/PackedSerialize/Deserializer.swift:22:3: error: invalid lifetime dependence on an Escapable result
20 | }
21 |
22 | @_lifetime(&self)
| `- error: invalid lifetime dependence on an Escapable result
23 | public mutating func unsafeLoad<T>(
24 | of t: T.Type,
error: emit-module command failed with exit code 1 (use -v to see invocation)
[56/67] Emitting module PackedSerialize
/Users/admin/builder/spi-builder-workspace/Sources/PackedSerialize/Deserializer.swift:22:3: error: invalid lifetime dependence on an Escapable result
20 | }
21 |
22 | @_lifetime(&self)
| `- error: invalid lifetime dependence on an Escapable result
23 | public mutating func unsafeLoad<T>(
24 | of t: T.Type,
/Users/admin/builder/spi-builder-workspace/Sources/PackedSerialize/Deserializer.swift:45:3: error: invalid lifetime dependence on an Escapable result
43 | }
44 |
45 | @_lifetime(&self)
| `- error: invalid lifetime dependence on an Escapable result
46 | public mutating func advance(by amount: Int) throws(DeserializeError) {
47 | try checkOffset(amount)
/Users/admin/builder/spi-builder-workspace/Sources/PackedSerialize/Deserializer.swift:45:3: error: invalid lifetime dependence on an Escapable result
43 | }
44 |
45 | @_lifetime(&self)
| `- error: invalid lifetime dependence on an Escapable result
46 | public mutating func advance(by amount: Int) throws(DeserializeError) {
47 | try checkOffset(amount)
/Users/admin/builder/spi-builder-workspace/Sources/PackedSerialize/Deserializer.swift:45:3: error: invalid lifetime dependence on an Escapable result
43 | }
44 |
45 | @_lifetime(&self)
| `- error: invalid lifetime dependence on an Escapable result
46 | public mutating func advance(by amount: Int) throws(DeserializeError) {
47 | try checkOffset(amount)
error: emit-module command failed with exit code 1 (use -v to see invocation)
[59/67] Emitting module LMDB
/Users/admin/builder/spi-builder-workspace/Sources/LMDB/CLMDB+Extensions.swift:38:3: error: invalid lifetime dependence on an Escapable result
36 | }
37 |
38 | @_lifetime(borrow span)
| `- error: invalid lifetime dependence on an Escapable result
39 | init(_ span: RawSpan) {
40 | let val = span.withUnsafeBytes { buffer in
error: emit-module command failed with exit code 1 (use -v to see invocation)
[60/67] Compiling LMDB Types+Values.swift
/Users/admin/builder/spi-builder-workspace/Sources/LMDB/CLMDB+Extensions.swift:38:3: error: invalid lifetime dependence on an Escapable result
36 | }
37 |
38 | @_lifetime(borrow span)
| `- error: invalid lifetime dependence on an Escapable result
39 | init(_ span: RawSpan) {
40 | let val = span.withUnsafeBytes { buffer in
[61/67] Emitting module LMDB
/Users/admin/builder/spi-builder-workspace/Sources/LMDB/CLMDB+Extensions.swift:38:3: error: invalid lifetime dependence on an Escapable result
36 | }
37 |
38 | @_lifetime(borrow span)
| `- error: invalid lifetime dependence on an Escapable result
39 | init(_ span: RawSpan) {
40 | let val = span.withUnsafeBytes { buffer in
/Users/admin/builder/spi-builder-workspace/Sources/LMDB/CLMDB+Extensions.swift:38:3: error: invalid lifetime dependence on an Escapable result
36 | }
37 |
38 | @_lifetime(borrow span)
| `- error: invalid lifetime dependence on an Escapable result
39 | init(_ span: RawSpan) {
40 | let val = span.withUnsafeBytes { buffer in
BUILD FAILURE 6.3 macosSpm