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 FirebladePAL, reference main (d54ec8), with Swift 6.0 for Linux on 7 Mar 2025 20:17:53 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/fireblade-engine/pal.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/fireblade-engine/pal
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at d54ec84 Update renovate.json
Cloned https://github.com/fireblade-engine/pal.git
Revision (git rev-parse @):
d54ec8410406c5f207a56ec1ac250e8e161a1bb9
SUCCESS checkout https://github.com/fireblade-engine/pal.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/fireblade-engine/pal.git
https://github.com/fireblade-engine/pal.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "math",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.13.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/fireblade-engine/math.git"
    },
    {
      "identity" : "time",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.2.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/fireblade-engine/time.git"
    },
    {
      "identity" : "swiftsdl2",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.4.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/ctreffs/SwiftSDL2.git"
    },
    {
      "identity" : "swiftvulkan",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.2.1",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/ctreffs/SwiftVulkan"
    },
    {
      "identity" : "swiftnfd",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.2",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/ctreffs/SwiftNFD.git"
    }
  ],
  "manifest_display_name" : "FirebladePAL",
  "name" : "FirebladePAL",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "FirebladePAL",
      "targets" : [
        "FirebladePAL"
      ],
      "type" : {
        "library" : [
          "static"
        ]
      }
    },
    {
      "name" : "VulkanBackendDemoApp",
      "targets" : [
        "VulkanBackendDemoApp"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "MetalBackendDemoApp",
      "targets" : [
        "MetalBackendDemoApp"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "CPUBackendDemoApp",
      "targets" : [
        "CPUBackendDemoApp"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "VulkanBackendDemoApp",
      "module_type" : "SwiftTarget",
      "name" : "VulkanBackendDemoApp",
      "path" : "Demos/VulkanBackendDemoApp",
      "product_dependencies" : [
        "Vulkan"
      ],
      "product_memberships" : [
        "VulkanBackendDemoApp"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "FirebladePAL"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "MetalBackendDemoApp",
      "module_type" : "SwiftTarget",
      "name" : "MetalBackendDemoApp",
      "path" : "Demos/MetalBackendDemoApp",
      "product_memberships" : [
        "MetalBackendDemoApp"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "FirebladePAL"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "FirebladePALTests",
      "module_type" : "SwiftTarget",
      "name" : "FirebladePALTests",
      "path" : "Tests/FirebladePALTests",
      "sources" : [
        "FirebladePALTests.swift"
      ],
      "target_dependencies" : [
        "FirebladePAL"
      ],
      "type" : "test"
    },
    {
      "c99name" : "FirebladePAL",
      "module_type" : "SwiftTarget",
      "name" : "FirebladePAL",
      "path" : "Sources/FirebladePAL",
      "product_dependencies" : [
        "FirebladeMath",
        "FirebladeTime",
        "SDL",
        "Vulkan",
        "NFD"
      ],
      "product_memberships" : [
        "FirebladePAL",
        "VulkanBackendDemoApp",
        "MetalBackendDemoApp",
        "CPUBackendDemoApp"
      ],
      "sources" : [
        "Clipboard.swift",
        "Events.swift",
        "Keys.swift",
        "Platform.swift",
        "Platform/Apple/APPL+Extensions.swift",
        "Platform/Apple/APPLAppDelegate.swift",
        "Platform/Apple/APPLDisplayLink.swift",
        "Platform/Apple/APPLEvents.swift",
        "Platform/Apple/APPLPlatform.swift",
        "Platform/Apple/APPLScreen.swift",
        "Platform/Apple/APPLShims.swift",
        "Platform/Apple/APPLView.swift",
        "Platform/Apple/APPLViewController.swift",
        "Platform/Apple/APPLWindow.swift",
        "Platform/PlatformEvents.swift",
        "Platform/PlatformInitialization.swift",
        "Platform/SDL/SDLClipboard.swift",
        "Platform/SDL/SDLError.swift",
        "Platform/SDL/SDLEvents.swift",
        "Platform/SDL/SDLKeys.swift",
        "Platform/SDL/SDLPlatform.swift",
        "Platform/SDL/SDLScreen.swift",
        "Platform/SDL/SDLWindow.swift",
        "Platform/SDL/Surface/SDLCPUWindowSurface.swift",
        "Platform/SDL/Surface/SDLMTLSurface.swift",
        "Platform/SDL/Surface/SDLOpenGLWindowSurface.swift",
        "Platform/SDL/Surface/SDLVLKWindowSurface.swift",
        "Platform/SDL/Surface/SDLWindowSurface.swift",
        "PointerButton.swift",
        "Screen.swift",
        "Surface.swift",
        "Window.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CPUBackendDemoApp",
      "module_type" : "SwiftTarget",
      "name" : "CPUBackendDemoApp",
      "path" : "Demos/CPUBackendDemoApp",
      "product_memberships" : [
        "CPUBackendDemoApp"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "FirebladePAL"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.7"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-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.0-latest: Pulling from finestructure/spi-images
Digest: sha256:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/ctreffs/SwiftSDL2.git
Fetching https://github.com/ctreffs/SwiftNFD.git
Fetching https://github.com/ctreffs/SwiftVulkan
Fetching https://github.com/fireblade-engine/time.git
Fetching https://github.com/fireblade-engine/math.git
[1/406] Fetching time
[30/700] Fetching time, swiftvulkan
[701/3350] Fetching time, swiftvulkan, math
[702/3742] Fetching time, swiftvulkan, math, swiftnfd
[3637/5094] Fetching time, swiftvulkan, math, swiftnfd, swiftsdl2
Fetched https://github.com/ctreffs/SwiftNFD.git from cache (0.24s)
[4081/4702] Fetching time, swiftvulkan, math, swiftsdl2
Fetched https://github.com/fireblade-engine/time.git from cache (0.75s)
Fetched https://github.com/ctreffs/SwiftVulkan from cache (0.75s)
Fetched https://github.com/fireblade-engine/math.git from cache (0.76s)
Fetched https://github.com/ctreffs/SwiftSDL2.git from cache (0.76s)
Computing version for https://github.com/ctreffs/SwiftNFD.git
Computed https://github.com/ctreffs/SwiftNFD.git at 1.0.2 (0.66s)
Computing version for https://github.com/ctreffs/SwiftVulkan
Computed https://github.com/ctreffs/SwiftVulkan at 0.2.1 (0.96s)
Computing version for https://github.com/ctreffs/SwiftSDL2.git
Computed https://github.com/ctreffs/SwiftSDL2.git at 1.4.1 (0.67s)
Computing version for https://github.com/fireblade-engine/time.git
Computed https://github.com/fireblade-engine/time.git at 0.2.0 (0.68s)
Computing version for https://github.com/fireblade-engine/math.git
Computed https://github.com/fireblade-engine/math.git at 0.13.0 (0.62s)
Creating working copy for https://github.com/fireblade-engine/math.git
Working copy of https://github.com/fireblade-engine/math.git resolved at 0.13.0
Creating working copy for https://github.com/fireblade-engine/time.git
Working copy of https://github.com/fireblade-engine/time.git resolved at 0.2.0
Creating working copy for https://github.com/ctreffs/SwiftNFD.git
Working copy of https://github.com/ctreffs/SwiftNFD.git resolved at 1.0.2
Creating working copy for https://github.com/ctreffs/SwiftSDL2.git
Working copy of https://github.com/ctreffs/SwiftSDL2.git resolved at 1.4.1
Creating working copy for https://github.com/ctreffs/SwiftVulkan
Working copy of https://github.com/ctreffs/SwiftVulkan resolved at 0.2.1
warning: you may be able to install vulkan using your system-packager:
    apt-get install libvulkan-dev libvulkan1
warning: you may be able to install sdl2 using your system-packager:
    apt-get install libsdl2-dev
Building for debugging...
[0/32] Write sources
[8/32] Compiling CNFD nfd_gtk.c
[9/32] Compiling CNFD nfd_cocoa.m
[10/32] Compiling CNFD nfd_default.c
[11/32] Compiling CNFD nfd_common.c
[12/32] Compiling CNFD nfd_win.cpp
[13/32] Write swift-version-24593BA9C3E375BF.txt
[15/132] Emitting module FirebladeTime
[16/132] Compiling FirebladeTime Timer.swift
[17/132] Emitting module NFD
[18/132] Compiling NFD SwiftNFD.swift
[19/133] Compiling FirebladeMath MatrixStorage+NO_SIMD.swift
[20/133] Compiling FirebladeMath MatrixStorage+SIMD.swift
[21/133] Compiling FirebladeMath MatrixStorage.swift
[22/133] Compiling FirebladeMath Point.swift
[23/133] Compiling FirebladeMath Quat.swift
[24/133] Compiling FirebladeMath Quat4d.swift
[25/133] Compiling FirebladeMath Quat4f+Euler.swift
[26/133] Compiling FirebladeMath Quat4f.swift
[27/133] Compiling FirebladeMath Quaternion+Identity.swift
[28/133] Compiling FirebladeMath Quaternion+Multiplication.swift
[29/133] Compiling FirebladeMath Quaternion+Operators.swift
[30/133] Compiling FirebladeMath QuaternionStorage+NO_SIMD.swift
[31/135] Compiling FirebladeTime Time.swift
[32/136] Compiling FirebladeTime TimeProviding.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[33/145] Emitting module SDL
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shims.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/SwiftSDL2/Sources/CSDL2/shims.h:10:14: note: in file included from /host/spi-builder-workspace/.build/checkouts/SwiftSDL2/Sources/CSDL2/shims.h:10:
 8 |     #endif
 9 | #elif __linux__
10 |     #include "linux.h" //  linux
   |              `- note: in file included from /host/spi-builder-workspace/.build/checkouts/SwiftSDL2/Sources/CSDL2/shims.h:10:
11 | #else
12 |    error "Unsupported platform"
/host/spi-builder-workspace/.build/checkouts/SwiftSDL2/Sources/CSDL2/linux.h:1:10: error: 'SDL.h' file not found
1 | #include <SDL.h>
  |          `- error: 'SDL.h' file not found
2 | #include <SDL_vulkan.h>
3 |
/host/spi-builder-workspace/.build/checkouts/SwiftSDL2/Sources/SDL2/SDL2.swift:9:23: error: could not build C module 'CSDL2'
 7 |
 8 | #if os(Linux) || os(Windows)
 9 |     @_exported import CSDL2
   |                       `- error: could not build C module 'CSDL2'
10 | #else
11 |     @_exported import SDL2
[34/145] Compiling SDL SDL2.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shims.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/SwiftSDL2/Sources/CSDL2/shims.h:10:14: note: in file included from /host/spi-builder-workspace/.build/checkouts/SwiftSDL2/Sources/CSDL2/shims.h:10:
 8 |     #endif
 9 | #elif __linux__
10 |     #include "linux.h" //  linux
   |              `- note: in file included from /host/spi-builder-workspace/.build/checkouts/SwiftSDL2/Sources/CSDL2/shims.h:10:
11 | #else
12 |    error "Unsupported platform"
/host/spi-builder-workspace/.build/checkouts/SwiftSDL2/Sources/CSDL2/linux.h:1:10: error: 'SDL.h' file not found
1 | #include <SDL.h>
  |          `- error: 'SDL.h' file not found
2 | #include <SDL_vulkan.h>
3 |
/host/spi-builder-workspace/.build/checkouts/SwiftSDL2/Sources/SDL2/SDL2.swift:9:23: error: could not build C module 'CSDL2'
 7 |
 8 | #if os(Linux) || os(Windows)
 9 |     @_exported import CSDL2
   |                       `- error: could not build C module 'CSDL2'
10 | #else
11 |     @_exported import SDL2
[36/145] Compiling FirebladeTime MachTime.swift
[37/145] Compiling FirebladeTime Duration.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
warning: you may be able to install vulkan using your system-packager:
    apt-get install libvulkan-dev libvulkan1
warning: you may be able to install sdl2 using your system-packager:
    apt-get install libsdl2-dev
[0/1] Planning build
Building for debugging...
[0/19] Write swift-version-24593BA9C3E375BF.txt
[2/37] Compiling SDL SDL2.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shims.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/SwiftSDL2/Sources/CSDL2/shims.h:10:14: note: in file included from /host/spi-builder-workspace/.build/checkouts/SwiftSDL2/Sources/CSDL2/shims.h:10:
 8 |     #endif
 9 | #elif __linux__
10 |     #include "linux.h" //  linux
   |              `- note: in file included from /host/spi-builder-workspace/.build/checkouts/SwiftSDL2/Sources/CSDL2/shims.h:10:
11 | #else
12 |    error "Unsupported platform"
/host/spi-builder-workspace/.build/checkouts/SwiftSDL2/Sources/CSDL2/linux.h:1:10: error: 'SDL.h' file not found
1 | #include <SDL.h>
  |          `- error: 'SDL.h' file not found
2 | #include <SDL_vulkan.h>
3 |
/host/spi-builder-workspace/.build/checkouts/SwiftSDL2/Sources/SDL2/SDL2.swift:9:23: error: could not build C module 'CSDL2'
 7 |
 8 | #if os(Linux) || os(Windows)
 9 |     @_exported import CSDL2
   |                       `- error: could not build C module 'CSDL2'
10 | #else
11 |     @_exported import SDL2
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/38] Emitting module SDL
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shims.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/SwiftSDL2/Sources/CSDL2/shims.h:10:14: note: in file included from /host/spi-builder-workspace/.build/checkouts/SwiftSDL2/Sources/CSDL2/shims.h:10:
 8 |     #endif
 9 | #elif __linux__
10 |     #include "linux.h" //  linux
   |              `- note: in file included from /host/spi-builder-workspace/.build/checkouts/SwiftSDL2/Sources/CSDL2/shims.h:10:
11 | #else
12 |    error "Unsupported platform"
/host/spi-builder-workspace/.build/checkouts/SwiftSDL2/Sources/CSDL2/linux.h:1:10: error: 'SDL.h' file not found
1 | #include <SDL.h>
  |          `- error: 'SDL.h' file not found
2 | #include <SDL_vulkan.h>
3 |
/host/spi-builder-workspace/.build/checkouts/SwiftSDL2/Sources/SDL2/SDL2.swift:9:23: error: could not build C module 'CSDL2'
 7 |
 8 | #if os(Linux) || os(Windows)
 9 |     @_exported import CSDL2
   |                       `- error: could not build C module 'CSDL2'
10 | #else
11 |     @_exported import SDL2
BUILD FAILURE 6.0 linux