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 Engine, reference main (3a79c3), with Swift 6.0 for Linux on 14 Jun 2025 06:08:07 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nathantannar4/Engine.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/nathantannar4/Engine
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 3a79c39 2.1.13
Cloned https://github.com/nathantannar4/Engine.git
Revision (git rev-parse @):
3a79c39345d4783e44e3bdcc9af1dec6fc2ba6e2
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/nathantannar4/Engine.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/nathantannar4/Engine.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:debc4e1350c0695074699a23098fae94108f9209fa127752a12980f1ee4f0a53
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/swiftlang/swift-syntax
[1/70793] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (4.42s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 600.0.1 (2.10s)
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 600.0.1
Building for debugging...
[0/38] Write sources
[18/38] Compiling _SwiftSyntaxCShims dummy.c
In file included from /host/spi-builder-workspace/Sources/EngineCoreC/visitors.c:5:
/host/spi-builder-workspace/Sources/EngineCoreC/include/visitors.h:8:10: fatal error: 'TargetConditionals.h' file not found
    8 | #include <TargetConditionals.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[19/38] Compiling EngineCoreC visitors.c
[19/38] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.0 linux