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 SDL, reference 2.0.1 (859c9d), with Swift 6.1 for Wasm on 30 May 2025 02:23:20 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/pureswift/sdl.git
Reference: 2.0.1
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/pureswift/sdl
 * tag               2.0.1      -> FETCH_HEAD
HEAD is now at 859c9d7 Update example app
Cloned https://github.com/pureswift/sdl.git
Revision (git rev-parse @):
859c9d7d55a9c9bab4dcf88a064e6d9befd71a35
SUCCESS checkout https://github.com/pureswift/sdl.git at 2.0.1
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/pureswift/sdl.git
https://github.com/pureswift/sdl.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SDL",
  "name" : "SDL",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SDL",
      "targets" : [
        "SDL"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SDLDemo",
      "targets" : [
        "SDLDemo"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SDLTests",
      "module_type" : "SwiftTarget",
      "name" : "SDLTests",
      "path" : "Tests/SDLTests",
      "sources" : [
        "SDLTests.swift"
      ],
      "target_dependencies" : [
        "SDL"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SDLDemo",
      "module_type" : "SwiftTarget",
      "name" : "SDLDemo",
      "path" : "Sources/SDLDemo",
      "product_memberships" : [
        "SDLDemo"
      ],
      "sources" : [
        "App.swift"
      ],
      "target_dependencies" : [
        "SDL"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "SDL",
      "module_type" : "SwiftTarget",
      "name" : "SDL",
      "path" : "Sources/SDL",
      "product_memberships" : [
        "SDL",
        "SDLDemo"
      ],
      "sources" : [
        "BitMaskOption.swift",
        "BlendMode.swift",
        "Color.swift",
        "CountableSet.swift",
        "DisplayMode.swift",
        "Error.swift",
        "Event.swift",
        "Palette.swift",
        "PixelFormat.swift",
        "Renderer.swift",
        "SDL.swift",
        "Surface.swift",
        "Texture.swift",
        "VideoDisplay.swift",
        "Window.swift"
      ],
      "target_dependencies" : [
        "CSDL2"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CSDL2",
      "module_type" : "SystemLibraryTarget",
      "name" : "CSDL2",
      "path" : "Sources/CSDL2",
      "product_memberships" : [
        "SDL",
        "SDLDemo"
      ],
      "sources" : [
      ],
      "type" : "system-target"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
warning: you may be able to install sdl2 using your system-packager:
    apt-get install libsdl2-dev
warning: you may be able to install sdl2 using your system-packager:
    apt-get install libsdl2-dev
Building for debugging...
[0/7] Write sources
[2/7] Write swift-version-24593BA9C3E375BF.txt
[4/22] Compiling SDL PixelFormat.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CSDL2/shim.h:4:10: error: 'SDL2/SDL.h' file not found
2 | #include "/opt/homebrew/include/SDL2/SDL.h"
3 | #else
4 | #include <SDL2/SDL.h>
  |          `- error: 'SDL2/SDL.h' file not found
5 | #endif
6 |
/host/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build C module 'CSDL2'
 6 | //
 7 |
 8 | import CSDL2
   |        `- error: could not build C module 'CSDL2'
 9 |
10 | // An enumeration of blend modes used in `Renderer.copy()` and drawing operations.
[5/22] Compiling SDL Renderer.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CSDL2/shim.h:4:10: error: 'SDL2/SDL.h' file not found
2 | #include "/opt/homebrew/include/SDL2/SDL.h"
3 | #else
4 | #include <SDL2/SDL.h>
  |          `- error: 'SDL2/SDL.h' file not found
5 | #endif
6 |
/host/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build C module 'CSDL2'
 6 | //
 7 |
 8 | import CSDL2
   |        `- error: could not build C module 'CSDL2'
 9 |
10 | // An enumeration of blend modes used in `Renderer.copy()` and drawing operations.
[6/23] Compiling SDL DisplayMode.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CSDL2/shim.h:4:10: error: 'SDL2/SDL.h' file not found
2 | #include "/opt/homebrew/include/SDL2/SDL.h"
3 | #else
4 | #include <SDL2/SDL.h>
  |          `- error: 'SDL2/SDL.h' file not found
5 | #endif
6 |
/host/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build C module 'CSDL2'
 6 | //
 7 |
 8 | import CSDL2
   |        `- error: could not build C module 'CSDL2'
 9 |
10 | // An enumeration of blend modes used in `Renderer.copy()` and drawing operations.
[7/23] Compiling SDL Error.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CSDL2/shim.h:4:10: error: 'SDL2/SDL.h' file not found
2 | #include "/opt/homebrew/include/SDL2/SDL.h"
3 | #else
4 | #include <SDL2/SDL.h>
  |          `- error: 'SDL2/SDL.h' file not found
5 | #endif
6 |
/host/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build C module 'CSDL2'
 6 | //
 7 |
 8 | import CSDL2
   |        `- error: could not build C module 'CSDL2'
 9 |
10 | // An enumeration of blend modes used in `Renderer.copy()` and drawing operations.
[8/23] Compiling SDL Texture.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CSDL2/shim.h:4:10: error: 'SDL2/SDL.h' file not found
2 | #include "/opt/homebrew/include/SDL2/SDL.h"
3 | #else
4 | #include <SDL2/SDL.h>
  |          `- error: 'SDL2/SDL.h' file not found
5 | #endif
6 |
/host/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build C module 'CSDL2'
 6 | //
 7 |
 8 | import CSDL2
   |        `- error: could not build C module 'CSDL2'
 9 |
10 | // An enumeration of blend modes used in `Renderer.copy()` and drawing operations.
[9/23] Compiling SDL VideoDisplay.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CSDL2/shim.h:4:10: error: 'SDL2/SDL.h' file not found
2 | #include "/opt/homebrew/include/SDL2/SDL.h"
3 | #else
4 | #include <SDL2/SDL.h>
  |          `- error: 'SDL2/SDL.h' file not found
5 | #endif
6 |
/host/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build C module 'CSDL2'
 6 | //
 7 |
 8 | import CSDL2
   |        `- error: could not build C module 'CSDL2'
 9 |
10 | // An enumeration of blend modes used in `Renderer.copy()` and drawing operations.
[10/23] Compiling SDL Window.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CSDL2/shim.h:4:10: error: 'SDL2/SDL.h' file not found
2 | #include "/opt/homebrew/include/SDL2/SDL.h"
3 | #else
4 | #include <SDL2/SDL.h>
  |          `- error: 'SDL2/SDL.h' file not found
5 | #endif
6 |
/host/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build C module 'CSDL2'
 6 | //
 7 |
 8 | import CSDL2
   |        `- error: could not build C module 'CSDL2'
 9 |
10 | // An enumeration of blend modes used in `Renderer.copy()` and drawing operations.
[11/23] Compiling SDL SDL.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CSDL2/shim.h:4:10: error: 'SDL2/SDL.h' file not found
2 | #include "/opt/homebrew/include/SDL2/SDL.h"
3 | #else
4 | #include <SDL2/SDL.h>
  |          `- error: 'SDL2/SDL.h' file not found
5 | #endif
6 |
/host/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build C module 'CSDL2'
 6 | //
 7 |
 8 | import CSDL2
   |        `- error: could not build C module 'CSDL2'
 9 |
10 | // An enumeration of blend modes used in `Renderer.copy()` and drawing operations.
[12/23] Compiling SDL Surface.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CSDL2/shim.h:4:10: error: 'SDL2/SDL.h' file not found
2 | #include "/opt/homebrew/include/SDL2/SDL.h"
3 | #else
4 | #include <SDL2/SDL.h>
  |          `- error: 'SDL2/SDL.h' file not found
5 | #endif
6 |
/host/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build C module 'CSDL2'
 6 | //
 7 |
 8 | import CSDL2
   |        `- error: could not build C module 'CSDL2'
 9 |
10 | // An enumeration of blend modes used in `Renderer.copy()` and drawing operations.
error: emit-module command failed with exit code 1 (use -v to see invocation)
[13/23] Emitting module SDL
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CSDL2/shim.h:4:10: error: 'SDL2/SDL.h' file not found
2 | #include "/opt/homebrew/include/SDL2/SDL.h"
3 | #else
4 | #include <SDL2/SDL.h>
  |          `- error: 'SDL2/SDL.h' file not found
5 | #endif
6 |
/host/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build C module 'CSDL2'
 6 | //
 7 |
 8 | import CSDL2
   |        `- error: could not build C module 'CSDL2'
 9 |
10 | // An enumeration of blend modes used in `Renderer.copy()` and drawing operations.
[14/23] Compiling SDL BitMaskOption.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CSDL2/shim.h:4:10: error: 'SDL2/SDL.h' file not found
2 | #include "/opt/homebrew/include/SDL2/SDL.h"
3 | #else
4 | #include <SDL2/SDL.h>
  |          `- error: 'SDL2/SDL.h' file not found
5 | #endif
6 |
/host/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build C module 'CSDL2'
 6 | //
 7 |
 8 | import CSDL2
   |        `- error: could not build C module 'CSDL2'
 9 |
10 | // An enumeration of blend modes used in `Renderer.copy()` and drawing operations.
[15/23] Compiling SDL BlendMode.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CSDL2/shim.h:4:10: error: 'SDL2/SDL.h' file not found
2 | #include "/opt/homebrew/include/SDL2/SDL.h"
3 | #else
4 | #include <SDL2/SDL.h>
  |          `- error: 'SDL2/SDL.h' file not found
5 | #endif
6 |
/host/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build C module 'CSDL2'
 6 | //
 7 |
 8 | import CSDL2
   |        `- error: could not build C module 'CSDL2'
 9 |
10 | // An enumeration of blend modes used in `Renderer.copy()` and drawing operations.
[16/23] Compiling SDL Color.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CSDL2/shim.h:4:10: error: 'SDL2/SDL.h' file not found
2 | #include "/opt/homebrew/include/SDL2/SDL.h"
3 | #else
4 | #include <SDL2/SDL.h>
  |          `- error: 'SDL2/SDL.h' file not found
5 | #endif
6 |
/host/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build C module 'CSDL2'
 6 | //
 7 |
 8 | import CSDL2
   |        `- error: could not build C module 'CSDL2'
 9 |
10 | // An enumeration of blend modes used in `Renderer.copy()` and drawing operations.
[17/23] Compiling SDL CountableSet.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CSDL2/shim.h:4:10: error: 'SDL2/SDL.h' file not found
2 | #include "/opt/homebrew/include/SDL2/SDL.h"
3 | #else
4 | #include <SDL2/SDL.h>
  |          `- error: 'SDL2/SDL.h' file not found
5 | #endif
6 |
/host/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build C module 'CSDL2'
 6 | //
 7 |
 8 | import CSDL2
   |        `- error: could not build C module 'CSDL2'
 9 |
10 | // An enumeration of blend modes used in `Renderer.copy()` and drawing operations.
[18/23] Compiling SDL Event.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CSDL2/shim.h:4:10: error: 'SDL2/SDL.h' file not found
2 | #include "/opt/homebrew/include/SDL2/SDL.h"
3 | #else
4 | #include <SDL2/SDL.h>
  |          `- error: 'SDL2/SDL.h' file not found
5 | #endif
6 |
/host/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build C module 'CSDL2'
 6 | //
 7 |
 8 | import CSDL2
   |        `- error: could not build C module 'CSDL2'
 9 |
10 | // An enumeration of blend modes used in `Renderer.copy()` and drawing operations.
[19/23] Compiling SDL Palette.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CSDL2/shim.h:4:10: error: 'SDL2/SDL.h' file not found
2 | #include "/opt/homebrew/include/SDL2/SDL.h"
3 | #else
4 | #include <SDL2/SDL.h>
  |          `- error: 'SDL2/SDL.h' file not found
5 | #endif
6 |
/host/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build C module 'CSDL2'
 6 | //
 7 |
 8 | import CSDL2
   |        `- error: could not build C module 'CSDL2'
 9 |
10 | // An enumeration of blend modes used in `Renderer.copy()` and drawing operations.
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
warning: you may be able to install sdl2 using your system-packager:
    apt-get install libsdl2-dev
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/5] Write swift-version-24593BA9C3E375BF.txt
[2/20] Compiling SDL Color.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CSDL2/shim.h:4:10: error: 'SDL2/SDL.h' file not found
2 | #include "/opt/homebrew/include/SDL2/SDL.h"
3 | #else
4 | #include <SDL2/SDL.h>
  |          `- error: 'SDL2/SDL.h' file not found
5 | #endif
6 |
/host/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build C module 'CSDL2'
 6 | //
 7 |
 8 | import CSDL2
   |        `- error: could not build C module 'CSDL2'
 9 |
10 | // An enumeration of blend modes used in `Renderer.copy()` and drawing operations.
[3/20] Compiling SDL CountableSet.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CSDL2/shim.h:4:10: error: 'SDL2/SDL.h' file not found
2 | #include "/opt/homebrew/include/SDL2/SDL.h"
3 | #else
4 | #include <SDL2/SDL.h>
  |          `- error: 'SDL2/SDL.h' file not found
5 | #endif
6 |
/host/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build C module 'CSDL2'
 6 | //
 7 |
 8 | import CSDL2
   |        `- error: could not build C module 'CSDL2'
 9 |
10 | // An enumeration of blend modes used in `Renderer.copy()` and drawing operations.
[4/21] Compiling SDL DisplayMode.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CSDL2/shim.h:4:10: error: 'SDL2/SDL.h' file not found
2 | #include "/opt/homebrew/include/SDL2/SDL.h"
3 | #else
4 | #include <SDL2/SDL.h>
  |          `- error: 'SDL2/SDL.h' file not found
5 | #endif
6 |
/host/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build C module 'CSDL2'
 6 | //
 7 |
 8 | import CSDL2
   |        `- error: could not build C module 'CSDL2'
 9 |
10 | // An enumeration of blend modes used in `Renderer.copy()` and drawing operations.
[5/21] Compiling SDL Error.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CSDL2/shim.h:4:10: error: 'SDL2/SDL.h' file not found
2 | #include "/opt/homebrew/include/SDL2/SDL.h"
3 | #else
4 | #include <SDL2/SDL.h>
  |          `- error: 'SDL2/SDL.h' file not found
5 | #endif
6 |
/host/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build C module 'CSDL2'
 6 | //
 7 |
 8 | import CSDL2
   |        `- error: could not build C module 'CSDL2'
 9 |
10 | // An enumeration of blend modes used in `Renderer.copy()` and drawing operations.
[6/21] Compiling SDL Texture.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CSDL2/shim.h:4:10: error: 'SDL2/SDL.h' file not found
2 | #include "/opt/homebrew/include/SDL2/SDL.h"
3 | #else
4 | #include <SDL2/SDL.h>
  |          `- error: 'SDL2/SDL.h' file not found
5 | #endif
6 |
/host/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build C module 'CSDL2'
 6 | //
 7 |
 8 | import CSDL2
   |        `- error: could not build C module 'CSDL2'
 9 |
10 | // An enumeration of blend modes used in `Renderer.copy()` and drawing operations.
[7/21] Compiling SDL VideoDisplay.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CSDL2/shim.h:4:10: error: 'SDL2/SDL.h' file not found
2 | #include "/opt/homebrew/include/SDL2/SDL.h"
3 | #else
4 | #include <SDL2/SDL.h>
  |          `- error: 'SDL2/SDL.h' file not found
5 | #endif
6 |
/host/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build C module 'CSDL2'
 6 | //
 7 |
 8 | import CSDL2
   |        `- error: could not build C module 'CSDL2'
 9 |
10 | // An enumeration of blend modes used in `Renderer.copy()` and drawing operations.
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/21] Emitting module SDL
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CSDL2/shim.h:4:10: error: 'SDL2/SDL.h' file not found
2 | #include "/opt/homebrew/include/SDL2/SDL.h"
3 | #else
4 | #include <SDL2/SDL.h>
  |          `- error: 'SDL2/SDL.h' file not found
5 | #endif
6 |
/host/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build C module 'CSDL2'
 6 | //
 7 |
 8 | import CSDL2
   |        `- error: could not build C module 'CSDL2'
 9 |
10 | // An enumeration of blend modes used in `Renderer.copy()` and drawing operations.
[9/21] Compiling SDL BitMaskOption.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CSDL2/shim.h:4:10: error: 'SDL2/SDL.h' file not found
2 | #include "/opt/homebrew/include/SDL2/SDL.h"
3 | #else
4 | #include <SDL2/SDL.h>
  |          `- error: 'SDL2/SDL.h' file not found
5 | #endif
6 |
/host/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build C module 'CSDL2'
 6 | //
 7 |
 8 | import CSDL2
   |        `- error: could not build C module 'CSDL2'
 9 |
10 | // An enumeration of blend modes used in `Renderer.copy()` and drawing operations.
[10/21] Compiling SDL BlendMode.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CSDL2/shim.h:4:10: error: 'SDL2/SDL.h' file not found
2 | #include "/opt/homebrew/include/SDL2/SDL.h"
3 | #else
4 | #include <SDL2/SDL.h>
  |          `- error: 'SDL2/SDL.h' file not found
5 | #endif
6 |
/host/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build C module 'CSDL2'
 6 | //
 7 |
 8 | import CSDL2
   |        `- error: could not build C module 'CSDL2'
 9 |
10 | // An enumeration of blend modes used in `Renderer.copy()` and drawing operations.
[11/21] Compiling SDL Window.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CSDL2/shim.h:4:10: error: 'SDL2/SDL.h' file not found
2 | #include "/opt/homebrew/include/SDL2/SDL.h"
3 | #else
4 | #include <SDL2/SDL.h>
  |          `- error: 'SDL2/SDL.h' file not found
5 | #endif
6 |
/host/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build C module 'CSDL2'
 6 | //
 7 |
 8 | import CSDL2
   |        `- error: could not build C module 'CSDL2'
 9 |
10 | // An enumeration of blend modes used in `Renderer.copy()` and drawing operations.
[12/21] Compiling SDL PixelFormat.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CSDL2/shim.h:4:10: error: 'SDL2/SDL.h' file not found
2 | #include "/opt/homebrew/include/SDL2/SDL.h"
3 | #else
4 | #include <SDL2/SDL.h>
  |          `- error: 'SDL2/SDL.h' file not found
5 | #endif
6 |
/host/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build C module 'CSDL2'
 6 | //
 7 |
 8 | import CSDL2
   |        `- error: could not build C module 'CSDL2'
 9 |
10 | // An enumeration of blend modes used in `Renderer.copy()` and drawing operations.
[13/21] Compiling SDL Renderer.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CSDL2/shim.h:4:10: error: 'SDL2/SDL.h' file not found
2 | #include "/opt/homebrew/include/SDL2/SDL.h"
3 | #else
4 | #include <SDL2/SDL.h>
  |          `- error: 'SDL2/SDL.h' file not found
5 | #endif
6 |
/host/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build C module 'CSDL2'
 6 | //
 7 |
 8 | import CSDL2
   |        `- error: could not build C module 'CSDL2'
 9 |
10 | // An enumeration of blend modes used in `Renderer.copy()` and drawing operations.
[14/21] Compiling SDL Event.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CSDL2/shim.h:4:10: error: 'SDL2/SDL.h' file not found
2 | #include "/opt/homebrew/include/SDL2/SDL.h"
3 | #else
4 | #include <SDL2/SDL.h>
  |          `- error: 'SDL2/SDL.h' file not found
5 | #endif
6 |
/host/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build C module 'CSDL2'
 6 | //
 7 |
 8 | import CSDL2
   |        `- error: could not build C module 'CSDL2'
 9 |
10 | // An enumeration of blend modes used in `Renderer.copy()` and drawing operations.
[15/21] Compiling SDL Palette.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CSDL2/shim.h:4:10: error: 'SDL2/SDL.h' file not found
2 | #include "/opt/homebrew/include/SDL2/SDL.h"
3 | #else
4 | #include <SDL2/SDL.h>
  |          `- error: 'SDL2/SDL.h' file not found
5 | #endif
6 |
/host/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build C module 'CSDL2'
 6 | //
 7 |
 8 | import CSDL2
   |        `- error: could not build C module 'CSDL2'
 9 |
10 | // An enumeration of blend modes used in `Renderer.copy()` and drawing operations.
[16/21] Compiling SDL SDL.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CSDL2/shim.h:4:10: error: 'SDL2/SDL.h' file not found
2 | #include "/opt/homebrew/include/SDL2/SDL.h"
3 | #else
4 | #include <SDL2/SDL.h>
  |          `- error: 'SDL2/SDL.h' file not found
5 | #endif
6 |
/host/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build C module 'CSDL2'
 6 | //
 7 |
 8 | import CSDL2
   |        `- error: could not build C module 'CSDL2'
 9 |
10 | // An enumeration of blend modes used in `Renderer.copy()` and drawing operations.
[17/21] Compiling SDL Surface.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CSDL2/shim.h:4:10: error: 'SDL2/SDL.h' file not found
2 | #include "/opt/homebrew/include/SDL2/SDL.h"
3 | #else
4 | #include <SDL2/SDL.h>
  |          `- error: 'SDL2/SDL.h' file not found
5 | #endif
6 |
/host/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build C module 'CSDL2'
 6 | //
 7 |
 8 | import CSDL2
   |        `- error: could not build C module 'CSDL2'
 9 |
10 | // An enumeration of blend modes used in `Renderer.copy()` and drawing operations.
BUILD FAILURE 6.1 wasm