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 SwiftSDL2, reference master (896a76), with Swift 6.1 for Linux on 25 Apr 2025 09:38:20 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" 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.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sunlubo/swiftsdl2.git
Reference: master
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/sunlubo/swiftsdl2
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 896a76c remove xcodeproj
Cloned https://github.com/sunlubo/swiftsdl2.git
Revision (git rev-parse @):
896a76ce6575524949eacb9b703c5003df583ac5
SUCCESS checkout https://github.com/sunlubo/swiftsdl2.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/sunlubo/swiftsdl2.git
https://github.com/sunlubo/swiftsdl2.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SwiftSDL2",
  "name" : "SwiftSDL2",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SwiftSDL2",
      "targets" : [
        "SwiftSDL2"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SwiftSDL2ThreadDemo",
      "targets" : [
        "SwiftSDL2ThreadDemo"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "SwiftSDL2Demo",
      "targets" : [
        "SwiftSDL2Demo"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftSDL2ThreadDemo",
      "module_type" : "SwiftTarget",
      "name" : "SwiftSDL2ThreadDemo",
      "path" : "Sources/SwiftSDL2ThreadDemo",
      "product_memberships" : [
        "SwiftSDL2ThreadDemo"
      ],
      "sources" : [
        "BlockingQueue.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "SwiftSDL2"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "SwiftSDL2Tests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftSDL2Tests",
      "path" : "Tests/SwiftSDL2Tests",
      "sources" : [
        "WindowTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "SwiftSDL2"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftSDL2Demo",
      "module_type" : "SwiftTarget",
      "name" : "SwiftSDL2Demo",
      "path" : "Sources/SwiftSDL2Demo",
      "product_memberships" : [
        "SwiftSDL2Demo"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "SwiftSDL2"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "SwiftSDL2",
      "module_type" : "SwiftTarget",
      "name" : "SwiftSDL2",
      "path" : "Sources/SwiftSDL2",
      "product_memberships" : [
        "SwiftSDL2",
        "SwiftSDL2ThreadDemo",
        "SwiftSDL2Demo"
      ],
      "sources" : [
        "Audio.swift",
        "Constant.swift",
        "Event.swift",
        "Mutex.swift",
        "OpenGL.swift",
        "Pixels.swift",
        "Renderer.swift",
        "SDL.swift",
        "SDLError.swift",
        "Shape.swift",
        "StdlibExt.swift",
        "Surface.swift",
        "Texture.swift",
        "Thread.swift",
        "Timer.swift",
        "Window.swift"
      ],
      "target_dependencies" : [
        "CSDL2"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CSDL2",
      "module_type" : "SystemLibraryTarget",
      "name" : "CSDL2",
      "path" : "Sources/CSDL2",
      "product_memberships" : [
        "SwiftSDL2",
        "SwiftSDL2ThreadDemo",
        "SwiftSDL2Demo"
      ],
      "sources" : [
      ],
      "type" : "system-target"
    }
  ],
  "tools_version" : "4.2"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" 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:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
warning: couldn't find pc file for sdl2
warning: couldn't find pc file for sdl2
Building for debugging...
[0/11] Write sources
[3/11] Write swift-version-24593BA9C3E375BF.txt
[5/26] Compiling SwiftSDL2 OpenGL.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "sdl2_shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CSDL2/sdl2_shim.h:1:10: error: 'SDL.h' file not found
1 | #include <SDL.h>
  |          `- error: 'SDL.h' file not found
2 |
/host/spi-builder-workspace/Sources/SwiftSDL2/Audio.swift:8:8: error: could not build C module 'CSDL2'
  6 | //
  7 |
  8 | import CSDL2
    |        `- error: could not build C module 'CSDL2'
  9 |
 10 | // MARK: - AudioFormat
[6/26] Compiling SwiftSDL2 Pixels.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "sdl2_shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CSDL2/sdl2_shim.h:1:10: error: 'SDL.h' file not found
1 | #include <SDL.h>
  |          `- error: 'SDL.h' file not found
2 |
/host/spi-builder-workspace/Sources/SwiftSDL2/Audio.swift:8:8: error: could not build C module 'CSDL2'
  6 | //
  7 |
  8 | import CSDL2
    |        `- error: could not build C module 'CSDL2'
  9 |
 10 | // MARK: - AudioFormat
[7/28] Compiling SwiftSDL2 SDLError.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "sdl2_shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CSDL2/sdl2_shim.h:1:10: error: 'SDL.h' file not found
1 | #include <SDL.h>
  |          `- error: 'SDL.h' file not found
2 |
/host/spi-builder-workspace/Sources/SwiftSDL2/Audio.swift:8:8: error: could not build C module 'CSDL2'
  6 | //
  7 |
  8 | import CSDL2
    |        `- error: could not build C module 'CSDL2'
  9 |
 10 | // MARK: - AudioFormat
[8/28] Compiling SwiftSDL2 Shape.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "sdl2_shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CSDL2/sdl2_shim.h:1:10: error: 'SDL.h' file not found
1 | #include <SDL.h>
  |          `- error: 'SDL.h' file not found
2 |
/host/spi-builder-workspace/Sources/SwiftSDL2/Audio.swift:8:8: error: could not build C module 'CSDL2'
  6 | //
  7 |
  8 | import CSDL2
    |        `- error: could not build C module 'CSDL2'
  9 |
 10 | // MARK: - AudioFormat
[9/28] Compiling SwiftSDL2 Texture.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "sdl2_shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CSDL2/sdl2_shim.h:1:10: error: 'SDL.h' file not found
1 | #include <SDL.h>
  |          `- error: 'SDL.h' file not found
2 |
/host/spi-builder-workspace/Sources/SwiftSDL2/Audio.swift:8:8: error: could not build C module 'CSDL2'
  6 | //
  7 |
  8 | import CSDL2
    |        `- error: could not build C module 'CSDL2'
  9 |
 10 | // MARK: - AudioFormat
[10/28] Compiling SwiftSDL2 Thread.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "sdl2_shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CSDL2/sdl2_shim.h:1:10: error: 'SDL.h' file not found
1 | #include <SDL.h>
  |          `- error: 'SDL.h' file not found
2 |
/host/spi-builder-workspace/Sources/SwiftSDL2/Audio.swift:8:8: error: could not build C module 'CSDL2'
  6 | //
  7 |
  8 | import CSDL2
    |        `- error: could not build C module 'CSDL2'
  9 |
 10 | // MARK: - AudioFormat
[11/28] Compiling SwiftSDL2 StdlibExt.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "sdl2_shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CSDL2/sdl2_shim.h:1:10: error: 'SDL.h' file not found
1 | #include <SDL.h>
  |          `- error: 'SDL.h' file not found
2 |
/host/spi-builder-workspace/Sources/SwiftSDL2/Audio.swift:8:8: error: could not build C module 'CSDL2'
  6 | //
  7 |
  8 | import CSDL2
    |        `- error: could not build C module 'CSDL2'
  9 |
 10 | // MARK: - AudioFormat
[12/28] Compiling SwiftSDL2 Surface.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "sdl2_shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CSDL2/sdl2_shim.h:1:10: error: 'SDL.h' file not found
1 | #include <SDL.h>
  |          `- error: 'SDL.h' file not found
2 |
/host/spi-builder-workspace/Sources/SwiftSDL2/Audio.swift:8:8: error: could not build C module 'CSDL2'
  6 | //
  7 |
  8 | import CSDL2
    |        `- error: could not build C module 'CSDL2'
  9 |
 10 | // MARK: - AudioFormat
[13/28] Compiling SwiftSDL2 Renderer.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "sdl2_shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CSDL2/sdl2_shim.h:1:10: error: 'SDL.h' file not found
1 | #include <SDL.h>
  |          `- error: 'SDL.h' file not found
2 |
/host/spi-builder-workspace/Sources/SwiftSDL2/Audio.swift:8:8: error: could not build C module 'CSDL2'
  6 | //
  7 |
  8 | import CSDL2
    |        `- error: could not build C module 'CSDL2'
  9 |
 10 | // MARK: - AudioFormat
[14/28] Compiling SwiftSDL2 SDL.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "sdl2_shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CSDL2/sdl2_shim.h:1:10: error: 'SDL.h' file not found
1 | #include <SDL.h>
  |          `- error: 'SDL.h' file not found
2 |
/host/spi-builder-workspace/Sources/SwiftSDL2/Audio.swift:8:8: error: could not build C module 'CSDL2'
  6 | //
  7 |
  8 | import CSDL2
    |        `- error: could not build C module 'CSDL2'
  9 |
 10 | // MARK: - AudioFormat
error: emit-module command failed with exit code 1 (use -v to see invocation)
[15/28] Emitting module SwiftSDL2
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "sdl2_shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CSDL2/sdl2_shim.h:1:10: error: 'SDL.h' file not found
1 | #include <SDL.h>
  |          `- error: 'SDL.h' file not found
2 |
/host/spi-builder-workspace/Sources/SwiftSDL2/Audio.swift:8:8: error: could not build C module 'CSDL2'
  6 | //
  7 |
  8 | import CSDL2
    |        `- error: could not build C module 'CSDL2'
  9 |
 10 | // MARK: - AudioFormat
[16/28] Compiling SwiftSDL2 Audio.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "sdl2_shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CSDL2/sdl2_shim.h:1:10: error: 'SDL.h' file not found
1 | #include <SDL.h>
  |          `- error: 'SDL.h' file not found
2 |
/host/spi-builder-workspace/Sources/SwiftSDL2/Audio.swift:8:8: error: could not build C module 'CSDL2'
  6 | //
  7 |
  8 | import CSDL2
    |        `- error: could not build C module 'CSDL2'
  9 |
 10 | // MARK: - AudioFormat
[17/28] Compiling SwiftSDL2 Constant.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "sdl2_shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CSDL2/sdl2_shim.h:1:10: error: 'SDL.h' file not found
1 | #include <SDL.h>
  |          `- error: 'SDL.h' file not found
2 |
/host/spi-builder-workspace/Sources/SwiftSDL2/Audio.swift:8:8: error: could not build C module 'CSDL2'
  6 | //
  7 |
  8 | import CSDL2
    |        `- error: could not build C module 'CSDL2'
  9 |
 10 | // MARK: - AudioFormat
[18/28] Compiling SwiftSDL2 Event.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "sdl2_shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CSDL2/sdl2_shim.h:1:10: error: 'SDL.h' file not found
1 | #include <SDL.h>
  |          `- error: 'SDL.h' file not found
2 |
/host/spi-builder-workspace/Sources/SwiftSDL2/Audio.swift:8:8: error: could not build C module 'CSDL2'
  6 | //
  7 |
  8 | import CSDL2
    |        `- error: could not build C module 'CSDL2'
  9 |
 10 | // MARK: - AudioFormat
[19/28] Compiling SwiftSDL2 Mutex.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "sdl2_shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CSDL2/sdl2_shim.h:1:10: error: 'SDL.h' file not found
1 | #include <SDL.h>
  |          `- error: 'SDL.h' file not found
2 |
/host/spi-builder-workspace/Sources/SwiftSDL2/Audio.swift:8:8: error: could not build C module 'CSDL2'
  6 | //
  7 |
  8 | import CSDL2
    |        `- error: could not build C module 'CSDL2'
  9 |
 10 | // MARK: - AudioFormat
[20/28] Compiling SwiftSDL2 Timer.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "sdl2_shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CSDL2/sdl2_shim.h:1:10: error: 'SDL.h' file not found
1 | #include <SDL.h>
  |          `- error: 'SDL.h' file not found
2 |
/host/spi-builder-workspace/Sources/SwiftSDL2/Audio.swift:8:8: error: could not build C module 'CSDL2'
  6 | //
  7 |
  8 | import CSDL2
    |        `- error: could not build C module 'CSDL2'
  9 |
 10 | // MARK: - AudioFormat
[21/28] Compiling SwiftSDL2 Window.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "sdl2_shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CSDL2/sdl2_shim.h:1:10: error: 'SDL.h' file not found
1 | #include <SDL.h>
  |          `- error: 'SDL.h' file not found
2 |
/host/spi-builder-workspace/Sources/SwiftSDL2/Audio.swift:8:8: error: could not build C module 'CSDL2'
  6 | //
  7 |
  8 | import CSDL2
    |        `- error: could not build C module 'CSDL2'
  9 |
 10 | // MARK: - AudioFormat
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" 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:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
warning: couldn't find pc file for sdl2
warning: couldn't find pc file for sdl2
[0/1] Planning build
Building for debugging...
[0/8] Write swift-version-24593BA9C3E375BF.txt
[2/23] Compiling SwiftSDL2 StdlibExt.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "sdl2_shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CSDL2/sdl2_shim.h:1:10: error: 'SDL.h' file not found
1 | #include <SDL.h>
  |          `- error: 'SDL.h' file not found
2 |
/host/spi-builder-workspace/Sources/SwiftSDL2/Audio.swift:8:8: error: could not build C module 'CSDL2'
  6 | //
  7 |
  8 | import CSDL2
    |        `- error: could not build C module 'CSDL2'
  9 |
 10 | // MARK: - AudioFormat
[3/23] Compiling SwiftSDL2 Surface.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "sdl2_shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CSDL2/sdl2_shim.h:1:10: error: 'SDL.h' file not found
1 | #include <SDL.h>
  |          `- error: 'SDL.h' file not found
2 |
/host/spi-builder-workspace/Sources/SwiftSDL2/Audio.swift:8:8: error: could not build C module 'CSDL2'
  6 | //
  7 |
  8 | import CSDL2
    |        `- error: could not build C module 'CSDL2'
  9 |
 10 | // MARK: - AudioFormat
[4/23] Compiling SwiftSDL2 SDLError.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "sdl2_shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CSDL2/sdl2_shim.h:1:10: error: 'SDL.h' file not found
1 | #include <SDL.h>
  |          `- error: 'SDL.h' file not found
2 |
/host/spi-builder-workspace/Sources/SwiftSDL2/Audio.swift:8:8: error: could not build C module 'CSDL2'
  6 | //
  7 |
  8 | import CSDL2
    |        `- error: could not build C module 'CSDL2'
  9 |
 10 | // MARK: - AudioFormat
[5/23] Compiling SwiftSDL2 Shape.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "sdl2_shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CSDL2/sdl2_shim.h:1:10: error: 'SDL.h' file not found
1 | #include <SDL.h>
  |          `- error: 'SDL.h' file not found
2 |
/host/spi-builder-workspace/Sources/SwiftSDL2/Audio.swift:8:8: error: could not build C module 'CSDL2'
  6 | //
  7 |
  8 | import CSDL2
    |        `- error: could not build C module 'CSDL2'
  9 |
 10 | // MARK: - AudioFormat
[6/23] Compiling SwiftSDL2 Texture.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "sdl2_shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CSDL2/sdl2_shim.h:1:10: error: 'SDL.h' file not found
1 | #include <SDL.h>
  |          `- error: 'SDL.h' file not found
2 |
/host/spi-builder-workspace/Sources/SwiftSDL2/Audio.swift:8:8: error: could not build C module 'CSDL2'
  6 | //
  7 |
  8 | import CSDL2
    |        `- error: could not build C module 'CSDL2'
  9 |
 10 | // MARK: - AudioFormat
[7/23] Compiling SwiftSDL2 Thread.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "sdl2_shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CSDL2/sdl2_shim.h:1:10: error: 'SDL.h' file not found
1 | #include <SDL.h>
  |          `- error: 'SDL.h' file not found
2 |
/host/spi-builder-workspace/Sources/SwiftSDL2/Audio.swift:8:8: error: could not build C module 'CSDL2'
  6 | //
  7 |
  8 | import CSDL2
    |        `- error: could not build C module 'CSDL2'
  9 |
 10 | // MARK: - AudioFormat
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/25] Emitting module SwiftSDL2
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "sdl2_shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CSDL2/sdl2_shim.h:1:10: error: 'SDL.h' file not found
1 | #include <SDL.h>
  |          `- error: 'SDL.h' file not found
2 |
/host/spi-builder-workspace/Sources/SwiftSDL2/Audio.swift:8:8: error: could not build C module 'CSDL2'
  6 | //
  7 |
  8 | import CSDL2
    |        `- error: could not build C module 'CSDL2'
  9 |
 10 | // MARK: - AudioFormat
[9/25] Compiling SwiftSDL2 OpenGL.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "sdl2_shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CSDL2/sdl2_shim.h:1:10: error: 'SDL.h' file not found
1 | #include <SDL.h>
  |          `- error: 'SDL.h' file not found
2 |
/host/spi-builder-workspace/Sources/SwiftSDL2/Audio.swift:8:8: error: could not build C module 'CSDL2'
  6 | //
  7 |
  8 | import CSDL2
    |        `- error: could not build C module 'CSDL2'
  9 |
 10 | // MARK: - AudioFormat
[10/25] Compiling SwiftSDL2 Pixels.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "sdl2_shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CSDL2/sdl2_shim.h:1:10: error: 'SDL.h' file not found
1 | #include <SDL.h>
  |          `- error: 'SDL.h' file not found
2 |
/host/spi-builder-workspace/Sources/SwiftSDL2/Audio.swift:8:8: error: could not build C module 'CSDL2'
  6 | //
  7 |
  8 | import CSDL2
    |        `- error: could not build C module 'CSDL2'
  9 |
 10 | // MARK: - AudioFormat
[11/25] Compiling SwiftSDL2 Event.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "sdl2_shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CSDL2/sdl2_shim.h:1:10: error: 'SDL.h' file not found
1 | #include <SDL.h>
  |          `- error: 'SDL.h' file not found
2 |
/host/spi-builder-workspace/Sources/SwiftSDL2/Audio.swift:8:8: error: could not build C module 'CSDL2'
  6 | //
  7 |
  8 | import CSDL2
    |        `- error: could not build C module 'CSDL2'
  9 |
 10 | // MARK: - AudioFormat
[12/25] Compiling SwiftSDL2 Mutex.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "sdl2_shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CSDL2/sdl2_shim.h:1:10: error: 'SDL.h' file not found
1 | #include <SDL.h>
  |          `- error: 'SDL.h' file not found
2 |
/host/spi-builder-workspace/Sources/SwiftSDL2/Audio.swift:8:8: error: could not build C module 'CSDL2'
  6 | //
  7 |
  8 | import CSDL2
    |        `- error: could not build C module 'CSDL2'
  9 |
 10 | // MARK: - AudioFormat
[13/25] Compiling SwiftSDL2 Renderer.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "sdl2_shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CSDL2/sdl2_shim.h:1:10: error: 'SDL.h' file not found
1 | #include <SDL.h>
  |          `- error: 'SDL.h' file not found
2 |
/host/spi-builder-workspace/Sources/SwiftSDL2/Audio.swift:8:8: error: could not build C module 'CSDL2'
  6 | //
  7 |
  8 | import CSDL2
    |        `- error: could not build C module 'CSDL2'
  9 |
 10 | // MARK: - AudioFormat
[14/25] Compiling SwiftSDL2 SDL.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "sdl2_shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CSDL2/sdl2_shim.h:1:10: error: 'SDL.h' file not found
1 | #include <SDL.h>
  |          `- error: 'SDL.h' file not found
2 |
/host/spi-builder-workspace/Sources/SwiftSDL2/Audio.swift:8:8: error: could not build C module 'CSDL2'
  6 | //
  7 |
  8 | import CSDL2
    |        `- error: could not build C module 'CSDL2'
  9 |
 10 | // MARK: - AudioFormat
[15/25] Compiling SwiftSDL2 Audio.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "sdl2_shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CSDL2/sdl2_shim.h:1:10: error: 'SDL.h' file not found
1 | #include <SDL.h>
  |          `- error: 'SDL.h' file not found
2 |
/host/spi-builder-workspace/Sources/SwiftSDL2/Audio.swift:8:8: error: could not build C module 'CSDL2'
  6 | //
  7 |
  8 | import CSDL2
    |        `- error: could not build C module 'CSDL2'
  9 |
 10 | // MARK: - AudioFormat
[16/25] Compiling SwiftSDL2 Constant.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "sdl2_shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CSDL2/sdl2_shim.h:1:10: error: 'SDL.h' file not found
1 | #include <SDL.h>
  |          `- error: 'SDL.h' file not found
2 |
/host/spi-builder-workspace/Sources/SwiftSDL2/Audio.swift:8:8: error: could not build C module 'CSDL2'
  6 | //
  7 |
  8 | import CSDL2
    |        `- error: could not build C module 'CSDL2'
  9 |
 10 | // MARK: - AudioFormat
[17/25] Compiling SwiftSDL2 Timer.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "sdl2_shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CSDL2/sdl2_shim.h:1:10: error: 'SDL.h' file not found
1 | #include <SDL.h>
  |          `- error: 'SDL.h' file not found
2 |
/host/spi-builder-workspace/Sources/SwiftSDL2/Audio.swift:8:8: error: could not build C module 'CSDL2'
  6 | //
  7 |
  8 | import CSDL2
    |        `- error: could not build C module 'CSDL2'
  9 |
 10 | // MARK: - AudioFormat
[18/25] Compiling SwiftSDL2 Window.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "sdl2_shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CSDL2/sdl2_shim.h:1:10: error: 'SDL.h' file not found
1 | #include <SDL.h>
  |          `- error: 'SDL.h' file not found
2 |
/host/spi-builder-workspace/Sources/SwiftSDL2/Audio.swift:8:8: error: could not build C module 'CSDL2'
  6 | //
  7 |
  8 | import CSDL2
    |        `- error: could not build C module 'CSDL2'
  9 |
 10 | // MARK: - AudioFormat
BUILD FAILURE 6.1 linux